bonuspluscomponents 0.0.52 → 0.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"AppContext.d.ts","sourceRoot":"","sources":["../../../src/AppContext/Context/AppContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAIpC,aAAK,WAAW;IACZ,eAAe,IAAA;IACf,QAAQ,IAAA;IACR,EAAE,IAAA;CACL;AAED,UAAU,eAAe;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;CAClB;AAGD,KAAK,WAAW,GAAG;IACf,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAA;IAE9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAEpE,eAAe,EAAE,eAAe,GAAG,IAAI,CAAC;IAExC,SAAS,EAAC,MAAM,GAAC,IAAI,CAAC;IACtB,YAAY,EAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAEjE,WAAW,EAAC,CAAC,SAAS,EAAC,MAAM,EAAE,IAAI,EAAC,MAAM,KAAG,IAAI,CAAC;CACrD,CAAC;AAqBF,eAAO,MAAM,UAAU,4BAAmC,CAAC;AA0D3D,eAAO,MAAM,WAAW;cAAyC,WAAW;iBAAe,WAAW;6CAIrG,CAAC"}
1
+ {"version":3,"file":"AppContext.d.ts","sourceRoot":"","sources":["../../../src/AppContext/Context/AppContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAIpC,aAAK,WAAW;IACZ,eAAe,IAAA;IACf,QAAQ,IAAA;IACR,EAAE,IAAA;CACL;AAED,UAAU,eAAe;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;CAClB;AAGD,KAAK,WAAW,GAAG;IACf,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAA;IAE9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAEpE,eAAe,EAAE,eAAe,GAAG,IAAI,CAAC;IAExC,SAAS,EAAC,MAAM,GAAC,IAAI,CAAC;IACtB,YAAY,EAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAEjE,WAAW,EAAC,CAAC,SAAS,EAAC,MAAM,EAAE,IAAI,EAAC,MAAM,KAAG,IAAI,CAAC;CACrD,CAAC;AAqBF,eAAO,MAAM,UAAU,4BAAmC,CAAC;AAqD3D,eAAO,MAAM,WAAW;cAAyC,WAAW;iBAAe,WAAW;6CAIrG,CAAC"}
@@ -2,28 +2,28 @@
2
2
  object-assign
3
3
  (c) Sindre Sorhus
4
4
  @license MIT
5
- */var H,Ce;function we(){if(Ce)return H;Ce=1;var f=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;function x(g){if(g==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(g)}function w(){try{if(!Object.assign)return!1;var g=new String("abc");if(g[5]="de",Object.getOwnPropertyNames(g)[0]==="5")return!1;for(var P={},c=0;c<10;c++)P["_"+String.fromCharCode(c)]=c;var l=Object.getOwnPropertyNames(P).map(function(o){return P[o]});if(l.join("")!=="0123456789")return!1;var _={};return"abcdefghijklmnopqrst".split("").forEach(function(o){_[o]=o}),Object.keys(Object.assign({},_)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return H=w()?Object.assign:function(g,P){for(var c,l=x(g),_,o=1;o<arguments.length;o++){c=Object(arguments[o]);for(var b in c)E.call(c,b)&&(l[b]=c[b]);if(f){_=f(c);for(var h=0;h<_.length;h++)R.call(c,_[h])&&(l[_[h]]=c[_[h]])}}return l},H}/** @license React v17.0.2
5
+ */var H,Ce;function we(){if(Ce)return H;Ce=1;var f=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;function x(g){if(g==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(g)}function w(){try{if(!Object.assign)return!1;var g=new String("abc");if(g[5]="de",Object.getOwnPropertyNames(g)[0]==="5")return!1;for(var P={},c=0;c<10;c++)P["_"+String.fromCharCode(c)]=c;var l=Object.getOwnPropertyNames(P).map(function(o){return P[o]});if(l.join("")!=="0123456789")return!1;var h={};return"abcdefghijklmnopqrst".split("").forEach(function(o){h[o]=o}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return H=w()?Object.assign:function(g,P){for(var c,l=x(g),h,o=1;o<arguments.length;o++){c=Object(arguments[o]);for(var b in c)E.call(c,b)&&(l[b]=c[b]);if(f){h=f(c);for(var _=0;_<h.length;_++)R.call(c,h[_])&&(l[h[_]]=c[h[_]])}}return l},H}/** @license React v17.0.2
6
6
  * react-jsx-runtime.production.min.js
7
7
  *
8
8
  * Copyright (c) Facebook, Inc. and its affiliates.
9
9
  *
10
10
  * This source code is licensed under the MIT license found in the
11
11
  * LICENSE file in the root directory of this source tree.
12
- */var je;function or(){if(je)return I;je=1,we();var f=C,E=60103;if(I.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var R=Symbol.for;E=R("react.element"),I.Fragment=R("react.fragment")}var x=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,w=Object.prototype.hasOwnProperty,g={key:!0,ref:!0,__self:!0,__source:!0};function P(c,l,_){var o,b={},h=null,A=null;_!==void 0&&(h=""+_),l.key!==void 0&&(h=""+l.key),l.ref!==void 0&&(A=l.ref);for(o in l)w.call(l,o)&&!g.hasOwnProperty(o)&&(b[o]=l[o]);if(c&&c.defaultProps)for(o in l=c.defaultProps,l)b[o]===void 0&&(b[o]=l[o]);return{$$typeof:E,type:c,key:h,ref:A,props:b,_owner:x.current}}return I.jsx=P,I.jsxs=P,I}var X={};/** @license React v17.0.2
12
+ */var je;function or(){if(je)return I;je=1,we();var f=C,E=60103;if(I.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var R=Symbol.for;E=R("react.element"),I.Fragment=R("react.fragment")}var x=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,w=Object.prototype.hasOwnProperty,g={key:!0,ref:!0,__self:!0,__source:!0};function P(c,l,h){var o,b={},_=null,A=null;h!==void 0&&(_=""+h),l.key!==void 0&&(_=""+l.key),l.ref!==void 0&&(A=l.ref);for(o in l)w.call(l,o)&&!g.hasOwnProperty(o)&&(b[o]=l[o]);if(c&&c.defaultProps)for(o in l=c.defaultProps,l)b[o]===void 0&&(b[o]=l[o]);return{$$typeof:E,type:c,key:_,ref:A,props:b,_owner:x.current}}return I.jsx=P,I.jsxs=P,I}var X={};/** @license React v17.0.2
13
13
  * react-jsx-runtime.development.js
14
14
  *
15
15
  * Copyright (c) Facebook, Inc. and its affiliates.
16
16
  *
17
17
  * This source code is licensed under the MIT license found in the
18
18
  * LICENSE file in the root directory of this source tree.
19
- */var Te;function ur(){return Te||(Te=1,function(f){process.env.NODE_ENV!=="production"&&function(){var E=C,R=we(),x=60103,w=60106;f.Fragment=60107;var g=60108,P=60114,c=60109,l=60110,_=60112,o=60113,b=60120,h=60115,A=60116,W=60121,Q=60122,ee=60117,re=60129,te=60131;if(typeof Symbol=="function"&&Symbol.for){var v=Symbol.for;x=v("react.element"),w=v("react.portal"),f.Fragment=v("react.fragment"),g=v("react.strict_mode"),P=v("react.profiler"),c=v("react.provider"),l=v("react.context"),_=v("react.forward_ref"),o=v("react.suspense"),b=v("react.suspense_list"),h=v("react.memo"),A=v("react.lazy"),W=v("react.block"),Q=v("react.server.block"),ee=v("react.fundamental"),v("react.scope"),v("react.opaque.id"),re=v("react.debug_trace_mode"),v("react.offscreen"),te=v("react.legacy_hidden")}var ne=typeof Symbol=="function"&&Symbol.iterator,ke="@@iterator";function De(e){if(e===null||typeof e!="object")return null;var r=ne&&e[ne]||e[ke];return typeof r=="function"?r:null}var S=E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ie("error",e,t)}}function Ie(e,r,t){{var n=S.ReactDebugCurrentFrame,u=n.getStackAddendum();u!==""&&(r+="%s",t=t.concat([u]));var s=t.map(function(i){return""+i});s.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,s)}}var $e=!1;function Ye(e){return!!(typeof e=="string"||typeof e=="function"||e===f.Fragment||e===P||e===re||e===g||e===o||e===b||e===te||$e||typeof e=="object"&&e!==null&&(e.$$typeof===A||e.$$typeof===h||e.$$typeof===c||e.$$typeof===l||e.$$typeof===_||e.$$typeof===ee||e.$$typeof===W||e[0]===Q))}function We(e,r,t){var n=r.displayName||r.name||"";return e.displayName||(n!==""?t+"("+n+")":t)}function ae(e){return e.displayName||"Context"}function y(e){if(e==null)return null;if(typeof e.tag=="number"&&O("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case f.Fragment:return"Fragment";case w:return"Portal";case P:return"Profiler";case g:return"StrictMode";case o:return"Suspense";case b:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case l:var r=e;return ae(r)+".Consumer";case c:var t=e;return ae(t._context)+".Provider";case _:return We(e,e.render,"ForwardRef");case h:return y(e.type);case W:return y(e._render);case A:{var n=e,u=n._payload,s=n._init;try{return y(s(u))}catch{return null}}}return null}var $=0,ie,oe,ue,se,ce,fe,le;function de(){}de.__reactDisabledLog=!0;function Le(){{if($===0){ie=console.log,oe=console.info,ue=console.warn,se=console.error,ce=console.group,fe=console.groupCollapsed,le=console.groupEnd;var e={configurable:!0,enumerable:!0,value:de,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}}function Ne(){{if($--,$===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:ie}),info:R({},e,{value:oe}),warn:R({},e,{value:ue}),error:R({},e,{value:se}),group:R({},e,{value:ce}),groupCollapsed:R({},e,{value:fe}),groupEnd:R({},e,{value:le})})}$<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var F=S.ReactCurrentDispatcher,q;function L(e,r,t){{if(q===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
19
+ */var Te;function ur(){return Te||(Te=1,function(f){process.env.NODE_ENV!=="production"&&function(){var E=C,R=we(),x=60103,w=60106;f.Fragment=60107;var g=60108,P=60114,c=60109,l=60110,h=60112,o=60113,b=60120,_=60115,A=60116,W=60121,Q=60122,ee=60117,re=60129,te=60131;if(typeof Symbol=="function"&&Symbol.for){var v=Symbol.for;x=v("react.element"),w=v("react.portal"),f.Fragment=v("react.fragment"),g=v("react.strict_mode"),P=v("react.profiler"),c=v("react.provider"),l=v("react.context"),h=v("react.forward_ref"),o=v("react.suspense"),b=v("react.suspense_list"),_=v("react.memo"),A=v("react.lazy"),W=v("react.block"),Q=v("react.server.block"),ee=v("react.fundamental"),v("react.scope"),v("react.opaque.id"),re=v("react.debug_trace_mode"),v("react.offscreen"),te=v("react.legacy_hidden")}var ne=typeof Symbol=="function"&&Symbol.iterator,ke="@@iterator";function De(e){if(e===null||typeof e!="object")return null;var r=ne&&e[ne]||e[ke];return typeof r=="function"?r:null}var S=E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ie("error",e,t)}}function Ie(e,r,t){{var n=S.ReactDebugCurrentFrame,u=n.getStackAddendum();u!==""&&(r+="%s",t=t.concat([u]));var s=t.map(function(i){return""+i});s.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,s)}}var $e=!1;function Ye(e){return!!(typeof e=="string"||typeof e=="function"||e===f.Fragment||e===P||e===re||e===g||e===o||e===b||e===te||$e||typeof e=="object"&&e!==null&&(e.$$typeof===A||e.$$typeof===_||e.$$typeof===c||e.$$typeof===l||e.$$typeof===h||e.$$typeof===ee||e.$$typeof===W||e[0]===Q))}function We(e,r,t){var n=r.displayName||r.name||"";return e.displayName||(n!==""?t+"("+n+")":t)}function ae(e){return e.displayName||"Context"}function y(e){if(e==null)return null;if(typeof e.tag=="number"&&O("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case f.Fragment:return"Fragment";case w:return"Portal";case P:return"Profiler";case g:return"StrictMode";case o:return"Suspense";case b:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case l:var r=e;return ae(r)+".Consumer";case c:var t=e;return ae(t._context)+".Provider";case h:return We(e,e.render,"ForwardRef");case _:return y(e.type);case W:return y(e._render);case A:{var n=e,u=n._payload,s=n._init;try{return y(s(u))}catch{return null}}}return null}var $=0,ie,oe,ue,se,ce,fe,le;function de(){}de.__reactDisabledLog=!0;function Le(){{if($===0){ie=console.log,oe=console.info,ue=console.warn,se=console.error,ce=console.group,fe=console.groupCollapsed,le=console.groupEnd;var e={configurable:!0,enumerable:!0,value:de,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}}function Ne(){{if($--,$===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:ie}),info:R({},e,{value:oe}),warn:R({},e,{value:ue}),error:R({},e,{value:se}),group:R({},e,{value:ce}),groupCollapsed:R({},e,{value:fe}),groupEnd:R({},e,{value:le})})}$<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var F=S.ReactCurrentDispatcher,q;function L(e,r,t){{if(q===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
20
20
  `+q+e}}var M=!1,N;{var Ue=typeof WeakMap=="function"?WeakMap:Map;N=new Ue}function ve(e,r){if(!e||M)return"";{var t=N.get(e);if(t!==void 0)return t}var n;M=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=F.current,F.current=null,Le();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(T){n=T}Reflect.construct(e,[],i)}else{try{i.call()}catch(T){n=T}e.call(i.prototype)}}else{try{throw Error()}catch(T){n=T}e()}}catch(T){if(T&&n&&typeof T.stack=="string"){for(var a=T.stack.split(`
21
21
  `),m=n.stack.split(`
22
22
  `),d=a.length-1,p=m.length-1;d>=1&&p>=0&&a[d]!==m[p];)p--;for(;d>=1&&p>=0;d--,p--)if(a[d]!==m[p]){if(d!==1||p!==1)do if(d--,p--,p<0||a[d]!==m[p]){var j=`
23
- `+a[d].replace(" at new "," at ");return typeof e=="function"&&N.set(e,j),j}while(d>=1&&p>=0);break}}}finally{M=!1,F.current=s,Ne(),Error.prepareStackTrace=u}var D=e?e.displayName||e.name:"",ye=D?L(D):"";return typeof e=="function"&&N.set(e,ye),ye}function pe(e,r,t){return ve(e,!1)}function Ve(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function U(e,r,t){if(e==null)return"";if(typeof e=="function")return ve(e,Ve(e));if(typeof e=="string")return L(e);switch(e){case o:return L("Suspense");case b:return L("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case _:return pe(e.render);case h:return U(e.type,r,t);case W:return pe(e._render);case A:{var n=e,u=n._payload,s=n._init;try{return U(s(u),r,t)}catch{}}}return""}var ge={},_e=S.ReactDebugCurrentFrame;function V(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);_e.setExtraStackFrame(t)}else _e.setExtraStackFrame(null)}function Fe(e,r,t,n,u){{var s=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(s(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var m=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(d){a=d}a&&!(a instanceof Error)&&(V(u),O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),V(null)),a instanceof Error&&!(a.message in ge)&&(ge[a.message]=!0,V(u),O("Failed %s type: %s",t,a.message),V(null))}}}var Y=S.ReactCurrentOwner,B=Object.prototype.hasOwnProperty,qe={key:!0,ref:!0,__self:!0,__source:!0},he,Ee,G;G={};function Me(e){if(B.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Be(e){if(B.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Ge(e,r){if(typeof e.ref=="string"&&Y.current&&r&&Y.current.stateNode!==r){var t=y(Y.current.type);G[t]||(O('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',y(Y.current.type),e.ref),G[t]=!0)}}function Je(e,r){{var t=function(){he||(he=!0,O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function ze(e,r){{var t=function(){Ee||(Ee=!0,O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Ke=function(e,r,t,n,u,s,i){var a={$$typeof:x,type:e,key:r,ref:t,props:i,_owner:s};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function He(e,r,t,n,u){{var s,i={},a=null,m=null;t!==void 0&&(a=""+t),Be(r)&&(a=""+r.key),Me(r)&&(m=r.ref,Ge(r,u));for(s in r)B.call(r,s)&&!qe.hasOwnProperty(s)&&(i[s]=r[s]);if(e&&e.defaultProps){var d=e.defaultProps;for(s in d)i[s]===void 0&&(i[s]=d[s])}if(a||m){var p=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&Je(i,p),m&&ze(i,p)}return Ke(e,a,m,u,n,Y.current,i)}}var J=S.ReactCurrentOwner,be=S.ReactDebugCurrentFrame;function k(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);be.setExtraStackFrame(t)}else be.setExtraStackFrame(null)}var z;z=!1;function K(e){return typeof e=="object"&&e!==null&&e.$$typeof===x}function Re(){{if(J.current){var e=y(J.current.type);if(e)return`
23
+ `+a[d].replace(" at new "," at ");return typeof e=="function"&&N.set(e,j),j}while(d>=1&&p>=0);break}}}finally{M=!1,F.current=s,Ne(),Error.prepareStackTrace=u}var D=e?e.displayName||e.name:"",ye=D?L(D):"";return typeof e=="function"&&N.set(e,ye),ye}function pe(e,r,t){return ve(e,!1)}function Ve(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function U(e,r,t){if(e==null)return"";if(typeof e=="function")return ve(e,Ve(e));if(typeof e=="string")return L(e);switch(e){case o:return L("Suspense");case b:return L("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case h:return pe(e.render);case _:return U(e.type,r,t);case W:return pe(e._render);case A:{var n=e,u=n._payload,s=n._init;try{return U(s(u),r,t)}catch{}}}return""}var ge={},_e=S.ReactDebugCurrentFrame;function V(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);_e.setExtraStackFrame(t)}else _e.setExtraStackFrame(null)}function Fe(e,r,t,n,u){{var s=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(s(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var m=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(d){a=d}a&&!(a instanceof Error)&&(V(u),O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),V(null)),a instanceof Error&&!(a.message in ge)&&(ge[a.message]=!0,V(u),O("Failed %s type: %s",t,a.message),V(null))}}}var Y=S.ReactCurrentOwner,B=Object.prototype.hasOwnProperty,qe={key:!0,ref:!0,__self:!0,__source:!0},he,Ee,G;G={};function Me(e){if(B.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Be(e){if(B.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Ge(e,r){if(typeof e.ref=="string"&&Y.current&&r&&Y.current.stateNode!==r){var t=y(Y.current.type);G[t]||(O('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',y(Y.current.type),e.ref),G[t]=!0)}}function Je(e,r){{var t=function(){he||(he=!0,O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function ze(e,r){{var t=function(){Ee||(Ee=!0,O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Ke=function(e,r,t,n,u,s,i){var a={$$typeof:x,type:e,key:r,ref:t,props:i,_owner:s};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function He(e,r,t,n,u){{var s,i={},a=null,m=null;t!==void 0&&(a=""+t),Be(r)&&(a=""+r.key),Me(r)&&(m=r.ref,Ge(r,u));for(s in r)B.call(r,s)&&!qe.hasOwnProperty(s)&&(i[s]=r[s]);if(e&&e.defaultProps){var d=e.defaultProps;for(s in d)i[s]===void 0&&(i[s]=d[s])}if(a||m){var p=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&Je(i,p),m&&ze(i,p)}return Ke(e,a,m,u,n,Y.current,i)}}var J=S.ReactCurrentOwner,be=S.ReactDebugCurrentFrame;function k(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);be.setExtraStackFrame(t)}else be.setExtraStackFrame(null)}var z;z=!1;function K(e){return typeof e=="object"&&e!==null&&e.$$typeof===x}function Re(){{if(J.current){var e=y(J.current.type);if(e)return`
24
24
 
25
25
  Check the render method of \``+e+"`."}return""}}function Xe(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
26
26
 
27
27
  Check your code at `+r+":"+t+"."}return""}}var me={};function Ze(e){{var r=Re();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
28
28
 
29
- Check the top-level render call using <`+t+">.")}return r}}function Oe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Ze(r);if(me[t])return;me[t]=!0;var n="";e&&e._owner&&e._owner!==J.current&&(n=" It was passed a child from "+y(e._owner.type)+"."),k(e),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),k(null)}}function Pe(e,r){{if(typeof e!="object")return;if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];K(n)&&Oe(n,r)}else if(K(e))e._store&&(e._store.validated=!0);else if(e){var u=De(e);if(typeof u=="function"&&u!==e.entries)for(var s=u.call(e),i;!(i=s.next()).done;)K(i.value)&&Oe(i.value,r)}}}function Qe(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===_||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=y(r);Fe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!z){z=!0;var u=y(r);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",u||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function er(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){k(e),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),k(null);break}}e.ref!==null&&(k(e),O("Invalid attribute `ref` supplied to `React.Fragment`."),k(null))}}function xe(e,r,t,n,u,s){{var i=Ye(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var m=Xe(u);m?a+=m:a+=Re();var d;e===null?d="null":Array.isArray(e)?d="array":e!==void 0&&e.$$typeof===x?(d="<"+(y(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):d=typeof e,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",d,a)}var p=He(e,r,t,u,s);if(p==null)return p;if(i){var j=r.children;if(j!==void 0)if(n)if(Array.isArray(j)){for(var D=0;D<j.length;D++)Pe(j[D],e);Object.freeze&&Object.freeze(j)}else O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Pe(j,e)}return e===f.Fragment?er(p):Qe(p),p}}function rr(e,r,t){return xe(e,r,t,!0)}function tr(e,r,t){return xe(e,r,t,!1)}var nr=tr,ar=rr;f.jsx=nr,f.jsxs=ar}()}(X)),X}process.env.NODE_ENV==="production"?Z.exports=or():Z.exports=ur();var Ae=Z.exports;const sr={popups:[]},cr=C.createContext(sr),fr=()=>{const[f,E]=C.useState([]);return{popups:f}},lr=({children:f})=>{const E=fr();return Ae.jsx(cr.Provider,{value:E,children:f})},dr={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,setPhoneNumber:null,cabinetSettings:null,authToken:null,setAuthToken:null,createAxios:null},Se=C.createContext(dr),vr=({cabinetType:f})=>{const[E,R]=C.useState(null),[x,w]=C.useState(null),[g,P]=C.useState(null),[c,l]=C.useState(null);return C.useEffect(()=>{(async()=>{if(!g||!E||f===null)return;const b=await g.post("/externalCustomerCabinet/cabinetInfo",{phoneNumber:E,cabinetType:f});l(b.data)})()},[E,g]),{cabinetType:f,apiAxios:g,cabinetIsLoading:!1,cabinetSettings:c,phoneNumber:E,setPhoneNumber:R,authToken:x,setAuthToken:w,createAxios:(o,b)=>{const h=ir.create({headers:{common:{Authorization:o}}});h.defaults.baseURL=b,P(h)}}},pr=({children:f,cabinetType:E})=>{const R=vr({cabinetType:E});return Ae.jsx(Se.Provider,{value:{...R,cabinetType:E},children:f})};exports.AppContext=Se;exports.AppProvider=pr;exports.PopupProvider=lr;
29
+ Check the top-level render call using <`+t+">.")}return r}}function Oe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Ze(r);if(me[t])return;me[t]=!0;var n="";e&&e._owner&&e._owner!==J.current&&(n=" It was passed a child from "+y(e._owner.type)+"."),k(e),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),k(null)}}function Pe(e,r){{if(typeof e!="object")return;if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];K(n)&&Oe(n,r)}else if(K(e))e._store&&(e._store.validated=!0);else if(e){var u=De(e);if(typeof u=="function"&&u!==e.entries)for(var s=u.call(e),i;!(i=s.next()).done;)K(i.value)&&Oe(i.value,r)}}}function Qe(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===h||r.$$typeof===_))t=r.propTypes;else return;if(t){var n=y(r);Fe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!z){z=!0;var u=y(r);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",u||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function er(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){k(e),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),k(null);break}}e.ref!==null&&(k(e),O("Invalid attribute `ref` supplied to `React.Fragment`."),k(null))}}function xe(e,r,t,n,u,s){{var i=Ye(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var m=Xe(u);m?a+=m:a+=Re();var d;e===null?d="null":Array.isArray(e)?d="array":e!==void 0&&e.$$typeof===x?(d="<"+(y(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):d=typeof e,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",d,a)}var p=He(e,r,t,u,s);if(p==null)return p;if(i){var j=r.children;if(j!==void 0)if(n)if(Array.isArray(j)){for(var D=0;D<j.length;D++)Pe(j[D],e);Object.freeze&&Object.freeze(j)}else O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Pe(j,e)}return e===f.Fragment?er(p):Qe(p),p}}function rr(e,r,t){return xe(e,r,t,!0)}function tr(e,r,t){return xe(e,r,t,!1)}var nr=tr,ar=rr;f.jsx=nr,f.jsxs=ar}()}(X)),X}process.env.NODE_ENV==="production"?Z.exports=or():Z.exports=ur();var Ae=Z.exports;const sr={popups:[]},cr=C.createContext(sr),fr=()=>{const[f,E]=C.useState([]);return{popups:f}},lr=({children:f})=>{const E=fr();return Ae.jsx(cr.Provider,{value:E,children:f})},dr={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,setPhoneNumber:null,cabinetSettings:null,authToken:null,setAuthToken:null,createAxios:null},Se=C.createContext(dr),vr=({cabinetType:f})=>{const[E,R]=C.useState(null),[x,w]=C.useState(null),[g,P]=C.useState(null),[c,l]=C.useState(null);return C.useEffect(()=>{(async()=>{if(!g||!E||f===null)return;const b=await g.post("/externalCustomerCabinet/cabinetInfo",{phoneNumber:E,cabinetType:f});l(b.data)})()},[E,g]),{cabinetType:f,apiAxios:g,cabinetIsLoading:!1,cabinetSettings:c,phoneNumber:E,setPhoneNumber:R,authToken:x,setAuthToken:w,createAxios:(o,b)=>{const _=ir.create();_.defaults.baseURL=b,_.defaults.headers.common.Authorization=o,P(_)}}},pr=({children:f,cabinetType:E})=>{const R=vr({cabinetType:E});return Ae.jsx(Se.Provider,{value:{...R,cabinetType:E},children:f})};exports.AppContext=Se;exports.AppProvider=pr;exports.PopupProvider=lr;
@@ -31,23 +31,23 @@ function Se() {
31
31
  });
32
32
  if (l.join("") !== "0123456789")
33
33
  return !1;
34
- var _ = {};
34
+ var h = {};
35
35
  return "abcdefghijklmnopqrst".split("").forEach(function(o) {
36
- _[o] = o;
37
- }), Object.keys(Object.assign({}, _)).join("") === "abcdefghijklmnopqrst";
36
+ h[o] = o;
37
+ }), Object.keys(Object.assign({}, h)).join("") === "abcdefghijklmnopqrst";
38
38
  } catch {
39
39
  return !1;
40
40
  }
41
41
  }
42
42
  return H = T() ? Object.assign : function(g, P) {
43
- for (var c, l = x(g), _, o = 1; o < arguments.length; o++) {
43
+ for (var c, l = x(g), h, o = 1; o < arguments.length; o++) {
44
44
  c = Object(arguments[o]);
45
45
  for (var b in c)
46
46
  E.call(c, b) && (l[b] = c[b]);
47
47
  if (f) {
48
- _ = f(c);
49
- for (var h = 0; h < _.length; h++)
50
- R.call(c, _[h]) && (l[_[h]] = c[_[h]]);
48
+ h = f(c);
49
+ for (var _ = 0; _ < h.length; _++)
50
+ R.call(c, h[_]) && (l[h[_]] = c[h[_]]);
51
51
  }
52
52
  }
53
53
  return l;
@@ -72,15 +72,15 @@ function sr() {
72
72
  E = R("react.element"), D.Fragment = R("react.fragment");
73
73
  }
74
74
  var x = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, T = Object.prototype.hasOwnProperty, g = { key: !0, ref: !0, __self: !0, __source: !0 };
75
- function P(c, l, _) {
76
- var o, b = {}, h = null, w = null;
77
- _ !== void 0 && (h = "" + _), l.key !== void 0 && (h = "" + l.key), l.ref !== void 0 && (w = l.ref);
75
+ function P(c, l, h) {
76
+ var o, b = {}, _ = null, w = null;
77
+ h !== void 0 && (_ = "" + h), l.key !== void 0 && (_ = "" + l.key), l.ref !== void 0 && (w = l.ref);
78
78
  for (o in l)
79
79
  T.call(l, o) && !g.hasOwnProperty(o) && (b[o] = l[o]);
80
80
  if (c && c.defaultProps)
81
81
  for (o in l = c.defaultProps, l)
82
82
  b[o] === void 0 && (b[o] = l[o]);
83
- return { $$typeof: E, type: c, key: h, ref: w, props: b, _owner: x.current };
83
+ return { $$typeof: E, type: c, key: _, ref: w, props: b, _owner: x.current };
84
84
  }
85
85
  return D.jsx = P, D.jsxs = P, D;
86
86
  }
@@ -99,10 +99,10 @@ function cr() {
99
99
  process.env.NODE_ENV !== "production" && function() {
100
100
  var E = we, R = Se(), x = 60103, T = 60106;
101
101
  f.Fragment = 60107;
102
- var g = 60108, P = 60114, c = 60109, l = 60110, _ = 60112, o = 60113, b = 60120, h = 60115, w = 60116, W = 60121, Q = 60122, ee = 60117, re = 60129, te = 60131;
102
+ var g = 60108, P = 60114, c = 60109, l = 60110, h = 60112, o = 60113, b = 60120, _ = 60115, w = 60116, W = 60121, Q = 60122, ee = 60117, re = 60129, te = 60131;
103
103
  if (typeof Symbol == "function" && Symbol.for) {
104
- var d = Symbol.for;
105
- x = d("react.element"), T = d("react.portal"), f.Fragment = d("react.fragment"), g = d("react.strict_mode"), P = d("react.profiler"), c = d("react.provider"), l = d("react.context"), _ = d("react.forward_ref"), o = d("react.suspense"), b = d("react.suspense_list"), h = d("react.memo"), w = d("react.lazy"), W = d("react.block"), Q = d("react.server.block"), ee = d("react.fundamental"), d("react.scope"), d("react.opaque.id"), re = d("react.debug_trace_mode"), d("react.offscreen"), te = d("react.legacy_hidden");
104
+ var v = Symbol.for;
105
+ x = v("react.element"), T = v("react.portal"), f.Fragment = v("react.fragment"), g = v("react.strict_mode"), P = v("react.profiler"), c = v("react.provider"), l = v("react.context"), h = v("react.forward_ref"), o = v("react.suspense"), b = v("react.suspense_list"), _ = v("react.memo"), w = v("react.lazy"), W = v("react.block"), Q = v("react.server.block"), ee = v("react.fundamental"), v("react.scope"), v("react.opaque.id"), re = v("react.debug_trace_mode"), v("react.offscreen"), te = v("react.legacy_hidden");
106
106
  }
107
107
  var ne = typeof Symbol == "function" && Symbol.iterator, De = "@@iterator";
108
108
  function Ie(e) {
@@ -131,7 +131,7 @@ function cr() {
131
131
  }
132
132
  var Ye = !1;
133
133
  function We(e) {
134
- return !!(typeof e == "string" || typeof e == "function" || e === f.Fragment || e === P || e === re || e === g || e === o || e === b || e === te || Ye || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === h || e.$$typeof === c || e.$$typeof === l || e.$$typeof === _ || e.$$typeof === ee || e.$$typeof === W || e[0] === Q));
134
+ return !!(typeof e == "string" || typeof e == "function" || e === f.Fragment || e === P || e === re || e === g || e === o || e === b || e === te || Ye || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === _ || e.$$typeof === c || e.$$typeof === l || e.$$typeof === h || e.$$typeof === ee || e.$$typeof === W || e[0] === Q));
135
135
  }
136
136
  function Le(e, r, t) {
137
137
  var n = r.displayName || r.name || "";
@@ -169,9 +169,9 @@ function cr() {
169
169
  case c:
170
170
  var t = e;
171
171
  return ae(t._context) + ".Provider";
172
- case _:
173
- return Le(e, e.render, "ForwardRef");
174
172
  case h:
173
+ return Le(e, e.render, "ForwardRef");
174
+ case _:
175
175
  return y(e.type);
176
176
  case W:
177
177
  return y(e._render);
@@ -187,9 +187,9 @@ function cr() {
187
187
  return null;
188
188
  }
189
189
  var I = 0, ie, oe, ue, se, ce, fe, le;
190
- function ve() {
190
+ function de() {
191
191
  }
192
- ve.__reactDisabledLog = !0;
192
+ de.__reactDisabledLog = !0;
193
193
  function Ne() {
194
194
  {
195
195
  if (I === 0) {
@@ -197,7 +197,7 @@ function cr() {
197
197
  var e = {
198
198
  configurable: !0,
199
199
  enumerable: !0,
200
- value: ve,
200
+ value: de,
201
201
  writable: !0
202
202
  };
203
203
  Object.defineProperties(console, {
@@ -267,7 +267,7 @@ function cr() {
267
267
  var Ve = typeof WeakMap == "function" ? WeakMap : Map;
268
268
  N = new Ve();
269
269
  }
270
- function de(e, r) {
270
+ function ve(e, r) {
271
271
  if (!e || q)
272
272
  return "";
273
273
  {
@@ -317,18 +317,18 @@ function cr() {
317
317
  if (C && n && typeof C.stack == "string") {
318
318
  for (var a = C.stack.split(`
