GoScrobble/web/node_modules/@reduxjs/toolkit/dist/redux-toolkit.umd.min.js

52 lines
32 KiB
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00: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,e,n,r=undefined&&undefined.__extends||(t=function(e,n){return (t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e;}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);})(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e;}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r);}),o=undefined&&undefined.__generator||function(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function f(i){return function(f){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=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=e.call(t,u);}catch(t){i=[6,t],r=0;}finally{n=o=0;}if(5&i[0])throw i[1];return {value:i[0]?i[1]:void 0,done:!0}}([i,f])}}},i=undefined&&undefined.__spreadArray||function(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t},u=Object.defineProperty,f=Object.defineProperties,c=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,p=function(t,e,n){return e in t?u(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},d=function(t,e){for(var n in e||(e={}))l.call(e,n)&&p(t,n,e[n]);if(a)for(var r=0,o=a(e);r<o.length;r++)s.call(e,n=o[r])&&p(t,n,e[n]);return t},v=function(t,e){return f(t,c(e))};function y(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(n.length?" "+n.map((function(t){return "'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function h(t){return !!t&&!!t[et]}function g(t){return !!t&&(function(t){if(!t||"object"!=typeof t)return !1;var e=Object.getPrototypeOf(t);if(null===e)return !0;var n=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return "function"==typeof n&&Function.toString.call(n)===nt}(t)||Array.isArray(t)||!!t[tt]||!!t.constructor[tt]||E(t)||A(t))}function b(t){return h(t)||y(23,t),t[et].t}function O(t,e,n){void 0===n&&(n=!1),0===m(t)?(n?Object.keys:rt)(t).forEach((function(r){n&&"symbol"==typeof r||e(r,t[r],t);})):t.forEach((function(n,r){return e(r,n,t)}));}function m(t){var e=t[et];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:E(t)?2:A(t)?3:0}function w(t,e){return 2===m(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function j(t,e,n){var r=m(t);2===r?t.set(e,n):3===r?(t.delete(e),t.add(n)):t[e]=n;}function P(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function E(t){return H&&t instanceof Map}function A(t){return Q&&t instanceof Set}function S(t){return t.o||t.t}function _(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ot(t);delete e[et];for(var n=rt(e),r=0;r<n.length;r++){var o=n[r],i=e[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[o]});}return Object.create(Object.getPrototypeOf(t),e)}function x(t,e){return void 0===e&&(e=!1),D(t)||h(t)||!g(t)||(m(t)>1&&(t.set=t.add=t.clear=t.delete=I),Object.freeze(t),e&&O(t,(function(t,e){return x(e,!0)}),!0)),t}function I(){y(2);}function D(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function k(t){var e=it[t];return e||y(18,t),e}function N(){return n}function
exports.MiddlewareArray = Ct;
exports.__DO_NOT_USE__ActionTypes = gt;
exports.applyMiddleware = Et;
exports.bindActionCreators = jt;
exports.combineReducers = mt;
exports.compose = Pt;
exports.configureStore = zt;
exports.createAction = Kt;
exports.createAsyncThunk = ue;
exports.createDraftSafeSelector = It;
exports.createEntityAdapter = te;
exports.createImmutableStateInvariantMiddleware = Jt;
exports.createNextState = lt;
exports.createReducer = Xt;
exports.createSelector = xt;
exports.createSerializableStateInvariantMiddleware = qt;
exports.createSlice = Bt;
exports.createStore = Ot;
exports.current = G;
exports.findNonSerializableValue = Ft;
exports.freeze = x;
exports.getDefaultMiddleware = Wt;
exports.getType = Lt;
exports.isAllOf = le;
exports.isAnyOf = ae;
exports.isAsyncThunkAction = ge;
exports.isDraft = h;
exports.isFulfilled = he;
exports.isImmutableDefault = Gt;
exports.isPending = de;
exports.isPlain = Tt;
exports.isPlainObject = kt;
exports.isRejected = ve;
exports.isRejectedWithValue = ye;
exports.miniSerializeError = ie;
exports.nanoid = ee;
exports.original = b;
exports.unwrapResult = fe;
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=redux-toolkit.umd.min.js.map