{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./vendor/assets/libs/nestable/nestable.js","webpack:///./node_modules/nestable/jquery.nestable.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","$","window","document","undefined","hasTouch","hasPointerEvents","el","createElement","docEl","documentElement","style","pointerEvents","appendChild","supports","getComputedStyle","removeChild","defaults","listNodeName","itemNodeName","rootClass","listClass","itemClass","dragClass","handleClass","collapsedClass","placeClass","noDragClass","emptyClass","expandBtnHTML","collapseBtnHTML","group","maxDepth","threshold","Plugin","element","options","this","w","extend","init","list","reset","data","placeEl","each","find","k","setParent","on","e","dragEl","target","currentTarget","action","item","parent","collapseItem","expandItem","onStartEvent","handle","hasClass","closest","length","isTouch","test","type","touches","preventDefault","dragStart","onMoveEvent","dragMove","onEndEvent","dragStop","addEventListener","serialize","step","_step","_x","_x2","apply","arguments","toString","level","depth","array","children","li","sub","push","first","serialise","mouse","offsetX","offsetY","startX","startY","lastX","lastY","nowX","nowY","distX","distY","dirAx","dirX","dirY","lastDirX","lastDirY","distAxX","distAxY","moving","dragRootEl","dragDepth","hasNewRoot","pointEl","removeClass","hide","show","addClass","expandAll","collapseAll","prepend","unsetParent","remove","dragItem","css","height","pageX","offset","left","pageY","top","width","after","parentNode","appendTo","body","append","items","parents","replaceWith","trigger","prev","opt","newAx","Math","abs","last","next","isEmpty","visibility","elementFromPoint","scrollLeft","pageYOffset","scrollTop","pointElRoot","isNewRoot","before","fn","nestable","params","retval","plugin","Date","getTime","jQuery","Zepto"],"mappings":"4DACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,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F,KAAK6E,QAAQY,SAAW,EAC3EtE,EAASnB,KAAKO,QAAQY,SAElB6F,IACF5G,EAAOxC,EAAEE,EAASK,cAAcuI,EAAI7H,eAAeoG,SAASyB,EAAI1H,YAC3DoH,OAAOpG,KAAKO,SACjBP,KAAK6E,QAAQ0B,YAAYnG,IAChBoH,EACTxH,KAAK6E,QAAQ2C,OAAOxH,KAAKO,SAEzBP,KAAK6E,QAAQmB,MAAMhG,KAAKO,SAGrBY,EAAO8B,WAAWvB,QACrB1B,KAAKqF,YAAYlE,EAAOA,UAGrBnB,KAAK0E,WAAWjE,KAAKiG,EAAI5H,cAAc4C,QAC1C1B,KAAK0E,WAAW0B,OAAO,eAAiBM,EAAInH,WAAa,OAIvDgI,IACFvH,KAAK0E,WAAa4C,EAClBtH,KAAK4E,WAAa5E,KAAK9B,GAAG,KAAO8B,KAAK0E,WAAW,OAMzD9G,EAAE6J,GAAGC,SAAW,SAAUC,GACxB,IACIC,EAAS5H,KAab,OAdYA,KAENQ,MAAK,WACT,IAAIqH,EAASjK,EAAEoC,MAAMM,KAAK,YAErBuH,EAImB,kBAAXF,GAAiD,oBAAnBE,EAAOF,KAC9CC,EAASC,EAAOF,OAJlB/J,EAAEoC,MAAMM,KAAK,WAAY,IAAIT,EAAOG,KAAM2H,IAC1C/J,EAAEoC,MAAMM,KAAK,eAAe,IAAIwH,MAAOC,eAOpCH,GAdK5H,MAtchB,CAsdGnC,OAAOmK,QAAUnK,OAAOoK,MAAOpK,OAAQC","file":"js/vendor/libs/nestable/nestable-b9969627ad93a4f41f78.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"https://optimal.seneris.com/packs/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 882);\n","import 'nestable/jquery.nestable.js'\n","/*!\n * Nestable jQuery Plugin - Copyright (c) 2012 David Bushell - http://dbushell.com/\n * Dual-licensed under the BSD or MIT licenses\n */\n;\n\n(function ($, window, document, undefined) {\n var hasTouch = ('ontouchstart' in document);\n /**\n * Detect CSS pointer-events property\n * events are normally disabled on the dragging element to avoid conflicts\n * https://github.com/ausi/Feature-detection-technique-for-pointer-events/blob/master/modernizr-pointerevents.js\n */\n\n var hasPointerEvents = function () {\n var el = document.createElement('div'),\n docEl = document.documentElement;\n\n if (!('pointerEvents' in el.style)) {\n return false;\n }\n\n el.style.pointerEvents = 'auto';\n el.style.pointerEvents = 'x';\n docEl.appendChild(el);\n var supports = window.getComputedStyle && window.getComputedStyle(el, '').pointerEvents === 'auto';\n docEl.removeChild(el);\n return !!supports;\n }();\n\n var defaults = {\n listNodeName: 'ol',\n itemNodeName: 'li',\n rootClass: 'dd',\n listClass: 'dd-list',\n itemClass: 'dd-item',\n dragClass: 'dd-dragel',\n handleClass: 'dd-handle',\n collapsedClass: 'dd-collapsed',\n placeClass: 'dd-placeholder',\n noDragClass: 'dd-nodrag',\n emptyClass: 'dd-empty',\n expandBtnHTML: '',\n collapseBtnHTML: '',\n group: 0,\n maxDepth: 5,\n threshold: 20\n };\n\n function Plugin(element, options) {\n this.w = $(document);\n this.el = $(element);\n this.options = $.extend({}, defaults, options);\n this.init();\n }\n\n Plugin.prototype = {\n init: function init() {\n var list = this;\n list.reset();\n list.el.data('nestable-group', this.options.group);\n list.placeEl = $('
');\n $.each(this.el.find(list.options.itemNodeName), function (k, el) {\n list.setParent($(el));\n });\n list.el.on('click', 'button', function (e) {\n if (list.dragEl) {\n return;\n }\n\n var target = $(e.currentTarget),\n action = target.data('action'),\n item = target.parent(list.options.itemNodeName);\n\n if (action === 'collapse') {\n list.collapseItem(item);\n }\n\n if (action === 'expand') {\n list.expandItem(item);\n }\n });\n\n var onStartEvent = function onStartEvent(e) {\n var handle = $(e.target);\n\n if (!handle.hasClass(list.options.handleClass)) {\n if (handle.closest('.' + list.options.noDragClass).length) {\n return;\n }\n\n handle = handle.closest('.' + list.options.handleClass);\n }\n\n if (!handle.length || list.dragEl) {\n return;\n }\n\n list.isTouch = /^touch/.test(e.type);\n\n if (list.isTouch && e.touches.length !== 1) {\n return;\n }\n\n e.preventDefault();\n list.dragStart(e.touches ? e.touches[0] : e);\n };\n\n var onMoveEvent = function onMoveEvent(e) {\n if (list.dragEl) {\n e.preventDefault();\n list.dragMove(e.touches ? e.touches[0] : e);\n }\n };\n\n var onEndEvent = function onEndEvent(e) {\n if (list.dragEl) {\n e.preventDefault();\n list.dragStop(e.touches ? e.touches[0] : e);\n }\n };\n\n if (hasTouch) {\n list.el[0].addEventListener('touchstart', onStartEvent, false);\n window.addEventListener('touchmove', onMoveEvent, false);\n window.addEventListener('touchend', onEndEvent, false);\n window.addEventListener('touchcancel', onEndEvent, false);\n }\n\n list.el.on('mousedown', onStartEvent);\n list.w.on('mousemove', onMoveEvent);\n list.w.on('mouseup', onEndEvent);\n },\n serialize: function serialize() {\n var data,\n depth = 0,\n list = this;\n\n step = function (_step) {\n function step(_x, _x2) {\n return _step.apply(this, arguments);\n }\n\n step.toString = function () {\n return _step.toString();\n };\n\n return step;\n }(function (level, depth) {\n var array = [],\n items = level.children(list.options.itemNodeName);\n items.each(function () {\n var li = $(this),\n item = $.extend({}, li.data()),\n sub = li.children(list.options.listNodeName);\n\n if (sub.length) {\n item.children = step(sub, depth + 1);\n }\n\n array.push(item);\n });\n return array;\n });\n\n data = step(list.el.find(list.options.listNodeName).first(), depth);\n return data;\n },\n serialise: function serialise() {\n return this.serialize();\n },\n reset: function reset() {\n this.mouse = {\n offsetX: 0,\n offsetY: 0,\n startX: 0,\n startY: 0,\n lastX: 0,\n lastY: 0,\n nowX: 0,\n nowY: 0,\n distX: 0,\n distY: 0,\n dirAx: 0,\n dirX: 0,\n dirY: 0,\n lastDirX: 0,\n lastDirY: 0,\n distAxX: 0,\n distAxY: 0\n };\n this.isTouch = false;\n this.moving = false;\n this.dragEl = null;\n this.dragRootEl = null;\n this.dragDepth = 0;\n this.hasNewRoot = false;\n this.pointEl = null;\n },\n expandItem: function expandItem(li) {\n li.removeClass(this.options.collapsedClass);\n li.children('[data-action=\"expand\"]').hide();\n li.children('[data-action=\"collapse\"]').show();\n li.children(this.options.listNodeName).show();\n },\n collapseItem: function collapseItem(li) {\n var lists = li.children(this.options.listNodeName);\n\n if (lists.length) {\n li.addClass(this.options.collapsedClass);\n li.children('[data-action=\"collapse\"]').hide();\n li.children('[data-action=\"expand\"]').show();\n li.children(this.options.listNodeName).hide();\n }\n },\n expandAll: function expandAll() {\n var list = this;\n list.el.find(list.options.itemNodeName).each(function () {\n list.expandItem($(this));\n });\n },\n collapseAll: function collapseAll() {\n var list = this;\n list.el.find(list.options.itemNodeName).each(function () {\n list.collapseItem($(this));\n });\n },\n setParent: function setParent(li) {\n if (li.children(this.options.listNodeName).length) {\n li.prepend($(this.options.expandBtnHTML));\n li.prepend($(this.options.collapseBtnHTML));\n }\n\n li.children('[data-action=\"expand\"]').hide();\n },\n unsetParent: function unsetParent(li) {\n li.removeClass(this.options.collapsedClass);\n li.children('[data-action]').remove();\n li.children(this.options.listNodeName).remove();\n },\n dragStart: function dragStart(e) {\n var mouse = this.mouse,\n target = $(e.target),\n dragItem = target.closest(this.options.itemNodeName);\n this.placeEl.css('height', dragItem.height());\n mouse.offsetX = e.offsetX !== undefined ? e.offsetX : e.pageX - target.offset().left;\n mouse.offsetY = e.offsetY !== undefined ? e.offsetY : e.pageY - target.offset().top;\n mouse.startX = mouse.lastX = e.pageX;\n mouse.startY = mouse.lastY = e.pageY;\n this.dragRootEl = this.el;\n this.dragEl = $(document.createElement(this.options.listNodeName)).addClass(this.options.listClass + ' ' + this.options.dragClass);\n this.dragEl.css('width', dragItem.width());\n dragItem.after(this.placeEl);\n dragItem[0].parentNode.removeChild(dragItem[0]);\n dragItem.appendTo(this.dragEl);\n $(document.body).append(this.dragEl);\n this.dragEl.css({\n 'left': e.pageX - mouse.offsetX,\n 'top': e.pageY - mouse.offsetY\n }); // total depth of dragging item\n\n var i,\n depth,\n items = this.dragEl.find(this.options.itemNodeName);\n\n for (i = 0; i < items.length; i++) {\n depth = $(items[i]).parents(this.options.listNodeName).length;\n\n if (depth > this.dragDepth) {\n this.dragDepth = depth;\n }\n }\n },\n dragStop: function dragStop(e) {\n var el = this.dragEl.children(this.options.itemNodeName).first();\n el[0].parentNode.removeChild(el[0]);\n this.placeEl.replaceWith(el);\n this.dragEl.remove();\n this.el.trigger('change');\n\n if (this.hasNewRoot) {\n this.dragRootEl.trigger('change');\n }\n\n this.reset();\n },\n dragMove: function dragMove(e) {\n var list,\n parent,\n prev,\n next,\n depth,\n opt = this.options,\n mouse = this.mouse;\n this.dragEl.css({\n 'left': e.pageX - mouse.offsetX,\n 'top': e.pageY - mouse.offsetY\n }); // mouse position last events\n\n mouse.lastX = mouse.nowX;\n mouse.lastY = mouse.nowY; // mouse position this events\n\n mouse.nowX = e.pageX;\n mouse.nowY = e.pageY; // distance mouse moved between events\n\n mouse.distX = mouse.nowX - mouse.lastX;\n mouse.distY = mouse.nowY - mouse.lastY; // direction mouse was moving\n\n mouse.lastDirX = mouse.dirX;\n mouse.lastDirY = mouse.dirY; // direction mouse is now moving (on both axis)\n\n mouse.dirX = mouse.distX === 0 ? 0 : mouse.distX > 0 ? 1 : -1;\n mouse.dirY = mouse.distY === 0 ? 0 : mouse.distY > 0 ? 1 : -1; // axis mouse is now moving on\n\n var newAx = Math.abs(mouse.distX) > Math.abs(mouse.distY) ? 1 : 0; // do nothing on first move\n\n if (!mouse.moving) {\n mouse.dirAx = newAx;\n mouse.moving = true;\n return;\n } // calc distance moved on this axis (and direction)\n\n\n if (mouse.dirAx !== newAx) {\n mouse.distAxX = 0;\n mouse.distAxY = 0;\n } else {\n mouse.distAxX += Math.abs(mouse.distX);\n\n if (mouse.dirX !== 0 && mouse.dirX !== mouse.lastDirX) {\n mouse.distAxX = 0;\n }\n\n mouse.distAxY += Math.abs(mouse.distY);\n\n if (mouse.dirY !== 0 && mouse.dirY !== mouse.lastDirY) {\n mouse.distAxY = 0;\n }\n }\n\n mouse.dirAx = newAx;\n /**\n * move horizontal\n */\n\n if (mouse.dirAx && mouse.distAxX >= opt.threshold) {\n // reset move distance on x-axis for new phase\n mouse.distAxX = 0;\n prev = this.placeEl.prev(opt.itemNodeName); // increase horizontal level if previous sibling exists and is not collapsed\n\n if (mouse.distX > 0 && prev.length && !prev.hasClass(opt.collapsedClass)) {\n // cannot increase level when item above is collapsed\n list = prev.find(opt.listNodeName).last(); // check if depth limit has reached\n\n depth = this.placeEl.parents(opt.listNodeName).length;\n\n if (depth + this.dragDepth <= opt.maxDepth) {\n // create new sub-level if one doesn't exist\n if (!list.length) {\n list = $('<' + opt.listNodeName + '/>').addClass(opt.listClass);\n list.append(this.placeEl);\n prev.append(list);\n this.setParent(prev);\n } else {\n // else append to next level up\n list = prev.children(opt.listNodeName).last();\n list.append(this.placeEl);\n }\n }\n } // decrease horizontal level\n\n\n if (mouse.distX < 0) {\n // we can't decrease a level if an item preceeds the current one\n next = this.placeEl.next(opt.itemNodeName);\n\n if (!next.length) {\n parent = this.placeEl.parent();\n this.placeEl.closest(opt.itemNodeName).after(this.placeEl);\n\n if (!parent.children().length) {\n this.unsetParent(parent.parent());\n }\n }\n }\n }\n\n var isEmpty = false; // find list item under cursor\n\n if (!hasPointerEvents) {\n this.dragEl[0].style.visibility = 'hidden';\n }\n\n this.pointEl = $(document.elementFromPoint(e.pageX - document.body.scrollLeft, e.pageY - (window.pageYOffset || document.documentElement.scrollTop)));\n\n if (!hasPointerEvents) {\n this.dragEl[0].style.visibility = 'visible';\n }\n\n if (this.pointEl.hasClass(opt.handleClass)) {\n this.pointEl = this.pointEl.parent(opt.itemNodeName);\n }\n\n if (this.pointEl.hasClass(opt.emptyClass)) {\n isEmpty = true;\n } else if (!this.pointEl.length || !this.pointEl.hasClass(opt.itemClass)) {\n return;\n } // find parent list of item under cursor\n\n\n var pointElRoot = this.pointEl.closest('.' + opt.rootClass),\n isNewRoot = this.dragRootEl.data('nestable-id') !== pointElRoot.data('nestable-id');\n /**\n * move vertical\n */\n\n if (!mouse.dirAx || isNewRoot || isEmpty) {\n // check if groups match if dragging over new root\n if (isNewRoot && opt.group !== pointElRoot.data('nestable-group')) {\n return;\n } // check depth limit\n\n\n depth = this.dragDepth - 1 + this.pointEl.parents(opt.listNodeName).length;\n\n if (depth > opt.maxDepth) {\n return;\n }\n\n var before = e.pageY < this.pointEl.offset().top + this.pointEl.height() / 2;\n parent = this.placeEl.parent(); // if empty create new list to replace empty placeholder\n\n if (isEmpty) {\n list = $(document.createElement(opt.listNodeName)).addClass(opt.listClass);\n list.append(this.placeEl);\n this.pointEl.replaceWith(list);\n } else if (before) {\n this.pointEl.before(this.placeEl);\n } else {\n this.pointEl.after(this.placeEl);\n }\n\n if (!parent.children().length) {\n this.unsetParent(parent.parent());\n }\n\n if (!this.dragRootEl.find(opt.itemNodeName).length) {\n this.dragRootEl.append('');\n } // parent root list has changed\n\n\n if (isNewRoot) {\n this.dragRootEl = pointElRoot;\n this.hasNewRoot = this.el[0] !== this.dragRootEl[0];\n }\n }\n }\n };\n\n $.fn.nestable = function (params) {\n var lists = this,\n retval = this;\n lists.each(function () {\n var plugin = $(this).data(\"nestable\");\n\n if (!plugin) {\n $(this).data(\"nestable\", new Plugin(this, params));\n $(this).data(\"nestable-id\", new Date().getTime());\n } else {\n if (typeof params === 'string' && typeof plugin[params] === 'function') {\n retval = plugin[params]();\n }\n }\n });\n return retval || lists;\n };\n})(window.jQuery || window.Zepto, window, document);"],"sourceRoot":""}