(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.RTKQ = {})); })(this, (function (exports) { 'use strict'; var e;exports.QueryStatus = void 0;var n,r=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]);},e(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);}),a=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]>>1,o=e[r];if(!(0>>1;ra(l,n))ca(s,l)?(e[r]=s,e[c]=n,r=c):(e[r]=l,e[i]=n,r=i);else {if(!(ca(s,n)))break e;e[r]=s,e[c]=n,r=c;}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var o,u,i;"object"==typeof performance&&"function"==typeof performance.now?(o=performance,e.unstable_now=function(){return o.now()}):(u=Date,i=u.now(),e.unstable_now=function(){return u.now()-i});var l=[],c=[],s=1,f=null,d=3,p=!1,h=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,m="function"==typeof clearTimeout?clearTimeout:null,g="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var a=n(c);null!==a;){if(null===a.callback)r(c);else {if(!(a.startTime<=e))break;r(c),a.sortIndex=a.expirationTime,t(l,a);}a=n(c);}}function w(e){if(v=!1,b(e),!h)if(null!==n(l))h=!0,j(S);else {var t=n(c);null!==t&&z(w,t.startTime-e);}}function S(t,a){h=!1,v&&(v=!1,m(_),_=-1),p=!0;var o=d;try{for(b(a),f=n(l);null!==f&&(!(f.expirationTime>a)||t&&!R());){var u=f.callback;if("function"==typeof u){f.callback=null,d=f.priorityLevel;var i=u(f.expirationTime<=a);a=e.unstable_now(),"function"==typeof i?f.callback=i:f===n(l)&&r(l),b(a);}else r(l);f=n(l);}if(null!==f)var s=!0;else {var y=n(c);null!==y&&z(w,y.startTime-a),s=!1;}return s}finally{f=null,d=o,p=!1;}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,x,E,C=!1,O=null,_=-1,P=5,T=-1;function R(){return !(e.unstable_now()-Te||125u?(r.sortIndex=o,t(c,r),null===n(l)&&r===n(c)&&(v?(m(_),_=-1):v=!0,z(w,o-u))):(r.sortIndex=i,t(l,r),h||p||(h=!0,j(S))),r},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n;}}};}}),R=w({"../../node_modules/scheduler/index.js":function(e,t){t.exports=T();}}),N=w({"../../node_modules/react-dom/cjs/react-dom.production.min.js":function(e){var t=E(),n=R();function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n