@jhelom/react-mui-message-dialog 1.0.8 → 1.0.9
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/LICENSE +21 -0
- package/README.md +1 -0
- package/dist/index.cjs.js +45 -134
- package/dist/index.es.js +7287 -9123
- package/dist/index.umd.js +45 -134
- package/dist/{DialogTitleEx.d.ts → src/DialogTitleEx.d.ts} +2 -0
- package/dist/{MessageDialog.d.ts → src/MessageDialog.d.ts} +2 -7
- package/dist/src/MessageDialog.test.d.ts +1 -0
- package/dist/{MessageDialogContext.d.ts → src/MessageDialogContext.d.ts} +4 -1
- package/dist/{index.d.ts → src/index.d.ts} +1 -1
- package/package.json +57 -54
package/dist/index.cjs.js
CHANGED
|
@@ -1,77 +1,16 @@
|
|
|
1
|
-
"use strict";var xa=Object.defineProperty;var ka=(e,t,r)=>t in e?xa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var At=(e,t,r)=>ka(e,typeof t!="symbol"?t+"":t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const X=require("react"),$t=require("@mui/material");function Oa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const I=Oa(X);function _a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pn={exports:{}},Pt={};/**
|
|
2
|
-
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var uo;function Ra(){if(uo)return Pt;uo=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,i){var a=null;if(i!==void 0&&(a=""+i),o.key!==void 0&&(a=""+o.key),"key"in o){i={};for(var s in o)s!=="key"&&(i[s]=o[s])}else i=o;return o=i.ref,{$$typeof:e,type:n,key:a,ref:o!==void 0?o:null,props:i}}return Pt.Fragment=t,Pt.jsx=r,Pt.jsxs=r,Pt}var Nt={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var fo;function Aa(){return fo||(fo=1,process.env.NODE_ENV!=="production"&&function(){function e(b){if(b==null)return null;if(typeof b=="function")return b.$$typeof===u?null:b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case c:return"Fragment";case E:return"Profiler";case y:return"StrictMode";case C:return"Suspense";case k:return"SuspenseList";case U:return"Activity"}if(typeof b=="object")switch(typeof b.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),b.$$typeof){case g:return"Portal";case A:return(b.displayName||"Context")+".Provider";case P:return(b._context.displayName||"Context")+".Consumer";case $:var _=b.render;return b=b.displayName,b||(b=_.displayName||_.name||"",b=b!==""?"ForwardRef("+b+")":"ForwardRef"),b;case N:return _=b.displayName||null,_!==null?_:e(b.type)||"Memo";case V:_=b._payload,b=b._init;try{return e(b(_))}catch{}}return null}function t(b){return""+b}function r(b){try{t(b);var _=!1}catch{_=!0}if(_){_=console;var B=_.error,F=typeof Symbol=="function"&&Symbol.toStringTag&&b[Symbol.toStringTag]||b.constructor.name||"Object";return B.call(_,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",F),t(b)}}function n(b){if(b===c)return"<>";if(typeof b=="object"&&b!==null&&b.$$typeof===V)return"<...>";try{var _=e(b);return _?"<"+_+">":"<...>"}catch{return"<...>"}}function o(){var b=x.A;return b===null?null:b.getOwner()}function i(){return Error("react-stack-top-frame")}function a(b){if(l.call(b,"key")){var _=Object.getOwnPropertyDescriptor(b,"key").get;if(_&&_.isReactWarning)return!1}return b.key!==void 0}function s(b,_){function B(){D||(D=!0,console.error("%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://react.dev/link/special-props)",_))}B.isReactWarning=!0,Object.defineProperty(b,"key",{get:B,configurable:!0})}function f(){var b=e(this.type);return j[b]||(j[b]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),b=this.props.ref,b!==void 0?b:null}function d(b,_,B,F,L,W,Y,G){return B=W.ref,b={$$typeof:v,type:b,key:_,props:W,_owner:L},(B!==void 0?B:null)!==null?Object.defineProperty(b,"ref",{enumerable:!1,get:f}):Object.defineProperty(b,"ref",{enumerable:!1,value:null}),b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(b,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(b,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Y}),Object.defineProperty(b,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:G}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b}function m(b,_,B,F,L,W,Y,G){var z=_.children;if(z!==void 0)if(F)if(R(z)){for(F=0;F<z.length;F++)p(z[F]);Object.freeze&&Object.freeze(z)}else console.error("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 p(z);if(l.call(_,"key")){z=e(b);var q=Object.keys(_).filter(function(Ce){return Ce!=="key"});F=0<q.length?"{key: someKey, "+q.join(": ..., ")+": ...}":"{key: someKey}",le[z+F]||(q=0<q.length?"{"+q.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let l=require(`@mui/material`),u=require(`react`);u=c(u);var d=o((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),f=o((e=>{process.env.NODE_ENV!==`production`&&(function(){"use strict";var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)}function x(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:var p=e.type;switch(p){case l:case u:case i:case o:case a:case f:return p;default:var g=p&&p.$$typeof;switch(g){case c:case d:case h:case m:case s:return g;default:return t}}case r:return t}}}var S=l,C=u,w=c,ee=s,te=n,ne=d,re=i,ie=h,ae=m,oe=r,T=o,se=a,E=f,ce=!1;function D(e){return ce||(ce=!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.`)),le(e)||x(e)===l}function le(e){return x(e)===u}function ue(e){return x(e)===c}function de(e){return x(e)===s}function fe(e){return typeof e==`object`&&!!e&&e.$$typeof===n}function pe(e){return x(e)===d}function me(e){return x(e)===i}function he(e){return x(e)===h}function O(e){return x(e)===m}function ge(e){return x(e)===r}function _e(e){return x(e)===o}function ve(e){return x(e)===a}function ye(e){return x(e)===f}e.AsyncMode=S,e.ConcurrentMode=C,e.ContextConsumer=w,e.ContextProvider=ee,e.Element=te,e.ForwardRef=ne,e.Fragment=re,e.Lazy=ie,e.Memo=ae,e.Portal=oe,e.Profiler=T,e.StrictMode=se,e.Suspense=E,e.isAsyncMode=D,e.isConcurrentMode=le,e.isContextConsumer=ue,e.isContextProvider=de,e.isElement=fe,e.isForwardRef=pe,e.isFragment=me,e.isLazy=he,e.isMemo=O,e.isPortal=ge,e.isProfiler=_e,e.isStrictMode=ve,e.isSuspense=ye,e.isValidElementType=b,e.typeOf=x})()})),p=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=d():t.exports=f()})),m=o(((e,t)=>{var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(e==null)throw TypeError(`Object.assign cannot be called with null or undefined`);return Object(e)}function o(){try{if(!Object.assign)return!1;var e=new String(`abc`);if(e[5]=`de`,Object.getOwnPropertyNames(e)[0]===`5`)return!1;for(var t={},n=0;n<10;n++)t[`_`+String.fromCharCode(n)]=n;if(Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(``)!==`0123456789`)return!1;var r={};return`abcdefghijklmnopqrst`.split(``).forEach(function(e){r[e]=e}),Object.keys(Object.assign({},r)).join(``)===`abcdefghijklmnopqrst`}catch{return!1}}t.exports=o()?Object.assign:function(e,t){for(var o,s=a(e),c,l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]),o)r.call(o,u)&&(s[u]=o[u]);if(n){c=n(o);for(var d=0;d<c.length;d++)i.call(o,c[d])&&(s[c[d]]=o[c[d]])}}return s}})),h=o(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),g=o(((e,t)=>{t.exports=Function.call.bind(Object.prototype.hasOwnProperty)})),_=o(((e,t)=>{var n=function(){};if(process.env.NODE_ENV!==`production`){var r=h(),i={},a=g();n=function(e){var t=`Warning: `+e;typeof console<`u`&&console.error(t);try{throw Error(t)}catch{}}}function o(e,t,o,s,c){if(process.env.NODE_ENV!==`production`){for(var l in e)if(a(e,l)){var u;try{if(typeof e[l]!=`function`){var d=Error((s||`React class`)+`: `+o+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name=`Invariant Violation`,d}u=e[l](t,l,s,o,null,r)}catch(e){u=e}if(u&&!(u instanceof Error)&&n((s||`React class`)+`: type specification of `+o+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+`. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).`),u instanceof Error&&!(u.message in i)){i[u.message]=!0;var f=c?c():``;n(`Failed `+o+` type: `+u.message+(f??``))}}}}o.resetWarningCache=function(){process.env.NODE_ENV!==`production`&&(i={})},t.exports=o})),v=o(((e,t)=>{var n=p(),r=m(),i=h(),a=g(),o=_(),s=function(){};process.env.NODE_ENV!==`production`&&(s=function(e){var t=`Warning: `+e;typeof console<`u`&&console.error(t);try{throw Error(t)}catch{}});function c(){return null}t.exports=function(e,t){var l=typeof Symbol==`function`&&Symbol.iterator,u=`@@iterator`;function d(e){var t=e&&(l&&e[l]||e[u]);if(typeof t==`function`)return t}var f=`<<anonymous>>`,p={array:_(`array`),bigint:_(`bigint`),bool:_(`boolean`),func:_(`function`),number:_(`number`),object:_(`object`),string:_(`string`),symbol:_(`symbol`),any:v(),arrayOf:y,element:b(),elementType:x(),instanceOf:S,node:te(),objectOf:w,oneOf:C,oneOfType:ee,shape:re,exact:ie};function m(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function h(e,t){this.message=e,this.data=t&&typeof t==`object`?t:{},this.stack=``}h.prototype=Error.prototype;function g(e){if(process.env.NODE_ENV!==`production`)var n={},r=0;function a(a,o,c,l,u,d,p){if(l||=f,d||=c,p!==i){if(t){var m=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}else if(process.env.NODE_ENV!==`production`&&typeof console<`u`){var g=l+`:`+c;!n[g]&&r<3&&(s("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+l+"`. 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."),n[g]=!0,r++)}}return o[c]==null?a?o[c]===null?new h(`The `+u+" `"+d+"` is marked as required "+("in `"+l+"`, but its value is `null`.")):new h(`The `+u+" `"+d+"` is marked as required in "+("`"+l+"`, but its value is `undefined`.")):null:e(o,c,l,u,d)}var o=a.bind(null,!1);return o.isRequired=a.bind(null,!0),o}function _(e){function t(t,n,r,i,a,o){var s=t[n];if(T(s)!==e){var c=se(s);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."),{expectedType:e})}return null}return g(t)}function v(){return g(c)}function y(e){function t(t,n,r,a,o){if(typeof e!=`function`)return new h("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var c=T(s);return new h(`Invalid `+a+" `"+o+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an array."))}for(var l=0;l<s.length;l++){var u=e(s,l,r,a,o+`[`+l+`]`,i);if(u instanceof Error)return u}return null}return g(t)}function b(){function t(t,n,r,i,a){var o=t[n];if(!e(o)){var s=T(o);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected a single ReactElement."))}return null}return g(t)}function x(){function e(e,t,r,i,a){var o=e[t];if(!n.isValidElementType(o)){var s=T(o);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected a single ReactElement type."))}return null}return g(e)}function S(e){function t(t,n,r,i,a){if(!(t[n]instanceof e)){var o=e.name||f,s=ce(t[n]);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("instance of `"+o+"`."))}return null}return g(t)}function C(e){if(!Array.isArray(e))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.`)),c;function t(t,n,r,i,a){for(var o=t[n],s=0;s<e.length;s++)if(m(o,e[s]))return null;var c=JSON.stringify(e,function(e,t){return se(t)===`symbol`?String(t):t});return new h(`Invalid `+i+" `"+a+"` of value `"+String(o)+"` "+("supplied to `"+r+"`, expected one of "+c+`.`))}return g(t)}function w(e){function t(t,n,r,o,s){if(typeof e!=`function`)return new h("Property `"+s+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var c=t[n],l=T(c);if(l!==`object`)return new h(`Invalid `+o+" `"+s+"` of type "+("`"+l+"` supplied to `"+r+"`, expected an object."));for(var u in c)if(a(c,u)){var d=e(c,u,r,o,s+`.`+u,i);if(d instanceof Error)return d}return null}return g(t)}function ee(e){if(!Array.isArray(e))return process.env.NODE_ENV!==`production`&&s(`Invalid argument supplied to oneOfType, expected an instance of array.`),c;for(var t=0;t<e.length;t++){var n=e[t];if(typeof n!=`function`)return s(`Invalid argument supplied to oneOfType. Expected an array of check functions, but received `+E(n)+` at index `+t+`.`),c}function r(t,n,r,o,s){for(var c=[],l=0;l<e.length;l++){var u=e[l],d=u(t,n,r,o,s,i);if(d==null)return null;d.data&&a(d.data,`expectedType`)&&c.push(d.data.expectedType)}var f=c.length>0?`, expected one of type [`+c.join(`, `)+`]`:``;return new h(`Invalid `+o+" `"+s+"` supplied to "+("`"+r+"`"+f+`.`))}return g(r)}function te(){function e(e,t,n,r,i){return ae(e[t])?null:new h(`Invalid `+r+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return g(e)}function ne(e,t,n,r,i){return new h((e||`React class`)+`: `+t+" type `"+n+`.`+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function re(e){function t(t,n,r,a,o){var s=t[n],c=T(s);if(c!==`object`)return new h(`Invalid `+a+" `"+o+"` of type `"+c+"` "+("supplied to `"+r+"`, expected `object`."));for(var l in e){var u=e[l];if(typeof u!=`function`)return ne(r,a,o,l,se(u));var d=u(s,l,r,a,o+`.`+l,i);if(d)return d}return null}return g(t)}function ie(e){function t(t,n,o,s,c){var l=t[n],u=T(l);if(u!==`object`)return new h(`Invalid `+s+" `"+c+"` of type `"+u+"` "+("supplied to `"+o+"`, expected `object`."));for(var d in r({},t[n],e)){var f=e[d];if(a(e,d)&&typeof f!=`function`)return ne(o,s,c,d,se(f));if(!f)return new h(`Invalid `+s+" `"+c+"` key `"+d+"` supplied to `"+o+`\`.
|
|
2
|
+
Bad object: `+JSON.stringify(t[n],null,` `)+`
|
|
3
|
+
Valid keys: `+JSON.stringify(Object.keys(e),null,` `));var p=f(l,d,o,s,c+`.`+d,i);if(p)return p}return null}return g(t)}function ae(t){switch(typeof t){case`number`:case`string`:case`undefined`:return!0;case`boolean`:return!t;case`object`:if(Array.isArray(t))return t.every(ae);if(t===null||e(t))return!0;var n=d(t);if(n){var r=n.call(t),i;if(n!==t.entries){for(;!(i=r.next()).done;)if(!ae(i.value))return!1}else for(;!(i=r.next()).done;){var a=i.value;if(a&&!ae(a[1]))return!1}}else return!1;return!0;default:return!1}}function oe(e,t){return e===`symbol`?!0:t?t[`@@toStringTag`]===`Symbol`||typeof Symbol==`function`&&t instanceof Symbol:!1}function T(e){var t=typeof e;return Array.isArray(e)?`array`:e instanceof RegExp?`object`:oe(t,e)?`symbol`:t}function se(e){if(e==null)return``+e;var t=T(e);if(t===`object`){if(e instanceof Date)return`date`;if(e instanceof RegExp)return`regexp`}return t}function E(e){var t=se(e);switch(t){case`array`:case`object`:return`an `+t;case`boolean`:case`date`:case`regexp`:return`a `+t;default:return t}}function ce(e){return!e.constructor||!e.constructor.name?f:e.constructor.name}return p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p}})),y=o(((e,t)=>{var n=h();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=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 s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}})),b=o(((e,t)=>{if(process.env.NODE_ENV!==`production`){var n=p();t.exports=v()(n.isElement,!0)}else t.exports=y()()}));function x(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=x(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function S(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=x(e))&&(r&&(r+=` `),r+=t);return r}function C(e,t,n=void 0){let r={};for(let i in e){let a=e[i],o=``,s=!0;for(let e=0;e<a.length;e+=1){let r=a[e];r&&(o+=(s===!0?``:` `)+t(r),s=!1,n&&n[r]&&(o+=` `+n[r]))}r[i]=o}return r}function w(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}function ee(e){if(typeof e!=`string`)throw Error(process.env.NODE_ENV===`production`?w(7):"MUI: `capitalize(string)` expects a string argument.");return e.charAt(0).toUpperCase()+e.slice(1)}var te=ee;function ne(e,t){let n=Array.isArray(t),r=Array.isArray(e);return T(t)?t:se(e)?E(t):n&&r?ae(e,t):n===r?ce(e,t):E(t)}function re(e){let t=0,n=e.length,r=Array(n);for(t=0;t<n;t+=1)r[t]=E(e[t]);return r}function ie(e){let t={};for(let n in e)t[n]=E(e[n]);return t}function ae(e,t){let n=e.length;for(let r=0;r<t.length;r+=1)e[n+r]=E(t[r]);return e}function oe(e){return typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Date)}function T(e){return typeof e!=`object`||!e}function se(e){return typeof e!=`object`||!e||e instanceof RegExp||e instanceof Date}function E(e){return oe(e)?Array.isArray(e)?re(e):ie(e):e}function ce(e,t){for(let n in t)n in e?e[n]=ne(e[n],t[n]):e[n]=E(t[n]);return e}var D=c(b(),1),le=process.env.NODE_ENV===`production`?{}:D.default.oneOfType([D.default.number,D.default.string,D.default.object,D.default.array]);function ue(e){if(e==null)return!0;for(let t in e)return!1;return!0}var de=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.suspense_list`),d=Symbol.for(`react.memo`),f=Symbol.for(`react.lazy`),p=Symbol.for(`react.view_transition`),m=Symbol.for(`react.client.reference`);function h(e){if(typeof e==`object`&&e){var m=e.$$typeof;switch(m){case t:switch(e=e.type,e){case r:case a:case i:case l:case u:case p:return e;default:switch(e&&=e.$$typeof,e){case s:case c:case f:case d:return e;case o:return e;default:return m}}case n:return m}}}e.ContextConsumer=o,e.ContextProvider=s,e.Element=t,e.ForwardRef=c,e.Fragment=r,e.Lazy=f,e.Memo=d,e.Portal=n,e.Profiler=a,e.StrictMode=i,e.Suspense=l,e.SuspenseList=u,e.isContextConsumer=function(e){return h(e)===o},e.isContextProvider=function(e){return h(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===t},e.isForwardRef=function(e){return h(e)===c},e.isFragment=function(e){return h(e)===r},e.isLazy=function(e){return h(e)===f},e.isMemo=function(e){return h(e)===d},e.isPortal=function(e){return h(e)===n},e.isProfiler=function(e){return h(e)===a},e.isStrictMode=function(e){return h(e)===i},e.isSuspense=function(e){return h(e)===l},e.isSuspenseList=function(e){return h(e)===u},e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===r||e===a||e===i||e===l||e===u||typeof e==`object`&&e&&(e.$$typeof===f||e.$$typeof===d||e.$$typeof===s||e.$$typeof===o||e.$$typeof===c||e.$$typeof===m||e.getModuleId!==void 0))},e.typeOf=h})),fe=o((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case i:case o:case a:case u:case d:case m:return e;default:switch(e&&=e.$$typeof,e){case c:case l:case p:case f:return e;case s:return e;default:return t}}case r:return t}}}var n=Symbol.for(`react.transitional.element`),r=Symbol.for(`react.portal`),i=Symbol.for(`react.fragment`),a=Symbol.for(`react.strict_mode`),o=Symbol.for(`react.profiler`),s=Symbol.for(`react.consumer`),c=Symbol.for(`react.context`),l=Symbol.for(`react.forward_ref`),u=Symbol.for(`react.suspense`),d=Symbol.for(`react.suspense_list`),f=Symbol.for(`react.memo`),p=Symbol.for(`react.lazy`),m=Symbol.for(`react.view_transition`),h=Symbol.for(`react.client.reference`);e.ContextConsumer=s,e.ContextProvider=c,e.Element=n,e.ForwardRef=l,e.Fragment=i,e.Lazy=p,e.Memo=f,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=u,e.SuspenseList=d,e.isContextConsumer=function(e){return t(e)===s},e.isContextProvider=function(e){return t(e)===c},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return t(e)===l},e.isFragment=function(e){return t(e)===i},e.isLazy=function(e){return t(e)===p},e.isMemo=function(e){return t(e)===f},e.isPortal=function(e){return t(e)===r},e.isProfiler=function(e){return t(e)===o},e.isStrictMode=function(e){return t(e)===a},e.isSuspense=function(e){return t(e)===u},e.isSuspenseList=function(e){return t(e)===d},e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===i||e===o||e===a||e===u||e===d||typeof e==`object`&&e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===c||e.$$typeof===s||e.$$typeof===l||e.$$typeof===h||e.getModuleId!==void 0))},e.typeOf=t})()})),pe=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=de():t.exports=fe()}))();function me(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function he(e){if(u.isValidElement(e)||(0,pe.isValidElementType)(e)||!me(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=he(e[n])}),t}function O(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return me(e)&&me(t)&&Object.keys(t).forEach(i=>{u.isValidElement(t[i])||(0,pe.isValidElementType)(t[i])?r[i]=t[i]:me(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&me(e[i])?r[i]=O(e[i],t[i],n):n.clone?r[i]=me(t[i])?he(t[i]):t[i]:r[i]=t[i]}),r}var ge=/min-width:\s*([0-9.]+)/;function _e(e,t){if(!e.containerQueries||!ve(t))return t;let n=[];for(let e in t)e.startsWith(`@container`)&&n.push(e);n.sort((e,t)=>(e.match(ge)?.[1]||0)-+(t.match(ge)?.[1]||0));let r=t;for(let e=0;e<n.length;e+=1){let t=n[e],i=r[t];delete r[t],r[t]=i}return r}function ve(e){for(let t in e)if(t.startsWith(`@container`))return!0;return!1}function ye(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function be(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!==`production`)throw Error(`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\nFor example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);return null}let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function xe(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var Se=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function Ce(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Se(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}let f=[];for(let e=0;e<o.length;e+=1)f.push(s(o[e]));return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,internal_mediaKeys:f,...i}}var we={},Te={xs:0,sm:600,md:900,lg:1200,xl:1536},Ee=Ce({values:Te}),De={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:Te[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Oe(e,t,n){let r={};return ke(r,e.theme,t,(e,t,i)=>{let a=n(t,i);e?r[e]=a:ne(r,a)})}function ke(e,t,n,r){if(t??=we,Array.isArray(n)){let i=t.breakpoints??Ee;for(let t=0;t<n.length;t+=1)Ae(e,i.up(i.keys[t]),n[t],void 0,r);return e}if(typeof n==`object`){let i=t.breakpoints??Ee,a=i.values??Te;for(let o in n)if(ye(i.keys,o)){let i=be(t.containerQueries?t:De,o);i&&Ae(e,i,n[o],o,r)}else if(o in a)Ae(e,i.up(o),n[o],o,r);else{let t=o;e[t]=n[t]}return e}return r(void 0,n),e}function Ae(e,t,n,r,i){e[t]??={},i(t,n,r)}function je(e=Ee){let{internal_mediaKeys:t}=e,n={};for(let e=0;e<t.length;e+=1)n[t[e]]={};return n}function Me(e,t){let n=e.internal_mediaKeys;for(let e=0;e<n.length;e+=1){let r=n[e];ue(t[r])&&delete t[r]}return t}function Ne(e,t){if(Array.isArray(t))return!0;if(typeof t==`object`&&t){for(let n=0;n<e.keys.length;n+=1)if(e.keys[n]in t)return!0;let n=Object.keys(t);for(let t=0;t<n.length;t+=1)if(ye(e.keys,n[t]))return!0}return!1}function Pe(e,t,n,r){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||n:typeof n==`string`&&Fe(e,n,!0,r)||n,t&&(i=t(i,n,e)),i}function Fe(e,t,n=!0,r=void 0){if(!e||!t)return null;let i=t.split(`.`);if(e.vars&&n){let t=Ie(e.vars,i,r);if(t!=null)return t}return Ie(e,i,r)}function Ie(e,t,n=void 0){let r,i=e,a=0;for(;a<t.length;){if(i==null)return i;r=i,i=i[t[a]],a+=1}if(n&&i===void 0){let e=t[t.length-1],i=`${n}${e===`default`?``:ee(e)}`;return r?.[i]}return i}function k(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=Fe(o,r)||{};return Oe(e,a,e=>{let r=Pe(s,i,e,t);return n===!1?r:{[n]:r}})};return a.propTypes=process.env.NODE_ENV===`production`?{}:{[t]:le},a.filterProps=[t],a}var Le={internal_cache:{}},Re={m:`margin`,p:`padding`},ze={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Be={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Ve={};for(let e in Re)Ve[e]=[Re[e]];for(let e in Re)for(let t in ze){let n=Re[e],r=ze[t],i=Array.isArray(r)?r.map(e=>n+e):[n+r];Ve[e+t]=i}for(let e in Be)Ve[e]=Ve[Be[e]];var He=new Set([`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`]),Ue=new Set([`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`]),We=new Set([...He,...Ue]);function Ge(e,t,n,r){let i=Fe(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:(process.env.NODE_ENV!==`production`&&typeof e!=`number`&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e):Array.isArray(i)?e=>{if(typeof e==`string`)return e;let n=Math.abs(e);process.env.NODE_ENV!==`production`&&(Number.isInteger(n)?n>i.length-1&&console.error([`MUI: The value provided (${n}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${n} > ${i.length-1}, you need to add the missing values.`].join(`
|
|
4
|
+
`)):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(`
|
|
5
|
+
`)));let r=i[n];return e>=0?r:typeof r==`number`?-r:typeof r==`string`&&r.startsWith(`var(`)?`calc(-1 * ${r})`:`-${r}`}: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(`
|
|
6
|
+
`)),()=>void 0)}function Ke(e){return Ge(e,`spacing`,8,`spacing`)}function qe(e,t){return typeof t==`string`||t==null?t:e(t)}var Je=[``];function Ye(e,t){let n=e.theme??Le,r=n?.internal_cache?.unarySpacing??Ke(n),i={};for(let n in e){if(!t.has(n))continue;let a=Ve[n]??(Je[0]=n,Je),o=e[n];ke(i,e.theme,o,(e,t)=>{let n=e?i[e]:i;for(let e=0;e<a.length;e+=1)n[a[e]]=qe(r,t)})}return i}function A(e){return Ye(e,He)}A.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(He).reduce((e,t)=>(e[t]=le,e),{}),A.filterProps=He;function j(e){return Ye(e,Ue)}j.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(Ue).reduce((e,t)=>(e[t]=le,e),{}),j.filterProps=Ue;function Xe(e){return Ye(e,We)}Xe.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(We).reduce((e,t)=>(e[t]=le,e),{}),Xe.filterProps=We;function Ze(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>{let n={};for(let r in e)t[r]&&ne(n,t[r](e));return n};return n.propTypes=process.env.NODE_ENV===`production`?{}:e.reduce((e,t)=>Object.assign(e,t.propTypes),{}),n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function Qe(e){return typeof e==`number`?`${e}px solid`:e}function $e(e,t){return k({prop:e,themeKey:`borders`,transform:t})}var et=$e(`border`,Qe),tt=$e(`borderTop`,Qe),nt=$e(`borderRight`,Qe),rt=$e(`borderBottom`,Qe),it=$e(`borderLeft`,Qe),at=$e(`borderColor`),ot=$e(`borderTopColor`),st=$e(`borderRightColor`),ct=$e(`borderBottomColor`),lt=$e(`borderLeftColor`),ut=$e(`outline`,Qe),dt=$e(`outlineColor`),ft=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Ge(e.theme,`shape.borderRadius`,4,`borderRadius`);return Oe(e,e.borderRadius,e=>({borderRadius:qe(t,e)}))}return null};ft.propTypes=process.env.NODE_ENV===`production`?{}:{borderRadius:le},ft.filterProps=[`borderRadius`],Ze(et,tt,nt,rt,it,at,ot,st,ct,lt,ft,ut,dt);var pt=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Ge(e.theme,`spacing`,8,`gap`);return Oe(e,e.gap,e=>({gap:qe(t,e)}))}return null};pt.propTypes=process.env.NODE_ENV===`production`?{}:{gap:le},pt.filterProps=[`gap`];var mt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Ge(e.theme,`spacing`,8,`columnGap`);return Oe(e,e.columnGap,e=>({columnGap:qe(t,e)}))}return null};mt.propTypes=process.env.NODE_ENV===`production`?{}:{columnGap:le},mt.filterProps=[`columnGap`];var ht=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Ge(e.theme,`spacing`,8,`rowGap`);return Oe(e,e.rowGap,e=>({rowGap:qe(t,e)}))}return null};ht.propTypes=process.env.NODE_ENV===`production`?{}:{rowGap:le},ht.filterProps=[`rowGap`],Ze(pt,mt,ht,k({prop:`gridColumn`}),k({prop:`gridRow`}),k({prop:`gridAutoFlow`}),k({prop:`gridAutoColumns`}),k({prop:`gridAutoRows`}),k({prop:`gridTemplateColumns`}),k({prop:`gridTemplateRows`}),k({prop:`gridTemplateAreas`}),k({prop:`gridArea`}));function gt(e,t){return t===`grey`?t:e}Ze(k({prop:`color`,themeKey:`palette`,transform:gt}),k({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:gt}),k({prop:`backgroundColor`,themeKey:`palette`,transform:gt}));function M(e){return e<=1&&e!==0?`${e*100}%`:e}var _t=k({prop:`width`,transform:M}),vt=e=>e.maxWidth!==void 0&&e.maxWidth!==null?Oe(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||Te[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:M(t)}}):null;vt.filterProps=[`maxWidth`];var yt=k({prop:`minWidth`,transform:M}),bt=k({prop:`height`,transform:M}),xt=k({prop:`maxHeight`,transform:M}),St=k({prop:`minHeight`,transform:M});k({prop:`size`,cssProperty:`width`,transform:M}),k({prop:`size`,cssProperty:`height`,transform:M}),Ze(_t,vt,yt,bt,xt,St,k({prop:`boxSizing`}));var Ct={border:{themeKey:`borders`,transform:Qe},borderTop:{themeKey:`borders`,transform:Qe},borderRight:{themeKey:`borders`,transform:Qe},borderBottom:{themeKey:`borders`,transform:Qe},borderLeft:{themeKey:`borders`,transform:Qe},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Qe},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:ft},color:{themeKey:`palette`,transform:gt},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:gt},backgroundColor:{themeKey:`palette`,transform:gt},p:{style:j},pt:{style:j},pr:{style:j},pb:{style:j},pl:{style:j},px:{style:j},py:{style:j},padding:{style:j},paddingTop:{style:j},paddingRight:{style:j},paddingBottom:{style:j},paddingLeft:{style:j},paddingX:{style:j},paddingY:{style:j},paddingInline:{style:j},paddingInlineStart:{style:j},paddingInlineEnd:{style:j},paddingBlock:{style:j},paddingBlockStart:{style:j},paddingBlockEnd:{style:j},m:{style:A},mt:{style:A},mr:{style:A},mb:{style:A},ml:{style:A},mx:{style:A},my:{style:A},margin:{style:A},marginTop:{style:A},marginRight:{style:A},marginBottom:{style:A},marginLeft:{style:A},marginX:{style:A},marginY:{style:A},marginInline:{style:A},marginInlineStart:{style:A},marginInlineEnd:{style:A},marginBlock:{style:A},marginBlockStart:{style:A},marginBlockEnd:{style:A},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:pt},rowGap:{style:ht},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:M},maxWidth:{style:vt},minWidth:{transform:M},height:{transform:M},maxHeight:{transform:M},minHeight:{transform:M},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`}},wt={};function Tt(){function e(t){if(!t.sx)return null;let{sx:n,theme:r=wt,nested:i}=t,a=r.unstable_sxConfig??Ct,o={sx:null,theme:r,nested:!0};function s(n){let s=n;if(typeof n==`function`)s=n(r);else if(typeof n!=`object`)return n;if(!s)return null;let c=r.breakpoints??Ee,l=je(c);for(let n in s){let i=Ot(s[n],r);if(i!=null){if(typeof i!=`object`){Dt(l,n,i,r,a);continue}if(a[n]){Dt(l,n,i,r,a);continue}Ne(c,i)?ke(l,t.theme,i,(e,t)=>{l[e][n]=t}):(o.sx=i,l[n]=e(o))}}return!i&&r.modularCssLayers?{"@layer sx":_e(r,Me(c,l))}:_e(r,Me(c,l))}return Array.isArray(n)?n.map(s):s(n)}return e.filterProps=[`sx`],e}var Et=Tt();function Dt(e,t,n,r,i){let a=i[t];if(!a){e[t]=n;return}if(n==null)return;let{themeKey:o}=a;if(o===`typography`&&n===`inherit`){e[t]=n;return}let{style:s}=a;if(s){ne(e,s({[t]:n,theme:r}));return}let{cssProperty:c=t,transform:l}=a,u=Fe(r,o);ke(e,r,n,(n,r)=>{let i=Pe(u,l,r,t);c===!1?n?e[n]=i:ne(e,i):n?e[n][c]=i:e[c]=i})}function Ot(e,t){return typeof e==`function`?e(t):e}function kt(){return kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kt.apply(null,arguments)}var At=!1;function jt(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 Mt(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 Nt=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0?!At:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(Mt(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=jt(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),N=`-ms-`,Pt=`-moz-`,P=`-webkit-`,Ft=`comm`,It=`rule`,Lt=`decl`,Rt=`@import`,zt=`@keyframes`,Bt=`@layer`,Vt=Math.abs,Ht=String.fromCharCode,Ut=Object.assign;function Wt(e,t){return I(e,0)^45?(((t<<2^I(e,0))<<2^I(e,1))<<2^I(e,2))<<2^I(e,3):0}function Gt(e){return e.trim()}function Kt(e,t){return(e=t.exec(e))?e[0]:e}function F(e,t,n){return e.replace(t,n)}function qt(e,t){return e.indexOf(t)}function I(e,t){return e.charCodeAt(t)|0}function Jt(e,t,n){return e.slice(t,n)}function Yt(e){return e.length}function Xt(e){return e.length}function Zt(e,t){return t.push(e),e}function Qt(e,t){return e.map(t).join(``)}var $t=1,en=1,tn=0,L=0,R=0,nn=``;function rn(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:$t,column:en,length:o,return:``}}function an(e,t){return Ut(rn(``,null,null,``,null,null,0),e,{length:-e.length},t)}function on(){return R}function sn(){return R=L>0?I(nn,--L):0,en--,R===10&&(en=1,$t--),R}function z(){return R=L<tn?I(nn,L++):0,en++,R===10&&(en=1,$t++),R}function cn(){return I(nn,L)}function ln(){return L}function un(e,t){return Jt(nn,e,t)}function dn(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 fn(e){return $t=en=1,tn=Yt(nn=e),L=0,[]}function pn(e){return nn=``,e}function mn(e){return Gt(un(L-1,_n(e===91?e+2:e===40?e+1:e)))}function hn(e){for(;(R=cn())&&R<33;)z();return dn(e)>2||dn(R)>3?``:` `}function gn(e,t){for(;--t&&z()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return un(e,ln()+(t<6&&cn()==32&&z()==32))}function _n(e){for(;z();)switch(R){case e:return L;case 34:case 39:e!==34&&e!==39&&_n(R);break;case 40:e===41&&_n(e);break;case 92:z();break}return L}function vn(e,t){for(;z()&&e+R!==57&&!(e+R===84&&cn()===47););return`/*`+un(t,L-1)+`*`+Ht(e===47?e:z())}function yn(e){for(;!dn(cn());)z();return un(e,L)}function bn(e){return pn(xn(``,null,null,null,[``],e=fn(e),0,[0],e))}function xn(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=z()){case 40:if(m!=108&&I(C,d-1)==58){qt(C+=F(mn(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=mn(v);break;case 9:case 10:case 13:case 32:C+=hn(m);break;case 92:C+=gn(ln()-1,7);continue;case 47:switch(cn()){case 42:case 47:Zt(Cn(vn(z(),ln()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=Yt(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=F(C,/\f/g,``)),p>0&&Yt(C)-d&&Zt(p>32?wn(C+`;`,r,n,d-1):wn(F(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(Zt(S=Sn(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)xn(C,t,S,S,b,a,d,s,x);else switch(f===99&&I(C,3)===110?100:f){case 100:case 108:case 109:case 115:xn(e,S,S,r&&Zt(Sn(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:xn(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+Yt(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&sn()==125)continue}switch(C+=Ht(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(Yt(C)-1)*_,_=1;break;case 64:cn()===45&&(C+=mn(z())),f=cn(),u=d=Yt(y=C+=yn(ln())),v++;break;case 45:m===45&&Yt(C)==2&&(h=0)}}return a}function Sn(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Xt(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=Jt(e,d+1,d=Vt(h=o[m])),y=e;_<p;++_)(y=Gt(h>0?f[_]+` `+v:F(v,/&\f/g,f[_])))&&(c[g++]=y);return rn(e,t,n,i===0?It:s,c,l,u)}function Cn(e,t,n){return rn(e,t,n,Ft,Ht(on()),Jt(e,2,-2),0)}function wn(e,t,n,r){return rn(e,t,n,Lt,Jt(e,0,r),Jt(e,r+1,-1),r)}function Tn(e,t){for(var n=``,r=Xt(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function En(e,t,n,r){switch(e.type){case Bt:if(e.children.length)break;case Rt:case Lt:return e.return=e.return||e.value;case Ft:return``;case zt:return e.return=e.value+`{`+Tn(e.children,r)+`}`;case It:e.value=e.props.join(`,`)}return Yt(n=Tn(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Dn(e){var t=Xt(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function On(e){return function(t){t.root||(t=t.return)&&e(t)}}function kn(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var An=function(e,t,n){for(var r=0,i=0;r=i,i=cn(),r===38&&i===12&&(t[n]=1),!dn(i);)z();return un(e,L)},jn=function(e,t){var n=-1,r=44;do switch(dn(r)){case 0:r===38&&cn()===12&&(t[n]=1),e[n]+=An(L-1,t,n);break;case 2:e[n]+=mn(r);break;case 4:if(r===44){e[++n]=cn()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=Ht(r)}while(r=z());return e},Mn=function(e,t){return pn(jn(fn(e),t))},Nn=new WeakMap,Pn=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!Nn.get(n))&&!r){Nn.set(e,!0);for(var i=[],a=Mn(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},Fn=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function In(e,t){switch(Wt(e,t)){case 5103:return P+`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 P+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return P+e+Pt+e+N+e+e;case 6828:case 4268:return P+e+N+e+e;case 6165:return P+e+N+`flex-`+e+e;case 5187:return P+e+F(e,/(\w+).+(:[^]+)/,P+`box-$1$2`+N+`flex-$1$2`)+e;case 5443:return P+e+N+`flex-item-`+F(e,/flex-|-self/,``)+e;case 4675:return P+e+N+`flex-line-pack`+F(e,/align-content|flex-|-self/,``)+e;case 5548:return P+e+N+F(e,`shrink`,`negative`)+e;case 5292:return P+e+N+F(e,`basis`,`preferred-size`)+e;case 6060:return P+`box-`+F(e,`-grow`,``)+P+e+N+F(e,`grow`,`positive`)+e;case 4554:return P+F(e,/([^-])(transform)/g,`$1`+P+`$2`)+e;case 6187:return F(F(F(e,/(zoom-|grab)/,P+`$1`),/(image-set)/,P+`$1`),e,``)+e;case 5495:case 3959:return F(e,/(image-set\([^]*)/,P+"$1$`$1");case 4968:return F(F(e,/(.+:)(flex-)?(.*)/,P+`box-pack:$3`+N+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+P+e+e;case 4095:case 3583:case 4068:case 2532:return F(e,/(.+)-inline(.+)/,P+`$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(Yt(e)-1-t>6)switch(I(e,t+1)){case 109:if(I(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,`$1`+P+`$2-$3$1`+Pt+(I(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~qt(e,`stretch`)?In(F(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(I(e,t+1)!==115)break;case 6444:switch(I(e,Yt(e)-3-(~qt(e,`!important`)&&10))){case 107:return F(e,`:`,`:`+P)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+P+(I(e,14)===45?`inline-`:``)+`box$3$1`+P+`$2$3$1`+N+`$2box$3`)+e}break;case 5936:switch(I(e,t+11)){case 114:return P+e+N+F(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return P+e+N+F(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return P+e+N+F(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return P+e+N+e+e}return e}var Ln=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Lt:e.return=In(e.value,e.length);break;case zt:return Tn([an(e,{value:F(e.value,`@`,`@`+P)})],r);case It:if(e.length)return Qt(e.props,function(t){switch(Kt(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Tn([an(e,{props:[F(t,/:(read-\w+)/,`:`+Pt+`$1`)]})],r);case`::placeholder`:return Tn([an(e,{props:[F(t,/:(plac\w+)/,`:`+P+`input-$1`)]}),an(e,{props:[F(t,/:(plac\w+)/,`:`+Pt+`$1`)]}),an(e,{props:[F(t,/:(plac\w+)/,N+`input-$1`)]})],r)}return``})}}],Rn=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Ln,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[Pn,Fn],l,u=[En,On(function(e){l.insert(e)})],d=Dn(c.concat(r,u)),f=function(e){return Tn(bn(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Nt({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},zn=o(((e,t)=>{var n=p(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,h=Object.prototype;function g(e,t,n){if(typeof t!=`string`){if(h){var r=m(t);r&&r!==h&&g(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),p=0;p<a.length;++p){var _=a[p];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=g})),Bn=!0;function Vn(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var Hn=function(e,t,n){var r=e.key+`-`+t.name;(n===!1||Bn===!1)&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},Un=function(e,t,n){Hn(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function Wn(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=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(i){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 Gn={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},Kn=!1,qn=/[A-Z]|^ms/g,Jn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Yn=function(e){return e.charCodeAt(1)===45},Xn=function(e){return e!=null&&typeof e!=`boolean`},Zn=kn(function(e){return Yn(e)?e:e.replace(qn,`-$&`).toLowerCase()}),Qn=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Jn,function(e,t,n){return rr={name:t,styles:n,next:rr},t})}return Gn[e]!==1&&!Yn(e)&&typeof t==`number`&&t!==0?t+`px`:t},$n=`Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.`;function er(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 i=n;if(i.anim===1)return rr={name:i.name,styles:i.styles,next:rr},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)rr={name:o.name,styles:o.styles,next:rr},o=o.next;return a.styles+`;`}return tr(e,t,n);case`function`:if(e!==void 0){var s=rr,c=n(e);return rr=s,er(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function tr(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=er(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:Xn(s)&&(r+=Zn(a)+`:`+Qn(a,s)+`;`)}else{if(a===`NO_COMPONENT_SELECTOR`&&Kn)throw Error($n);if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Xn(o[c])&&(r+=Zn(a)+`:`+Qn(a,o[c])+`;`);else{var l=er(e,t,o);switch(a){case`animation`:case`animationName`:r+=Zn(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}}return r}var nr=/label:\s*([^\s;{]+)\s*(;|$)/g,rr;function ir(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,i=``;rr=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=er(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=er(n,t,e[o]),r&&(i+=a[o]);nr.lastIndex=0;for(var s=``,c;(c=nr.exec(i))!==null;)s+=`-`+c[1];return{name:Wn(i)+s,styles:i,next:rr}}var ar=function(e){return e()},or=u.useInsertionEffect?u.useInsertionEffect:!1,sr=or||ar;or||u.useLayoutEffect;var cr=u.createContext(typeof HTMLElement<`u`?Rn({key:`css`}):null);cr.Provider;var lr=function(e){return(0,u.forwardRef)(function(t,n){return e(t,(0,u.useContext)(cr),n)})},ur=u.createContext({}),dr={}.hasOwnProperty,fr=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,pr=function(e,t){var n={};for(var r in t)dr.call(t,r)&&(n[r]=t[r]);return n[fr]=e,n},mr=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Hn(t,n,r),sr(function(){return Un(t,n,r)}),null},hr=lr(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[fr],a=[r],o=``;typeof e.className==`string`?o=Vn(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=ir(a,void 0,u.useContext(ur));o+=t.key+`-`+s.name;var c={};for(var l in e)dr.call(e,l)&&l!==`css`&&l!==fr&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),u.createElement(u.Fragment,null,u.createElement(mr,{cache:t,serialized:s,isStringTag:typeof i==`string`}),u.createElement(i,c))});zn();var gr=function(e,t){var n=arguments;if(t==null||!dr.call(t,`css`))return u.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=hr,i[1]=pr(e,t);for(var a=2;a<r;a++)i[a]=n[a];return u.createElement.apply(null,i)};(function(e){var t;(function(e){})(t||=e.JSX||={})})(gr||={});function _r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return ir(t)}function vr(){var e=_r.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}var yr=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|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)-.*))$/,br=kn(function(e){return yr.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),xr=!1,Sr=br,Cr=function(e){return e!==`theme`},wr=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?Sr:Cr},Tr=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},Er=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Hn(t,n,r),sr(function(){return Un(t,n,r)}),null},Dr=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=Tr(t,n,r),c=s||wr(i),l=!c(`as`);return function(){var d=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&f.push(`label:`+a+`;`),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{var p=d[0];f.push(p[0]);for(var m=d.length,h=1;h<m;h++)f.push(d[h],p[h])}var g=lr(function(e,t,n){var r=l&&e.as||i,a=``,d=[],p=e;if(e.theme==null){for(var m in p={},e)p[m]=e[m];p.theme=u.useContext(ur)}typeof e.className==`string`?a=Vn(t.registered,d,e.className):e.className!=null&&(a=e.className+` `);var h=ir(f.concat(d),t.registered,p);a+=t.key+`-`+h.name,o!==void 0&&(a+=` `+o);var g=l&&s===void 0?wr(r):c,_={};for(var v in e)l&&v===`as`||g(v)&&(_[v]=e[v]);return _.className=a,n&&(_.ref=n),u.createElement(u.Fragment,null,u.createElement(Er,{cache:t,serialized:h,isStringTag:typeof r==`string`}),u.createElement(r,_))});return g.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=f,g.__emotion_forwardProp=s,Object.defineProperty(g,`toString`,{value:function(){return o===void 0&&xr?`NO_COMPONENT_SELECTOR`:`.`+o}}),g.withComponent=function(t,r){return e(t,kt({},n,r,{shouldForwardProp:Tr(g,r,!0)})).apply(void 0,f)},g}},Or=`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`.split(`.`),kr=Dr.bind(null);Or.forEach(function(e){kr[e]=kr(e)});var Ar=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),jr=o((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===ne?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case g:return`Fragment`;case v:return`Profiler`;case _:return`StrictMode`;case S:return`Suspense`;case C:return`SuspenseList`;case te:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case h:return`Portal`;case b:return(e.displayName||`Context`)+`.Provider`;case y:return(e._context.displayName||`Context`)+`.Consumer`;case x:var n=e.render;return e=e.displayName,e||=(e=n.displayName||n.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case w:return n=e.displayName||null,n===null?t(e.type)||`Memo`:n;case ee:n=e._payload,e=e._init;try{return t(e(n))}catch{}}return null}function n(e){return``+e}function r(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var r=t.error,i=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return r.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,i),n(e)}}function i(e){if(e===g)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===ee)return`<...>`;try{var n=t(e);return n?`<`+n+`>`:`<...>`}catch{return`<...>`}}function a(){var e=re.A;return e===null?null:e.getOwner()}function o(){return Error(`react-stack-top-frame`)}function s(e){if(ie.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function c(e,t){function n(){T||(T=!0,console.error("%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://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,`key`,{get:n,configurable:!0})}function l(){var e=t(this.type);return se[e]||(se[e]=!0,console.error(`Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.`)),e=this.props.ref,e===void 0?null:e}function u(e,t,n,r,i,a,o,s){return n=a.ref,e={$$typeof:m,type:e,key:t,props:a,_owner:i},(n===void 0?null:n)===null?Object.defineProperty(e,`ref`,{enumerable:!1,value:null}):Object.defineProperty(e,`ref`,{enumerable:!1,get:l}),e._store={},Object.defineProperty(e._store,`validated`,{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,`_debugInfo`,{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,`_debugStack`,{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,`_debugTask`,{configurable:!1,enumerable:!1,writable:!0,value:s}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function d(e,n,i,o,l,d,p,m){var h=n.children;if(h!==void 0)if(o)if(ae(h)){for(o=0;o<h.length;o++)f(h[o]);Object.freeze&&Object.freeze(h)}else console.error(`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 f(h);if(ie.call(n,`key`)){h=t(e);var g=Object.keys(n).filter(function(e){return e!==`key`});o=0<g.length?`{key: someKey, `+g.join(`: ..., `)+`: ...}`:`{key: someKey}`,D[h+o]||(g=0<g.length?`{`+g.join(`: ..., `)+`: ...}`:`{}`,console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
7
|
let props = %s;
|
|
19
8
|
<%s {...props} />
|
|
20
9
|
React keys must be passed directly to JSX without using spread:
|
|
21
10
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,
|
|
23
|
-
* react-is.production.min.js
|
|
24
|
-
|
|
25
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
26
|
-
*
|
|
27
|
-
* This source code is licensed under the MIT license found in the
|
|
28
|
-
* LICENSE file in the root directory of this source tree.
|
|
29
|
-
*/var mo;function Ia(){if(mo)return te;mo=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,f=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,P=e?Symbol.for("react.scope"):60119;function A(C){if(typeof C=="object"&&C!==null){var k=C.$$typeof;switch(k){case t:switch(C=C.type,C){case f:case d:case n:case i:case o:case p:return C;default:switch(C=C&&C.$$typeof,C){case s:case m:case g:case v:case a:return C;default:return k}}case r:return k}}}function $(C){return A(C)===d}return te.AsyncMode=f,te.ConcurrentMode=d,te.ContextConsumer=s,te.ContextProvider=a,te.Element=t,te.ForwardRef=m,te.Fragment=n,te.Lazy=g,te.Memo=v,te.Portal=r,te.Profiler=i,te.StrictMode=o,te.Suspense=p,te.isAsyncMode=function(C){return $(C)||A(C)===f},te.isConcurrentMode=$,te.isContextConsumer=function(C){return A(C)===s},te.isContextProvider=function(C){return A(C)===a},te.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},te.isForwardRef=function(C){return A(C)===m},te.isFragment=function(C){return A(C)===n},te.isLazy=function(C){return A(C)===g},te.isMemo=function(C){return A(C)===v},te.isPortal=function(C){return A(C)===r},te.isProfiler=function(C){return A(C)===i},te.isStrictMode=function(C){return A(C)===o},te.isSuspense=function(C){return A(C)===p},te.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===n||C===d||C===i||C===o||C===p||C===h||typeof C=="object"&&C!==null&&(C.$$typeof===g||C.$$typeof===v||C.$$typeof===a||C.$$typeof===s||C.$$typeof===m||C.$$typeof===y||C.$$typeof===E||C.$$typeof===P||C.$$typeof===c)},te.typeOf=A,te}var re={};/** @license React v16.13.1
|
|
30
|
-
* react-is.development.js
|
|
31
|
-
*
|
|
32
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
33
|
-
*
|
|
34
|
-
* This source code is licensed under the MIT license found in the
|
|
35
|
-
* LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/var ho;function Ma(){return ho||(ho=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,f=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,P=e?Symbol.for("react.scope"):60119;function A(M){return typeof M=="string"||typeof M=="function"||M===n||M===d||M===i||M===o||M===p||M===h||typeof M=="object"&&M!==null&&(M.$$typeof===g||M.$$typeof===v||M.$$typeof===a||M.$$typeof===s||M.$$typeof===m||M.$$typeof===y||M.$$typeof===E||M.$$typeof===P||M.$$typeof===c)}function $(M){if(typeof M=="object"&&M!==null){var Ne=M.$$typeof;switch(Ne){case t:var Je=M.type;switch(Je){case f:case d:case n:case i:case o:case p:return Je;default:var tr=Je&&Je.$$typeof;switch(tr){case s:case m:case g:case v:case a:return tr;default:return Ne}}case r:return Ne}}}var C=f,k=d,N=s,V=a,U=t,u=m,x=n,l=g,R=v,O=r,D=i,j=o,Q=p,de=!1;function le(M){return de||(de=!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.")),b(M)||$(M)===f}function b(M){return $(M)===d}function _(M){return $(M)===s}function B(M){return $(M)===a}function F(M){return typeof M=="object"&&M!==null&&M.$$typeof===t}function L(M){return $(M)===m}function W(M){return $(M)===n}function Y(M){return $(M)===g}function G(M){return $(M)===v}function z(M){return $(M)===r}function q(M){return $(M)===i}function K(M){return $(M)===o}function Ce(M){return $(M)===p}re.AsyncMode=C,re.ConcurrentMode=k,re.ContextConsumer=N,re.ContextProvider=V,re.Element=U,re.ForwardRef=u,re.Fragment=x,re.Lazy=l,re.Memo=R,re.Portal=O,re.Profiler=D,re.StrictMode=j,re.Suspense=Q,re.isAsyncMode=le,re.isConcurrentMode=b,re.isContextConsumer=_,re.isContextProvider=B,re.isElement=F,re.isForwardRef=L,re.isFragment=W,re.isLazy=Y,re.isMemo=G,re.isPortal=z,re.isProfiler=q,re.isStrictMode=K,re.isSuspense=Ce,re.isValidElementType=A,re.typeOf=$}()),re}var go;function Dn(){return go||(go=1,process.env.NODE_ENV==="production"?nr.exports=Ia():nr.exports=Ma()),nr.exports}/*
|
|
37
|
-
object-assign
|
|
38
|
-
(c) Sindre Sorhus
|
|
39
|
-
@license MIT
|
|
40
|
-
*/var Zr,yo;function Da(){if(yo)return Zr;yo=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 f=Object.getOwnPropertyNames(a).map(function(m){return a[m]});if(f.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(m){d[m]=m}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Zr=o()?Object.assign:function(i,a){for(var s,f=n(i),d,m=1;m<arguments.length;m++){s=Object(arguments[m]);for(var p in s)t.call(s,p)&&(f[p]=s[p]);if(e){d=e(s);for(var h=0;h<d.length;h++)r.call(s,d[h])&&(f[d[h]]=s[d[h]])}}return f},Zr}var en,bo;function Bn(){if(bo)return en;bo=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return en=e,en}var tn,vo;function Ci(){return vo||(vo=1,tn=Function.call.bind(Object.prototype.hasOwnProperty)),tn}var rn,So;function Ba(){if(So)return rn;So=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Bn(),r={},n=Ci();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,s,f,d){if(process.env.NODE_ENV!=="production"){for(var m in i)if(n(i,m)){var p;try{if(typeof i[m]!="function"){var h=Error((f||"React class")+": "+s+" type `"+m+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[m]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}p=i[m](a,m,f,s,null,t)}catch(g){p=g}if(p&&!(p instanceof Error)&&e((f||"React class")+": type specification of "+s+" `"+m+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var v=d?d():"";e("Failed "+s+" type: "+p.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},rn=o,rn}var nn,$o;function ja(){if($o)return nn;$o=1;var e=Dn(),t=Da(),r=Bn(),n=Ci(),o=Ba(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var f="Warning: "+s;typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}});function a(){return null}return nn=function(s,f){var d=typeof Symbol=="function"&&Symbol.iterator,m="@@iterator";function p(b){var _=b&&(d&&b[d]||b[m]);if(typeof _=="function")return _}var h="<<anonymous>>",v={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:P(),arrayOf:A,element:$(),elementType:C(),instanceOf:k,node:u(),objectOf:V,oneOf:N,oneOfType:U,shape:l,exact:R};function g(b,_){return b===_?b!==0||1/b===1/_:b!==b&&_!==_}function c(b,_){this.message=b,this.data=_&&typeof _=="object"?_:{},this.stack=""}c.prototype=Error.prototype;function y(b){if(process.env.NODE_ENV!=="production")var _={},B=0;function F(W,Y,G,z,q,K,Ce){if(z=z||h,K=K||G,Ce!==r){if(f){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}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ne=z+":"+G;!_[Ne]&&B<3&&(i("You are manually calling a React.PropTypes validation function for the `"+K+"` 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."),_[Ne]=!0,B++)}}return Y[G]==null?W?Y[G]===null?new c("The "+q+" `"+K+"` is marked as required "+("in `"+z+"`, but its value is `null`.")):new c("The "+q+" `"+K+"` is marked as required in "+("`"+z+"`, but its value is `undefined`.")):null:b(Y,G,z,q,K)}var L=F.bind(null,!1);return L.isRequired=F.bind(null,!0),L}function E(b){function _(B,F,L,W,Y,G){var z=B[F],q=j(z);if(q!==b){var K=Q(z);return new c("Invalid "+W+" `"+Y+"` of type "+("`"+K+"` supplied to `"+L+"`, expected ")+("`"+b+"`."),{expectedType:b})}return null}return y(_)}function P(){return y(a)}function A(b){function _(B,F,L,W,Y){if(typeof b!="function")return new c("Property `"+Y+"` of component `"+L+"` has invalid PropType notation inside arrayOf.");var G=B[F];if(!Array.isArray(G)){var z=j(G);return new c("Invalid "+W+" `"+Y+"` of type "+("`"+z+"` supplied to `"+L+"`, expected an array."))}for(var q=0;q<G.length;q++){var K=b(G,q,L,W,Y+"["+q+"]",r);if(K instanceof Error)return K}return null}return y(_)}function $(){function b(_,B,F,L,W){var Y=_[B];if(!s(Y)){var G=j(Y);return new c("Invalid "+L+" `"+W+"` of type "+("`"+G+"` supplied to `"+F+"`, expected a single ReactElement."))}return null}return y(b)}function C(){function b(_,B,F,L,W){var Y=_[B];if(!e.isValidElementType(Y)){var G=j(Y);return new c("Invalid "+L+" `"+W+"` of type "+("`"+G+"` supplied to `"+F+"`, expected a single ReactElement type."))}return null}return y(b)}function k(b){function _(B,F,L,W,Y){if(!(B[F]instanceof b)){var G=b.name||h,z=le(B[F]);return new c("Invalid "+W+" `"+Y+"` of type "+("`"+z+"` supplied to `"+L+"`, expected ")+("instance of `"+G+"`."))}return null}return y(_)}function N(b){if(!Array.isArray(b))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 _(B,F,L,W,Y){for(var G=B[F],z=0;z<b.length;z++)if(g(G,b[z]))return null;var q=JSON.stringify(b,function(Ce,M){var Ne=Q(M);return Ne==="symbol"?String(M):M});return new c("Invalid "+W+" `"+Y+"` of value `"+String(G)+"` "+("supplied to `"+L+"`, expected one of "+q+"."))}return y(_)}function V(b){function _(B,F,L,W,Y){if(typeof b!="function")return new c("Property `"+Y+"` of component `"+L+"` has invalid PropType notation inside objectOf.");var G=B[F],z=j(G);if(z!=="object")return new c("Invalid "+W+" `"+Y+"` of type "+("`"+z+"` supplied to `"+L+"`, expected an object."));for(var q in G)if(n(G,q)){var K=b(G,q,L,W,Y+"."+q,r);if(K instanceof Error)return K}return null}return y(_)}function U(b){if(!Array.isArray(b))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var _=0;_<b.length;_++){var B=b[_];if(typeof B!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+de(B)+" at index "+_+"."),a}function F(L,W,Y,G,z){for(var q=[],K=0;K<b.length;K++){var Ce=b[K],M=Ce(L,W,Y,G,z,r);if(M==null)return null;M.data&&n(M.data,"expectedType")&&q.push(M.data.expectedType)}var Ne=q.length>0?", expected one of type ["+q.join(", ")+"]":"";return new c("Invalid "+G+" `"+z+"` supplied to "+("`"+Y+"`"+Ne+"."))}return y(F)}function u(){function b(_,B,F,L,W){return O(_[B])?null:new c("Invalid "+L+" `"+W+"` supplied to "+("`"+F+"`, expected a ReactNode."))}return y(b)}function x(b,_,B,F,L){return new c((b||"React class")+": "+_+" type `"+B+"."+F+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+L+"`.")}function l(b){function _(B,F,L,W,Y){var G=B[F],z=j(G);if(z!=="object")return new c("Invalid "+W+" `"+Y+"` of type `"+z+"` "+("supplied to `"+L+"`, expected `object`."));for(var q in b){var K=b[q];if(typeof K!="function")return x(L,W,Y,q,Q(K));var Ce=K(G,q,L,W,Y+"."+q,r);if(Ce)return Ce}return null}return y(_)}function R(b){function _(B,F,L,W,Y){var G=B[F],z=j(G);if(z!=="object")return new c("Invalid "+W+" `"+Y+"` of type `"+z+"` "+("supplied to `"+L+"`, expected `object`."));var q=t({},B[F],b);for(var K in q){var Ce=b[K];if(n(b,K)&&typeof Ce!="function")return x(L,W,Y,K,Q(Ce));if(!Ce)return new c("Invalid "+W+" `"+Y+"` key `"+K+"` supplied to `"+L+"`.\nBad object: "+JSON.stringify(B[F],null," ")+`
|
|
41
|
-
Valid keys: `+JSON.stringify(Object.keys(b),null," "));var M=Ce(G,K,L,W,Y+"."+K,r);if(M)return M}return null}return y(_)}function O(b){switch(typeof b){case"number":case"string":case"undefined":return!0;case"boolean":return!b;case"object":if(Array.isArray(b))return b.every(O);if(b===null||s(b))return!0;var _=p(b);if(_){var B=_.call(b),F;if(_!==b.entries){for(;!(F=B.next()).done;)if(!O(F.value))return!1}else for(;!(F=B.next()).done;){var L=F.value;if(L&&!O(L[1]))return!1}}else return!1;return!0;default:return!1}}function D(b,_){return b==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function j(b){var _=typeof b;return Array.isArray(b)?"array":b instanceof RegExp?"object":D(_,b)?"symbol":_}function Q(b){if(typeof b>"u"||b===null)return""+b;var _=j(b);if(_==="object"){if(b instanceof Date)return"date";if(b instanceof RegExp)return"regexp"}return _}function de(b){var _=Q(b);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function le(b){return!b.constructor||!b.constructor.name?h:b.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},nn}var on,Co;function Fa(){if(Co)return on;Co=1;var e=Bn();function t(){}function r(){}return r.resetWarningCache=t,on=function(){function n(a,s,f,d,m,p){if(p!==e){var h=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 h.name="Invariant Violation",h}}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},on}if(process.env.NODE_ENV!=="production"){var Va=Dn(),La=!0;mn.exports=ja()(Va.isElement,La)}else mn.exports=Fa()();var za=mn.exports;const S=_a(za);function Ei(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Ei(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function we(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Ei(e))&&(n&&(n+=" "),n+=t);return n}function Ua(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let f=0;f<i.length;f+=1){const d=i[f];d&&(a+=(s===!0?"":" ")+t(d),s=!1,r&&r[d]&&(a+=" "+r[d]))}n[o]=a}return n}var hn={exports:{}},ie={};/**
|
|
42
|
-
* @license React
|
|
43
|
-
* react-is.production.js
|
|
44
|
-
*
|
|
45
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
46
|
-
*
|
|
47
|
-
* This source code is licensed under the MIT license found in the
|
|
48
|
-
* LICENSE file in the root directory of this source tree.
|
|
49
|
-
*/var Eo;function Wa(){if(Eo)return ie;Eo=1;var e=Symbol.for("react.transitional.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.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function g(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case e:switch(c=c.type,c){case r:case o:case n:case f:case d:case h:return c;default:switch(c=c&&c.$$typeof,c){case a:case s:case p:case m:return c;case i:return c;default:return y}}case t:return y}}}return ie.ContextConsumer=i,ie.ContextProvider=a,ie.Element=e,ie.ForwardRef=s,ie.Fragment=r,ie.Lazy=p,ie.Memo=m,ie.Portal=t,ie.Profiler=o,ie.StrictMode=n,ie.Suspense=f,ie.SuspenseList=d,ie.isContextConsumer=function(c){return g(c)===i},ie.isContextProvider=function(c){return g(c)===a},ie.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},ie.isForwardRef=function(c){return g(c)===s},ie.isFragment=function(c){return g(c)===r},ie.isLazy=function(c){return g(c)===p},ie.isMemo=function(c){return g(c)===m},ie.isPortal=function(c){return g(c)===t},ie.isProfiler=function(c){return g(c)===o},ie.isStrictMode=function(c){return g(c)===n},ie.isSuspense=function(c){return g(c)===f},ie.isSuspenseList=function(c){return g(c)===d},ie.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===o||c===n||c===f||c===d||typeof c=="object"&&c!==null&&(c.$$typeof===p||c.$$typeof===m||c.$$typeof===a||c.$$typeof===i||c.$$typeof===s||c.$$typeof===v||c.getModuleId!==void 0)},ie.typeOf=g,ie}var ae={};/**
|
|
50
|
-
* @license React
|
|
51
|
-
* react-is.development.js
|
|
52
|
-
*
|
|
53
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
54
|
-
*
|
|
55
|
-
* This source code is licensed under the MIT license found in the
|
|
56
|
-
* LICENSE file in the root directory of this source tree.
|
|
57
|
-
*/var To;function Ya(){return To||(To=1,process.env.NODE_ENV!=="production"&&function(){function e(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case t:switch(c=c.type,c){case n:case i:case o:case d:case m:case v:return c;default:switch(c=c&&c.$$typeof,c){case s:case f:case h:case p:return c;case a:return c;default:return y}}case r:return y}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");ae.ContextConsumer=a,ae.ContextProvider=s,ae.Element=t,ae.ForwardRef=f,ae.Fragment=n,ae.Lazy=h,ae.Memo=p,ae.Portal=r,ae.Profiler=i,ae.StrictMode=o,ae.Suspense=d,ae.SuspenseList=m,ae.isContextConsumer=function(c){return e(c)===a},ae.isContextProvider=function(c){return e(c)===s},ae.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},ae.isForwardRef=function(c){return e(c)===f},ae.isFragment=function(c){return e(c)===n},ae.isLazy=function(c){return e(c)===h},ae.isMemo=function(c){return e(c)===p},ae.isPortal=function(c){return e(c)===r},ae.isProfiler=function(c){return e(c)===i},ae.isStrictMode=function(c){return e(c)===o},ae.isSuspense=function(c){return e(c)===d},ae.isSuspenseList=function(c){return e(c)===m},ae.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===i||c===o||c===d||c===m||typeof c=="object"&&c!==null&&(c.$$typeof===h||c.$$typeof===p||c.$$typeof===s||c.$$typeof===a||c.$$typeof===f||c.$$typeof===g||c.getModuleId!==void 0)},ae.typeOf=e}()),ae}process.env.NODE_ENV==="production"?hn.exports=Wa():hn.exports=Ya();var mr=hn.exports;function He(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 Ti(e){if(I.isValidElement(e)||mr.isValidElementType(e)||!He(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Ti(e[r])}),t}function _e(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return He(e)&&He(t)&&Object.keys(t).forEach(o=>{I.isValidElement(t[o])||mr.isValidElementType(t[o])?n[o]=t[o]:He(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&He(e[o])?n[o]=_e(e[o],t[o],r):r.clone?n[o]=He(t[o])?Ti(t[o]):t[o]:n[o]=t[o]}),n}function Lt(e,t){return t?_e(e,t,{clone:!1}):e}const nt=process.env.NODE_ENV!=="production"?S.oneOfType([S.number,S.string,S.object,S.array]):{};function wo(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var a,s;const i=/min-width:\s*([0-9.]+)/;return+(((a=n.match(i))==null?void 0:a[1])||0)-+(((s=o.match(i))==null?void 0:s[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function Ga(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Ha(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){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>\`.
|
|
58
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Ze(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function qa(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const f=t(e.breakpoints.not(...s),a);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Er={xs:0,sm:600,md:900,lg:1200,xl:1536},xo={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Er[e]}px)`},Ka={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Er[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Ke(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||xo;return t.reduce((a,s,f)=>(a[i.up(i.keys[f])]=r(t[f]),a),{})}if(typeof t=="object"){const i=n.breakpoints||xo;return Object.keys(t).reduce((a,s)=>{if(Ga(i.keys,s)){const f=Ha(n.containerQueries?n:Ka,s);f&&(a[f]=r(t[s],s))}else if(Object.keys(i.values||Er).includes(s)){const f=i.up(s);a[f]=r(t[s],s)}else{const f=s;a[f]=t[f]}return a},{})}return r(t)}function Xa(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function ko(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 hr(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 ve(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],f=a.theme,d=Tr(f,n)||{};return Ke(a,s,p=>{let h=hr(d,o,p);return p===h&&typeof p=="string"&&(h=hr(d,o,`${t}${p==="default"?"":ut(p)}`,p)),r===!1?h:{[r]:h}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:nt}:{},i.filterProps=[t],i}function Ja(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Qa={m:"margin",p:"padding"},Za={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Oo={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},es=Ja(e=>{if(e.length>2)if(Oo[e])e=Oo[e];else return[e];const[t,r]=e.split(""),n=Qa[t],o=Za[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),wr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],xr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],ts=[...wr,...xr];function qt(e,t,r,n){const o=Tr(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const a=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>o.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${a} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
59
|
-
`)):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(`
|
|
60
|
-
`)));const s=o[a];return i>=0?s:typeof s=="number"?-s:typeof s=="string"&&s.startsWith("var(")?`calc(-1 * ${s})`:`-${s}`}: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(`
|
|
61
|
-
`)),()=>{})}function jn(e){return qt(e,"spacing",8,"spacing")}function Kt(e,t){return typeof t=="string"||t==null?t:e(t)}function rs(e,t){return r=>e.reduce((n,o)=>(n[o]=Kt(t,r),n),{})}function ns(e,t,r,n){if(!t.includes(r))return null;const o=es(r),i=rs(o,n),a=e[r];return Ke(e,a,i)}function wi(e,t){const r=jn(e.theme);return Object.keys(e).map(n=>ns(e,t,n,r)).reduce(Lt,{})}function he(e){return wi(e,wr)}he.propTypes=process.env.NODE_ENV!=="production"?wr.reduce((e,t)=>(e[t]=nt,e),{}):{};he.filterProps=wr;function ge(e){return wi(e,xr)}ge.propTypes=process.env.NODE_ENV!=="production"?xr.reduce((e,t)=>(e[t]=nt,e),{}):{};ge.filterProps=xr;process.env.NODE_ENV!=="production"&&ts.reduce((e,t)=>(e[t]=nt,e),{});function kr(...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]?Lt(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 Me(e){return typeof e!="number"?e:`${e}px solid`}function Be(e,t){return ve({prop:e,themeKey:"borders",transform:t})}const os=Be("border",Me),is=Be("borderTop",Me),as=Be("borderRight",Me),ss=Be("borderBottom",Me),cs=Be("borderLeft",Me),ls=Be("borderColor"),us=Be("borderTopColor"),fs=Be("borderRightColor"),ds=Be("borderBottomColor"),ps=Be("borderLeftColor"),ms=Be("outline",Me),hs=Be("outlineColor"),Or=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=qt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Kt(t,n)});return Ke(e,e.borderRadius,r)}return null};Or.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:nt}:{};Or.filterProps=["borderRadius"];kr(os,is,as,ss,cs,ls,us,fs,ds,ps,Or,ms,hs);const _r=e=>{if(e.gap!==void 0&&e.gap!==null){const t=qt(e.theme,"spacing",8,"gap"),r=n=>({gap:Kt(t,n)});return Ke(e,e.gap,r)}return null};_r.propTypes=process.env.NODE_ENV!=="production"?{gap:nt}:{};_r.filterProps=["gap"];const Rr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=qt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Kt(t,n)});return Ke(e,e.columnGap,r)}return null};Rr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:nt}:{};Rr.filterProps=["columnGap"];const Ar=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=qt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Kt(t,n)});return Ke(e,e.rowGap,r)}return null};Ar.propTypes=process.env.NODE_ENV!=="production"?{rowGap:nt}:{};Ar.filterProps=["rowGap"];const gs=ve({prop:"gridColumn"}),ys=ve({prop:"gridRow"}),bs=ve({prop:"gridAutoFlow"}),vs=ve({prop:"gridAutoColumns"}),Ss=ve({prop:"gridAutoRows"}),$s=ve({prop:"gridTemplateColumns"}),Cs=ve({prop:"gridTemplateRows"}),Es=ve({prop:"gridTemplateAreas"}),Ts=ve({prop:"gridArea"});kr(_r,Rr,Ar,gs,ys,bs,vs,Ss,$s,Cs,Es,Ts);function Ct(e,t){return t==="grey"?t:e}const ws=ve({prop:"color",themeKey:"palette",transform:Ct}),xs=ve({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ct}),ks=ve({prop:"backgroundColor",themeKey:"palette",transform:Ct});kr(ws,xs,ks);function ke(e){return e<=1&&e!==0?`${e*100}%`:e}const Os=ve({prop:"width",transform:ke}),Fn=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,s,f;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||Er[r];return n?((f=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:f.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:ke(r)}};return Ke(e,e.maxWidth,t)}return null};Fn.filterProps=["maxWidth"];const _s=ve({prop:"minWidth",transform:ke}),Rs=ve({prop:"height",transform:ke}),As=ve({prop:"maxHeight",transform:ke}),Ps=ve({prop:"minHeight",transform:ke});ve({prop:"size",cssProperty:"width",transform:ke});ve({prop:"size",cssProperty:"height",transform:ke});const Ns=ve({prop:"boxSizing"});kr(Os,Fn,_s,Rs,As,Ps,Ns);const Pr={border:{themeKey:"borders",transform:Me},borderTop:{themeKey:"borders",transform:Me},borderRight:{themeKey:"borders",transform:Me},borderBottom:{themeKey:"borders",transform:Me},borderLeft:{themeKey:"borders",transform:Me},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Me},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Or},color:{themeKey:"palette",transform:Ct},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ct},backgroundColor:{themeKey:"palette",transform:Ct},p:{style:ge},pt:{style:ge},pr:{style:ge},pb:{style:ge},pl:{style:ge},px:{style:ge},py:{style:ge},padding:{style:ge},paddingTop:{style:ge},paddingRight:{style:ge},paddingBottom:{style:ge},paddingLeft:{style:ge},paddingX:{style:ge},paddingY:{style:ge},paddingInline:{style:ge},paddingInlineStart:{style:ge},paddingInlineEnd:{style:ge},paddingBlock:{style:ge},paddingBlockStart:{style:ge},paddingBlockEnd:{style:ge},m:{style:he},mt:{style:he},mr:{style:he},mb:{style:he},ml:{style:he},mx:{style:he},my:{style:he},margin:{style:he},marginTop:{style:he},marginRight:{style:he},marginBottom:{style:he},marginLeft:{style:he},marginX:{style:he},marginY:{style:he},marginInline:{style:he},marginInlineStart:{style:he},marginInlineEnd:{style:he},marginBlock:{style:he},marginBlockStart:{style:he},marginBlockEnd:{style:he},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:_r},rowGap:{style:Ar},columnGap:{style:Rr},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:Fn},minWidth:{transform:ke},height:{transform:ke},maxHeight:{transform:ke},minHeight:{transform:ke},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 Is(...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 Ms(e,t){return typeof e=="function"?e(t):e}function Ds(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:f=r,themeKey:d,transform:m,style:p}=s;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const h=Tr(o,d)||{};return p?p(a):Ke(a,n,g=>{let c=hr(h,m,g);return g===c&&typeof g=="string"&&(c=hr(h,m,`${r}${g==="default"?"":ut(g)}`,g)),f===!1?c:{[f]:c}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const a=o.unstable_sxConfig??Pr;function s(f){let d=f;if(typeof f=="function")d=f(o);else if(typeof f!="object")return f;if(!d)return null;const m=Xa(o.breakpoints),p=Object.keys(m);let h=m;return Object.keys(d).forEach(v=>{const g=Ms(d[v],o);if(g!=null)if(typeof g=="object")if(a[v])h=Lt(h,e(v,g,o,a));else{const c=Ke({theme:o},g,y=>({[v]:y}));Is(c,g)?h[v]=t({sx:g,theme:o,nested:!0}):h=Lt(h,c)}else h=Lt(h,e(v,g,o,a))}),!i&&o.modularCssLayers?{"@layer sx":wo(o,ko(p,h))}:wo(o,ko(p,h))}return Array.isArray(n)?n.map(s):s(n)}return t}const wt=Ds();wt.filterProps=["sx"];function gr(){return gr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gr.apply(null,arguments)}function Bs(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 js(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 Fs=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?!0: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(js(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Bs(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e}(),Te="-ms-",yr="-moz-",Z="-webkit-",xi="comm",Vn="rule",Ln="decl",Vs="@import",ki="@keyframes",Ls="@layer",zs=Math.abs,Nr=String.fromCharCode,Us=Object.assign;function Ws(e,t){return Ee(e,0)^45?(((t<<2^Ee(e,0))<<2^Ee(e,1))<<2^Ee(e,2))<<2^Ee(e,3):0}function Oi(e){return e.trim()}function Ys(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,r){return e.replace(t,r)}function gn(e,t){return e.indexOf(t)}function Ee(e,t){return e.charCodeAt(t)|0}function Ut(e,t,r){return e.slice(t,r)}function Le(e){return e.length}function zn(e){return e.length}function or(e,t){return t.push(e),e}function Gs(e,t){return e.map(t).join("")}var Ir=1,xt=1,_i=0,xe=0,$e=0,Ot="";function Mr(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Ir,column:xt,length:a,return:""}}function It(e,t){return Us(Mr("",null,null,"",null,null,0),e,{length:-e.length},t)}function Hs(){return $e}function qs(){return $e=xe>0?Ee(Ot,--xe):0,xt--,$e===10&&(xt=1,Ir--),$e}function Re(){return $e=xe<_i?Ee(Ot,xe++):0,xt++,$e===10&&(xt=1,Ir++),$e}function Ue(){return Ee(Ot,xe)}function cr(){return xe}function Xt(e,t){return Ut(Ot,e,t)}function Wt(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 Ri(e){return Ir=xt=1,_i=Le(Ot=e),xe=0,[]}function Ai(e){return Ot="",e}function lr(e){return Oi(Xt(xe-1,yn(e===91?e+2:e===40?e+1:e)))}function Ks(e){for(;($e=Ue())&&$e<33;)Re();return Wt(e)>2||Wt($e)>3?"":" "}function Xs(e,t){for(;--t&&Re()&&!($e<48||$e>102||$e>57&&$e<65||$e>70&&$e<97););return Xt(e,cr()+(t<6&&Ue()==32&&Re()==32))}function yn(e){for(;Re();)switch($e){case e:return xe;case 34:case 39:e!==34&&e!==39&&yn($e);break;case 40:e===41&&yn(e);break;case 92:Re();break}return xe}function Js(e,t){for(;Re()&&e+$e!==57;)if(e+$e===84&&Ue()===47)break;return"/*"+Xt(t,xe-1)+"*"+Nr(e===47?e:Re())}function Qs(e){for(;!Wt(Ue());)Re();return Xt(e,xe)}function Zs(e){return Ai(ur("",null,null,null,[""],e=Ri(e),0,[0],e))}function ur(e,t,r,n,o,i,a,s,f){for(var d=0,m=0,p=a,h=0,v=0,g=0,c=1,y=1,E=1,P=0,A="",$=o,C=i,k=n,N=A;y;)switch(g=P,P=Re()){case 40:if(g!=108&&Ee(N,p-1)==58){gn(N+=ee(lr(P),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:N+=lr(P);break;case 9:case 10:case 13:case 32:N+=Ks(g);break;case 92:N+=Xs(cr()-1,7);continue;case 47:switch(Ue()){case 42:case 47:or(ec(Js(Re(),cr()),t,r),f);break;default:N+="/"}break;case 123*c:s[d++]=Le(N)*E;case 125*c:case 59:case 0:switch(P){case 0:case 125:y=0;case 59+m:E==-1&&(N=ee(N,/\f/g,"")),v>0&&Le(N)-p&&or(v>32?Ro(N+";",n,r,p-1):Ro(ee(N," ","")+";",n,r,p-2),f);break;case 59:N+=";";default:if(or(k=_o(N,t,r,d,m,o,s,A,$=[],C=[],p),i),P===123)if(m===0)ur(N,t,k,k,$,i,p,s,C);else switch(h===99&&Ee(N,3)===110?100:h){case 100:case 108:case 109:case 115:ur(e,k,k,n&&or(_o(e,k,k,0,0,o,s,A,o,$=[],p),C),o,C,p,s,n?$:C);break;default:ur(N,k,k,k,[""],C,0,s,C)}}d=m=v=0,c=E=1,A=N="",p=a;break;case 58:p=1+Le(N),v=g;default:if(c<1){if(P==123)--c;else if(P==125&&c++==0&&qs()==125)continue}switch(N+=Nr(P),P*c){case 38:E=m>0?1:(N+="\f",-1);break;case 44:s[d++]=(Le(N)-1)*E,E=1;break;case 64:Ue()===45&&(N+=lr(Re())),h=Ue(),m=p=Le(A=N+=Qs(cr())),P++;break;case 45:g===45&&Le(N)==2&&(c=0)}}return i}function _o(e,t,r,n,o,i,a,s,f,d,m){for(var p=o-1,h=o===0?i:[""],v=zn(h),g=0,c=0,y=0;g<n;++g)for(var E=0,P=Ut(e,p+1,p=zs(c=a[g])),A=e;E<v;++E)(A=Oi(c>0?h[E]+" "+P:ee(P,/&\f/g,h[E])))&&(f[y++]=A);return Mr(e,t,r,o===0?Vn:s,f,d,m)}function ec(e,t,r){return Mr(e,t,r,xi,Nr(Hs()),Ut(e,2,-2),0)}function Ro(e,t,r,n){return Mr(e,t,r,Ln,Ut(e,0,n),Ut(e,n+1,-1),n)}function Et(e,t){for(var r="",n=zn(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function tc(e,t,r,n){switch(e.type){case Ls:if(e.children.length)break;case Vs:case Ln:return e.return=e.return||e.value;case xi:return"";case ki:return e.return=e.value+"{"+Et(e.children,n)+"}";case Vn:e.value=e.props.join(",")}return Le(r=Et(e.children,n))?e.return=e.value+"{"+r+"}":""}function rc(e){var t=zn(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 nc(e){return function(t){t.root||(t=t.return)&&e(t)}}function Un(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var oc=function(t,r,n){for(var o=0,i=0;o=i,i=Ue(),o===38&&i===12&&(r[n]=1),!Wt(i);)Re();return Xt(t,xe)},ic=function(t,r){var n=-1,o=44;do switch(Wt(o)){case 0:o===38&&Ue()===12&&(r[n]=1),t[n]+=oc(xe-1,r,n);break;case 2:t[n]+=lr(o);break;case 4:if(o===44){t[++n]=Ue()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Nr(o)}while(o=Re());return t},ac=function(t,r){return Ai(ic(Ri(t),r))},Ao=new WeakMap,sc=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&&!Ao.get(n))&&!o){Ao.set(t,!0);for(var i=[],a=ac(r,i),s=n.props,f=0,d=0;f<a.length;f++)for(var m=0;m<s.length;m++,d++)t.props[d]=i[f]?a[f].replace(/&\f/g,s[m]):s[m]+" "+a[f]}}},cc=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Pi(e,t){switch(Ws(e,t)){case 5103:return Z+"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 Z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Z+e+yr+e+Te+e+e;case 6828:case 4268:return Z+e+Te+e+e;case 6165:return Z+e+Te+"flex-"+e+e;case 5187:return Z+e+ee(e,/(\w+).+(:[^]+)/,Z+"box-$1$2"+Te+"flex-$1$2")+e;case 5443:return Z+e+Te+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return Z+e+Te+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return Z+e+Te+ee(e,"shrink","negative")+e;case 5292:return Z+e+Te+ee(e,"basis","preferred-size")+e;case 6060:return Z+"box-"+ee(e,"-grow","")+Z+e+Te+ee(e,"grow","positive")+e;case 4554:return Z+ee(e,/([^-])(transform)/g,"$1"+Z+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,Z+"$1"),/(image-set)/,Z+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,Z+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,Z+"box-pack:$3"+Te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Z+e+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,Z+"$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(Le(e)-1-t>6)switch(Ee(e,t+1)){case 109:if(Ee(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+Z+"$2-$3$1"+yr+(Ee(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~gn(e,"stretch")?Pi(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ee(e,t+1)!==115)break;case 6444:switch(Ee(e,Le(e)-3-(~gn(e,"!important")&&10))){case 107:return ee(e,":",":"+Z)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Z+(Ee(e,14)===45?"inline-":"")+"box$3$1"+Z+"$2$3$1"+Te+"$2box$3")+e}break;case 5936:switch(Ee(e,t+11)){case 114:return Z+e+Te+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Z+e+Te+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Z+e+Te+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Z+e+Te+e+e}return e}var lc=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Ln:t.return=Pi(t.value,t.length);break;case ki:return Et([It(t,{value:ee(t.value,"@","@"+Z)})],o);case Vn:if(t.length)return Gs(t.props,function(i){switch(Ys(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Et([It(t,{props:[ee(i,/:(read-\w+)/,":"+yr+"$1")]})],o);case"::placeholder":return Et([It(t,{props:[ee(i,/:(plac\w+)/,":"+Z+"input-$1")]}),It(t,{props:[ee(i,/:(plac\w+)/,":"+yr+"$1")]}),It(t,{props:[ee(i,/:(plac\w+)/,Te+"input-$1")]})],o)}return""})}},uc=[lc],Ni=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(c){var y=c.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(c),c.setAttribute("data-s",""))})}var o=t.stylisPlugins||uc,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(c){for(var y=c.getAttribute("data-emotion").split(" "),E=1;E<y.length;E++)i[y[E]]=!0;s.push(c)});var f,d=[sc,cc];{var m,p=[tc,nc(function(c){m.insert(c)})],h=rc(d.concat(o,p)),v=function(y){return Et(Zs(y),h)};f=function(y,E,P,A){m=P,v(y?y+"{"+E.styles+"}":E.styles),A&&(g.inserted[E.name]=!0)}}var g={key:r,sheet:new Fs({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:f};return g.sheet.hydrate(s),g},Ii=Dn(),fc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},dc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Mi={};Mi[Ii.ForwardRef]=fc;Mi[Ii.Memo]=dc;var pc=!0;function Wn(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Dr=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||pc===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Yn=function(t,r,n){Dr(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 mc(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 hc={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},gc=/[A-Z]|^ms/g,yc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Di=function(t){return t.charCodeAt(1)===45},Po=function(t){return t!=null&&typeof t!="boolean"},an=Un(function(e){return Di(e)?e:e.replace(gc,"-$&").toLowerCase()}),No=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(yc,function(n,o,i){return ze={name:o,styles:i,next:ze},o})}return hc[t]!==1&&!Di(t)&&typeof r=="number"&&r!==0?r+"px":r};function Yt(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return ze={name:o.name,styles:o.styles,next:ze},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)ze={name:a.name,styles:a.styles,next:ze},a=a.next;var s=i.styles+";";return s}return bc(e,t,r)}case"function":{if(e!==void 0){var f=ze,d=r(e);return ze=f,Yt(e,t,d)}break}}var m=r;if(t==null)return m;var p=t[m];return p!==void 0?p:m}function bc(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Yt(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=i+"{"+t[s]+"}":Po(s)&&(n+=an(i)+":"+No(i,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var f=0;f<a.length;f++)Po(a[f])&&(n+=an(i)+":"+No(i,a[f])+";");else{var d=Yt(e,t,a);switch(i){case"animation":case"animationName":{n+=an(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var Io=/label:\s*([^\s;{]+)\s*(;|$)/g,ze;function _t(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";ze=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Yt(r,t,i);else{var a=i;o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Yt(r,t,e[s]),n){var f=i;o+=f[s]}Io.lastIndex=0;for(var d="",m;(m=Io.exec(o))!==null;)d+="-"+m[1];var p=mc(o)+d;return{name:p,styles:o,next:ze}}var vc=function(t){return t()},Sc=I.useInsertionEffect?I.useInsertionEffect:!1,Gn=Sc||vc,Bi=I.createContext(typeof HTMLElement<"u"?Ni({key:"css"}):null);Bi.Provider;var $c=function(t){return X.forwardRef(function(r,n){var o=X.useContext(Bi);return t(r,o,n)})},Cc=I.createContext({}),Ec=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|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)-.*))$/,Tc=Un(function(e){return Ec.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),wc=Tc,xc=function(t){return t!=="theme"},Mo=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?wc:xc},Do=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},kc=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Dr(r,n,o),Gn(function(){return Yn(r,n,o)}),null},Oc=function e(t,r){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=Do(t,r,n),f=s||Mo(o),d=!f("as");return function(){var m=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)p.push.apply(p,m);else{var h=m[0];p.push(h[0]);for(var v=m.length,g=1;g<v;g++)p.push(m[g],h[g])}var c=$c(function(y,E,P){var A=d&&y.as||o,$="",C=[],k=y;if(y.theme==null){k={};for(var N in y)k[N]=y[N];k.theme=I.useContext(Cc)}typeof y.className=="string"?$=Wn(E.registered,C,y.className):y.className!=null&&($=y.className+" ");var V=_t(p.concat(C),E.registered,k);$+=E.key+"-"+V.name,a!==void 0&&($+=" "+a);var U=d&&s===void 0?Mo(A):f,u={};for(var x in y)d&&x==="as"||U(x)&&(u[x]=y[x]);return u.className=$,P&&(u.ref=P),I.createElement(I.Fragment,null,I.createElement(kc,{cache:E,serialized:V,isStringTag:typeof A=="string"}),I.createElement(A,u))});return c.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",c.defaultProps=t.defaultProps,c.__emotion_real=c,c.__emotion_base=o,c.__emotion_styles=p,c.__emotion_forwardProp=s,Object.defineProperty(c,"toString",{value:function(){return"."+a}}),c.withComponent=function(y,E){var P=e(y,gr({},r,E,{shouldForwardProp:Do(c,E,!0)}));return P.apply(void 0,p)},c}},_c=["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"],bn=Oc.bind(null);_c.forEach(function(e){bn[e]=bn(e)});/**
|
|
62
|
-
* @mui/styled-engine v7.3.6
|
|
63
|
-
*
|
|
64
|
-
* @license MIT
|
|
65
|
-
* This source code is licensed under the MIT license found in the
|
|
66
|
-
* LICENSE file in the root directory of this source tree.
|
|
67
|
-
*/function Rc(e,t){const r=bn(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(`
|
|
68
|
-
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function Ac(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Bo=[];function lt(e){return Bo[0]=e,_t(Bo)}const Pc=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)=>({...r,[n.key]:n.val}),{})};function Nc(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=Pc(t),a=Object.keys(i);function s(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r})`}function f(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-n/100}${r})`}function d(h,v){const g=a.indexOf(v);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:v)-n/100}${r})`}function m(h){return a.indexOf(h)+1<a.length?d(h,a[a.indexOf(h)+1]):s(h)}function p(h){const v=a.indexOf(h);return v===0?s(a[1]):v===a.length-1?f(a[v]):d(h,a[a.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:f,between:d,only:m,not:p,unit:r,...o}}const Ic={borderRadius:4};function ji(e=8,t=jn({spacing:e})){if(e.mui)return e;const 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 Mc(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function Fi(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=Nc(r),f=ji(o);let d=_e({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:f,shape:{...Ic,...i}},a);return d=qa(d),d.applyStyles=Mc,d=t.reduce((m,p)=>_e(m,p),d),d.unstable_sxConfig={...Pr,...a==null?void 0:a.unstable_sxConfig},d.unstable_sx=function(p){return wt({sx:p,theme:this})},d}const Dc={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 Hn(e,t,r="Mui"){const n=Dc[t];return n?`${r}-${n}`:`${Na.generate(e)}-${t}`}function Bc(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Hn(e,o,r)}),n}function Vi(e,t=""){return e.displayName||e.name||t}function jo(e,t,r){const n=Vi(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function jc(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Vi(e,"Component");if(typeof e=="object")switch(e.$$typeof){case mr.ForwardRef:return jo(e,e.render,"ForwardRef");case mr.Memo:return jo(e,e.type,"memo");default:return}}}function Li(e){const{variants:t,...r}=e,n={variants:t,style:lt(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=lt(o.style))}),n}const Fc=Fi();function sn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function st(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Vc(e){return e?(t,r)=>r[e]:null}function Lc(e,t,r){e.theme=Yc(e.theme)?r:e.theme[t]||e.theme}function fr(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>fr(e,o,r));if(Array.isArray(n==null?void 0:n.variants)){let o;if(n.isProcessed)o=r?st(n.style,r):n.style;else{const{variants:i,...a}=n;o=r?st(lt(a),r):a}return zi(e,n.variants,[o],r)}return n!=null&&n.isProcessed?r?st(lt(n.style),r):n.style:r?st(lt(n),r):n}function zi(e,t,r=[],n=void 0){var i;let o;e:for(let a=0;a<t.length;a+=1){const s=t[a];if(typeof s.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!s.props(o))continue}else for(const f in s.props)if(e[f]!==s.props[f]&&((i=e.ownerState)==null?void 0:i[f])!==s.props[f])continue e;typeof s.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),r.push(n?st(lt(s.style(o)),n):s.style(o))):r.push(n?st(lt(s.style),n):s.style)}return r}function zc(e={}){const{themeId:t,defaultTheme:r=Fc,rootShouldForwardProp:n=sn,slotShouldForwardProp:o=sn}=e;function i(s){Lc(s,t,r)}return(s,f={})=>{Ac(s,k=>k.filter(N=>N!==wt));const{name:d,slot:m,skipVariantsResolver:p,skipSx:h,overridesResolver:v=Vc(Ui(m)),...g}=f,c=d&&d.startsWith("Mui")||m?"components":"custom",y=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,E=h||!1;let P=sn;m==="Root"||m==="root"?P=n:m?P=o:Gc(s)&&(P=void 0);const A=Rc(s,{shouldForwardProp:P,label:Wc(d,m),...g}),$=k=>{if(k.__emotion_real===k)return k;if(typeof k=="function")return function(V){return fr(V,k,V.theme.modularCssLayers?c:void 0)};if(He(k)){const N=Li(k);return function(U){return N.variants?fr(U,N,U.theme.modularCssLayers?c:void 0):U.theme.modularCssLayers?st(N.style,c):N.style}}return k},C=(...k)=>{const N=[],V=k.map($),U=[];if(N.push(i),d&&v&&U.push(function(R){var Q,de;const D=(de=(Q=R.theme.components)==null?void 0:Q[d])==null?void 0:de.styleOverrides;if(!D)return null;const j={};for(const le in D)j[le]=fr(R,D[le],R.theme.modularCssLayers?"theme":void 0);return v(R,j)}),d&&!y&&U.push(function(R){var j,Q;const O=R.theme,D=(Q=(j=O==null?void 0:O.components)==null?void 0:j[d])==null?void 0:Q.variants;return D?zi(R,D,[],R.theme.modularCssLayers?"theme":void 0):null}),E||U.push(wt),Array.isArray(V[0])){const l=V.shift(),R=new Array(N.length).fill(""),O=new Array(U.length).fill("");let D;D=[...R,...l,...O],D.raw=[...R,...l.raw,...O],N.unshift(D)}const u=[...N,...V,...U],x=A(...u);return s.muiName&&(x.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(x.displayName=Uc(d,m,s)),x};return A.withConfig&&(C.withConfig=A.withConfig),C}}function Uc(e,t,r){return e?`${e}${ut(t||"")}`:`Styled(${jc(r)})`}function Wc(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${Ui(t||"Root")}`),r}function Yc(e){for(const t in e)return!1;return!0}function Gc(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ui(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function vn(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const a=e[i],s=t[i];if(!s)n[i]=a||{};else if(!a)n[i]=s;else{n[i]={...s};for(const f in a)if(Object.prototype.hasOwnProperty.call(a,f)){const d=f;n[i][d]=vn(a[d],s[d],r)}}}else i==="className"&&r&&t.className?n.className=we(e==null?void 0:e.className,t==null?void 0:t.className):i==="style"&&r&&t.style?n.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:n[i]===void 0&&(n[i]=e[i])}return n}function Hc(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function qn(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}].`),Hc(e,t,r)}function qc(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)),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.`),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 et(e){if(e.type)return e;if(e.charAt(0)==="#")return et(qc(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
69
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Ze(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"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
70
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Ze(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Kc=e=>{const t=et(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Bt=(e,t)=>{try{return Kc(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Br(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Wi(e){e=et(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(d,m=(d+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let s="rgb";const f=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",f.push(t[3])),Br({type:s,values:f})}function Sn(e){e=et(e);let t=e.type==="hsl"||e.type==="hsla"?et(Wi(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 Fo(e,t){const r=Sn(e),n=Sn(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Yi(e,t){return e=et(e),t=qn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Br(e)}function at(e,t,r){try{return Yi(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function jr(e,t){if(e=et(e),t=qn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Br(e)}function ne(e,t,r){try{return jr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Fr(e,t){if(e=et(e),t=qn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Br(e)}function oe(e,t,r){try{return Fr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Xc(e,t=.15){return Sn(e)>.5?jr(e,t):Fr(e,t)}function ir(e,t,r){try{return Xc(e,t)}catch{return e}}const Jc=I.createContext(void 0);process.env.NODE_ENV!=="production"&&(S.node,S.object);function Qc(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?vn(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?vn(o,n,t.components.mergeClassNameAndStyle):n}function Zc({props:e,name:t}){const r=I.useContext(Jc);return Qc({props:e,name:t,theme:{components:r}})}const Vo={theme:void 0};function el(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(Vo.theme=o.theme,i=Li(e(Vo)),t=i,r=o.theme),i}}function tl(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const Lo=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},rl=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,f])=>{(!r||r&&!r([...i,s]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?n(f,[...i,s],Array.isArray(f)?[...a,s]:a):t([...i,s],f,a))})}n(e)},nl=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function cn(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return rl(e,(s,f,d)=>{if((typeof f=="string"||typeof f=="number")&&(!n||!n(s,f))){const m=`--${r?`${r}-`:""}${s.join("-")}`,p=nl(s,f);Object.assign(o,{[m]:p}),Lo(i,s,`var(${m})`,d),Lo(a,s,`var(${m}, ${p})`,d)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function ol(e,t={}){const{getSelector:r=E,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:s,defaultColorScheme:f="light",...d}=e,{vars:m,css:p,varsWithDefaults:h}=cn(d,t);let v=h;const g={},{[f]:c,...y}=a;if(Object.entries(y||{}).forEach(([$,C])=>{const{vars:k,css:N,varsWithDefaults:V}=cn(C,t);v=_e(v,V),g[$]={css:N,vars:k}}),c){const{css:$,vars:C,varsWithDefaults:k}=cn(c,t);v=_e(v,k),g[f]={css:$,vars:C}}function E($,C){var N,V;let k=o;if(o==="class"&&(k=".%s"),o==="data"&&(k="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(k=`[${o}="%s"]`),$){if(k==="media")return e.defaultColorScheme===$?":root":{[`@media (prefers-color-scheme: ${((V=(N=a[$])==null?void 0:N.palette)==null?void 0:V.mode)||$})`]:{":root":C}};if(k)return e.defaultColorScheme===$?`:root, ${k.replace("%s",String($))}`:k.replace("%s",String($))}return":root"}return{vars:v,generateThemeVars:()=>{let $={...m};return Object.entries(g).forEach(([,{vars:C}])=>{$=_e($,C)}),$},generateStyleSheets:()=>{var U,u;const $=[],C=e.defaultColorScheme||"light";function k(x,l){Object.keys(l).length&&$.push(typeof x=="string"?{[x]:{...l}}:x)}k(r(void 0,{...p}),p);const{[C]:N,...V}=g;if(N){const{css:x}=N,l=(u=(U=a[C])==null?void 0:U.palette)==null?void 0:u.mode,R=!n&&l?{colorScheme:l,...x}:{...x};k(r(C,{...R}),R)}return Object.entries(V).forEach(([x,{css:l}])=>{var D,j;const R=(j=(D=a[x])==null?void 0:D.palette)==null?void 0:j.mode,O=!n&&R?{colorScheme:R,...l}:{...l};k(r(x,{...O}),O)}),i&&$.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),$}}}function il(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const Gt={black:"#000",white:"#fff"},al={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"},ft={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},dt={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Mt={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},pt={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},mt={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},ht={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Gi(){return{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:Gt.white,default:Gt.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}}}const Hi=Gi();function qi(){return{text:{primary:Gt.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:Gt.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}}}const $n=qi();function zo(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=Fr(e.main,o):t==="dark"&&(e.dark=jr(e.main,i)))}function Uo(e,t,r,n,o){const i=o.light||o,a=o.dark||o*1.5;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:r==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(i*100).toFixed(0)}%)`:r==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(a*100).toFixed(0)}%)`))}function sl(e="light"){return e==="dark"?{main:pt[200],light:pt[50],dark:pt[400]}:{main:pt[700],light:pt[400],dark:pt[800]}}function cl(e="light"){return e==="dark"?{main:ft[200],light:ft[50],dark:ft[400]}:{main:ft[500],light:ft[300],dark:ft[700]}}function ll(e="light"){return e==="dark"?{main:dt[500],light:dt[300],dark:dt[700]}:{main:dt[700],light:dt[400],dark:dt[800]}}function ul(e="light"){return e==="dark"?{main:mt[400],light:mt[300],dark:mt[700]}:{main:mt[700],light:mt[500],dark:mt[900]}}function fl(e="light"){return e==="dark"?{main:ht[400],light:ht[300],dark:ht[700]}:{main:ht[800],light:ht[500],dark:ht[900]}}function dl(e="light"){return e==="dark"?{main:Mt[400],light:Mt[300],dark:Mt[700]}:{main:"#ed6c02",light:Mt[500],dark:Mt[900]}}function pl(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Kn(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:o,...i}=e,a=e.primary||sl(t),s=e.secondary||cl(t),f=e.error||ll(t),d=e.info||ul(t),m=e.success||fl(t),p=e.warning||dl(t);function h(y){if(o)return pl(y);const E=Fo(y,$n.text.primary)>=r?$n.text.primary:Hi.text.primary;if(process.env.NODE_ENV!=="production"){const P=Fo(y,E);P<3&&console.error([`MUI: The contrast ratio of ${P}:1 for ${E} on ${y}`,"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(`
|
|
71
|
-
`))}return E}const v=({color:y,name:E,mainShade:P=500,lightShade:A=300,darkShade:$=700})=>{if(y={...y},!y.main&&y[P]&&(y.main=y[P]),!y.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${E?` (${E})`:""} provided to augmentColor(color) is invalid.
|
|
72
|
-
The color object needs to have a \`main\` property or a \`${P}\` property.`:Ze(11,E?` (${E})`:"",P));if(typeof y.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${E?` (${E})`:""} provided to augmentColor(color) is invalid.
|
|
73
|
-
\`color.main\` should be a string, but \`${JSON.stringify(y.main)}\` was provided instead.
|
|
74
|
-
|
|
11
|
+
<%s key={someKey} {...props} />`,o,h,g,h),D[h+o]=!0)}if(h=null,i!==void 0&&(r(i),h=``+i),s(n)&&(r(n.key),h=``+n.key),`key`in n)for(var _ in i={},n)_!==`key`&&(i[_]=n[_]);else i=n;return h&&c(i,typeof e==`function`?e.displayName||e.name||`Unknown`:e),u(e,h,d,l,a(),i,p,m)}function f(e){typeof e==`object`&&e&&e.$$typeof===m&&e._store&&(e._store.validated=1)}var p=require(`react`),m=Symbol.for(`react.transitional.element`),h=Symbol.for(`react.portal`),g=Symbol.for(`react.fragment`),_=Symbol.for(`react.strict_mode`),v=Symbol.for(`react.profiler`),y=Symbol.for(`react.consumer`),b=Symbol.for(`react.context`),x=Symbol.for(`react.forward_ref`),S=Symbol.for(`react.suspense`),C=Symbol.for(`react.suspense_list`),w=Symbol.for(`react.memo`),ee=Symbol.for(`react.lazy`),te=Symbol.for(`react.activity`),ne=Symbol.for(`react.client.reference`),re=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=Object.prototype.hasOwnProperty,ae=Array.isArray,oe=console.createTask?console.createTask:function(){return null};p={"react-stack-bottom-frame":function(e){return e()}};var T,se={},E=p[`react-stack-bottom-frame`].bind(p,o)(),ce=oe(i(o)),D={};e.Fragment=g,e.jsx=function(e,t,n,r,a){var o=1e4>re.recentlyCreatedOwnerStacks++;return d(e,t,n,!1,r,a,o?Error(`react-stack-top-frame`):E,o?oe(i(e)):ce)},e.jsxs=function(e,t,n,r,a){var o=1e4>re.recentlyCreatedOwnerStacks++;return d(e,t,n,!0,r,a,o?Error(`react-stack-top-frame`):E,o?oe(i(e)):ce)}})()})),Mr=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=Ar():t.exports=jr()}));function Nr(e,t){let n=kr(e,t);return process.env.NODE_ENV===`production`?n:(...t)=>{let r=typeof e==`string`?`"${e}"`:`component`;return t.length===0?console.error([`MUI: Seems like you called \`styled(${r})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
12
|
+
`)):t.some(e=>e===void 0)&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}}function Pr(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Fr=[];function Ir(e){return Fr[0]=e,ir(Fr)}var Lr={borderRadius:4};function Rr(e=8,t=Ke({spacing:e})){if(e.mui)return e;let n=(...e)=>(process.env.NODE_ENV!==`production`&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `));return n.mui=!0,n}function zr(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function Br(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Ce(n),c=Rr(i),l=O({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Lr,...a}},o);return l=xe(l),l.applyStyles=zr,l=t.reduce((e,t)=>O(e,t),l),l.unstable_sxConfig={...Ct,...o?.unstable_sxConfig},l.unstable_sx=function(e){return Et({sx:e,theme:this})},l.internal_cache={},l}var Vr=e=>e,Hr=(()=>{let e=Vr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Vr}}})(),Ur={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 Wr(e,t,n=`Mui`){let r=Ur[t];return r?`${n}-${r}`:`${Hr.generate(e)}-${t}`}function Gr(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Wr(e,t,n)}),r}function Kr(e,t=``){return e.displayName||e.name||t}function qr(e,t,n){let r=Kr(t);return e.displayName||(r===``?n:`${n}(${r})`)}function Jr(e){if(e!=null){if(typeof e==`string`)return e;if(typeof e==`function`)return Kr(e,`Component`);if(typeof e==`object`)switch(e.$$typeof){case pe.ForwardRef:return qr(e,e.render,`ForwardRef`);case pe.Memo:return qr(e,e.type,`memo`);default:return}}}function Yr(e){let{variants:t,...n}=e,r={variants:t,style:Ir(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Ir(e.style))}),r}var Xr=Br();function Zr(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function Qr(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function $r(e){return e?(t,n)=>n[e]:null}function ei(e,t,n){e.theme=ue(e.theme)?n:e.theme[t]||e.theme}function ti(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>ti(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Qr(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?Qr(Ir(i),n):i}return ni(e,r.variants,[t],n)}return r?.isProcessed?n?Qr(Ir(r.style),n):r.style:n?Qr(Ir(r),n):r}function ni(e,t,n=[],r=void 0){let i;variantLoop:for(let a=0;a<t.length;a+=1){let o=t[a];if(typeof o.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(i))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue variantLoop;typeof o.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Qr(Ir(o.style(i)),r):o.style(i))):n.push(r?Qr(Ir(o.style),r):o.style)}return n}function ri(e={}){let{themeId:t,defaultTheme:n=Xr,rootShouldForwardProp:r=Zr,slotShouldForwardProp:i=Zr}=e;function a(e){ei(e,t,n)}return(e,t={})=>{Pr(e,e=>e.filter(e=>e!==Et));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=$r(si(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=Zr;o===`Root`||o===`root`?m=r:o?m=i:oi(e)&&(m=void 0);let h=Nr(e,{shouldForwardProp:m,label:ai(n,o),...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return ti(t,e,t.theme.modularCssLayers?d:void 0)};if(me(e)){let t=Yr(e);return function(e){return t.variants?ti(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Qr(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),s=[];if(r.push(a),n&&l&&s.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=ti(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!f&&s.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?ni(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||s.push(Et),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(s.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let c=h(...r,...i,...s);return e.muiName&&(c.muiName=e.muiName),process.env.NODE_ENV!==`production`&&(c.displayName=ii(n,o,e)),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function ii(e,t,n){return e?`${e}${ee(t||``)}`:`Styled(${Jr(n)})`}function ai(e,t){let n;return process.env.NODE_ENV!==`production`&&e&&(n=`${e}-${si(t||`Root`)}`),n}function oi(e){return typeof e==`string`&&e.charCodeAt(0)>96}function si(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function ci(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e;r[a][t]=ci(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=S(e?.className,t?.className):a===`style`&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}function li(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function ui(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}].`),li(e,t,n)}function di(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),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((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function fi(e){if(e.type)return e;if(e.charAt(0)===`#`)return fi(di(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(process.env.NODE_ENV===`production`?w(9,e):`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`);let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=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(i))throw Error(process.env.NODE_ENV===`production`?w(10,i):`MUI: unsupported \`${i}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`)}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var pi=e=>{let t=fi(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},mi=(e,t)=>{try{return pi(e)}catch{return t&&process.env.NODE_ENV!==`production`&&console.warn(t),e}};function hi(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function gi(e){e=fi(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),hi({type:s,values:c})}function _i(e){e=fi(e);let t=e.type===`hsl`||e.type===`hsla`?fi(gi(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function vi(e,t){let n=_i(e),r=_i(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function yi(e,t){return e=fi(e),t=ui(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,hi(e)}function bi(e,t,n){try{return yi(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function xi(e,t){if(e=fi(e),t=ui(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 hi(e)}function B(e,t,n){try{return xi(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function Si(e,t){if(e=fi(e),t=ui(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 hi(e)}function V(e,t,n){try{return Si(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function Ci(e,t=.15){return _i(e)>.5?xi(e,t):Si(e,t)}function wi(e,t,n){try{return Ci(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}var H=Mr(),Ti=u.createContext(void 0);function Ei({value:e,children:t}){return(0,H.jsx)(Ti.Provider,{value:e,children:t})}process.env.NODE_ENV!==`production`&&(Ei.propTypes={children:D.default.node,value:D.default.object});function Di(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?ci(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?ci(i,r,t.components.mergeClassNameAndStyle):r}function Oi({props:e,name:t}){return Di({props:e,name:t,theme:{components:u.useContext(Ti)}})}var ki={theme:void 0};function Ai(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(ki.theme=r.theme,i=Yr(e(ki)),t=i,n=r.theme),i}}function ji(e=``){function t(...n){if(!n.length)return``;let r=n[0];return typeof r==`string`&&!r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:``}${r}${t(...n.slice(1))})`:`, ${r}`}return(n,...r)=>`var(--${e?`${e}-`:``}${n}${t(...r)})`}var Mi=(e,t,n,r=[])=>{let i=e;t.forEach((e,a)=>{a===t.length-1?Array.isArray(i)?i[Number(e)]=n:i&&typeof i==`object`&&(i[e]=n):i&&typeof i==`object`&&(i[e]||(i[e]=r.includes(e)?[]:{}),i=i[e])})},Ni=(e,t,n)=>{function r(e,i=[],a=[]){Object.entries(e).forEach(([e,o])=>{(!n||n&&!n([...i,e]))&&o!=null&&(typeof o==`object`&&Object.keys(o).length>0?r(o,[...i,e],Array.isArray(o)?[...a,e]:a):t([...i,e],o,a))})}r(e)},Pi=(e,t)=>typeof t==`number`?[`lineHeight`,`fontWeight`,`opacity`,`zIndex`].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes(`opacity`)?t:`${t}px`:t;function Fi(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return Ni(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=Pi(e,t);Object.assign(i,{[r]:c}),Mi(a,e,`var(${r})`,s),Mi(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function Ii(e,t={}){let{getSelector:n=_,disableCssColorScheme:r,colorSchemeSelector:i,enableContrastVars:a}=t,{colorSchemes:o={},components:s,defaultColorScheme:c=`light`,...l}=e,{vars:u,css:d,varsWithDefaults:f}=Fi(l,t),p=f,m={},{[c]:h,...g}=o;if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=Fi(n,t);p=O(p,a),m[e]={css:i,vars:r}}),h){let{css:e,vars:n,varsWithDefaults:r}=Fi(h,t);p=O(p,r),m[c]={css:e,vars:n}}function _(t,n){let r=i;if(i===`class`&&(r=`.%s`),i===`data`&&(r=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(r=`[${i}="%s"]`),t){if(r===`media`)return e.defaultColorScheme===t?`:root`:{[`@media (prefers-color-scheme: ${o[t]?.palette?.mode||t})`]:{":root":n}};if(r)return e.defaultColorScheme===t?`:root, ${r.replace(`%s`,String(t))}`:r.replace(`%s`,String(t))}return`:root`}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(m).forEach(([,{vars:t}])=>{e=O(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||`light`;function s(e,n){Object.keys(n).length&&t.push(typeof e==`string`?{[e]:{...n}}:e)}s(n(void 0,{...d}),d);let{[i]:c,...l}=m;if(c){let{css:e}=c,t=o[i]?.palette?.mode,a=!r&&t?{colorScheme:t,...e}:{...e};s(n(i,{...a}),a)}return Object.entries(l).forEach(([e,{css:t}])=>{let i=o[e]?.palette?.mode,a=!r&&i?{colorScheme:i,...t}:{...t};s(n(e,{...a}),a)}),a&&t.push({":root":{"--__l-threshold":`0.7`,"--__l":`clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)`,"--__a":`clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)`}}),t}}}function Li(e){return function(t){return e===`media`?(process.env.NODE_ENV!==`production`&&t!==`light`&&t!==`dark`&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`),`@media (prefers-color-scheme: ${t})`):e?e.startsWith(`data-`)&&!e.includes(`%s`)?`[${e}="${t}"] &`:e===`class`?`.${t} &`:e===`data`?`[data-${t}] &`:`${e.replace(`%s`,t)} &`:`&`}}var Ri={black:`#000`,white:`#fff`},zi={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`},Bi={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`},Vi={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`},Hi={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`},Ui={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`},Wi={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`},Gi={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`};function Ki(){return{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:Ri.white,default:Ri.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}}}var qi=Ki();function Ji(){return{text:{primary:Ri.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:Ri.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}}}var Yi=Ji();function Xi(e,t,n,r){let i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t===`light`?e.light=Si(e.main,i):t===`dark`&&(e.dark=xi(e.main,a)))}function Zi(e,t,n,r,i){let a=i.light||i,o=i.dark||i*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n===`light`?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:n===`dark`&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(o*100).toFixed(0)}%)`))}function Qi(e=`light`){return e===`dark`?{main:Ui[200],light:Ui[50],dark:Ui[400]}:{main:Ui[700],light:Ui[400],dark:Ui[800]}}function $i(e=`light`){return e===`dark`?{main:Bi[200],light:Bi[50],dark:Bi[400]}:{main:Bi[500],light:Bi[300],dark:Bi[700]}}function ea(e=`light`){return e===`dark`?{main:Vi[500],light:Vi[300],dark:Vi[700]}:{main:Vi[700],light:Vi[400],dark:Vi[800]}}function ta(e=`light`){return e===`dark`?{main:Wi[400],light:Wi[300],dark:Wi[700]}:{main:Wi[700],light:Wi[500],dark:Wi[900]}}function na(e=`light`){return e===`dark`?{main:Gi[400],light:Gi[300],dark:Gi[700]}:{main:Gi[800],light:Gi[500],dark:Gi[900]}}function ra(e=`light`){return e===`dark`?{main:Hi[400],light:Hi[300],dark:Hi[700]}:{main:`#ed6c02`,light:Hi[500],dark:Hi[900]}}function ia(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function aa(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...a}=e,o=e.primary||Qi(t),s=e.secondary||$i(t),c=e.error||ea(t),l=e.info||ta(t),u=e.success||na(t),d=e.warning||ra(t);function f(e){if(i)return ia(e);let t=vi(e,Yi.text.primary)>=n?Yi.text.primary:qi.text.primary;if(process.env.NODE_ENV!==`production`){let n=vi(e,t);n<3&&console.error([`MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,`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(`
|
|
13
|
+
`))}return t}let p=({color:e,name:t,mainShade:n=500,lightShade:a=300,darkShade:o=700})=>{if(e={...e},!e.main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty(`main`))throw Error(process.env.NODE_ENV===`production`?w(11,t?` (${t})`:``,n):`MUI: The color${t?` (${t})`:``} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`);if(typeof e.main!=`string`)throw Error(process.env.NODE_ENV===`production`?w(12,t?` (${t})`:``,JSON.stringify(e.main)):`MUI: The color${t?` (${t})`:``} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n
|
|
75
14
|
Did you intend to use one of the following approaches?
|
|
76
15
|
|
|
77
16
|
import { green } from "@mui/material/colors";
|
|
@@ -82,50 +21,22 @@ const theme1 = createTheme({ palette: {
|
|
|
82
21
|
|
|
83
22
|
const theme2 = createTheme({ palette: {
|
|
84
23
|
primary: { main: green[500] },
|
|
85
|
-
} })
|
|
86
|
-
`)),Object.keys(
|
|
24
|
+
} });`);return i?(Zi(i,e,`light`,a,r),Zi(i,e,`dark`,o,r)):(Xi(e,`light`,a,r),Xi(e,`dark`,o,r)),e.contrastText||=f(e.main),e},m;return t===`light`?m=Ki():t===`dark`&&(m=Ji()),process.env.NODE_ENV!==`production`&&(m||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),O({common:{...Ri},mode:t,primary:p({color:o,name:`primary`}),secondary:p({color:s,name:`secondary`,mainShade:`A400`,lightShade:`A200`,darkShade:`A700`}),error:p({color:c,name:`error`}),warning:p({color:d,name:`warning`}),info:p({color:l,name:`info`}),success:p({color:u,name:`success`}),grey:zi,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...m},a)}function oa(e){let t={};return Object.entries(e).forEach(e=>{let[n,r]=e;typeof r==`object`&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:``}${r.fontVariant?`${r.fontVariant} `:``}${r.fontWeight?`${r.fontWeight} `:``}${r.fontStretch?`${r.fontStretch} `:``}${r.fontSize||``}${r.lineHeight?`/${r.lineHeight} `:``}${r.fontFamily||``}`)}),t}function sa(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function ca(e){return Math.round(e*1e5)/1e5}var la={textTransform:`uppercase`},ua=`"Roboto", "Helvetica", "Arial", sans-serif`;function da(e,t){let{fontFamily:n=ua,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:o=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:l,pxToRem:u,...d}=typeof t==`function`?t(e):t;process.env.NODE_ENV!==`production`&&(typeof r!=`number`&&console.error("MUI: `fontSize` is required to be a number."),typeof c!=`number`&&console.error("MUI: `htmlFontSize` is required to be a number."));let f=r/14,p=u||(e=>`${e/c*f}rem`),m=(e,t,r,i,a)=>({fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===ua?{letterSpacing:`${ca(i/t)}em`}:{},...a,...l});return O({htmlFontSize:c,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:o,fontWeightBold:s,h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(o,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(o,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(o,14,1.75,.4,la),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,la),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var fa=.2,pa=.14,ma=.12;function U(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${fa})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${pa})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ma})`].join(`,`)}var ha=[`none`,U(0,2,1,-1,0,1,1,0,0,1,3,0),U(0,3,1,-2,0,2,2,0,0,1,5,0),U(0,3,3,-2,0,3,4,0,0,1,8,0),U(0,2,4,-1,0,4,5,0,0,1,10,0),U(0,3,5,-1,0,5,8,0,0,1,14,0),U(0,3,5,-1,0,6,10,0,0,1,18,0),U(0,4,5,-2,0,7,10,1,0,2,16,1),U(0,5,5,-3,0,8,10,1,0,3,14,2),U(0,5,6,-3,0,9,12,1,0,3,16,2),U(0,6,6,-3,0,10,14,1,0,4,18,3),U(0,6,7,-4,0,11,15,1,0,4,20,3),U(0,7,8,-4,0,12,17,2,0,5,22,4),U(0,7,8,-4,0,13,19,2,0,5,24,4),U(0,7,9,-4,0,14,21,2,0,5,26,4),U(0,8,9,-5,0,15,22,2,0,6,28,5),U(0,8,10,-5,0,16,24,2,0,6,30,5),U(0,8,11,-5,0,17,26,2,0,6,32,5),U(0,9,11,-5,0,18,28,2,0,7,34,6),U(0,9,12,-6,0,19,29,2,0,7,36,6),U(0,10,13,-6,0,20,31,3,0,8,38,7),U(0,10,13,-6,0,21,33,3,0,8,40,7),U(0,10,14,-6,0,22,35,3,0,8,42,7),U(0,11,14,-7,0,23,36,3,0,9,44,8),U(0,11,15,-7,0,24,38,3,0,9,46,8)],ga={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)`},_a={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function va(e){return`${Math.round(e)}ms`}function ya(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function ba(e){let t={...ga,...e.easing},n={..._a,...e.duration};return{getAutoHeightDuration:ya,create:(e=[`all`],r={})=>{let{duration:i=n.standard,easing:a=t.easeInOut,delay:o=0,...s}=r;if(process.env.NODE_ENV!==`production`){let t=e=>typeof e==`string`,n=e=>!Number.isNaN(parseFloat(e));!t(e)&&!Array.isArray(e)&&console.error(`MUI: Argument "props" must be a string or Array.`),!n(i)&&!t(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),t(a)||console.error(`MUI: Argument "easing" must be a string.`),!n(o)&&!t(o)&&console.error(`MUI: Argument "delay" must be a number or a string.`),typeof r!=`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(`
|
|
25
|
+
`)),Object.keys(s).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(`,`)}].`)}return(Array.isArray(e)?e:[e]).map(e=>`${e} ${typeof i==`string`?i:va(i)} ${a} ${typeof o==`string`?o:va(o)}`).join(`,`)},...e,easing:t,duration:n}}var xa={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Sa(e){return me(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function Ca(e={}){let t={...e};function n(e){let t=Object.entries(e);for(let r=0;r<t.length;r++){let[i,a]=t[r];!Sa(a)||i.startsWith(`unstable_`)||i.startsWith(`internal_`)?delete e[i]:me(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
87
26
|
|
|
88
27
|
const theme = ${JSON.stringify(t,null,2)};
|
|
89
28
|
|
|
90
29
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
91
30
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
92
31
|
|
|
93
|
-
export default theme;`}function
|
|
94
|
-
`))}
|
|
95
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Bl(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Fe=e=>{try{return e()}catch{}},jl=(e="mui")=>tl(e);function ln(e,t,r,n,o){if(!r)return;r=r===!0?{}:r;const i=o==="dark"?"dark":"light";if(!n){t[o]=Pl({...r,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return}const{palette:a,...s}=Cn({...n,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return t[o]={...r,palette:a,opacity:{...Xi(i),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||Ji(i)},s}function Fl(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=Nl,colorSchemeSelector:f=r.light&&r.dark?"media":void 0,rootSelector:d=":root",...m}=e,p=Object.keys(r)[0],h=n||(r.light&&p!=="light"?"light":p),v=jl(i),{[h]:g,light:c,dark:y,...E}=r,P={...E};let A=g;if((h==="dark"&&!("dark"in r)||h==="light"&&!("light"in r))&&(A=!0),!A)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${h}\` option is either missing or invalid.`:Ze(21,h));let $;a&&($="oklch");const C=ln($,P,A,m,h);c&&!P.light&&ln($,P,c,void 0,"light"),y&&!P.dark&&ln($,P,y,void 0,"dark");let k={defaultColorScheme:h,...C,cssVarPrefix:i,colorSchemeSelector:f,rootSelector:d,getCssVar:v,colorSchemes:P,font:{...ml(C.typography),...C.font},spacing:Bl(m.spacing)};Object.keys(k.colorSchemes).forEach(x=>{const l=k.colorSchemes[x].palette,R=D=>{const j=D.split("-"),Q=j[1],de=j[2];return v(D,l[Q][de])};l.mode==="light"&&(T(l.common,"background","#fff"),T(l.common,"onBackground","#000")),l.mode==="dark"&&(T(l.common,"background","#000"),T(l.common,"onBackground","#fff"));function O(D,j,Q){if($){let de;return D===at&&(de=`transparent ${((1-Q)*100).toFixed(0)}%`),D===ne&&(de=`#000 ${(Q*100).toFixed(0)}%`),D===oe&&(de=`#fff ${(Q*100).toFixed(0)}%`),`color-mix(in ${$}, ${j}, ${de})`}return D(j,Q)}if(Dl(l,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),l.mode==="light"){T(l.Alert,"errorColor",O(ne,l.error.light,.6)),T(l.Alert,"infoColor",O(ne,l.info.light,.6)),T(l.Alert,"successColor",O(ne,l.success.light,.6)),T(l.Alert,"warningColor",O(ne,l.warning.light,.6)),T(l.Alert,"errorFilledBg",R("palette-error-main")),T(l.Alert,"infoFilledBg",R("palette-info-main")),T(l.Alert,"successFilledBg",R("palette-success-main")),T(l.Alert,"warningFilledBg",R("palette-warning-main")),T(l.Alert,"errorFilledColor",Fe(()=>l.getContrastText(l.error.main))),T(l.Alert,"infoFilledColor",Fe(()=>l.getContrastText(l.info.main))),T(l.Alert,"successFilledColor",Fe(()=>l.getContrastText(l.success.main))),T(l.Alert,"warningFilledColor",Fe(()=>l.getContrastText(l.warning.main))),T(l.Alert,"errorStandardBg",O(oe,l.error.light,.9)),T(l.Alert,"infoStandardBg",O(oe,l.info.light,.9)),T(l.Alert,"successStandardBg",O(oe,l.success.light,.9)),T(l.Alert,"warningStandardBg",O(oe,l.warning.light,.9)),T(l.Alert,"errorIconColor",R("palette-error-main")),T(l.Alert,"infoIconColor",R("palette-info-main")),T(l.Alert,"successIconColor",R("palette-success-main")),T(l.Alert,"warningIconColor",R("palette-warning-main")),T(l.AppBar,"defaultBg",R("palette-grey-100")),T(l.Avatar,"defaultBg",R("palette-grey-400")),T(l.Button,"inheritContainedBg",R("palette-grey-300")),T(l.Button,"inheritContainedHoverBg",R("palette-grey-A100")),T(l.Chip,"defaultBorder",R("palette-grey-400")),T(l.Chip,"defaultAvatarColor",R("palette-grey-700")),T(l.Chip,"defaultIconColor",R("palette-grey-700")),T(l.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),T(l.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),T(l.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),T(l.LinearProgress,"primaryBg",O(oe,l.primary.main,.62)),T(l.LinearProgress,"secondaryBg",O(oe,l.secondary.main,.62)),T(l.LinearProgress,"errorBg",O(oe,l.error.main,.62)),T(l.LinearProgress,"infoBg",O(oe,l.info.main,.62)),T(l.LinearProgress,"successBg",O(oe,l.success.main,.62)),T(l.LinearProgress,"warningBg",O(oe,l.warning.main,.62)),T(l.Skeleton,"bg",$?O(at,l.text.primary,.11):`rgba(${R("palette-text-primaryChannel")} / 0.11)`),T(l.Slider,"primaryTrack",O(oe,l.primary.main,.62)),T(l.Slider,"secondaryTrack",O(oe,l.secondary.main,.62)),T(l.Slider,"errorTrack",O(oe,l.error.main,.62)),T(l.Slider,"infoTrack",O(oe,l.info.main,.62)),T(l.Slider,"successTrack",O(oe,l.success.main,.62)),T(l.Slider,"warningTrack",O(oe,l.warning.main,.62));const D=$?O(ne,l.background.default,.6825):ir(l.background.default,.8);T(l.SnackbarContent,"bg",D),T(l.SnackbarContent,"color",Fe(()=>$?$n.text.primary:l.getContrastText(D))),T(l.SpeedDialAction,"fabHoverBg",ir(l.background.paper,.15)),T(l.StepConnector,"border",R("palette-grey-400")),T(l.StepContent,"border",R("palette-grey-400")),T(l.Switch,"defaultColor",R("palette-common-white")),T(l.Switch,"defaultDisabledColor",R("palette-grey-100")),T(l.Switch,"primaryDisabledColor",O(oe,l.primary.main,.62)),T(l.Switch,"secondaryDisabledColor",O(oe,l.secondary.main,.62)),T(l.Switch,"errorDisabledColor",O(oe,l.error.main,.62)),T(l.Switch,"infoDisabledColor",O(oe,l.info.main,.62)),T(l.Switch,"successDisabledColor",O(oe,l.success.main,.62)),T(l.Switch,"warningDisabledColor",O(oe,l.warning.main,.62)),T(l.TableCell,"border",O(oe,O(at,l.divider,1),.88)),T(l.Tooltip,"bg",O(at,l.grey[700],.92))}if(l.mode==="dark"){T(l.Alert,"errorColor",O(oe,l.error.light,.6)),T(l.Alert,"infoColor",O(oe,l.info.light,.6)),T(l.Alert,"successColor",O(oe,l.success.light,.6)),T(l.Alert,"warningColor",O(oe,l.warning.light,.6)),T(l.Alert,"errorFilledBg",R("palette-error-dark")),T(l.Alert,"infoFilledBg",R("palette-info-dark")),T(l.Alert,"successFilledBg",R("palette-success-dark")),T(l.Alert,"warningFilledBg",R("palette-warning-dark")),T(l.Alert,"errorFilledColor",Fe(()=>l.getContrastText(l.error.dark))),T(l.Alert,"infoFilledColor",Fe(()=>l.getContrastText(l.info.dark))),T(l.Alert,"successFilledColor",Fe(()=>l.getContrastText(l.success.dark))),T(l.Alert,"warningFilledColor",Fe(()=>l.getContrastText(l.warning.dark))),T(l.Alert,"errorStandardBg",O(ne,l.error.light,.9)),T(l.Alert,"infoStandardBg",O(ne,l.info.light,.9)),T(l.Alert,"successStandardBg",O(ne,l.success.light,.9)),T(l.Alert,"warningStandardBg",O(ne,l.warning.light,.9)),T(l.Alert,"errorIconColor",R("palette-error-main")),T(l.Alert,"infoIconColor",R("palette-info-main")),T(l.Alert,"successIconColor",R("palette-success-main")),T(l.Alert,"warningIconColor",R("palette-warning-main")),T(l.AppBar,"defaultBg",R("palette-grey-900")),T(l.AppBar,"darkBg",R("palette-background-paper")),T(l.AppBar,"darkColor",R("palette-text-primary")),T(l.Avatar,"defaultBg",R("palette-grey-600")),T(l.Button,"inheritContainedBg",R("palette-grey-800")),T(l.Button,"inheritContainedHoverBg",R("palette-grey-700")),T(l.Chip,"defaultBorder",R("palette-grey-700")),T(l.Chip,"defaultAvatarColor",R("palette-grey-300")),T(l.Chip,"defaultIconColor",R("palette-grey-300")),T(l.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),T(l.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),T(l.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),T(l.LinearProgress,"primaryBg",O(ne,l.primary.main,.5)),T(l.LinearProgress,"secondaryBg",O(ne,l.secondary.main,.5)),T(l.LinearProgress,"errorBg",O(ne,l.error.main,.5)),T(l.LinearProgress,"infoBg",O(ne,l.info.main,.5)),T(l.LinearProgress,"successBg",O(ne,l.success.main,.5)),T(l.LinearProgress,"warningBg",O(ne,l.warning.main,.5)),T(l.Skeleton,"bg",$?O(at,l.text.primary,.13):`rgba(${R("palette-text-primaryChannel")} / 0.13)`),T(l.Slider,"primaryTrack",O(ne,l.primary.main,.5)),T(l.Slider,"secondaryTrack",O(ne,l.secondary.main,.5)),T(l.Slider,"errorTrack",O(ne,l.error.main,.5)),T(l.Slider,"infoTrack",O(ne,l.info.main,.5)),T(l.Slider,"successTrack",O(ne,l.success.main,.5)),T(l.Slider,"warningTrack",O(ne,l.warning.main,.5));const D=$?O(oe,l.background.default,.985):ir(l.background.default,.98);T(l.SnackbarContent,"bg",D),T(l.SnackbarContent,"color",Fe(()=>$?Hi.text.primary:l.getContrastText(D))),T(l.SpeedDialAction,"fabHoverBg",ir(l.background.paper,.15)),T(l.StepConnector,"border",R("palette-grey-600")),T(l.StepContent,"border",R("palette-grey-600")),T(l.Switch,"defaultColor",R("palette-grey-300")),T(l.Switch,"defaultDisabledColor",R("palette-grey-600")),T(l.Switch,"primaryDisabledColor",O(ne,l.primary.main,.55)),T(l.Switch,"secondaryDisabledColor",O(ne,l.secondary.main,.55)),T(l.Switch,"errorDisabledColor",O(ne,l.error.main,.55)),T(l.Switch,"infoDisabledColor",O(ne,l.info.main,.55)),T(l.Switch,"successDisabledColor",O(ne,l.success.main,.55)),T(l.Switch,"warningDisabledColor",O(ne,l.warning.main,.55)),T(l.TableCell,"border",O(ne,O(at,l.divider,1),.68)),T(l.Tooltip,"bg",O(at,l.grey[700],.92))}We(l.background,"default"),We(l.background,"paper"),We(l.common,"background"),We(l.common,"onBackground"),We(l,"divider"),Object.keys(l).forEach(D=>{const j=l[D];D!=="tonalOffset"&&j&&typeof j=="object"&&(j.main&&T(l[D],"mainChannel",Bt(jt(j.main))),j.light&&T(l[D],"lightChannel",Bt(jt(j.light))),j.dark&&T(l[D],"darkChannel",Bt(jt(j.dark))),j.contrastText&&T(l[D],"contrastTextChannel",Bt(jt(j.contrastText))),D==="text"&&(We(l[D],"primary"),We(l[D],"secondary")),D==="action"&&(j.active&&We(l[D],"active"),j.selected&&We(l[D],"selected")))})}),k=t.reduce((x,l)=>_e(x,l),k);const N={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:Ml(k),enableContrastVars:a},{vars:V,generateThemeVars:U,generateStyleSheets:u}=ol(k,N);return k.vars=V,Object.entries(k.colorSchemes[k.defaultColorScheme]).forEach(([x,l])=>{k[x]=l}),k.generateThemeVars=U,k.generateStyleSheets=u,k.generateSpacing=function(){return ji(m.spacing,jn(this))},k.getColorSchemeSelector=il(f),k.spacing=k.generateSpacing(),k.shouldSkipGeneratingVar=s,k.unstable_sxConfig={...Pr,...m==null?void 0:m.unstable_sxConfig},k.unstable_sx=function(l){return wt({sx:l,theme:this})},k.toRuntimeSource=Ki,k}function qo(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Kn({...r===!0?{}:r.palette,mode:t})})}function Vl(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...a}=e,s=i||"light",f=o==null?void 0:o[s],d={...o,...r?{[s]:{...typeof f!="boolean"&&f,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Cn(e,...t);let m=r;"palette"in e||d[s]&&(d[s]!==!0?m=d[s].palette:s==="dark"&&(m={mode:"dark"}));const p=Cn({...e,palette:m},...t);return p.defaultColorScheme=s,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},qo(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},qo(p,"light",d.light)),p}return!r&&!("light"in d)&&s==="light"&&(d.light=!0),Fl({...a,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...t)}const Ll=Vl(),zl="$$material";function Ul(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Wl=e=>Ul(e)&&e!=="classes",Yl=zc({themeId:zl,defaultTheme:Ll,rootShouldForwardProp:Wl}),Gl=el;process.env.NODE_ENV!=="production"&&(S.node,S.object.isRequired);function Hl(e){return Zc(e)}function ql(e){return Hn("MuiSvgIcon",e)}Bc("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Kl=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${ut(t)}`,`fontSize${ut(r)}`]};return Ua(o,ql,n)},Xl=Yl("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ut(r.color)}`],t[`fontSize${ut(r.fontSize)}`]]}})(Gl(({theme:e})=>{var t,r,n,o,i,a,s,f,d,m,p,h,v,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(n=(r=(e.vars??e).transitions)==null?void 0:r.duration)==null?void 0:n.shorter}),variants:[{props:c=>!c.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((f=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:f.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((m=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:m.call(d,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,c])=>c&&c.main).map(([c])=>{var y,E;return{props:{color:c},style:{color:(E=(y=(e.vars??e).palette)==null?void 0:y[c])==null?void 0:E.main}}}),{props:{color:"action"},style:{color:(h=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:h.active}},{props:{color:"disabled"},style:{color:(g=(v=(e.vars??e).palette)==null?void 0:v.action)==null?void 0:g.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),br=I.forwardRef(function(t,r){const n=Hl({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:f="medium",htmlColor:d,inheritViewBox:m=!1,titleAccess:p,viewBox:h="0 0 24 24",...v}=n,g=I.isValidElement(o)&&o.type==="svg",c={...n,color:a,component:s,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:h,hasSvgAsChild:g},y={};m||(y.viewBox=h);const E=Kl(c);return J.jsxs(Xl,{as:s,className:we(E.root,i),focusable:"false",color:d,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r,...y,...v,...g&&o.props,ownerState:c,children:[g?o.props.children:o,p?J.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(br.propTypes={children:S.node,classes:S.object,className:S.string,color:S.oneOfType([S.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),S.string]),component:S.elementType,fontSize:S.oneOfType([S.oneOf(["inherit","large","medium","small"]),S.string]),htmlColor:S.string,inheritViewBox:S.bool,shapeRendering:S.string,sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object]),titleAccess:S.string,viewBox:S.string});br.muiName="SvgIcon";function Jl(e,t){function r(n,o){return J.jsx(br,{"data-testid":process.env.NODE_ENV!=="production"?`${t}Icon`:void 0,ref:o,...n,children:e})}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=br.muiName,I.memo(I.forwardRef(r))}const Ql=Jl(J.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function Xn(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function Jn(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let f=0;f<i.length;f+=1){const d=i[f];d&&(a+=(s===!0?"":" ")+t(d),s=!1,r&&r[d]&&(a+=" "+r[d]))}n[o]=a}return n}function tt(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function Zl(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Qn(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}].`),Zl(e,t,r)}function eu(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)),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.`),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 rt(e){if(e.type)return e;if(e.charAt(0)==="#")return rt(eu(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
96
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:tt(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"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
97
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:tt(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const tu=e=>{const t=rt(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Ft=(e,t)=>{try{return tu(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Vr(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Qi(e){e=rt(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(d,m=(d+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let s="rgb";const f=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",f.push(t[3])),Vr({type:s,values:f})}function En(e){e=rt(e);let t=e.type==="hsl"||e.type==="hsla"?rt(Qi(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 Ko(e,t){const r=En(e),n=En(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Tn(e,t){return e=rt(e),t=Qn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Vr(e)}function ar(e,t,r){try{return Tn(e,t)}catch{return e}}function Zn(e,t){if(e=rt(e),t=Qn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Vr(e)}function ue(e,t,r){try{return Zn(e,t)}catch{return e}}function eo(e,t){if(e=rt(e),t=Qn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Vr(e)}function fe(e,t,r){try{return eo(e,t)}catch{return e}}function ru(e,t=.15){return En(e)>.5?Zn(e,t):eo(e,t)}function sr(e,t,r){try{return ru(e,t)}catch{return e}}const Xo=e=>e,nu=()=>{let e=Xo;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Xo}}},ou=nu();function Ae(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":tt(7));return e.charAt(0).toUpperCase()+e.slice(1)}var wn={exports:{}},se={};/**
|
|
98
|
-
* @license React
|
|
99
|
-
* react-is.production.js
|
|
100
|
-
*
|
|
101
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
102
|
-
*
|
|
103
|
-
* This source code is licensed under the MIT license found in the
|
|
104
|
-
* LICENSE file in the root directory of this source tree.
|
|
105
|
-
*/var Jo;function iu(){if(Jo)return se;Jo=1;var e=Symbol.for("react.transitional.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.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function g(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case e:switch(c=c.type,c){case r:case o:case n:case f:case d:case h:return c;default:switch(c=c&&c.$$typeof,c){case a:case s:case p:case m:return c;case i:return c;default:return y}}case t:return y}}}return se.ContextConsumer=i,se.ContextProvider=a,se.Element=e,se.ForwardRef=s,se.Fragment=r,se.Lazy=p,se.Memo=m,se.Portal=t,se.Profiler=o,se.StrictMode=n,se.Suspense=f,se.SuspenseList=d,se.isContextConsumer=function(c){return g(c)===i},se.isContextProvider=function(c){return g(c)===a},se.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},se.isForwardRef=function(c){return g(c)===s},se.isFragment=function(c){return g(c)===r},se.isLazy=function(c){return g(c)===p},se.isMemo=function(c){return g(c)===m},se.isPortal=function(c){return g(c)===t},se.isProfiler=function(c){return g(c)===o},se.isStrictMode=function(c){return g(c)===n},se.isSuspense=function(c){return g(c)===f},se.isSuspenseList=function(c){return g(c)===d},se.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===o||c===n||c===f||c===d||typeof c=="object"&&c!==null&&(c.$$typeof===p||c.$$typeof===m||c.$$typeof===a||c.$$typeof===i||c.$$typeof===s||c.$$typeof===v||c.getModuleId!==void 0)},se.typeOf=g,se}var ce={};/**
|
|
106
|
-
* @license React
|
|
107
|
-
* react-is.development.js
|
|
108
|
-
*
|
|
109
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
110
|
-
*
|
|
111
|
-
* This source code is licensed under the MIT license found in the
|
|
112
|
-
* LICENSE file in the root directory of this source tree.
|
|
113
|
-
*/var Qo;function au(){return Qo||(Qo=1,process.env.NODE_ENV!=="production"&&function(){function e(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case t:switch(c=c.type,c){case n:case i:case o:case d:case m:case v:return c;default:switch(c=c&&c.$$typeof,c){case s:case f:case h:case p:return c;case a:return c;default:return y}}case r:return y}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");ce.ContextConsumer=a,ce.ContextProvider=s,ce.Element=t,ce.ForwardRef=f,ce.Fragment=n,ce.Lazy=h,ce.Memo=p,ce.Portal=r,ce.Profiler=i,ce.StrictMode=o,ce.Suspense=d,ce.SuspenseList=m,ce.isContextConsumer=function(c){return e(c)===a},ce.isContextProvider=function(c){return e(c)===s},ce.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},ce.isForwardRef=function(c){return e(c)===f},ce.isFragment=function(c){return e(c)===n},ce.isLazy=function(c){return e(c)===h},ce.isMemo=function(c){return e(c)===p},ce.isPortal=function(c){return e(c)===r},ce.isProfiler=function(c){return e(c)===i},ce.isStrictMode=function(c){return e(c)===o},ce.isSuspense=function(c){return e(c)===d},ce.isSuspenseList=function(c){return e(c)===m},ce.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===i||c===o||c===d||c===m||typeof c=="object"&&c!==null&&(c.$$typeof===h||c.$$typeof===p||c.$$typeof===s||c.$$typeof===a||c.$$typeof===f||c.$$typeof===g||c.getModuleId!==void 0)},ce.typeOf=e}()),ce}process.env.NODE_ENV==="production"?wn.exports=iu():wn.exports=au();var vr=wn.exports;function qe(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 Zi(e){if(I.isValidElement(e)||vr.isValidElementType(e)||!qe(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Zi(e[r])}),t}function Pe(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return qe(e)&&qe(t)&&Object.keys(t).forEach(o=>{I.isValidElement(t[o])||vr.isValidElementType(t[o])?n[o]=t[o]:qe(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&qe(e[o])?n[o]=Pe(e[o],t[o],r):r.clone?n[o]=qe(t[o])?Zi(t[o]):t[o]:n[o]=t[o]}),n}function zt(e,t){return t?Pe(e,t,{clone:!1}):e}const ot=process.env.NODE_ENV!=="production"?S.oneOfType([S.number,S.string,S.object,S.array]):{};function su(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var a,s;const i=/min-width:\s*([0-9.]+)/;return+(((a=n.match(i))==null?void 0:a[1])||0)-+(((s=o.match(i))==null?void 0:s[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function cu(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function lu(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){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>\`.
|
|
114
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:tt(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function uu(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const f=t(e.breakpoints.not(...s),a);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Lr={xs:0,sm:600,md:900,lg:1200,xl:1536},Zo={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Lr[e]}px)`},fu={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Lr[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Xe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Zo;return t.reduce((a,s,f)=>(a[i.up(i.keys[f])]=r(t[f]),a),{})}if(typeof t=="object"){const i=n.breakpoints||Zo;return Object.keys(t).reduce((a,s)=>{if(cu(i.keys,s)){const f=lu(n.containerQueries?n:fu,s);f&&(a[f]=r(t[s],s))}else if(Object.keys(i.values||Lr).includes(s)){const f=i.up(s);a[f]=r(t[s],s)}else{const f=s;a[f]=t[f]}return a},{})}return r(t)}function du(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function pu(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function zr(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 Sr(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=zr(e,r)||n,t&&(o=t(o,n,e)),o}function Se(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],f=a.theme,d=zr(f,n)||{};return Xe(a,s,p=>{let h=Sr(d,o,p);return p===h&&typeof p=="string"&&(h=Sr(d,o,`${t}${p==="default"?"":Ae(p)}`,p)),r===!1?h:{[r]:h}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:ot}:{},i.filterProps=[t],i}function mu(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const hu={m:"margin",p:"padding"},gu={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ei={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},yu=mu(e=>{if(e.length>2)if(ei[e])e=ei[e];else return[e];const[t,r]=e.split(""),n=hu[t],o=gu[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Ur=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Wr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],bu=[...Ur,...Wr];function Jt(e,t,r,n){const o=zr(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const a=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>o.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${a} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
32
|
+
export default theme;`}function wa(e){return typeof e==`number`?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var Ta=e=>{if(!Number.isNaN(+e))return+e;let t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n};function Ea(e){Object.assign(e,{alpha(t,n){let r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof n==`string`?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,`var(--$1Channel)`)} / ${typeof n==`string`?`calc(${n})`:n})`:yi(t,Ta(n))},lighten(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${wa(n)})`:Si(t,n)},darken(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${wa(n)})`:xi(t,n)}})}function Da(e={},...t){let{breakpoints:n,mixins:r={},spacing:i,palette:a={},transitions:o={},typography:s={},shape:c,colorSpace:l,...u}=e;if(e.vars&&e.generateThemeVars===void 0)throw Error(process.env.NODE_ENV===`production`?w(22):"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.");let d=aa({...a,colorSpace:l}),f=Br(e),p=O(f,{mixins:sa(f.breakpoints,r),palette:d,shadows:ha.slice(),typography:da(d,s),transitions:ba(o),zIndex:{...xa}});if(p=O(p,u),p=t.reduce((e,t)=>O(e,t),p),process.env.NODE_ENV!==`production`){let e=[`active`,`checked`,`completed`,`disabled`,`error`,`expanded`,`focused`,`focusVisible`,`required`,`selected`],t=(t,n)=>{let r;for(r in t){let i=t[r];if(e.includes(r)&&Object.keys(i).length>0){if(process.env.NODE_ENV!==`production`){let e=Wr(``,r);console.error([`MUI: The \`${n}\` component increases the CSS specificity of the \`${r}\` internal state.`,`You can not override it like this: `,JSON.stringify(t,null,2),``,`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:i}},null,2),``,`https://mui.com/r/state-classes-guide`].join(`
|
|
33
|
+
`))}t[r]={}}}};Object.keys(p.components).forEach(e=>{let n=p.components[e].styleOverrides;n&&e.startsWith(`Mui`)&&t(n,e)})}return p.unstable_sxConfig={...Ct,...u?.unstable_sxConfig},p.unstable_sx=function(e){return Et({sx:e,theme:this})},p.toRuntimeSource=Ca,Ea(p),p}function Oa(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var ka=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=Oa(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Aa(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function ja(e){return e===`dark`?ka:[]}function Ma(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=aa({...t,colorSpace:i});return{palette:o,opacity:{...Aa(o.mode),...n},overlays:r||ja(o.mode),...a}}function Na(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]===`palette`&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var Pa=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],Fa=e=>(t,n)=>{let r=e.rootSelector||`:root`,i=e.colorSchemeSelector,a=i;if(i===`class`&&(a=`.%s`),i===`data`&&(a=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t===`dark`){let i={};return Pa(e.cssVarPrefix).forEach(e=>{i[e]=n[e],delete n[e]}),a===`media`?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace(`%s`,t)]:i,[`${r}, ${a.replace(`%s`,t)}`]:n}:{[r]:{...n,...i}}}if(a&&a!==`media`)return`${r}, ${a.replace(`%s`,String(t))}`}else if(t){if(a===`media`)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace(`%s`,String(t))}return r};function Ia(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function W(e,t,n){!e[t]&&n&&(e[t]=n)}function La(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:gi(e)}function Ra(e,t){`${t}Channel`in e||(e[`${t}Channel`]=mi(La(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
34
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function za(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var Ba=e=>{try{return e()}catch{}},Va=(e=`mui`)=>ji(e);function Ha(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=Ma({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=Da({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...Aa(a),...n?.opacity},overlays:n?.overlays||ja(a)},s}function Ua(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=Na,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...u}=e,d=Object.keys(n)[0],f=r||(n.light&&d!==`light`?`light`:d),p=Va(a),{[f]:m,light:h,dark:g,..._}=n,v={..._},y=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(y=!0),!y)throw Error(process.env.NODE_ENV===`production`?w(21,f):`MUI: The \`colorSchemes.${f}\` option is either missing or invalid.`);let b;o&&(b=`oklch`);let x=Ha(b,v,y,u,f);h&&!v.light&&Ha(b,v,h,void 0,`light`),g&&!v.dark&&Ha(b,v,g,void 0,`dark`);let S={defaultColorScheme:f,...x,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:v,font:{...oa(x.typography),...x.font},spacing:za(u.spacing)};Object.keys(S.colorSchemes).forEach(e=>{let t=S.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return p(e,t[r][i])};t.mode===`light`&&(W(t.common,`background`,`#fff`),W(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(W(t.common,`background`,`#000`),W(t.common,`onBackground`,`#fff`));function r(e,t,n){if(b){let r;return e===bi&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===B&&(r=`#000 ${(n*100).toFixed(0)}%`),e===V&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${r})`}return e(t,n)}if(Ia(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){W(t.Alert,`errorColor`,r(B,o?p(`palette-error-light`):t.error.light,.6)),W(t.Alert,`infoColor`,r(B,o?p(`palette-info-light`):t.info.light,.6)),W(t.Alert,`successColor`,r(B,o?p(`palette-success-light`):t.success.light,.6)),W(t.Alert,`warningColor`,r(B,o?p(`palette-warning-light`):t.warning.light,.6)),W(t.Alert,`errorFilledBg`,n(`palette-error-main`)),W(t.Alert,`infoFilledBg`,n(`palette-info-main`)),W(t.Alert,`successFilledBg`,n(`palette-success-main`)),W(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),W(t.Alert,`errorFilledColor`,Ba(()=>t.getContrastText(t.error.main))),W(t.Alert,`infoFilledColor`,Ba(()=>t.getContrastText(t.info.main))),W(t.Alert,`successFilledColor`,Ba(()=>t.getContrastText(t.success.main))),W(t.Alert,`warningFilledColor`,Ba(()=>t.getContrastText(t.warning.main))),W(t.Alert,`errorStandardBg`,r(V,o?p(`palette-error-light`):t.error.light,.9)),W(t.Alert,`infoStandardBg`,r(V,o?p(`palette-info-light`):t.info.light,.9)),W(t.Alert,`successStandardBg`,r(V,o?p(`palette-success-light`):t.success.light,.9)),W(t.Alert,`warningStandardBg`,r(V,o?p(`palette-warning-light`):t.warning.light,.9)),W(t.Alert,`errorIconColor`,n(`palette-error-main`)),W(t.Alert,`infoIconColor`,n(`palette-info-main`)),W(t.Alert,`successIconColor`,n(`palette-success-main`)),W(t.Alert,`warningIconColor`,n(`palette-warning-main`)),W(t.AppBar,`defaultBg`,n(`palette-grey-100`)),W(t.Avatar,`defaultBg`,n(`palette-grey-400`)),W(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),W(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),W(t.Chip,`defaultBorder`,n(`palette-grey-400`)),W(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),W(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),W(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),W(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),W(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),W(t.LinearProgress,`primaryBg`,r(V,o?p(`palette-primary-main`):t.primary.main,.62)),W(t.LinearProgress,`secondaryBg`,r(V,o?p(`palette-secondary-main`):t.secondary.main,.62)),W(t.LinearProgress,`errorBg`,r(V,o?p(`palette-error-main`):t.error.main,.62)),W(t.LinearProgress,`infoBg`,r(V,o?p(`palette-info-main`):t.info.main,.62)),W(t.LinearProgress,`successBg`,r(V,o?p(`palette-success-main`):t.success.main,.62)),W(t.LinearProgress,`warningBg`,r(V,o?p(`palette-warning-light`):t.warning.main,.62)),W(t.Skeleton,`bg`,b?r(bi,o?p(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),W(t.Slider,`primaryTrack`,r(V,o?p(`palette-primary-main`):t.primary.main,.62)),W(t.Slider,`secondaryTrack`,r(V,o?p(`palette-secondary-main`):t.secondary.main,.62)),W(t.Slider,`errorTrack`,r(V,o?p(`palette-error-main`):t.error.main,.62)),W(t.Slider,`infoTrack`,r(V,o?p(`palette-info-main`):t.info.main,.62)),W(t.Slider,`successTrack`,r(V,o?p(`palette-success-main`):t.success.main,.62)),W(t.Slider,`warningTrack`,r(V,o?p(`palette-warning-main`):t.warning.main,.62));let e=b?r(B,o?p(`palette-background-default`):t.background.default,.6825):wi(t.background.default,.8);W(t.SnackbarContent,`bg`,e),W(t.SnackbarContent,`color`,Ba(()=>b?Yi.text.primary:t.getContrastText(e))),W(t.SpeedDialAction,`fabHoverBg`,wi(t.background.paper,.15)),W(t.StepConnector,`border`,n(`palette-grey-400`)),W(t.StepContent,`border`,n(`palette-grey-400`)),W(t.Switch,`defaultColor`,n(`palette-common-white`)),W(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),W(t.Switch,`primaryDisabledColor`,r(V,o?p(`palette-primary-main`):t.primary.main,.62)),W(t.Switch,`secondaryDisabledColor`,r(V,o?p(`palette-secondary-main`):t.secondary.main,.62)),W(t.Switch,`errorDisabledColor`,r(V,o?p(`palette-error-main`):t.error.main,.62)),W(t.Switch,`infoDisabledColor`,r(V,o?p(`palette-info-main`):t.info.main,.62)),W(t.Switch,`successDisabledColor`,r(V,o?p(`palette-success-main`):t.success.main,.62)),W(t.Switch,`warningDisabledColor`,r(V,o?p(`palette-warning-main`):t.warning.main,.62)),W(t.TableCell,`border`,r(V,bi(o?p(`palette-divider`):t.divider,1),.88)),W(t.Tooltip,`bg`,r(bi,o?p(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){W(t.Alert,`errorColor`,r(V,o?p(`palette-error-light`):t.error.light,.6)),W(t.Alert,`infoColor`,r(V,o?p(`palette-info-light`):t.info.light,.6)),W(t.Alert,`successColor`,r(V,o?p(`palette-success-light`):t.success.light,.6)),W(t.Alert,`warningColor`,r(V,o?p(`palette-warning-light`):t.warning.light,.6)),W(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),W(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),W(t.Alert,`successFilledBg`,n(`palette-success-dark`)),W(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),W(t.Alert,`errorFilledColor`,Ba(()=>t.getContrastText(t.error.dark))),W(t.Alert,`infoFilledColor`,Ba(()=>t.getContrastText(t.info.dark))),W(t.Alert,`successFilledColor`,Ba(()=>t.getContrastText(t.success.dark))),W(t.Alert,`warningFilledColor`,Ba(()=>t.getContrastText(t.warning.dark))),W(t.Alert,`errorStandardBg`,r(B,o?p(`palette-error-light`):t.error.light,.9)),W(t.Alert,`infoStandardBg`,r(B,o?p(`palette-info-light`):t.info.light,.9)),W(t.Alert,`successStandardBg`,r(B,o?p(`palette-success-light`):t.success.light,.9)),W(t.Alert,`warningStandardBg`,r(B,o?p(`palette-warning-light`):t.warning.light,.9)),W(t.Alert,`errorIconColor`,n(`palette-error-main`)),W(t.Alert,`infoIconColor`,n(`palette-info-main`)),W(t.Alert,`successIconColor`,n(`palette-success-main`)),W(t.Alert,`warningIconColor`,n(`palette-warning-main`)),W(t.AppBar,`defaultBg`,n(`palette-grey-900`)),W(t.AppBar,`darkBg`,n(`palette-background-paper`)),W(t.AppBar,`darkColor`,n(`palette-text-primary`)),W(t.Avatar,`defaultBg`,n(`palette-grey-600`)),W(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),W(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),W(t.Chip,`defaultBorder`,n(`palette-grey-700`)),W(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),W(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),W(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),W(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),W(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),W(t.LinearProgress,`primaryBg`,r(B,o?p(`palette-primary-main`):t.primary.main,.5)),W(t.LinearProgress,`secondaryBg`,r(B,o?p(`palette-secondary-main`):t.secondary.main,.5)),W(t.LinearProgress,`errorBg`,r(B,o?p(`palette-error-main`):t.error.main,.5)),W(t.LinearProgress,`infoBg`,r(B,o?p(`palette-info-main`):t.info.main,.5)),W(t.LinearProgress,`successBg`,r(B,o?p(`palette-success-main`):t.success.main,.5)),W(t.LinearProgress,`warningBg`,r(B,o?p(`palette-warning-main`):t.warning.main,.5)),W(t.Skeleton,`bg`,b?r(bi,o?p(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),W(t.Slider,`primaryTrack`,r(B,o?p(`palette-primary-main`):t.primary.main,.5)),W(t.Slider,`secondaryTrack`,r(B,o?p(`palette-secondary-main`):t.secondary.main,.5)),W(t.Slider,`errorTrack`,r(B,o?p(`palette-error-main`):t.error.main,.5)),W(t.Slider,`infoTrack`,r(B,o?p(`palette-info-main`):t.info.main,.5)),W(t.Slider,`successTrack`,r(B,o?p(`palette-success-main`):t.success.main,.5)),W(t.Slider,`warningTrack`,r(B,o?p(`palette-warning-light`):t.warning.main,.5));let e=b?r(V,o?p(`palette-background-default`):t.background.default,.985):wi(t.background.default,.98);W(t.SnackbarContent,`bg`,e),W(t.SnackbarContent,`color`,Ba(()=>b?qi.text.primary:t.getContrastText(e))),W(t.SpeedDialAction,`fabHoverBg`,wi(t.background.paper,.15)),W(t.StepConnector,`border`,n(`palette-grey-600`)),W(t.StepContent,`border`,n(`palette-grey-600`)),W(t.Switch,`defaultColor`,n(`palette-grey-300`)),W(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),W(t.Switch,`primaryDisabledColor`,r(B,o?p(`palette-primary-main`):t.primary.main,.55)),W(t.Switch,`secondaryDisabledColor`,r(B,o?p(`palette-secondary-main`):t.secondary.main,.55)),W(t.Switch,`errorDisabledColor`,r(B,o?p(`palette-error-main`):t.error.main,.55)),W(t.Switch,`infoDisabledColor`,r(B,o?p(`palette-info-main`):t.info.main,.55)),W(t.Switch,`successDisabledColor`,r(B,o?p(`palette-success-main`):t.success.main,.55)),W(t.Switch,`warningDisabledColor`,r(B,o?p(`palette-warning-light`):t.warning.main,.55)),W(t.TableCell,`border`,r(B,bi(o?p(`palette-divider`):t.divider,1),.68)),W(t.Tooltip,`bg`,r(bi,o?p(`palette-grey-700`):t.grey[700],.92))}o||(Ra(t.background,`default`),Ra(t.background,`paper`),Ra(t.common,`background`),Ra(t.common,`onBackground`),Ra(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&W(t[e],`mainChannel`,mi(La(n.main))),n.light&&W(t[e],`lightChannel`,mi(La(n.light))),n.dark&&W(t[e],`darkChannel`,mi(La(n.dark))),n.contrastText&&W(t[e],`contrastTextChannel`,mi(La(n.contrastText))),e===`text`&&(Ra(t[e],`primary`),Ra(t[e],`secondary`)),e===`action`&&(n.active&&Ra(t[e],`active`),n.selected&&Ra(t[e],`selected`)))})}),S=t.reduce((e,t)=>O(e,t),S);let C={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:Fa(S),enableContrastVars:o},{vars:ee,generateThemeVars:te,generateStyleSheets:ne}=Ii(S,C);return S.vars=ee,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=te,S.generateStyleSheets=ne,S.generateSpacing=function(){return Rr(u.spacing,Ke(this))},S.getColorSchemeSelector=Li(c),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=s,S.unstable_sxConfig={...Ct,...u?.unstable_sxConfig},S.unstable_sx=function(e){return Et({sx:e,theme:this})},S.internal_cache={},S.toRuntimeSource=Ca,S}function Wa(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:aa({...n===!0?{}:n.palette,mode:t})})}function Ga(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return Da(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=Da({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},Wa(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},Wa(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Ua({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var Ka=Ga(),qa=`$$material`;function Ja(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var Ya=ri({themeId:qa,defaultTheme:Ka,rootShouldForwardProp:e=>Ja(e)&&e!==`classes`}),Xa=Ai;function Za(e){return(0,H.jsx)(Ei,{...e})}process.env.NODE_ENV!==`production`&&(Za.propTypes={children:D.default.node,value:D.default.object.isRequired});function Qa(e){return Oi(e)}function $a(e){return Wr(`MuiSvgIcon`,e)}Gr(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var eo=e=>{let{color:t,fontSize:n,classes:r}=e;return C({root:[`root`,t!==`inherit`&&`color${te(t)}`,`fontSize${te(n)}`]},$a,r)},to=Ya(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${te(n.color)}`],t[`fontSize${te(n.fontSize)}`]]}})(Xa(({theme:e})=>({userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,flexShrink:0,transition:e.transitions?.create?.(`fill`,{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:`currentColor`}},{props:{fontSize:`inherit`},style:{fontSize:`inherit`}},{props:{fontSize:`small`},style:{fontSize:e.typography?.pxToRem?.(20)||`1.25rem`}},{props:{fontSize:`medium`},style:{fontSize:e.typography?.pxToRem?.(24)||`1.5rem`}},{props:{fontSize:`large`},style:{fontSize:e.typography?.pxToRem?.(35)||`2.1875rem`}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:`action`},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:`disabled`},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:`inherit`},style:{color:void 0}}]}))),no=u.forwardRef(function(e,t){let n=Qa({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:l=!1,titleAccess:d,viewBox:f=`0 0 24 24`,...p}=n,m=u.isValidElement(r)&&r.type===`svg`,h={...n,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:l,viewBox:f,hasSvgAsChild:m},g={};return l||(g.viewBox=f),(0,H.jsxs)(to,{as:o,className:S(eo(h).root,i),focusable:`false`,color:c,"aria-hidden":d?void 0:!0,role:d?`img`:void 0,ref:t,...g,...p,...m&&r.props,ownerState:h,children:[m?r.props.children:r,d?(0,H.jsx)(`title`,{children:d}):null]})});process.env.NODE_ENV!==`production`&&(no.propTypes={children:D.default.node,classes:D.default.object,className:D.default.string,color:D.default.oneOfType([D.default.oneOf([`inherit`,`action`,`disabled`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),D.default.string]),component:D.default.elementType,fontSize:D.default.oneOfType([D.default.oneOf([`inherit`,`large`,`medium`,`small`]),D.default.string]),htmlColor:D.default.string,inheritViewBox:D.default.bool,shapeRendering:D.default.string,sx:D.default.oneOfType([D.default.arrayOf(D.default.oneOfType([D.default.func,D.default.object,D.default.bool])),D.default.func,D.default.object]),titleAccess:D.default.string,viewBox:D.default.string}),no.muiName=`SvgIcon`;function ro(e,t){function n(n,r){return(0,H.jsx)(no,{"data-testid":process.env.NODE_ENV===`production`?void 0:`${t}Icon`,ref:r,...n,children:e})}return process.env.NODE_ENV!==`production`&&(n.displayName=`${t}Icon`),n.muiName=no.muiName,u.memo(u.forwardRef(n))}var io=ro((0,H.jsx)(`path`,{d:`M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z`}),`Close`);function ao(e,t){return process.env.NODE_ENV===`production`?()=>null:function(...n){return e(...n)||t(...n)}}function oo(e,t,n=void 0){let r={};for(let i in e){let a=e[i],o=``,s=!0;for(let e=0;e<a.length;e+=1){let r=a[e];r&&(o+=(s===!0?``:` `)+t(r),s=!1,n&&n[r]&&(o+=` `+n[r]))}r[i]=o}return r}function so(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}function co(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function lo(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}].`),co(e,t,n)}function uo(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),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((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function fo(e){if(e.type)return e;if(e.charAt(0)===`#`)return fo(uo(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(process.env.NODE_ENV===`production`?so(9,e):`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`);let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=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(i))throw Error(process.env.NODE_ENV===`production`?so(10,i):`MUI: unsupported \`${i}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`)}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var po=e=>{let t=fo(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},mo=(e,t)=>{try{return po(e)}catch{return t&&process.env.NODE_ENV!==`production`&&console.warn(t),e}};function ho(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function go(e){e=fo(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),ho({type:s,values:c})}function _o(e){e=fo(e);let t=e.type===`hsl`||e.type===`hsla`?fo(go(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function vo(e,t){let n=_o(e),r=_o(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function yo(e,t){return e=fo(e),t=lo(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,ho(e)}function bo(e,t,n){try{return yo(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function xo(e,t){if(e=fo(e),t=lo(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 ho(e)}function G(e,t,n){try{return xo(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function So(e,t){if(e=fo(e),t=lo(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 ho(e)}function K(e,t,n){try{return So(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function Co(e,t=.15){return _o(e)>.5?xo(e,t):So(e,t)}function wo(e,t,n){try{return Co(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}var To=e=>e,Eo=(()=>{let e=To;return{configure(t){e=t},generate(t){return e(t)},reset(){e=To}}})();function Do(e){if(typeof e!=`string`)throw Error(process.env.NODE_ENV===`production`?so(7):"MUI: `capitalize(string)` expects a string argument.");return e.charAt(0).toUpperCase()+e.slice(1)}var Oo=Do,ko=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.suspense_list`),d=Symbol.for(`react.memo`),f=Symbol.for(`react.lazy`),p=Symbol.for(`react.view_transition`),m=Symbol.for(`react.client.reference`);function h(e){if(typeof e==`object`&&e){var m=e.$$typeof;switch(m){case t:switch(e=e.type,e){case r:case a:case i:case l:case u:case p:return e;default:switch(e&&=e.$$typeof,e){case s:case c:case f:case d:return e;case o:return e;default:return m}}case n:return m}}}e.ContextConsumer=o,e.ContextProvider=s,e.Element=t,e.ForwardRef=c,e.Fragment=r,e.Lazy=f,e.Memo=d,e.Portal=n,e.Profiler=a,e.StrictMode=i,e.Suspense=l,e.SuspenseList=u,e.isContextConsumer=function(e){return h(e)===o},e.isContextProvider=function(e){return h(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===t},e.isForwardRef=function(e){return h(e)===c},e.isFragment=function(e){return h(e)===r},e.isLazy=function(e){return h(e)===f},e.isMemo=function(e){return h(e)===d},e.isPortal=function(e){return h(e)===n},e.isProfiler=function(e){return h(e)===a},e.isStrictMode=function(e){return h(e)===i},e.isSuspense=function(e){return h(e)===l},e.isSuspenseList=function(e){return h(e)===u},e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===r||e===a||e===i||e===l||e===u||typeof e==`object`&&e&&(e.$$typeof===f||e.$$typeof===d||e.$$typeof===s||e.$$typeof===o||e.$$typeof===c||e.$$typeof===m||e.getModuleId!==void 0))},e.typeOf=h})),Ao=o((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case i:case o:case a:case u:case d:case m:return e;default:switch(e&&=e.$$typeof,e){case c:case l:case p:case f:return e;case s:return e;default:return t}}case r:return t}}}var n=Symbol.for(`react.transitional.element`),r=Symbol.for(`react.portal`),i=Symbol.for(`react.fragment`),a=Symbol.for(`react.strict_mode`),o=Symbol.for(`react.profiler`),s=Symbol.for(`react.consumer`),c=Symbol.for(`react.context`),l=Symbol.for(`react.forward_ref`),u=Symbol.for(`react.suspense`),d=Symbol.for(`react.suspense_list`),f=Symbol.for(`react.memo`),p=Symbol.for(`react.lazy`),m=Symbol.for(`react.view_transition`),h=Symbol.for(`react.client.reference`);e.ContextConsumer=s,e.ContextProvider=c,e.Element=n,e.ForwardRef=l,e.Fragment=i,e.Lazy=p,e.Memo=f,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=u,e.SuspenseList=d,e.isContextConsumer=function(e){return t(e)===s},e.isContextProvider=function(e){return t(e)===c},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return t(e)===l},e.isFragment=function(e){return t(e)===i},e.isLazy=function(e){return t(e)===p},e.isMemo=function(e){return t(e)===f},e.isPortal=function(e){return t(e)===r},e.isProfiler=function(e){return t(e)===o},e.isStrictMode=function(e){return t(e)===a},e.isSuspense=function(e){return t(e)===u},e.isSuspenseList=function(e){return t(e)===d},e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===i||e===o||e===a||e===u||e===d||typeof e==`object`&&e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===c||e.$$typeof===s||e.$$typeof===l||e.$$typeof===h||e.getModuleId!==void 0))},e.typeOf=t})()})),jo=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=ko():t.exports=Ao()}))();function Mo(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function No(e){if(u.isValidElement(e)||(0,jo.isValidElementType)(e)||!Mo(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=No(e[n])}),t}function q(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return Mo(e)&&Mo(t)&&Object.keys(t).forEach(i=>{u.isValidElement(t[i])||(0,jo.isValidElementType)(t[i])?r[i]=t[i]:Mo(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Mo(e[i])?r[i]=q(e[i],t[i],n):n.clone?r[i]=Mo(t[i])?No(t[i]):t[i]:r[i]=t[i]}),r}function Po(e,t){return t?q(e,t,{clone:!1}):e}var Fo=process.env.NODE_ENV===`production`?{}:D.default.oneOfType([D.default.number,D.default.string,D.default.object,D.default.array]);function Io(e,t){if(!e.containerQueries)return t;let n=Object.keys(t).filter(e=>e.startsWith(`@container`)).sort((e,t)=>{let n=/min-width:\s*([0-9.]+)/;return(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{let r=t[n];return delete e[n],e[n]=r,e},{...t}):t}function Lo(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function Ro(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!==`production`)throw Error(process.env.NODE_ENV===`production`?so(18,`(${t})`):`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\nFor example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);return null}let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function zo(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var Bo={xs:0,sm:600,md:900,lg:1200,xl:1536},Vo={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${Bo[e]}px)`},Ho={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:Bo[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Uo(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||Vo;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||Vo;return Object.keys(t).reduce((i,a)=>{if(Lo(e.keys,a)){let e=Ro(r.containerQueries?r:Ho,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||Bo).includes(a)){let r=e.up(a);i[r]=n(t[a],a)}else{let e=a;i[e]=t[e]}return i},{})}return n(t)}function Wo(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function Go(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function Ko(e,t,n=!0){if(!t||typeof t!=`string`)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(`.`).reduce((e,t)=>e&&e[t]?e[t]:null,e);if(n!=null)return n}return t.split(`.`).reduce((e,t)=>e&&e[t]!=null?e[t]:null,e)}function qo(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:Ko(e,n)||r,t&&(i=t(i,r,e)),i}function J(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=Ko(o,r)||{};return Uo(e,a,e=>{let r=qo(s,i,e);return e===r&&typeof e==`string`&&(r=qo(s,i,`${t}${e===`default`?``:Do(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes=process.env.NODE_ENV===`production`?{}:{[t]:Fo},a.filterProps=[t],a}function Jo(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var Yo={m:`margin`,p:`padding`},Xo={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Zo={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Qo=Jo(e=>{if(e.length>2)if(Zo[e])e=Zo[e];else return[e];let[t,n]=e.split(``),r=Yo[t],i=Xo[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),$o=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],es=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],ts=[...$o,...es];function ns(e,t,n,r){let i=Ko(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:(process.env.NODE_ENV!==`production`&&typeof e!=`number`&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e):Array.isArray(i)?e=>{if(typeof e==`string`)return e;let n=Math.abs(e);process.env.NODE_ENV!==`production`&&(Number.isInteger(n)?n>i.length-1&&console.error([`MUI: The value provided (${n}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${n} > ${i.length-1}, you need to add the missing values.`].join(`
|
|
115
35
|
`)):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(`
|
|
116
|
-
`)));
|
|
117
|
-
`)),()=>{})}function to(e){return Jt(e,"spacing",8,"spacing")}function Qt(e,t){return typeof t=="string"||t==null?t:e(t)}function vu(e,t){return r=>e.reduce((n,o)=>(n[o]=Qt(t,r),n),{})}function Su(e,t,r,n){if(!t.includes(r))return null;const o=yu(r),i=vu(o,n),a=e[r];return Xe(e,a,i)}function ea(e,t){const r=to(e.theme);return Object.keys(e).map(n=>Su(e,t,n,r)).reduce(zt,{})}function ye(e){return ea(e,Ur)}ye.propTypes=process.env.NODE_ENV!=="production"?Ur.reduce((e,t)=>(e[t]=ot,e),{}):{};ye.filterProps=Ur;function be(e){return ea(e,Wr)}be.propTypes=process.env.NODE_ENV!=="production"?Wr.reduce((e,t)=>(e[t]=ot,e),{}):{};be.filterProps=Wr;process.env.NODE_ENV!=="production"&&bu.reduce((e,t)=>(e[t]=ot,e),{});function Yr(...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]?zt(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 De(e){return typeof e!="number"?e:`${e}px solid`}function je(e,t){return Se({prop:e,themeKey:"borders",transform:t})}const $u=je("border",De),Cu=je("borderTop",De),Eu=je("borderRight",De),Tu=je("borderBottom",De),wu=je("borderLeft",De),xu=je("borderColor"),ku=je("borderTopColor"),Ou=je("borderRightColor"),_u=je("borderBottomColor"),Ru=je("borderLeftColor"),Au=je("outline",De),Pu=je("outlineColor"),Gr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Jt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Qt(t,n)});return Xe(e,e.borderRadius,r)}return null};Gr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:ot}:{};Gr.filterProps=["borderRadius"];Yr($u,Cu,Eu,Tu,wu,xu,ku,Ou,_u,Ru,Gr,Au,Pu);const Hr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Jt(e.theme,"spacing",8,"gap"),r=n=>({gap:Qt(t,n)});return Xe(e,e.gap,r)}return null};Hr.propTypes=process.env.NODE_ENV!=="production"?{gap:ot}:{};Hr.filterProps=["gap"];const qr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Jt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Qt(t,n)});return Xe(e,e.columnGap,r)}return null};qr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:ot}:{};qr.filterProps=["columnGap"];const Kr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Jt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Qt(t,n)});return Xe(e,e.rowGap,r)}return null};Kr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:ot}:{};Kr.filterProps=["rowGap"];const Nu=Se({prop:"gridColumn"}),Iu=Se({prop:"gridRow"}),Mu=Se({prop:"gridAutoFlow"}),Du=Se({prop:"gridAutoColumns"}),Bu=Se({prop:"gridAutoRows"}),ju=Se({prop:"gridTemplateColumns"}),Fu=Se({prop:"gridTemplateRows"}),Vu=Se({prop:"gridTemplateAreas"}),Lu=Se({prop:"gridArea"});Yr(Hr,qr,Kr,Nu,Iu,Mu,Du,Bu,ju,Fu,Vu,Lu);function Tt(e,t){return t==="grey"?t:e}const zu=Se({prop:"color",themeKey:"palette",transform:Tt}),Uu=Se({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Tt}),Wu=Se({prop:"backgroundColor",themeKey:"palette",transform:Tt});Yr(zu,Uu,Wu);function Oe(e){return e<=1&&e!==0?`${e*100}%`:e}const Yu=Se({prop:"width",transform:Oe}),ro=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,s,f;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||Lr[r];return n?((f=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:f.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Oe(r)}};return Xe(e,e.maxWidth,t)}return null};ro.filterProps=["maxWidth"];const Gu=Se({prop:"minWidth",transform:Oe}),Hu=Se({prop:"height",transform:Oe}),qu=Se({prop:"maxHeight",transform:Oe}),Ku=Se({prop:"minHeight",transform:Oe});Se({prop:"size",cssProperty:"width",transform:Oe});Se({prop:"size",cssProperty:"height",transform:Oe});const Xu=Se({prop:"boxSizing"});Yr(Yu,ro,Gu,Hu,qu,Ku,Xu);const Xr={border:{themeKey:"borders",transform:De},borderTop:{themeKey:"borders",transform:De},borderRight:{themeKey:"borders",transform:De},borderBottom:{themeKey:"borders",transform:De},borderLeft:{themeKey:"borders",transform:De},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:De},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Gr},color:{themeKey:"palette",transform:Tt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Tt},backgroundColor:{themeKey:"palette",transform:Tt},p:{style:be},pt:{style:be},pr:{style:be},pb:{style:be},pl:{style:be},px:{style:be},py:{style:be},padding:{style:be},paddingTop:{style:be},paddingRight:{style:be},paddingBottom:{style:be},paddingLeft:{style:be},paddingX:{style:be},paddingY:{style:be},paddingInline:{style:be},paddingInlineStart:{style:be},paddingInlineEnd:{style:be},paddingBlock:{style:be},paddingBlockStart:{style:be},paddingBlockEnd:{style:be},m:{style:ye},mt:{style:ye},mr:{style:ye},mb:{style:ye},ml:{style:ye},mx:{style:ye},my:{style:ye},margin:{style:ye},marginTop:{style:ye},marginRight:{style:ye},marginBottom:{style:ye},marginLeft:{style:ye},marginX:{style:ye},marginY:{style:ye},marginInline:{style:ye},marginInlineStart:{style:ye},marginInlineEnd:{style:ye},marginBlock:{style:ye},marginBlockStart:{style:ye},marginBlockEnd:{style:ye},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:Hr},rowGap:{style:Kr},columnGap:{style:qr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Oe},maxWidth:{style:ro},minWidth:{transform:Oe},height:{transform:Oe},maxHeight:{transform:Oe},minHeight:{transform:Oe},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 Ju(...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 Qu(e,t){return typeof e=="function"?e(t):e}function Zu(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:f=r,themeKey:d,transform:m,style:p}=s;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const h=zr(o,d)||{};return p?p(a):Xe(a,n,g=>{let c=Sr(h,m,g);return g===c&&typeof g=="string"&&(c=Sr(h,m,`${r}${g==="default"?"":Ae(g)}`,g)),f===!1?c:{[f]:c}})}function t(r){const{sx:n,theme:o={}}=r||{};if(!n)return null;const i=o.unstable_sxConfig??Xr;function a(s){let f=s;if(typeof s=="function")f=s(o);else if(typeof s!="object")return s;if(!f)return null;const d=du(o.breakpoints),m=Object.keys(d);let p=d;return Object.keys(f).forEach(h=>{const v=Qu(f[h],o);if(v!=null)if(typeof v=="object")if(i[h])p=zt(p,e(h,v,o,i));else{const g=Xe({theme:o},v,c=>({[h]:c}));Ju(g,v)?p[h]=t({sx:v,theme:o}):p=zt(p,g)}else p=zt(p,e(h,v,o,i))}),su(o,pu(m,p))}return Array.isArray(n)?n.map(a):a(n)}return t}const kt=Zu();kt.filterProps=["sx"];function xn(){return xn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xn.apply(null,arguments)}var ta=I.createContext(typeof HTMLElement<"u"?Ni({key:"css"}):null);ta.Provider;var ra=function(t){return X.forwardRef(function(r,n){var o=X.useContext(ta);return t(r,o,n)})},na=I.createContext({}),no={}.hasOwnProperty,kn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ef=function(t,r){var n={};for(var o in r)no.call(r,o)&&(n[o]=r[o]);return n[kn]=t,n},tf=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Dr(r,n,o),Gn(function(){return Yn(r,n,o)}),null},rf=ra(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[kn],i=[n],a="";typeof e.className=="string"?a=Wn(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var s=_t(i,void 0,I.useContext(na));a+=t.key+"-"+s.name;var f={};for(var d in e)no.call(e,d)&&d!=="css"&&d!==kn&&(f[d]=e[d]);return f.className=a,r&&(f.ref=r),I.createElement(I.Fragment,null,I.createElement(tf,{cache:t,serialized:s,isStringTag:typeof o=="string"}),I.createElement(o,f))}),nf=rf,ti=function(t,r){var n=arguments;if(r==null||!no.call(r,"css"))return I.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=nf,i[1]=ef(t,r);for(var a=2;a<o;a++)i[a]=n[a];return I.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(ti||(ti={}));function oo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return _t(t)}function Zt(){var e=oo.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var of=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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)-.*))$/,af=Un(function(e){return of.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),sf=af,cf=function(t){return t!=="theme"},ri=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?sf:cf},ni=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},lf=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Dr(r,n,o),Gn(function(){return Yn(r,n,o)}),null},uf=function e(t,r){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=ni(t,r,n),f=s||ri(o),d=!f("as");return function(){var m=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)p.push.apply(p,m);else{var h=m[0];p.push(h[0]);for(var v=m.length,g=1;g<v;g++)p.push(m[g],h[g])}var c=ra(function(y,E,P){var A=d&&y.as||o,$="",C=[],k=y;if(y.theme==null){k={};for(var N in y)k[N]=y[N];k.theme=I.useContext(na)}typeof y.className=="string"?$=Wn(E.registered,C,y.className):y.className!=null&&($=y.className+" ");var V=_t(p.concat(C),E.registered,k);$+=E.key+"-"+V.name,a!==void 0&&($+=" "+a);var U=d&&s===void 0?ri(A):f,u={};for(var x in y)d&&x==="as"||U(x)&&(u[x]=y[x]);return u.className=$,P&&(u.ref=P),I.createElement(I.Fragment,null,I.createElement(lf,{cache:E,serialized:V,isStringTag:typeof A=="string"}),I.createElement(A,u))});return c.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",c.defaultProps=t.defaultProps,c.__emotion_real=c,c.__emotion_base=o,c.__emotion_styles=p,c.__emotion_forwardProp=s,Object.defineProperty(c,"toString",{value:function(){return"."+a}}),c.withComponent=function(y,E){var P=e(y,xn({},r,E,{shouldForwardProp:ni(c,E,!0)}));return P.apply(void 0,p)},c}},ff=["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"],On=uf.bind(null);ff.forEach(function(e){On[e]=On(e)});/**
|
|
118
|
-
* @mui/styled-engine v7.1.1
|
|
119
|
-
|
|
120
|
-
* @license MIT
|
|
121
|
-
* This source code is licensed under the MIT license found in the
|
|
122
|
-
* LICENSE file in the root directory of this source tree.
|
|
123
|
-
*/function df(e,t){const r=On(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(`
|
|
124
|
-
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function pf(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const oi=[];function ii(e){return oi[0]=e,_t(oi)}const mf=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)=>({...r,[n.key]:n.val}),{})};function hf(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=mf(t),a=Object.keys(i);function s(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r})`}function f(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-n/100}${r})`}function d(h,v){const g=a.indexOf(v);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:v)-n/100}${r})`}function m(h){return a.indexOf(h)+1<a.length?d(h,a[a.indexOf(h)+1]):s(h)}function p(h){const v=a.indexOf(h);return v===0?s(a[1]):v===a.length-1?f(a[v]):d(h,a[a.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:f,between:d,only:m,not:p,unit:r,...o}}const gf={borderRadius:4};function oa(e=8,t=to({spacing:e})){if(e.mui)return e;const 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 yf(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function ia(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=hf(r),f=oa(o);let d=Pe({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:f,shape:{...gf,...i}},a);return d=uu(d),d.applyStyles=yf,d=t.reduce((m,p)=>Pe(m,p),d),d.unstable_sxConfig={...Xr,...a==null?void 0:a.unstable_sxConfig},d.unstable_sx=function(p){return kt({sx:p,theme:this})},d}const bf={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 er(e,t,r="Mui"){const n=bf[t];return n?`${r}-${n}`:`${ou.generate(e)}-${t}`}function Jr(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=er(e,o,r)}),n}function aa(e,t=""){return e.displayName||e.name||t}function ai(e,t,r){const n=aa(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function vf(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return aa(e,"Component");if(typeof e=="object")switch(e.$$typeof){case vr.ForwardRef:return ai(e,e.render,"ForwardRef");case vr.Memo:return ai(e,e.type,"memo");default:return}}}function sa(e){const{variants:t,...r}=e,n={variants:t,style:ii(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=ii(o.style))}),n}const Sf=ia();function un(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function $f(e){return e?(t,r)=>r[e]:null}function Cf(e,t,r){e.theme=xf(e.theme)?r:e.theme[t]||e.theme}function dr(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>dr(e,n));if(Array.isArray(r==null?void 0:r.variants)){let n;if(r.isProcessed)n=r.style;else{const{variants:o,...i}=r;n=i}return ca(e,r.variants,[n])}return r!=null&&r.isProcessed?r.style:r}function ca(e,t,r=[]){var o;let n;e:for(let i=0;i<t.length;i+=1){const a=t[i];if(typeof a.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!a.props(n))continue}else for(const s in a.props)if(e[s]!==a.props[s]&&((o=e.ownerState)==null?void 0:o[s])!==a.props[s])continue e;typeof a.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),r.push(a.style(n))):r.push(a.style)}return r}function Ef(e={}){const{themeId:t,defaultTheme:r=Sf,rootShouldForwardProp:n=un,slotShouldForwardProp:o=un}=e;function i(s){Cf(s,t,r)}return(s,f={})=>{pf(s,C=>C.filter(k=>k!==kt));const{name:d,slot:m,skipVariantsResolver:p,skipSx:h,overridesResolver:v=$f(la(m)),...g}=f,c=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,y=h||!1;let E=un;m==="Root"||m==="root"?E=n:m?E=o:kf(s)&&(E=void 0);const P=df(s,{shouldForwardProp:E,label:wf(d,m),...g}),A=C=>{if(C.__emotion_real===C)return C;if(typeof C=="function")return function(N){return dr(N,C)};if(qe(C)){const k=sa(C);return k.variants?function(V){return dr(V,k)}:k.style}return C},$=(...C)=>{const k=[],N=C.map(A),V=[];if(k.push(i),d&&v&&V.push(function(l){var j,Q;const O=(Q=(j=l.theme.components)==null?void 0:j[d])==null?void 0:Q.styleOverrides;if(!O)return null;const D={};for(const de in O)D[de]=dr(l,O[de]);return v(l,D)}),d&&!c&&V.push(function(l){var D,j;const R=l.theme,O=(j=(D=R==null?void 0:R.components)==null?void 0:D[d])==null?void 0:j.variants;return O?ca(l,O):null}),y||V.push(kt),Array.isArray(N[0])){const x=N.shift(),l=new Array(k.length).fill(""),R=new Array(V.length).fill("");let O;O=[...l,...x,...R],O.raw=[...l,...x.raw,...R],k.unshift(O)}const U=[...k,...N,...V],u=P(...U);return s.muiName&&(u.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(u.displayName=Tf(d,m,s)),u};return P.withConfig&&($.withConfig=P.withConfig),$}}function Tf(e,t,r){return e?`${e}${Ae(t||"")}`:`Styled(${vf(r)})`}function wf(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${la(t||"Root")}`),r}function xf(e){for(const t in e)return!1;return!0}function kf(e){return typeof e=="string"&&e.charCodeAt(0)>96}function la(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function _n(e,t){const r={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if(o==="components"||o==="slots")r[o]={...e[o],...r[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],a=t[o];if(!a)r[o]=i||{};else if(!i)r[o]=a;else{r[o]={...a};for(const s in i)if(Object.prototype.hasOwnProperty.call(i,s)){const f=s;r[o][f]=_n(i[f],a[f])}}}else r[o]===void 0&&(r[o]=e[o])}return r}const Of=typeof window<"u"?I.useLayoutEffect:I.useEffect,_f=I.createContext(void 0);process.env.NODE_ENV!=="production"&&(S.node,S.object);function Rf(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?_n(o.defaultProps,n):!o.styleOverrides&&!o.variants?_n(o,n):n}function Af({props:e,name:t}){const r=I.useContext(_f);return Rf({props:e,name:t,theme:{components:r}})}const si={theme:void 0};function Pf(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(si.theme=o.theme,i=sa(e(si)),t=i,r=o.theme),i}}function Nf(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const ci=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},If=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,f])=>{(!r||r&&!r([...i,s]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?n(f,[...i,s],Array.isArray(f)?[...a,s]:a):t([...i,s],f,a))})}n(e)},Mf=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function fn(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return If(e,(s,f,d)=>{if((typeof f=="string"||typeof f=="number")&&(!n||!n(s,f))){const m=`--${r?`${r}-`:""}${s.join("-")}`,p=Mf(s,f);Object.assign(o,{[m]:p}),ci(i,s,`var(${m})`,d),ci(a,s,`var(${m}, ${p})`,d)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function Df(e,t={}){const{getSelector:r=y,disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...f}=e,{vars:d,css:m,varsWithDefaults:p}=fn(f,t);let h=p;const v={},{[s]:g,...c}=i;if(Object.entries(c||{}).forEach(([A,$])=>{const{vars:C,css:k,varsWithDefaults:N}=fn($,t);h=Pe(h,N),v[A]={css:k,vars:C}}),g){const{css:A,vars:$,varsWithDefaults:C}=fn(g,t);h=Pe(h,C),v[s]={css:A,vars:$}}function y(A,$){var k,N;let C=o;if(o==="class"&&(C=".%s"),o==="data"&&(C="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(C=`[${o}="%s"]`),A){if(C==="media")return e.defaultColorScheme===A?":root":{[`@media (prefers-color-scheme: ${((N=(k=i[A])==null?void 0:k.palette)==null?void 0:N.mode)||A})`]:{":root":$}};if(C)return e.defaultColorScheme===A?`:root, ${C.replace("%s",String(A))}`:C.replace("%s",String(A))}return":root"}return{vars:h,generateThemeVars:()=>{let A={...d};return Object.entries(v).forEach(([,{vars:$}])=>{A=Pe(A,$)}),A},generateStyleSheets:()=>{var V,U;const A=[],$=e.defaultColorScheme||"light";function C(u,x){Object.keys(x).length&&A.push(typeof u=="string"?{[u]:{...x}}:u)}C(r(void 0,{...m}),m);const{[$]:k,...N}=v;if(k){const{css:u}=k,x=(U=(V=i[$])==null?void 0:V.palette)==null?void 0:U.mode,l=!n&&x?{colorScheme:x,...u}:{...u};C(r($,{...l}),l)}return Object.entries(N).forEach(([u,{css:x}])=>{var O,D;const l=(D=(O=i[u])==null?void 0:O.palette)==null?void 0:D.mode,R=!n&&l?{colorScheme:l,...x}:{...x};C(r(u,{...R}),R)}),A}}}function Bf(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const Ht={black:"#000",white:"#fff"},jf={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"},gt={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},yt={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Dt={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},bt={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},vt={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},St={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function ua(){return{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}}}const Ff=ua();function fa(){return{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}}}const li=fa();function ui(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=eo(e.main,o):t==="dark"&&(e.dark=Zn(e.main,i)))}function Vf(e="light"){return e==="dark"?{main:bt[200],light:bt[50],dark:bt[400]}:{main:bt[700],light:bt[400],dark:bt[800]}}function Lf(e="light"){return e==="dark"?{main:gt[200],light:gt[50],dark:gt[400]}:{main:gt[500],light:gt[300],dark:gt[700]}}function zf(e="light"){return e==="dark"?{main:yt[500],light:yt[300],dark:yt[700]}:{main:yt[700],light:yt[400],dark:yt[800]}}function Uf(e="light"){return e==="dark"?{main:vt[400],light:vt[300],dark:vt[700]}:{main:vt[700],light:vt[500],dark:vt[900]}}function Wf(e="light"){return e==="dark"?{main:St[400],light:St[300],dark:St[700]}:{main:St[800],light:St[500],dark:St[900]}}function Yf(e="light"){return e==="dark"?{main:Dt[400],light:Dt[300],dark:Dt[700]}:{main:"#ed6c02",light:Dt[500],dark:Dt[900]}}function io(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,i=e.primary||Vf(t),a=e.secondary||Lf(t),s=e.error||zf(t),f=e.info||Uf(t),d=e.success||Wf(t),m=e.warning||Yf(t);function p(c){const y=Ko(c,li.text.primary)>=r?li.text.primary:Ff.text.primary;if(process.env.NODE_ENV!=="production"){const E=Ko(c,y);E<3&&console.error([`MUI: The contrast ratio of ${E}:1 for ${y} on ${c}`,"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(`
|
|
125
|
-
`))}return y}const h=({color:c,name:y,mainShade:E=500,lightShade:P=300,darkShade:A=700})=>{if(c={...c},!c.main&&c[E]&&(c.main=c[E]),!c.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
126
|
-
The color object needs to have a \`main\` property or a \`${E}\` property.`:tt(11,y?` (${y})`:"",E));if(typeof c.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
127
|
-
\`color.main\` should be a string, but \`${JSON.stringify(c.main)}\` was provided instead.
|
|
128
|
-
|
|
36
|
+
`)));let r=i[n];return e>=0?r:typeof r==`number`?-r:typeof r==`string`&&r.startsWith(`var(`)?`calc(-1 * ${r})`:`-${r}`}: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(`
|
|
37
|
+
`)),()=>void 0)}function rs(e){return ns(e,`spacing`,8,`spacing`)}function is(e,t){return typeof t==`string`||t==null?t:e(t)}function as(e,t){return n=>e.reduce((e,r)=>(e[r]=is(t,n),e),{})}function os(e,t,n,r){if(!t.includes(n))return null;let i=as(Qo(n),r),a=e[n];return Uo(e,a,i)}function ss(e,t){let n=rs(e.theme);return Object.keys(e).map(r=>os(e,t,r,n)).reduce(Po,{})}function Y(e){return ss(e,$o)}Y.propTypes=process.env.NODE_ENV===`production`?{}:$o.reduce((e,t)=>(e[t]=Fo,e),{}),Y.filterProps=$o;function X(e){return ss(e,es)}X.propTypes=process.env.NODE_ENV===`production`?{}:es.reduce((e,t)=>(e[t]=Fo,e),{}),X.filterProps=es;function cs(e){return ss(e,ts)}cs.propTypes=process.env.NODE_ENV===`production`?{}:ts.reduce((e,t)=>(e[t]=Fo,e),{}),cs.filterProps=ts;function ls(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?Po(n,t[r](e)):n,{});return n.propTypes=process.env.NODE_ENV===`production`?{}:e.reduce((e,t)=>Object.assign(e,t.propTypes),{}),n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function us(e){return typeof e==`number`?`${e}px solid`:e}function ds(e,t){return J({prop:e,themeKey:`borders`,transform:t})}var fs=ds(`border`,us),ps=ds(`borderTop`,us),ms=ds(`borderRight`,us),hs=ds(`borderBottom`,us),gs=ds(`borderLeft`,us),_s=ds(`borderColor`),vs=ds(`borderTopColor`),ys=ds(`borderRightColor`),bs=ds(`borderBottomColor`),xs=ds(`borderLeftColor`),Ss=ds(`outline`,us),Cs=ds(`outlineColor`),ws=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=ns(e.theme,`shape.borderRadius`,4,`borderRadius`);return Uo(e,e.borderRadius,e=>({borderRadius:is(t,e)}))}return null};ws.propTypes=process.env.NODE_ENV===`production`?{}:{borderRadius:Fo},ws.filterProps=[`borderRadius`],ls(fs,ps,ms,hs,gs,_s,vs,ys,bs,xs,ws,Ss,Cs);var Ts=e=>{if(e.gap!==void 0&&e.gap!==null){let t=ns(e.theme,`spacing`,8,`gap`);return Uo(e,e.gap,e=>({gap:is(t,e)}))}return null};Ts.propTypes=process.env.NODE_ENV===`production`?{}:{gap:Fo},Ts.filterProps=[`gap`];var Es=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=ns(e.theme,`spacing`,8,`columnGap`);return Uo(e,e.columnGap,e=>({columnGap:is(t,e)}))}return null};Es.propTypes=process.env.NODE_ENV===`production`?{}:{columnGap:Fo},Es.filterProps=[`columnGap`];var Ds=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=ns(e.theme,`spacing`,8,`rowGap`);return Uo(e,e.rowGap,e=>({rowGap:is(t,e)}))}return null};Ds.propTypes=process.env.NODE_ENV===`production`?{}:{rowGap:Fo},Ds.filterProps=[`rowGap`],ls(Ts,Es,Ds,J({prop:`gridColumn`}),J({prop:`gridRow`}),J({prop:`gridAutoFlow`}),J({prop:`gridAutoColumns`}),J({prop:`gridAutoRows`}),J({prop:`gridTemplateColumns`}),J({prop:`gridTemplateRows`}),J({prop:`gridTemplateAreas`}),J({prop:`gridArea`}));function Os(e,t){return t===`grey`?t:e}ls(J({prop:`color`,themeKey:`palette`,transform:Os}),J({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:Os}),J({prop:`backgroundColor`,themeKey:`palette`,transform:Os}));function Z(e){return e<=1&&e!==0?`${e*100}%`:e}var ks=J({prop:`width`,transform:Z}),As=e=>e.maxWidth!==void 0&&e.maxWidth!==null?Uo(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||Bo[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:Z(t)}}):null;As.filterProps=[`maxWidth`];var js=J({prop:`minWidth`,transform:Z}),Ms=J({prop:`height`,transform:Z}),Ns=J({prop:`maxHeight`,transform:Z}),Ps=J({prop:`minHeight`,transform:Z});J({prop:`size`,cssProperty:`width`,transform:Z}),J({prop:`size`,cssProperty:`height`,transform:Z}),ls(ks,As,js,Ms,Ns,Ps,J({prop:`boxSizing`}));var Fs={border:{themeKey:`borders`,transform:us},borderTop:{themeKey:`borders`,transform:us},borderRight:{themeKey:`borders`,transform:us},borderBottom:{themeKey:`borders`,transform:us},borderLeft:{themeKey:`borders`,transform:us},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:us},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:ws},color:{themeKey:`palette`,transform:Os},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:Os},backgroundColor:{themeKey:`palette`,transform:Os},p:{style:X},pt:{style:X},pr:{style:X},pb:{style:X},pl:{style:X},px:{style:X},py:{style:X},padding:{style:X},paddingTop:{style:X},paddingRight:{style:X},paddingBottom:{style:X},paddingLeft:{style:X},paddingX:{style:X},paddingY:{style:X},paddingInline:{style:X},paddingInlineStart:{style:X},paddingInlineEnd:{style:X},paddingBlock:{style:X},paddingBlockStart:{style:X},paddingBlockEnd:{style:X},m:{style:Y},mt:{style:Y},mr:{style:Y},mb:{style:Y},ml:{style:Y},mx:{style:Y},my:{style:Y},margin:{style:Y},marginTop:{style:Y},marginRight:{style:Y},marginBottom:{style:Y},marginLeft:{style:Y},marginX:{style:Y},marginY:{style:Y},marginInline:{style:Y},marginInlineStart:{style:Y},marginInlineEnd:{style:Y},marginBlock:{style:Y},marginBlockStart:{style:Y},marginBlockEnd:{style:Y},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:Ts},rowGap:{style:Ds},columnGap:{style:Es},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:Z},maxWidth:{style:As},minWidth:{transform:Z},height:{transform:Z},maxHeight:{transform:Z},minHeight:{transform:Z},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 Is(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function Ls(e,t){return typeof e==`function`?e(t):e}function Rs(){function e(e,t,n,r){let i={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};let{cssProperty:o=e,themeKey:s,transform:c,style:l}=a;if(t==null)return null;if(s===`typography`&&t===`inherit`)return{[e]:t};let u=Ko(n,s)||{};return l?l(i):Uo(i,t,t=>{let n=qo(u,c,t);return t===n&&typeof t==`string`&&(n=qo(u,c,`${e}${t===`default`?``:Do(t)}`,t)),o===!1?n:{[o]:n}})}function t(n){let{sx:r,theme:i={}}=n||{};if(!r)return null;let a=i.unstable_sxConfig??Fs;function o(n){let r=n;if(typeof n==`function`)r=n(i);else if(typeof n!=`object`)return n;if(!r)return null;let o=Wo(i.breakpoints),s=Object.keys(o),c=o;return Object.keys(r).forEach(n=>{let o=Ls(r[n],i);if(o!=null)if(typeof o==`object`)if(a[n])c=Po(c,e(n,o,i,a));else{let e=Uo({theme:i},o,e=>({[n]:e}));Is(e,o)?c[n]=t({sx:o,theme:i}):c=Po(c,e)}else c=Po(c,e(n,o,i,a))}),Io(i,Go(s,c))}return Array.isArray(r)?r.map(o):o(r)}return t}var zs=Rs();zs.filterProps=[`sx`];function Bs(e,t){let n=kr(e,t);return process.env.NODE_ENV===`production`?n:(...t)=>{let r=typeof e==`string`?`"${e}"`:`component`;return t.length===0?console.error([`MUI: Seems like you called \`styled(${r})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
38
|
+
`)):t.some(e=>e===void 0)&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}}function Vs(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Hs=[];function Us(e){return Hs[0]=e,ir(Hs)}var Ws=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function Gs(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Ws(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,...i}}var Ks={borderRadius:4};function qs(e=8,t=rs({spacing:e})){if(e.mui)return e;let n=(...e)=>(process.env.NODE_ENV!==`production`&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `));return n.mui=!0,n}function Js(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function Ys(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Gs(n),c=qs(i),l=q({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Ks,...a}},o);return l=zo(l),l.applyStyles=Js,l=t.reduce((e,t)=>q(e,t),l),l.unstable_sxConfig={...Fs,...o?.unstable_sxConfig},l.unstable_sx=function(e){return zs({sx:e,theme:this})},l}var Xs={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 Zs(e,t,n=`Mui`){let r=Xs[t];return r?`${n}-${r}`:`${Eo.generate(e)}-${t}`}function Qs(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Zs(e,t,n)}),r}function $s(e,t=``){return e.displayName||e.name||t}function ec(e,t,n){let r=$s(t);return e.displayName||(r===``?n:`${n}(${r})`)}function tc(e){if(e!=null){if(typeof e==`string`)return e;if(typeof e==`function`)return $s(e,`Component`);if(typeof e==`object`)switch(e.$$typeof){case jo.ForwardRef:return ec(e,e.render,`ForwardRef`);case jo.Memo:return ec(e,e.type,`memo`);default:return}}}function nc(e){let{variants:t,...n}=e,r={variants:t,style:Us(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Us(e.style))}),r}var rc=Ys();function ic(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function ac(e){return e?(t,n)=>n[e]:null}function oc(e,t,n){e.theme=fc(e.theme)?n:e.theme[t]||e.theme}function sc(e,t){let n=typeof t==`function`?t(e):t;if(Array.isArray(n))return n.flatMap(t=>sc(e,t));if(Array.isArray(n?.variants)){let t;if(n.isProcessed)t=n.style;else{let{variants:e,...r}=n;t=r}return cc(e,n.variants,[t])}return n?.isProcessed?n.style:n}function cc(e,t,n=[]){let r;variantLoop:for(let i=0;i<t.length;i+=1){let a=t[i];if(typeof a.props==`function`){if(r??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(r))continue}else for(let t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue variantLoop;typeof a.style==`function`?(r??={...e,...e.ownerState,ownerState:e.ownerState},n.push(a.style(r))):n.push(a.style)}return n}function lc(e={}){let{themeId:t,defaultTheme:n=rc,rootShouldForwardProp:r=ic,slotShouldForwardProp:i=ic}=e;function a(e){oc(e,t,n)}return(e,t={})=>{Vs(e,e=>e.filter(e=>e!==zs));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=ac(mc(o)),...u}=t,d=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,f=c||!1,p=ic;o===`Root`||o===`root`?p=r:o?p=i:pc(e)&&(p=void 0);let m=Bs(e,{shouldForwardProp:p,label:dc(n,o),...u}),h=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return sc(t,e)};if(Mo(e)){let t=nc(e);return t.variants?function(e){return sc(e,t)}:t.style}return e},g=(...t)=>{let r=[],i=t.map(h),s=[];if(r.push(a),n&&l&&s.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=sc(e,t[n]);return l(e,r)}),n&&!d&&s.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?cc(e,t):null}),f||s.push(zs),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(s.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let c=m(...r,...i,...s);return e.muiName&&(c.muiName=e.muiName),process.env.NODE_ENV!==`production`&&(c.displayName=uc(n,o,e)),c};return m.withConfig&&(g.withConfig=m.withConfig),g}}function uc(e,t,n){return e?`${e}${Do(t||``)}`:`Styled(${tc(n)})`}function dc(e,t){let n;return process.env.NODE_ENV!==`production`&&e&&(n=`${e}-${mc(t||`Root`)}`),n}function fc(e){for(let t in e)return!1;return!0}function pc(e){return typeof e==`string`&&e.charCodeAt(0)>96}function mc(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function hc(e,t){let n={...t};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=r;if(i===`components`||i===`slots`)n[i]={...e[i],...n[i]};else if(i===`componentsProps`||i===`slotProps`){let r=e[i],a=t[i];if(!a)n[i]=r||{};else if(!r)n[i]=a;else{n[i]={...a};for(let e in r)if(Object.prototype.hasOwnProperty.call(r,e)){let t=e;n[i][t]=hc(r[t],a[t])}}}else n[i]===void 0&&(n[i]=e[i])}return n}var gc=typeof window<`u`?u.useLayoutEffect:u.useEffect,_c=u.createContext(void 0);function vc({value:e,children:t}){return(0,H.jsx)(_c.Provider,{value:e,children:t})}process.env.NODE_ENV!==`production`&&(vc.propTypes={children:D.default.node,value:D.default.object});function yc(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?hc(i.defaultProps,r):!i.styleOverrides&&!i.variants?hc(i,r):r}function bc({props:e,name:t}){return yc({props:e,name:t,theme:{components:u.useContext(_c)}})}var xc={theme:void 0};function Sc(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(xc.theme=r.theme,i=nc(e(xc)),t=i,n=r.theme),i}}function Cc(e=``){function t(...n){if(!n.length)return``;let r=n[0];return typeof r==`string`&&!r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:``}${r}${t(...n.slice(1))})`:`, ${r}`}return(n,...r)=>`var(--${e?`${e}-`:``}${n}${t(...r)})`}var wc=(e,t,n,r=[])=>{let i=e;t.forEach((e,a)=>{a===t.length-1?Array.isArray(i)?i[Number(e)]=n:i&&typeof i==`object`&&(i[e]=n):i&&typeof i==`object`&&(i[e]||(i[e]=r.includes(e)?[]:{}),i=i[e])})},Tc=(e,t,n)=>{function r(e,i=[],a=[]){Object.entries(e).forEach(([e,o])=>{(!n||n&&!n([...i,e]))&&o!=null&&(typeof o==`object`&&Object.keys(o).length>0?r(o,[...i,e],Array.isArray(o)?[...a,e]:a):t([...i,e],o,a))})}r(e)},Ec=(e,t)=>typeof t==`number`?[`lineHeight`,`fontWeight`,`opacity`,`zIndex`].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes(`opacity`)?t:`${t}px`:t;function Dc(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return Tc(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=Ec(e,t);Object.assign(i,{[r]:c}),wc(a,e,`var(${r})`,s),wc(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function Oc(e,t={}){let{getSelector:n=g,disableCssColorScheme:r,colorSchemeSelector:i}=t,{colorSchemes:a={},components:o,defaultColorScheme:s=`light`,...c}=e,{vars:l,css:u,varsWithDefaults:d}=Dc(c,t),f=d,p={},{[s]:m,...h}=a;if(Object.entries(h||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=Dc(n,t);f=q(f,a),p[e]={css:i,vars:r}}),m){let{css:e,vars:n,varsWithDefaults:r}=Dc(m,t);f=q(f,r),p[s]={css:e,vars:n}}function g(t,n){let r=i;if(i===`class`&&(r=`.%s`),i===`data`&&(r=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(r=`[${i}="%s"]`),t){if(r===`media`)return e.defaultColorScheme===t?`:root`:{[`@media (prefers-color-scheme: ${a[t]?.palette?.mode||t})`]:{":root":n}};if(r)return e.defaultColorScheme===t?`:root, ${r.replace(`%s`,String(t))}`:r.replace(`%s`,String(t))}return`:root`}return{vars:f,generateThemeVars:()=>{let e={...l};return Object.entries(p).forEach(([,{vars:t}])=>{e=q(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||`light`;function o(e,n){Object.keys(n).length&&t.push(typeof e==`string`?{[e]:{...n}}:e)}o(n(void 0,{...u}),u);let{[i]:s,...c}=p;if(s){let{css:e}=s,t=a[i]?.palette?.mode,c=!r&&t?{colorScheme:t,...e}:{...e};o(n(i,{...c}),c)}return Object.entries(c).forEach(([e,{css:t}])=>{let i=a[e]?.palette?.mode,s=!r&&i?{colorScheme:i,...t}:{...t};o(n(e,{...s}),s)}),t}}}function kc(e){return function(t){return e===`media`?(process.env.NODE_ENV!==`production`&&t!==`light`&&t!==`dark`&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`),`@media (prefers-color-scheme: ${t})`):e?e.startsWith(`data-`)&&!e.includes(`%s`)?`[${e}="${t}"] &`:e===`class`?`.${t} &`:e===`data`?`[data-${t}] &`:`${e.replace(`%s`,t)} &`:`&`}}var Ac={black:`#000`,white:`#fff`},jc={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`},Mc={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`},Nc={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`},Pc={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`},Fc={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`},Ic={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`},Lc={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`};function Rc(){return{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:Ac.white,default:Ac.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}}}var zc=Rc();function Bc(){return{text:{primary:Ac.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:Ac.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}}}var Vc=Bc();function Hc(e,t,n,r){let i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t===`light`?e.light=So(e.main,i):t===`dark`&&(e.dark=xo(e.main,a)))}function Uc(e=`light`){return e===`dark`?{main:Fc[200],light:Fc[50],dark:Fc[400]}:{main:Fc[700],light:Fc[400],dark:Fc[800]}}function Wc(e=`light`){return e===`dark`?{main:Mc[200],light:Mc[50],dark:Mc[400]}:{main:Mc[500],light:Mc[300],dark:Mc[700]}}function Gc(e=`light`){return e===`dark`?{main:Nc[500],light:Nc[300],dark:Nc[700]}:{main:Nc[700],light:Nc[400],dark:Nc[800]}}function Kc(e=`light`){return e===`dark`?{main:Ic[400],light:Ic[300],dark:Ic[700]}:{main:Ic[700],light:Ic[500],dark:Ic[900]}}function qc(e=`light`){return e===`dark`?{main:Lc[400],light:Lc[300],dark:Lc[700]}:{main:Lc[800],light:Lc[500],dark:Lc[900]}}function Jc(e=`light`){return e===`dark`?{main:Pc[400],light:Pc[300],dark:Pc[700]}:{main:`#ed6c02`,light:Pc[500],dark:Pc[900]}}function Yc(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,...i}=e,a=e.primary||Uc(t),o=e.secondary||Wc(t),s=e.error||Gc(t),c=e.info||Kc(t),l=e.success||qc(t),u=e.warning||Jc(t);function d(e){let t=vo(e,Vc.text.primary)>=n?Vc.text.primary:zc.text.primary;if(process.env.NODE_ENV!==`production`){let n=vo(e,t);n<3&&console.error([`MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,`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(`
|
|
39
|
+
`))}return t}let f=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:a=700})=>{if(e={...e},!e.main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty(`main`))throw Error(process.env.NODE_ENV===`production`?so(11,t?` (${t})`:``,n):`MUI: The color${t?` (${t})`:``} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`);if(typeof e.main!=`string`)throw Error(process.env.NODE_ENV===`production`?so(12,t?` (${t})`:``,JSON.stringify(e.main)):`MUI: The color${t?` (${t})`:``} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n
|
|
129
40
|
Did you intend to use one of the following approaches?
|
|
130
41
|
|
|
131
42
|
import { green } from "@mui/material/colors";
|
|
@@ -136,18 +47,18 @@ const theme1 = createTheme({ palette: {
|
|
|
136
47
|
|
|
137
48
|
const theme2 = createTheme({ palette: {
|
|
138
49
|
primary: { main: green[500] },
|
|
139
|
-
} })
|
|
140
|
-
`)),Object.keys(
|
|
50
|
+
} });`);return Hc(e,`light`,i,r),Hc(e,`dark`,a,r),e.contrastText||=d(e.main),e},p;return t===`light`?p=Rc():t===`dark`&&(p=Bc()),process.env.NODE_ENV!==`production`&&(p||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),q({common:{...Ac},mode:t,primary:f({color:a,name:`primary`}),secondary:f({color:o,name:`secondary`,mainShade:`A400`,lightShade:`A200`,darkShade:`A700`}),error:f({color:s,name:`error`}),warning:f({color:u,name:`warning`}),info:f({color:c,name:`info`}),success:f({color:l,name:`success`}),grey:jc,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r,...p},i)}function Xc(e){let t={};return Object.entries(e).forEach(e=>{let[n,r]=e;typeof r==`object`&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:``}${r.fontVariant?`${r.fontVariant} `:``}${r.fontWeight?`${r.fontWeight} `:``}${r.fontStretch?`${r.fontStretch} `:``}${r.fontSize||``}${r.lineHeight?`/${r.lineHeight} `:``}${r.fontFamily||``}`)}),t}function Zc(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function Qc(e){return Math.round(e*1e5)/1e5}var $c={textTransform:`uppercase`},el=`"Roboto", "Helvetica", "Arial", sans-serif`;function tl(e,t){let{fontFamily:n=el,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:o=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:l,pxToRem:u,...d}=typeof t==`function`?t(e):t;process.env.NODE_ENV!==`production`&&(typeof r!=`number`&&console.error("MUI: `fontSize` is required to be a number."),typeof c!=`number`&&console.error("MUI: `htmlFontSize` is required to be a number."));let f=r/14,p=u||(e=>`${e/c*f}rem`),m=(e,t,r,i,a)=>({fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===el?{letterSpacing:`${Qc(i/t)}em`}:{},...a,...l});return q({htmlFontSize:c,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:o,fontWeightBold:s,h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(o,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(o,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(o,14,1.75,.4,$c),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,$c),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var nl=.2,rl=.14,il=.12;function Q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${nl})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${rl})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${il})`].join(`,`)}var al=[`none`,Q(0,2,1,-1,0,1,1,0,0,1,3,0),Q(0,3,1,-2,0,2,2,0,0,1,5,0),Q(0,3,3,-2,0,3,4,0,0,1,8,0),Q(0,2,4,-1,0,4,5,0,0,1,10,0),Q(0,3,5,-1,0,5,8,0,0,1,14,0),Q(0,3,5,-1,0,6,10,0,0,1,18,0),Q(0,4,5,-2,0,7,10,1,0,2,16,1),Q(0,5,5,-3,0,8,10,1,0,3,14,2),Q(0,5,6,-3,0,9,12,1,0,3,16,2),Q(0,6,6,-3,0,10,14,1,0,4,18,3),Q(0,6,7,-4,0,11,15,1,0,4,20,3),Q(0,7,8,-4,0,12,17,2,0,5,22,4),Q(0,7,8,-4,0,13,19,2,0,5,24,4),Q(0,7,9,-4,0,14,21,2,0,5,26,4),Q(0,8,9,-5,0,15,22,2,0,6,28,5),Q(0,8,10,-5,0,16,24,2,0,6,30,5),Q(0,8,11,-5,0,17,26,2,0,6,32,5),Q(0,9,11,-5,0,18,28,2,0,7,34,6),Q(0,9,12,-6,0,19,29,2,0,7,36,6),Q(0,10,13,-6,0,20,31,3,0,8,38,7),Q(0,10,13,-6,0,21,33,3,0,8,40,7),Q(0,10,14,-6,0,22,35,3,0,8,42,7),Q(0,11,14,-7,0,23,36,3,0,9,44,8),Q(0,11,15,-7,0,24,38,3,0,9,46,8)],ol={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)`},sl={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function cl(e){return`${Math.round(e)}ms`}function ll(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function ul(e){let t={...ol,...e.easing},n={...sl,...e.duration};return{getAutoHeightDuration:ll,create:(e=[`all`],r={})=>{let{duration:i=n.standard,easing:a=t.easeInOut,delay:o=0,...s}=r;if(process.env.NODE_ENV!==`production`){let t=e=>typeof e==`string`,n=e=>!Number.isNaN(parseFloat(e));!t(e)&&!Array.isArray(e)&&console.error(`MUI: Argument "props" must be a string or Array.`),!n(i)&&!t(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),t(a)||console.error(`MUI: Argument "easing" must be a string.`),!n(o)&&!t(o)&&console.error(`MUI: Argument "delay" must be a number or a string.`),typeof r!=`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(`
|
|
51
|
+
`)),Object.keys(s).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(`,`)}].`)}return(Array.isArray(e)?e:[e]).map(e=>`${e} ${typeof i==`string`?i:cl(i)} ${a} ${typeof o==`string`?o:cl(o)}`).join(`,`)},...e,easing:t,duration:n}}var dl={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function fl(e){return Mo(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function pl(e={}){let t={...e};function n(e){let t=Object.entries(e);for(let r=0;r<t.length;r++){let[i,a]=t[r];!fl(a)||i.startsWith(`unstable_`)?delete e[i]:Mo(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
141
52
|
|
|
142
53
|
const theme = ${JSON.stringify(t,null,2)};
|
|
143
54
|
|
|
144
55
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
145
56
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
146
57
|
|
|
147
|
-
export default theme;`}function
|
|
148
|
-
`))}
|
|
149
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function pd(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ve=e=>{try{return e()}catch{}},md=(e="mui")=>Nf(e);function dn(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=cd({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...a}=Rn({...r,palette:{mode:o,...t==null?void 0:t.palette}});return e[n]={...t,palette:i,opacity:{...pa(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||ma(o)},a}function hd(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=ld,colorSchemeSelector:s=r.light&&r.dark?"media":void 0,rootSelector:f=":root",...d}=e,m=Object.keys(r)[0],p=n||(r.light&&m!=="light"?"light":m),h=md(i),{[p]:v,light:g,dark:c,...y}=r,E={...y};let P=v;if((p==="dark"&&!("dark"in r)||p==="light"&&!("light"in r))&&(P=!0),!P)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:tt(21,p));const A=dn(E,P,d,p);g&&!E.light&&dn(E,g,void 0,"light"),c&&!E.dark&&dn(E,c,void 0,"dark");let $={defaultColorScheme:p,...A,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:f,getCssVar:h,colorSchemes:E,font:{...Gf(A.typography),...A.font},spacing:pd(d.spacing)};Object.keys($.colorSchemes).forEach(U=>{const u=$.colorSchemes[U].palette,x=l=>{const R=l.split("-"),O=R[1],D=R[2];return h(l,u[O][D])};if(u.mode==="light"&&(w(u.common,"background","#fff"),w(u.common,"onBackground","#000")),u.mode==="dark"&&(w(u.common,"background","#000"),w(u.common,"onBackground","#fff")),dd(u,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),u.mode==="light"){w(u.Alert,"errorColor",ue(u.error.light,.6)),w(u.Alert,"infoColor",ue(u.info.light,.6)),w(u.Alert,"successColor",ue(u.success.light,.6)),w(u.Alert,"warningColor",ue(u.warning.light,.6)),w(u.Alert,"errorFilledBg",x("palette-error-main")),w(u.Alert,"infoFilledBg",x("palette-info-main")),w(u.Alert,"successFilledBg",x("palette-success-main")),w(u.Alert,"warningFilledBg",x("palette-warning-main")),w(u.Alert,"errorFilledColor",Ve(()=>u.getContrastText(u.error.main))),w(u.Alert,"infoFilledColor",Ve(()=>u.getContrastText(u.info.main))),w(u.Alert,"successFilledColor",Ve(()=>u.getContrastText(u.success.main))),w(u.Alert,"warningFilledColor",Ve(()=>u.getContrastText(u.warning.main))),w(u.Alert,"errorStandardBg",fe(u.error.light,.9)),w(u.Alert,"infoStandardBg",fe(u.info.light,.9)),w(u.Alert,"successStandardBg",fe(u.success.light,.9)),w(u.Alert,"warningStandardBg",fe(u.warning.light,.9)),w(u.Alert,"errorIconColor",x("palette-error-main")),w(u.Alert,"infoIconColor",x("palette-info-main")),w(u.Alert,"successIconColor",x("palette-success-main")),w(u.Alert,"warningIconColor",x("palette-warning-main")),w(u.AppBar,"defaultBg",x("palette-grey-100")),w(u.Avatar,"defaultBg",x("palette-grey-400")),w(u.Button,"inheritContainedBg",x("palette-grey-300")),w(u.Button,"inheritContainedHoverBg",x("palette-grey-A100")),w(u.Chip,"defaultBorder",x("palette-grey-400")),w(u.Chip,"defaultAvatarColor",x("palette-grey-700")),w(u.Chip,"defaultIconColor",x("palette-grey-700")),w(u.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),w(u.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),w(u.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),w(u.LinearProgress,"primaryBg",fe(u.primary.main,.62)),w(u.LinearProgress,"secondaryBg",fe(u.secondary.main,.62)),w(u.LinearProgress,"errorBg",fe(u.error.main,.62)),w(u.LinearProgress,"infoBg",fe(u.info.main,.62)),w(u.LinearProgress,"successBg",fe(u.success.main,.62)),w(u.LinearProgress,"warningBg",fe(u.warning.main,.62)),w(u.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.11)`),w(u.Slider,"primaryTrack",fe(u.primary.main,.62)),w(u.Slider,"secondaryTrack",fe(u.secondary.main,.62)),w(u.Slider,"errorTrack",fe(u.error.main,.62)),w(u.Slider,"infoTrack",fe(u.info.main,.62)),w(u.Slider,"successTrack",fe(u.success.main,.62)),w(u.Slider,"warningTrack",fe(u.warning.main,.62));const l=sr(u.background.default,.8);w(u.SnackbarContent,"bg",l),w(u.SnackbarContent,"color",Ve(()=>u.getContrastText(l))),w(u.SpeedDialAction,"fabHoverBg",sr(u.background.paper,.15)),w(u.StepConnector,"border",x("palette-grey-400")),w(u.StepContent,"border",x("palette-grey-400")),w(u.Switch,"defaultColor",x("palette-common-white")),w(u.Switch,"defaultDisabledColor",x("palette-grey-100")),w(u.Switch,"primaryDisabledColor",fe(u.primary.main,.62)),w(u.Switch,"secondaryDisabledColor",fe(u.secondary.main,.62)),w(u.Switch,"errorDisabledColor",fe(u.error.main,.62)),w(u.Switch,"infoDisabledColor",fe(u.info.main,.62)),w(u.Switch,"successDisabledColor",fe(u.success.main,.62)),w(u.Switch,"warningDisabledColor",fe(u.warning.main,.62)),w(u.TableCell,"border",fe(ar(u.divider,1),.88)),w(u.Tooltip,"bg",ar(u.grey[700],.92))}if(u.mode==="dark"){w(u.Alert,"errorColor",fe(u.error.light,.6)),w(u.Alert,"infoColor",fe(u.info.light,.6)),w(u.Alert,"successColor",fe(u.success.light,.6)),w(u.Alert,"warningColor",fe(u.warning.light,.6)),w(u.Alert,"errorFilledBg",x("palette-error-dark")),w(u.Alert,"infoFilledBg",x("palette-info-dark")),w(u.Alert,"successFilledBg",x("palette-success-dark")),w(u.Alert,"warningFilledBg",x("palette-warning-dark")),w(u.Alert,"errorFilledColor",Ve(()=>u.getContrastText(u.error.dark))),w(u.Alert,"infoFilledColor",Ve(()=>u.getContrastText(u.info.dark))),w(u.Alert,"successFilledColor",Ve(()=>u.getContrastText(u.success.dark))),w(u.Alert,"warningFilledColor",Ve(()=>u.getContrastText(u.warning.dark))),w(u.Alert,"errorStandardBg",ue(u.error.light,.9)),w(u.Alert,"infoStandardBg",ue(u.info.light,.9)),w(u.Alert,"successStandardBg",ue(u.success.light,.9)),w(u.Alert,"warningStandardBg",ue(u.warning.light,.9)),w(u.Alert,"errorIconColor",x("palette-error-main")),w(u.Alert,"infoIconColor",x("palette-info-main")),w(u.Alert,"successIconColor",x("palette-success-main")),w(u.Alert,"warningIconColor",x("palette-warning-main")),w(u.AppBar,"defaultBg",x("palette-grey-900")),w(u.AppBar,"darkBg",x("palette-background-paper")),w(u.AppBar,"darkColor",x("palette-text-primary")),w(u.Avatar,"defaultBg",x("palette-grey-600")),w(u.Button,"inheritContainedBg",x("palette-grey-800")),w(u.Button,"inheritContainedHoverBg",x("palette-grey-700")),w(u.Chip,"defaultBorder",x("palette-grey-700")),w(u.Chip,"defaultAvatarColor",x("palette-grey-300")),w(u.Chip,"defaultIconColor",x("palette-grey-300")),w(u.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),w(u.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),w(u.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),w(u.LinearProgress,"primaryBg",ue(u.primary.main,.5)),w(u.LinearProgress,"secondaryBg",ue(u.secondary.main,.5)),w(u.LinearProgress,"errorBg",ue(u.error.main,.5)),w(u.LinearProgress,"infoBg",ue(u.info.main,.5)),w(u.LinearProgress,"successBg",ue(u.success.main,.5)),w(u.LinearProgress,"warningBg",ue(u.warning.main,.5)),w(u.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.13)`),w(u.Slider,"primaryTrack",ue(u.primary.main,.5)),w(u.Slider,"secondaryTrack",ue(u.secondary.main,.5)),w(u.Slider,"errorTrack",ue(u.error.main,.5)),w(u.Slider,"infoTrack",ue(u.info.main,.5)),w(u.Slider,"successTrack",ue(u.success.main,.5)),w(u.Slider,"warningTrack",ue(u.warning.main,.5));const l=sr(u.background.default,.98);w(u.SnackbarContent,"bg",l),w(u.SnackbarContent,"color",Ve(()=>u.getContrastText(l))),w(u.SpeedDialAction,"fabHoverBg",sr(u.background.paper,.15)),w(u.StepConnector,"border",x("palette-grey-600")),w(u.StepContent,"border",x("palette-grey-600")),w(u.Switch,"defaultColor",x("palette-grey-300")),w(u.Switch,"defaultDisabledColor",x("palette-grey-600")),w(u.Switch,"primaryDisabledColor",ue(u.primary.main,.55)),w(u.Switch,"secondaryDisabledColor",ue(u.secondary.main,.55)),w(u.Switch,"errorDisabledColor",ue(u.error.main,.55)),w(u.Switch,"infoDisabledColor",ue(u.info.main,.55)),w(u.Switch,"successDisabledColor",ue(u.success.main,.55)),w(u.Switch,"warningDisabledColor",ue(u.warning.main,.55)),w(u.TableCell,"border",ue(ar(u.divider,1),.68)),w(u.Tooltip,"bg",ar(u.grey[700],.92))}Ye(u.background,"default"),Ye(u.background,"paper"),Ye(u.common,"background"),Ye(u.common,"onBackground"),Ye(u,"divider"),Object.keys(u).forEach(l=>{const R=u[l];l!=="tonalOffset"&&R&&typeof R=="object"&&(R.main&&w(u[l],"mainChannel",Ft(Vt(R.main))),R.light&&w(u[l],"lightChannel",Ft(Vt(R.light))),R.dark&&w(u[l],"darkChannel",Ft(Vt(R.dark))),R.contrastText&&w(u[l],"contrastTextChannel",Ft(Vt(R.contrastText))),l==="text"&&(Ye(u[l],"primary"),Ye(u[l],"secondary")),l==="action"&&(R.active&&Ye(u[l],"active"),R.selected&&Ye(u[l],"selected")))})}),$=t.reduce((U,u)=>Pe(U,u),$);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:fd($)},{vars:k,generateThemeVars:N,generateStyleSheets:V}=Df($,C);return $.vars=k,Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([U,u])=>{$[U]=u}),$.generateThemeVars=N,$.generateStyleSheets=V,$.generateSpacing=function(){return oa(d.spacing,to(this))},$.getColorSchemeSelector=Bf(s),$.spacing=$.generateSpacing(),$.shouldSkipGeneratingVar=a,$.unstable_sxConfig={...Xr,...d==null?void 0:d.unstable_sxConfig},$.unstable_sx=function(u){return kt({sx:u,theme:this})},$.toRuntimeSource=da,$}function mi(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:io({...r===!0?{}:r.palette,mode:t})})}function gd(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...a}=e,s=i||"light",f=o==null?void 0:o[s],d={...o,...r?{[s]:{...typeof f!="boolean"&&f,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Rn(e,...t);let m=r;"palette"in e||d[s]&&(d[s]!==!0?m=d[s].palette:s==="dark"&&(m={mode:"dark"}));const p=Rn({...e,palette:m},...t);return p.defaultColorScheme=s,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},mi(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},mi(p,"light",d.light)),p}return!r&&!("light"in d)&&s==="light"&&(d.light=!0),hd({...a,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...t)}const yd=gd(),bd="$$material";function vd(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Sd=e=>vd(e)&&e!=="classes",it=Ef({themeId:bd,defaultTheme:yd,rootShouldForwardProp:Sd}),$r=Pf;process.env.NODE_ENV!=="production"&&(S.node,S.object.isRequired);function Qr(e){return Af(e)}let hi=0;function $d(e){const[t,r]=I.useState(e),n=e||t;return I.useEffect(()=>{t==null&&(hi+=1,r(`mui-${hi}`))},[t]),n}const Cd={...I},gi=Cd.useId;function Ed(e){if(gi!==void 0){const t=gi();return e??t}return $d(e)}function pr(e){const t=I.useRef(e);return Of(()=>{t.current=e}),I.useRef((...r)=>(0,t.current)(...r)).current}function yi(...e){const t=I.useRef(void 0),r=I.useCallback(n=>{const o=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const a=i,s=a(n);return typeof s=="function"?s:()=>{a(null)}}return i.current=n,()=>{i.current=null}});return()=>{o.forEach(i=>i==null?void 0:i())}},e);return I.useMemo(()=>e.every(n=>n==null)?null:n=>{t.current&&(t.current(),t.current=void 0),n!=null&&(t.current=r(n))},e)}function Td(e){return typeof e.main=="string"}function wd(e,t=[]){if(!Td(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function An(e=[]){return([,t])=>t&&wd(t,e)}const xd=S.oneOfType([S.func,S.object]);function kd(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Od(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"&&!kd(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 _d=Xn(S.elementType,Od);function bi(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
|
|
150
|
-
`))}return!1}
|
|
58
|
+
export default theme;`}function ml(e={},...t){let{breakpoints:n,mixins:r={},spacing:i,palette:a={},transitions:o={},typography:s={},shape:c,...l}=e;if(e.vars&&e.generateThemeVars===void 0)throw Error(process.env.NODE_ENV===`production`?so(20):"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.");let u=Yc(a),d=Ys(e),f=q(d,{mixins:Zc(d.breakpoints,r),palette:u,shadows:al.slice(),typography:tl(u,s),transitions:ul(o),zIndex:{...dl}});if(f=q(f,l),f=t.reduce((e,t)=>q(e,t),f),process.env.NODE_ENV!==`production`){let e=[`active`,`checked`,`completed`,`disabled`,`error`,`expanded`,`focused`,`focusVisible`,`required`,`selected`],t=(t,n)=>{let r;for(r in t){let i=t[r];if(e.includes(r)&&Object.keys(i).length>0){if(process.env.NODE_ENV!==`production`){let e=Zs(``,r);console.error([`MUI: The \`${n}\` component increases the CSS specificity of the \`${r}\` internal state.`,`You can not override it like this: `,JSON.stringify(t,null,2),``,`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:i}},null,2),``,`https://mui.com/r/state-classes-guide`].join(`
|
|
59
|
+
`))}t[r]={}}}};Object.keys(f.components).forEach(e=>{let n=f.components[e].styleOverrides;n&&e.startsWith(`Mui`)&&t(n,e)})}return f.unstable_sxConfig={...Fs,...l?.unstable_sxConfig},f.unstable_sx=function(e){return zs({sx:e,theme:this})},f.toRuntimeSource=pl,f}function hl(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var gl=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=hl(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function _l(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function vl(e){return e===`dark`?gl:[]}function yl(e){let{palette:t={mode:`light`},opacity:n,overlays:r,...i}=e,a=Yc(t);return{palette:a,opacity:{..._l(a.mode),...n},overlays:r||vl(a.mode),...i}}function bl(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]===`palette`&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var xl=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],Sl=e=>(t,n)=>{let r=e.rootSelector||`:root`,i=e.colorSchemeSelector,a=i;if(i===`class`&&(a=`.%s`),i===`data`&&(a=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t===`dark`){let i={};return xl(e.cssVarPrefix).forEach(e=>{i[e]=n[e],delete n[e]}),a===`media`?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace(`%s`,t)]:i,[`${r}, ${a.replace(`%s`,t)}`]:n}:{[r]:{...n,...i}}}if(a&&a!==`media`)return`${r}, ${a.replace(`%s`,String(t))}`}else if(t){if(a===`media`)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace(`%s`,String(t))}return r};function Cl(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function $(e,t,n){!e[t]&&n&&(e[t]=n)}function wl(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:go(e)}function Tl(e,t){`${t}Channel`in e||(e[`${t}Channel`]=mo(wl(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
60
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function El(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var Dl=e=>{try{return e()}catch{}},Ol=(e=`mui`)=>Cc(e);function kl(e,t,n,r){if(!t)return;t=t===!0?{}:t;let i=r===`dark`?`dark`:`light`;if(!n){e[r]=yl({...t,palette:{mode:i,...t?.palette}});return}let{palette:a,...o}=ml({...n,palette:{mode:i,...t?.palette}});return e[r]={...t,palette:a,opacity:{..._l(i),...t?.opacity},overlays:t?.overlays||vl(i)},o}function Al(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,shouldSkipGeneratingVar:o=bl,colorSchemeSelector:s=n.light&&n.dark?`media`:void 0,rootSelector:c=`:root`,...l}=e,u=Object.keys(n)[0],d=r||(n.light&&u!==`light`?`light`:u),f=Ol(a),{[d]:p,light:m,dark:h,...g}=n,_={...g},v=p;if((d===`dark`&&!(`dark`in n)||d===`light`&&!(`light`in n))&&(v=!0),!v)throw Error(process.env.NODE_ENV===`production`?so(21,d):`MUI: The \`colorSchemes.${d}\` option is either missing or invalid.`);let y=kl(_,v,l,d);m&&!_.light&&kl(_,m,void 0,`light`),h&&!_.dark&&kl(_,h,void 0,`dark`);let b={defaultColorScheme:d,...y,cssVarPrefix:a,colorSchemeSelector:s,rootSelector:c,getCssVar:f,colorSchemes:_,font:{...Xc(y.typography),...y.font},spacing:El(l.spacing)};Object.keys(b.colorSchemes).forEach(e=>{let t=b.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return f(e,t[r][i])};if(t.mode===`light`&&($(t.common,`background`,`#fff`),$(t.common,`onBackground`,`#000`)),t.mode===`dark`&&($(t.common,`background`,`#000`),$(t.common,`onBackground`,`#fff`)),Cl(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){$(t.Alert,`errorColor`,G(t.error.light,.6)),$(t.Alert,`infoColor`,G(t.info.light,.6)),$(t.Alert,`successColor`,G(t.success.light,.6)),$(t.Alert,`warningColor`,G(t.warning.light,.6)),$(t.Alert,`errorFilledBg`,n(`palette-error-main`)),$(t.Alert,`infoFilledBg`,n(`palette-info-main`)),$(t.Alert,`successFilledBg`,n(`palette-success-main`)),$(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),$(t.Alert,`errorFilledColor`,Dl(()=>t.getContrastText(t.error.main))),$(t.Alert,`infoFilledColor`,Dl(()=>t.getContrastText(t.info.main))),$(t.Alert,`successFilledColor`,Dl(()=>t.getContrastText(t.success.main))),$(t.Alert,`warningFilledColor`,Dl(()=>t.getContrastText(t.warning.main))),$(t.Alert,`errorStandardBg`,K(t.error.light,.9)),$(t.Alert,`infoStandardBg`,K(t.info.light,.9)),$(t.Alert,`successStandardBg`,K(t.success.light,.9)),$(t.Alert,`warningStandardBg`,K(t.warning.light,.9)),$(t.Alert,`errorIconColor`,n(`palette-error-main`)),$(t.Alert,`infoIconColor`,n(`palette-info-main`)),$(t.Alert,`successIconColor`,n(`palette-success-main`)),$(t.Alert,`warningIconColor`,n(`palette-warning-main`)),$(t.AppBar,`defaultBg`,n(`palette-grey-100`)),$(t.Avatar,`defaultBg`,n(`palette-grey-400`)),$(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),$(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),$(t.Chip,`defaultBorder`,n(`palette-grey-400`)),$(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),$(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),$(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),$(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),$(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),$(t.LinearProgress,`primaryBg`,K(t.primary.main,.62)),$(t.LinearProgress,`secondaryBg`,K(t.secondary.main,.62)),$(t.LinearProgress,`errorBg`,K(t.error.main,.62)),$(t.LinearProgress,`infoBg`,K(t.info.main,.62)),$(t.LinearProgress,`successBg`,K(t.success.main,.62)),$(t.LinearProgress,`warningBg`,K(t.warning.main,.62)),$(t.Skeleton,`bg`,`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),$(t.Slider,`primaryTrack`,K(t.primary.main,.62)),$(t.Slider,`secondaryTrack`,K(t.secondary.main,.62)),$(t.Slider,`errorTrack`,K(t.error.main,.62)),$(t.Slider,`infoTrack`,K(t.info.main,.62)),$(t.Slider,`successTrack`,K(t.success.main,.62)),$(t.Slider,`warningTrack`,K(t.warning.main,.62));let e=wo(t.background.default,.8);$(t.SnackbarContent,`bg`,e),$(t.SnackbarContent,`color`,Dl(()=>t.getContrastText(e))),$(t.SpeedDialAction,`fabHoverBg`,wo(t.background.paper,.15)),$(t.StepConnector,`border`,n(`palette-grey-400`)),$(t.StepContent,`border`,n(`palette-grey-400`)),$(t.Switch,`defaultColor`,n(`palette-common-white`)),$(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),$(t.Switch,`primaryDisabledColor`,K(t.primary.main,.62)),$(t.Switch,`secondaryDisabledColor`,K(t.secondary.main,.62)),$(t.Switch,`errorDisabledColor`,K(t.error.main,.62)),$(t.Switch,`infoDisabledColor`,K(t.info.main,.62)),$(t.Switch,`successDisabledColor`,K(t.success.main,.62)),$(t.Switch,`warningDisabledColor`,K(t.warning.main,.62)),$(t.TableCell,`border`,K(bo(t.divider,1),.88)),$(t.Tooltip,`bg`,bo(t.grey[700],.92))}if(t.mode===`dark`){$(t.Alert,`errorColor`,K(t.error.light,.6)),$(t.Alert,`infoColor`,K(t.info.light,.6)),$(t.Alert,`successColor`,K(t.success.light,.6)),$(t.Alert,`warningColor`,K(t.warning.light,.6)),$(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),$(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),$(t.Alert,`successFilledBg`,n(`palette-success-dark`)),$(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),$(t.Alert,`errorFilledColor`,Dl(()=>t.getContrastText(t.error.dark))),$(t.Alert,`infoFilledColor`,Dl(()=>t.getContrastText(t.info.dark))),$(t.Alert,`successFilledColor`,Dl(()=>t.getContrastText(t.success.dark))),$(t.Alert,`warningFilledColor`,Dl(()=>t.getContrastText(t.warning.dark))),$(t.Alert,`errorStandardBg`,G(t.error.light,.9)),$(t.Alert,`infoStandardBg`,G(t.info.light,.9)),$(t.Alert,`successStandardBg`,G(t.success.light,.9)),$(t.Alert,`warningStandardBg`,G(t.warning.light,.9)),$(t.Alert,`errorIconColor`,n(`palette-error-main`)),$(t.Alert,`infoIconColor`,n(`palette-info-main`)),$(t.Alert,`successIconColor`,n(`palette-success-main`)),$(t.Alert,`warningIconColor`,n(`palette-warning-main`)),$(t.AppBar,`defaultBg`,n(`palette-grey-900`)),$(t.AppBar,`darkBg`,n(`palette-background-paper`)),$(t.AppBar,`darkColor`,n(`palette-text-primary`)),$(t.Avatar,`defaultBg`,n(`palette-grey-600`)),$(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),$(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),$(t.Chip,`defaultBorder`,n(`palette-grey-700`)),$(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),$(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),$(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),$(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),$(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),$(t.LinearProgress,`primaryBg`,G(t.primary.main,.5)),$(t.LinearProgress,`secondaryBg`,G(t.secondary.main,.5)),$(t.LinearProgress,`errorBg`,G(t.error.main,.5)),$(t.LinearProgress,`infoBg`,G(t.info.main,.5)),$(t.LinearProgress,`successBg`,G(t.success.main,.5)),$(t.LinearProgress,`warningBg`,G(t.warning.main,.5)),$(t.Skeleton,`bg`,`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),$(t.Slider,`primaryTrack`,G(t.primary.main,.5)),$(t.Slider,`secondaryTrack`,G(t.secondary.main,.5)),$(t.Slider,`errorTrack`,G(t.error.main,.5)),$(t.Slider,`infoTrack`,G(t.info.main,.5)),$(t.Slider,`successTrack`,G(t.success.main,.5)),$(t.Slider,`warningTrack`,G(t.warning.main,.5));let e=wo(t.background.default,.98);$(t.SnackbarContent,`bg`,e),$(t.SnackbarContent,`color`,Dl(()=>t.getContrastText(e))),$(t.SpeedDialAction,`fabHoverBg`,wo(t.background.paper,.15)),$(t.StepConnector,`border`,n(`palette-grey-600`)),$(t.StepContent,`border`,n(`palette-grey-600`)),$(t.Switch,`defaultColor`,n(`palette-grey-300`)),$(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),$(t.Switch,`primaryDisabledColor`,G(t.primary.main,.55)),$(t.Switch,`secondaryDisabledColor`,G(t.secondary.main,.55)),$(t.Switch,`errorDisabledColor`,G(t.error.main,.55)),$(t.Switch,`infoDisabledColor`,G(t.info.main,.55)),$(t.Switch,`successDisabledColor`,G(t.success.main,.55)),$(t.Switch,`warningDisabledColor`,G(t.warning.main,.55)),$(t.TableCell,`border`,G(bo(t.divider,1),.68)),$(t.Tooltip,`bg`,bo(t.grey[700],.92))}Tl(t.background,`default`),Tl(t.background,`paper`),Tl(t.common,`background`),Tl(t.common,`onBackground`),Tl(t,`divider`),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&n&&typeof n==`object`&&(n.main&&$(t[e],`mainChannel`,mo(wl(n.main))),n.light&&$(t[e],`lightChannel`,mo(wl(n.light))),n.dark&&$(t[e],`darkChannel`,mo(wl(n.dark))),n.contrastText&&$(t[e],`contrastTextChannel`,mo(wl(n.contrastText))),e===`text`&&(Tl(t[e],`primary`),Tl(t[e],`secondary`)),e===`action`&&(n.active&&Tl(t[e],`active`),n.selected&&Tl(t[e],`selected`)))})}),b=t.reduce((e,t)=>q(e,t),b);let x={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:o,getSelector:Sl(b)},{vars:S,generateThemeVars:C,generateStyleSheets:w}=Oc(b,x);return b.vars=S,Object.entries(b.colorSchemes[b.defaultColorScheme]).forEach(([e,t])=>{b[e]=t}),b.generateThemeVars=C,b.generateStyleSheets=w,b.generateSpacing=function(){return qs(l.spacing,rs(this))},b.getColorSchemeSelector=kc(s),b.spacing=b.generateSpacing(),b.shouldSkipGeneratingVar=o,b.unstable_sxConfig={...Fs,...l?.unstable_sxConfig},b.unstable_sx=function(e){return zs({sx:e,theme:this})},b.toRuntimeSource=pl,b}function jl(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Yc({...n===!0?{}:n.palette,mode:t})})}function Ml(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return ml(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=ml({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},jl(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},jl(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Al({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var Nl=Ml(),Pl=`$$material`;function Fl(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var Il=lc({themeId:Pl,defaultTheme:Nl,rootShouldForwardProp:e=>Fl(e)&&e!==`classes`}),Ll=Sc;function Rl(e){return(0,H.jsx)(vc,{...e})}process.env.NODE_ENV!==`production`&&(Rl.propTypes={children:D.default.node,value:D.default.object.isRequired});function zl(e){return bc(e)}var Bl=0;function Vl(e){let[t,n]=u.useState(e),r=e||t;return u.useEffect(()=>{t??(Bl+=1,n(`mui-${Bl}`))},[t]),r}var Hl={...u}.useId;function Ul(e){if(Hl!==void 0){let t=Hl();return e??t}return Vl(e)}var Wl=Ul;function Gl(e){let t=u.useRef(e);return gc(()=>{t.current=e}),u.useRef((...e)=>(0,t.current)(...e)).current}var Kl=Gl;function ql(...e){let t=u.useRef(void 0),n=u.useCallback(t=>{let n=e.map(e=>{if(e==null)return null;if(typeof e==`function`){let n=e,r=n(t);return typeof r==`function`?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return u.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}var Jl=ql;function Yl(e){return typeof e.main==`string`}function Xl(e,t=[]){if(!Yl(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function Zl(e=[]){return([,t])=>t&&Xl(t,e)}var Ql=D.default.oneOfType([D.default.func,D.default.object]);function $l(e){let{prototype:t={}}=e;return!!t.isReactComponent}function eu(e,t,n,r,i){let a=e[t],o=i||t;if(a==null||typeof window>`u`)return null;let s;return typeof a==`function`&&!$l(a)&&(s=`Did you accidentally provide a plain function component instead?`),s===void 0?null:Error(`Invalid ${r} \`${o}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`)}var tu=ao(D.default.elementType,eu);function nu(e){try{return e.matches(`:focus-visible`)}catch{process.env.NODE_ENV!==`production`&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.",`Some components rely on this feature to work properly.`].join(`
|
|
61
|
+
`))}return!1}var ru={};function iu(e,t){let n=u.useRef(ru);return n.current===ru&&(n.current=e(t)),n}var au=class e{static create(){return new e}static use(){let t=iu(e.create).current,[n,r]=u.useState(!1);return t.shouldMount=n,t.setShouldMount=r,u.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=su(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function ou(){return au.use()}function su(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function cu(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function lu(e,t){return lu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},lu(e,t)}function uu(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,lu(e,t)}var du=u.default.createContext(null);function fu(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function pu(e,t){var n=function(e){return t&&(0,u.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&u.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function mu(e,t){e||={},t||={};function n(n){return n in t?t[n]:e[n]}var r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var o,s={};for(var c in t){if(r[c])for(o=0;o<r[c].length;o++){var l=r[c][o];s[r[c][o]]=n(l)}s[c]=n(c)}for(o=0;o<i.length;o++)s[i[o]]=n(i[o]);return s}function hu(e,t,n){return n[t]==null?e.props[t]:n[t]}function gu(e,t){return pu(e.children,function(n){return(0,u.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:hu(n,`appear`,e),enter:hu(n,`enter`,e),exit:hu(n,`exit`,e)})})}function _u(e,t,n){var r=pu(e.children),i=mu(t,r);return Object.keys(i).forEach(function(a){var o=i[a];if((0,u.isValidElement)(o)){var s=a in t,c=a in r,l=t[a],d=(0,u.isValidElement)(l)&&!l.props.in;c&&(!s||d)?i[a]=(0,u.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:hu(o,`exit`,e),enter:hu(o,`enter`,e)}):!c&&s&&!d?i[a]=(0,u.cloneElement)(o,{in:!1}):c&&s&&(0,u.isValidElement)(l)&&(i[a]=(0,u.cloneElement)(o,{onExited:n.bind(null,o),in:l.props.in,exit:hu(o,`exit`,e),enter:hu(o,`enter`,e)}))}}),i}var vu=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},yu={component:`div`,childFactory:function(e){return e}},bu=function(e){uu(t,e);function t(t,n){var r=e.call(this,t,n)||this;return r.state={contextValue:{isMounting:!0},handleExited:r.handleExited.bind(fu(r)),firstRender:!0},r}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?gu(e,r):_u(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=pu(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=kt({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=cu(e,[`component`,`childFactory`]),i=this.state.contextValue,a=vu(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,t===null?u.default.createElement(du.Provider,{value:i},a):u.default.createElement(du.Provider,{value:i},u.default.createElement(t,r,a))},t}(u.default.Component);bu.propTypes=process.env.NODE_ENV===`production`?{}:{component:D.default.any,children:D.default.node,appear:D.default.bool,enter:D.default.bool,exit:D.default.bool,childFactory:D.default.func},bu.defaultProps=yu;var xu=[];function Su(e){u.useEffect(e,xu)}var Cu=class e{static create(){return new e}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function wu(){let e=iu(Cu.create).current;return Su(e.disposeEffect),e}function Tu(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[d,f]=u.useState(!1),p=S(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},h=S(n.child,d&&n.childLeaving,r&&n.childPulsate);return!s&&!d&&f(!0),u.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,H.jsx)(`span`,{className:p,style:m,children:(0,H.jsx)(`span`,{className:h})})}process.env.NODE_ENV!==`production`&&(Tu.propTypes={classes:D.default.object.isRequired,className:D.default.string,in:D.default.bool,onExited:D.default.func,pulsate:D.default.bool,rippleSize:D.default.number,rippleX:D.default.number,rippleY:D.default.number,timeout:D.default.number.isRequired});var Eu=Qs(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),Du=550,Ou=vr`
|
|
151
62
|
0% {
|
|
152
63
|
transform: scale(0);
|
|
153
64
|
opacity: 0.1;
|
|
@@ -157,7 +68,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
157
68
|
transform: scale(1);
|
|
158
69
|
opacity: 0.3;
|
|
159
70
|
}
|
|
160
|
-
`,
|
|
71
|
+
`,ku=vr`
|
|
161
72
|
0% {
|
|
162
73
|
opacity: 1;
|
|
163
74
|
}
|
|
@@ -165,7 +76,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
165
76
|
100% {
|
|
166
77
|
opacity: 0;
|
|
167
78
|
}
|
|
168
|
-
`,
|
|
79
|
+
`,Au=vr`
|
|
169
80
|
0% {
|
|
170
81
|
transform: scale(1);
|
|
171
82
|
}
|
|
@@ -177,23 +88,23 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
177
88
|
100% {
|
|
178
89
|
transform: scale(1);
|
|
179
90
|
}
|
|
180
|
-
`,
|
|
91
|
+
`,ju=Il(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),Mu=Il(Tu,{name:`MuiTouchRipple`,slot:`Ripple`})`
|
|
181
92
|
opacity: 0;
|
|
182
93
|
position: absolute;
|
|
183
94
|
|
|
184
|
-
&.${
|
|
95
|
+
&.${Eu.rippleVisible} {
|
|
185
96
|
opacity: 0.3;
|
|
186
97
|
transform: scale(1);
|
|
187
|
-
animation-name: ${
|
|
188
|
-
animation-duration: ${
|
|
98
|
+
animation-name: ${Ou};
|
|
99
|
+
animation-duration: ${Du}ms;
|
|
189
100
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
190
101
|
}
|
|
191
102
|
|
|
192
|
-
&.${
|
|
103
|
+
&.${Eu.ripplePulsate} {
|
|
193
104
|
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
194
105
|
}
|
|
195
106
|
|
|
196
|
-
& .${
|
|
107
|
+
& .${Eu.child} {
|
|
197
108
|
opacity: 1;
|
|
198
109
|
display: block;
|
|
199
110
|
width: 100%;
|
|
@@ -202,25 +113,25 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
202
113
|
background-color: currentColor;
|
|
203
114
|
}
|
|
204
115
|
|
|
205
|
-
& .${
|
|
116
|
+
& .${Eu.childLeaving} {
|
|
206
117
|
opacity: 0;
|
|
207
|
-
animation-name: ${
|
|
208
|
-
animation-duration: ${
|
|
118
|
+
animation-name: ${ku};
|
|
119
|
+
animation-duration: ${Du}ms;
|
|
209
120
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
210
121
|
}
|
|
211
122
|
|
|
212
|
-
& .${
|
|
123
|
+
& .${Eu.childPulsate} {
|
|
213
124
|
position: absolute;
|
|
214
125
|
/* @noflip */
|
|
215
126
|
left: 0px;
|
|
216
127
|
top: 0;
|
|
217
|
-
animation-name: ${
|
|
128
|
+
animation-name: ${Au};
|
|
218
129
|
animation-duration: 2500ms;
|
|
219
130
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
220
131
|
animation-iteration-count: infinite;
|
|
221
132
|
animation-delay: 200ms;
|
|
222
133
|
}
|
|
223
|
-
`,
|
|
134
|
+
`,Nu=u.forwardRef(function(e,t){let{center:n=!1,classes:r={},className:i,...a}=zl({props:e,name:`MuiTouchRipple`}),[o,s]=u.useState([]),c=u.useRef(0),l=u.useRef(null);u.useEffect(()=>{l.current&&=(l.current(),null)},[o]);let d=u.useRef(!1),f=wu(),p=u.useRef(null),m=u.useRef(null),h=u.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:i,rippleSize:a,cb:o}=e;s(e=>[...e,(0,H.jsx)(Mu,{classes:{ripple:S(r.ripple,Eu.ripple),rippleVisible:S(r.rippleVisible,Eu.rippleVisible),ripplePulsate:S(r.ripplePulsate,Eu.ripplePulsate),child:S(r.child,Eu.child),childLeaving:S(r.childLeaving,Eu.childLeaving),childPulsate:S(r.childPulsate,Eu.childPulsate)},timeout:Du,pulsate:t,rippleX:n,rippleY:i,rippleSize:a},c.current)]),c.current+=1,l.current=o},[r]),g=u.useCallback((e={},t={},r=()=>{})=>{let{pulsate:i=!1,center:a=n||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&d.current){d.current=!1;return}e?.type===`touchstart`&&(d.current=!0);let s=o?null:m.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0},l,u,g;if(a||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)l=Math.round(c.width/2),u=Math.round(c.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),u=Math.round(n-c.top)}if(a)g=Math.sqrt((2*c.width**2+c.height**2)/3),g%2==0&&(g+=1);else{let e=Math.max(Math.abs((s?s.clientWidth:0)-l),l)*2+2,t=Math.max(Math.abs((s?s.clientHeight:0)-u),u)*2+2;g=Math.sqrt(e**2+t**2)}e?.touches?p.current===null&&(p.current=()=>{h({pulsate:i,rippleX:l,rippleY:u,rippleSize:g,cb:r})},f.start(80,()=>{p.current&&=(p.current(),null)})):h({pulsate:i,rippleX:l,rippleY:u,rippleSize:g,cb:r})},[n,h,f]),_=u.useCallback(()=>{g({},{pulsate:!0})},[g]),v=u.useCallback((e,t)=>{if(f.clear(),e?.type===`touchend`&&p.current){p.current(),p.current=null,f.start(0,()=>{v(e,t)});return}p.current=null,s(e=>e.length>0?e.slice(1):e),l.current=t},[f]);return u.useImperativeHandle(t,()=>({pulsate:_,start:g,stop:v}),[_,g,v]),(0,H.jsx)(ju,{className:S(Eu.root,r.root,i),ref:m,...a,children:(0,H.jsx)(bu,{component:null,exit:!0,children:o})})});process.env.NODE_ENV!==`production`&&(Nu.propTypes={center:D.default.bool,classes:D.default.object,className:D.default.string});function Pu(e){return Zs(`MuiButtonBase`,e)}var Fu=Qs(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),Iu=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=oo({root:[`root`,t&&`disabled`,n&&`focusVisible`]},Pu,i);return n&&r&&(a.root+=` ${r}`),a},Lu=Il(`button`,{name:`MuiButtonBase`,slot:`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`},[`&.${Fu.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),Ru=u.forwardRef(function(e,t){let n=zl({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:i=!1,children:a,className:o,component:s=`button`,disabled:c=!1,disableRipple:l=!1,disableTouchRipple:d=!1,focusRipple:f=!1,focusVisibleClassName:p,LinkComponent:m=`a`,onBlur:h,onClick:g,onContextMenu:_,onDragLeave:v,onFocus:y,onFocusVisible:b,onKeyDown:x,onKeyUp:C,onMouseDown:w,onMouseLeave:ee,onMouseUp:te,onTouchEnd:ne,onTouchMove:re,onTouchStart:ie,tabIndex:ae=0,TouchRippleProps:oe,touchRippleRef:T,type:se,...E}=n,ce=u.useRef(null),D=ou(),le=Jl(D.ref,T),[ue,de]=u.useState(!1);c&&ue&&de(!1),u.useImperativeHandle(r,()=>({focusVisible:()=>{de(!0),ce.current.focus()}}),[]);let fe=D.shouldMount&&!l&&!c;u.useEffect(()=>{ue&&f&&!l&&D.pulsate()},[l,f,ue,D]);let pe=zu(D,`start`,w,d),me=zu(D,`stop`,_,d),he=zu(D,`stop`,v,d),O=zu(D,`stop`,te,d),ge=zu(D,`stop`,e=>{ue&&e.preventDefault(),ee&&ee(e)},d),_e=zu(D,`start`,ie,d),ve=zu(D,`stop`,ne,d),ye=zu(D,`stop`,re,d),be=zu(D,`stop`,e=>{nu(e.target)||de(!1),h&&h(e)},!1),xe=Kl(e=>{ce.current||=e.currentTarget,nu(e.target)&&(de(!0),b&&b(e)),y&&y(e)}),Se=()=>{let e=ce.current;return s&&s!==`button`&&!(e.tagName===`A`&&e.href)},Ce=Kl(e=>{f&&!e.repeat&&ue&&e.key===` `&&D.stop(e,()=>{D.start(e)}),e.target===e.currentTarget&&Se()&&e.key===` `&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&Se()&&e.key===`Enter`&&!c&&(e.preventDefault(),g&&g(e))}),we=Kl(e=>{f&&e.key===` `&&ue&&!e.defaultPrevented&&D.stop(e,()=>{D.pulsate(e)}),C&&C(e),g&&e.target===e.currentTarget&&Se()&&e.key===` `&&!e.defaultPrevented&&g(e)}),Te=s;Te===`button`&&(E.href||E.to)&&(Te=m);let Ee={};Te===`button`?(Ee.type=se===void 0?`button`:se,Ee.disabled=c):(!E.href&&!E.to&&(Ee.role=`button`),c&&(Ee[`aria-disabled`]=c));let De=Jl(t,ce),Oe={...n,centerRipple:i,component:s,disabled:c,disableRipple:l,disableTouchRipple:d,focusRipple:f,tabIndex:ae,focusVisible:ue},ke=Iu(Oe);return(0,H.jsxs)(Lu,{as:Te,className:S(ke.root,o),ownerState:Oe,onBlur:be,onClick:g,onContextMenu:me,onFocus:xe,onKeyDown:Ce,onKeyUp:we,onMouseDown:pe,onMouseLeave:ge,onMouseUp:O,onDragLeave:he,onTouchEnd:ve,onTouchMove:ye,onTouchStart:_e,ref:De,tabIndex:c?-1:ae,type:se,...Ee,...E,children:[a,fe?(0,H.jsx)(Nu,{ref:le,center:i,...oe}):null]})});function zu(e,t,n,r=!1){return Kl(i=>(n&&n(i),r||e[t](i),!0))}process.env.NODE_ENV!==`production`&&(Ru.propTypes={action:Ql,centerRipple:D.default.bool,children:D.default.node,classes:D.default.object,className:D.default.string,component:tu,disabled:D.default.bool,disableRipple:D.default.bool,disableTouchRipple:D.default.bool,focusRipple:D.default.bool,focusVisibleClassName:D.default.string,href:D.default.any,LinkComponent:D.default.elementType,onBlur:D.default.func,onClick:D.default.func,onContextMenu:D.default.func,onDragLeave:D.default.func,onFocus:D.default.func,onFocusVisible:D.default.func,onKeyDown:D.default.func,onKeyUp:D.default.func,onMouseDown:D.default.func,onMouseLeave:D.default.func,onMouseUp:D.default.func,onTouchEnd:D.default.func,onTouchMove:D.default.func,onTouchStart:D.default.func,sx:D.default.oneOfType([D.default.arrayOf(D.default.oneOfType([D.default.func,D.default.object,D.default.bool])),D.default.func,D.default.object]),tabIndex:D.default.number,TouchRippleProps:D.default.object,touchRippleRef:D.default.oneOfType([D.default.func,D.default.shape({current:D.default.shape({pulsate:D.default.func.isRequired,start:D.default.func.isRequired,stop:D.default.func.isRequired})})]),type:D.default.oneOfType([D.default.oneOf([`button`,`reset`,`submit`]),D.default.string])});function Bu(e){return Zs(`MuiCircularProgress`,e)}Qs(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`circle`,`circleDeterminate`,`circleIndeterminate`,`circleDisableShrink`]);var Vu=44,Hu=vr`
|
|
224
135
|
0% {
|
|
225
136
|
transform: rotate(0deg);
|
|
226
137
|
}
|
|
@@ -228,7 +139,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
228
139
|
100% {
|
|
229
140
|
transform: rotate(360deg);
|
|
230
141
|
}
|
|
231
|
-
`,
|
|
142
|
+
`,Uu=vr`
|
|
232
143
|
0% {
|
|
233
144
|
stroke-dasharray: 1px, 200px;
|
|
234
145
|
stroke-dashoffset: 0;
|
|
@@ -243,9 +154,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
243
154
|
stroke-dasharray: 1px, 200px;
|
|
244
155
|
stroke-dashoffset: -126px;
|
|
245
156
|
}
|
|
246
|
-
`,
|
|
247
|
-
animation: ${
|
|
248
|
-
|
|
249
|
-
animation: ${
|
|
250
|
-
|
|
251
|
-
`)):null),classes:
|
|
157
|
+
`,Wu=typeof Hu==`string`?null:_r`
|
|
158
|
+
animation: ${Hu} 1.4s linear infinite;
|
|
159
|
+
`,Gu=typeof Uu==`string`?null:_r`
|
|
160
|
+
animation: ${Uu} 1.4s ease-in-out infinite;
|
|
161
|
+
`,Ku=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return oo({root:[`root`,n,`color${Oo(r)}`],svg:[`svg`],circle:[`circle`,`circle${Oo(n)}`,i&&`circleDisableShrink`]},Bu,t)},qu=Il(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Oo(n.color)}`]]}})(Ll(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:Wu||{animation:`${Hu} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Zl()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Ju=Il(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),Yu=Il(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${Oo(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Ll(({theme:e})=>({stroke:`currentColor`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`stroke-dashoffset`)}},{props:{variant:`indeterminate`},style:{strokeDasharray:`80px, 200px`,strokeDashoffset:0}},{props:({ownerState:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:Gu||{animation:`${Uu} 1.4s ease-in-out infinite`}}]}))),Xu=u.forwardRef(function(e,t){let n=zl({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,size:o=40,style:s,thickness:c=3.6,value:l=0,variant:u=`indeterminate`,...d}=n,f={...n,color:i,disableShrink:a,size:o,thickness:c,value:l,variant:u},p=Ku(f),m={},h={},g={};if(u===`determinate`){let e=2*Math.PI*((Vu-c)/2);m.strokeDasharray=e.toFixed(3),g[`aria-valuenow`]=Math.round(l),m.strokeDashoffset=`${((100-l)/100*e).toFixed(3)}px`,h.transform=`rotate(-90deg)`}return(0,H.jsx)(qu,{className:S(p.root,r),style:{width:o,height:o,...h,...s},ownerState:f,ref:t,role:`progressbar`,...g,...d,children:(0,H.jsx)(Ju,{className:p.svg,ownerState:f,viewBox:`${Vu/2} ${Vu/2} ${Vu} ${Vu}`,children:(0,H.jsx)(Yu,{className:p.circle,style:m,ownerState:f,cx:Vu,cy:Vu,r:(Vu-c)/2,fill:`none`,strokeWidth:c})})})});process.env.NODE_ENV!==`production`&&(Xu.propTypes={classes:D.default.object,className:D.default.string,color:D.default.oneOfType([D.default.oneOf([`inherit`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),D.default.string]),disableShrink:ao(D.default.bool,e=>e.disableShrink&&e.variant&&e.variant!==`indeterminate`?Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:D.default.oneOfType([D.default.number,D.default.string]),style:D.default.object,sx:D.default.oneOfType([D.default.arrayOf(D.default.oneOfType([D.default.func,D.default.object,D.default.bool])),D.default.func,D.default.object]),thickness:D.default.number,value:D.default.number,variant:D.default.oneOf([`determinate`,`indeterminate`])});function Zu(e){return Zs(`MuiIconButton`,e)}var Qu=Qs(`MuiIconButton`,[`root`,`disabled`,`colorInherit`,`colorPrimary`,`colorSecondary`,`colorError`,`colorInfo`,`colorSuccess`,`colorWarning`,`edgeStart`,`edgeEnd`,`sizeSmall`,`sizeMedium`,`sizeLarge`,`loading`,`loadingIndicator`,`loadingWrapper`]),$u=e=>{let{classes:t,disabled:n,color:r,edge:i,size:a,loading:o}=e;return oo({root:[`root`,o&&`loading`,n&&`disabled`,r!==`default`&&`color${Oo(r)}`,i&&`edge${Oo(i)}`,`size${Oo(a)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},Zu,t)},ed=Il(Ru,{name:`MuiIconButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!==`default`&&t[`color${Oo(n.color)}`],n.edge&&t[`edge${Oo(n.edge)}`],t[`size${Oo(n.size)}`]]}})(Ll(({theme:e})=>({textAlign:`center`,flex:`0 0 auto`,fontSize:e.typography.pxToRem(24),padding:8,borderRadius:`50%`,color:(e.vars||e).palette.action.active,transition:e.transitions.create(`background-color`,{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:yo(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:`var(--IconButton-hoverBg)`,"@media (hover: none)":{backgroundColor:`transparent`}}}},{props:{edge:`start`},style:{marginLeft:-12}},{props:{edge:`start`,size:`small`},style:{marginLeft:-3}},{props:{edge:`end`},style:{marginRight:-12}},{props:{edge:`end`,size:`small`},style:{marginRight:-3}}]})),Ll(({theme:e})=>({variants:[{props:{color:`inherit`},style:{color:`inherit`}},...Object.entries(e.palette).filter(Zl()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Zl()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:yo((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:`small`},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:`large`},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Qu.disabled}`]:{backgroundColor:`transparent`,color:(e.vars||e).palette.action.disabled},[`&.${Qu.loading}`]:{color:`transparent`}}))),td=Il(`span`,{name:`MuiIconButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,top:`50%`,left:`50%`,transform:`translate(-50%, -50%)`,color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:`flex`}}]})),nd=u.forwardRef(function(e,t){let n=zl({props:e,name:`MuiIconButton`}),{edge:r=!1,children:i,className:a,color:o=`default`,disabled:s=!1,disableFocusRipple:c=!1,size:l=`medium`,id:u,loading:d=null,loadingIndicator:f,...p}=n,m=Wl(u),h=f??(0,H.jsx)(Xu,{"aria-labelledby":m,color:`inherit`,size:16}),g={...n,edge:r,color:o,disabled:s,disableFocusRipple:c,loading:d,loadingIndicator:h,size:l},_=$u(g);return(0,H.jsxs)(ed,{id:d?m:u,className:S(_.root,a),centerRipple:!0,focusRipple:!c,disabled:s||d,ref:t,...p,ownerState:g,children:[typeof d==`boolean`&&(0,H.jsx)(`span`,{className:_.loadingWrapper,style:{display:`contents`},children:(0,H.jsx)(td,{className:_.loadingIndicator,ownerState:g,children:d&&h})}),i]})});process.env.NODE_ENV!==`production`&&(nd.propTypes={children:ao(D.default.node,e=>u.Children.toArray(e.children).some(e=>u.isValidElement(e)&&e.props.onClick)?Error([`MUI: You are providing an onClick event listener to a child of a button element.`,`Prefer applying it to the IconButton directly.`,`This guarantees that the whole <button> will be responsive to click events.`].join(`
|
|
162
|
+
`)):null),classes:D.default.object,className:D.default.string,color:D.default.oneOfType([D.default.oneOf([`inherit`,`default`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),D.default.string]),disabled:D.default.bool,disableFocusRipple:D.default.bool,disableRipple:D.default.bool,edge:D.default.oneOf([`end`,`start`,!1]),id:D.default.string,loading:D.default.bool,loadingIndicator:D.default.node,size:D.default.oneOfType([D.default.oneOf([`small`,`medium`,`large`]),D.default.string]),sx:D.default.oneOfType([D.default.arrayOf(D.default.oneOfType([D.default.func,D.default.object,D.default.bool])),D.default.func,D.default.object])});function rd(e){let t=()=>{e.onClose?.()},n={backgroundColor:e=>e.palette.primary.main,color:`#fff`,position:`relative`,paddingRight:7,height:e.height??40,display:`flex`,alignItems:`center`,boxSizing:`border-box`,...e.sx||{}};return(0,H.jsxs)(l.DialogTitle,{"data-testid":`dialog-title`,sx:n,children:[e.title,(0,H.jsx)(nd,{"aria-label":e.closeButtonAriaLabel??`Close dialog`,onClick:()=>t(),sx:{position:`absolute`,right:8,top:`50%`,transform:`translateY(-50%)`,color:`#fff`},children:(0,H.jsx)(io,{})})]})}var id=(0,u.createContext)(null),ad=()=>{let e=(0,u.useContext)(id);if(!e)throw Error(`useMessageDialog must be used within a MessageDialogProvider`);return e},od={okText:`OK`,cancelText:`Cancel`,alertTitle:`Alert`,confirmTitle:`Confirm`,errorTitle:`Error`,closeButtonAriaLabel:`Close dialog`,titleHeight:40},sd=e=>{let t=(0,u.useMemo)(()=>({...od,...e.settings??{}}),[e.settings]),n=(0,u.useMemo)(()=>({backgroundColor:e=>e.palette.primary.main,color:`#fff`}),[]),[r,i]=(0,u.useState)(!1),[a,o]=(0,u.useState)(``),[s,c]=(0,u.useState)(!1),[d,f]=(0,u.useState)(n),[p,m]=(0,u.useState)(t.alertTitle),[h,g]=(0,u.useState)(t.okText),[_,v]=(0,u.useState)(t.cancelText),y=(0,u.useRef)(null),b=(0,u.useCallback)(e=>{let t=y.current;y.current=null,t?.(e)},[]),x=(0,u.useCallback)(e=>{i(!1),b(e)},[b]),S=(0,u.useCallback)(e=>(y.current&&b(!1),o(e??``),i(!0),new Promise(e=>{y.current=e})),[b]),C=(0,u.useCallback)((e,r)=>(m(t.confirmTitle),g(r?.okText??t.okText),v(r?.cancelText??t.cancelText),c(!0),f(n),S(e)),[n,t]),w=(0,u.useCallback)(e=>(m(t.alertTitle),g(t.okText),c(!1),f(n),S(e)),[n,t]),ee=(0,u.useCallback)(e=>(m(t.errorTitle),g(t.okText),c(!1),f({backgroundColor:e=>e.palette.error.main,color:`#fff`}),S(e)),[t]),te=(e,t)=>{t!==`backdropClick`&&x(!1)},ne=(0,u.useMemo)(()=>({error:ee,alert:w,confirm:C}),[ee,w,C]);return(0,u.useEffect)(()=>{let e=e=>{y.current&&x(!1)};return window.addEventListener(`popstate`,e),()=>{window.removeEventListener(`popstate`,e)}},[x]),(0,u.useEffect)(()=>()=>{y.current&&b(!1)},[b]),(0,H.jsx)(H.Fragment,{children:(0,H.jsxs)(id.Provider,{value:ne,children:[e.children,(0,H.jsxs)(l.Dialog,{"data-testid":`message-dialog`,open:r,onClose:te,children:[(0,H.jsx)(rd,{title:p,onClose:()=>x(!1),height:t.titleHeight,sx:d,closeButtonAriaLabel:t.closeButtonAriaLabel}),(0,H.jsx)(l.DialogContent,{dividers:!0,sx:{whiteSpace:`pre-line`},children:a}),(0,H.jsxs)(l.DialogActions,{sx:{display:`flex`,justifyContent:`space-between`,paddingLeft:3,paddingRight:3},children:[(0,H.jsx)(`div`,{style:{flex:1,display:`flex`,justifyContent:s?`flex-start`:`center`},children:(0,H.jsx)(l.Button,{"data-testid":`message-dialog-ok-button`,onClick:()=>x(!0),sx:d,autoFocus:!0,children:h})}),s&&(0,H.jsx)(`div`,{style:{flex:1,display:`flex`,justifyContent:`flex-end`},children:(0,H.jsx)(l.Button,{"data-testid":`message-dialog-cancel-button`,onClick:()=>x(!1),variant:`outlined`,children:_})})]})]})]})})};exports.DialogTitleEx=rd,exports.MessageDialogProvider=sd,exports.useMessageDialog=ad;
|