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

1 line
10 KiB
JavaScript
Raw Normal View History

this.wp=this.wp||{},this.wp.reduxRoutine=function(t){var r={};function n(e){if(r[e])return r[e].exports;var u=r[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var u in t)n.d(e,u,function(r){return t[r]}.bind(null,u));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=304)}({170:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createChannel=r.subscribe=r.cps=r.apply=r.call=r.invoke=r.delay=r.race=r.join=r.fork=r.error=r.all=void 0;var e,u=n(171),o=(e=u)&&e.__esModule?e:{default:e};r.all=function(t){return{type:o.default.all,value:t}},r.error=function(t){return{type:o.default.error,error:t}},r.fork=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),e=1;e<r;e++)n[e-1]=arguments[e];return{type:o.default.fork,iterator:t,args:n}},r.join=function(t){return{type:o.default.join,task:t}},r.race=function(t){return{type:o.default.race,competitors:t}},r.delay=function(t){return new Promise(function(r){setTimeout(function(){return r(!0)},t)})},r.invoke=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),e=1;e<r;e++)n[e-1]=arguments[e];return{type:o.default.call,func:t,context:null,args:n}},r.call=function(t,r){for(var n=arguments.length,e=Array(n>2?n-2:0),u=2;u<n;u++)e[u-2]=arguments[u];return{type:o.default.call,func:t,context:r,args:e}},r.apply=function(t,r,n){return{type:o.default.call,func:t,context:r,args:n}},r.cps=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),e=1;e<r;e++)n[e-1]=arguments[e];return{type:o.default.cps,func:t,args:n}},r.subscribe=function(t){return{type:o.default.subscribe,channel:t}},r.createChannel=function(t){var r=[];return t(function(t){return r.forEach(function(r){return r(t)})}),{subscribe:function(t){return r.push(t),function(){return r.splice(r.indexOf(t),1)}}}}},171:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var e={all:Symbol("all"),error:Symbol("error"),fork:Symbol("fork"),join:Symbol("join"),race:Symbol("race"),call:Symbol("call"),cps:Symbol("cps"),subscribe:Symbol("subscribe")};r.default=e},188:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.wrapControls=r.asyncControls=r.create=void 0;var e=n(170);Object.keys(e).forEach(function(t){"default"!==t&&Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})});var u=f(n(277)),o=f(n(279)),c=f(n(281));function f(t){return t&&t.__esModule?t:{default:t}}r.create=u.default,r.asyncControls=o.default,r.wrapControls=c.default},2:function(t,r){!function(){t.exports=this.lodash}()},277:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var e=o(n(278)),u=o(n(94));function o(t){return t&&t.__esModule?t:{default:t}}function c(t){if(Array.isArray(t)){for(var r=0,n=Array(t.length);r<t.length;r++)n[r]=t[r];return n}return Array.from(t)}r.default=function(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],r=[].concat(c(t),c(e.default));return function t(n){var e,o,c,f=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1],i=arguments.length<=2||void 0===arguments[2]?function(){}:arguments[2],a=u.default.iterator(n)?n:regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n;case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)})();e=a,o=function(t){return function(r){try{var n=t?e.throw(r):e.next(r),u=n.val