芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/timucuy.com/wp-includes/js/dist/data.min.js
/*! This file is auto-generated */ this.wp=this.wp||{},this.wp.data=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="pfJ3")}({"8mpt":function(e,t){e.exports=function(e){var t,r=Object.keys(e);return t=function(){var e,t,n;for(e="return {",t=0;t
1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,c){null!==c&&"object"===n(c)&&(o=o[1]),e.call(r,o,c,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,r),i&&o(t,i),e}();e.exports=i},GRId:function(e,t){e.exports=window.wp.element},JlUD:function(e,t){function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}e.exports=r,e.exports.default=r},K9lf:function(e,t){e.exports=window.wp.compose},NMb1:function(e,t){e.exports=window.wp.deprecated},XI5e:function(e,t){e.exports=window.wp.priorityQueue},XIDh:function(e,t){e.exports=window.wp.reduxRoutine},YLtl:function(e,t){e.exports=window.lodash},cDcd:function(e,t){e.exports=window.React},mHlH:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("cDcd");function o(e,t){var r=Object(n.useState)((function(){return{inputs:t,result:e()}}))[0],o=Object(n.useRef)(!0),c=Object(n.useRef)(r),i=o.current||Boolean(t&&c.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var r=0;r
e(t.registry.select)(...r);return t.isRegistrySelector=!0,t}function _(e){return e.isRegistryControl=!0,e}const E={select:function(e,t,...r){return{type:"@@data/SELECT",storeKey:e,selectorName:t,args:r}},resolveSelect:function(e,t,...r){return{type:"@@data/RESOLVE_SELECT",storeKey:e,selectorName:t,args:r}},dispatch:function(e,t,...r){return{type:"@@data/DISPATCH",storeKey:e,actionName:t,args:r}}},T={"@@data/SELECT":_(e=>({storeKey:t,selectorName:r,args:n})=>e.select(t)[r](...n)),"@@data/RESOLVE_SELECT":_(e=>({storeKey:t,selectorName:r,args:n})=>{const o=e.select(t)[r].hasResolver?"resolveSelect":"select";return e[o](t)[r](...n)}),"@@data/DISPATCH":_(e=>({storeKey:t,actionName:r,args:n})=>e.dispatch(t)[r](...n))};var I=r("JlUD"),N=r.n(I);var A=()=>e=>t=>N()(t)?t.then(t=>{if(t)return e(t)}):e(t);var L=(e,t)=>()=>r=>n=>{const o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach(([r,o])=>{const c=Object(u.get)(e.stores,[t,"resolvers",r]);c&&c.shouldInvalidate&&o.forEach((o,i)=>{!1===o&&c.shouldInvalidate(n,...i)&&e.dispatch("core/data").invalidateResolution(t,r,i)})}),r(n)};const x=(P="selectorName",e=>(t={},r)=>{const n=r[P];if(void 0===n)return t;const o=e(t[n],r);return o===t[n]?t:{...t,[n]:o}})((e=new m.a,t)=>{switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":{const r="START_RESOLUTION"===t.type,n=new m.a(e);return n.set(t.args,r),n}case"START_RESOLUTIONS":case"FINISH_RESOLUTIONS":{const r="START_RESOLUTIONS"===t.type,n=new m.a(e);for(const e of t.args)n.set(e,r);return n}case"INVALIDATE_RESOLUTION":{const r=new m.a(e);return r.delete(t.args),r}}return e});var P;var C=(e={},t)=>{switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(u.has)(e,[t.selectorName])?Object(u.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"START_RESOLUTIONS":case"FINISH_RESOLUTIONS":case"INVALIDATE_RESOLUTION":return x(e,t)}return e};function U(e,t,r){const n=Object(u.get)(e,[t]);if(n)return n.get(r)}function D(e,t,r=[]){return void 0!==U(e,t,r)}function k(e,t,r=[]){return!1===U(e,t,r)}function M(e,t,r=[]){return!0===U(e,t,r)}function F(e){return e}function V(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function H(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function G(e,t){return{type:"START_RESOLUTIONS",selectorName:e,args:t}}function K(e,t){return{type:"FINISH_RESOLUTIONS",selectorName:e,args:t}}function X(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function J(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function W(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function B(e,t){return{name:e,instantiate:r=>{const c=t.reducer,i=function(e,t,r,n){const o={...t.controls,...T},c=Object(u.mapValues)(o,e=>e.isRegistryControl?e(r):e),i=[L(r,e),A,w()(c)];t.__experimentalUseThunks&&i.push((a=n,()=>e=>t=>"function"==typeof t?t(a):e(t)));var a;const l=[y(...i)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&l.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));const{reducer:f,initialState:p}=t;return h(s()({metadata:C,root:f}),{root:p},Object(u.flowRight)(l))}(e,t,r,{registry:r,get dispatch(){return Object.assign(e=>i.dispatch(e),O())},get select(){return Object.assign(e=>e(i.__unstableOriginalGetState()),b())},get resolveSelect(){return g()}}),a=function(){const e={};return{isRunning:(t,r)=>e[t]&&e[t].get(r),clear(t,r){e[t]&&e[t].delete(r)},markAsRunning(t,r){e[t]||(e[t]=new m.a),e[t].set(r,!0)}}}();let l;const f=function(e,t){return Object(u.mapValues)(e,e=>(...r)=>Promise.resolve(t.dispatch(e(...r))))}({...o,...t.actions},i);let p=function(e,t){return Object(u.mapValues)(e,e=>{const r=function(){const r=arguments.length,n=new Array(r+1);n[0]=t.__unstableOriginalGetState();for(let e=0;e
(t,...r)=>e(t.metadata,...r)),...Object(u.mapValues)(t.selectors,e=>(e.isRegistrySelector&&(e.registry=r),(t,...r)=>e(t.root,...r)))},i);if(t.resolvers){const e=function(e,t,r,n){const o=Object(u.mapValues)(e,e=>e.fulfill?e:{...e,fulfill:e});return{resolvers:o,selectors:Object(u.mapValues)(t,(t,c)=>{const i=e[c];if(!i)return t.hasResolver=!1,t;const s=(...e)=>(async function(){const t=r.getState();if(n.isRunning(c,e)||"function"==typeof i.isFulfilled&&i.isFulfilled(t,...e))return;const{metadata:s}=r.__unstableOriginalGetState();D(s,c,e)||(n.markAsRunning(c,e),setTimeout(async()=>{n.clear(c,e),r.dispatch(V(c,e)),await async function(e,t,r,...n){const o=Object(u.get)(t,[r]);if(!o)return;const c=o.fulfill(...n);c&&await e.dispatch(c)}(r,o,c,...e),r.dispatch(H(c,e))}))}(...e),t(...e));return s.hasResolver=!0,s})}}(t.resolvers,p,i,a);l=e.resolvers,p=e.selectors}const d=function(e,t){return Object(u.mapValues)(Object(u.omit)(e,["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"]),(r,n)=>(...o)=>new Promise(c=>{const i=()=>e.hasFinishedResolution(n,o),s=()=>r.apply(null,o),u=s();if(i())return c(u);const a=t.subscribe(()=>{i()&&(a(),c(s()))})}))}(p,i),b=()=>p,O=()=>f,g=()=>d;i.__unstableOriginalGetState=i.getState,i.getState=()=>i.__unstableOriginalGetState().root;const v=i&&(e=>{let t=i.__unstableOriginalGetState();return i.subscribe(()=>{const r=i.__unstableOriginalGetState(),n=r!==t;t=r,n&&e()})});return{reducer:c,store:i,actions:f,selectors:p,resolvers:l,getSelectors:b,getResolveSelectors:g,getActions:O,subscribe:v}}}}var q=function(e){const t=t=>(r,...n)=>e.select(r)[t](...n),r=t=>(r,...n)=>e.dispatch(r)[t](...n);return{getSelectors:()=>["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((e,r)=>({...e,[r]:t(r)}),{}),getActions:()=>["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((e,t)=>({...e,[t]:r(t)}),{}),subscribe:()=>()=>{}}};function z(e={},t=null){const r={};let n=[];const o=new Set;function c(){n.forEach(e=>e())}const i=e=>(n.push(e),()=>{n=Object(u.without)(n,e)});function s(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");r[e]=t,t.subscribe(c)}let a={registerGenericStore:s,stores:r,namespaces:r,subscribe:i,select:function(e){const n=Object(u.isObject)(e)?e.name:e;o.add(n);const c=r[n];return c?c.getSelectors():t&&t.select(n)},resolveSelect:function(e){const n=Object(u.isObject)(e)?e.name:e;o.add(n);const c=r[n];return c?c.getResolveSelectors():t&&t.resolveSelect(n)},dispatch:function(e){const n=Object(u.isObject)(e)?e.name:e,o=r[n];return o?o.getActions():t&&t.dispatch(n)},use:function(e,t){return a={...a,...e(a,t)},a},register:function(e){s(e.name,e.instantiate(a))},__experimentalMarkListeningStores:function(e,t){o.clear();const r=e.call(this);return t.current=Array.from(o),r},__experimentalSubscribeStore:function(e,n){return e in r?r[e].subscribe(n):t?t.__experimentalSubscribeStore(e,n):i(n)}};return a.registerStore=(e,t)=>{if(!t.reducer)throw new TypeError("Must specify store reducer");const r=B(e,t).instantiate(a);return s(e,r),r.store},s("core/data",q(a)),Object.entries(e).forEach(([e,t])=>a.registerStore(e,t)),t&&t.subscribe(c),l=a,Object(u.mapValues)(l,(e,t)=>"function"!=typeof e?e:function(){return a[t].apply(null,arguments)});var l}var Q=z(),Y=r("NMb1"),$=r.n(Y),Z=e=>($()("wp.data.plugins.controls",{since:"5.4",hint:"The controls plugins is now baked-in."}),e);let ee;const te={getItem:e=>ee&&ee[e]?ee[e]:null,setItem(e,t){ee||te.clear(),ee[e]=String(t)},clear(){ee=Object.create(null)}};var re=te;let ne;try{ne=window.localStorage,ne.setItem("__wpDataTestLocalStorage",""),ne.removeItem("__wpDataTestLocalStorage")}catch(e){ne=re}const oe=ne,ce="WP_DATA";function ie(e){const{storage:t=oe,storageKey:r=ce}=e;let n;return{get:function(){if(void 0===n){const e=t.getItem(r);if(null===e)n={};else try{n=JSON.parse(e)}catch(e){n={}}}return n},set:function(e,o){n={...n,[e]:o},t.setItem(r,JSON.stringify(n))}}}function se(e,t){const r=ie(t);return{registerStore(t,n){if(!n.persist)return e.registerStore(t,n);const o=r.get()[t];if(void 0!==o){let e=n.reducer(n.initialState,{type:"@@WP/PERSISTENCE_RESTORE"});e=Object(u.isPlainObject)(e)&&Object(u.isPlainObject)(o)?Object(u.merge)({},e,o):o,n={...n,initialState:e}}const c=e.registerStore(t,n);return c.subscribe(function(e,t,n){let o;if(Array.isArray(n)){const e=n.reduce((e,t)=>Object.assign(e,{[t]:(e,r)=>r.nextState[t]}),{});c=s()(e),o=(e,t)=>t.nextState===e?e:c(e,t)}else o=(e,t)=>t.nextState;var c;let i=o(void 0,{nextState:e()});return()=>{const n=o(i,{nextState:e()});n!==i&&(r.set(t,n),i=n)}}(c.getState,t,n.persist)),c}}}se.__unstableMigrate=e=>{var t,r;const n=ie(e),o=n.get(),c=null===(t=o["core/editor"])||void 0===t||null===(r=t.preferences)||void 0===r?void 0:r.insertUsage;if(c){var i,s;const e=null===(i=o["core/block-editor"])||void 0===i||null===(s=i.preferences)||void 0===s?void 0:s.insertUsage;n.set("core/block-editor",{preferences:{insertUsage:{...c,...e}}})}let a=o["core/edit-post"];const l=Object.keys(o).length>0,f=Object(u.has)(o,["core/edit-post","preferences","features","fullscreenMode"]);l&&!f&&(a=Object(u.merge)({},a,{preferences:{features:{fullscreenMode:!1}}}));const p=Object(u.get)(o,["core/nux","preferences","areTipsEnabled"]),d=Object(u.has)(o,["core/edit-post","preferences","features","welcomeGuide"]);void 0===p||d||(a=Object(u.merge)({},a,{preferences:{features:{welcomeGuide:p}}})),a!==o["core/edit-post"]&&n.set("core/edit-post",a)};var ue=se,ae=r("wx14"),le=r("GRId"),fe=r("K9lf"),pe=r("mHlH"),de=r("XI5e"),be=r("rl8x"),Oe=r.n(be);const ge=Object(le.createContext)(Q),{Consumer:he,Provider:ve}=ge,ye=he;var Se=ve;function me(){return Object(le.useContext)(ge)}const Re=Object(le.createContext)(!1),{Consumer:we,Provider:je}=Re;var _e=je;const Ee=Object(de.createQueue)();function Te(e,t){const r="function"!=typeof e;r&&(t=[]);const n=Object(le.useCallback)(e,t),o=me(),c=Object(le.useContext)(Re),i=Object(pe.a)(()=>({queue:!0}),[o]),[,s]=Object(le.useReducer)(e=>e+1,0),u=Object(le.useRef)(),a=Object(le.useRef)(c),l=Object(le.useRef)(),f=Object(le.useRef)(),p=Object(le.useRef)(),d=Object(le.useRef)([]),b=Object(le.useCallback)(e=>o.__experimentalMarkListeningStores(e,d),[o]),O=Object(le.useMemo)(()=>({}),t||[]);let g;if(!r)try{g=u.current!==n||f.current?b(()=>n(o.select,o)):l.current}catch(e){let t="An error occurred while running 'mapSelect': "+e.message;f.current&&(t+="\nThe error may be correlated with this previous error:\n",t+=f.current.stack+"\n\n",t+="Original stack trace:"),console.error(t),g=l.current}return Object(fe.useIsomorphicLayoutEffect)(()=>{r||(u.current=n,l.current=g,f.current=void 0,p.current=!0,a.current!==c&&(a.current=c,Ee.flush(i)))}),Object(fe.useIsomorphicLayoutEffect)(()=>{if(r)return;const e=()=>{if(p.current){try{const e=b(()=>u.current(o.select,o));if(Oe()(l.current,e))return;l.current=e}catch(e){f.current=e}s()}};a.current?Ee.add(i,e):e();const t=()=>{a.current?Ee.add(i,e):e()},n=d.current.map(e=>o.__experimentalSubscribeStore(e,t));return()=>{p.current=!1,n.forEach(e=>null==e?void 0:e()),Ee.flush(i)}},[o,b,O,r]),r?o.select(e):g}var Ie=e=>Object(fe.createHigherOrderComponent)(t=>Object(fe.pure)(r=>{const n=Te((t,n)=>e(t,r,n));return Object(le.createElement)(t,Object(ae.a)({},r,n))}),"withSelect");var Ne=(e,t)=>{const r=me(),n=Object(le.useRef)(e);return Object(fe.useIsomorphicLayoutEffect)(()=>{n.current=e}),Object(le.useMemo)(()=>{const e=n.current(r.dispatch,r);return Object(u.mapValues)(e,(e,t)=>("function"!=typeof e&&console.warn(`Property ${t} returned from dispatchMap in useDispatchWithMap must be a function.`),(...e)=>n.current(r.dispatch,r)[t](...e)))},[r,...t])};var Ae=e=>Object(fe.createHigherOrderComponent)(t=>r=>{const n=Ne((t,n)=>e(t,r,n),[]);return Object(le.createElement)(t,Object(ae.a)({},r,n))},"withDispatch");var Le=Object(fe.createHigherOrderComponent)(e=>t=>Object(le.createElement)(ye,null,r=>Object(le.createElement)(e,Object(ae.a)({},t,{registry:r}))),"withRegistry");var xe=e=>{const{dispatch:t}=me();return void 0===e?t:t(e)};const Pe=Q.select,Ce=Q.resolveSelect,Ue=Q.dispatch,De=Q.subscribe,ke=Q.registerGenericStore,Me=Q.registerStore,Fe=Q.use,Ve=Q.register},rl8x:function(e,t){e.exports=window.wp.isShallowEqual},wx14:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t