WordPress/wp-includes/js/dist/redux-routine.min.js

2 lines
9.4 KiB
JavaScript
Raw Normal View History

/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.reduxRoutine=function(t){var e={};function r(n){if(e[n])return e[n].exports;var u=e[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var u in t)r.d(n,u,function(e){return t[e]}.bind(null,u));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s="+ekt")}({"+ekt":function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return i}));var n=r("hnoU"),u=r("YLtl"),o=r("JlUD"),c=r.n(o);function f(t){return Object(u.isPlainObject)(t)&&Object(u.isString)(t.type)}function a(t={},e){const r=Object(u.map)(t,(t,e)=>(r,n,u,o,a)=>{if(l=e,!f(i=r)||i.type!==l)return!1;var i,l;const s=t(r);return c()(s)?s.then(o,a):o(s),!0});r.push((t,r)=>!!f(t)&&(e(t),r(),!0));const o=Object(n.create)(r);return t=>new Promise((r,n)=>o(t,t=>{f(t)&&e(t),r(t)},n))}function i(t={}){return e=>{const r=a(t,e.dispatch);return t=>e=>{return(n=e)&&"function"==typeof n[Symbol.iterator]&&"function"==typeof n.next?r(e):t(e);var n}}}},Hkfj:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=[];return{subscribe:function(e){return t.push(e),function(){t=t.filter((function(t){return t!==e}))}},dispatch:function(e){t.slice().forEach((function(t){return t(e)}))}}}},JlUD:function(t,e){function r(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}t.exports=r,t.exports.default=r},PERq:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cps=e.call=void 0;var n,u=r("qmpp"),o=(n=u)&&n.__esModule?n:{default:n};var c=e.call=function(t,e,r,n,u){if(!o.default.call(t))return!1;try{e(t.func.apply(t.context,t.args))}catch(t){u(t)}return!0},f=e.cps=function(t,e,r,n,u){var c;return!!o.default.cps(t)&&((c=t.func).call.apply(c,[null].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(t.args),[function(t,r){t?u(t):e(r)}])),!0)};e.default=[c,f]},YLtl:function(t,e){t.exports=window.lodash},e6BM:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createChannel=e.subscribe=e.cps=e.apply=e.call=e.invoke=e.delay=e.race=e.join=e.fork=e.error=e.all=void 0;var n,u=r("tGEh"),o=(n=u)&&n.__esModule?n:{default:n};e.all=function(t){return{type:o.default.all,value:t}},e.error=function(t){return{type:o.default.error,error:t}},e.fork=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{type:o.default.fork,iterator:t,args:r}},e.join=function(t){return{type:o.default.join,task:t}},e.race=function(t){return{type:o.default.race,competitors:t}},e.delay=function(t){return new Promise((function(e){setTimeout((function(){return e(!0)}),t)}))},e.invoke=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{type:o.default.call,func:t,context:null,args:r}},e.call=function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),u=2;u<r;u++)n[u-2]=arguments[u];return{type:o.default.call,func:t,context:e,args:n}},e.apply=function(t,e,r){return{type:o.default.call,func:t,context:e,args:r}},e.cps=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{type:o.default.cps,func:t,args:r}},e.subscribe=function(t){return{type:o.default.subscribe,channel:t}},e.createChannel=function(t){var e=[];return t((function(t){return e.forEach((function(e){return e(t)}))})),{subscribe:function(t){return e