amis-rpc-design/node_modules/@reduxjs/toolkit/dist/redux-toolkit.umd.min.js

66 lines
42 KiB
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.RTK = {}));
})(this, (function (exports) { 'use strict';
var t,n,e,r=undefined&&undefined.__extends||(t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n;}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);},t(n,e)},function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n;}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r);}),o=undefined&&undefined.__generator||function(t,n){var e,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;u;)try{if(e=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!((o=(o=u.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=n.call(t,u);}catch(t){i=[6,t],r=0;}finally{e=o=0;}if(5&i[0])throw i[1];return {value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},i=undefined&&undefined.__spreadArray||function(t,n){for(var e=0,r=n.length,o=t.length;e<r;e++,o++)t[o]=n[e];return t},u=Object.defineProperty,c=Object.defineProperties,a=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,d=function(t,n,e){return n in t?u(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e},p=function(t,n){for(var e in n||(n={}))l.call(n,e)&&d(t,e,n[e]);if(f)for(var r=0,o=f(n);r<o.length;r++)s.call(n,e=o[r])&&d(t,e,n[e]);return t},v=function(t,n){return c(t,a(n))},y=function(t,n,e){return new Promise((function(r,o){var i=function(t){try{c(e.next(t));}catch(t){o(t);}},u=function(t){try{c(e.throw(t));}catch(t){o(t);}},c=function(t){return t.done?r(t.value):Promise.resolve(t.value).then(i,u)};c((e=e.apply(t,n)).next());}))};function h(t){for(var n=arguments.length,e=Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return "'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function b(t){return !!t&&!!t[et]}function g(t){var n;return !!t&&(function(t){if(!t||"object"!=typeof t)return !1;var n=Object.getPrototypeOf(t);if(null===n)return !0;var e=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===rt}(t)||Array.isArray(t)||!!t[nt]||!!(null===(n=t.constructor)||void 0===n?void 0:n[nt])||A(t)||S(t))}function m(t){return b(t)||h(23,t),t[et].t}function w(t,n,e){void 0===e&&(e=!1),0===O(t)?(e?Object.keys:ot)(t).forEach((function(r){e&&"symbol"==typeof r||n(r,t[r],t);})):t.forEach((function(e,r){return n(r,e,t)}));}function O(t){var n=t[et];return n?n.i>3?n.i-4:n.i:Array.isArray(t)?1:A(t)?2:S(t)?3:0}function j(t,n){return 2===O(t)?t.has(n):Object.prototype.hasOwnProperty.call(t,n)}function P(t,n,e){var r=O(t);2===r?t.set(n,e):3===r?t.add(e):t[n]=e;}function E(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}function A(t){return Q&&t instanceof Map}function S(t){return Y&&t instanceof Set}function _(t){return t.o||t.t}function k(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var n=it(t);delete n[et];for(var e=ot(n),r=0;r<e.length;r++){var o=e[r],i=n[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(n[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[o]});}return Object.create(Object.getPrototypeOf(t),n)}function x(t,n){return void 0=
exports.EnhancerArray = Gt;
exports.MiddlewareArray = Xt;
exports.SHOULD_AUTOBATCH = Yn;
exports.TaskAbortError = Dn;
exports.__DO_NOT_USE__ActionTypes = gt;
exports.addListener = Xn;
exports.applyMiddleware = St;
exports.autoBatchEnhancer = re;
exports.bindActionCreators = Et;
exports.clearAllListeners = Gn;
exports.combineReducers = jt;
exports.compose = At;
exports.configureStore = tn;
exports.createAction = zt;
exports.createActionCreatorInvariantMiddleware = Vt;
exports.createAsyncThunk = gn;
exports.createDraftSafeSelector = Rt;
exports.createEntityAdapter = dn;
exports.createImmutableStateInvariantMiddleware = un;
exports.createListenerMiddleware = Hn;
exports.createNextState = st;
exports.createReducer = en;
exports.createSelector = Nt;
exports.createSerializableStateInvariantMiddleware = Yt;
exports.createSlice = rn;
exports.createStore = wt;
exports.current = J;
exports.findNonSerializableValue = Ht;
exports.freeze = x;
exports.getDefaultMiddleware = Zt;
exports.getType = Bt;
exports.isAction = Lt;
exports.isActionCreator = Ut;
exports.isAllOf = jn;
exports.isAnyOf = On;
exports.isAsyncThunkAction = xn;
exports.isDraft = b;
exports.isFluxStandardAction = Kt;
exports.isFulfilled = kn;
exports.isImmutableDefault = on;
exports.isPending = An;
exports.isPlain = $t;
exports.isPlainObject = Ct;
exports.isRejected = Sn;
exports.isRejectedWithValue = _n;
exports.legacy_createStore = Ot;
exports.miniSerializeError = bn;
exports.nanoid = pn;
exports.original = m;
exports.prepareAutoBatched = Zn;
exports.removeListener = Jn;
exports.unwrapResult = mn;
Object.defineProperty(exports, '__esModule', { value: true });
}));
//# sourceMappingURL=redux-toolkit.umd.min.js.map