function w(r){"@babel/helpers - typeof";return w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(r)}function T(r,t){if(w(r)!=="object"||r===null)return r;var e=r[Symbol.toPrimitive];if(e!==void 0){var n=e.call(r,t||"default");if(w(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(r)}function x(r){var t=T(r,"string");return w(t)==="symbol"?t:String(t)}function C(r,t,e){return t=x(t),t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function S(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),e.push.apply(e,n)}return e}function N(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?S(Object(e),!0).forEach(function(n){C(r,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):S(Object(e)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(e,n))})}return r}function u(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var A=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),E=function(){return Math.random().toString(36).substring(7).split("").join(".")},m={INIT:"@@redux/INIT"+E(),REPLACE:"@@redux/REPLACE"+E(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+E()}};function D(r){if(typeof r!="object"||r===null)return!1;for(var t=r;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(r)===t}function P(r,t,e){var n;if(typeof t=="function"&&typeof e=="function"||typeof e=="function"&&typeof arguments[3]=="function")throw new Error(u(0));if(typeof t=="function"&&typeof e>"u"&&(e=t,t=void 0),typeof e<"u"){if(typeof e!="function")throw new Error(u(1));return e(P)(r,t)}if(typeof r!="function")throw new Error(u(2));var i=r,c=t,a=[],s=a,f=!1;function v(){s===a&&(s=a.slice())}function l(){if(f)throw new Error(u(3));return c}function d(o){if(typeof o!="function")throw new Error(u(4));if(f)throw new Error(u(5));var p=!0;return v(),s.push(o),function(){if(p){if(f)throw new Error(u(6));p=!1,v();var b=s.indexOf(o);s.splice(b,1),a=null}}}function y(o){if(!D(o))throw new Error(u(7));if(typeof o.type>"u")throw new Error(u(8));if(f)throw new Error(u(9));try{f=!0,c=i(c,o)}finally{f=!1}for(var p=a=s,h=0;h<p.length;h++){var b=p[h];b()}return o}function g(o){if(typeof o!="function")throw new Error(u(10));i=o,y({type:m.REPLACE})}function O(){var o,p=d;return o={subscribe:function(b){if(typeof b!="object"||b===null)throw new Error(u(11));function j(){b.next&&b.next(l())}j();var I=p(j);return{unsubscribe:I}}},o[A]=function(){return this},o}return y({type:m.INIT}),n={dispatch:y,subscribe:d,getState:l,replaceReducer:g},n[A]=O,n}var L=P;function M(r){Object.keys(r).forEach(function(t){var e=r[t],n=e(void 0,{type:m.INIT});if(typeof n>"u")throw new Error(u(12));if(typeof e(void 0,{type:m.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(u(13))})}function K(r){for(var t=Object.keys(r),e={},n=0;n<t.length;n++){var i=t[n];typeof r[i]=="function"&&(e[i]=r[i])}var c=Object.keys(e),a;try{M(e)}catch(s){a=s}return function(f,v){if(f===void 0&&(f={}),a)throw a;for(var l=!1,d={},y=0;y<c.length;y++){var g=c[y],O=e[g],o=f[g],p=O(o,v);if(typeof p>"u")throw v&&v.type,new Error(u(14));d[g]=p,l=l||p!==o}return l=l||c.length!==Object.keys(f).length,l?d:f}}function R(r,t){return function(){return t(r.apply(this,arguments))}}function U(r,t){if(typeof r=="function")return R(r,t);if(typeof r!="object"||r===null)throw new Error(u(16));var e={};for(var n in r){var i=r[n];typeof i=="function"&&(e[n]=R(i,t))}return e}function _(){for(var r=arguments.length,t=new Array(r),e=0;e<r;e++)t[e]=arguments[e];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function B(){for(var r=arguments.length,t=new Array(r),e=0;e<r;e++)t[e]=arguments[e];return function(n){return function(){var i=n.apply(void 0,arguments),c=function(){throw new Error(u(15))},a={getState:i.getState,dispatch:function(){return c.apply(void 0,arguments)}},s=t.map(function(f){return f(a)});return c=_.apply(void 0,s)(i.dispatch),N(N({},i),{},{dispatch:c})}}}const W=Object.freeze(Object.defineProperty({__proto__:null,__DO_NOT_USE__ActionTypes:m,applyMiddleware:B,bindActionCreators:U,combineReducers:K,compose:_,createStore:P,legacy_createStore:L},Symbol.toStringTag,{value:"Module"}));export{W as R,B as a,K as b,P as c,_ as d};
