UNPKG

@js-smart/react-kit

Version:
49 lines 155 kB
"use strict";var co=Object.defineProperty;var lo=(e,t,n)=>t in e?co(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Le=(e,t,n)=>lo(e,typeof t!="symbol"?t+"":t,n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("react/jsx-runtime"),R=require("@mui/material"),ae=require("react"),uo=require("@emotion/styled"),fo=require("@emotion/react"),kr=require("react-router-dom"),rn=require("date-fns");function ho(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const ve=ho(ae),Pn=e=>e,mo=()=>{let e=Pn;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Pn}}},go=mo();function Oe(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}function je(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Oe(7));return e.charAt(0).toUpperCase()+e.slice(1)}function po(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ft={exports:{}},dt={exports:{}},q={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Nn;function yo(){if(Nn)return q;Nn=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function N(b){if(typeof b=="object"&&b!==null){var A=b.$$typeof;switch(A){case t:switch(b=b.type,b){case l:case f:case r:case s:case o:case h:return b;default:switch(b=b&&b.$$typeof,b){case a:case d:case g:case p:case i:return b;default:return A}}case n:return A}}}function k(b){return N(b)===f}return q.AsyncMode=l,q.ConcurrentMode=f,q.ContextConsumer=a,q.ContextProvider=i,q.Element=t,q.ForwardRef=d,q.Fragment=r,q.Lazy=g,q.Memo=p,q.Portal=n,q.Profiler=s,q.StrictMode=o,q.Suspense=h,q.isAsyncMode=function(b){return k(b)||N(b)===l},q.isConcurrentMode=k,q.isContextConsumer=function(b){return N(b)===a},q.isContextProvider=function(b){return N(b)===i},q.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},q.isForwardRef=function(b){return N(b)===d},q.isFragment=function(b){return N(b)===r},q.isLazy=function(b){return N(b)===g},q.isMemo=function(b){return N(b)===p},q.isPortal=function(b){return N(b)===n},q.isProfiler=function(b){return N(b)===s},q.isStrictMode=function(b){return N(b)===o},q.isSuspense=function(b){return N(b)===h},q.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===f||b===s||b===o||b===h||b===m||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===p||b.$$typeof===i||b.$$typeof===a||b.$$typeof===d||b.$$typeof===_||b.$$typeof===E||b.$$typeof===C||b.$$typeof===u)},q.typeOf=N,q}var G={};/** @license React v16.13.1 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var $n;function _o(){return $n||($n=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function N(x){return typeof x=="string"||typeof x=="function"||x===r||x===f||x===s||x===o||x===h||x===m||typeof x=="object"&&x!==null&&(x.$$typeof===g||x.$$typeof===p||x.$$typeof===i||x.$$typeof===a||x.$$typeof===d||x.$$typeof===_||x.$$typeof===E||x.$$typeof===C||x.$$typeof===u)}function k(x){if(typeof x=="object"&&x!==null){var be=x.$$typeof;switch(be){case t:var ut=x.type;switch(ut){case l:case f:case r:case s:case o:case h:return ut;default:var On=ut&&ut.$$typeof;switch(On){case a:case d:case g:case p:case i:return On;default:return be}}case n:return be}}}var b=l,A=f,w=a,$=i,te=t,U=d,B=r,c=g,O=p,T=n,I=s,M=o,ie=h,ue=!1;function Me(x){return ue||(ue=!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.")),v(x)||k(x)===l}function v(x){return k(x)===f}function P(x){return k(x)===a}function V(x){return k(x)===i}function W(x){return typeof x=="object"&&x!==null&&x.$$typeof===t}function D(x){return k(x)===d}function z(x){return k(x)===r}function L(x){return k(x)===g}function F(x){return k(x)===p}function K(x){return k(x)===n}function J(x){return k(x)===s}function H(x){return k(x)===o}function fe(x){return k(x)===h}G.AsyncMode=b,G.ConcurrentMode=A,G.ContextConsumer=w,G.ContextProvider=$,G.Element=te,G.ForwardRef=U,G.Fragment=B,G.Lazy=c,G.Memo=O,G.Portal=T,G.Profiler=I,G.StrictMode=M,G.Suspense=ie,G.isAsyncMode=Me,G.isConcurrentMode=v,G.isContextConsumer=P,G.isContextProvider=V,G.isElement=W,G.isForwardRef=D,G.isFragment=z,G.isLazy=L,G.isMemo=F,G.isPortal=K,G.isProfiler=J,G.isStrictMode=H,G.isSuspense=fe,G.isValidElementType=N,G.typeOf=k}()),G}var In;function wr(){return In||(In=1,process.env.NODE_ENV==="production"?dt.exports=yo():dt.exports=_o()),dt.exports}/* object-assign (c) Sindre Sorhus @license MIT */var Ut,Rn;function bo(){if(Rn)return Ut;Rn=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var i={},a=0;a<10;a++)i["_"+String.fromCharCode(a)]=a;var l=Object.getOwnPropertyNames(i).map(function(d){return i[d]});if(l.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(d){f[d]=d}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Ut=o()?Object.assign:function(s,i){for(var a,l=r(s),f,d=1;d<arguments.length;d++){a=Object(arguments[d]);for(var h in a)t.call(a,h)&&(l[h]=a[h]);if(e){f=e(a);for(var m=0;m<f.length;m++)n.call(a,f[m])&&(l[f[m]]=a[f[m]])}}return l},Ut}var zt,Dn;function gn(){if(Dn)return zt;Dn=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return zt=e,zt}var Kt,jn;function Tr(){return jn||(jn=1,Kt=Function.call.bind(Object.prototype.hasOwnProperty)),Kt}var Ht,Mn;function So(){if(Mn)return Ht;Mn=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=gn(),n={},r=Tr();e=function(s){var i="Warning: "+s;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function o(s,i,a,l,f){if(process.env.NODE_ENV!=="production"){for(var d in s)if(r(s,d)){var h;try{if(typeof s[d]!="function"){var m=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}h=s[d](i,d,l,a,null,t)}catch(g){h=g}if(h&&!(h instanceof Error)&&e((l||"React class")+": type specification of "+a+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in n)){n[h.message]=!0;var p=f?f():"";e("Failed "+a+" type: "+h.message+(p??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Ht=o,Ht}var Yt,Ln;function vo(){if(Ln)return Yt;Ln=1;var e=wr(),t=bo(),n=gn(),r=Tr(),o=So(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(a){var l="Warning: "+a;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function i(){return null}return Yt=function(a,l){var f=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function h(v){var P=v&&(f&&v[f]||v[d]);if(typeof P=="function")return P}var m="<<anonymous>>",p={array:E("array"),bigint:E("bigint"),bool:E("boolean"),func:E("function"),number:E("number"),object:E("object"),string:E("string"),symbol:E("symbol"),any:C(),arrayOf:N,element:k(),elementType:b(),instanceOf:A,node:U(),objectOf:$,oneOf:w,oneOfType:te,shape:c,exact:O};function g(v,P){return v===P?v!==0||1/v===1/P:v!==v&&P!==P}function u(v,P){this.message=v,this.data=P&&typeof P=="object"?P:{},this.stack=""}u.prototype=Error.prototype;function _(v){if(process.env.NODE_ENV!=="production")var P={},V=0;function W(z,L,F,K,J,H,fe){if(K=K||m,H=H||F,fe!==n){if(l){var x=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 x.name="Invariant Violation",x}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var be=K+":"+F;!P[be]&&V<3&&(s("You are manually calling a React.PropTypes validation function for the `"+H+"` prop on `"+K+"`. 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."),P[be]=!0,V++)}}return L[F]==null?z?L[F]===null?new u("The "+J+" `"+H+"` is marked as required "+("in `"+K+"`, but its value is `null`.")):new u("The "+J+" `"+H+"` is marked as required in "+("`"+K+"`, but its value is `undefined`.")):null:v(L,F,K,J,H)}var D=W.bind(null,!1);return D.isRequired=W.bind(null,!0),D}function E(v){function P(V,W,D,z,L,F){var K=V[W],J=M(K);if(J!==v){var H=ie(K);return new u("Invalid "+z+" `"+L+"` of type "+("`"+H+"` supplied to `"+D+"`, expected ")+("`"+v+"`."),{expectedType:v})}return null}return _(P)}function C(){return _(i)}function N(v){function P(V,W,D,z,L){if(typeof v!="function")return new u("Property `"+L+"` of component `"+D+"` has invalid PropType notation inside arrayOf.");var F=V[W];if(!Array.isArray(F)){var K=M(F);return new u("Invalid "+z+" `"+L+"` of type "+("`"+K+"` supplied to `"+D+"`, expected an array."))}for(var J=0;J<F.length;J++){var H=v(F,J,D,z,L+"["+J+"]",n);if(H instanceof Error)return H}return null}return _(P)}function k(){function v(P,V,W,D,z){var L=P[V];if(!a(L)){var F=M(L);return new u("Invalid "+D+" `"+z+"` of type "+("`"+F+"` supplied to `"+W+"`, expected a single ReactElement."))}return null}return _(v)}function b(){function v(P,V,W,D,z){var L=P[V];if(!e.isValidElementType(L)){var F=M(L);return new u("Invalid "+D+" `"+z+"` of type "+("`"+F+"` supplied to `"+W+"`, expected a single ReactElement type."))}return null}return _(v)}function A(v){function P(V,W,D,z,L){if(!(V[W]instanceof v)){var F=v.name||m,K=Me(V[W]);return new u("Invalid "+z+" `"+L+"` of type "+("`"+K+"` supplied to `"+D+"`, expected ")+("instance of `"+F+"`."))}return null}return _(P)}function w(v){if(!Array.isArray(v))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("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])."):s("Invalid argument supplied to oneOf, expected an array.")),i;function P(V,W,D,z,L){for(var F=V[W],K=0;K<v.length;K++)if(g(F,v[K]))return null;var J=JSON.stringify(v,function(fe,x){var be=ie(x);return be==="symbol"?String(x):x});return new u("Invalid "+z+" `"+L+"` of value `"+String(F)+"` "+("supplied to `"+D+"`, expected one of "+J+"."))}return _(P)}function $(v){function P(V,W,D,z,L){if(typeof v!="function")return new u("Property `"+L+"` of component `"+D+"` has invalid PropType notation inside objectOf.");var F=V[W],K=M(F);if(K!=="object")return new u("Invalid "+z+" `"+L+"` of type "+("`"+K+"` supplied to `"+D+"`, expected an object."));for(var J in F)if(r(F,J)){var H=v(F,J,D,z,L+"."+J,n);if(H instanceof Error)return H}return null}return _(P)}function te(v){if(!Array.isArray(v))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var P=0;P<v.length;P++){var V=v[P];if(typeof V!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ue(V)+" at index "+P+"."),i}function W(D,z,L,F,K){for(var J=[],H=0;H<v.length;H++){var fe=v[H],x=fe(D,z,L,F,K,n);if(x==null)return null;x.data&&r(x.data,"expectedType")&&J.push(x.data.expectedType)}var be=J.length>0?", expected one of type ["+J.join(", ")+"]":"";return new u("Invalid "+F+" `"+K+"` supplied to "+("`"+L+"`"+be+"."))}return _(W)}function U(){function v(P,V,W,D,z){return T(P[V])?null:new u("Invalid "+D+" `"+z+"` supplied to "+("`"+W+"`, expected a ReactNode."))}return _(v)}function B(v,P,V,W,D){return new u((v||"React class")+": "+P+" type `"+V+"."+W+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+D+"`.")}function c(v){function P(V,W,D,z,L){var F=V[W],K=M(F);if(K!=="object")return new u("Invalid "+z+" `"+L+"` of type `"+K+"` "+("supplied to `"+D+"`, expected `object`."));for(var J in v){var H=v[J];if(typeof H!="function")return B(D,z,L,J,ie(H));var fe=H(F,J,D,z,L+"."+J,n);if(fe)return fe}return null}return _(P)}function O(v){function P(V,W,D,z,L){var F=V[W],K=M(F);if(K!=="object")return new u("Invalid "+z+" `"+L+"` of type `"+K+"` "+("supplied to `"+D+"`, expected `object`."));var J=t({},V[W],v);for(var H in J){var fe=v[H];if(r(v,H)&&typeof fe!="function")return B(D,z,L,H,ie(fe));if(!fe)return new u("Invalid "+z+" `"+L+"` key `"+H+"` supplied to `"+D+"`.\nBad object: "+JSON.stringify(V[W],null," ")+` Valid keys: `+JSON.stringify(Object.keys(v),null," "));var x=fe(F,H,D,z,L+"."+H,n);if(x)return x}return null}return _(P)}function T(v){switch(typeof v){case"number":case"string":case"undefined":return!0;case"boolean":return!v;case"object":if(Array.isArray(v))return v.every(T);if(v===null||a(v))return!0;var P=h(v);if(P){var V=P.call(v),W;if(P!==v.entries){for(;!(W=V.next()).done;)if(!T(W.value))return!1}else for(;!(W=V.next()).done;){var D=W.value;if(D&&!T(D[1]))return!1}}else return!1;return!0;default:return!1}}function I(v,P){return v==="symbol"?!0:P?P["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&P instanceof Symbol:!1}function M(v){var P=typeof v;return Array.isArray(v)?"array":v instanceof RegExp?"object":I(P,v)?"symbol":P}function ie(v){if(typeof v>"u"||v===null)return""+v;var P=M(v);if(P==="object"){if(v instanceof Date)return"date";if(v instanceof RegExp)return"regexp"}return P}function ue(v){var P=ie(v);switch(P){case"array":case"object":return"an "+P;case"boolean":case"date":case"regexp":return"a "+P;default:return P}}function Me(v){return!v.constructor||!v.constructor.name?m:v.constructor.name}return p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},Yt}var qt,Bn;function ko(){if(Bn)return qt;Bn=1;var e=gn();function t(){}function n(){}return n.resetWarningCache=t,qt=function(){function r(i,a,l,f,d,h){if(h!==e){var m=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 m.name="Invariant Violation",m}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},qt}var Wn;function wo(){if(Wn)return ft.exports;if(Wn=1,process.env.NODE_ENV!=="production"){var e=wr(),t=!0;ft.exports=vo()(e.isElement,t)}else ft.exports=ko()();return ft.exports}var To=wo();const Y=po(To);function Er(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Er(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ar(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Er(e))&&(r&&(r+=" "),r+=t);return r}function Eo(e,t,n=void 0){const r={};for(const o in e){const s=e[o];let i="",a=!0;for(let l=0;l<s.length;l+=1){const f=s[l];f&&(i+=(a===!0?"":" ")+t(f),a=!1,n&&n[f]&&(i+=" "+n[f]))}r[o]=i}return r}var ht={exports:{}},Z={};/** * @license React * react-is.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Fn;function Ao(){if(Fn)return Z;Fn=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.view_transition"),p=Symbol.for("react.client.reference");function g(u){if(typeof u=="object"&&u!==null){var _=u.$$typeof;switch(_){case e:switch(u=u.type,u){case n:case o:case r:case l:case f:case m:return u;default:switch(u=u&&u.$$typeof,u){case i:case a:case h:case d:return u;case s:return u;default:return _}}case t:return _}}}return Z.ContextConsumer=s,Z.ContextProvider=i,Z.Element=e,Z.ForwardRef=a,Z.Fragment=n,Z.Lazy=h,Z.Memo=d,Z.Portal=t,Z.Profiler=o,Z.StrictMode=r,Z.Suspense=l,Z.SuspenseList=f,Z.isContextConsumer=function(u){return g(u)===s},Z.isContextProvider=function(u){return g(u)===i},Z.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===e},Z.isForwardRef=function(u){return g(u)===a},Z.isFragment=function(u){return g(u)===n},Z.isLazy=function(u){return g(u)===h},Z.isMemo=function(u){return g(u)===d},Z.isPortal=function(u){return g(u)===t},Z.isProfiler=function(u){return g(u)===o},Z.isStrictMode=function(u){return g(u)===r},Z.isSuspense=function(u){return g(u)===l},Z.isSuspenseList=function(u){return g(u)===f},Z.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===n||u===o||u===r||u===l||u===f||typeof u=="object"&&u!==null&&(u.$$typeof===h||u.$$typeof===d||u.$$typeof===i||u.$$typeof===s||u.$$typeof===a||u.$$typeof===p||u.getModuleId!==void 0)},Z.typeOf=g,Z}var ee={};/** * @license React * react-is.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Vn;function Co(){return Vn||(Vn=1,process.env.NODE_ENV!=="production"&&function(){function e(u){if(typeof u=="object"&&u!==null){var _=u.$$typeof;switch(_){case t:switch(u=u.type,u){case r:case s:case o:case f:case d:case p:return u;default:switch(u=u&&u.$$typeof,u){case a:case l:case m:case h:return u;case i:return u;default:return _}}case n:return _}}}var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");ee.ContextConsumer=i,ee.ContextProvider=a,ee.Element=t,ee.ForwardRef=l,ee.Fragment=r,ee.Lazy=m,ee.Memo=h,ee.Portal=n,ee.Profiler=s,ee.StrictMode=o,ee.Suspense=f,ee.SuspenseList=d,ee.isContextConsumer=function(u){return e(u)===i},ee.isContextProvider=function(u){return e(u)===a},ee.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===t},ee.isForwardRef=function(u){return e(u)===l},ee.isFragment=function(u){return e(u)===r},ee.isLazy=function(u){return e(u)===m},ee.isMemo=function(u){return e(u)===h},ee.isPortal=function(u){return e(u)===n},ee.isProfiler=function(u){return e(u)===s},ee.isStrictMode=function(u){return e(u)===o},ee.isSuspense=function(u){return e(u)===f},ee.isSuspenseList=function(u){return e(u)===d},ee.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===r||u===s||u===o||u===f||u===d||typeof u=="object"&&u!==null&&(u.$$typeof===m||u.$$typeof===h||u.$$typeof===a||u.$$typeof===i||u.$$typeof===l||u.$$typeof===g||u.getModuleId!==void 0)},ee.typeOf=e}()),ee}var Un;function xo(){return Un||(Un=1,process.env.NODE_ENV==="production"?ht.exports=Ao():ht.exports=Co()),ht.exports}var kt=xo();function we(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Cr(e){if(ve.isValidElement(e)||kt.isValidElementType(e)||!we(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Cr(e[n])}),t}function he(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return we(e)&&we(t)&&Object.keys(t).forEach(o=>{ve.isValidElement(t[o])||kt.isValidElementType(t[o])?r[o]=t[o]:we(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&we(e[o])?r[o]=he(e[o],t[o],n):n.clone?r[o]=we(t[o])?Cr(t[o]):t[o]:r[o]=t[o]}),r}function tt(e,t){return t?he(e,t,{clone:!1}):e}const Ne=process.env.NODE_ENV!=="production"?Y.oneOfType([Y.number,Y.string,Y.object,Y.array]):{};function zn(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,o)=>{var i,a;const s=/min-width:\s*([0-9.]+)/;return+(((i=r.match(s))==null?void 0:i[1])||0)-+(((a=o.match(s))==null?void 0:a[1])||0)});return n.length?n.reduce((r,o)=>{const s=t[o];return delete r[o],r[o]=s,r},{...t}):t}function Oo(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function Po(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`. For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Oe(18,`(${t})`));return null}const[,r,o]=n,s=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(s)}function No(e){const t=(s,i)=>s.replace("@media",i?`@container ${i}`:"@container");function n(s,i){s.up=(...a)=>t(e.breakpoints.up(...a),i),s.down=(...a)=>t(e.breakpoints.down(...a),i),s.between=(...a)=>t(e.breakpoints.between(...a),i),s.only=(...a)=>t(e.breakpoints.only(...a),i),s.not=(...a)=>{const l=t(e.breakpoints.not(...a),i);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},o=s=>(n(r,s),r);return n(o),{...e,containerQueries:o}}const Pt={xs:0,sm:600,md:900,lg:1200,xl:1536},Kn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Pt[e]}px)`},$o={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Pt[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Ee(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const s=r.breakpoints||Kn;return t.reduce((i,a,l)=>(i[s.up(s.keys[l])]=n(t[l]),i),{})}if(typeof t=="object"){const s=r.breakpoints||Kn;return Object.keys(t).reduce((i,a)=>{if(Oo(s.keys,a)){const l=Po(r.containerQueries?r:$o,a);l&&(i[l]=n(t[a],a))}else if(Object.keys(s.values||Pt).includes(a)){const l=s.up(a);i[l]=n(t[a],a)}else{const l=a;i[l]=t[l]}return i},{})}return n(t)}function Io(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const s=e.up(o);return r[s]={},r},{}))||{}}function Hn(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Nt(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,s)=>o&&o[s]?o[s]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function wt(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Nt(e,n)||r,t&&(o=t(o,r,e)),o}function se(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,s=i=>{if(i[t]==null)return null;const a=i[t],l=i.theme,f=Nt(l,r)||{};return Ee(i,a,h=>{let m=wt(f,o,h);return h===m&&typeof h=="string"&&(m=wt(f,o,`${t}${h==="default"?"":je(h)}`,h)),n===!1?m:{[n]:m}})};return s.propTypes=process.env.NODE_ENV!=="production"?{[t]:Ne}:{},s.filterProps=[t],s}function Ro(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Do={m:"margin",p:"padding"},jo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Yn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Mo=Ro(e=>{if(e.length>2)if(Yn[e])e=Yn[e];else return[e];const[t,n]=e.split(""),r=Do[t],o=jo[n]||"";return Array.isArray(o)?o.map(s=>r+s):[r+o]}),$t=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],It=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Lo=[...$t,...It];function at(e,t,n,r){const o=Nt(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&typeof s!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${s}.`),typeof o=="string"?o.startsWith("var(")&&s===0?0:o.startsWith("var(")&&s===1?o:`calc(${s} * ${o})`:o*s):Array.isArray(o)?s=>{if(typeof s=="string")return s;const i=Math.abs(s);process.env.NODE_ENV!=="production"&&(Number.isInteger(i)?i>o.length-1&&console.error([`MUI: The value provided (${i}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${i} > ${o.length-1}, you need to add the missing values.`].join(` `)):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(` `)));const a=o[i];return s>=0?a:typeof a=="number"?-a:typeof a=="string"&&a.startsWith("var(")?`calc(-1 * ${a})`:`-${a}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(` `)),()=>{})}function pn(e){return at(e,"spacing",8,"spacing")}function ct(e,t){return typeof t=="string"||t==null?t:e(t)}function Bo(e,t){return n=>e.reduce((r,o)=>(r[o]=ct(t,n),r),{})}function Wo(e,t,n,r){if(!t.includes(n))return null;const o=Mo(n),s=Bo(o,r),i=e[n];return Ee(e,i,s)}function xr(e,t){const n=pn(e.theme);return Object.keys(e).map(r=>Wo(e,t,r,n)).reduce(tt,{})}function re(e){return xr(e,$t)}re.propTypes=process.env.NODE_ENV!=="production"?$t.reduce((e,t)=>(e[t]=Ne,e),{}):{};re.filterProps=$t;function oe(e){return xr(e,It)}oe.propTypes=process.env.NODE_ENV!=="production"?It.reduce((e,t)=>(e[t]=Ne,e),{}):{};oe.filterProps=It;process.env.NODE_ENV!=="production"&&Lo.reduce((e,t)=>(e[t]=Ne,e),{});function Rt(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(s=>{r[s]=o}),r),{}),n=r=>Object.keys(r).reduce((o,s)=>t[s]?tt(o,t[s](r)):o,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,o)=>Object.assign(r,o.propTypes),{}):{},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function ge(e){return typeof e!="number"?e:`${e}px solid`}function _e(e,t){return se({prop:e,themeKey:"borders",transform:t})}const Fo=_e("border",ge),Vo=_e("borderTop",ge),Uo=_e("borderRight",ge),zo=_e("borderBottom",ge),Ko=_e("borderLeft",ge),Ho=_e("borderColor"),Yo=_e("borderTopColor"),qo=_e("borderRightColor"),Go=_e("borderBottomColor"),Jo=_e("borderLeftColor"),Xo=_e("outline",ge),Qo=_e("outlineColor"),Dt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=at(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:ct(t,r)});return Ee(e,e.borderRadius,n)}return null};Dt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ne}:{};Dt.filterProps=["borderRadius"];Rt(Fo,Vo,Uo,zo,Ko,Ho,Yo,qo,Go,Jo,Dt,Xo,Qo);const jt=e=>{if(e.gap!==void 0&&e.gap!==null){const t=at(e.theme,"spacing",8,"gap"),n=r=>({gap:ct(t,r)});return Ee(e,e.gap,n)}return null};jt.propTypes=process.env.NODE_ENV!=="production"?{gap:Ne}:{};jt.filterProps=["gap"];const Mt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=at(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:ct(t,r)});return Ee(e,e.columnGap,n)}return null};Mt.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ne}:{};Mt.filterProps=["columnGap"];const Lt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=at(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:ct(t,r)});return Ee(e,e.rowGap,n)}return null};Lt.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ne}:{};Lt.filterProps=["rowGap"];const Zo=se({prop:"gridColumn"}),es=se({prop:"gridRow"}),ts=se({prop:"gridAutoFlow"}),ns=se({prop:"gridAutoColumns"}),rs=se({prop:"gridAutoRows"}),os=se({prop:"gridTemplateColumns"}),ss=se({prop:"gridTemplateRows"}),is=se({prop:"gridTemplateAreas"}),as=se({prop:"gridArea"});Rt(jt,Mt,Lt,Zo,es,ts,ns,rs,os,ss,is,as);function qe(e,t){return t==="grey"?t:e}const cs=se({prop:"color",themeKey:"palette",transform:qe}),ls=se({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:qe}),us=se({prop:"backgroundColor",themeKey:"palette",transform:qe});Rt(cs,ls,us);function de(e){return e<=1&&e!==0?`${e*100}%`:e}const fs=se({prop:"width",transform:de}),yn=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,s,i,a,l;const r=((i=(s=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:s.values)==null?void 0:i[n])||Pt[n];return r?((l=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:de(n)}};return Ee(e,e.maxWidth,t)}return null};yn.filterProps=["maxWidth"];const ds=se({prop:"minWidth",transform:de}),hs=se({prop:"height",transform:de}),ms=se({prop:"maxHeight",transform:de}),gs=se({prop:"minHeight",transform:de});se({prop:"size",cssProperty:"width",transform:de});se({prop:"size",cssProperty:"height",transform:de});const ps=se({prop:"boxSizing"});Rt(fs,yn,ds,hs,ms,gs,ps);const Bt={border:{themeKey:"borders",transform:ge},borderTop:{themeKey:"borders",transform:ge},borderRight:{themeKey:"borders",transform:ge},borderBottom:{themeKey:"borders",transform:ge},borderLeft:{themeKey:"borders",transform:ge},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ge},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Dt},color:{themeKey:"palette",transform:qe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:qe},backgroundColor:{themeKey:"palette",transform:qe},p:{style:oe},pt:{style:oe},pr:{style:oe},pb:{style:oe},pl:{style:oe},px:{style:oe},py:{style:oe},padding:{style:oe},paddingTop:{style:oe},paddingRight:{style:oe},paddingBottom:{style:oe},paddingLeft:{style:oe},paddingX:{style:oe},paddingY:{style:oe},paddingInline:{style:oe},paddingInlineStart:{style:oe},paddingInlineEnd:{style:oe},paddingBlock:{style:oe},paddingBlockStart:{style:oe},paddingBlockEnd:{style:oe},m:{style:re},mt:{style:re},mr:{style:re},mb:{style:re},ml:{style:re},mx:{style:re},my:{style:re},margin:{style:re},marginTop:{style:re},marginRight:{style:re},marginBottom:{style:re},marginLeft:{style:re},marginX:{style:re},marginY:{style:re},marginInline:{style:re},marginInlineStart:{style:re},marginInlineEnd:{style:re},marginBlock:{style:re},marginBlockStart:{style:re},marginBlockEnd:{style:re},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:jt},rowGap:{style:Lt},columnGap:{style:Mt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:de},maxWidth:{style:yn},minWidth:{transform:de},height:{transform:de},maxHeight:{transform:de},minHeight:{transform:de},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function ys(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function _s(e,t){return typeof e=="function"?e(t):e}function bs(){function e(n,r,o,s){const i={[n]:r,theme:o},a=s[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:f,transform:d,style:h}=a;if(r==null)return null;if(f==="typography"&&r==="inherit")return{[n]:r};const m=Nt(o,f)||{};return h?h(i):Ee(i,r,g=>{let u=wt(m,d,g);return g===u&&typeof g=="string"&&(u=wt(m,d,`${n}${g==="default"?"":je(g)}`,g)),l===!1?u:{[l]:u}})}function t(n){const{sx:r,theme:o={},nested:s}=n||{};if(!r)return null;const i=o.unstable_sxConfig??Bt;function a(l){let f=l;if(typeof l=="function")f=l(o);else if(typeof l!="object")return l;if(!f)return null;const d=Io(o.breakpoints),h=Object.keys(d);let m=d;return Object.keys(f).forEach(p=>{const g=_s(f[p],o);if(g!=null)if(typeof g=="object")if(i[p])m=tt(m,e(p,g,o,i));else{const u=Ee({theme:o},g,_=>({[p]:_}));ys(u,g)?m[p]=t({sx:g,theme:o,nested:!0}):m=tt(m,u)}else m=tt(m,e(p,g,o,i))}),!s&&o.modularCssLayers?{"@layer sx":zn(o,Hn(h,m))}:zn(o,Hn(h,m))}return Array.isArray(r)?r.map(a):a(r)}return t}const Ge=bs();Ge.filterProps=["sx"];function Ss(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 vs={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,scale: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};function ks(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var ws=/[A-Z]|^ms/g,Ts=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Or=function(t){return t.charCodeAt(1)===45},qn=function(t){return t!=null&&typeof t!="boolean"},Gt=ks(function(e){return Or(e)?e:e.replace(ws,"-$&").toLowerCase()}),Gn=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Ts,function(r,o,s){return xe={name:o,styles:s,next:xe},o})}return vs[t]!==1&&!Or(t)&&typeof n=="number"&&n!==0?n+"px":n};function Tt(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return xe={name:o.name,styles:o.styles,next:xe},o.name;var s=n;if(s.styles!==void 0){var i=s.next;if(i!==void 0)for(;i!==void 0;)xe={name:i.name,styles:i.styles,next:xe},i=i.next;var a=s.styles+";";return a}return Es(e,t,n)}}var l=n;return l}function Es(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Tt(e,t,n[o])+";";else for(var s in n){var i=n[s];if(typeof i!="object"){var a=i;qn(a)&&(r+=Gt(s)+":"+Gn(s,a)+";")}else if(Array.isArray(i)&&typeof i[0]=="string"&&t==null)for(var l=0;l<i.length;l++)qn(i[l])&&(r+=Gt(s)+":"+Gn(s,i[l])+";");else{var f=Tt(e,t,i);switch(s){case"animation":case"animationName":{r+=Gt(s)+":"+f+";";break}default:r+=s+"{"+f+"}"}}}return r}var Jn=/label:\s*([^\s;{]+)\s*(;|$)/g,xe;function As(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";xe=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,o+=Tt(n,t,s);else{var i=s;o+=i[0]}for(var a=1;a<e.length;a++)if(o+=Tt(n,t,e[a]),r){var l=s;o+=l[a]}Jn.lastIndex=0;for(var f="",d;(d=Jn.exec(o))!==null;)f+="-"+d[1];var h=Ss(o)+f;return{name:h,styles:o,next:xe}}/** * @mui/styled-engine v7.3.1 * * @license MIT * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Cs(e,t){const n=uo(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const o=typeof e=="string"?`"${e}"`:"component";return r.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(` `)):r.some(s=>s===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),n(...r)}:n}function xs(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Xn=[];function De(e){return Xn[0]=e,As(Xn)}const Os=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function Ps(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,s=Os(t),i=Object.keys(s);function a(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function l(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function f(m,p){const g=i.indexOf(p);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(g!==-1&&typeof t[i[g]]=="number"?t[i[g]]:p)-r/100}${n})`}function d(m){return i.indexOf(m)+1<i.length?f(m,i[i.indexOf(m)+1]):a(m)}function h(m){const p=i.indexOf(m);return p===0?a(i[1]):p===i.length-1?l(i[p]):f(m,i[i.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:i,values:s,up:a,down:l,between:f,only:d,not:h,unit:n,...o}}const Ns={borderRadius:4};function Pr(e=8,t=pn({spacing:e})){if(e.mui)return e;const n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(s=>{const i=t(s);return typeof i=="number"?`${i}px`:i}).join(" "));return n.mui=!0,n}function $s(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let o=n.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return n.palette.mode===e?t:{}}function _n(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:s={},...i}=e,a=Ps(n),l=Pr(o);let f=he({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...Ns,...s}},i);return f=No(f),f.applyStyles=$s,f=t.reduce((d,h)=>he(d,h),f),f.unstable_sxConfig={...Bt,...i==null?void 0:i.unstable_sxConfig},f.unstable_sx=function(h){return Ge({sx:h,theme:this})},f}function Is(e){return Object.keys(e).length===0}function Rs(e=null){const t=ve.useContext(fo.ThemeContext);return!t||Is(t)?e:t}const Ds=_n();function js(e=Ds){return Rs(e)}const Ms={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function bn(e,t,n="Mui"){const r=Ms[t];return r?`${n}-${r}`:`${go.generate(e)}-${t}`}function Ls(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=bn(e,o,n)}),r}function Nr(e,t=""){return e.displayName||e.name||t}function Qn(e,t,n){const r=Nr(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function Bs(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Nr(e,"Component");if(typeof e=="object")switch(e.$$typeof){case kt.ForwardRef:return Qn(e,e.render,"ForwardRef");case kt.Memo:return Qn(e,e.type,"memo");default:return}}}function $r(e){const{variants:t,...n}=e,r={variants:t,style:De(n),isProcessed:!0};return r.style===n||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=De(o.style))}),r}const Ws=_n();function Jt(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Ie(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Fs(e){return e?(t,n)=>n[e]:null}function Vs(e,t,n){e.theme=Hs(e.theme)?n:e.theme[t]||e.theme}function gt(e,t,n){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(o=>gt(e,o,n));if(Array.isArray(r==null?void 0:r.variants)){let o;if(r.isProcessed)o=n?Ie(r.style,n):r.style;else{const{variants:s,...i}=r;o=n?Ie(De(i),n):i}return Ir(e,r.variants,[o],n)}return r!=null&&r.isProcessed?n?Ie(De(r.style),n):r.style:n?Ie(De(r),n):r}function Ir(e,t,n=[],r=void 0){var s;let o;e:for(let i=0;i<t.length;i+=1){const a=t[i];if(typeof a.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!a.props(o))continue}else for(const l in a.props)if(e[l]!==a.props[l]&&((s=e.ownerState)==null?void 0:s[l])!==a.props[l])continue e;typeof a.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),n.push(r?Ie(De(a.style(o)),r):a.style(o))):n.push(r?Ie(De(a.style),r):a.style)}return n}function Us(e={}){const{themeId:t,defaultTheme:n=Ws,rootShouldForwardProp:r=Jt,slotShouldForwardProp:o=Jt}=e;function s(a){Vs(a,t,n)}return(a,l={})=>{xs(a,A=>A.filter(w=>w!==Ge));const{name:f,slot:d,skipVariantsResolver:h,skipSx:m,overridesResolver:p=Fs(Rr(d)),...g}=l,u=f&&f.startsWith("Mui")||d?"components":"custom",_=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,E=m||!1;let C=Jt;d==="Root"||d==="root"?C=r:d?C=o:Ys(a)&&(C=void 0);const N=Cs(a,{shouldForwardProp:C,label:Ks(f,d),...g}),k=A=>{if(A.__emotion_real===A)return A;if(typeof A=="function")return function($){return gt($,A,$.theme.modularCssLayers?u:void 0)};if(we(A)){const w=$r(A);return function(te){return w.variants?gt(te,w,te.theme.modularCssLayers?u:void 0):te.theme.modularCssLayers?Ie(w.style,u):w.style}}return A},b=(...A)=>{const w=[],$=A.map(k),te=[];if(w.push(s),f&&p&&te.push(function(O){var ie,ue;const I=(ue=(ie=O.theme.components)==null?void 0:ie[f])==null?void 0:ue.styleOverrides;if(!I)return null;const M={};for(const Me in I)M[Me]=gt(O,I[Me],O.theme.modularCssLayers?"theme":void 0);return p(O,M)}),f&&!_&&te.push(function(O){var M,ie;const T=O.theme,I=(ie=(M=T==null?void 0:T.components)==null?void 0:M[f])==null?void 0:ie.variants;return I?Ir(O,I,[],O.theme.modularCssLayers?"theme":void 0):null}),E||te.push(Ge),Array.isArray($[0])){const c=$.shift(),O=new Array(w.length).fill(""),T=new Array(te.length).fill("");let I;I=[...O,...c,...T],I.raw=[...O,...c.raw,...T],w.unshift(I)}const U=[...w,...$,...te],B=N(...U);return a.muiName&&(B.muiName=a.muiName),process.env.NODE_ENV!=="production"&&(B.displayName=zs(f,d,a)),B};return N.withConfig&&(b.withConfig=N.withConfig),b}}function zs(e,t,n){return e?`${e}${je(t||"")}`:`Styled(${Bs(n)})`}function Ks(e,t){let n;return process.env.NODE_ENV!=="production"&&e&&(n=`${e}-${Rr(t||"Root")}`),n}function Hs(e){for(const t in e)return!1;return!0}function Ys(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Rr(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function on(e,t,n=!1){const r={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const s=o;if(s==="components"||s==="slots")r[s]={...e[s],...r[s]};else if(s==="componentsProps"||s==="slotProps"){const i=e[s],a=t[s];if(!a)r[s]=i||{};else if(!i)r[s]=a;else{r[s]={...a};for(const l in i)if(Object.prototype.hasOwnProperty.call(i,l)){const f=l;r[s][f]=on(i[f],a[f],n)}}}else s==="className"&&n&&t.className?r.className=Ar(e==null?void 0:e.className,t==null?void 0:t.className):s==="style"&&n&&t.style?r.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:r[s]===void 0&&(r[s]=e[s])}return r}function qs(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Sn(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),qs(e,t,n)}function Gs(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Pe(e){if(e.type)return e;if(e.charAt(0)==="#")return Pe(Gs(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color. The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Oe(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space. The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Oe(10,o))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:o}}const Js=e=>{const t=Pe(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Ze=(e,t)=>{try{return Js(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Wt(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((o,s)=>s<3?parseInt(o,10):o):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function Dr(e){e=Pe(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,s=r*Math.min(o,1-o),i=(f,d=(f+n/30)%12)=>o-s*Math.max(Math.min(d-3,9-d,1),-1);let a="rgb";const l=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),Wt({type:a,values:l})}function sn(e){e=Pe(e);let t=e.type==="hsl"||e.type==="hsla"?Pe(Dr(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Zn(e,t){const n=sn(e),r=sn(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function jr(e,t){return e=Pe(e),t=Sn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Wt(e)}function $e(e,t,n){try{return jr(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Ft(e,t){if(e=Pe(e),t=Sn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Wt(e)}function X(e,t,n){try{return Ft(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Vt(e,t){if(e=Pe(e),t=Sn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Wt(e)}function Q(e,t,n){try{return Vt(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n)