redux-8.x-1.0-alpha1/js/lib/index.js

js/lib/index.js
(function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=7)})([function(a,b,c){'use strict';function d(a,b,c){function h(){p===o&&(p=o.slice())}function i(){return n}function j(a){if('function'!=typeof a)throw new Error('Expected listener to be a function.');var b=!0;return h(),p.push(a),function(){if(b){b=!1,h();var c=p.indexOf(a);p.splice(c,1)}}}function k(a){if(!Object(e.a)(a))throw new Error('Actions must be plain objects. Use custom middleware for async actions.');if('undefined'==typeof a.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(q)throw new Error('Reducers may not dispatch actions.');try{q=!0,n=m(n,a)}finally{q=!1}for(var b,c=o=p,d=0;d<c.length;d++)b=c[d],b();return a}var l;if('function'==typeof b&&'undefined'==typeof c&&(c=b,b=void 0),'undefined'!=typeof c){if('function'!=typeof c)throw new Error('Expected the enhancer to be a function.');return c(d)(a,b)}if('function'!=typeof a)throw new Error('Expected the reducer to be a function.');var m=a,n=b,o=[],p=o,q=!1;return k({type:g.INIT}),l={dispatch:k,subscribe:j,getState:i,replaceReducer:function(a){if('function'!=typeof a)throw new Error('Expected the nextReducer to be a function.');m=a,k({type:g.INIT})}},l[f.a]=function(){var a,b=j;return a={subscribe:function(a){function c(){a.next&&a.next(i())}if('object'!=typeof a)throw new TypeError('Expected the observer to be an object.');c();var d=b(c);return{unsubscribe:d}}},a[f.a]=function(){return this},a},l}c.d(b,'a',function(){return g}),b.b=d;var e=c(1),f=c(18),g={INIT:'@@redux/INIT'}},function(a,b,c){'use strict';var d=c(10),e=c(15),f=c(17),g=Function.prototype,h=Object.prototype,i=g.toString,j=h.hasOwnProperty,k=i.call(Object);b.a=function(a){if(!Object(f.a)(a)||Object(d.a)(a)!='[object Object]')return!1;var b=Object(e.a)(a);if(null===b)return!0;var c=j.call(b,'constructor')&&b.constructor;return'function'==typeof c&&c instanceof c&&i.call(c)==k}},function(a,b,c){'use strict';var d=c(11),e=d.a.Symbol;b.a=e},function(a){var b=function(){return this}();try{b=b||Function('return this')()||(1,eval)('this')}catch(a){'object'==typeof window&&(b=window)}a.exports=b},function(){'use strict'},function(a,b){'use strict';b.a=function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return 0===b.length?function(a){return a}:1===b.length?b[0]:b.reduce(function(c,a){return function(){return c(a.apply(void 0,arguments))}})}},function(a,b,c){'use strict';c.d(b,'b',function(){return e}),c.d(b,'a',function(){return d});const d='add',e=(a)=>({type:d,payload:a})},function(a,b,c){'use strict';Object.defineProperty(b,'__esModule',{value:!0});var d=c(8);((a)=>{a.Redux=new d.a})(Drupal)},function(a,b,c){'use strict';var d=c(9),e=c(24),f=c(25),g=c(6);b.a=class{constructor(){this.store=Object(d.a)(f.a,Object(e.a)()),this.store.subscribe(()=>{Object(e.b)(this.store.getState())}),this.actions={add:g.b}}}},function(a,b,c){'use strict';var d=c(0),e=c(21),f=c(22),g=c(23),h=c(5),i=c(4);c.d(b,'a',function(){return d.b}),!1},function(a,b,c){'use strict';var d=c(2),e=c(13),f=c(14),g=d.a?d.a.toStringTag:void 0;b.a=function(a){return null==a?void 0===a?'[object Undefined]':'[object Null]':g&&g in Object(a)?Object(e.a)(a):Object(f.a)(a)}},function(a,b,c){'use strict';var d=c(12),e='object'==typeof self&&self&&self.Object===Object&&self,f=d.a||e||Function('return this')();b.a=f},function(a,b,c){'use strict';(function(a){var c='object'==typeof a&&a&&a.Object===Object&&a;b.a=c}).call(b,c(3))},function(a,b,c){'use strict';var d=c(2),e=Object.prototype,f=e.hasOwnProperty,g=e.toString,h=d.a?d.a.toStringTag:void 0;b.a=function(a){var b=f.call(a,h),c=a[h];try{a[h]=void 0}catch(a){}var d=g.call(a);return b?a[h]=c:delete a[h],d}},function(a,b){'use strict';var c=Object.prototype,d=c.toString;b.a=function(a){return d.call(a)}},function(a,b,c){'use strict';var d=c(16),e=Object(d.a)(Object.getPrototypeOf,Object);b.a=e},function(a,b){'use strict';b.a=function(a,b){return function(c){return a(b(c))}}},function(a,b){'use strict';b.a=function(a){return null!=a&&'object'==typeof a}},function(a,b,c){'use strict';(function(a,d){var e,f=c(20);e='undefined'==typeof self?'undefined'==typeof window?'undefined'==typeof a?d:a:window:self;var g=Object(f.a)(e);b.a=g}).call(b,c(3),c(19)(a))},function(a){a.exports=function(a){if(!a.webpackPolyfill){var b=Object.create(a);b.children||(b.children=[]),Object.defineProperty(b,'loaded',{enumerable:!0,get:function(){return b.l}}),Object.defineProperty(b,'id',{enumerable:!0,get:function(){return b.i}}),Object.defineProperty(b,'exports',{enumerable:!0}),b.webpackPolyfill=1}return b}},function(a,b){'use strict';b.a=function(a){var b,c=a.Symbol;return'function'==typeof c?c.observable?b=c.observable:(b=c('observable'),c.observable=b):b='@@observable',b}},function(a,b,c){'use strict';var d=c(0),e=c(1),f=c(4)},function(){'use strict'},function(a,b,c){'use strict';var d=c(5),e=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a}},function(a,b,c){'use strict';c.d(b,'a',function(){return d}),c.d(b,'b',function(){return e});const d=()=>{try{const a=localStorage.getItem('state');return null===a?void 0:JSON.parse(a)}catch(a){}},e=(a)=>{try{const b=JSON.stringify(a);localStorage.setItem('state',b)}catch(a){}}},function(a,b,c){'use strict';function d(){return d=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},d.apply(this,arguments)}var e=c(6);b.a=(a={},{type:b,payload:c})=>b===e.a?d({},a,c):a}]);

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc