GoScrobble/web/node_modules/@reduxjs/toolkit/dist/query/react/rtk-query-react.umd.min.js

26 lines
195 KiB
JavaScript
Raw 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 e;exports.QueryStatus = void 0;var n,r,a,o=undefined&&undefined.__extends||(e=function(t,n){return (e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t;}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);})(t,n)},function(t,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=t;}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r);}),u=undefined&&undefined.__generator||function(e,t){var n,r,a,o,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(o){return function(i){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return u.label++,{value:o[1],done:!1};case 5:u.label++,r=o[1],o=[0];continue;case 7:o=u.ops.pop(),u.trys.pop();continue;default:if(!((a=(a=u.trys).length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){u=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){u.label=o[1];break}if(6===o[0]&&u.label<a[1]){u.label=a[1],a=o;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(o);break}a[2]&&u.ops.pop(),u.trys.pop();continue}o=t.call(e,u);}catch(e){o=[6,e],r=0;}finally{n=a=0;}if(5&o[0])throw o[1];return {value:o[0]?o[1]:void 0,done:!0}}([o,i])}}},i=undefined&&undefined.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e},l=Object.create,c=Object.defineProperty,s=Object.defineProperties,f=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,g=function(e,t,n){return t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},b=function(e,t){for(var n in t||(t={}))y.call(t,n)&&g(e,n,t[n]);if(h)for(var r=0,a=h(t);r<a.length;r++)m.call(t,n=a[r])&&g(e,n,t[n]);return e},w=function(e,t){return s(e,d(t))},k=function(e,t){var n={};for(var r in e)y.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&h)for(var a=0,o=h(e);a<o.length;a++)t.indexOf(r=o[a])<0&&m.call(e,r)&&(n[r]=e[r]);return n},S=function(e,t){return function(){return t||(0, e[Object.keys(e)[0]])((t={exports:{}}).exports,t),t.exports}},E=function(e){return function(e,t,n){if(t&&"object"==typeof t||"function"==typeof t)for(var r=function(r){y.call(e,r)||"default"===r||c(e,r,{get:function(){return t[r]},enumerable:!(n=f(t,r))||n.enumerable});},a=0,o=p(t);a<o.length;a++)r(o[a]);return e}((t=c(null!=e?l(v(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),c(t,"__esModule",{value:!0})),e);var t;},x=function(e,t,n){return new Promise((function(r,a){var o=function(e){try{i(n.next(e));}catch(e){a(e);}},u=function(e){try{i(n.throw(e));}catch(e){a(e);}},i=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(o,u)};i((n=n.apply(e,t)).next());}))},O=S({"../../node_modules/object-assign/index.js":function(e,t){var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}t.exports=function(){try{if(!Object.assign)return !1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return !1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return !1;var r={};return "abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e;})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return !1}}()?Object.assign:function(e,
exports.ApiProvider = Zn;
exports.buildCreateApi = en;
exports.copyWithStructuralSharing = Ct;
exports.coreModule = gn;
exports.createApi = er;
exports.fakeBaseQuery = tn;
exports.fetchBaseQuery = Rt;
exports.reactHooksModule = Gn;
exports.retry = Mt;
exports.setupListeners = Ut;
exports.skipSelector = Wt;
exports.skipToken = Vt;
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=rtk-query-react.umd.min.js.map