bonuspluscomponents 0.0.39 → 0.0.41
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.
- package/dist/AppContext/Context/AppContext.d.ts +30 -0
- package/dist/AppContext/Context/AppContext.d.ts.map +1 -0
- package/dist/AppContext/Context/PopupContext.d.ts +17 -0
- package/dist/AppContext/Context/PopupContext.d.ts.map +1 -0
- package/dist/bonuspluscomponents.cjs.js +10 -211
- package/dist/bonuspluscomponents.es.js +409 -7649
- package/dist/bonuspluscomponents.umd.js +10 -211
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("react");var X={exports:{}},A={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var Pe;function ur(){if(Pe)return A;Pe=1;var d=x,b=Symbol.for("react.element"),V=Symbol.for("react.fragment"),T=Object.prototype.hasOwnProperty,F=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,I={key:!0,ref:!0,__self:!0,__source:!0};function w(E,c,P){var p,h={},_=null,$=null;P!==void 0&&(_=""+P),c.key!==void 0&&(_=""+c.key),c.ref!==void 0&&($=c.ref);for(p in c)T.call(c,p)&&!I.hasOwnProperty(p)&&(h[p]=c[p]);if(E&&E.defaultProps)for(p in c=E.defaultProps,c)h[p]===void 0&&(h[p]=c[p]);return{$$typeof:b,type:E,key:_,ref:$,props:h,_owner:F.current}}return A.Fragment=V,A.jsx=w,A.jsxs=w,A}var D={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,215 +14,14 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
18
|
-
`+
|
|
19
|
-
`),
|
|
20
|
-
`),
|
|
21
|
-
`+
|
|
17
|
+
*/var Ce;function sr(){return Ce||(Ce=1,process.env.NODE_ENV!=="production"&&function(){var d=x,b=Symbol.for("react.element"),V=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),w=Symbol.for("react.provider"),E=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),Q=Symbol.iterator,Se="@@iterator";function Oe(e){if(e===null||typeof e!="object")return null;var r=Q&&e[Q]||e[Se];return typeof r=="function"?r:null}var C=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function f(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];xe("error",e,t)}}function xe(e,r,t){{var n=C.ReactDebugCurrentFrame,i=n.getStackAddendum();i!==""&&(r+="%s",t=t.concat([i]));var u=t.map(function(o){return String(o)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var we=!1,je=!1,ke=!1,Ae=!1,De=!1,ee;ee=Symbol.for("react.module.reference");function Fe(e){return!!(typeof e=="string"||typeof e=="function"||e===T||e===I||De||e===F||e===P||e===p||Ae||e===$||we||je||ke||typeof e=="object"&&e!==null&&(e.$$typeof===_||e.$$typeof===h||e.$$typeof===w||e.$$typeof===E||e.$$typeof===c||e.$$typeof===ee||e.getModuleId!==void 0))}function Ie(e,r,t){var n=e.displayName;if(n)return n;var i=r.displayName||r.name||"";return i!==""?t+"("+i+")":t}function re(e){return e.displayName||"Context"}function m(e){if(e==null)return null;if(typeof e.tag=="number"&&f("Received an unexpected object in getComponentNameFromType(). 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 T:return"Fragment";case V:return"Portal";case I:return"Profiler";case F:return"StrictMode";case P:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case E:var r=e;return re(r)+".Consumer";case w:var t=e;return re(t._context)+".Provider";case c:return Ie(e,e.render,"ForwardRef");case h:var n=e.displayName||null;return n!==null?n:m(e.type)||"Memo";case _:{var i=e,u=i._payload,o=i._init;try{return m(o(u))}catch{return null}}}return null}var R=Object.assign,j=0,te,ne,ae,oe,ie,ue,se;function le(){}le.__reactDisabledLog=!0;function $e(){{if(j===0){te=console.log,ne=console.info,ae=console.warn,oe=console.error,ie=console.group,ue=console.groupCollapsed,se=console.groupEnd;var e={configurable:!0,enumerable:!0,value:le,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}j++}}function We(){{if(j--,j===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:te}),info:R({},e,{value:ne}),warn:R({},e,{value:ae}),error:R({},e,{value:oe}),group:R({},e,{value:ie}),groupCollapsed:R({},e,{value:ue}),groupEnd:R({},e,{value:se})})}j<0&&f("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var U=C.ReactCurrentDispatcher,q;function W(e,r,t){{if(q===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
|
|
18
|
+
`+q+e}}var B=!1,Y;{var Ye=typeof WeakMap=="function"?WeakMap:Map;Y=new Ye}function ce(e,r){if(!e||B)return"";{var t=Y.get(e);if(t!==void 0)return t}var n;B=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=U.current,U.current=null,$e();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(y){n=y}Reflect.construct(e,[],o)}else{try{o.call()}catch(y){n=y}e.call(o.prototype)}}else{try{throw Error()}catch(y){n=y}e()}}catch(y){if(y&&n&&typeof y.stack=="string"){for(var a=y.stack.split(`
|
|
19
|
+
`),v=n.stack.split(`
|
|
20
|
+
`),s=a.length-1,l=v.length-1;s>=1&&l>=0&&a[s]!==v[l];)l--;for(;s>=1&&l>=0;s--,l--)if(a[s]!==v[l]){if(s!==1||l!==1)do if(s--,l--,l<0||a[s]!==v[l]){var g=`
|
|
21
|
+
`+a[s].replace(" at new "," at ");return e.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",e.displayName)),typeof e=="function"&&Y.set(e,g),g}while(s>=1&&l>=0);break}}}finally{B=!1,U.current=u,We(),Error.prepareStackTrace=i}var O=e?e.displayName||e.name:"",Te=O?W(O):"";return typeof e=="function"&&Y.set(e,Te),Te}function Ne(e,r,t){return ce(e,!1)}function Le(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function N(e,r,t){if(e==null)return"";if(typeof e=="function")return ce(e,Le(e));if(typeof e=="string")return W(e);switch(e){case P:return W("Suspense");case p:return W("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case c:return Ne(e.render);case h:return N(e.type,r,t);case _:{var n=e,i=n._payload,u=n._init;try{return N(u(i),r,t)}catch{}}}return""}var L=Object.prototype.hasOwnProperty,fe={},ve=C.ReactDebugCurrentFrame;function M(e){if(e){var r=e._owner,t=N(e.type,e._source,r?r.type:null);ve.setExtraStackFrame(t)}else ve.setExtraStackFrame(null)}function Me(e,r,t,n,i){{var u=Function.call.bind(L);for(var o in e)if(u(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var v=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw v.name="Invariant Violation",v}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(M(i),f("%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,o,typeof a),M(null)),a instanceof Error&&!(a.message in fe)&&(fe[a.message]=!0,M(i),f("Failed %s type: %s",t,a.message),M(null))}}}var Ve=Array.isArray;function J(e){return Ve(e)}function Ue(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function qe(e){try{return de(e),!1}catch{return!0}}function de(e){return""+e}function pe(e){if(qe(e))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ue(e)),de(e)}var k=C.ReactCurrentOwner,Be={key:!0,ref:!0,__self:!0,__source:!0},be,ge,G;G={};function Je(e){if(L.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ge(e){if(L.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function ze(e,r){if(typeof e.ref=="string"&&k.current&&r&&k.current.stateNode!==r){var t=m(k.current.type);G[t]||(f('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',m(k.current.type),e.ref),G[t]=!0)}}function Ke(e,r){{var t=function(){be||(be=!0,f("%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 He(e,r){{var t=function(){ge||(ge=!0,f("%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 Xe=function(e,r,t,n,i,u,o){var a={$$typeof:b,type:e,key:r,ref:t,props:o,_owner:u};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:i}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function Ze(e,r,t,n,i){{var u,o={},a=null,v=null;t!==void 0&&(pe(t),a=""+t),Ge(r)&&(pe(r.key),a=""+r.key),Je(r)&&(v=r.ref,ze(r,i));for(u in r)L.call(r,u)&&!Be.hasOwnProperty(u)&&(o[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)o[u]===void 0&&(o[u]=s[u])}if(a||v){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&Ke(o,l),v&&He(o,l)}return Xe(e,a,v,i,n,k.current,o)}}var z=C.ReactCurrentOwner,he=C.ReactDebugCurrentFrame;function S(e){if(e){var r=e._owner,t=N(e.type,e._source,r?r.type:null);he.setExtraStackFrame(t)}else he.setExtraStackFrame(null)}var K;K=!1;function H(e){return typeof e=="object"&&e!==null&&e.$$typeof===b}function me(){{if(z.current){var e=m(z.current.type);if(e)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+
|
|
23
|
+
Check the render method of \``+e+"`."}return""}}function Qe(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
|
|
24
24
|
|
|
25
|
-
Check your code at `+
|
|
25
|
+
Check your code at `+r+":"+t+"."}return""}}var ye={};function er(e){{var r=me();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
26
26
|
|
|
27
|
-
Check the top-level render call using <`+P+">.")}return w}}function ao(p,w){{if(!p._store||p._store.validated||p.key!=null)return;p._store.validated=!0;var P=za(w);if(io[P])return;io[P]=!0;var L="";p&&p._owner&&p._owner!==Lr.current&&(L=" It was passed a child from "+Z(p._owner.type)+"."),dt(p),T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',P,L),dt(null)}}function so(p,w){{if(typeof p!="object")return;if(jt(p))for(var P=0;P<p.length;P++){var L=p[P];zr(L)&&ao(L,w)}else if(zr(p))p._store&&(p._store.validated=!0);else if(p){var te=v(p);if(typeof te=="function"&&te!==p.entries)for(var pe=te.call(p),J;!(J=pe.next()).done;)zr(J.value)&&ao(J.value,w)}}}function Ba(p){{var w=p.type;if(w==null||typeof w=="string")return;var P;if(typeof w=="function")P=w.propTypes;else if(typeof w=="object"&&(w.$$typeof===l||w.$$typeof===f))P=w.propTypes;else return;if(P){var L=Z(w);At(P,p.props,"prop",L,p)}else if(w.PropTypes!==void 0&&!Fr){Fr=!0;var te=Z(w);T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",te||"Unknown")}typeof w.getDefaultProps=="function"&&!w.getDefaultProps.isReactClassApproved&&T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Wa(p){{for(var w=Object.keys(p.props),P=0;P<w.length;P++){var L=w[P];if(L!=="children"&&L!=="key"){dt(p),T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",L),dt(null);break}}p.ref!==null&&(dt(p),T("Invalid attribute `ref` supplied to `React.Fragment`."),dt(null))}}function co(p,w,P,L,te,pe){{var J=j(p);if(!J){var H="";(p===void 0||typeof p=="object"&&p!==null&&Object.keys(p).length===0)&&(H+=" 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 Ae=Fa(te);Ae?H+=Ae:H+=oo();var Se;p===null?Se="null":jt(p)?Se="array":p!==void 0&&p.$$typeof===t?(Se="<"+(Z(p.type)||"Unknown")+" />",H=" Did you accidentally export a JSX literal instead of a component?"):Se=typeof p,T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Se,H)}var Oe=La(p,w,P,te,pe);if(Oe==null)return Oe;if(J){var Le=w.children;if(Le!==void 0)if(L)if(jt(Le)){for(var pt=0;pt<Le.length;pt++)so(Le[pt],p);Object.freeze&&Object.freeze(Le)}else T("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 so(Le,p)}return p===n?Wa(Oe):Ba(Oe),Oe}}function Ua(p,w,P){return co(p,w,P,!0)}function Ya(p,w,P){return co(p,w,P,!1)}var qa=Ya,Ka=Ua;Dt.Fragment=n,Dt.jsx=qa,Dt.jsxs=Ka}()),Dt}process.env.NODE_ENV==="production"?un.exports=Ja():un.exports=Za();var oe=un.exports;const Qa=({number:e})=>oe.jsx("div",{children:e});function Re(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(process.env.NODE_ENV!=="production"){var o=cs[e],i=o?typeof o=="function"?o.apply(null,r):o:"unknown error nr: "+e;throw Error("[Immer] "+i)}throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(a){return"'"+a+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function rt(e){return!!e&&!!e[ge]}function He(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var o=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return o===Object||typeof o=="function"&&Function.toString.call(o)===us}(e)||Array.isArray(e)||!!e[bo]||!!(!((t=e.constructor)===null||t===void 0)&&t[bo])||Rn(e)||Cn(e))}function st(e,t,r){r===void 0&&(r=!1),Ct(e)===0?(r?Object.keys:_t)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,o){return t(o,n,e)})}function Ct(e){var t=e[ge];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Rn(e)?2:Cn(e)?3:0}function Et(e,t){return Ct(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function es(e,t){return Ct(e)===2?e.get(t):e[t]}function ki(e,t,r){var n=Ct(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Mi(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Rn(e){return as&&e instanceof Map}function Cn(e){return ss&&e instanceof Set}function Qe(e){return e.o||e.t}function Pn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Vi(e);delete t[ge];for(var r=_t(t),n=0;n<r.length;n++){var o=r[n],i=t[o];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function $n(e,t){return t===void 0&&(t=!1),An(e)||rt(e)||!He(e)||(Ct(e)>1&&(e.set=e.add=e.clear=e.delete=ts),Object.freeze(e),t&&st(e,function(r,n){return $n(n,!0)},!0)),e}function ts(){Re(2)}function An(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ye(e){var t=pn[e];return t||Re(18,e),t}function rs(e,t){pn[e]||(pn[e]=t)}function ln(){return process.env.NODE_ENV==="production"||Ot||Re(0),Ot}function Br(e,t){t&&(Ye("Patches"),e.u=[],e.s=[],e.v=t)}function dr(e){fn(e),e.p.forEach(ns),e.p=null}function fn(e){e===Ot&&(Ot=e.l)}function po(e){return Ot={p:[],l:Ot,h:e,m:!0,_:0}}function ns(e){var t=e[ge];t.i===0||t.i===1?t.j():t.g=!0}function Wr(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||Ye("ES5").S(t,e,n),n?(r[ge].P&&(dr(t),Re(4)),He(e)&&(e=pr(t,e),t.l||mr(t,e)),t.u&&Ye("Patches").M(r[ge].t,e,t.u,t.s)):e=pr(t,r,[]),dr(t),t.u&&t.v(t.u,t.s),e!==Di?e:void 0}function pr(e,t,r){if(An(t))return t;var n=t[ge];if(!n)return st(t,function(s,l){return mo(e,n,t,s,l,r)},!0),t;if(n.A!==e)return t;if(!n.P)return mr(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=Pn(n.k):n.o,i=o,a=!1;n.i===3&&(i=new Set(o),o.clear(),a=!0),st(i,function(s,l){return mo(e,n,o,s,l,r,a)}),mr(e,o,!1),r&&e.u&&Ye("Patches").N(n,r,e.u,e.s)}return n.o}function mo(e,t,r,n,o,i,a){if(process.env.NODE_ENV!=="production"&&o===r&&Re(5),rt(o)){var s=pr(e,o,i&&t&&t.i!==3&&!Et(t.R,n)?i.concat(n):void 0);if(ki(r,n,s),!rt(s))return;e.m=!1}else a&&r.add(o);if(He(o)&&!An(o)){if(!e.h.D&&e._<1)return;pr(e,o),t&&t.A.l||mr(e,o)}}function mr(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&$n(t,r)}function Ur(e,t){var r=e[ge];return(r?Qe(r):e)[t]}function ho(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function et(e){e.P||(e.P=!0,e.l&&et(e.l))}function Yr(e){e.o||(e.o=Pn(e.t))}function dn(e,t,r){var n=Rn(t)?Ye("MapSet").F(t,r):Cn(t)?Ye("MapSet").T(t,r):e.O?function(o,i){var a=Array.isArray(o),s={i:a?1:0,A:i?i.A:ln(),P:!1,I:!1,R:{},l:i,t:o,k:null,o:null,j:null,C:!1},l=s,c=Ut;a&&(l=[s],c=zt);var u=Proxy.revocable(l,c),f=u.revoke,d=u.proxy;return s.k=d,s.j=f,d}(t,r):Ye("ES5").J(t,r);return(r?r.A:ln()).p.push(n),n}function os(e){return rt(e)||Re(22,e),function t(r){if(!He(r))return r;var n,o=r[ge],i=Ct(r);if(o){if(!o.P&&(o.i<4||!Ye("ES5").K(o)))return o.t;o.I=!0,n=yo(r,i),o.I=!1}else n=yo(r,i);return st(n,function(a,s){o&&es(o.t,a)===s||ki(n,a,t(s))}),i===3?new Set(n):n}(e)}function yo(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Pn(e)}function is(){function e(a,s){var l=i[a];return l?l.enumerable=s:i[a]=l={configurable:!0,enumerable:s,get:function(){var c=this[ge];return process.env.NODE_ENV!=="production"&&o(c),Ut.get(c,a)},set:function(c){var u=this[ge];process.env.NODE_ENV!=="production"&&o(u),Ut.set(u,a,c)}},l}function t(a){for(var s=a.length-1;s>=0;s--){var l=a[s][ge];if(!l.P)switch(l.i){case 5:n(l)&&et(l);break;case 4:r(l)&&et(l)}}}function r(a){for(var s=a.t,l=a.k,c=_t(l),u=c.length-1;u>=0;u--){var f=c[u];if(f!==ge){var d=s[f];if(d===void 0&&!Et(s,f))return!0;var g=l[f],y=g&&g[ge];if(y?y.t!==d:!Mi(g,d))return!0}}var h=!!s[ge];return c.length!==_t(s).length+(h?0:1)}function n(a){var s=a.k;if(s.length!==a.t.length)return!0;var l=Object.getOwnPropertyDescriptor(s,s.length-1);if(l&&!l.get)return!0;for(var c=0;c<s.length;c++)if(!s.hasOwnProperty(c))return!0;return!1}function o(a){a.g&&Re(3,JSON.stringify(Qe(a)))}var i={};rs("ES5",{J:function(a,s){var l=Array.isArray(a),c=function(f,d){if(f){for(var g=Array(d.length),y=0;y<d.length;y++)Object.defineProperty(g,""+y,e(y,!0));return g}var h=Vi(d);delete h[ge];for(var v=_t(h),S=0;S<v.length;S++){var T=v[S];h[T]=e(T,f||!!h[T].enumerable)}return Object.create(Object.getPrototypeOf(d),h)}(l,a),u={i:l?5:4,A:s?s.A:ln(),P:!1,I:!1,R:{},l:s,t:a,k:c,o:null,g:!1,C:!1};return Object.defineProperty(c,ge,{value:u,writable:!0}),c},S:function(a,s,l){l?rt(s)&&s[ge].A===a&&t(a.p):(a.u&&function c(u){if(u&&typeof u=="object"){var f=u[ge];if(f){var d=f.t,g=f.k,y=f.R,h=f.i;if(h===4)st(g,function(b){b!==ge&&(d[b]!==void 0||Et(d,b)?y[b]||c(g[b]):(y[b]=!0,et(f)))}),st(d,function(b){g[b]!==void 0||Et(g,b)||(y[b]=!1,et(f))});else if(h===5){if(n(f)&&(et(f),y.length=!0),g.length<d.length)for(var v=g.length;v<d.length;v++)y[v]=!1;else for(var S=d.length;S<g.length;S++)y[S]=!0;for(var T=Math.min(g.length,d.length),x=0;x<T;x++)g.hasOwnProperty(x)||(y[x]=!0),y[x]===void 0&&c(g[x])}}}}(a.p[0]),t(a.p))},K:function(a){return a.i===4?r(a):n(a)}})}var vo,Ot,Nn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",as=typeof Map<"u",ss=typeof Set<"u",go=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Di=Nn?Symbol.for("immer-nothing"):((vo={})["immer-nothing"]=!0,vo),bo=Nn?Symbol.for("immer-draftable"):"__$immer_draftable",ge=Nn?Symbol.for("immer-state"):"__$immer_state",cs={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(e){return"Cannot apply patch, path doesn't resolve: "+e},16:'Sets cannot have "replace" patches.',17:function(e){return"Unsupported patch operation: "+e},18:function(e){return"The plugin for '"+e+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+e+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(e){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+e+"'"},22:function(e){return"'current' expects a draft, got: "+e},23:function(e){return"'original' expects a draft, got: "+e},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},us=""+Object.prototype.constructor,_t=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Vi=Object.getOwnPropertyDescriptors||function(e){var t={};return _t(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},pn={},Ut={get:function(e,t){if(t===ge)return e;var r=Qe(e);if(!Et(r,t))return function(o,i,a){var s,l=ho(i,a);return l?"value"in l?l.value:(s=l.get)===null||s===void 0?void 0:s.call(o.k):void 0}(e,r,t);var n=r[t];return e.I||!He(n)?n:n===Ur(e.t,t)?(Yr(e),e.o[t]=dn(e.A.h,n,e)):n},has:function(e,t){return t in Qe(e)},ownKeys:function(e){return Reflect.ownKeys(Qe(e))},set:function(e,t,r){var n=ho(Qe(e),t);if(n!=null&&n.set)return n.set.call(e.k,r),!0;if(!e.P){var o=Ur(Qe(e),t),i=o==null?void 0:o[ge];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Mi(r,o)&&(r!==void 0||Et(e.t,t)))return!0;Yr(e),et(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Ur(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Yr(e),et(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=Qe(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Re(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Re(12)}},zt={};st(Ut,function(e,t){zt[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),zt.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&Re(13),zt.set.call(this,e,t,void 0)},zt.set=function(e,t,r){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&Re(14),Ut.set.call(this,e[0],t,r,e[0])};var ls=function(){function e(r){var n=this;this.O=go,this.D=!0,this.produce=function(o,i,a){if(typeof o=="function"&&typeof i!="function"){var s=i;i=o;var l=n;return function(h){var v=this;h===void 0&&(h=s);for(var S=arguments.length,T=Array(S>1?S-1:0),x=1;x<S;x++)T[x-1]=arguments[x];return l.produce(h,function(b){var m;return(m=i).call.apply(m,[v,b].concat(T))})}}var c;if(typeof i!="function"&&Re(6),a!==void 0&&typeof a!="function"&&Re(7),He(o)){var u=po(n),f=dn(n,o,void 0),d=!0;try{c=i(f),d=!1}finally{d?dr(u):fn(u)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(h){return Br(u,a),Wr(h,u)},function(h){throw dr(u),h}):(Br(u,a),Wr(c,u))}if(!o||typeof o!="object"){if((c=i(o))===void 0&&(c=o),c===Di&&(c=void 0),n.D&&$n(c,!0),a){var g=[],y=[];Ye("Patches").M(o,c,g,y),a(g,y)}return c}Re(21,o)},this.produceWithPatches=function(o,i){if(typeof o=="function")return function(c){for(var u=arguments.length,f=Array(u>1?u-1:0),d=1;d<u;d++)f[d-1]=arguments[d];return n.produceWithPatches(c,function(g){return o.apply(void 0,[g].concat(f))})};var a,s,l=n.produce(o,i,function(c,u){a=c,s=u});return typeof Promise<"u"&&l instanceof Promise?l.then(function(c){return[c,a,s]}):[l,a,s]},typeof(r==null?void 0:r.useProxies)=="boolean"&&this.setUseProxies(r.useProxies),typeof(r==null?void 0:r.autoFreeze)=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){He(r)||Re(8),rt(r)&&(r=os(r));var n=po(this),o=dn(this,r,void 0);return o[ge].C=!0,fn(n),o},t.finishDraft=function(r,n){var o=r&&r[ge];process.env.NODE_ENV!=="production"&&(o&&o.C||Re(9),o.I&&Re(10));var i=o.A;return Br(i,n),Wr(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!go&&Re(20),this.O=r},t.applyPatches=function(r,n){var o;for(o=n.length-1;o>=0;o--){var i=n[o];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}o>-1&&(n=n.slice(o+1));var a=Ye("Patches").$;return rt(r)?a(r,n):this.produce(r,function(s){return a(s,n)})},e}(),De=new ls,Li=De.produce;De.produceWithPatches.bind(De);De.setAutoFreeze.bind(De);De.setUseProxies.bind(De);De.applyPatches.bind(De);De.createDraft.bind(De);De.finishDraft.bind(De);var Fi=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),fs=globalThis&&globalThis.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(c){return function(u){return l([c,u])}}function l(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=c[0]&2?o.return:c[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,c[1])).done)return i;switch(o=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,o=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){r.label=c[1];break}if(c[0]===6&&r.label<i[1]){r.label=i[1],i=c;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(c);break}i[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(u){c=[6,u],o=0}finally{n=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},Yt=globalThis&&globalThis.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e},ds=Object.defineProperty,ps=Object.defineProperties,ms=Object.getOwnPropertyDescriptors,Eo=Object.getOwnPropertySymbols,hs=Object.prototype.hasOwnProperty,ys=Object.prototype.propertyIsEnumerable,_o=function(e,t,r){return t in e?ds(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},at=function(e,t){for(var r in t||(t={}))hs.call(t,r)&&_o(e,r,t[r]);if(Eo)for(var n=0,o=Eo(t);n<o.length;n++){var r=o[n];ys.call(t,r)&&_o(e,r,t[r])}return e},qr=function(e,t){return ps(e,ms(t))},vs=function(e,t,r){return new Promise(function(n,o){var i=function(l){try{s(r.next(l))}catch(c){o(c)}},a=function(l){try{s(r.throw(l))}catch(c){o(c)}},s=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(i,a)};s((r=r.apply(e,t)).next())})};(function(e){Fi(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=e.apply(this,r)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Yt([void 0],r[0].concat(this)))):new(t.bind.apply(t,Yt([void 0],r.concat(this))))},t})(Array);(function(e){Fi(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=e.apply(this,r)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Yt([void 0],r[0].concat(this)))):new(t.bind.apply(t,Yt([void 0],r.concat(this))))},t})(Array);function mn(e){return He(e)?Li(e,function(){}):e}process.env.NODE_ENV;process.env.NODE_ENV;function tt(e,t){function r(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return at(at({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function zi(e){var t={},r=[],n,o={addCase:function(i,a){if(process.env.NODE_ENV!=="production"){if(r.length>0)throw new Error("`builder.addCase` should only be called before calling `builder.addMatcher`");if(n)throw new Error("`builder.addCase` should only be called before calling `builder.addDefaultCase`")}var s=typeof i=="string"?i:i.type;if(s in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[s]=a,o},addMatcher:function(i,a){if(process.env.NODE_ENV!=="production"&&n)throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return r.push({matcher:i,reducer:a}),o},addDefaultCase:function(i){if(process.env.NODE_ENV!=="production"&&n)throw new Error("`builder.addDefaultCase` can only be called once");return n=i,o}};return e(o),[t,r,n]}function gs(e){return typeof e=="function"}var So=!1;function bs(e,t,r,n){r===void 0&&(r=[]),process.env.NODE_ENV!=="production"&&typeof t=="object"&&(So||(So=!0,console.warn("The object notation for `createReducer` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer")));var o=typeof t=="function"?zi(t):[t,r,n],i=o[0],a=o[1],s=o[2],l;if(gs(e))l=function(){return mn(e())};else{var c=mn(e);l=function(){return c}}function u(f,d){f===void 0&&(f=l());var g=Yt([i[d.type]],a.filter(function(y){var h=y.matcher;return h(d)}).map(function(y){var h=y.reducer;return h}));return g.filter(function(y){return!!y}).length===0&&(g=[s]),g.reduce(function(y,h){if(h)if(rt(y)){var v=y,S=h(v,d);return S===void 0?y:S}else{if(He(y))return Li(y,function(T){return h(T,d)});var S=h(y,d);if(S===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return S}return y},f)}return u.getInitialState=l,u}var xo=!1;function Es(e,t){return e+"/"+t}function Bi(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u"&&process.env.NODE_ENV==="development"&&e.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");var r=typeof e.initialState=="function"?e.initialState:mn(e.initialState),n=e.reducers||{},o=Object.keys(n),i={},a={},s={};o.forEach(function(u){var f=n[u],d=Es(t,u),g,y;"reducer"in f?(g=f.reducer,y=f.prepare):g=f,i[u]=g,a[d]=g,s[u]=y?tt(d,y):tt(d)});function l(){process.env.NODE_ENV!=="production"&&typeof e.extraReducers=="object"&&(xo||(xo=!0,console.warn("The object notation for `createSlice.extraReducers` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice")));var u=typeof e.extraReducers=="function"?zi(e.extraReducers):[e.extraReducers],f=u[0],d=f===void 0?{}:f,g=u[1],y=g===void 0?[]:g,h=u[2],v=h===void 0?void 0:h,S=at(at({},d),a);return bs(r,function(T){for(var x in S)T.addCase(x,S[x]);for(var b=0,m=y;b<m.length;b++){var R=m[b];T.addMatcher(R.matcher,R.reducer)}v&&T.addDefaultCase(v)})}var c;return{name:t,reducer:function(u,f){return c||(c=l()),c(u,f)},actions:s,caseReducers:i,getInitialState:function(){return c||(c=l()),c.getInitialState()}}}var _s="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ss=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=_s[Math.random()*64|0];return t},xs=["name","message","stack","code"],Kr=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Oo=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Os=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=xs;r<n.length;r++){var o=n[r];typeof e[o]=="string"&&(t[o]=e[o])}return t}return{message:String(e)}},ws=function(){function e(t,r,n){var o=tt(t+"/fulfilled",function(u,f,d,g){return{payload:u,meta:qr(at({},g||{}),{arg:d,requestId:f,requestStatus:"fulfilled"})}}),i=tt(t+"/pending",function(u,f,d){return{payload:void 0,meta:qr(at({},d||{}),{arg:f,requestId:u,requestStatus:"pending"})}}),a=tt(t+"/rejected",function(u,f,d,g,y){return{payload:g,error:(n&&n.serializeError||Os)(u||"Rejected"),meta:qr(at({},y||{}),{arg:d,requestId:f,rejectedWithValue:!!g,requestStatus:"rejected",aborted:(u==null?void 0:u.name)==="AbortError",condition:(u==null?void 0:u.name)==="ConditionError"})}}),s=!1,l=typeof AbortController<"u"?AbortController:function(){function u(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return u.prototype.abort=function(){process.env.NODE_ENV!=="production"&&(s||(s=!0,console.info("This platform does not implement AbortController. \nIf you want to use the AbortController to react to `abort` events, please consider importing a polyfill like 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'.")))},u}();function c(u){return function(f,d,g){var y=n!=null&&n.idGenerator?n.idGenerator(u):Ss(),h=new l,v;function S(x){v=x,h.abort()}var T=function(){return vs(this,null,function(){var x,b,m,R,C,G,K;return fs(this,function(j){switch(j.label){case 0:return j.trys.push([0,4,,5]),R=(x=n==null?void 0:n.condition)==null?void 0:x.call(n,u,{getState:d,extra:g}),Rs(R)?[4,R]:[3,2];case 1:R=j.sent(),j.label=2;case 2:if(R===!1||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=new Promise(function(B,X){return h.signal.addEventListener("abort",function(){return X({name:"AbortError",message:v||"Aborted"})})}),f(i(y,u,(b=n==null?void 0:n.getPendingMeta)==null?void 0:b.call(n,{requestId:y,arg:u},{getState:d,extra:g}))),[4,Promise.race([C,Promise.resolve(r(u,{dispatch:f,getState:d,extra:g,requestId:y,signal:h.signal,abort:S,rejectWithValue:function(B,X){return new Kr(B,X)},fulfillWithValue:function(B,X){return new Oo(B,X)}})).then(function(B){if(B instanceof Kr)throw B;return B instanceof Oo?o(B.payload,y,u,B.meta):o(B,y,u)})])];case 3:return m=j.sent(),[3,5];case 4:return G=j.sent(),m=G instanceof Kr?a(null,y,u,G.payload,G.meta):a(G,y,u),[3,5];case 5:return K=n&&!n.dispatchConditionRejection&&a.match(m)&&m.meta.condition,K||f(m),[2,m]}})})}();return Object.assign(T,{abort:S,requestId:y,arg:u,unwrap:function(){return T.then(Ts)}})}}return Object.assign(c,{pending:i,rejected:a,fulfilled:o,typePrefix:t})}return e.withTypes=function(){return e},e}();function Ts(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Rs(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var jn="listenerMiddleware";tt(jn+"/add");tt(jn+"/removeAll");tt(jn+"/remove");var wo;typeof queueMicrotask=="function"&&queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis);is();function Ve(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},k.apply(this,arguments)}var hn={exports:{}},or={exports:{}},ie={};/** @license React v16.13.1
|
|
28
|
-
* react-is.production.min.js
|
|
29
|
-
*
|
|
30
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
31
|
-
*
|
|
32
|
-
* This source code is licensed under the MIT license found in the
|
|
33
|
-
* LICENSE file in the root directory of this source tree.
|
|
34
|
-
*/var To;function Cs(){if(To)return ie;To=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function x(m){if(typeof m=="object"&&m!==null){var R=m.$$typeof;switch(R){case t:switch(m=m.type,m){case l:case c:case n:case i:case o:case f:return m;default:switch(m=m&&m.$$typeof,m){case s:case u:case y:case g:case a:return m;default:return R}}case r:return R}}}function b(m){return x(m)===c}return ie.AsyncMode=l,ie.ConcurrentMode=c,ie.ContextConsumer=s,ie.ContextProvider=a,ie.Element=t,ie.ForwardRef=u,ie.Fragment=n,ie.Lazy=y,ie.Memo=g,ie.Portal=r,ie.Profiler=i,ie.StrictMode=o,ie.Suspense=f,ie.isAsyncMode=function(m){return b(m)||x(m)===l},ie.isConcurrentMode=b,ie.isContextConsumer=function(m){return x(m)===s},ie.isContextProvider=function(m){return x(m)===a},ie.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===t},ie.isForwardRef=function(m){return x(m)===u},ie.isFragment=function(m){return x(m)===n},ie.isLazy=function(m){return x(m)===y},ie.isMemo=function(m){return x(m)===g},ie.isPortal=function(m){return x(m)===r},ie.isProfiler=function(m){return x(m)===i},ie.isStrictMode=function(m){return x(m)===o},ie.isSuspense=function(m){return x(m)===f},ie.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===c||m===i||m===o||m===f||m===d||typeof m=="object"&&m!==null&&(m.$$typeof===y||m.$$typeof===g||m.$$typeof===a||m.$$typeof===s||m.$$typeof===u||m.$$typeof===v||m.$$typeof===S||m.$$typeof===T||m.$$typeof===h)},ie.typeOf=x,ie}var ae={};/** @license React v16.13.1
|
|
35
|
-
* react-is.development.js
|
|
36
|
-
*
|
|
37
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
38
|
-
*
|
|
39
|
-
* This source code is licensed under the MIT license found in the
|
|
40
|
-
* LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/var Ro;function Ps(){return Ro||(Ro=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function x(E){return typeof E=="string"||typeof E=="function"||E===n||E===c||E===i||E===o||E===f||E===d||typeof E=="object"&&E!==null&&(E.$$typeof===y||E.$$typeof===g||E.$$typeof===a||E.$$typeof===s||E.$$typeof===u||E.$$typeof===v||E.$$typeof===S||E.$$typeof===T||E.$$typeof===h)}function b(E){if(typeof E=="object"&&E!==null){var xe=E.$$typeof;switch(xe){case t:var N=E.type;switch(N){case l:case c:case n:case i:case o:case f:return N;default:var Pe=N&&N.$$typeof;switch(Pe){case s:case u:case y:case g:case a:return Pe;default:return xe}}case r:return xe}}}var m=l,R=c,C=s,G=a,K=t,j=u,B=n,X=y,Z=g,Q=r,de=i,ee=o,ye=f,he=!1;function je(E){return he||(he=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(E)||b(E)===l}function O(E){return b(E)===c}function A(E){return b(E)===s}function W(E){return b(E)===a}function F(E){return typeof E=="object"&&E!==null&&E.$$typeof===t}function I(E){return b(E)===u}function U(E){return b(E)===n}function M(E){return b(E)===y}function V(E){return b(E)===g}function z(E){return b(E)===r}function D(E){return b(E)===i}function Y(E){return b(E)===o}function be(E){return b(E)===f}ae.AsyncMode=m,ae.ConcurrentMode=R,ae.ContextConsumer=C,ae.ContextProvider=G,ae.Element=K,ae.ForwardRef=j,ae.Fragment=B,ae.Lazy=X,ae.Memo=Z,ae.Portal=Q,ae.Profiler=de,ae.StrictMode=ee,ae.Suspense=ye,ae.isAsyncMode=je,ae.isConcurrentMode=O,ae.isContextConsumer=A,ae.isContextProvider=W,ae.isElement=F,ae.isForwardRef=I,ae.isFragment=U,ae.isLazy=M,ae.isMemo=V,ae.isPortal=z,ae.isProfiler=D,ae.isStrictMode=Y,ae.isSuspense=be,ae.isValidElementType=x,ae.typeOf=b}()),ae}var Co;function Wi(){return Co||(Co=1,process.env.NODE_ENV==="production"?or.exports=Cs():or.exports=Ps()),or.exports}/*
|
|
42
|
-
object-assign
|
|
43
|
-
(c) Sindre Sorhus
|
|
44
|
-
@license MIT
|
|
45
|
-
*/var Gr,Po;function $s(){if(Po)return Gr;Po=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(a).map(function(u){return a[u]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(u){c[u]=u}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Gr=o()?Object.assign:function(i,a){for(var s,l=n(i),c,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var f in s)t.call(s,f)&&(l[f]=s[f]);if(e){c=e(s);for(var d=0;d<c.length;d++)r.call(s,c[d])&&(l[c[d]]=s[c[d]])}}return l},Gr}var Hr,$o;function In(){if($o)return Hr;$o=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Hr=e,Hr}var Xr,Ao;function Ui(){return Ao||(Ao=1,Xr=Function.call.bind(Object.prototype.hasOwnProperty)),Xr}var Jr,No;function As(){if(No)return Jr;No=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=In(),r={},n=Ui();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,s,l,c){if(process.env.NODE_ENV!=="production"){for(var u in i)if(n(i,u)){var f;try{if(typeof i[u]!="function"){var d=Error((l||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}f=i[u](a,u,l,s,null,t)}catch(y){f=y}if(f&&!(f instanceof Error)&&e((l||"React class")+": type specification of "+s+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in r)){r[f.message]=!0;var g=c?c():"";e("Failed "+s+" type: "+f.message+(g??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Jr=o,Jr}var Zr,jo;function Ns(){if(jo)return Zr;jo=1;var e=Wi(),t=$s(),r=In(),n=Ui(),o=As(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var l="Warning: "+s;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function a(){return null}return Zr=function(s,l){var c=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function f(O){var A=O&&(c&&O[c]||O[u]);if(typeof A=="function")return A}var d="<<anonymous>>",g={array:S("array"),bigint:S("bigint"),bool:S("boolean"),func:S("function"),number:S("number"),object:S("object"),string:S("string"),symbol:S("symbol"),any:T(),arrayOf:x,element:b(),elementType:m(),instanceOf:R,node:j(),objectOf:G,oneOf:C,oneOfType:K,shape:X,exact:Z};function y(O,A){return O===A?O!==0||1/O===1/A:O!==O&&A!==A}function h(O,A){this.message=O,this.data=A&&typeof A=="object"?A:{},this.stack=""}h.prototype=Error.prototype;function v(O){if(process.env.NODE_ENV!=="production")var A={},W=0;function F(U,M,V,z,D,Y,be){if(z=z||d,Y=Y||V,be!==r){if(l){var E=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw E.name="Invariant Violation",E}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var xe=z+":"+V;!A[xe]&&W<3&&(i("You are manually calling a React.PropTypes validation function for the `"+Y+"` prop on `"+z+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),A[xe]=!0,W++)}}return M[V]==null?U?M[V]===null?new h("The "+D+" `"+Y+"` is marked as required "+("in `"+z+"`, but its value is `null`.")):new h("The "+D+" `"+Y+"` is marked as required in "+("`"+z+"`, but its value is `undefined`.")):null:O(M,V,z,D,Y)}var I=F.bind(null,!1);return I.isRequired=F.bind(null,!0),I}function S(O){function A(W,F,I,U,M,V){var z=W[F],D=ee(z);if(D!==O){var Y=ye(z);return new h("Invalid "+U+" `"+M+"` of type "+("`"+Y+"` supplied to `"+I+"`, expected ")+("`"+O+"`."),{expectedType:O})}return null}return v(A)}function T(){return v(a)}function x(O){function A(W,F,I,U,M){if(typeof O!="function")return new h("Property `"+M+"` of component `"+I+"` has invalid PropType notation inside arrayOf.");var V=W[F];if(!Array.isArray(V)){var z=ee(V);return new h("Invalid "+U+" `"+M+"` of type "+("`"+z+"` supplied to `"+I+"`, expected an array."))}for(var D=0;D<V.length;D++){var Y=O(V,D,I,U,M+"["+D+"]",r);if(Y instanceof Error)return Y}return null}return v(A)}function b(){function O(A,W,F,I,U){var M=A[W];if(!s(M)){var V=ee(M);return new h("Invalid "+I+" `"+U+"` of type "+("`"+V+"` supplied to `"+F+"`, expected a single ReactElement."))}return null}return v(O)}function m(){function O(A,W,F,I,U){var M=A[W];if(!e.isValidElementType(M)){var V=ee(M);return new h("Invalid "+I+" `"+U+"` of type "+("`"+V+"` supplied to `"+F+"`, expected a single ReactElement type."))}return null}return v(O)}function R(O){function A(W,F,I,U,M){if(!(W[F]instanceof O)){var V=O.name||d,z=je(W[F]);return new h("Invalid "+U+" `"+M+"` of type "+("`"+z+"` supplied to `"+I+"`, expected ")+("instance of `"+V+"`."))}return null}return v(A)}function C(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function A(W,F,I,U,M){for(var V=W[F],z=0;z<O.length;z++)if(y(V,O[z]))return null;var D=JSON.stringify(O,function(be,E){var xe=ye(E);return xe==="symbol"?String(E):E});return new h("Invalid "+U+" `"+M+"` of value `"+String(V)+"` "+("supplied to `"+I+"`, expected one of "+D+"."))}return v(A)}function G(O){function A(W,F,I,U,M){if(typeof O!="function")return new h("Property `"+M+"` of component `"+I+"` has invalid PropType notation inside objectOf.");var V=W[F],z=ee(V);if(z!=="object")return new h("Invalid "+U+" `"+M+"` of type "+("`"+z+"` supplied to `"+I+"`, expected an object."));for(var D in V)if(n(V,D)){var Y=O(V,D,I,U,M+"."+D,r);if(Y instanceof Error)return Y}return null}return v(A)}function K(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var A=0;A<O.length;A++){var W=O[A];if(typeof W!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+he(W)+" at index "+A+"."),a}function F(I,U,M,V,z){for(var D=[],Y=0;Y<O.length;Y++){var be=O[Y],E=be(I,U,M,V,z,r);if(E==null)return null;E.data&&n(E.data,"expectedType")&&D.push(E.data.expectedType)}var xe=D.length>0?", expected one of type ["+D.join(", ")+"]":"";return new h("Invalid "+V+" `"+z+"` supplied to "+("`"+M+"`"+xe+"."))}return v(F)}function j(){function O(A,W,F,I,U){return Q(A[W])?null:new h("Invalid "+I+" `"+U+"` supplied to "+("`"+F+"`, expected a ReactNode."))}return v(O)}function B(O,A,W,F,I){return new h((O||"React class")+": "+A+" type `"+W+"."+F+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+I+"`.")}function X(O){function A(W,F,I,U,M){var V=W[F],z=ee(V);if(z!=="object")return new h("Invalid "+U+" `"+M+"` of type `"+z+"` "+("supplied to `"+I+"`, expected `object`."));for(var D in O){var Y=O[D];if(typeof Y!="function")return B(I,U,M,D,ye(Y));var be=Y(V,D,I,U,M+"."+D,r);if(be)return be}return null}return v(A)}function Z(O){function A(W,F,I,U,M){var V=W[F],z=ee(V);if(z!=="object")return new h("Invalid "+U+" `"+M+"` of type `"+z+"` "+("supplied to `"+I+"`, expected `object`."));var D=t({},W[F],O);for(var Y in D){var be=O[Y];if(n(O,Y)&&typeof be!="function")return B(I,U,M,Y,ye(be));if(!be)return new h("Invalid "+U+" `"+M+"` key `"+Y+"` supplied to `"+I+"`.\nBad object: "+JSON.stringify(W[F],null," ")+`
|
|
46
|
-
Valid keys: `+JSON.stringify(Object.keys(O),null," "));var E=be(V,Y,I,U,M+"."+Y,r);if(E)return E}return null}return v(A)}function Q(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every(Q);if(O===null||s(O))return!0;var A=f(O);if(A){var W=A.call(O),F;if(A!==O.entries){for(;!(F=W.next()).done;)if(!Q(F.value))return!1}else for(;!(F=W.next()).done;){var I=F.value;if(I&&!Q(I[1]))return!1}}else return!1;return!0;default:return!1}}function de(O,A){return O==="symbol"?!0:A?A["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&A instanceof Symbol:!1}function ee(O){var A=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":de(A,O)?"symbol":A}function ye(O){if(typeof O>"u"||O===null)return""+O;var A=ee(O);if(A==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return A}function he(O){var A=ye(O);switch(A){case"array":case"object":return"an "+A;case"boolean":case"date":case"regexp":return"a "+A;default:return A}}function je(O){return!O.constructor||!O.constructor.name?d:O.constructor.name}return g.checkPropTypes=o,g.resetWarningCache=o.resetWarningCache,g.PropTypes=g,g},Zr}var Qr,Io;function js(){if(Io)return Qr;Io=1;var e=In();function t(){}function r(){}return r.resetWarningCache=t,Qr=function(){function n(a,s,l,c,u,f){if(f!==e){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},Qr}if(process.env.NODE_ENV!=="production"){var Is=Wi(),ks=!0;hn.exports=Ns()(Is.isElement,ks)}else hn.exports=js()();var Ms=hn.exports;const _=Ha(Ms);function Yi(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=Yi(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Ie(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Yi(e))&&(n&&(n+=" "),n+=t);return n}function Ds(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function bt(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function qi(e){if(!bt(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=qi(e[r])}),t}function Ge(e,t,r={clone:!0}){const n=r.clone?k({},e):e;return bt(e)&&bt(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(bt(t[o])&&o in e&&bt(e[o])?n[o]=Ge(e[o],t[o],r):r.clone?n[o]=bt(t[o])?qi(t[o]):t[o]:n[o]=t[o])}),n}function Vs(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Ls(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window>"u")return null;let s;return typeof i=="function"&&!Vs(i)&&(s="Did you accidentally provide a plain function component instead?"),s!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Fs=Ds(_.elementType,Ls);function wt(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var yn={exports:{}},se={};/**
|
|
47
|
-
* @license React
|
|
48
|
-
* react-is.production.min.js
|
|
49
|
-
*
|
|
50
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
51
|
-
*
|
|
52
|
-
* This source code is licensed under the MIT license found in the
|
|
53
|
-
* LICENSE file in the root directory of this source tree.
|
|
54
|
-
*/var ko;function zs(){if(ko)return se;ko=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function h(v){if(typeof v=="object"&&v!==null){var S=v.$$typeof;switch(S){case e:switch(v=v.type,v){case r:case o:case n:case c:case u:return v;default:switch(v=v&&v.$$typeof,v){case s:case a:case l:case d:case f:case i:return v;default:return S}}case t:return S}}}return se.ContextConsumer=a,se.ContextProvider=i,se.Element=e,se.ForwardRef=l,se.Fragment=r,se.Lazy=d,se.Memo=f,se.Portal=t,se.Profiler=o,se.StrictMode=n,se.Suspense=c,se.SuspenseList=u,se.isAsyncMode=function(){return!1},se.isConcurrentMode=function(){return!1},se.isContextConsumer=function(v){return h(v)===a},se.isContextProvider=function(v){return h(v)===i},se.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},se.isForwardRef=function(v){return h(v)===l},se.isFragment=function(v){return h(v)===r},se.isLazy=function(v){return h(v)===d},se.isMemo=function(v){return h(v)===f},se.isPortal=function(v){return h(v)===t},se.isProfiler=function(v){return h(v)===o},se.isStrictMode=function(v){return h(v)===n},se.isSuspense=function(v){return h(v)===c},se.isSuspenseList=function(v){return h(v)===u},se.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===o||v===n||v===c||v===u||v===g||typeof v=="object"&&v!==null&&(v.$$typeof===d||v.$$typeof===f||v.$$typeof===i||v.$$typeof===a||v.$$typeof===l||v.$$typeof===y||v.getModuleId!==void 0)},se.typeOf=h,se}var ce={};/**
|
|
55
|
-
* @license React
|
|
56
|
-
* react-is.development.js
|
|
57
|
-
*
|
|
58
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
59
|
-
*
|
|
60
|
-
* This source code is licensed under the MIT license found in the
|
|
61
|
-
* LICENSE file in the root directory of this source tree.
|
|
62
|
-
*/var Mo;function Bs(){return Mo||(Mo=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),y=!1,h=!1,v=!1,S=!1,T=!1,x;x=Symbol.for("react.module.reference");function b(N){return!!(typeof N=="string"||typeof N=="function"||N===r||N===o||T||N===n||N===c||N===u||S||N===g||y||h||v||typeof N=="object"&&N!==null&&(N.$$typeof===d||N.$$typeof===f||N.$$typeof===i||N.$$typeof===a||N.$$typeof===l||N.$$typeof===x||N.getModuleId!==void 0))}function m(N){if(typeof N=="object"&&N!==null){var Pe=N.$$typeof;switch(Pe){case e:var ze=N.type;switch(ze){case r:case o:case n:case c:case u:return ze;default:var ot=ze&&ze.$$typeof;switch(ot){case s:case a:case l:case d:case f:case i:return ot;default:return Pe}}case t:return Pe}}}var R=a,C=i,G=e,K=l,j=r,B=d,X=f,Z=t,Q=o,de=n,ee=c,ye=u,he=!1,je=!1;function O(N){return he||(he=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function A(N){return je||(je=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function W(N){return m(N)===a}function F(N){return m(N)===i}function I(N){return typeof N=="object"&&N!==null&&N.$$typeof===e}function U(N){return m(N)===l}function M(N){return m(N)===r}function V(N){return m(N)===d}function z(N){return m(N)===f}function D(N){return m(N)===t}function Y(N){return m(N)===o}function be(N){return m(N)===n}function E(N){return m(N)===c}function xe(N){return m(N)===u}ce.ContextConsumer=R,ce.ContextProvider=C,ce.Element=G,ce.ForwardRef=K,ce.Fragment=j,ce.Lazy=B,ce.Memo=X,ce.Portal=Z,ce.Profiler=Q,ce.StrictMode=de,ce.Suspense=ee,ce.SuspenseList=ye,ce.isAsyncMode=O,ce.isConcurrentMode=A,ce.isContextConsumer=W,ce.isContextProvider=F,ce.isElement=I,ce.isForwardRef=U,ce.isFragment=M,ce.isLazy=V,ce.isMemo=z,ce.isPortal=D,ce.isProfiler=Y,ce.isStrictMode=be,ce.isSuspense=E,ce.isSuspenseList=xe,ce.isValidElementType=b,ce.typeOf=m}()),ce}process.env.NODE_ENV==="production"?yn.exports=zs():yn.exports=Bs();var Do=yn.exports;const Ws=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Us(e){const t=`${e}`.match(Ws);return t&&t[1]||""}function Ki(e,t=""){return e.displayName||e.name||Us(e)||t}function Vo(e,t,r){const n=Ki(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Ys(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Ki(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Do.ForwardRef:return Vo(e,e.render,"ForwardRef");case Do.Memo:return Vo(e,e.type,"memo");default:return}}}const qs=_.oneOfType([_.func,_.object]),Ks=qs;function Te(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":wt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Gs(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function Hs(e,t=166){let r;function n(...o){const i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function Xs(e,t){return process.env.NODE_ENV==="production"?()=>null:(r,n,o,i,a)=>{const s=o||"<<anonymous>>",l=a||n;return typeof r[n]<"u"?new Error(`The ${i} \`${l}\` of \`${s}\` is deprecated. ${t}`):null}}function Js(e,t){return $.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function Gi(e){return e&&e.ownerDocument||document}function Zs(e){return Gi(e).defaultView||window}function Qs(e,t){if(process.env.NODE_ENV==="production")return()=>null;const r=t?k({},t.propTypes):null;return o=>(i,a,s,l,c,...u)=>{const f=c||a,d=r==null?void 0:r[f];if(d){const g=d(i,a,s,l,c,...u);if(g)return g}return typeof i[a]<"u"&&!i[o]?new Error(`The prop \`${f}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}function Hi(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const ec=typeof window<"u"?$.useLayoutEffect:$.useEffect,Xi=ec;let Lo=0;function tc(e){const[t,r]=$.useState(e),n=e||t;return $.useEffect(()=>{t==null&&(Lo+=1,r(`mui-${Lo}`))},[t]),n}const Fo=$["useId".toString()];function rc(e){if(Fo!==void 0){const t=Fo();return e??t}return tc(e)}function nc(e,t,r,n,o){if(process.env.NODE_ENV==="production")return null;const i=o||t;return typeof e[t]<"u"?new Error(`The prop \`${i}\` is not supported. Please remove it.`):null}function oc({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=$.useRef(e!==void 0),[i,a]=$.useState(t),s=o?e:i;if(process.env.NODE_ENV!=="production"){$.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${n} state of ${r} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
63
|
-
`))},[n,r,e]);const{current:c}=$.useRef(t);$.useEffect(()=>{!o&&c!==t&&console.error([`MUI: A component is changing the default ${n} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
|
|
64
|
-
`))},[JSON.stringify(t)])}const l=$.useCallback(c=>{o||a(c)},[]);return[s,l]}function Bt(e){const t=$.useRef(e);return Xi(()=>{t.current=e}),$.useCallback((...r)=>(0,t.current)(...r),[])}function vn(...e){return $.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Hi(r,t)})},e)}let gr=!0,gn=!1,zo;const ic={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function ac(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&ic[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function sc(e){e.metaKey||e.altKey||e.ctrlKey||(gr=!0)}function en(){gr=!1}function cc(){this.visibilityState==="hidden"&&gn&&(gr=!0)}function uc(e){e.addEventListener("keydown",sc,!0),e.addEventListener("mousedown",en,!0),e.addEventListener("pointerdown",en,!0),e.addEventListener("touchstart",en,!0),e.addEventListener("visibilitychange",cc,!0)}function lc(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return gr||ac(t)}function Ji(){const e=$.useCallback(o=>{o!=null&&uc(o.ownerDocument)},[]),t=$.useRef(!1);function r(){return t.current?(gn=!0,window.clearTimeout(zo),zo=window.setTimeout(()=>{gn=!1},100),t.current=!1,!0):!1}function n(o){return lc(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function kn(e,t){const r=k({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=k({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=k({},i),Object.keys(o).forEach(a=>{r[n][a]=kn(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Mn(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const s=t(a);s!==""&&i.push(s),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}const Bo=e=>e,fc=()=>{let e=Bo;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Bo}}},dc=fc(),Zi=dc,pc={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Jt(e,t,r="Mui"){const n=pc[t];return n?`${r}-${n}`:`${Zi.generate(e)}-${t}`}function br(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Jt(e,o,r)}),n}function Qi(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var mc=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,hc=Qi(function(e){return mc.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function yc(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function vc(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var gc=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(vc(this));var o=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var i=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;i&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
65
|
-
`+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!i}if(this.isSpeedy){var a=yc(o);try{a.insertRule(n,a.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',s)}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),$e="-ms-",hr="-moz-",re="-webkit-",Dn="comm",Vn="rule",Ln="decl",bc="@import",ea="@keyframes",Ec="@layer",_c=Math.abs,Er=String.fromCharCode,Sc=Object.assign;function xc(e,t){return Ce(e,0)^45?(((t<<2^Ce(e,0))<<2^Ce(e,1))<<2^Ce(e,2))<<2^Ce(e,3):0}function ta(e){return e.trim()}function Oc(e,t){return(e=t.exec(e))?e[0]:e}function ne(e,t,r){return e.replace(t,r)}function bn(e,t){return e.indexOf(t)}function Ce(e,t){return e.charCodeAt(t)|0}function qt(e,t,r){return e.slice(t,r)}function We(e){return e.length}function Fn(e){return e.length}function ir(e,t){return t.push(e),e}function wc(e,t){return e.map(t).join("")}var _r=1,Tt=1,ra=0,Ne=0,we=0,Pt="";function Sr(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:_r,column:Tt,length:a,return:""}}function Vt(e,t){return Sc(Sr("",null,null,"",null,null,0),e,{length:-e.length},t)}function Tc(){return we}function Rc(){return we=Ne>0?Ce(Pt,--Ne):0,Tt--,we===10&&(Tt=1,_r--),we}function Me(){return we=Ne<ra?Ce(Pt,Ne++):0,Tt++,we===10&&(Tt=1,_r++),we}function qe(){return Ce(Pt,Ne)}function cr(){return Ne}function Zt(e,t){return qt(Pt,e,t)}function Kt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function na(e){return _r=Tt=1,ra=We(Pt=e),Ne=0,[]}function oa(e){return Pt="",e}function ur(e){return ta(Zt(Ne-1,En(e===91?e+2:e===40?e+1:e)))}function Cc(e){for(;(we=qe())&&we<33;)Me();return Kt(e)>2||Kt(we)>3?"":" "}function Pc(e,t){for(;--t&&Me()&&!(we<48||we>102||we>57&&we<65||we>70&&we<97););return Zt(e,cr()+(t<6&&qe()==32&&Me()==32))}function En(e){for(;Me();)switch(we){case e:return Ne;case 34:case 39:e!==34&&e!==39&&En(we);break;case 40:e===41&&En(e);break;case 92:Me();break}return Ne}function $c(e,t){for(;Me()&&e+we!==47+10;)if(e+we===42+42&&qe()===47)break;return"/*"+Zt(t,Ne-1)+"*"+Er(e===47?e:Me())}function Ac(e){for(;!Kt(qe());)Me();return Zt(e,Ne)}function Nc(e){return oa(lr("",null,null,null,[""],e=na(e),0,[0],e))}function lr(e,t,r,n,o,i,a,s,l){for(var c=0,u=0,f=a,d=0,g=0,y=0,h=1,v=1,S=1,T=0,x="",b=o,m=i,R=n,C=x;v;)switch(y=T,T=Me()){case 40:if(y!=108&&Ce(C,f-1)==58){bn(C+=ne(ur(T),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:C+=ur(T);break;case 9:case 10:case 13:case 32:C+=Cc(y);break;case 92:C+=Pc(cr()-1,7);continue;case 47:switch(qe()){case 42:case 47:ir(jc($c(Me(),cr()),t,r),l);break;default:C+="/"}break;case 123*h:s[c++]=We(C)*S;case 125*h:case 59:case 0:switch(T){case 0:case 125:v=0;case 59+u:S==-1&&(C=ne(C,/\f/g,"")),g>0&&We(C)-f&&ir(g>32?Uo(C+";",n,r,f-1):Uo(ne(C," ","")+";",n,r,f-2),l);break;case 59:C+=";";default:if(ir(R=Wo(C,t,r,c,u,o,s,x,b=[],m=[],f),i),T===123)if(u===0)lr(C,t,R,R,b,i,f,s,m);else switch(d===99&&Ce(C,3)===110?100:d){case 100:case 108:case 109:case 115:lr(e,R,R,n&&ir(Wo(e,R,R,0,0,o,s,x,o,b=[],f),m),o,m,f,s,n?b:m);break;default:lr(C,R,R,R,[""],m,0,s,m)}}c=u=g=0,h=S=1,x=C="",f=a;break;case 58:f=1+We(C),g=y;default:if(h<1){if(T==123)--h;else if(T==125&&h++==0&&Rc()==125)continue}switch(C+=Er(T),T*h){case 38:S=u>0?1:(C+="\f",-1);break;case 44:s[c++]=(We(C)-1)*S,S=1;break;case 64:qe()===45&&(C+=ur(Me())),d=qe(),u=f=We(x=C+=Ac(cr())),T++;break;case 45:y===45&&We(C)==2&&(h=0)}}return i}function Wo(e,t,r,n,o,i,a,s,l,c,u){for(var f=o-1,d=o===0?i:[""],g=Fn(d),y=0,h=0,v=0;y<n;++y)for(var S=0,T=qt(e,f+1,f=_c(h=a[y])),x=e;S<g;++S)(x=ta(h>0?d[S]+" "+T:ne(T,/&\f/g,d[S])))&&(l[v++]=x);return Sr(e,t,r,o===0?Vn:s,l,c,u)}function jc(e,t,r){return Sr(e,t,r,Dn,Er(Tc()),qt(e,2,-2),0)}function Uo(e,t,r,n){return Sr(e,t,r,Ln,qt(e,0,n),qt(e,n+1,-1),n)}function St(e,t){for(var r="",n=Fn(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Ic(e,t,r,n){switch(e.type){case Ec:if(e.children.length)break;case bc:case Ln:return e.return=e.return||e.value;case Dn:return"";case ea:return e.return=e.value+"{"+St(e.children,n)+"}";case Vn:e.value=e.props.join(",")}return We(r=St(e.children,n))?e.return=e.value+"{"+r+"}":""}function kc(e){var t=Fn(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function Mc(e){return function(t){t.root||(t=t.return)&&e(t)}}var Dc=function(t,r,n){for(var o=0,i=0;o=i,i=qe(),o===38&&i===12&&(r[n]=1),!Kt(i);)Me();return Zt(t,Ne)},Vc=function(t,r){var n=-1,o=44;do switch(Kt(o)){case 0:o===38&&qe()===12&&(r[n]=1),t[n]+=Dc(Ne-1,r,n);break;case 2:t[n]+=ur(o);break;case 4:if(o===44){t[++n]=qe()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Er(o)}while(o=Me());return t},Lc=function(t,r){return oa(Vc(na(t),r))},Yo=new WeakMap,Fc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Yo.get(n))&&!o){Yo.set(t,!0);for(var i=[],a=Lc(r,i),s=n.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)t.props[c]=i[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l]}}},zc=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},Bc="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Wc=function(t){return t.type==="comm"&&t.children.indexOf(Bc)>-1},Uc=function(t){return function(r,n,o){if(!(r.type!=="rule"||t.compat)){var i=r.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var a=!!r.parent,s=a?r.parent.children:o,l=s.length-1;l>=0;l--){var c=s[l];if(c.line<r.line)break;if(c.column<r.column){if(Wc(c))return;break}}i.forEach(function(u){console.error('The pseudo class "'+u+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+u.split("-child")[0]+'-of-type".')})}}}},ia=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Yc=function(t,r){for(var n=t-1;n>=0;n--)if(!ia(r[n]))return!0;return!1},qo=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},qc=function(t,r,n){ia(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),qo(t)):Yc(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),qo(t)))};function aa(e,t){switch(xc(e,t)){case 5103:return re+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return re+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+hr+e+$e+e+e;case 6828:case 4268:return re+e+$e+e+e;case 6165:return re+e+$e+"flex-"+e+e;case 5187:return re+e+ne(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+$e+"flex-$1$2")+e;case 5443:return re+e+$e+"flex-item-"+ne(e,/flex-|-self/,"")+e;case 4675:return re+e+$e+"flex-line-pack"+ne(e,/align-content|flex-|-self/,"")+e;case 5548:return re+e+$e+ne(e,"shrink","negative")+e;case 5292:return re+e+$e+ne(e,"basis","preferred-size")+e;case 6060:return re+"box-"+ne(e,"-grow","")+re+e+$e+ne(e,"grow","positive")+e;case 4554:return re+ne(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return ne(ne(ne(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return ne(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return ne(ne(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+$e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+re+e+e;case 4095:case 3583:case 4068:case 2532:return ne(e,/(.+)-inline(.+)/,re+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(We(e)-1-t>6)switch(Ce(e,t+1)){case 109:if(Ce(e,t+4)!==45)break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+hr+(Ce(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~bn(e,"stretch")?aa(ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ce(e,t+1)!==115)break;case 6444:switch(Ce(e,We(e)-3-(~bn(e,"!important")&&10))){case 107:return ne(e,":",":"+re)+e;case 101:return ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+re+(Ce(e,14)===45?"inline-":"")+"box$3$1"+re+"$2$3$1"+$e+"$2box$3")+e}break;case 5936:switch(Ce(e,t+11)){case 114:return re+e+$e+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+$e+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+$e+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return re+e+$e+e+e}return e}var Kc=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Ln:t.return=aa(t.value,t.length);break;case ea:return St([Vt(t,{value:ne(t.value,"@","@"+re)})],o);case Vn:if(t.length)return wc(t.props,function(i){switch(Oc(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return St([Vt(t,{props:[ne(i,/:(read-\w+)/,":"+hr+"$1")]})],o);case"::placeholder":return St([Vt(t,{props:[ne(i,/:(plac\w+)/,":"+re+"input-$1")]}),Vt(t,{props:[ne(i,/:(plac\w+)/,":"+hr+"$1")]}),Vt(t,{props:[ne(i,/:(plac\w+)/,$e+"input-$1")]})],o)}return""})}},Gc=[Kc],Hc=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
66
|
-
If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(h){var v=h.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var o=t.stylisPlugins||Gc;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(h){for(var v=h.getAttribute("data-emotion").split(" "),S=1;S<v.length;S++)i[v[S]]=!0;s.push(h)});var l,c=[Fc,zc];process.env.NODE_ENV!=="production"&&c.push(Uc({get compat(){return y.compat}}),qc);{var u,f=[Ic,process.env.NODE_ENV!=="production"?function(h){h.root||(h.return?u.insert(h.return):h.value&&h.type!==Dn&&u.insert(h.value+"{}"))}:Mc(function(h){u.insert(h)})],d=kc(c.concat(o,f)),g=function(v){return St(Nc(v),d)};l=function(v,S,T,x){u=T,process.env.NODE_ENV!=="production"&&S.map!==void 0&&(u={insert:function(m){T.insert(m+S.map)}}),g(v?v+"{"+S.styles+"}":S.styles),x&&(y.inserted[S.name]=!0)}}var y={key:r,sheet:new gc({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return y.sheet.hydrate(s),y},_n={exports:{}},ue={};/** @license React v16.13.1
|
|
67
|
-
* react-is.production.min.js
|
|
68
|
-
*
|
|
69
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
70
|
-
*
|
|
71
|
-
* This source code is licensed under the MIT license found in the
|
|
72
|
-
* LICENSE file in the root directory of this source tree.
|
|
73
|
-
*/var Ko;function Xc(){if(Ko)return ue;Ko=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function x(m){if(typeof m=="object"&&m!==null){var R=m.$$typeof;switch(R){case t:switch(m=m.type,m){case l:case c:case n:case i:case o:case f:return m;default:switch(m=m&&m.$$typeof,m){case s:case u:case y:case g:case a:return m;default:return R}}case r:return R}}}function b(m){return x(m)===c}return ue.AsyncMode=l,ue.ConcurrentMode=c,ue.ContextConsumer=s,ue.ContextProvider=a,ue.Element=t,ue.ForwardRef=u,ue.Fragment=n,ue.Lazy=y,ue.Memo=g,ue.Portal=r,ue.Profiler=i,ue.StrictMode=o,ue.Suspense=f,ue.isAsyncMode=function(m){return b(m)||x(m)===l},ue.isConcurrentMode=b,ue.isContextConsumer=function(m){return x(m)===s},ue.isContextProvider=function(m){return x(m)===a},ue.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===t},ue.isForwardRef=function(m){return x(m)===u},ue.isFragment=function(m){return x(m)===n},ue.isLazy=function(m){return x(m)===y},ue.isMemo=function(m){return x(m)===g},ue.isPortal=function(m){return x(m)===r},ue.isProfiler=function(m){return x(m)===i},ue.isStrictMode=function(m){return x(m)===o},ue.isSuspense=function(m){return x(m)===f},ue.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===c||m===i||m===o||m===f||m===d||typeof m=="object"&&m!==null&&(m.$$typeof===y||m.$$typeof===g||m.$$typeof===a||m.$$typeof===s||m.$$typeof===u||m.$$typeof===v||m.$$typeof===S||m.$$typeof===T||m.$$typeof===h)},ue.typeOf=x,ue}var le={};/** @license React v16.13.1
|
|
74
|
-
* react-is.development.js
|
|
75
|
-
*
|
|
76
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
77
|
-
*
|
|
78
|
-
* This source code is licensed under the MIT license found in the
|
|
79
|
-
* LICENSE file in the root directory of this source tree.
|
|
80
|
-
*/var Go;function Jc(){return Go||(Go=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function x(E){return typeof E=="string"||typeof E=="function"||E===n||E===c||E===i||E===o||E===f||E===d||typeof E=="object"&&E!==null&&(E.$$typeof===y||E.$$typeof===g||E.$$typeof===a||E.$$typeof===s||E.$$typeof===u||E.$$typeof===v||E.$$typeof===S||E.$$typeof===T||E.$$typeof===h)}function b(E){if(typeof E=="object"&&E!==null){var xe=E.$$typeof;switch(xe){case t:var N=E.type;switch(N){case l:case c:case n:case i:case o:case f:return N;default:var Pe=N&&N.$$typeof;switch(Pe){case s:case u:case y:case g:case a:return Pe;default:return xe}}case r:return xe}}}var m=l,R=c,C=s,G=a,K=t,j=u,B=n,X=y,Z=g,Q=r,de=i,ee=o,ye=f,he=!1;function je(E){return he||(he=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(E)||b(E)===l}function O(E){return b(E)===c}function A(E){return b(E)===s}function W(E){return b(E)===a}function F(E){return typeof E=="object"&&E!==null&&E.$$typeof===t}function I(E){return b(E)===u}function U(E){return b(E)===n}function M(E){return b(E)===y}function V(E){return b(E)===g}function z(E){return b(E)===r}function D(E){return b(E)===i}function Y(E){return b(E)===o}function be(E){return b(E)===f}le.AsyncMode=m,le.ConcurrentMode=R,le.ContextConsumer=C,le.ContextProvider=G,le.Element=K,le.ForwardRef=j,le.Fragment=B,le.Lazy=X,le.Memo=Z,le.Portal=Q,le.Profiler=de,le.StrictMode=ee,le.Suspense=ye,le.isAsyncMode=je,le.isConcurrentMode=O,le.isContextConsumer=A,le.isContextProvider=W,le.isElement=F,le.isForwardRef=I,le.isFragment=U,le.isLazy=M,le.isMemo=V,le.isPortal=z,le.isProfiler=D,le.isStrictMode=Y,le.isSuspense=be,le.isValidElementType=x,le.typeOf=b}()),le}process.env.NODE_ENV==="production"?_n.exports=Xc():_n.exports=Jc();var Zc=_n.exports,sa=Zc,Qc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},eu={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ca={};ca[sa.ForwardRef]=Qc;ca[sa.Memo]=eu;var tu=!0;function zn(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var xr=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||tu===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Or=function(t,r,n){xr(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function ru(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var nu={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ho=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
81
|
-
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
82
|
-
You can read more about this here:
|
|
83
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,ou="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",iu=/[A-Z]|^ms/g,ua=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Bn=function(t){return t.charCodeAt(1)===45},Xo=function(t){return t!=null&&typeof t!="boolean"},tn=Qi(function(e){return Bn(e)?e:e.replace(iu,"-$&").toLowerCase()}),yr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(ua,function(n,o,i){return Be={name:o,styles:i,next:Be},o})}return nu[t]!==1&&!Bn(t)&&typeof r=="number"&&r!==0?r+"px":r};if(process.env.NODE_ENV!=="production"){var au=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,su=["normal","none","initial","inherit","unset"],cu=yr,uu=/^-ms-/,lu=/-(.)/g,Jo={};yr=function(t,r){if(t==="content"&&(typeof r!="string"||su.indexOf(r)===-1&&!au.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+r+"\"'`");var n=cu(t,r);return n!==""&&!Bn(t)&&t.indexOf("-")!==-1&&Jo[t]===void 0&&(Jo[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(uu,"ms-").replace(lu,function(o,i){return i.toUpperCase()})+"?")),n}}var la="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Gt(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(la);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Be={name:r.name,styles:r.styles,next:Be},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Be={name:n.name,styles:n.styles,next:Be},n=n.next;var o=r.styles+";";return process.env.NODE_ENV!=="production"&&r.map!==void 0&&(o+=r.map),o}return fu(e,t,r)}case"function":{if(e!==void 0){var i=Be,a=r(e);return Be=i,Gt(e,t,a)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var s=[],l=r.replace(ua,function(u,f,d){var g="animation"+s.length;return s.push("const "+g+" = keyframes`"+d.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+g+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+l+"`"]).join(`
|
|
84
|
-
`)+`
|
|
85
|
-
|
|
86
|
-
You should wrap it with \`css\` like this:
|
|
87
|
-
|
|
88
|
-
`+("css`"+l+"`"))}break}if(t==null)return r;var c=t[r];return c!==void 0?c:r}function fu(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Gt(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=i+"{"+t[a]+"}":Xo(a)&&(n+=tn(i)+":"+yr(i,a)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(la);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)Xo(a[s])&&(n+=tn(i)+":"+yr(i,a[s])+";");else{var l=Gt(e,t,a);switch(i){case"animation":case"animationName":{n+=tn(i)+":"+l+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(ou),n+=i+"{"+l+"}"}}}}return n}var Zo=/label:\s*([^\s;\n{]+)\s*(;|$)/g,fa;process.env.NODE_ENV!=="production"&&(fa=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Be,Rt=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,i="";Be=void 0;var a=t[0];a==null||a.raw===void 0?(o=!1,i+=Gt(n,r,a)):(process.env.NODE_ENV!=="production"&&a[0]===void 0&&console.error(Ho),i+=a[0]);for(var s=1;s<t.length;s++)i+=Gt(n,r,t[s]),o&&(process.env.NODE_ENV!=="production"&&a[s]===void 0&&console.error(Ho),i+=a[s]);var l;process.env.NODE_ENV!=="production"&&(i=i.replace(fa,function(d){return l=d,""})),Zo.lastIndex=0;for(var c="",u;(u=Zo.exec(i))!==null;)c+="-"+u[1];var f=ru(i)+c;return process.env.NODE_ENV!=="production"?{name:f,styles:i,map:l,next:Be,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:f,styles:i,next:Be}},du=function(t){return t()},da=$["useInsertionEffect"]?$["useInsertionEffect"]:!1,Wn=da||du,Qo=da||$.useLayoutEffect,pu={}.hasOwnProperty,Un=$.createContext(typeof HTMLElement<"u"?Hc({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Un.displayName="EmotionCacheContext");Un.Provider;var wr=function(t){return me.forwardRef(function(r,n){var o=me.useContext(Un);return t(r,o,n)})},$t=$.createContext({});process.env.NODE_ENV!=="production"&&($t.displayName="EmotionThemeContext");var ei="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ti="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",mu=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return xr(r,n,o),Wn(function(){return Or(r,n,o)}),null},hu=wr(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[ei],i=[n],a="";typeof e.className=="string"?a=zn(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var s=Rt(i,void 0,$.useContext($t));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var l=e[ti];l&&(s=Rt([s,"label:"+l+";"]))}a+=t.key+"-"+s.name;var c={};for(var u in e)pu.call(e,u)&&u!=="css"&&u!==ei&&(process.env.NODE_ENV==="production"||u!==ti)&&(c[u]=e[u]);return c.ref=r,c.className=a,$.createElement($.Fragment,null,$.createElement(mu,{cache:t,serialized:s,isStringTag:typeof o=="string"}),$.createElement(o,c))});process.env.NODE_ENV!=="production"&&(hu.displayName="EmotionCssPropInternal");var yu={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.2","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.0","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},ri=!1,vu=wr(function(e,t){process.env.NODE_ENV!=="production"&&!ri&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),ri=!0);var r=e.styles,n=Rt([r],void 0,$.useContext($t)),o=$.useRef();return Qo(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",i),a.hydrate([l])),o.current=[a,s],function(){a.flush()}},[t]),Qo(function(){var i=o.current,a=i[0],s=i[1];if(s){i[1]=!1;return}if(n.next!==void 0&&Or(t,n.next,!0),a.tags.length){var l=a.tags[a.tags.length-1].nextElementSibling;a.before=l,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});process.env.NODE_ENV!=="production"&&(vu.displayName="EmotionGlobal");function gu(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Rt(t)}var Yn=function(){var t=gu.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},bu=function e(t){for(var r=t.length,n=0,o="";n<r;n++){var i=t[n];if(i!=null){var a=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))a=e(i);else{process.env.NODE_ENV!=="production"&&i.styles!==void 0&&i.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),a="";for(var s in i)i[s]&&s&&(a&&(a+=" "),a+=s)}break}default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function Eu(e,t,r){var n=[],o=zn(e,n,r);return n.length<2?r:o+t(n)}var _u=function(t){var r=t.cache,n=t.serializedArr;return Wn(function(){for(var o=0;o<n.length;o++)Or(r,n[o],!1)}),null},Su=wr(function(e,t){var r=!1,n=[],o=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var c=arguments.length,u=new Array(c),f=0;f<c;f++)u[f]=arguments[f];var d=Rt(u,t.registered);return n.push(d),xr(t,d,!1),t.key+"-"+d.name},i=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var c=arguments.length,u=new Array(c),f=0;f<c;f++)u[f]=arguments[f];return Eu(t.registered,o,bu(u))},a={css:o,cx:i,theme:$.useContext($t)},s=e.children(a);return r=!0,$.createElement($.Fragment,null,$.createElement(_u,{cache:t,serializedArr:n}),s)});process.env.NODE_ENV!=="production"&&(Su.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var ni=!0,xu=typeof jest<"u"||typeof vi<"u";if(ni&&!xu){var oi=typeof globalThis<"u"?globalThis:ni?window:global,ii="__EMOTION_REACT_"+yu.version.split(".")[0]+"__";oi[ii]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),oi[ii]=!0}}var Ou=hc,wu=function(t){return t!=="theme"},ai=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ou:wu},si=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},ci=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
89
|
-
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
90
|
-
You can read more about this here:
|
|
91
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Tu=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return xr(r,n,o),Wn(function(){return Or(r,n,o)}),null},Ru=function e(t,r){if(process.env.NODE_ENV!=="production"&&t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
|
|
92
|
-
You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=si(t,r,n),l=s||ai(o),c=!l("as");return function(){var u=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),u[0]==null||u[0].raw===void 0)f.push.apply(f,u);else{process.env.NODE_ENV!=="production"&&u[0][0]===void 0&&console.error(ci),f.push(u[0][0]);for(var d=u.length,g=1;g<d;g++)process.env.NODE_ENV!=="production"&&u[0][g]===void 0&&console.error(ci),f.push(u[g],u[0][g])}var y=wr(function(h,v,S){var T=c&&h.as||o,x="",b=[],m=h;if(h.theme==null){m={};for(var R in h)m[R]=h[R];m.theme=$.useContext($t)}typeof h.className=="string"?x=zn(v.registered,b,h.className):h.className!=null&&(x=h.className+" ");var C=Rt(f.concat(b),v.registered,m);x+=v.key+"-"+C.name,a!==void 0&&(x+=" "+a);var G=c&&s===void 0?ai(T):l,K={};for(var j in h)c&&j==="as"||G(j)&&(K[j]=h[j]);return K.className=x,K.ref=S,$.createElement($.Fragment,null,$.createElement(Tu,{cache:v,serialized:C,isStringTag:typeof T=="string"}),$.createElement(T,K))});return y.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",y.defaultProps=t.defaultProps,y.__emotion_real=y,y.__emotion_base=o,y.__emotion_styles=f,y.__emotion_forwardProp=s,Object.defineProperty(y,"toString",{value:function(){return a===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+a}}),y.withComponent=function(h,v){return e(h,k({},r,v,{shouldForwardProp:si(y,v,!0)})).apply(void 0,f)},y}},Cu=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Sn=Ru.bind();Cu.forEach(function(e){Sn[e]=Sn(e)});/**
|
|
93
|
-
* @mui/styled-engine v5.13.2
|
|
94
|
-
*
|
|
95
|
-
* @license MIT
|
|
96
|
-
* This source code is licensed under the MIT license found in the
|
|
97
|
-
* LICENSE file in the root directory of this source tree.
|
|
98
|
-
*/function Pu(e,t){const r=Sn(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
99
|
-
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}const $u=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Au=["values","unit","step"],Nu=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>k({},r,{[n.key]:n.val}),{})};function ju(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=Ve(e,Au),i=Nu(t),a=Object.keys(i);function s(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r})`}function l(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-n/100}${r})`}function c(d,g){const y=a.indexOf(g);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r}) and (max-width:${(y!==-1&&typeof t[a[y]]=="number"?t[a[y]]:g)-n/100}${r})`}function u(d){return a.indexOf(d)+1<a.length?c(d,a[a.indexOf(d)+1]):s(d)}function f(d){const g=a.indexOf(d);return g===0?s(a[1]):g===a.length-1?l(a[g]):c(d,a[a.indexOf(d)+1]).replace("@media","@media not all and")}return k({keys:a,values:i,up:s,down:l,between:c,only:u,not:f,unit:r},o)}const Iu={borderRadius:4},ku=Iu,Mu=process.env.NODE_ENV!=="production"?_.oneOfType([_.number,_.string,_.object,_.array]):{},nt=Mu;function Wt(e,t){return t?Ge(e,t,{clone:!1}):e}const qn={xs:0,sm:600,md:900,lg:1200,xl:1536},ui={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${qn[e]}px)`};function Xe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||ui;return t.reduce((a,s,l)=>(a[i.up(i.keys[l])]=r(t[l]),a),{})}if(typeof t=="object"){const i=n.breakpoints||ui;return Object.keys(t).reduce((a,s)=>{if(Object.keys(i.values||qn).indexOf(s)!==-1){const l=i.up(s);a[l]=r(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return r(t)}function Du(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Vu(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Tr(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function vr(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Tr(e,r)||n,t&&(o=t(o,n,e)),o}function fe(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,c=Tr(l,n)||{};return Xe(a,s,f=>{let d=vr(c,o,f);return f===d&&typeof f=="string"&&(d=vr(c,o,`${t}${f==="default"?"":Te(f)}`,f)),r===!1?d:{[r]:d}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:nt}:{},i.filterProps=[t],i}function Lu(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Fu={m:"margin",p:"padding"},zu={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},li={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Bu=Lu(e=>{if(e.length>2)if(li[e])e=li[e];else return[e];const[t,r]=e.split(""),n=Fu[t],o=zu[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Rr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Cr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Wu=[...Rr,...Cr];function Qt(e,t,r,n){var o;const i=(o=Tr(e,t,!1))!=null?o:r;return typeof i=="number"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),i*a):Array.isArray(i)?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>i.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${a} > ${i.length-1}, you need to add the missing values.`].join(`
|
|
100
|
-
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
101
|
-
`))),i[a]):typeof i=="function"?i:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
102
|
-
`)),()=>{})}function pa(e){return Qt(e,"spacing",8,"spacing")}function er(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function Uu(e,t){return r=>e.reduce((n,o)=>(n[o]=er(t,r),n),{})}function Yu(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=Bu(r),i=Uu(o,n),a=e[r];return Xe(e,a,i)}function ma(e,t){const r=pa(e.theme);return Object.keys(e).map(n=>Yu(e,t,n,r)).reduce(Wt,{})}function Ee(e){return ma(e,Rr)}Ee.propTypes=process.env.NODE_ENV!=="production"?Rr.reduce((e,t)=>(e[t]=nt,e),{}):{};Ee.filterProps=Rr;function _e(e){return ma(e,Cr)}_e.propTypes=process.env.NODE_ENV!=="production"?Cr.reduce((e,t)=>(e[t]=nt,e),{}):{};_e.filterProps=Cr;process.env.NODE_ENV!=="production"&&Wu.reduce((e,t)=>(e[t]=nt,e),{});function qu(e=8){if(e.mui)return e;const t=pa({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function Pr(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?Wt(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Ue(e){return typeof e!="number"?e:`${e}px solid`}const Ku=fe({prop:"border",themeKey:"borders",transform:Ue}),Gu=fe({prop:"borderTop",themeKey:"borders",transform:Ue}),Hu=fe({prop:"borderRight",themeKey:"borders",transform:Ue}),Xu=fe({prop:"borderBottom",themeKey:"borders",transform:Ue}),Ju=fe({prop:"borderLeft",themeKey:"borders",transform:Ue}),Zu=fe({prop:"borderColor",themeKey:"palette"}),Qu=fe({prop:"borderTopColor",themeKey:"palette"}),el=fe({prop:"borderRightColor",themeKey:"palette"}),tl=fe({prop:"borderBottomColor",themeKey:"palette"}),rl=fe({prop:"borderLeftColor",themeKey:"palette"}),$r=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Qt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:er(t,n)});return Xe(e,e.borderRadius,r)}return null};$r.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:nt}:{};$r.filterProps=["borderRadius"];Pr(Ku,Gu,Hu,Xu,Ju,Zu,Qu,el,tl,rl,$r);const Ar=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Qt(e.theme,"spacing",8,"gap"),r=n=>({gap:er(t,n)});return Xe(e,e.gap,r)}return null};Ar.propTypes=process.env.NODE_ENV!=="production"?{gap:nt}:{};Ar.filterProps=["gap"];const Nr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Qt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:er(t,n)});return Xe(e,e.columnGap,r)}return null};Nr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:nt}:{};Nr.filterProps=["columnGap"];const jr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Qt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:er(t,n)});return Xe(e,e.rowGap,r)}return null};jr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:nt}:{};jr.filterProps=["rowGap"];const nl=fe({prop:"gridColumn"}),ol=fe({prop:"gridRow"}),il=fe({prop:"gridAutoFlow"}),al=fe({prop:"gridAutoColumns"}),sl=fe({prop:"gridAutoRows"}),cl=fe({prop:"gridTemplateColumns"}),ul=fe({prop:"gridTemplateRows"}),ll=fe({prop:"gridTemplateAreas"}),fl=fe({prop:"gridArea"});Pr(Ar,Nr,jr,nl,ol,il,al,sl,cl,ul,ll,fl);function xt(e,t){return t==="grey"?t:e}const dl=fe({prop:"color",themeKey:"palette",transform:xt}),pl=fe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:xt}),ml=fe({prop:"backgroundColor",themeKey:"palette",transform:xt});Pr(dl,pl,ml);function ke(e){return e<=1&&e!==0?`${e*100}%`:e}const hl=fe({prop:"width",transform:ke}),Kn=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n;return{maxWidth:((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||qn[r]||ke(r)}};return Xe(e,e.maxWidth,t)}return null};Kn.filterProps=["maxWidth"];const yl=fe({prop:"minWidth",transform:ke}),vl=fe({prop:"height",transform:ke}),gl=fe({prop:"maxHeight",transform:ke}),bl=fe({prop:"minHeight",transform:ke});fe({prop:"size",cssProperty:"width",transform:ke});fe({prop:"size",cssProperty:"height",transform:ke});const El=fe({prop:"boxSizing"});Pr(hl,Kn,yl,vl,gl,bl,El);const _l={border:{themeKey:"borders",transform:Ue},borderTop:{themeKey:"borders",transform:Ue},borderRight:{themeKey:"borders",transform:Ue},borderBottom:{themeKey:"borders",transform:Ue},borderLeft:{themeKey:"borders",transform:Ue},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:$r},color:{themeKey:"palette",transform:xt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:xt},backgroundColor:{themeKey:"palette",transform:xt},p:{style:_e},pt:{style:_e},pr:{style:_e},pb:{style:_e},pl:{style:_e},px:{style:_e},py:{style:_e},padding:{style:_e},paddingTop:{style:_e},paddingRight:{style:_e},paddingBottom:{style:_e},paddingLeft:{style:_e},paddingX:{style:_e},paddingY:{style:_e},paddingInline:{style:_e},paddingInlineStart:{style:_e},paddingInlineEnd:{style:_e},paddingBlock:{style:_e},paddingBlockStart:{style:_e},paddingBlockEnd:{style:_e},m:{style:Ee},mt:{style:Ee},mr:{style:Ee},mb:{style:Ee},ml:{style:Ee},mx:{style:Ee},my:{style:Ee},margin:{style:Ee},marginTop:{style:Ee},marginRight:{style:Ee},marginBottom:{style:Ee},marginLeft:{style:Ee},marginX:{style:Ee},marginY:{style:Ee},marginInline:{style:Ee},marginInlineStart:{style:Ee},marginInlineEnd:{style:Ee},marginBlock:{style:Ee},marginBlockStart:{style:Ee},marginBlockEnd:{style:Ee},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Ar},rowGap:{style:jr},columnGap:{style:Nr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ke},maxWidth:{style:Kn},minWidth:{transform:ke},height:{transform:ke},maxHeight:{transform:ke},minHeight:{transform:ke},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Gn=_l;function Sl(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function xl(e,t){return typeof e=="function"?e(t):e}function Ol(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:l=r,themeKey:c,transform:u,style:f}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const d=Tr(o,c)||{};return f?f(a):Xe(a,n,y=>{let h=vr(d,u,y);return y===h&&typeof y=="string"&&(h=vr(d,u,`${r}${y==="default"?"":Te(y)}`,y)),l===!1?h:{[l]:h}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Gn;function s(l){let c=l;if(typeof l=="function")c=l(i);else if(typeof l!="object")return l;if(!c)return null;const u=Du(i.breakpoints),f=Object.keys(u);let d=u;return Object.keys(c).forEach(g=>{const y=xl(c[g],i);if(y!=null)if(typeof y=="object")if(a[g])d=Wt(d,e(g,y,i,a));else{const h=Xe({theme:i},y,v=>({[g]:v}));Sl(h,y)?d[g]=t({sx:y,theme:i}):d=Wt(d,h)}else d=Wt(d,e(g,y,i,a))}),Vu(f,d)}return Array.isArray(o)?o.map(s):s(o)}return t}const ha=Ol();ha.filterProps=["sx"];const Hn=ha,wl=["breakpoints","palette","spacing","shape"];function Xn(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=Ve(e,wl),s=ju(r),l=qu(o);let c=Ge({breakpoints:s,direction:"ltr",components:{},palette:k({mode:"light"},n),spacing:l,shape:k({},ku,i)},a);return c=t.reduce((u,f)=>Ge(u,f),c),c.unstable_sxConfig=k({},Gn,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(f){return Hn({sx:f,theme:this})},c}function Tl(e){return Object.keys(e).length===0}function Rl(e=null){const t=$.useContext($t);return!t||Tl(t)?e:t}const Cl=Xn();function Pl(e=Cl){return Rl(e)}const $l=["variant"];function fi(e){return e.length===0}function ya(e){const{variant:t}=e,r=Ve(e,$l);let n=t||"";return Object.keys(r).sort().forEach(o=>{o==="color"?n+=fi(n)?e[o]:Te(e[o]):n+=`${fi(n)?o:Te(o)}${Te(e[o].toString())}`}),n}const Al=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Nl(e){return Object.keys(e).length===0}function jl(e){return typeof e=="string"&&e.charCodeAt(0)>96}const Il=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,kl=(e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach(o=>{const i=ya(o.props);n[i]=o.style}),n},Ml=(e,t,r,n)=>{var o;const{ownerState:i={}}=e,a=[],s=r==null||(o=r.components)==null||(o=o[n])==null?void 0:o.variants;return s&&s.forEach(l=>{let c=!0;Object.keys(l.props).forEach(u=>{i[u]!==l.props[u]&&e[u]!==l.props[u]&&(c=!1)}),c&&a.push(t[ya(l.props)])}),a};function fr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Dl=Xn(),Vl=e=>e.charAt(0).toLowerCase()+e.slice(1);function Lt({defaultTheme:e,theme:t,themeId:r}){return Nl(t)?e:t[r]||t}function Ll(e={}){const{themeId:t,defaultTheme:r=Dl,rootShouldForwardProp:n=fr,slotShouldForwardProp:o=fr}=e,i=a=>Hn(k({},a,{theme:Lt(k({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{$u(a,b=>b.filter(m=>!(m!=null&&m.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:f,overridesResolver:d}=s,g=Ve(s,Al),y=u!==void 0?u:c&&c!=="Root"||!1,h=f||!1;let v;process.env.NODE_ENV!=="production"&&l&&(v=`${l}-${Vl(c||"Root")}`);let S=fr;c==="Root"?S=n:c?S=o:jl(a)&&(S=void 0);const T=Pu(a,k({shouldForwardProp:S,label:v},g)),x=(b,...m)=>{const R=m?m.map(j=>typeof j=="function"&&j.__emotion_real!==j?B=>j(k({},B,{theme:Lt(k({},B,{defaultTheme:r,themeId:t}))})):j):[];let C=b;l&&d&&R.push(j=>{const B=Lt(k({},j,{defaultTheme:r,themeId:t})),X=Il(l,B);if(X){const Z={};return Object.entries(X).forEach(([Q,de])=>{Z[Q]=typeof de=="function"?de(k({},j,{theme:B})):de}),d(j,Z)}return null}),l&&!y&&R.push(j=>{const B=Lt(k({},j,{defaultTheme:r,themeId:t}));return Ml(j,kl(l,B),B,l)}),h||R.push(i);const G=R.length-m.length;if(Array.isArray(b)&&G>0){const j=new Array(G).fill("");C=[...b,...j],C.raw=[...b.raw,...j]}else typeof b=="function"&&b.__emotion_real!==b&&(C=j=>b(k({},j,{theme:Lt(k({},j,{defaultTheme:r,themeId:t}))})));const K=T(C,...R);if(process.env.NODE_ENV!=="production"){let j;l&&(j=`${l}${c||""}`),j===void 0&&(j=`Styled(${Ys(a)})`),K.displayName=j}return a.muiName&&(K.muiName=a.muiName),K};return T.withConfig&&(x.withConfig=T.withConfig),x}}function Fl(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:kn(t.components[r].defaultProps,n)}function zl({props:e,name:t,defaultTheme:r,themeId:n}){let o=Pl(r);return n&&(o=o[n]||o),Fl({theme:o,name:t,props:e})}function Jn(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Math.min(Math.max(t,e),r)}function Bl(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ct(e){if(e.type)return e;if(e.charAt(0)==="#")return ct(Bl(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
103
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:wt(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
104
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:wt(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}function Ir(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Wl(e){e=ct(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(c,u=(c+r/30)%12)=>o-i*Math.max(Math.min(u-3,9-u,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),Ir({type:s,values:l})}function di(e){e=ct(e);let t=e.type==="hsl"||e.type==="hsla"?ct(Wl(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function pi(e,t){const r=di(e),n=di(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function ar(e,t){return e=ct(e),t=Jn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ir(e)}function Ul(e,t){if(e=ct(e),t=Jn(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Ir(e)}function Yl(e,t){if(e=ct(e),t=Jn(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Ir(e)}function ql(e,t){return k({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Kl={black:"#000",white:"#fff"},Ht=Kl,Gl={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Hl=Gl,Xl={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},mt=Xl,Jl={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},ht=Jl,Zl={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ft=Zl,Ql={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},yt=Ql,ef={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},vt=ef,tf={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},gt=tf,rf=["mode","contrastThreshold","tonalOffset"],mi={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ht.white,default:Ht.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},rn={text:{primary:Ht.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ht.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function hi(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Yl(e.main,o):t==="dark"&&(e.dark=Ul(e.main,i)))}function nf(e="light"){return e==="dark"?{main:yt[200],light:yt[50],dark:yt[400]}:{main:yt[700],light:yt[400],dark:yt[800]}}function of(e="light"){return e==="dark"?{main:mt[200],light:mt[50],dark:mt[400]}:{main:mt[500],light:mt[300],dark:mt[700]}}function af(e="light"){return e==="dark"?{main:ht[500],light:ht[300],dark:ht[700]}:{main:ht[700],light:ht[400],dark:ht[800]}}function sf(e="light"){return e==="dark"?{main:vt[400],light:vt[300],dark:vt[700]}:{main:vt[700],light:vt[500],dark:vt[900]}}function cf(e="light"){return e==="dark"?{main:gt[400],light:gt[300],dark:gt[700]}:{main:gt[800],light:gt[500],dark:gt[900]}}function uf(e="light"){return e==="dark"?{main:Ft[400],light:Ft[300],dark:Ft[700]}:{main:"#ed6c02",light:Ft[500],dark:Ft[900]}}function lf(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Ve(e,rf),i=e.primary||nf(t),a=e.secondary||of(t),s=e.error||af(t),l=e.info||sf(t),c=e.success||cf(t),u=e.warning||uf(t);function f(h){const v=pi(h,rn.text.primary)>=r?rn.text.primary:mi.text.primary;if(process.env.NODE_ENV!=="production"){const S=pi(h,v);S<3&&console.error([`MUI: The contrast ratio of ${S}:1 for ${v} on ${h}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
105
|
-
`))}return v}const d=({color:h,name:v,mainShade:S=500,lightShade:T=300,darkShade:x=700})=>{if(h=k({},h),!h.main&&h[S]&&(h.main=h[S]),!h.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${v?` (${v})`:""} provided to augmentColor(color) is invalid.
|
|
106
|
-
The color object needs to have a \`main\` property or a \`${S}\` property.`:wt(11,v?` (${v})`:"",S));if(typeof h.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${v?` (${v})`:""} provided to augmentColor(color) is invalid.
|
|
107
|
-
\`color.main\` should be a string, but \`${JSON.stringify(h.main)}\` was provided instead.
|
|
108
|
-
|
|
109
|
-
Did you intend to use one of the following approaches?
|
|
110
|
-
|
|
111
|
-
import { green } from "@mui/material/colors";
|
|
112
|
-
|
|
113
|
-
const theme1 = createTheme({ palette: {
|
|
114
|
-
primary: green,
|
|
115
|
-
} });
|
|
116
|
-
|
|
117
|
-
const theme2 = createTheme({ palette: {
|
|
118
|
-
primary: { main: green[500] },
|
|
119
|
-
} });`:wt(12,v?` (${v})`:"",JSON.stringify(h.main)));return hi(h,"light",T,n),hi(h,"dark",x,n),h.contrastText||(h.contrastText=f(h.main)),h},g={dark:rn,light:mi};return process.env.NODE_ENV!=="production"&&(g[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Ge(k({common:k({},Ht),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:u,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:c,name:"success"}),grey:Hl,contrastThreshold:r,getContrastText:f,augmentColor:d,tonalOffset:n},g[t]),o)}const ff=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function df(e){return Math.round(e*1e5)/1e5}const yi={textTransform:"uppercase"},gi='"Roboto", "Helvetica", "Arial", sans-serif';function pf(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=gi,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:f}=r,d=Ve(r,ff);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof c!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const g=o/14,y=f||(S=>`${S/c*g}rem`),h=(S,T,x,b,m)=>k({fontFamily:n,fontWeight:S,fontSize:y(T),lineHeight:x},n===gi?{letterSpacing:`${df(b/T)}em`}:{},m,u),v={h1:h(i,96,1.167,-1.5),h2:h(i,60,1.2,-.5),h3:h(a,48,1.167,0),h4:h(a,34,1.235,.25),h5:h(a,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(a,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(a,16,1.5,.15),body2:h(a,14,1.43,.15),button:h(s,14,1.75,.4,yi),caption:h(a,12,1.66,.4),overline:h(a,12,2.66,1,yi),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ge(k({htmlFontSize:c,pxToRem:y,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},v),d,{clone:!1})}const mf=.2,hf=.14,yf=.12;function ve(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${mf})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${hf})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${yf})`].join(",")}const vf=["none",ve(0,2,1,-1,0,1,1,0,0,1,3,0),ve(0,3,1,-2,0,2,2,0,0,1,5,0),ve(0,3,3,-2,0,3,4,0,0,1,8,0),ve(0,2,4,-1,0,4,5,0,0,1,10,0),ve(0,3,5,-1,0,5,8,0,0,1,14,0),ve(0,3,5,-1,0,6,10,0,0,1,18,0),ve(0,4,5,-2,0,7,10,1,0,2,16,1),ve(0,5,5,-3,0,8,10,1,0,3,14,2),ve(0,5,6,-3,0,9,12,1,0,3,16,2),ve(0,6,6,-3,0,10,14,1,0,4,18,3),ve(0,6,7,-4,0,11,15,1,0,4,20,3),ve(0,7,8,-4,0,12,17,2,0,5,22,4),ve(0,7,8,-4,0,13,19,2,0,5,24,4),ve(0,7,9,-4,0,14,21,2,0,5,26,4),ve(0,8,9,-5,0,15,22,2,0,6,28,5),ve(0,8,10,-5,0,16,24,2,0,6,30,5),ve(0,8,11,-5,0,17,26,2,0,6,32,5),ve(0,9,11,-5,0,18,28,2,0,7,34,6),ve(0,9,12,-6,0,19,29,2,0,7,36,6),ve(0,10,13,-6,0,20,31,3,0,8,38,7),ve(0,10,13,-6,0,21,33,3,0,8,40,7),ve(0,10,14,-6,0,22,35,3,0,8,42,7),ve(0,11,14,-7,0,23,36,3,0,9,44,8),ve(0,11,15,-7,0,24,38,3,0,9,46,8)],gf=vf,bf=["duration","easing","delay"],Ef={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},_f={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function bi(e){return`${Math.round(e)}ms`}function Sf(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function xf(e){const t=k({},Ef,e.easing),r=k({},_f,e.duration);return k({getAutoHeightDuration:Sf,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:l=0}=i,c=Ve(i,bf);if(process.env.NODE_ENV!=="production"){const u=d=>typeof d=="string",f=d=>!isNaN(parseFloat(d));!u(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!f(a)&&!u(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),u(s)||console.error('MUI: Argument "easing" must be a string.'),!f(l)&&!u(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
120
|
-
`)),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof a=="string"?a:bi(a)} ${s} ${typeof l=="string"?l:bi(l)}`).join(",")}},e,{easing:t,duration:r})}const Of={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},wf=Of,Tf=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Rf(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=Ve(e,Tf);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":wt(18));const s=lf(n),l=Xn(e);let c=Ge(l,{mixins:ql(l.breakpoints,r),palette:s,shadows:gf.slice(),typography:pf(s,i),transitions:xf(o),zIndex:k({},wf)});if(c=Ge(c,a),c=t.reduce((u,f)=>Ge(u,f),c),process.env.NODE_ENV!=="production"){const u=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],f=(d,g)=>{let y;for(y in d){const h=d[y];if(u.indexOf(y)!==-1&&Object.keys(h).length>0){if(process.env.NODE_ENV!=="production"){const v=Jt("",y);console.error([`MUI: The \`${g}\` component increases the CSS specificity of the \`${y}\` internal state.`,"You can not override it like this: ",JSON.stringify(d,null,2),"",`Instead, you need to use the '&.${v}' syntax:`,JSON.stringify({root:{[`&.${v}`]:h}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
121
|
-
`))}d[y]={}}}};Object.keys(c.components).forEach(d=>{const g=c.components[d].styleOverrides;g&&d.indexOf("Mui")===0&&f(g,d)})}return c.unstable_sxConfig=k({},Gn,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(f){return Hn({sx:f,theme:this})},c}const Cf=Rf(),va=Cf,ga="$$material",ba=e=>fr(e)&&e!=="classes",Pf=Ll({themeId:ga,defaultTheme:va,rootShouldForwardProp:ba}),ut=Pf;function kr({props:e,name:t}){return zl({props:e,name:t,defaultTheme:va,themeId:ga})}function xn(e,t){return xn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},xn(e,t)}function $f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,xn(e,t)}const Ei=me.createContext(null);function Af(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zn(e,t){var r=function(i){return t&&me.isValidElement(i)?t(i):i},n=Object.create(null);return e&&me.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function Nf(e,t){e=e||{},t=t||{};function r(u){return u in t?t[u]:e[u]}var n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a,s={};for(var l in t){if(n[l])for(a=0;a<n[l].length;a++){var c=n[l][a];s[n[l][a]]=r(c)}s[l]=r(l)}for(a=0;a<o.length;a++)s[o[a]]=r(o[a]);return s}function it(e,t,r){return r[t]!=null?r[t]:e.props[t]}function jf(e,t){return Zn(e.children,function(r){return me.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:it(r,"appear",e),enter:it(r,"enter",e),exit:it(r,"exit",e)})})}function If(e,t,r){var n=Zn(e.children),o=Nf(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(me.isValidElement(a)){var s=i in t,l=i in n,c=t[i],u=me.isValidElement(c)&&!c.props.in;l&&(!s||u)?o[i]=me.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:it(a,"exit",e),enter:it(a,"enter",e)}):!l&&s&&!u?o[i]=me.cloneElement(a,{in:!1}):l&&s&&me.isValidElement(c)&&(o[i]=me.cloneElement(a,{onExited:r.bind(null,a),in:c.props.in,exit:it(a,"exit",e),enter:it(a,"enter",e)}))}}),o}var kf=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Mf={component:"div",childFactory:function(t){return t}},Qn=function(e){$f(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(Af(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var a=i.children,s=i.handleExited,l=i.firstRender;return{children:l?jf(o,s):If(o,a,s),firstRender:!1}},r.handleExited=function(o,i){var a=Zn(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(s){var l=k({},s.children);return delete l[o.key],{children:l}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,s=Ve(o,["component","childFactory"]),l=this.state.contextValue,c=kf(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?me.createElement(Ei.Provider,{value:l},c):me.createElement(Ei.Provider,{value:l},me.createElement(i,s,c))},t}(me.Component);Qn.propTypes=process.env.NODE_ENV!=="production"?{component:_.any,children:_.node,appear:_.bool,enter:_.bool,exit:_.bool,childFactory:_.func}:{};Qn.defaultProps=Mf;const Df=Qn;function Ea(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:c}=e,[u,f]=$.useState(!1),d=Ie(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),g={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},y=Ie(r.child,u&&r.childLeaving,n&&r.childPulsate);return!s&&!u&&f(!0),$.useEffect(()=>{if(!s&&l!=null){const h=setTimeout(l,c);return()=>{clearTimeout(h)}}},[l,s,c]),oe.jsx("span",{className:d,style:g,children:oe.jsx("span",{className:y})})}process.env.NODE_ENV!=="production"&&(Ea.propTypes={classes:_.object.isRequired,className:_.string,in:_.bool,onExited:_.func,pulsate:_.bool,rippleSize:_.number,rippleX:_.number,rippleY:_.number,timeout:_.number.isRequired});const Vf=br("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Fe=Vf,Lf=["center","classes","className"];let Mr=e=>e,_i,Si,xi,Oi;const On=550,Ff=80,zf=Yn(_i||(_i=Mr`
|
|
122
|
-
0% {
|
|
123
|
-
transform: scale(0);
|
|
124
|
-
opacity: 0.1;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
100% {
|
|
128
|
-
transform: scale(1);
|
|
129
|
-
opacity: 0.3;
|
|
130
|
-
}
|
|
131
|
-
`)),Bf=Yn(Si||(Si=Mr`
|
|
132
|
-
0% {
|
|
133
|
-
opacity: 1;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
100% {
|
|
137
|
-
opacity: 0;
|
|
138
|
-
}
|
|
139
|
-
`)),Wf=Yn(xi||(xi=Mr`
|
|
140
|
-
0% {
|
|
141
|
-
transform: scale(1);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
50% {
|
|
145
|
-
transform: scale(0.92);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
100% {
|
|
149
|
-
transform: scale(1);
|
|
150
|
-
}
|
|
151
|
-
`)),Uf=ut("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Yf=ut(Ea,{name:"MuiTouchRipple",slot:"Ripple"})(Oi||(Oi=Mr`
|
|
152
|
-
opacity: 0;
|
|
153
|
-
position: absolute;
|
|
154
|
-
|
|
155
|
-
&.${0} {
|
|
156
|
-
opacity: 0.3;
|
|
157
|
-
transform: scale(1);
|
|
158
|
-
animation-name: ${0};
|
|
159
|
-
animation-duration: ${0}ms;
|
|
160
|
-
animation-timing-function: ${0};
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
&.${0} {
|
|
164
|
-
animation-duration: ${0}ms;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
& .${0} {
|
|
168
|
-
opacity: 1;
|
|
169
|
-
display: block;
|
|
170
|
-
width: 100%;
|
|
171
|
-
height: 100%;
|
|
172
|
-
border-radius: 50%;
|
|
173
|
-
background-color: currentColor;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
& .${0} {
|
|
177
|
-
opacity: 0;
|
|
178
|
-
animation-name: ${0};
|
|
179
|
-
animation-duration: ${0}ms;
|
|
180
|
-
animation-timing-function: ${0};
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
& .${0} {
|
|
184
|
-
position: absolute;
|
|
185
|
-
/* @noflip */
|
|
186
|
-
left: 0px;
|
|
187
|
-
top: 0;
|
|
188
|
-
animation-name: ${0};
|
|
189
|
-
animation-duration: 2500ms;
|
|
190
|
-
animation-timing-function: ${0};
|
|
191
|
-
animation-iteration-count: infinite;
|
|
192
|
-
animation-delay: 200ms;
|
|
193
|
-
}
|
|
194
|
-
`),Fe.rippleVisible,zf,On,({theme:e})=>e.transitions.easing.easeInOut,Fe.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Fe.child,Fe.childLeaving,Bf,On,({theme:e})=>e.transitions.easing.easeInOut,Fe.childPulsate,Wf,({theme:e})=>e.transitions.easing.easeInOut),_a=$.forwardRef(function(t,r){const n=kr({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=n,s=Ve(n,Lf),[l,c]=$.useState([]),u=$.useRef(0),f=$.useRef(null);$.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const d=$.useRef(!1),g=$.useRef(0),y=$.useRef(null),h=$.useRef(null);$.useEffect(()=>()=>{g.current&&clearTimeout(g.current)},[]);const v=$.useCallback(b=>{const{pulsate:m,rippleX:R,rippleY:C,rippleSize:G,cb:K}=b;c(j=>[...j,oe.jsx(Yf,{classes:{ripple:Ie(i.ripple,Fe.ripple),rippleVisible:Ie(i.rippleVisible,Fe.rippleVisible),ripplePulsate:Ie(i.ripplePulsate,Fe.ripplePulsate),child:Ie(i.child,Fe.child),childLeaving:Ie(i.childLeaving,Fe.childLeaving),childPulsate:Ie(i.childPulsate,Fe.childPulsate)},timeout:On,pulsate:m,rippleX:R,rippleY:C,rippleSize:G},u.current)]),u.current+=1,f.current=K},[i]),S=$.useCallback((b={},m={},R=()=>{})=>{const{pulsate:C=!1,center:G=o||m.pulsate,fakeElement:K=!1}=m;if((b==null?void 0:b.type)==="mousedown"&&d.current){d.current=!1;return}(b==null?void 0:b.type)==="touchstart"&&(d.current=!0);const j=K?null:h.current,B=j?j.getBoundingClientRect():{width:0,height:0,left:0,top:0};let X,Z,Q;if(G||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)X=Math.round(B.width/2),Z=Math.round(B.height/2);else{const{clientX:de,clientY:ee}=b.touches&&b.touches.length>0?b.touches[0]:b;X=Math.round(de-B.left),Z=Math.round(ee-B.top)}if(G)Q=Math.sqrt((2*B.width**2+B.height**2)/3),Q%2===0&&(Q+=1);else{const de=Math.max(Math.abs((j?j.clientWidth:0)-X),X)*2+2,ee=Math.max(Math.abs((j?j.clientHeight:0)-Z),Z)*2+2;Q=Math.sqrt(de**2+ee**2)}b!=null&&b.touches?y.current===null&&(y.current=()=>{v({pulsate:C,rippleX:X,rippleY:Z,rippleSize:Q,cb:R})},g.current=setTimeout(()=>{y.current&&(y.current(),y.current=null)},Ff)):v({pulsate:C,rippleX:X,rippleY:Z,rippleSize:Q,cb:R})},[o,v]),T=$.useCallback(()=>{S({},{pulsate:!0})},[S]),x=$.useCallback((b,m)=>{if(clearTimeout(g.current),(b==null?void 0:b.type)==="touchend"&&y.current){y.current(),y.current=null,g.current=setTimeout(()=>{x(b,m)});return}y.current=null,c(R=>R.length>0?R.slice(1):R),f.current=m},[]);return $.useImperativeHandle(r,()=>({pulsate:T,start:S,stop:x}),[T,S,x]),oe.jsx(Uf,k({className:Ie(Fe.root,i.root,a),ref:h},s,{children:oe.jsx(Df,{component:null,exit:!0,children:l})}))});process.env.NODE_ENV!=="production"&&(_a.propTypes={center:_.bool,classes:_.object,className:_.string});const qf=_a;function Kf(e){return Jt("MuiButtonBase",e)}const Gf=br("MuiButtonBase",["root","disabled","focusVisible"]),Hf=Gf,Xf=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Jf=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=Mn({root:["root",t&&"disabled",r&&"focusVisible"]},Kf,o);return r&&n&&(a.root+=` ${n}`),a},Zf=ut("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Hf.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Sa=$.forwardRef(function(t,r){const n=kr({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:g="a",onBlur:y,onClick:h,onContextMenu:v,onDragLeave:S,onFocus:T,onFocusVisible:x,onKeyDown:b,onKeyUp:m,onMouseDown:R,onMouseLeave:C,onMouseUp:G,onTouchEnd:K,onTouchMove:j,onTouchStart:B,tabIndex:X=0,TouchRippleProps:Z,touchRippleRef:Q,type:de}=n,ee=Ve(n,Xf),ye=$.useRef(null),he=$.useRef(null),je=vn(he,Q),{isFocusVisibleRef:O,onFocus:A,onBlur:W,ref:F}=Ji(),[I,U]=$.useState(!1);c&&I&&U(!1),$.useImperativeHandle(o,()=>({focusVisible:()=>{U(!0),ye.current.focus()}}),[]);const[M,V]=$.useState(!1);$.useEffect(()=>{V(!0)},[]);const z=M&&!u&&!c;$.useEffect(()=>{I&&d&&!u&&M&&he.current.pulsate()},[u,d,I,M]);function D(q,It,kt=f){return Bt(nr=>(It&&It(nr),!kt&&he.current&&he.current[q](nr),!0))}const Y=D("start",R),be=D("stop",v),E=D("stop",S),xe=D("stop",G),N=D("stop",q=>{I&&q.preventDefault(),C&&C(q)}),Pe=D("start",B),ze=D("stop",K),ot=D("stop",j),tr=D("stop",q=>{W(q),O.current===!1&&U(!1),y&&y(q)},!1),lt=Bt(q=>{ye.current||(ye.current=q.currentTarget),A(q),O.current===!0&&(U(!0),x&&x(q)),T&&T(q)}),At=()=>{const q=ye.current;return l&&l!=="button"&&!(q.tagName==="A"&&q.href)},Nt=$.useRef(!1),jt=Bt(q=>{d&&!Nt.current&&I&&he.current&&q.key===" "&&(Nt.current=!0,he.current.stop(q,()=>{he.current.start(q)})),q.target===q.currentTarget&&At()&&q.key===" "&&q.preventDefault(),b&&b(q),q.target===q.currentTarget&&At()&&q.key==="Enter"&&!c&&(q.preventDefault(),h&&h(q))}),Dr=Bt(q=>{d&&q.key===" "&&he.current&&I&&!q.defaultPrevented&&(Nt.current=!1,he.current.stop(q,()=>{he.current.pulsate(q)})),m&&m(q),h&&q.target===q.currentTarget&&At()&&q.key===" "&&!q.defaultPrevented&&h(q)});let ft=l;ft==="button"&&(ee.href||ee.to)&&(ft=g);const Je={};ft==="button"?(Je.type=de===void 0?"button":de,Je.disabled=c):(!ee.href&&!ee.to&&(Je.role="button"),c&&(Je["aria-disabled"]=c));const rr=vn(r,F,ye);process.env.NODE_ENV!=="production"&&$.useEffect(()=>{z&&!he.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(`
|
|
195
|
-
`))},[z]);const Ze=k({},n,{centerRipple:i,component:l,disabled:c,disableRipple:u,disableTouchRipple:f,focusRipple:d,tabIndex:X,focusVisible:I}),Vr=Jf(Ze);return oe.jsxs(Zf,k({as:ft,className:Ie(Vr.root,s),ownerState:Ze,onBlur:tr,onClick:h,onContextMenu:be,onFocus:lt,onKeyDown:jt,onKeyUp:Dr,onMouseDown:Y,onMouseLeave:N,onMouseUp:xe,onDragLeave:E,onTouchEnd:ze,onTouchMove:ot,onTouchStart:Pe,ref:rr,tabIndex:c?-1:X,type:de},Je,ee,{children:[a,z?oe.jsx(qf,k({ref:je,center:i},Z)):null]}))});process.env.NODE_ENV!=="production"&&(Sa.propTypes={action:Ks,centerRipple:_.bool,children:_.node,classes:_.object,className:_.string,component:Fs,disabled:_.bool,disableRipple:_.bool,disableTouchRipple:_.bool,focusRipple:_.bool,focusVisibleClassName:_.string,href:_.any,LinkComponent:_.elementType,onBlur:_.func,onClick:_.func,onContextMenu:_.func,onDragLeave:_.func,onFocus:_.func,onFocusVisible:_.func,onKeyDown:_.func,onKeyUp:_.func,onMouseDown:_.func,onMouseLeave:_.func,onMouseUp:_.func,onTouchEnd:_.func,onTouchMove:_.func,onTouchStart:_.func,sx:_.oneOfType([_.arrayOf(_.oneOfType([_.func,_.object,_.bool])),_.func,_.object]),tabIndex:_.number,TouchRippleProps:_.object,touchRippleRef:_.oneOfType([_.func,_.shape({current:_.shape({pulsate:_.func.isRequired,start:_.func.isRequired,stop:_.func.isRequired})})]),type:_.oneOfType([_.oneOf(["button","reset","submit"]),_.string])});const Qf=Sa;function ed(e){return Jt("MuiButton",e)}const td=br("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),sr=td,xa=$.createContext({});process.env.NODE_ENV!=="production"&&(xa.displayName="ButtonGroupContext");const rd=xa,nd=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],od=e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,s={root:["root",i,`${i}${Te(t)}`,`size${Te(o)}`,`${i}Size${Te(o)}`,t==="inherit"&&"colorInherit",r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Te(o)}`],endIcon:["endIcon",`iconSize${Te(o)}`]},l=Mn(s,ed,a);return k({},a,l)},Oa=e=>k({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),id=ut(Qf,{shouldForwardProp:e=>ba(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${Te(r.color)}`],t[`size${Te(r.size)}`],t[`${r.variant}Size${Te(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return k({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":k({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:ar(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ar(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ar(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":k({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${sr.focusVisible}`]:k({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${sr.disabled}`]:k({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${ar(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${sr.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${sr.disabled}`]:{boxShadow:"none"}}),ad=ut("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${Te(r.size)}`]]}})(({ownerState:e})=>k({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},Oa(e))),sd=ut("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${Te(r.size)}`]]}})(({ownerState:e})=>k({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},Oa(e))),wa=$.forwardRef(function(t,r){const n=$.useContext(rd),o=kn(n,t),i=kr({props:o,name:"MuiButton"}),{children:a,color:s="primary",component:l="button",className:c,disabled:u=!1,disableElevation:f=!1,disableFocusRipple:d=!1,endIcon:g,focusVisibleClassName:y,fullWidth:h=!1,size:v="medium",startIcon:S,type:T,variant:x="text"}=i,b=Ve(i,nd),m=k({},i,{color:s,component:l,disabled:u,disableElevation:f,disableFocusRipple:d,fullWidth:h,size:v,type:T,variant:x}),R=od(m),C=S&&oe.jsx(ad,{className:R.startIcon,ownerState:m,children:S}),G=g&&oe.jsx(sd,{className:R.endIcon,ownerState:m,children:g});return oe.jsxs(id,k({ownerState:m,className:Ie(n.className,R.root,c),component:l,disabled:u,focusRipple:!d,focusVisibleClassName:Ie(R.focusVisible,y),ref:r,type:T},b,{classes:R,children:[C,a,G]}))});process.env.NODE_ENV!=="production"&&(wa.propTypes={children:_.node,classes:_.object,className:_.string,color:_.oneOfType([_.oneOf(["inherit","primary","secondary","success","error","info","warning"]),_.string]),component:_.elementType,disabled:_.bool,disableElevation:_.bool,disableFocusRipple:_.bool,disableRipple:_.bool,endIcon:_.node,focusVisibleClassName:_.string,fullWidth:_.bool,href:_.string,size:_.oneOfType([_.oneOf(["small","medium","large"]),_.string]),startIcon:_.node,sx:_.oneOfType([_.arrayOf(_.oneOfType([_.func,_.object,_.bool])),_.func,_.object]),type:_.oneOfType([_.oneOf(["button","reset","submit"]),_.string]),variant:_.oneOfType([_.oneOf(["contained","outlined","text"]),_.string])});const wn=wa;var Tn={exports:{}},nn={};/**
|
|
196
|
-
* @license React
|
|
197
|
-
* use-sync-external-store-shim.production.min.js
|
|
198
|
-
*
|
|
199
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
200
|
-
*
|
|
201
|
-
* This source code is licensed under the MIT license found in the
|
|
202
|
-
* LICENSE file in the root directory of this source tree.
|
|
203
|
-
*/var wi;function cd(){if(wi)return nn;wi=1;var e=me;function t(f,d){return f===d&&(f!==0||1/f===1/d)||f!==f&&d!==d}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function s(f,d){var g=d(),y=n({inst:{value:g,getSnapshot:d}}),h=y[0].inst,v=y[1];return i(function(){h.value=g,h.getSnapshot=d,l(h)&&v({inst:h})},[f,g,d]),o(function(){return l(h)&&v({inst:h}),f(function(){l(h)&&v({inst:h})})},[f]),a(g),g}function l(f){var d=f.getSnapshot;f=f.value;try{var g=d();return!r(f,g)}catch{return!0}}function c(f,d){return d()}var u=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:s;return nn.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:u,nn}var on={};/**
|
|
204
|
-
* @license React
|
|
205
|
-
* use-sync-external-store-shim.development.js
|
|
206
|
-
*
|
|
207
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
208
|
-
*
|
|
209
|
-
* This source code is licensed under the MIT license found in the
|
|
210
|
-
* LICENSE file in the root directory of this source tree.
|
|
211
|
-
*/var Ti;function ud(){return Ti||(Ti=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=me,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(x){{for(var b=arguments.length,m=new Array(b>1?b-1:0),R=1;R<b;R++)m[R-1]=arguments[R];n("error",x,m)}}function n(x,b,m){{var R=t.ReactDebugCurrentFrame,C=R.getStackAddendum();C!==""&&(b+="%s",m=m.concat([C]));var G=m.map(function(K){return String(K)});G.unshift("Warning: "+b),Function.prototype.apply.call(console[x],console,G)}}function o(x,b){return x===b&&(x!==0||1/x===1/b)||x!==x&&b!==b}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,c=e.useDebugValue,u=!1,f=!1;function d(x,b,m){u||e.startTransition!==void 0&&(u=!0,r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var R=b();if(!f){var C=b();i(R,C)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}var G=a({inst:{value:R,getSnapshot:b}}),K=G[0].inst,j=G[1];return l(function(){K.value=R,K.getSnapshot=b,g(K)&&j({inst:K})},[x,R,b]),s(function(){g(K)&&j({inst:K});var B=function(){g(K)&&j({inst:K})};return x(B)},[x]),c(R),R}function g(x){var b=x.getSnapshot,m=x.value;try{var R=b();return!i(m,R)}catch{return!0}}function y(x,b,m){return b()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",v=!h,S=v?y:d,T=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:S;on.useSyncExternalStore=T,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),on}process.env.NODE_ENV==="production"?Tn.exports=cd():Tn.exports=ud();var Ta=Tn.exports,an={};/**
|
|
212
|
-
* @license React
|
|
213
|
-
* use-sync-external-store-shim/with-selector.production.min.js
|
|
214
|
-
*
|
|
215
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
216
|
-
*
|
|
217
|
-
* This source code is licensed under the MIT license found in the
|
|
218
|
-
* LICENSE file in the root directory of this source tree.
|
|
219
|
-
*/var Ri;function ld(){if(Ri)return an;Ri=1;var e=me,t=Ta;function r(c,u){return c===u&&(c!==0||1/c===1/u)||c!==c&&u!==u}var n=typeof Object.is=="function"?Object.is:r,o=t.useSyncExternalStore,i=e.useRef,a=e.useEffect,s=e.useMemo,l=e.useDebugValue;return an.useSyncExternalStoreWithSelector=function(c,u,f,d,g){var y=i(null);if(y.current===null){var h={hasValue:!1,value:null};y.current=h}else h=y.current;y=s(function(){function S(R){if(!T){if(T=!0,x=R,R=d(R),g!==void 0&&h.hasValue){var C=h.value;if(g(C,R))return b=C}return b=R}if(C=b,n(x,R))return C;var G=d(R);return g!==void 0&&g(C,G)?C:(x=R,b=G)}var T=!1,x,b,m=f===void 0?null:f;return[function(){return S(u())},m===null?void 0:function(){return S(m())}]},[u,f,d,g]);var v=o(c,y[0],y[1]);return a(function(){h.hasValue=!0,h.value=v},[v]),l(v),v},an}var sn={};/**
|
|
220
|
-
* @license React
|
|
221
|
-
* use-sync-external-store-shim/with-selector.development.js
|
|
222
|
-
*
|
|
223
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
224
|
-
*
|
|
225
|
-
* This source code is licensed under the MIT license found in the
|
|
226
|
-
* LICENSE file in the root directory of this source tree.
|
|
227
|
-
*/var Ci;function fd(){return Ci||(Ci=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=me,t=Ta;function r(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}var n=typeof Object.is=="function"?Object.is:r,o=t.useSyncExternalStore,i=e.useRef,a=e.useEffect,s=e.useMemo,l=e.useDebugValue;function c(u,f,d,g,y){var h=i(null),v;h.current===null?(v={hasValue:!1,value:null},h.current=v):v=h.current;var S=s(function(){var m=!1,R,C,G=function(X){if(!m){m=!0,R=X;var Z=g(X);if(y!==void 0&&v.hasValue){var Q=v.value;if(y(Q,Z))return C=Q,Q}return C=Z,Z}var de=R,ee=C;if(n(de,X))return ee;var ye=g(X);return y!==void 0&&y(ee,ye)?ee:(R=X,C=ye,ye)},K=d===void 0?null:d,j=function(){return G(f())},B=K===null?void 0:function(){return G(K())};return[j,B]},[f,d,g,y]),T=S[0],x=S[1],b=o(u,T,x);return a(function(){v.hasValue=!0,v.value=b},[b]),l(b),b}sn.useSyncExternalStoreWithSelector=c,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),sn}process.env.NODE_ENV==="production"?ld():fd();const Pi=Symbol.for(`react-redux-context-${me.version}`),$i=globalThis;function dd(){let e=$i[Pi];return e||(e=me.createContext(null),process.env.NODE_ENV!=="production"&&(e.displayName="ReactRedux"),$i[Pi]=e),e}const Xt=new Proxy({},new Proxy({},{get(e,t){const r=dd();return(n,...o)=>Reflect[t](r,...o)}}));function Ra(e=Xt){return function(){const r=me.useContext(e);if(process.env.NODE_ENV!=="production"&&!r)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return r}}const pd=Ra();function Ca(e=Xt){const t=e===Xt?pd:Ra(e);return function(){const{store:n}=t();return n}}const md=Ca();function hd(e=Xt){const t=e===Xt?md:Ca(e);return function(){return t().dispatch}}const yd=hd(),Pa=()=>yd(),vd=({message:e,onConfirmClick:t,id:r})=>{const n=Pa(),o=()=>{n(ja(r))};return oe.jsx("div",{style:{maxWidth:"600px"},children:oe.jsxs("div",{style:{padding:"1em 2em 0"},children:[oe.jsx("div",{style:{textAlign:"center",marginBottom:"1em"},children:e}),oe.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[oe.jsx(wn,{color:"warning",sx:{minWidth:"100px"},onClick:()=>{t(),o()},children:"да"}),oe.jsx(wn,{color:"info",sx:{minWidth:"100px"},onClick:()=>o(),children:"отмена"})]})]})})};var eo={},$a={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})($a);var gd=$a.exports,cn={};function bd(e){return Jt("MuiSvgIcon",e)}br("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ed=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],_d=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${Te(t)}`,`fontSize${Te(r)}`]};return Mn(o,bd,n)},Sd=ut("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${Te(r.color)}`],t[`fontSize${Te(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,s,l,c,u,f,d,g,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((s=e.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem",large:((c=e.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:(f=(d=(e.vars||e).palette)==null||(d=d[t.color])==null?void 0:d.main)!=null?f:{action:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.active,disabled:(y=(e.vars||e).palette)==null||(y=y.action)==null?void 0:y.disabled,inherit:void 0}[t.color]}}),to=$.forwardRef(function(t,r){const n=kr({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:f,viewBox:d="0 0 24 24"}=n,g=Ve(n,Ed),y=$.isValidElement(o)&&o.type==="svg",h=k({},n,{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:d,hasSvgAsChild:y}),v={};u||(v.viewBox=d);const S=_d(h);return oe.jsxs(Sd,k({as:s,className:Ie(S.root,i),focusable:"false",color:c,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:r},v,g,y&&o.props,{ownerState:h,children:[y?o.props.children:o,f?oe.jsx("title",{children:f}):null]}))});process.env.NODE_ENV!=="production"&&(to.propTypes={children:_.node,classes:_.object,className:_.string,color:_.oneOfType([_.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),_.string]),component:_.elementType,fontSize:_.oneOfType([_.oneOf(["inherit","large","medium","small"]),_.string]),htmlColor:_.string,inheritViewBox:_.bool,shapeRendering:_.string,sx:_.oneOfType([_.arrayOf(_.oneOfType([_.func,_.object,_.bool])),_.func,_.object]),titleAccess:_.string,viewBox:_.string});to.muiName="SvgIcon";const Ai=to;function xd(e,t){function r(n,o){return oe.jsx(Ai,k({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Ai.muiName,$.memo($.forwardRef(r))}const Od={configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
|
|
228
|
-
`)),Zi.configure(e)}},wd=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Te,createChainedFunction:Gs,createSvgIcon:xd,debounce:Hs,deprecatedPropType:Xs,isMuiElement:Js,ownerDocument:Gi,ownerWindow:Zs,requirePropFactory:Qs,setRef:Hi,unstable_ClassNameGenerator:Od,unstable_useEnhancedEffect:Xi,unstable_useId:rc,unsupportedProp:nc,useControlled:oc,useEventCallback:Bt,useForkRef:vn,useIsFocusVisible:Ji},Symbol.toStringTag,{value:"Module"})),Td=Xa(wd);var Ni;function Rd(){return Ni||(Ni=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Td}(cn)),cn}var Cd=gd;Object.defineProperty(eo,"__esModule",{value:!0});var Aa=eo.default=void 0,Pd=Cd(Rd()),$d=oe,Ad=(0,Pd.default)((0,$d.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline");Aa=eo.default=Ad;const ji=({status:e,message:t,onSuccess:r,id:n})=>{const o=Pa(),i=()=>{o(ja(n))};return oe.jsxs("div",{className:"alert-message",children:[oe.jsxs("div",{className:"alert-message-content",children:[e==="failed"&&oe.jsx("div",{className:"alert-message-img",children:oe.jsx(Aa,{fontSize:"inherit",color:"error"})}),oe.jsx("div",{className:"alert-message-text",dangerouslySetInnerHTML:{__html:t||""}})]}),oe.jsx("div",{className:"alert-message-button",children:oe.jsx(wn,{id:"alert_submit_button",variant:"contained",color:"secondary",onClick:()=>{i(),e==="success"&&(r==null||r())},children:"Продолжить"})})]})},Nd={popups:[]},Na=Bi({name:"PopupsSlice",initialState:Nd,reducers:{showNewPopup:(e,t)=>{e.popups=[...e.popups,t.payload]},closePopup:(e,t)=>{e.popups=e.popups.filter((r,n)=>n!==t.payload)},closePopupById:(e,t)=>{e.popups=e.popups.filter((r,n)=>r.id!==t.payload)},showErrorAlert:(e,t)=>{var o,i,a,s,l,c,u,f;const r=Math.floor(Math.random()*100).toString();let n=`<div><div>${t.payload.msg??""}</div>${(s=(a=(i=(o=t.payload)==null?void 0:o.axiosError)==null?void 0:i.response)==null?void 0:a.data)!=null&&s.msg?`<div>${(f=(u=(c=(l=t.payload)==null?void 0:l.axiosError)==null?void 0:c.response)==null?void 0:u.data)==null?void 0:f.msg}</div>`:""}</div>`;e.popups=[...e.popups,{id:r,title:"Оповещение",content:oe.jsx(ji,{id:r,status:"failed",message:n})}]},showSuccessAlert:(e,t)=>{const r=Math.floor(Math.random()*100).toString();e.popups=[...e.popups,{id:r,title:"Оповещение",content:oe.jsx(ji,{id:r,status:"success",message:t.payload.msg})}]},showConfirmation:(e,t)=>{const r=Math.floor(Math.random()*100).toString();e.popups=[...e.popups,{id:r,title:"Подтверждение действия",content:oe.jsx(vd,{id:r,message:t.payload.message,onConfirmClick:()=>{var n,o;return(o=(n=t.payload).onConfirm)==null?void 0:o.call(n)}})}]}}}),{showNewPopup:Dd,closePopup:Vd,closePopupById:ja,showErrorAlert:Ld,showSuccessAlert:Fd,showConfirmation:zd}=Na.actions,jd=Na.reducer,Id={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,cabinetSettings:null};ws("getCabinetSettings",async(e,t)=>{t.dispatch(Ii(!0));const r=t.getState().cabinet.apiAxios;try{const n=await r.post("/externalCustomerCabinet/cabinetInfo",{phoneNumber:t.getState().cabinet.phoneNumber,cabinetType:t.getState().cabinet.cabinetType});t.dispatch(kd(n.data))}catch{}finally{t.dispatch(Ii(!1))}});const Ia=Bi({name:"CabinetSlice",initialState:Id,reducers:{setPhoneNumber:(e,t)=>{e.phoneNumber=t.payload},setCabinetSettings:(e,t)=>{e.cabinetSettings=t.payload},setCabinetIsLoading:(e,t)=>{e.cabinetIsLoading=t.payload},setInitialParameters:(e,t)=>{e.apiAxios=t.payload.axios,e.cabinetType=t.payload.cabinetType,e.phoneNumber=t.payload.phoneNumber}}}),{setPhoneNumber:Bd,setCabinetSettings:kd,setCabinetIsLoading:Ii,setInitialParameters:Wd}=Ia.actions,Md=Ia.reducer;exports.TestComponent=Qa;exports.cabinetReducer=Md;exports.popupsReducer=jd;
|
|
27
|
+
Check the top-level render call using <`+t+">.")}return r}}function Ee(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=er(r);if(ye[t])return;ye[t]=!0;var n="";e&&e._owner&&e._owner!==z.current&&(n=" It was passed a child from "+m(e._owner.type)+"."),S(e),f('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),S(null)}}function _e(e,r){{if(typeof e!="object")return;if(J(e))for(var t=0;t<e.length;t++){var n=e[t];H(n)&&Ee(n,r)}else if(H(e))e._store&&(e._store.validated=!0);else if(e){var i=Oe(e);if(typeof i=="function"&&i!==e.entries)for(var u=i.call(e),o;!(o=u.next()).done;)H(o.value)&&Ee(o.value,r)}}}function rr(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===c||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=m(r);Me(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!K){K=!0;var i=m(r);f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function tr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){S(e),f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),S(null);break}}e.ref!==null&&(S(e),f("Invalid attribute `ref` supplied to `React.Fragment`."),S(null))}}function Re(e,r,t,n,i,u){{var o=Fe(e);if(!o){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 v=Qe(i);v?a+=v:a+=me();var s;e===null?s="null":J(e)?s="array":e!==void 0&&e.$$typeof===b?(s="<"+(m(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var l=Ze(e,r,t,i,u);if(l==null)return l;if(o){var g=r.children;if(g!==void 0)if(n)if(J(g)){for(var O=0;O<g.length;O++)_e(g[O],e);Object.freeze&&Object.freeze(g)}else f("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 _e(g,e)}return e===T?tr(l):rr(l),l}}function nr(e,r,t){return Re(e,r,t,!0)}function ar(e,r,t){return Re(e,r,t,!1)}var or=ar,ir=nr;D.Fragment=T,D.jsx=or,D.jsxs=ir}()),D}process.env.NODE_ENV==="production"?X.exports=ur():X.exports=sr();var Z=X.exports;const lr={popups:[]},cr=x.createContext(lr),fr=()=>{const[d,b]=x.useState([]);return{popups:d}},vr=({children:d})=>{const b=fr();return Z.jsx(cr.Provider,{value:b,children:d})},dr={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,setPhoneNumber:()=>{},cabinetSettings:null},pr=x.createContext(dr),br=()=>{const[d,b]=x.useState(null);return{cabinetType:2,apiAxios:null,cabinetIsLoading:!1,cabinetSettings:null,phoneNumber:d,setPhoneNumber:b}},gr=({children:d})=>{const b=br();return Z.jsx(pr.Provider,{value:b,children:d})};const hr=({number:d})=>Z.jsx("div",{children:d});exports.AppProvider=gr;exports.PopupProvider=vr;exports.TestComponent=hr;
|