PluginProbe
Adminify – White Label, Admin Menu Editor, Login Customizer / 4.0
Adminify – White Label, Admin Menu Editor, Login Customizer v4.0
4.3.1 4.3.0 4.2.26 4.2.25 4.2.24 4.2.23 4.2.22 4.2.21 4.2.20 4.2.19 4.2.18 4.2.17 4.2.16 4.2.15 4.2.14 4.2.13 4.2.12 4.2.11 4.2.10 4.2.9 4.2.8 4.2.7 4.2.6 4.2.5 4.1.17 All 164 releases
adminify / assets / admin / js / wp-adminify--folder.js

wp-adminify--folder.js in Adminify – White Label, Admin Menu Editor, Login Customizer 4.0, at assets/admin/js/wp-adminify--folder.js

319 lines 99.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*
2 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
3 * This devtool is neither made for production nor for readable output files.
4 * It uses "eval()" calls to create a separate source file in the browser devtools.
5 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
6 * or disable the default devtool with "devtool: false".
7 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
8 */
9 /******/ (() => { // webpackBootstrap
10 /******/ "use strict";
11 /******/ var __webpack_modules__ = ({
12
13 /***/ "./dev/admin/modules/folder/folder.js":
14 /*!********************************************!*\
15 !*** ./dev/admin/modules/folder/folder.js ***!
16 \********************************************/
17 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
18
19 eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\nvue__WEBPACK_IMPORTED_MODULE_0___default().component('folder-app', (__webpack_require__(/*! ./folder-app.vue */ \"./dev/admin/modules/folder/folder-app.vue\")[\"default\"]));\nvue__WEBPACK_IMPORTED_MODULE_0___default().component('folders', (__webpack_require__(/*! ./components/folders.vue */ \"./dev/admin/modules/folder/components/folders.vue\")[\"default\"]));\njQuery(function ($) {\n if ($('#wp-adminify--folder-app').length) {\n var attachment_template = jQuery('#tmpl-attachment');\n if (attachment_template.length) {\n var template = attachment_template.html().replace('data.orientation }}\">', 'data.orientation }}\" data-folders=\"{{ data.media_folder }}\">');\n attachment_template.html(template);\n }\n new (vue__WEBPACK_IMPORTED_MODULE_0___default())({\n el: '#wp-adminify--folder-app',\n template: '<folder-app></folder-app>'\n });\n }\n});\n\n//# sourceURL=webpack://adminify/./dev/admin/modules/folder/folder.js?");
20
21 /***/ }),
22
23 /***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options!./dev/admin/modules/folder/components/folders.vue?vue&type=script&lang=js":
24 /*!**********************************************************************************************************************************************************************************************************!*\
25 !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options!./dev/admin/modules/folder/components/folders.vue?vue&type=script&lang=js ***!
26 \**********************************************************************************************************************************************************************************************************/
27 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
28
29 eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n props: {\n folders: {\n type: Array,\n required: true\n },\n folder_select_toggle: {\n type: Boolean,\n required: true\n }\n },\n methods: {\n is_folder: function is_folder(_folder) {\n return this.$parent.is_folder(_folder);\n },\n get_folder_url: function get_folder_url(_folder) {\n return this.$parent.get_folder_url(_folder);\n },\n folderActions: function folderActions($event, _folder) {\n this.$parent.folderActions($event, _folder);\n },\n showRenameFolderPopup: function showRenameFolderPopup(_folder) {\n this.$parent.showRenameFolderPopup(_folder);\n },\n showDeleteFolderPopup: function showDeleteFolderPopup(_folder) {\n this.$parent.showDeleteFolderPopup(_folder);\n },\n showNewSubFolderPopup: function showNewSubFolderPopup(_folder) {\n this.$parent.showNewSubFolderPopup(_folder);\n }\n }\n});\n\n//# sourceURL=webpack://adminify/./dev/admin/modules/folder/components/folders.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options");
30
31 /***/ }),
32
33 /***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options!./dev/admin/modules/folder/folder-app.vue?vue&type=script&lang=js":
34 /*!**************************************************************************************************************************************************************************************************!*\
35 !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options!./dev/admin/modules/folder/folder-app.vue?vue&type=script&lang=js ***!
36 \**************************************************************************************************************************************************************************************************/
37 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
38
39 eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var js_cookie__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! js-cookie */ \"./node_modules/js-cookie/dist/js.cookie.mjs\");\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _regeneratorRuntime() { \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = \"function\" == typeof Symbol ? Symbol : {}, a = i.iterator || \"@@iterator\", c = i.asyncIterator || \"@@asyncIterator\", u = i.toStringTag || \"@@toStringTag\"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, \"\"); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, \"_invoke\", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: \"normal\", arg: t.call(e, r) }; } catch (t) { return { type: \"throw\", arg: t }; } } e.wrap = wrap; var h = \"suspendedStart\", l = \"suspendedYield\", f = \"executing\", s = \"completed\", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { [\"next\", \"throw\", \"return\"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if (\"throw\" !== c.type) { var u = c.arg, h = u.value; return h && \"object\" == _typeof(h) && n.call(h, \"__await\") ? e.resolve(h.__await).then(function (t) { invoke(\"next\", t, i, a); }, function (t) { invoke(\"throw\", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke(\"throw\", t, i, a); }); } a(c.arg); } var r; o(this, \"_invoke\", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error(\"Generator is already running\"); if (o === s) { if (\"throw\" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if (\"next\" === n.method) n.sent = n._sent = n.arg;else if (\"throw\" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else \"return\" === n.method && n.abrupt(\"return\", n.arg); o = f; var p = tryCatch(e, r, n); if (\"normal\" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } \"throw\" === p.type && (o = s, n.method = \"throw\", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, \"throw\" === n && e.iterator[\"return\"] && (r.method = \"return\", r.arg = t, maybeInvokeDelegate(e, r), \"throw\" === r.method) || \"return\" !== n && (r.method = \"throw\", r.arg = new TypeError(\"The iterator does not provide a '\" + n + \"' method\")), y; var i = tryCatch(o, e.iterator, r.arg); if (\"throw\" === i.type) return r.method = \"throw\", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, \"return\" !== r.method && (r.method = \"next\", r.arg = t), r.delegate = null, y) : a : (r.method = \"throw\", r.arg = new TypeError(\"iterator result is not an object\"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = \"normal\", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: \"root\" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || \"\" === e) { var r = e[a]; if (r) return r.call(e); if (\"function\" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + \" is not iterable\"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, \"constructor\", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, \"constructor\", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, \"GeneratorFunction\"), e.isGeneratorFunction = function (t) { var e = \"function\" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || \"GeneratorFunction\" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, \"GeneratorFunction\")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, \"Generator\"), define(g, a, function () { return this; }), define(g, \"toString\", function () { return \"[object Generator]\"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) \"t\" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if (\"throw\" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = \"throw\", a.arg = e, r.next = n, o && (r.method = \"next\", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if (\"root\" === i.tryLoc) return handle(\"end\"); if (i.tryLoc <= this.prev) { var c = n.call(i, \"catchLoc\"), u = n.call(i, \"finallyLoc\"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error(\"try statement without catch or finally\"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, \"finallyLoc\") && this.prev < o.finallyLoc) { var i = o; break; } } i && (\"break\" === t || \"continue\" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = \"next\", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if (\"throw\" === t.type) throw t.arg; return \"break\" === t.type || \"continue\" === t.type ? this.next = t.arg : \"return\" === t.type ? (this.rval = this.arg = t.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, \"catch\": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if (\"throw\" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error(\"illegal catch attempt\"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, \"next\" === this.method && (this.arg = t), y; } }, e; }\nfunction asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nfunction _createForOfIteratorHelper(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t[\"return\"] || t[\"return\"](); } finally { if (u) throw o; } } }; }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n\nvar $ = jQuery;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n data: function data() {\n var _ref;\n return _ref = {\n post_type: \"\",\n post_type_tax: \"\",\n folders: [],\n posts: {},\n filter_folder: \"\",\n total_uncat_posts: \"\"\n }, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, \"total_uncat_posts\", \"\"), \"folder_select_toggle\", false), \"create_folder_popup\", false), \"new_folder_name\", null), \"create_folder_error\", null), \"rename_folder_popup\", false), \"rename_folder_name\", null), \"rename_folder_error\", null), \"delete_folder_popup\", false), \"delete_folder_error\", null), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, \"move_to_folder_popup\", false), \"color_tags\", [\"#7B61FF\", \"#0347FF\", \"#F24AE1\", \"#ED2E7E\", \"#FFC804\", \"#00BA88\"]), \"active_color_tag\", \"#7B61FF\"), \"currentView\", \"all\"), \"sort\", \"a-z\"), \"is_pro\", !!wp_adminify__folder_data.is_pro), \"pro_notice\", wp_adminify__folder_data.pro_notice), \"total_posts\", {\n \"auto-draft\": 0,\n draft: 0,\n future: 0,\n inherit: 0,\n pending: 0,\n \"private\": 0,\n publish: 0,\n \"request-completed\": 0,\n \"request-confirmed\": 0,\n \"request-failed\": 0,\n \"request-pending\": 0,\n trash: 0\n });\n },\n mounted: function mounted() {\n this.post_type = wp_adminify__folder_data.post_type;\n this.post_type_tax = wp_adminify__folder_data.post_type_tax;\n this.folders = wp_adminify__folder_data.folders;\n this.total_posts = wp_adminify__folder_data.total_posts;\n this.total_uncat_posts = wp_adminify__folder_data.total_uncat_posts;\n this._active_color_tag = this.active_color_tag;\n this.adminurl = wp_adminify__folder_data.adminurl;\n this.folder_hierarchy = wp_adminify__folder_data.folder_hierarchy;\n this.folders_to_edit = [];\n var sort = js_cookie__WEBPACK_IMPORTED_MODULE_0__[\"default\"].get(this.post_type_tax + \"__sort\");\n if (sort) this.sort = sort;\n this.init_folder_events();\n $(function () {\n this.init_draggable_events();\n this.init_droppable_events();\n this.reset_on_other_ajax_events();\n this.init_submenu_events();\n this.set_posts_folders();\n }.bind(this));\n },\n methods: {\n set_posts_folders: function set_posts_folders() {\n var that = this;\n $(\"#the-list .adminify-move-file\").each(function () {\n var id = $(this).data(\"id\");\n var folders = $(this).data(\"folders\");\n folders = folders ? String(folders).split(\",\").map(function (folder) {\n return Number(folder);\n }) : [];\n that.posts[id] = folders;\n });\n $(\".attachments-browser .attachments .attachment\").each(function () {\n var id = $(this).data(\"id\");\n var folders = $(this).find(\".attachment-preview\").data(\"folders\");\n folders = folders ? String(folders).split(\",\").map(function (folder) {\n return Number(folder);\n }) : [];\n that.posts[id] = folders;\n });\n },\n get_folder_by_id: function get_folder_by_id(id) {\n return this.folders.find(function (folder) {\n return folder.term_id == id;\n });\n },\n get_folder_ids_by_post_id: function get_folder_ids_by_post_id(post_id) {\n return this.posts[post_id];\n },\n init_submenu_events: function init_submenu_events() {\n $(\".folder--actions .has--sub-menu > a\").on(\"click\", function (event) {\n event.preventDefault();\n event.stopImmediatePropagation();\n $(this).parent().toggleClass(\"sub-menu--open\");\n });\n $(\"body\").on(\"click\", function () {\n $(\".has--sub-menu.sub-menu--open\").removeClass(\"sub-menu--open\");\n });\n },\n reset_on_other_ajax_events: function reset_on_other_ajax_events() {\n var _this3 = this;\n $(document).ajaxComplete(function (event, xhr, settings) {\n var _this2 = this;\n if (settings.dataType == \"html\") {\n return this.init_draggable_events();\n }\n if (!settings.data) return;\n var accepted = [\"inline-save\", \"query-attachments\", \"delete-post\"].some(function (_action) {\n return settings.data.indexOf(\"action=\".concat(_action)) != -1;\n });\n if (accepted) {\n setTimeout(function () {\n _this2.init_draggable_events();\n _this2.refresh_folders_data_ajax();\n }, 100);\n }\n }.bind(this));\n if (wp.Uploader && wp.Uploader.queue) {\n wp.Uploader.queue.on(\"reset\", function () {\n _this3.init_draggable_events();\n _this3.refresh_folders_data_ajax();\n });\n }\n },\n init_folder_events: function init_folder_events() {\n var that = this;\n if (wp.media) {\n var AttachmentsView = wp.media.view.Attachments;\n wp.media.view.Attachments = AttachmentsView.extend({\n initialize: function initialize() {\n var _this = this;\n AttachmentsView.prototype.initialize.apply(this, arguments);\n $(\".folder--lists, .folder--stats\").on(\"click\", \"li a\", function (event) {\n event.preventDefault();\n var url = $(this).attr(\"href\");\n if ($(\".attachments-browser .attachments\").length) {\n _this.model.get(\"library\").props.set(\"media_folder\", that.getUrlParameter(url, \"media_folder\"));\n var state = that.getUrlParameter(url);\n window.history.pushState(state, \"\", url);\n }\n });\n }\n });\n } else {\n $(\".folder--lists, .folder--stats\").on(\"click\", \"li a\", function (event) {\n event.preventDefault();\n var url = $(this).attr(\"href\");\n $(\".folder--lists, .folder--stats\").find(\"li\").removeClass(\"active\");\n $(this).closest(\"li\").addClass(\"active\");\n if ($(\"#the-list\").length) {\n $(\"#the-list\").load(\"\".concat(url, \" #the-list > tr\"));\n var state = that.getUrlParameter(url);\n window.history.pushState(state, \"\", url);\n }\n });\n }\n },\n folderActions: function folderActions(event, folder) {\n event.preventDefault();\n this.folders.forEach(function (_folder) {\n _folder.contexted = false;\n });\n folder.contexted = true;\n $(\".folder--lists li\").removeClass(\"sub-menu--open\");\n $(event.target).closest(\"li\").addClass(\"sub-menu--open\");\n },\n get_active_folder: function get_active_folder() {\n return $(\".folder--lists li.active\").toArray().map(function (_folder_dom) {\n return $(_folder_dom).data(\"folder\");\n });\n },\n is_folder: function is_folder(folder) {\n // let URLParams = new URLSearchParams( window.location.href );\n // let currentFolder = URLParams.get( 'folder' );\n\n // if ( folder == 'all' && ! currentFolder ) return true;\n // if ( this.get_folder_url( ) == currentFolder ) return true;\n\n // return false;\n\n var currenturl = window.location.href;\n if (folder == \"all\" && currenturl.indexOf(wp_adminify__folder_data.post_type_tax) > -1) return false;\n return currenturl == this.get_folder_url(folder);\n },\n getUrlParameter: function getUrlParameter(querystring, sParam) {\n querystring = querystring.substring(querystring.indexOf(\"?\") + 1);\n var params = new URLSearchParams(querystring);\n var obj = {};\n var _iterator = _createForOfIteratorHelper(params.keys()),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var key = _step.value;\n if (params.getAll(key).length > 1) {\n obj[key] = params.getAll(key);\n } else {\n obj[key] = params.get(key);\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n if (sParam) {\n if (sParam in obj) return obj[sParam];\n return \"\";\n }\n return obj;\n },\n get_folder_url: function get_folder_url(folder) {\n var queryStrings = location.search;\n var searchParams = new URLSearchParams(queryStrings);\n var postType = searchParams.get(\"post_type\");\n var baseURL = new URL(location.protocol + \"//\" + location.host + location.pathname);\n if (postType) baseURL.searchParams.set(\"post_type\", postType);\n if (folder !== \"all\") {\n var folderSlug = folder == \"uncategorized\" ? \"-1\" : folder.slug;\n baseURL.searchParams.set(this.post_type_tax, folderSlug);\n }\n var _iterator2 = _createForOfIteratorHelper(searchParams.entries()),\n _step2;\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var _step2$value = _slicedToArray(_step2.value, 2),\n key = _step2$value[0],\n value = _step2$value[1];\n if (key == \"post_type\") continue;\n if (key == this.post_type_tax) continue;\n baseURL.searchParams.set(key, value);\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n return baseURL.toJSON();\n },\n showPopupOverlay: function showPopupOverlay() {\n $(\"body\").addClass(\"wp-adminify--popup-show\");\n },\n hidePopupOverlay: function hidePopupOverlay() {\n $(\"body\").removeClass(\"wp-adminify--popup-show\");\n },\n showNewFolderPopup: function showNewFolderPopup() {\n this.showPopupOverlay();\n this.create_folder_popup = true;\n this.parent_folder = null;\n this.active_color_tag = this.color_tags[0];\n this._active_color_tag = this.active_color_tag;\n },\n showNewSubFolderPopup: function showNewSubFolderPopup(folder) {\n this.showPopupOverlay();\n this.create_folder_popup = true;\n this.parent_folder = folder.term_id;\n this.active_color_tag = this.color_tags[0];\n this._active_color_tag = this.active_color_tag;\n },\n showRenameFolderPopup: function showRenameFolderPopup() {\n var _this4 = this;\n var folder = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n // Set Editable Folders\n\n if (folder && folder.term_id) {\n this.folders_to_edit = [folder];\n } else if (this.get_active_folder().length) {\n this.folders_to_edit = [this.folders.find(function (_folder) {\n return _folder.term_id == _this4.get_active_folder()[0];\n })];\n } else {\n this.folders_to_edit = null;\n }\n if (!this.folders_to_edit || !this.folders_to_edit.length) return;\n folder = this.folders_to_edit[0];\n this._rename_folder_name = folder.name;\n this.rename_folder_name = folder.name;\n this.active_color_tag = folder.color;\n this._active_color_tag = this.active_color_tag;\n this.showPopupOverlay();\n this.rename_folder_popup = true;\n },\n showDeleteFolderPopup: function showDeleteFolderPopup() {\n var _this5 = this;\n var folder = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n // Set Editable Folders\n\n if (folder && folder.term_id) {\n this.folders_to_edit = [folder];\n } else if (this.folder_select_toggle) {\n this.folders_to_edit = this.folders.filter(function (_folder) {\n return _folder.selected;\n });\n } else if (this.get_active_folder().length) {\n this.folders_to_edit = [this.folders.find(function (_folder) {\n return _folder.term_id == _this5.get_active_folder()[0];\n })];\n } else {\n this.folders_to_edit = null;\n }\n if (!this.folders_to_edit || !this.folders_to_edit.length) return;\n this.showPopupOverlay();\n this.delete_folder_popup = true;\n },\n hide_rename_folder_popup: function hide_rename_folder_popup() {\n this.hidePopupOverlay();\n this.rename_folder_popup = false;\n this.rename_folder_error = null;\n },\n hide_delete_folder_popup: function hide_delete_folder_popup() {\n this.hidePopupOverlay();\n this.delete_folder_popup = false;\n this.delete_folder_error = null;\n },\n hide_move_to_folder_popup: function hide_move_to_folder_popup() {\n this.hidePopupOverlay();\n this.move_to_folder_popup = false;\n },\n hide_create_folder_popup: function hide_create_folder_popup() {\n this.hidePopupOverlay();\n this.create_folder_popup = false;\n this.new_folder_name = null;\n this.create_folder_error = null;\n this.active_color_tag = this._active_color_tag;\n },\n saveNewFolder: function saveNewFolder() {\n var _this = this;\n var data = {\n post_type: wp_adminify__folder_data.post_type,\n post_type_tax: wp_adminify__folder_data.post_type_tax,\n new_folder_name: this.new_folder_name,\n folder_color_tag: this.active_color_tag,\n parent_folder: this.parent_folder,\n action: \"adminify_folder\",\n route: \"create_new_folder\",\n _ajax_nonce: wp_adminify__folder_data.nonce\n };\n if (this.is_pro) {\n data.parent_folder = this.parent_folder;\n }\n $.ajax({\n url: wp_adminify__folder_data.ajaxurl,\n method: \"post\",\n data: data\n }).done(function (response, status, xhr) {\n if (response.success && xhr.status == 200) {\n _this.refresh_folders_data(response.data);\n _this.hide_create_folder_popup();\n } else {\n _this.create_folder_error = response.data.message;\n }\n });\n },\n renameFolder: function renameFolder() {\n var folder = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var _this = this;\n var changes = false;\n if (this.active_color_tag != this._active_color_tag) changes = true;\n if (!changes && this._rename_folder_name.trim() != this.rename_folder_name.trim()) changes = true;\n if (!changes) return this.hide_rename_folder_popup();\n $.ajax({\n url: wp_adminify__folder_data.ajaxurl,\n method: \"post\",\n data: {\n post_type: wp_adminify__folder_data.post_type,\n post_type_tax: wp_adminify__folder_data.post_type_tax,\n term_id: _this.folders_to_edit[0].term_id,\n folder_name: _this.rename_folder_name,\n folder_color_tag: _this.active_color_tag,\n action: \"adminify_folder\",\n route: \"rename_folder\",\n _ajax_nonce: wp_adminify__folder_data.nonce\n }\n }).done(function (response, status, xhr) {\n if (response.success && xhr.status == 200) {\n _this.refresh_folders_data(response.data);\n _this.hide_rename_folder_popup();\n $(\".folder--lists li.active > a\").trigger(\"click\");\n } else {\n _this.rename_folder_error = response.data.message;\n }\n });\n },\n init_draggable_events: function init_draggable_events() {\n $(\".adminify-move-file:not(.ui-draggable), .adminify-move-multiple:not(.ui-draggable)\").draggable({\n revert: \"invalid\",\n containment: \"document\",\n helper: \"clone\",\n cursor: \"move\",\n start: function start(event, ui) {\n $(this).closest(\"td\").addClass(\"adminify-draggable\");\n $(\"body\").addClass(\"adminify--items-dragging\");\n },\n stop: function stop(event, ui) {\n $(this).closest(\"td\").removeClass(\"adminify-draggable\");\n $(\"body\").removeClass(\"adminify--items-dragging\");\n }\n\n // helper: function (event, ui) {\n // console.log( event )\n // console.log( this )\n // // if ( ui.draggable.hasClass( 'adminify-move-multiple') ) {\n // let items = $('#the-list .check-column input[type=\"checkbox\"]:checked').length;\n // return $(`<div>Move ${items} Items</div>`);\n\n // // $('.adminify--selected-items').remove();\n // // let selectedItems = $('.attachments-browser li.attachment.selected').length;\n // // selectedItems = (selectedItems < 2) ? '1 Item' : `${selectedItems} Items`;\n // // return $(`<div class='adminify--selected-items'><span class='total-post-count'>${selectedItems} Selected</span></div>`);\n // },\n });\n $(\".attachments-browser li.attachment:not(.ui-draggable)\").draggable({\n revert: \"invalid\",\n containment: \"document\",\n cursor: \"move\",\n helper: \"clone\",\n cursorAt: {\n left: 0,\n top: 0\n },\n start: function start(event, ui) {\n $(\"body\").addClass(\"adminify--items-dragging\");\n },\n stop: function stop(event, ui) {\n $(\".adminify--selected-items\").remove();\n $(\"body\").removeClass(\"adminify--items-dragging\");\n }\n });\n },\n init_droppable_events: function init_droppable_events() {\n var _this6 = this;\n return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {\n var _this;\n return _regeneratorRuntime().wrap(function _callee2$(_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n _this = _this6;\n $(\".folder--lists li a:not(.ui-droppable), .folder--stats li.folder--single-uncategorized a:not(.ui-droppable)\").droppable({\n accept: \".adminify-move-file, .adminify-move-multiple, .attachments-browser li.attachment\",\n hoverClass: \"adminify-drop-hover\",\n classes: {\n \"ui-droppable-active\": \"ui-state-highlight\"\n },\n tolerance: \"pointer\",\n drop: function () {\n var _drop = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(event, ui) {\n var folderID, postIDs, move_to_folder, folder_found, mode;\n return _regeneratorRuntime().wrap(function _callee$(_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n folderID = $(this).parent(\"li\").data(\"folder\");\n if (folderID) {\n _context.next = 3;\n break;\n }\n return _context.abrupt(\"return\");\n case 3:\n postIDs = [];\n if (ui.draggable.hasClass(\"adminify-move-multiple\")) {\n postIDs = $(\"#the-list .check-column input[type=checkbox]:checked\").toArray().map(function (_input) {\n return _input.value;\n });\n $(\".wp-list-table .manage-column.check-column input\").prop(\"checked\", false);\n } else if (ui.draggable.hasClass(\"adminify-move-file\")) {\n postIDs = [ui.draggable[0].attributes[\"data-id\"].nodeValue];\n } else if (ui.draggable.hasClass(\"attachment\")) {\n if ($(\".media-toolbar.wp-filter\").hasClass(\"media-toolbar-mode-select\")) {\n postIDs = $(\".attachments-browser li.attachment.selected\").toArray().map(function (_media) {\n return _media.dataset.id;\n });\n } else {\n postIDs = [ui.draggable[0].attributes[\"data-id\"].nodeValue];\n }\n }\n if (postIDs.length) {\n _context.next = 7;\n break;\n }\n return _context.abrupt(\"return\");\n case 7:\n move_to_folder = false;\n if (!(folderID !== \"uncategorized\")) {\n _context.next = 14;\n break;\n }\n folder_found = postIDs.some(function (post_id) {\n var folder_ids = _this.get_folder_ids_by_post_id(post_id);\n if (folder_ids.length) return true;\n return false;\n });\n if (!folder_found) {\n _context.next = 14;\n break;\n }\n _context.next = 13;\n return _this.shouldWeMoveToFolder();\n case 13:\n move_to_folder = _context.sent;\n case 14:\n if (!ui.draggable.hasClass(\"attachment\")) {\n mode = $(\"input[name=post_view]\").first().val() || \"list\";\n $.ajax({\n url: wp_adminify__folder_data.ajaxurl,\n method: \"post\",\n data: {\n post_ids: postIDs,\n folder_id: folderID,\n post_type: wp_adminify__folder_data.post_type,\n post_type_tax: wp_adminify__folder_data.post_type_tax,\n action: \"adminify_folder\",\n route: \"move_to_folder\",\n move_to_folder: move_to_folder,\n screen: pagenow,\n mode: mode,\n _ajax_nonce: wp_adminify__folder_data.nonce\n }\n }).done(function (response, status) {\n if (response.success) {\n _this.refresh_rows();\n _this.refresh_folders_data(response.data);\n }\n });\n }\n if (ui.draggable.hasClass(\"attachment\")) {\n $.ajax({\n url: wp_adminify__folder_data.ajaxurl,\n method: \"post\",\n data: {\n post_ids: postIDs,\n folder_id: folderID,\n post_type: wp_adminify__folder_data.post_type,\n post_type_tax: wp_adminify__folder_data.post_type_tax,\n action: \"adminify_folder\",\n route: \"move_to_folder\",\n move_to_folder: move_to_folder,\n screen: pagenow,\n mode: \"grid\",\n _ajax_nonce: wp_adminify__folder_data.nonce\n }\n }).done(function (response, status) {\n if (response.success) {\n _this.refresh_rows();\n _this.refresh_folders_data(response.data);\n }\n });\n }\n case 16:\n case \"end\":\n return _context.stop();\n }\n }, _callee, this);\n }));\n function drop(_x, _x2) {\n return _drop.apply(this, arguments);\n }\n return drop;\n }()\n });\n case 2:\n case \"end\":\n return _context2.stop();\n }\n }, _callee2);\n }))();\n },\n shouldWeMoveToFolder: function shouldWeMoveToFolder() {\n var _this7 = this;\n this.showPopupOverlay();\n this.move_to_folder_popup = true;\n return new Promise(function (resolve) {\n jQuery(\"body\").on(\"click.promptDialog\", \".button-move, .button-copy\", function (e) {\n e.preventDefault();\n if (jQuery(this).hasClass(\"button-move\")) resolve(true);\n resolve(false);\n });\n })[\"finally\"](function () {\n jQuery(\".button-move, .button-copy\").off(\"click.promptDialog\");\n _this7.hidePopupOverlay();\n _this7.move_to_folder_popup = false;\n });\n },\n refresh_rows: function refresh_rows() {\n var $currentItem = $(\".folder--lists li.active, .folder--stats li.active\").first();\n if (!$currentItem.length) $currentItem = $(\".folder--stats li\").first();\n $currentItem.children(\"a\").trigger(\"click\");\n },\n get_allowed_status: function get_allowed_status() {\n return [\"pending\", \"draft\", \"future\", \"private\", \"publish\", \"inherit\"];\n },\n refresh_folders_data: function refresh_folders_data() {\n var _this8 = this;\n var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n this.folders = data.folders;\n this.total_posts = data.total_posts;\n this.total_uncat_posts = data.total_uncat_posts;\n this.folder_hierarchy = data.folder_hierarchy;\n setTimeout(function () {\n _this8.init_droppable_events();\n _this8.init_draggable_events();\n _this8.set_posts_folders();\n }, 200);\n },\n refresh_folders_data_ajax: function refresh_folders_data_ajax() {\n var _this = this;\n $.ajax({\n url: wp_adminify__folder_data.ajaxurl,\n method: \"post\",\n data: {\n post_type: wp_adminify__folder_data.post_type,\n post_type_tax: wp_adminify__folder_data.post_type_tax,\n action: \"adminify_folder\",\n route: \"refresh_folders\",\n _ajax_nonce: wp_adminify__folder_data.nonce\n }\n }).done(function (response, status) {\n if (response.success) {\n _this.refresh_folders_data(response.data);\n }\n });\n },\n get_color_tags: function get_color_tags() {\n if (!this.folders_to_edit && !this.folders_to_edit.length) return;\n var folder = this.folders_to_edit[0];\n var active_color = \"\";\n if (folder && folder.color) {\n active_color = folder.color;\n }\n if (!active_color || this.color_tags.includes(active_color)) return this.color_tags;\n return this.color_tags.concat([active_color]);\n },\n deleteFolders: function deleteFolders() {\n var _this = this;\n var folders = this.folders_to_edit;\n if (!folders.length) return this.hide_delete_folder_popup();\n folders = folders.map(function (_folder) {\n return _folder.term_id;\n });\n $.ajax({\n url: wp_adminify__folder_data.ajaxurl,\n method: \"post\",\n data: {\n post_type: wp_adminify__folder_data.post_type,\n post_type_tax: wp_adminify__folder_data.post_type_tax,\n term_ids: folders,\n action: \"adminify_folder\",\n route: \"delete_folders\",\n _ajax_nonce: wp_adminify__folder_data.nonce\n }\n }).done(function (response, status, xhr) {\n if (response.success && xhr.status == 200) {\n _this.refresh_folders_data(response.data);\n _this.hide_delete_folder_popup();\n $(\".folder--lists, .folder--stats\").find(\"li.active > a\").trigger(\"click\");\n }\n });\n },\n sortFolders: function sortFolders(event) {\n var sort = $(event.currentTarget).data(\"sort\");\n if (sort) {\n js_cookie__WEBPACK_IMPORTED_MODULE_0__[\"default\"].set(this.post_type_tax + \"__sort\", sort);\n this.sort = sort;\n }\n }\n },\n computed: {\n _filter_folder: function _filter_folder() {\n return this.filter_folder.trim().toLowerCase();\n },\n filtered_folders: function filtered_folders() {\n var _this9 = this;\n var that = this;\n\n // Set Default Options\n var folders = this.folders.map(function (_folder) {\n _folder.selected = false;\n _folder.contexted = false;\n _folder.children = [];\n return _folder;\n });\n\n // Sort for Folders\n folders = folders.sort(function (a, b) {\n if (_this9.sort == \"a-z\") {\n if (a.name < b.name) {\n return -1;\n }\n if (a.name > b.name) {\n return 1;\n }\n }\n if (_this9.sort == \"z-a\") {\n if (a.name < b.name) {\n return 1;\n }\n if (a.name > b.name) {\n return -1;\n }\n }\n return 0;\n });\n function addChild(folder, _folders) {\n that.folder_hierarchy[folder.term_id].forEach(function (child_id) {\n var child_folder = folders.find(function (_folder) {\n return _folder.term_id == child_id;\n });\n var child_folder_index = folders.findIndex(function (_folder) {\n return _folder.term_id == child_id;\n });\n if (child_folder && child_folder_index > -1) {\n if (!folder.children.find(function (_fol_ch) {\n return _fol_ch.term_id == child_folder.term_id;\n })) {\n folder.children.push(child_folder);\n child_folder = folder.children.find(function (_folder) {\n return _folder.term_id == child_id;\n });\n if (child_id in that.folder_hierarchy) addChild(child_folder, _folders);\n }\n }\n });\n }\n\n // Search Filter\n if (this._filter_folder) {\n var _folders = folders.filter(function (_folder) {\n return _folder.name.toLowerCase().search(_this9._filter_folder.toLowerCase()) > -1;\n });\n if (_folders.length) return _folders;\n }\n\n // Set Sub Folders\n folders.forEach(function (folder) {\n if (folder.term_id in that.folder_hierarchy) {\n addChild(folder, folders);\n }\n });\n\n // Cleanup Extra Sub Folders\n for (var parent_item in that.folder_hierarchy) {\n that.folder_hierarchy[parent_item].forEach(function (child_id) {\n var index = folders.findIndex(function (_folder) {\n return _folder.term_id == child_id;\n });\n folders.splice(index, 1);\n });\n }\n return folders;\n },\n total_posts_count: function total_posts_count() {\n var _this10 = this;\n var total = 0;\n this.get_allowed_status().forEach(function (status) {\n total += Number(_this10.total_posts[status]);\n });\n return total;\n },\n is_reached_limit: function is_reached_limit() {\n if (this.is_pro) return false; // go unlimited\n if (this.folders && this.folders.length) {\n return this.folders.length >= 3;\n }\n return false;\n }\n },\n watch: {\n filter_folder: function filter_folder() {\n var _this11 = this;\n setTimeout(function () {\n _this11.init_draggable_events();\n _this11.init_droppable_events();\n }, 50);\n }\n }\n});\n\n//# sourceURL=webpack://adminify/./dev/admin/modules/folder/folder-app.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options");
40
41 /***/ }),
42
43 /***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./dev/admin/modules/folder/components/folders.vue?vue&type=template&id=b43c4ba6":
44 /*!*********************************************************************************************************************************************************************************************************************************************************************************************!*\
45 !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./dev/admin/modules/folder/components/folders.vue?vue&type=template&id=b43c4ba6 ***!
46 \*********************************************************************************************************************************************************************************************************************************************************************************************/
47 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
48
49 eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* binding */ render),\n/* harmony export */ staticRenderFns: () => (/* binding */ staticRenderFns)\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _c('ul', _vm._l(_vm.folders, function (_folder) {\n return _c('li', {\n key: _folder.term_id,\n staticClass: \"folder--single-root has--sub-menu\",\n \"class\": _vm.is_folder(_folder) && 'active',\n attrs: {\n \"data-folder\": _folder.term_id\n }\n }, [_c('a', {\n style: {\n 'color': _folder.color\n },\n attrs: {\n \"href\": _vm.get_folder_url(_folder)\n },\n on: {\n \"contextmenu\": function contextmenu($event) {\n return _vm.folderActions($event, _folder);\n }\n }\n }, [_c('span', {\n staticClass: \"wp-adminify--folder-left\"\n }, [_c('span', {\n staticClass: \"wp-adminify--icon-control\"\n }, [!_vm.folder_select_toggle ? _c('span', {\n staticClass: \"wp-adminify--icon dashicons dashicons-open-folder\"\n }) : _vm._e(), _vm._v(\" \"), _vm.folder_select_toggle ? _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _folder.selected,\n expression: \"_folder.selected\"\n }],\n staticClass: \"wp-adminify--control\",\n attrs: {\n \"type\": \"checkbox\"\n },\n domProps: {\n \"checked\": Array.isArray(_folder.selected) ? _vm._i(_folder.selected, null) > -1 : _folder.selected\n },\n on: {\n \"!click\": function click($event) {\n $event.stopPropagation();\n },\n \"change\": function change($event) {\n var $$a = _folder.selected,\n $$el = $event.target,\n $$c = $$el.checked ? true : false;\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && _vm.$set(_folder, \"selected\", $$a.concat([$$v]));\n } else {\n $$i > -1 && _vm.$set(_folder, \"selected\", $$a.slice(0, $$i).concat($$a.slice($$i + 1)));\n }\n } else {\n _vm.$set(_folder, \"selected\", $$c);\n }\n }\n }\n }) : _vm._e()]), _vm._v(\" \"), _c('span', {\n staticClass: \"wp-adminify--name\"\n }, [_vm._v(_vm._s(_folder.name))])]), _vm._v(\" \"), _c('span', {\n staticClass: \"wp-adminify--count\"\n }, [_vm._v(_vm._s(_folder.count))])]), _vm._v(\" \"), _folder.children.length ? _c('folders', {\n staticClass: \"folder--sub-lists\",\n attrs: {\n \"folders\": _folder.children,\n \"folder_select_toggle\": _vm.folder_select_toggle\n }\n }) : _vm._e(), _vm._v(\" \"), _c('ul', {\n staticClass: \"adminify--sub-menu\"\n }, [_c('li', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n $event.stopPropagation();\n return _vm.showNewSubFolderPopup(_folder);\n }\n }\n }, [_vm._v(\"New Sub-folder\")])]), _vm._v(\" \"), _c('li', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n $event.stopPropagation();\n return _vm.showRenameFolderPopup(_folder);\n }\n }\n }, [_vm._v(\"Rename\")])]), _vm._v(\" \"), _c('li', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n $event.stopPropagation();\n return _vm.showDeleteFolderPopup(_folder);\n }\n }\n }, [_vm._v(\"Delete\")])])])], 1);\n }), 0);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://adminify/./dev/admin/modules/folder/components/folders.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B2%5D!./node_modules/vue-loader/lib/index.js??vue-loader-options");
50
51 /***/ }),
52
53 /***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./dev/admin/modules/folder/folder-app.vue?vue&type=template&id=4bcdf0a3":
54 /*!*************************************************************************************************************************************************************************************************************************************************************************************!*\
55 !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./dev/admin/modules/folder/folder-app.vue?vue&type=template&id=4bcdf0a3 ***!
56 \*************************************************************************************************************************************************************************************************************************************************************************************/
57 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
58
59 eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* binding */ render),\n/* harmony export */ staticRenderFns: () => (/* binding */ staticRenderFns)\n/* harmony export */ });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _c('div', {\n attrs: {\n \"id\": \"wp-adminify--folder-app\"\n }\n }, [_c('div', {\n staticClass: \"wp-adminify--folder-widget\"\n }, [_c('div', {\n staticClass: \"wp-adminify--folder-app\"\n }, [_c('div', {\n staticClass: \"wp-adminify--folder-app--inner\"\n }, [_c('div', {\n staticClass: \"folder--header\"\n }, [_c('span', [_vm._v(\"Folders\")]), _vm._v(\" \"), _c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n return _vm.showNewFolderPopup.apply(null, arguments);\n }\n }\n }, [_vm._v(\"Create New Folder\")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"folder--actions\"\n }, [_c('span', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.folder_select_toggle,\n expression: \"folder_select_toggle\"\n }],\n attrs: {\n \"type\": \"checkbox\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.folder_select_toggle) ? _vm._i(_vm.folder_select_toggle, null) > -1 : _vm.folder_select_toggle\n },\n on: {\n \"change\": function change($event) {\n var $$a = _vm.folder_select_toggle,\n $$el = $event.target,\n $$c = $$el.checked ? true : false;\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.folder_select_toggle = $$a.concat([$$v]));\n } else {\n $$i > -1 && (_vm.folder_select_toggle = $$a.slice(0, $$i).concat($$a.slice($$i + 1)));\n }\n } else {\n _vm.folder_select_toggle = $$c;\n }\n }\n }\n })]), _vm._v(\" \"), _c('a', {\n staticClass: \"btn--folder-rename\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n $event.stopPropagation();\n return _vm.showRenameFolderPopup.apply(null, arguments);\n }\n }\n }, [_vm._v(\"Rename\")]), _vm._v(\" \"), _c('a', {\n staticClass: \"btn--folder-delete\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n $event.stopPropagation();\n return _vm.showDeleteFolderPopup.apply(null, arguments);\n }\n }\n }, [_vm._v(\"Delete\")]), _vm._v(\" \"), _c('ul', {\n staticClass: \"folder-sort--list\"\n }, [_vm._m(0), _vm._v(\" \"), _c('li', {\n staticClass: \"folder--sort has--sub-menu\"\n }, [_c('a', {\n staticClass: \"btn--folder-sort\",\n attrs: {\n \"href\": \"#\"\n }\n }, [_c('span', [_c('svg', {\n attrs: {\n \"width\": \"16\",\n \"height\": \"16\",\n \"viewBox\": \"0 0 16 16\",\n \"fill\": \"none\",\n \"xmlns\": \"http://www.w3.org/2000/svg\"\n }\n }, [_c('path', {\n attrs: {\n \"d\": \"M13.3335 4.66663H7.3335\",\n \"stroke\": \"white\",\n \"stroke-width\": \"2\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n }\n }), _vm._v(\" \"), _c('path', {\n attrs: {\n \"d\": \"M9.3335 11.3334H3.3335\",\n \"stroke\": \"white\",\n \"stroke-width\": \"2\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n }\n }), _vm._v(\" \"), _c('path', {\n attrs: {\n \"d\": \"M11.3335 13.3334C12.4381 13.3334 13.3335 12.4379 13.3335 11.3334C13.3335 10.2288 12.4381 9.33337 11.3335 9.33337C10.2289 9.33337 9.3335 10.2288 9.3335 11.3334C9.3335 12.4379 10.2289 13.3334 11.3335 13.3334Z\",\n \"stroke\": \"white\",\n \"stroke-width\": \"2\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n }\n }), _vm._v(\" \"), _c('path', {\n attrs: {\n \"d\": \"M4.6665 6.66663C5.77107 6.66663 6.6665 5.7712 6.6665 4.66663C6.6665 3.56206 5.77107 2.66663 4.6665 2.66663C3.56193 2.66663 2.6665 3.56206 2.6665 4.66663C2.6665 5.7712 3.56193 6.66663 4.6665 6.66663Z\",\n \"stroke\": \"white\",\n \"stroke-width\": \"2\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\"\n }\n })])])]), _vm._v(\" \"), _c('ul', {\n staticClass: \"adminify--sub-menu\"\n }, [_c('li', [_c('a', {\n attrs: {\n \"data-sort\": \"a-z\",\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n return _vm.sortFolders($event);\n }\n }\n }, [_vm._v(\"A → Z\")])]), _vm._v(\" \"), _c('li', [_c('a', {\n attrs: {\n \"data-sort\": \"z-a\",\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n return _vm.sortFolders($event);\n }\n }\n }, [_vm._v(\"Z → A\")])])])])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"folder--search\"\n }, [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.filter_folder,\n expression: \"filter_folder\"\n }],\n attrs: {\n \"type\": \"text\",\n \"placeholder\": \"Search folder\"\n },\n domProps: {\n \"value\": _vm.filter_folder\n },\n on: {\n \"input\": function input($event) {\n if ($event.target.composing) return;\n _vm.filter_folder = $event.target.value;\n }\n }\n })]), _vm._v(\" \"), _c('ul', {\n staticClass: \"folder--stats\"\n }, [_c('li', {\n staticClass: \"folder--single-all\",\n \"class\": _vm.is_folder('all') && 'active',\n attrs: {\n \"data-folder\": \"all\"\n }\n }, [_c('a', {\n attrs: {\n \"href\": _vm.get_folder_url('all')\n }\n }, [_c('span', [_vm._v(\"All\")]), _c('span', {\n staticClass: \"wp-adminify--count\"\n }, [_vm._v(_vm._s(_vm.total_posts_count))])])]), _vm._v(\" \"), _c('li', {\n staticClass: \"folder--single-uncategorized\",\n \"class\": _vm.is_folder('uncategorized') && 'active',\n attrs: {\n \"data-folder\": \"uncategorized\"\n }\n }, [_c('a', {\n attrs: {\n \"href\": _vm.get_folder_url('uncategorized')\n }\n }, [_c('span', [_vm._v(\"Uncategorized\")]), _c('span', {\n staticClass: \"wp-adminify--count\"\n }, [_vm._v(_vm._s(_vm.total_uncat_posts))])])])]), _vm._v(\" \"), _vm.folders ? _c('folders', {\n staticClass: \"folder--lists\",\n attrs: {\n \"folders\": _vm.filtered_folders,\n \"folder_select_toggle\": _vm.folder_select_toggle\n }\n }) : _vm._e()], 1)])]), _vm._v(\" \"), _c('div', {\n staticClass: \"wp-adminify--popup-area\"\n }, [_c('div', {\n staticClass: \"wp-adminify--popup-container\"\n }, [_c('div', {\n staticClass: \"wp-adminify--popup-container_inner\"\n }, [_vm.create_folder_popup ? _c('div', {\n staticClass: \"popup--create-new-folder\"\n }, [_c('a', {\n staticClass: \"wp-adminify--popup-close\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n return _vm.hide_create_folder_popup.apply(null, arguments);\n }\n }\n }, [_c('span', {\n staticClass: \"dashicons dashicons-no-alt\"\n })]), _vm._v(\" \"), _vm.parent_folder ? [_c('h3', [_vm._v(\"New Sub Folder\")]), _vm._v(\" \"), _vm.is_pro ? [_c('div', {\n staticClass: \"popup--new-folder__name\"\n }, [_c('div', [_vm._v(\"Sub Folder Name\")]), _vm._v(\" \"), _c('div', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.new_folder_name,\n expression: \"new_folder_name\"\n }],\n attrs: {\n \"type\": \"text\",\n \"placeholder\": \"Write here\"\n },\n domProps: {\n \"value\": _vm.new_folder_name\n },\n on: {\n \"input\": [function ($event) {\n if ($event.target.composing) return;\n _vm.new_folder_name = $event.target.value;\n }, function ($event) {\n _vm.create_folder_error = null;\n }]\n }\n })])]), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('div', {\n staticClass: \"popup--new-folder__color\"\n }, [_c('div', [_vm._v(\"Colour Tag\")]), _vm._v(\" \"), _c('div', [_c('ul', {\n staticClass: \"wp-adminify--colors\"\n }, _vm._l(_vm.color_tags, function (color_tag) {\n return _c('li', {\n key: color_tag,\n \"class\": color_tag == _vm.active_color_tag ? 'active' : ''\n }, [_c('a', {\n style: \"background: \".concat(color_tag, \";\"),\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n _vm.active_color_tag = color_tag;\n }\n }\n })]);\n }), 0)])]), _vm._v(\" \"), _c('a', {\n staticClass: \"button button-primary\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n return _vm.saveNewFolder.apply(null, arguments);\n }\n }\n }, [_vm._v(\"Save Folder\")]), _vm._v(\" \"), _vm.create_folder_error ? _c('div', {\n staticClass: \"popup--new-folder-error\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.create_folder_error) + \"\\n \")]) : _vm._e()] : [_c('div', {\n staticClass: \"wp-adminify-folder--pro-notice\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.pro_notice)\n }\n })]] : [_vm.is_reached_limit ? [_c('div', {\n staticClass: \"wp-adminify-folder--pro-notice\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.pro_notice)\n }\n })] : [_c('div', {\n staticClass: \"popup--new-folder__name\"\n }, [_c('div', [_vm._v(\"Folder Name\")]), _vm._v(\" \"), _c('div', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.new_folder_name,\n expression: \"new_folder_name\"\n }],\n attrs: {\n \"type\": \"text\",\n \"placeholder\": \"Folder name here\"\n },\n domProps: {\n \"value\": _vm.new_folder_name\n },\n on: {\n \"input\": [function ($event) {\n if ($event.target.composing) return;\n _vm.new_folder_name = $event.target.value;\n }, function ($event) {\n _vm.create_folder_error = null;\n }]\n }\n })])]), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('div', {\n staticClass: \"popup--new-folder__color\"\n }, [_c('div', [_vm._v(\"Colour Tag\")]), _vm._v(\" \"), _c('div', [_c('ul', {\n staticClass: \"wp-adminify--colors\"\n }, _vm._l(_vm.color_tags, function (color_tag) {\n return _c('li', {\n key: color_tag,\n \"class\": color_tag == _vm.active_color_tag ? 'active' : ''\n }, [_c('a', {\n style: \"background: \".concat(color_tag, \";\"),\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n _vm.active_color_tag = color_tag;\n }\n }\n })]);\n }), 0)])]), _vm._v(\" \"), _c('div', {\n staticClass: \"adminify-save-folder\"\n }, [_c('a', {\n staticClass: \"button button-primary\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n return _vm.saveNewFolder.apply(null, arguments);\n }\n }\n }, [_vm._v(\"Save Folder\")])]), _vm._v(\" \"), _vm.create_folder_error ? _c('div', {\n staticClass: \"popup--new-folder-error\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.create_folder_error) + \"\\n \")]) : _vm._e()]]], 2) : _vm._e(), _vm._v(\" \"), _vm.rename_folder_popup ? _c('div', {\n staticClass: \"popup--rename-folder\"\n }, [_c('a', {\n staticClass: \"wp-adminify--popup-close\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n return _vm.hide_rename_folder_popup.apply(null, arguments);\n }\n }\n }, [_c('span', {\n staticClass: \"dashicons dashicons-no-alt\"\n })]), _vm._v(\" \"), _c('h3', [_vm._v(\"Rename Folder\")]), _vm._v(\" \"), _c('div', {\n staticClass: \"popup--new-folder__name\"\n }, [_c('div', [_vm._v(\"Rename Folder\")]), _vm._v(\" \"), _c('div', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.rename_folder_name,\n expression: \"rename_folder_name\"\n }],\n attrs: {\n \"type\": \"text\",\n \"placeholder\": \"Write here\"\n },\n domProps: {\n \"value\": _vm.rename_folder_name\n },\n on: {\n \"input\": [function ($event) {\n if ($event.target.composing) return;\n _vm.rename_folder_name = $event.target.value;\n }, function ($event) {\n _vm.rename_folder_error = null;\n }]\n }\n })])]), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('div', {\n staticClass: \"popup--new-folder__color\"\n }, [_c('div', [_vm._v(\"Change Color\")]), _vm._v(\" \"), _c('div', [_c('ul', {\n staticClass: \"wp-adminify--colors\"\n }, _vm._l(_vm.get_color_tags(), function (color_tag) {\n return _c('li', {\n key: color_tag,\n \"class\": color_tag == _vm.active_color_tag ? 'active' : ''\n }, [_c('a', {\n style: \"background: \".concat(color_tag, \";\"),\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n _vm.active_color_tag = color_tag;\n }\n }\n })]);\n }), 0)])]), _vm._v(\" \"), _c('a', {\n staticClass: \"button button-primary\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n return _vm.renameFolder.apply(null, arguments);\n }\n }\n }, [_vm._v(\"Save Folder\")]), _vm._v(\" \"), _vm.rename_folder_error ? _c('div', {\n staticClass: \"popup--new-folder-error\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.rename_folder_error) + \"\\n \")]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), _vm.delete_folder_popup ? _c('div', {\n staticClass: \"popup--delete-folder\"\n }, [_c('a', {\n staticClass: \"wp-adminify--popup-close\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n return _vm.hide_delete_folder_popup.apply(null, arguments);\n }\n }\n }, [_c('span', {\n staticClass: \"dashicons dashicons-no-alt\"\n })]), _vm._v(\" \"), _c('h3', [_vm._v(\"Are you sure you want to delete the selected folder?\")]), _vm._v(\" \"), _c('p', [_vm._v(\"Items in the folder will not be deleted.\")]), _vm._v(\" \"), _c('div', [_c('a', {\n staticClass: \"button\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n return _vm.hide_delete_folder_popup.apply(null, arguments);\n }\n }\n }, [_vm._v(\"No, Keep it\")]), _vm._v(\" \"), _c('a', {\n staticClass: \"button button-primary\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function click($event) {\n $event.preventDefault();\n return _vm.deleteFolders.apply(null, arguments);\n }\n }\n }, [_vm._v(\"Yes, Delete it!\")])])]) : _vm._e(), _vm._v(\" \"), _vm.move_to_folder_popup ? _c('div', {\n staticClass: \"popup--move-to-folder\"\n }, [_c('h3', [_vm._v(\"Few posts are already in another Folder\")]), _vm._v(\" \"), _c('p', [_vm._v(\"\\n Please choose a option whether you want to copy or move to new Folder.\\n \")]), _vm._v(\" \"), _vm._m(1)]) : _vm._e()])])])]);\n};\nvar staticRenderFns = [function () {\n var _vm = this,\n _c = _vm._self._c;\n return _c('li', {\n staticClass: \"folder--expand\"\n }, [_c('a', {\n staticClass: \"btn--folder-expand\",\n attrs: {\n \"href\": \"#\"\n }\n }, [_c('span', {\n staticClass: \"dashicons dashicons-arrow-down-alt2\"\n })])]);\n}, function () {\n var _vm = this,\n _c = _vm._self._c;\n return _c('div', [_c('a', {\n staticClass: \"button button-copy\",\n attrs: {\n \"href\": \"#\"\n }\n }, [_vm._v(\"Copy To Folder\")]), _vm._v(\" \"), _c('a', {\n staticClass: \"button button-primary button-move\",\n attrs: {\n \"href\": \"#\"\n }\n }, [_vm._v(\"Move To Folder\")])]);\n}];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://adminify/./dev/admin/modules/folder/folder-app.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet%5B1%5D.rules%5B2%5D!./node_modules/vue-loader/lib/index.js??vue-loader-options");
60
61 /***/ }),
62
63 /***/ "./dev/admin/modules/folder/components/folders.vue":
64 /*!*********************************************************!*\
65 !*** ./dev/admin/modules/folder/components/folders.vue ***!
66 \*********************************************************/
67 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
68
69 eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _folders_vue_vue_type_template_id_b43c4ba6__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./folders.vue?vue&type=template&id=b43c4ba6 */ \"./dev/admin/modules/folder/components/folders.vue?vue&type=template&id=b43c4ba6\");\n/* harmony import */ var _folders_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./folders.vue?vue&type=script&lang=js */ \"./dev/admin/modules/folder/components/folders.vue?vue&type=script&lang=js\");\n/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n;\nvar component = (0,_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n _folders_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n _folders_vue_vue_type_template_id_b43c4ba6__WEBPACK_IMPORTED_MODULE_0__.render,\n _folders_vue_vue_type_template_id_b43c4ba6__WEBPACK_IMPORTED_MODULE_0__.staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"dev/admin/modules/folder/components/folders.vue\"\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (component.exports);\n\n//# sourceURL=webpack://adminify/./dev/admin/modules/folder/components/folders.vue?");
70
71 /***/ }),
72
73 /***/ "./dev/admin/modules/folder/folder-app.vue":
74 /*!*************************************************!*\
75 !*** ./dev/admin/modules/folder/folder-app.vue ***!
76 \*************************************************/
77 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
78
79 eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _folder_app_vue_vue_type_template_id_4bcdf0a3__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./folder-app.vue?vue&type=template&id=4bcdf0a3 */ \"./dev/admin/modules/folder/folder-app.vue?vue&type=template&id=4bcdf0a3\");\n/* harmony import */ var _folder_app_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./folder-app.vue?vue&type=script&lang=js */ \"./dev/admin/modules/folder/folder-app.vue?vue&type=script&lang=js\");\n/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n;\nvar component = (0,_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n _folder_app_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n _folder_app_vue_vue_type_template_id_4bcdf0a3__WEBPACK_IMPORTED_MODULE_0__.render,\n _folder_app_vue_vue_type_template_id_4bcdf0a3__WEBPACK_IMPORTED_MODULE_0__.staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"dev/admin/modules/folder/folder-app.vue\"\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (component.exports);\n\n//# sourceURL=webpack://adminify/./dev/admin/modules/folder/folder-app.vue?");
80
81 /***/ }),
82
83 /***/ "./dev/admin/modules/folder/components/folders.vue?vue&type=script&lang=js":
84 /*!*********************************************************************************!*\
85 !*** ./dev/admin/modules/folder/components/folders.vue?vue&type=script&lang=js ***!
86 \*********************************************************************************/
87 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
88
89 eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_index_js_vue_loader_options_folders_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./folders.vue?vue&type=script&lang=js */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options!./dev/admin/modules/folder/components/folders.vue?vue&type=script&lang=js\");\n /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_index_js_vue_loader_options_folders_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack://adminify/./dev/admin/modules/folder/components/folders.vue?");
90
91 /***/ }),
92
93 /***/ "./dev/admin/modules/folder/folder-app.vue?vue&type=script&lang=js":
94 /*!*************************************************************************!*\
95 !*** ./dev/admin/modules/folder/folder-app.vue?vue&type=script&lang=js ***!
96 \*************************************************************************/
97 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
98
99 eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_index_js_vue_loader_options_folder_app_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./folder-app.vue?vue&type=script&lang=js */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/index.js??vue-loader-options!./dev/admin/modules/folder/folder-app.vue?vue&type=script&lang=js\");\n /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_index_js_vue_loader_options_folder_app_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack://adminify/./dev/admin/modules/folder/folder-app.vue?");
100
101 /***/ }),
102
103 /***/ "./dev/admin/modules/folder/components/folders.vue?vue&type=template&id=b43c4ba6":
104 /*!***************************************************************************************!*\
105 !*** ./dev/admin/modules/folder/components/folders.vue?vue&type=template&id=b43c4ba6 ***!
106 \***************************************************************************************/
107 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
108
109 eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* reexport safe */ _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_loaders_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_lib_index_js_vue_loader_options_folders_vue_vue_type_template_id_b43c4ba6__WEBPACK_IMPORTED_MODULE_0__.render),\n/* harmony export */ staticRenderFns: () => (/* reexport safe */ _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_loaders_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_lib_index_js_vue_loader_options_folders_vue_vue_type_template_id_b43c4ba6__WEBPACK_IMPORTED_MODULE_0__.staticRenderFns)\n/* harmony export */ });\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_loaders_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_lib_index_js_vue_loader_options_folders_vue_vue_type_template_id_b43c4ba6__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./folders.vue?vue&type=template&id=b43c4ba6 */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./dev/admin/modules/folder/components/folders.vue?vue&type=template&id=b43c4ba6\");\n\n\n//# sourceURL=webpack://adminify/./dev/admin/modules/folder/components/folders.vue?");
110
111 /***/ }),
112
113 /***/ "./dev/admin/modules/folder/folder-app.vue?vue&type=template&id=4bcdf0a3":
114 /*!*******************************************************************************!*\
115 !*** ./dev/admin/modules/folder/folder-app.vue?vue&type=template&id=4bcdf0a3 ***!
116 \*******************************************************************************/
117 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
118
119 eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* reexport safe */ _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_loaders_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_lib_index_js_vue_loader_options_folder_app_vue_vue_type_template_id_4bcdf0a3__WEBPACK_IMPORTED_MODULE_0__.render),\n/* harmony export */ staticRenderFns: () => (/* reexport safe */ _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_loaders_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_lib_index_js_vue_loader_options_folder_app_vue_vue_type_template_id_4bcdf0a3__WEBPACK_IMPORTED_MODULE_0__.staticRenderFns)\n/* harmony export */ });\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_clonedRuleSet_1_use_node_modules_vue_loader_lib_loaders_templateLoader_js_ruleSet_1_rules_2_node_modules_vue_loader_lib_index_js_vue_loader_options_folder_app_vue_vue_type_template_id_4bcdf0a3__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./folder-app.vue?vue&type=template&id=4bcdf0a3 */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-1.use!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./dev/admin/modules/folder/folder-app.vue?vue&type=template&id=4bcdf0a3\");\n\n\n//# sourceURL=webpack://adminify/./dev/admin/modules/folder/folder-app.vue?");
120
121 /***/ }),
122
123 /***/ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js":
124 /*!********************************************************************!*\
125 !*** ./node_modules/vue-loader/lib/runtime/componentNormalizer.js ***!
126 \********************************************************************/
127 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
128
129 eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ normalizeComponent)\n/* harmony export */ });\n/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nfunction normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n\n\n//# sourceURL=webpack://adminify/./node_modules/vue-loader/lib/runtime/componentNormalizer.js?");
130
131 /***/ }),
132
133 /***/ "./node_modules/js-cookie/dist/js.cookie.mjs":
134 /*!***************************************************!*\
135 !*** ./node_modules/js-cookie/dist/js.cookie.mjs ***!
136 \***************************************************/
137 /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
138
139 eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ api)\n/* harmony export */ });\n/*! js-cookie v3.0.5 | MIT */\n/* eslint-disable no-var */\nfunction assign (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n target[key] = source[key];\n }\n }\n return target\n}\n/* eslint-enable no-var */\n\n/* eslint-disable no-var */\nvar defaultConverter = {\n read: function (value) {\n if (value[0] === '\"') {\n value = value.slice(1, -1);\n }\n return value.replace(/(%[\\dA-F]{2})+/gi, decodeURIComponent)\n },\n write: function (value) {\n return encodeURIComponent(value).replace(\n /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,\n decodeURIComponent\n )\n }\n};\n/* eslint-enable no-var */\n\n/* eslint-disable no-var */\n\nfunction init (converter, defaultAttributes) {\n function set (name, value, attributes) {\n if (typeof document === 'undefined') {\n return\n }\n\n attributes = assign({}, defaultAttributes, attributes);\n\n if (typeof attributes.expires === 'number') {\n attributes.expires = new Date(Date.now() + attributes.expires * 864e5);\n }\n if (attributes.expires) {\n attributes.expires = attributes.expires.toUTCString();\n }\n\n name = encodeURIComponent(name)\n .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)\n .replace(/[()]/g, escape);\n\n var stringifiedAttributes = '';\n for (var attributeName in attributes) {\n if (!attributes[attributeName]) {\n continue\n }\n\n stringifiedAttributes += '; ' + attributeName;\n\n if (attributes[attributeName] === true) {\n continue\n }\n\n // Considers RFC 6265 section 5.2:\n // ...\n // 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n // character:\n // Consume the characters of the unparsed-attributes up to,\n // not including, the first %x3B (\";\") character.\n // ...\n stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n }\n\n return (document.cookie =\n name + '=' + converter.write(value, name) + stringifiedAttributes)\n }\n\n function get (name) {\n if (typeof document === 'undefined' || (arguments.length && !name)) {\n return\n }\n\n // To prevent the for loop in the first place assign an empty array\n // in case there are no cookies at all.\n var cookies = document.cookie ? document.cookie.split('; ') : [];\n var jar = {};\n for (var i = 0; i < cookies.length; i++) {\n var parts = cookies[i].split('=');\n var value = parts.slice(1).join('=');\n\n try {\n var found = decodeURIComponent(parts[0]);\n jar[found] = converter.read(value, found);\n\n if (name === found) {\n break\n }\n } catch (e) {}\n }\n\n return name ? jar[name] : jar\n }\n\n return Object.create(\n {\n set,\n get,\n remove: function (name, attributes) {\n set(\n name,\n '',\n assign({}, attributes, {\n expires: -1\n })\n );\n },\n withAttributes: function (attributes) {\n return init(this.converter, assign({}, this.attributes, attributes))\n },\n withConverter: function (converter) {\n return init(assign({}, this.converter, converter), this.attributes)\n }\n },\n {\n attributes: { value: Object.freeze(defaultAttributes) },\n converter: { value: Object.freeze(converter) }\n }\n )\n}\n\nvar api = init(defaultConverter, { path: '/' });\n/* eslint-enable no-var */\n\n\n\n\n//# sourceURL=webpack://adminify/./node_modules/js-cookie/dist/js.cookie.mjs?");
140
141 /***/ })
142
143 /******/ });
144 /************************************************************************/
145 /******/ // The module cache
146 /******/ var __webpack_module_cache__ = {};
147 /******/
148 /******/ // The require function
149 /******/ function __webpack_require__(moduleId) {
150 /******/ // Check if module is in cache
151 /******/ var cachedModule = __webpack_module_cache__[moduleId];
152 /******/ if (cachedModule !== undefined) {
153 /******/ return cachedModule.exports;
154 /******/ }
155 /******/ // Create a new module (and put it into the cache)
156 /******/ var module = __webpack_module_cache__[moduleId] = {
157 /******/ // no module.id needed
158 /******/ // no module.loaded needed
159 /******/ exports: {}
160 /******/ };
161 /******/
162 /******/ // Execute the module function
163 /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
164 /******/
165 /******/ // Return the exports of the module
166 /******/ return module.exports;
167 /******/ }
168 /******/
169 /******/ // expose the modules object (__webpack_modules__)
170 /******/ __webpack_require__.m = __webpack_modules__;
171 /******/
172 /************************************************************************/
173 /******/ /* webpack/runtime/chunk loaded */
174 /******/ (() => {
175 /******/ var deferred = [];
176 /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
177 /******/ if(chunkIds) {
178 /******/ priority = priority || 0;
179 /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
180 /******/ deferred[i] = [chunkIds, fn, priority];
181 /******/ return;
182 /******/ }
183 /******/ var notFulfilled = Infinity;
184 /******/ for (var i = 0; i < deferred.length; i++) {
185 /******/ var [chunkIds, fn, priority] = deferred[i];
186 /******/ var fulfilled = true;
187 /******/ for (var j = 0; j < chunkIds.length; j++) {
188 /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
189 /******/ chunkIds.splice(j--, 1);
190 /******/ } else {
191 /******/ fulfilled = false;
192 /******/ if(priority < notFulfilled) notFulfilled = priority;
193 /******/ }
194 /******/ }
195 /******/ if(fulfilled) {
196 /******/ deferred.splice(i--, 1)
197 /******/ var r = fn();
198 /******/ if (r !== undefined) result = r;
199 /******/ }
200 /******/ }
201 /******/ return result;
202 /******/ };
203 /******/ })();
204 /******/
205 /******/ /* webpack/runtime/compat get default export */
206 /******/ (() => {
207 /******/ // getDefaultExport function for compatibility with non-harmony modules
208 /******/ __webpack_require__.n = (module) => {
209 /******/ var getter = module && module.__esModule ?
210 /******/ () => (module['default']) :
211 /******/ () => (module);
212 /******/ __webpack_require__.d(getter, { a: getter });
213 /******/ return getter;
214 /******/ };
215 /******/ })();
216 /******/
217 /******/ /* webpack/runtime/define property getters */
218 /******/ (() => {
219 /******/ // define getter functions for harmony exports
220 /******/ __webpack_require__.d = (exports, definition) => {
221 /******/ for(var key in definition) {
222 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
223 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
224 /******/ }
225 /******/ }
226 /******/ };
227 /******/ })();
228 /******/
229 /******/ /* webpack/runtime/global */
230 /******/ (() => {
231 /******/ __webpack_require__.g = (function() {
232 /******/ if (typeof globalThis === 'object') return globalThis;
233 /******/ try {
234 /******/ return this || new Function('return this')();
235 /******/ } catch (e) {
236 /******/ if (typeof window === 'object') return window;
237 /******/ }
238 /******/ })();
239 /******/ })();
240 /******/
241 /******/ /* webpack/runtime/hasOwnProperty shorthand */
242 /******/ (() => {
243 /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
244 /******/ })();
245 /******/
246 /******/ /* webpack/runtime/make namespace object */
247 /******/ (() => {
248 /******/ // define __esModule on exports
249 /******/ __webpack_require__.r = (exports) => {
250 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
251 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
252 /******/ }
253 /******/ Object.defineProperty(exports, '__esModule', { value: true });
254 /******/ };
255 /******/ })();
256 /******/
257 /******/ /* webpack/runtime/jsonp chunk loading */
258 /******/ (() => {
259 /******/ // no baseURI
260 /******/
261 /******/ // object to store loaded and loading chunks
262 /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
263 /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
264 /******/ var installedChunks = {
265 /******/ "assets/admin/js/wp-adminify--folder": 0
266 /******/ };
267 /******/
268 /******/ // no chunk on demand loading
269 /******/
270 /******/ // no prefetching
271 /******/
272 /******/ // no preloaded
273 /******/
274 /******/ // no HMR
275 /******/
276 /******/ // no HMR manifest
277 /******/
278 /******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
279 /******/
280 /******/ // install a JSONP callback for chunk loading
281 /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
282 /******/ var [chunkIds, moreModules, runtime] = data;
283 /******/ // add "moreModules" to the modules object,
284 /******/ // then flag all "chunkIds" as loaded and fire callback
285 /******/ var moduleId, chunkId, i = 0;
286 /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
287 /******/ for(moduleId in moreModules) {
288 /******/ if(__webpack_require__.o(moreModules, moduleId)) {
289 /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
290 /******/ }
291 /******/ }
292 /******/ if(runtime) var result = runtime(__webpack_require__);
293 /******/ }
294 /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
295 /******/ for(;i < chunkIds.length; i++) {
296 /******/ chunkId = chunkIds[i];
297 /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
298 /******/ installedChunks[chunkId][0]();
299 /******/ }
300 /******/ installedChunks[chunkId] = 0;
301 /******/ }
302 /******/ return __webpack_require__.O(result);
303 /******/ }
304 /******/
305 /******/ var chunkLoadingGlobal = self["webpackChunkadminify"] = self["webpackChunkadminify"] || [];
306 /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
307 /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
308 /******/ })();
309 /******/
310 /************************************************************************/
311 /******/
312 /******/ // startup
313 /******/ // Load entry module and return exports
314 /******/ // This entry module depends on other loaded chunks and execution need to be delayed
315 /******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["assets/admin/js/vendor"], () => (__webpack_require__("./dev/admin/modules/folder/folder.js")))
316 /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
317 /******/
318 /******/ })()
319 ;