319
319
  `), m = n.stack.split(`
320
- `), v = a.length - 1, p = m.length - 1; v >= 1 && p >= 0 && a[v] !== m[p]; )
320
+ `), d = a.length - 1, p = m.length - 1; d >= 1 && p >= 0 && a[d] !== m[p]; )
321
321
  p--;
322
- for (; v >= 1 && p >= 0; v--, p--)
323
- if (a[v] !== m[p]) {
324
- if (v !== 1 || p !== 1)
322
+ for (; d >= 1 && p >= 0; d--, p--)
323
+ if (a[d] !== m[p]) {
324
+ if (d !== 1 || p !== 1)
325
325
  do
326
- if (v--, p--, p < 0 || a[v] !== m[p]) {
326
+ if (d--, p--, p < 0 || a[d] !== m[p]) {
327
327
  var j = `
328
- ` + a[v].replace(" at new ", " at ");
328
+ ` + a[d].replace(" at new ", " at ");
329
329
  return typeof e == "function" && N.set(e, j), j;
330
330
  }
331
- while (v >= 1 && p >= 0);
331
+ while (d >= 1 && p >= 0);
332
332
  break;
333
333
  }
334
334
  }
@@ -339,7 +339,7 @@ function cr() {
339
339
  return typeof e == "function" && N.set(e, ye), ye;
340
340
  }
341
341
  function pe(e, r, t) {
342
- return de(e, !1);
342
+ return ve(e, !1);
343
343
  }
344
344
  function Fe(e) {
345
345
  var r = e.prototype;
@@ -349,7 +349,7 @@ function cr() {
349
349
  if (e == null)
350
350
  return "";
351
351
  if (typeof e == "function")
352
- return de(e, Fe(e));
352
+ return ve(e, Fe(e));
353
353
  if (typeof e == "string")
354
354
  return L(e);
355
355
  switch (e) {
@@ -360,9 +360,9 @@ function cr() {
360
360
  }
361
361
  if (typeof e == "object")
362
362
  switch (e.$$typeof) {
363
- case _:
364
- return pe(e.render);
365
363
  case h:
364
+ return pe(e.render);
365
+ case _:
366
366
  return U(e.type, r, t);
367
367
  case W:
368
368
  return pe(e._render);
@@ -396,8 +396,8 @@ function cr() {
396
396
  throw m.name = "Invariant Violation", m;
397
397
  }
398
398
  a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
399
- } catch (v) {
400
- a = v;
399
+ } catch (d) {
400
+ a = d;
401
401
  }
402
402
  a && !(a instanceof Error) && (V(u), O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, i, typeof a), V(null)), a instanceof Error && !(a.message in ge) && (ge[a.message] = !0, V(u), O("Failed %s type: %s", t, a.message), V(null));
403
403
  }
@@ -490,9 +490,9 @@ function cr() {
490
490
  for (s in r)
491
491
  B.call(r, s) && !qe.hasOwnProperty(s) && (i[s] = r[s]);
492
492
  if (e && e.defaultProps) {
493
- var v = e.defaultProps;
494
- for (s in v)
495
- i[s] === void 0 && (i[s] = v[s]);
493
+ var d = e.defaultProps;
494
+ for (s in d)
495
+ i[s] === void 0 && (i[s] = d[s]);
496
496
  }
497
497
  if (a || m) {
498
498
  var p = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
@@ -590,9 +590,9 @@ Check the top-level render call using <` + t + ">.");
590
590
  var t;
591
591
  if (typeof r == "function")
592
592
  t = r.propTypes;
593
- else if (typeof r == "object" && (r.$$typeof === _ || // Note: Memo only checks outer props here.
593
+ else if (typeof r == "object" && (r.$$typeof === h || // Note: Memo only checks outer props here.
594
594
  // Inner props are checked in the reconciler.
595
- r.$$typeof === h))
595
+ r.$$typeof === _))
596
596
  t = r.propTypes;
597
597
  else
598
598
  return;
@@ -627,8 +627,8 @@ Check the top-level render call using <` + t + ">.");
627
627
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
628
628
  var m = Ze(u);
629
629
  m ? a += m : a += Re();
630
- var v;
631
- e === null ? v = "null" : Array.isArray(e) ? v = "array" : e !== void 0 && e.$$typeof === x ? (v = "<" + (y(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : v = typeof e, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", v, a);
630
+ var d;
631
+ e === null ? d = "null" : Array.isArray(e) ? d = "array" : e !== void 0 && e.$$typeof === x ? (d = "<" + (y(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : d = typeof e, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", d, a);
632
632
  }
633
633
  var p = Xe(e, r, t, u, s);
634
634
  if (p == null)
@@ -664,15 +664,15 @@ process.env.NODE_ENV === "production" ? Z.exports = sr() : Z.exports = cr();
664
664
  var ke = Z.exports;
665
665
  const fr = {
666
666
  popups: []
667
- }, lr = Ae(fr), vr = () => {
667
+ }, lr = Ae(fr), dr = () => {
668
668
  const [f, E] = Y([]);
669
669
  return {
670
670
  popups: f
671
671
  };
672
672
  }, Er = ({ children: f }) => {
673
- const E = vr();
673
+ const E = dr();
674
674
  return /* @__PURE__ */ ke.jsx(lr.Provider, { value: E, children: f });
675
- }, dr = {
675
+ }, vr = {
676
676
  cabinetType: null,
677
677
  cabinetIsLoading: !0,
678
678
  apiAxios: null,
@@ -682,7 +682,7 @@ const fr = {
682
682
  authToken: null,
683
683
  setAuthToken: null,
684
684
  createAxios: null
685
- }, pr = Ae(dr), gr = ({ cabinetType: f }) => {
685
+ }, pr = Ae(vr), gr = ({ cabinetType: f }) => {
686
686
  const [E, R] = Y(null), [x, T] = Y(null), [g, P] = Y(null), [c, l] = Y(null);
687
687
  return or(() => {
688
688
  (async () => {
@@ -704,14 +704,8 @@ const fr = {
704
704
  authToken: x,
705
705
  setAuthToken: T,
706
706
  createAxios: (o, b) => {
707
- const h = ur.create({
708
- headers: {
709
- common: {
710
- Authorization: o
711
- }
712
- }
713
- });
714
- h.defaults.baseURL = b, P(h);
707
+ const _ = ur.create();
708
+ _.defaults.baseURL = b, _.defaults.headers.common.Authorization = o, P(_);
715
709
  }
716
710
  };
717
711
  }, br = ({ children: f, cabinetType: E }) => {
@@ -2,28 +2,28 @@
2
2
  object-assign
3
3
  (c) Sindre Sorhus
4
4
  @license MIT
5
- */var $,ee;function re(){if(ee)return $;ee=1;var f=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;function T(g){if(g==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(g)}function A(){try{if(!Object.assign)return!1;var g=new String("abc");if(g[5]="de",Object.getOwnPropertyNames(g)[0]==="5")return!1;for(var x={},c=0;c<10;c++)x["_"+String.fromCharCode(c)]=c;var l=Object.getOwnPropertyNames(x).map(function(o){return x[o]});if(l.join("")!=="0123456789")return!1;var h={};return"abcdefghijklmnopqrst".split("").forEach(function(o){h[o]=o}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return $=A()?Object.assign:function(g,x){for(var c,l=T(g),h,o=1;o<arguments.length;o++){c=Object(arguments[o]);for(var b in c)E.call(c,b)&&(l[b]=c[b]);if(f){h=f(c);for(var _=0;_<h.length;_++)R.call(c,h[_])&&(l[h[_]]=c[h[_]])}}return l},$}/** @license React v17.0.2
5
+ */var $,ee;function re(){if(ee)return $;ee=1;var f=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;function T(g){if(g==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(g)}function A(){try{if(!Object.assign)return!1;var g=new String("abc");if(g[5]="de",Object.getOwnPropertyNames(g)[0]==="5")return!1;for(var x={},c=0;c<10;c++)x["_"+String.fromCharCode(c)]=c;var l=Object.getOwnPropertyNames(x).map(function(o){return x[o]});if(l.join("")!=="0123456789")return!1;var _={};return"abcdefghijklmnopqrst".split("").forEach(function(o){_[o]=o}),Object.keys(Object.assign({},_)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return $=A()?Object.assign:function(g,x){for(var c,l=T(g),_,o=1;o<arguments.length;o++){c=Object(arguments[o]);for(var b in c)E.call(c,b)&&(l[b]=c[b]);if(f){_=f(c);for(var h=0;h<_.length;h++)R.call(c,_[h])&&(l[_[h]]=c[_[h]])}}return l},$}/** @license React v17.0.2
6
6
  * react-jsx-runtime.production.min.js
7
7
  *
8
8
  * Copyright (c) Facebook, Inc. and its affiliates.
9
9
  *
10
10
  * This source code is licensed under the MIT license found in the
11
11
  * LICENSE file in the root directory of this source tree.
12
- */var te;function Ie(){if(te)return k;te=1,re();var f=O,E=60103;if(k.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var R=Symbol.for;E=R("react.element"),k.Fragment=R("react.fragment")}var T=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,A=Object.prototype.hasOwnProperty,g={key:!0,ref:!0,__self:!0,__source:!0};function x(c,l,h){var o,b={},_=null,S=null;h!==void 0&&(_=""+h),l.key!==void 0&&(_=""+l.key),l.ref!==void 0&&(S=l.ref);for(o in l)A.call(l,o)&&!g.hasOwnProperty(o)&&(b[o]=l[o]);if(c&&c.defaultProps)for(o in l=c.defaultProps,l)b[o]===void 0&&(b[o]=l[o]);return{$$typeof:E,type:c,key:_,ref:S,props:b,_owner:T.current}}return k.jsx=x,k.jsxs=x,k}var G={};/** @license React v17.0.2
12
+ */var te;function Ie(){if(te)return k;te=1,re();var f=O,E=60103;if(k.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var R=Symbol.for;E=R("react.element"),k.Fragment=R("react.fragment")}var T=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,A=Object.prototype.hasOwnProperty,g={key:!0,ref:!0,__self:!0,__source:!0};function x(c,l,_){var o,b={},h=null,S=null;_!==void 0&&(h=""+_),l.key!==void 0&&(h=""+l.key),l.ref!==void 0&&(S=l.ref);for(o in l)A.call(l,o)&&!g.hasOwnProperty(o)&&(b[o]=l[o]);if(c&&c.defaultProps)for(o in l=c.defaultProps,l)b[o]===void 0&&(b[o]=l[o]);return{$$typeof:E,type:c,key:h,ref:S,props:b,_owner:T.current}}return k.jsx=x,k.jsxs=x,k}var G={};/** @license React v17.0.2
13
13
  * react-jsx-runtime.development.js
14
14
  *
15
15
  * Copyright (c) Facebook, Inc. and its affiliates.
16
16
  *
17
17
  * This source code is licensed under the MIT license found in the
18
18
  * LICENSE file in the root directory of this source tree.
19
- */var ne;function Ye(){return ne||(ne=1,function(f){process.env.NODE_ENV!=="production"&&function(){var E=O,R=re(),T=60103,A=60106;f.Fragment=60107;var g=60108,x=60114,c=60109,l=60110,h=60112,o=60113,b=60120,_=60115,S=60116,N=60121,oe=60122,ue=60117,se=60129,ce=60131;if(typeof Symbol=="function"&&Symbol.for){var v=Symbol.for;T=v("react.element"),A=v("react.portal"),f.Fragment=v("react.fragment"),g=v("react.strict_mode"),x=v("react.profiler"),c=v("react.provider"),l=v("react.context"),h=v("react.forward_ref"),o=v("react.suspense"),b=v("react.suspense_list"),_=v("react.memo"),S=v("react.lazy"),N=v("react.block"),oe=v("react.server.block"),ue=v("react.fundamental"),v("react.scope"),v("react.opaque.id"),se=v("react.debug_trace_mode"),v("react.offscreen"),ce=v("react.legacy_hidden")}var fe=typeof Symbol=="function"&&Symbol.iterator,Be="@@iterator";function $e(e){if(e===null||typeof e!="object")return null;var r=fe&&e[fe]||e[Be];return typeof r=="function"?r:null}var D=E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function P(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ge("error",e,t)}}function Ge(e,r,t){{var n=D.ReactDebugCurrentFrame,u=n.getStackAddendum();u!==""&&(r+="%s",t=t.concat([u]));var s=t.map(function(i){return""+i});s.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,s)}}var Je=!1;function qe(e){return!!(typeof e=="string"||typeof e=="function"||e===f.Fragment||e===x||e===se||e===g||e===o||e===b||e===ce||Je||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===_||e.$$typeof===c||e.$$typeof===l||e.$$typeof===h||e.$$typeof===ue||e.$$typeof===N||e[0]===oe))}function ze(e,r,t){var n=r.displayName||r.name||"";return e.displayName||(n!==""?t+"("+n+")":t)}function le(e){return e.displayName||"Context"}function j(e){if(e==null)return null;if(typeof e.tag=="number"&&P("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case f.Fragment:return"Fragment";case A:return"Portal";case x:return"Profiler";case g:return"StrictMode";case o:return"Suspense";case b:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case l:var r=e;return le(r)+".Consumer";case c:var t=e;return le(t._context)+".Provider";case h:return ze(e,e.render,"ForwardRef");case _:return j(e.type);case N:return j(e._render);case S:{var n=e,u=n._payload,s=n._init;try{return j(s(u))}catch{return null}}}return null}var W=0,de,ve,pe,ge,he,_e,Ee;function be(){}be.__reactDisabledLog=!0;function Ke(){{if(W===0){de=console.log,ve=console.info,pe=console.warn,ge=console.error,he=console.group,_e=console.groupCollapsed,Ee=console.groupEnd;var e={configurable:!0,enumerable:!0,value:be,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}W++}}function He(){{if(W--,W===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:de}),info:R({},e,{value:ve}),warn:R({},e,{value:pe}),error:R({},e,{value:ge}),group:R({},e,{value:he}),groupCollapsed:R({},e,{value:_e}),groupEnd:R({},e,{value:Ee})})}W<0&&P("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var J=D.ReactCurrentDispatcher,q;function U(e,r,t){{if(q===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
19
+ */var ne;function Ye(){return ne||(ne=1,function(f){process.env.NODE_ENV!=="production"&&function(){var E=O,R=re(),T=60103,A=60106;f.Fragment=60107;var g=60108,x=60114,c=60109,l=60110,_=60112,o=60113,b=60120,h=60115,S=60116,N=60121,oe=60122,ue=60117,se=60129,ce=60131;if(typeof Symbol=="function"&&Symbol.for){var v=Symbol.for;T=v("react.element"),A=v("react.portal"),f.Fragment=v("react.fragment"),g=v("react.strict_mode"),x=v("react.profiler"),c=v("react.provider"),l=v("react.context"),_=v("react.forward_ref"),o=v("react.suspense"),b=v("react.suspense_list"),h=v("react.memo"),S=v("react.lazy"),N=v("react.block"),oe=v("react.server.block"),ue=v("react.fundamental"),v("react.scope"),v("react.opaque.id"),se=v("react.debug_trace_mode"),v("react.offscreen"),ce=v("react.legacy_hidden")}var fe=typeof Symbol=="function"&&Symbol.iterator,Be="@@iterator";function $e(e){if(e===null||typeof e!="object")return null;var r=fe&&e[fe]||e[Be];return typeof r=="function"?r:null}var D=E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function P(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ge("error",e,t)}}function Ge(e,r,t){{var n=D.ReactDebugCurrentFrame,u=n.getStackAddendum();u!==""&&(r+="%s",t=t.concat([u]));var s=t.map(function(i){return""+i});s.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,s)}}var Je=!1;function qe(e){return!!(typeof e=="string"||typeof e=="function"||e===f.Fragment||e===x||e===se||e===g||e===o||e===b||e===ce||Je||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===h||e.$$typeof===c||e.$$typeof===l||e.$$typeof===_||e.$$typeof===ue||e.$$typeof===N||e[0]===oe))}function ze(e,r,t){var n=r.displayName||r.name||"";return e.displayName||(n!==""?t+"("+n+")":t)}function le(e){return e.displayName||"Context"}function j(e){if(e==null)return null;if(typeof e.tag=="number"&&P("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case f.Fragment:return"Fragment";case A:return"Portal";case x:return"Profiler";case g:return"StrictMode";case o:return"Suspense";case b:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case l:var r=e;return le(r)+".Consumer";case c:var t=e;return le(t._context)+".Provider";case _:return ze(e,e.render,"ForwardRef");case h:return j(e.type);case N:return j(e._render);case S:{var n=e,u=n._payload,s=n._init;try{return j(s(u))}catch{return null}}}return null}var W=0,de,ve,pe,ge,he,_e,Ee;function be(){}be.__reactDisabledLog=!0;function Ke(){{if(W===0){de=console.log,ve=console.info,pe=console.warn,ge=console.error,he=console.group,_e=console.groupCollapsed,Ee=console.groupEnd;var e={configurable:!0,enumerable:!0,value:be,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}W++}}function He(){{if(W--,W===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:de}),info:R({},e,{value:ve}),warn:R({},e,{value:pe}),error:R({},e,{value:ge}),group:R({},e,{value:he}),groupCollapsed:R({},e,{value:_e}),groupEnd:R({},e,{value:Ee})})}W<0&&P("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var J=D.ReactCurrentDispatcher,q;function U(e,r,t){{if(q===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
20
20
  `+q+e}}var z=!1,V;{var Xe=typeof WeakMap=="function"?WeakMap:Map;V=new Xe}function Re(e,r){if(!e||z)return"";{var t=V.get(e);if(t!==void 0)return t}var n;z=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=J.current,J.current=null,Ke();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(w){n=w}Reflect.construct(e,[],i)}else{try{i.call()}catch(w){n=w}e.call(i.prototype)}}else{try{throw Error()}catch(w){n=w}e()}}catch(w){if(w&&n&&typeof w.stack=="string"){for(var a=w.stack.split(`
21
21
  `),m=n.stack.split(`
22
22
  `),d=a.length-1,p=m.length-1;d>=1&&p>=0&&a[d]!==m[p];)p--;for(;d>=1&&p>=0;d--,p--)if(a[d]!==m[p]){if(d!==1||p!==1)do if(d--,p--,p<0||a[d]!==m[p]){var C=`
23
- `+a[d].replace(" at new "," at ");return typeof e=="function"&&V.set(e,C),C}while(d>=1&&p>=0);break}}}finally{z=!1,J.current=s,He(),Error.prepareStackTrace=u}var Y=e?e.displayName||e.name:"",ke=Y?U(Y):"";return typeof e=="function"&&V.set(e,ke),ke}function me(e,r,t){return Re(e,!1)}function Ze(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function F(e,r,t){if(e==null)return"";if(typeof e=="function")return Re(e,Ze(e));if(typeof e=="string")return U(e);switch(e){case o:return U("Suspense");case b:return U("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case h:return me(e.render);case _:return F(e.type,r,t);case N:return me(e._render);case S:{var n=e,u=n._payload,s=n._init;try{return F(s(u),r,t)}catch{}}}return""}var Oe={},Pe=D.ReactDebugCurrentFrame;function M(e){if(e){var r=e._owner,t=F(e.type,e._source,r?r.type:null);Pe.setExtraStackFrame(t)}else Pe.setExtraStackFrame(null)}function Qe(e,r,t,n,u){{var s=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(s(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var m=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(d){a=d}a&&!(a instanceof Error)&&(M(u),P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),M(null)),a instanceof Error&&!(a.message in Oe)&&(Oe[a.message]=!0,M(u),P("Failed %s type: %s",t,a.message),M(null))}}}var L=D.ReactCurrentOwner,K=Object.prototype.hasOwnProperty,er={key:!0,ref:!0,__self:!0,__source:!0},xe,ye,H;H={};function rr(e){if(K.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function tr(e){if(K.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function nr(e,r){if(typeof e.ref=="string"&&L.current&&r&&L.current.stateNode!==r){var t=j(L.current.type);H[t]||(P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',j(L.current.type),e.ref),H[t]=!0)}}function ar(e,r){{var t=function(){xe||(xe=!0,P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function ir(e,r){{var t=function(){ye||(ye=!0,P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var or=function(e,r,t,n,u,s,i){var a={$$typeof:T,type:e,key:r,ref:t,props:i,_owner:s};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function ur(e,r,t,n,u){{var s,i={},a=null,m=null;t!==void 0&&(a=""+t),tr(r)&&(a=""+r.key),rr(r)&&(m=r.ref,nr(r,u));for(s in r)K.call(r,s)&&!er.hasOwnProperty(s)&&(i[s]=r[s]);if(e&&e.defaultProps){var d=e.defaultProps;for(s in d)i[s]===void 0&&(i[s]=d[s])}if(a||m){var p=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&ar(i,p),m&&ir(i,p)}return or(e,a,m,u,n,L.current,i)}}var X=D.ReactCurrentOwner,Te=D.ReactDebugCurrentFrame;function I(e){if(e){var r=e._owner,t=F(e.type,e._source,r?r.type:null);Te.setExtraStackFrame(t)}else Te.setExtraStackFrame(null)}var Z;Z=!1;function Q(e){return typeof e=="object"&&e!==null&&e.$$typeof===T}function je(){{if(X.current){var e=j(X.current.type);if(e)return`
23
+ `+a[d].replace(" at new "," at ");return typeof e=="function"&&V.set(e,C),C}while(d>=1&&p>=0);break}}}finally{z=!1,J.current=s,He(),Error.prepareStackTrace=u}var Y=e?e.displayName||e.name:"",ke=Y?U(Y):"";return typeof e=="function"&&V.set(e,ke),ke}function me(e,r,t){return Re(e,!1)}function Ze(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function F(e,r,t){if(e==null)return"";if(typeof e=="function")return Re(e,Ze(e));if(typeof e=="string")return U(e);switch(e){case o:return U("Suspense");case b:return U("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case _:return me(e.render);case h:return F(e.type,r,t);case N:return me(e._render);case S:{var n=e,u=n._payload,s=n._init;try{return F(s(u),r,t)}catch{}}}return""}var Oe={},Pe=D.ReactDebugCurrentFrame;function M(e){if(e){var r=e._owner,t=F(e.type,e._source,r?r.type:null);Pe.setExtraStackFrame(t)}else Pe.setExtraStackFrame(null)}function Qe(e,r,t,n,u){{var s=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(s(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var m=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(d){a=d}a&&!(a instanceof Error)&&(M(u),P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),M(null)),a instanceof Error&&!(a.message in Oe)&&(Oe[a.message]=!0,M(u),P("Failed %s type: %s",t,a.message),M(null))}}}var L=D.ReactCurrentOwner,K=Object.prototype.hasOwnProperty,er={key:!0,ref:!0,__self:!0,__source:!0},xe,ye,H;H={};function rr(e){if(K.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function tr(e){if(K.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function nr(e,r){if(typeof e.ref=="string"&&L.current&&r&&L.current.stateNode!==r){var t=j(L.current.type);H[t]||(P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',j(L.current.type),e.ref),H[t]=!0)}}function ar(e,r){{var t=function(){xe||(xe=!0,P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function ir(e,r){{var t=function(){ye||(ye=!0,P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var or=function(e,r,t,n,u,s,i){var a={$$typeof:T,type:e,key:r,ref:t,props:i,_owner:s};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function ur(e,r,t,n,u){{var s,i={},a=null,m=null;t!==void 0&&(a=""+t),tr(r)&&(a=""+r.key),rr(r)&&(m=r.ref,nr(r,u));for(s in r)K.call(r,s)&&!er.hasOwnProperty(s)&&(i[s]=r[s]);if(e&&e.defaultProps){var d=e.defaultProps;for(s in d)i[s]===void 0&&(i[s]=d[s])}if(a||m){var p=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&ar(i,p),m&&ir(i,p)}return or(e,a,m,u,n,L.current,i)}}var X=D.ReactCurrentOwner,Te=D.ReactDebugCurrentFrame;function I(e){if(e){var r=e._owner,t=F(e.type,e._source,r?r.type:null);Te.setExtraStackFrame(t)}else Te.setExtraStackFrame(null)}var Z;Z=!1;function Q(e){return typeof e=="object"&&e!==null&&e.$$typeof===T}function je(){{if(X.current){var e=j(X.current.type);if(e)return`
24
24
 
25
25
  Check the render method of \``+e+"`."}return""}}function sr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
26
26
 
27
27
  Check your code at `+r+":"+t+"."}return""}}var Ce={};function cr(e){{var r=je();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
28
28
 
29
- Check the top-level render call using <`+t+">.")}return r}}function we(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=cr(r);if(Ce[t])return;Ce[t]=!0;var n="";e&&e._owner&&e._owner!==X.current&&(n=" It was passed a child from "+j(e._owner.type)+"."),I(e),P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),I(null)}}function Ae(e,r){{if(typeof e!="object")return;if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];Q(n)&&we(n,r)}else if(Q(e))e._store&&(e._store.validated=!0);else if(e){var u=$e(e);if(typeof u=="function"&&u!==e.entries)for(var s=u.call(e),i;!(i=s.next()).done;)Q(i.value)&&we(i.value,r)}}}function fr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===h||r.$$typeof===_))t=r.propTypes;else return;if(t){var n=j(r);Qe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Z){Z=!0;var u=j(r);P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",u||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){I(e),P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),I(null);break}}e.ref!==null&&(I(e),P("Invalid attribute `ref` supplied to `React.Fragment`."),I(null))}}function Se(e,r,t,n,u,s){{var i=qe(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var m=sr(u);m?a+=m:a+=je();var d;e===null?d="null":Array.isArray(e)?d="array":e!==void 0&&e.$$typeof===T?(d="<"+(j(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):d=typeof e,P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",d,a)}var p=ur(e,r,t,u,s);if(p==null)return p;if(i){var C=r.children;if(C!==void 0)if(n)if(Array.isArray(C)){for(var Y=0;Y<C.length;Y++)Ae(C[Y],e);Object.freeze&&Object.freeze(C)}else P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ae(C,e)}return e===f.Fragment?lr(p):fr(p),p}}function dr(e,r,t){return Se(e,r,t,!0)}function vr(e,r,t){return Se(e,r,t,!1)}var pr=vr,gr=dr;f.jsx=pr,f.jsxs=gr}()}(G)),G}process.env.NODE_ENV==="production"?B.exports=Ie():B.exports=Ye();var ae=B.exports;const We={popups:[]},Le=O.createContext(We),Ne=()=>{const[f,E]=O.useState([]);return{popups:f}},Ue=({children:f})=>{const E=Ne();return ae.jsx(Le.Provider,{value:E,children:f})},Ve={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,setPhoneNumber:null,cabinetSettings:null,authToken:null,setAuthToken:null,createAxios:null},ie=O.createContext(Ve),Fe=({cabinetType:f})=>{const[E,R]=O.useState(null),[T,A]=O.useState(null),[g,x]=O.useState(null),[c,l]=O.useState(null);return O.useEffect(()=>{(async()=>{if(!g||!E||f===null)return;const b=await g.post("/externalCustomerCabinet/cabinetInfo",{phoneNumber:E,cabinetType:f});l(b.data)})()},[E,g]),{cabinetType:f,apiAxios:g,cabinetIsLoading:!1,cabinetSettings:c,phoneNumber:E,setPhoneNumber:R,authToken:T,setAuthToken:A,createAxios:(o,b)=>{const _=De.create({headers:{common:{Authorization:o}}});_.defaults.baseURL=b,x(_)}}},Me=({children:f,cabinetType:E})=>{const R=Fe({cabinetType:E});return ae.jsx(ie.Provider,{value:{...R,cabinetType:E},children:f})};y.AppContext=ie,y.AppProvider=Me,y.PopupProvider=Ue,Object.defineProperty(y,Symbol.toStringTag,{value:"Module"})});
29
+ Check the top-level render call using <`+t+">.")}return r}}function we(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=cr(r);if(Ce[t])return;Ce[t]=!0;var n="";e&&e._owner&&e._owner!==X.current&&(n=" It was passed a child from "+j(e._owner.type)+"."),I(e),P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),I(null)}}function Ae(e,r){{if(typeof e!="object")return;if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];Q(n)&&we(n,r)}else if(Q(e))e._store&&(e._store.validated=!0);else if(e){var u=$e(e);if(typeof u=="function"&&u!==e.entries)for(var s=u.call(e),i;!(i=s.next()).done;)Q(i.value)&&we(i.value,r)}}}function fr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===_||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=j(r);Qe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Z){Z=!0;var u=j(r);P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",u||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){I(e),P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),I(null);break}}e.ref!==null&&(I(e),P("Invalid attribute `ref` supplied to `React.Fragment`."),I(null))}}function Se(e,r,t,n,u,s){{var i=qe(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var m=sr(u);m?a+=m:a+=je();var d;e===null?d="null":Array.isArray(e)?d="array":e!==void 0&&e.$$typeof===T?(d="<"+(j(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):d=typeof e,P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",d,a)}var p=ur(e,r,t,u,s);if(p==null)return p;if(i){var C=r.children;if(C!==void 0)if(n)if(Array.isArray(C)){for(var Y=0;Y<C.length;Y++)Ae(C[Y],e);Object.freeze&&Object.freeze(C)}else P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ae(C,e)}return e===f.Fragment?lr(p):fr(p),p}}function dr(e,r,t){return Se(e,r,t,!0)}function vr(e,r,t){return Se(e,r,t,!1)}var pr=vr,gr=dr;f.jsx=pr,f.jsxs=gr}()}(G)),G}process.env.NODE_ENV==="production"?B.exports=Ie():B.exports=Ye();var ae=B.exports;const We={popups:[]},Le=O.createContext(We),Ne=()=>{const[f,E]=O.useState([]);return{popups:f}},Ue=({children:f})=>{const E=Ne();return ae.jsx(Le.Provider,{value:E,children:f})},Ve={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,setPhoneNumber:null,cabinetSettings:null,authToken:null,setAuthToken:null,createAxios:null},ie=O.createContext(Ve),Fe=({cabinetType:f})=>{const[E,R]=O.useState(null),[T,A]=O.useState(null),[g,x]=O.useState(null),[c,l]=O.useState(null);return O.useEffect(()=>{(async()=>{if(!g||!E||f===null)return;const b=await g.post("/externalCustomerCabinet/cabinetInfo",{phoneNumber:E,cabinetType:f});l(b.data)})()},[E,g]),{cabinetType:f,apiAxios:g,cabinetIsLoading:!1,cabinetSettings:c,phoneNumber:E,setPhoneNumber:R,authToken:T,setAuthToken:A,createAxios:(o,b)=>{const h=De.create();h.defaults.baseURL=b,h.defaults.headers.common.Authorization=o,x(h)}}},Me=({children:f,cabinetType:E})=>{const R=Fe({cabinetType:E});return ae.jsx(ie.Provider,{value:{...R,cabinetType:E},children:f})};y.AppContext=ie,y.AppProvider=Me,y.PopupProvider=Ue,Object.defineProperty(y,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bonuspluscomponents",
3
3
  "private": false,
4
- "version": "0.0.52",
4
+ "version": "0.0.53",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",