mui-notifications 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
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),e=null),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(`react`);l=c(l,1);let u=require(`@mui/system`),d=require(`@mui/styled-engine`);d=c(d,1);let f=require(`react/jsx-runtime`),p=require(`@mui/material`);var m=l.createContext(null),h=0,g={show:(e,t)=>t?.key?t.key:(h+=1,`server-notification-${h}`),close:e=>{}};function _(){return l.useContext(m)||g}var v=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})),y=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,ee=c,te=s,ne=n,re=d,ie=i,ae=h,oe=m,w=r,T=o,E=a,D=f,se=!1;function ce(e){return se||(se=!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 O(e){return x(e)===d}function pe(e){return x(e)===i}function k(e){return x(e)===h}function A(e){return x(e)===m}function me(e){return x(e)===r}function he(e){return x(e)===o}function ge(e){return x(e)===a}function _e(e){return x(e)===f}e.AsyncMode=S,e.ConcurrentMode=C,e.ContextConsumer=ee,e.ContextProvider=te,e.Element=ne,e.ForwardRef=re,e.Fragment=ie,e.Lazy=ae,e.Memo=oe,e.Portal=w,e.Profiler=T,e.StrictMode=E,e.Suspense=D,e.isAsyncMode=ce,e.isConcurrentMode=le,e.isContextConsumer=ue,e.isContextProvider=de,e.isElement=fe,e.isForwardRef=O,e.isFragment=pe,e.isLazy=k,e.isMemo=A,e.isPortal=me,e.isProfiler=he,e.isStrictMode=ge,e.isSuspense=_e,e.isValidElementType=b,e.typeOf=x})()})),b=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=v():t.exports=y()})),x=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}})),S=o(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),C=o(((e,t)=>{t.exports=Function.call.bind(Object.prototype.hasOwnProperty)})),ee=o(((e,t)=>{var n=function(){};if(process.env.NODE_ENV!==`production`){var r=S(),i={},a=C();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})),te=o(((e,t)=>{var n=b(),r=x(),i=S(),a=C(),o=ee(),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:ne(),objectOf:ee,oneOf:C,oneOfType:te,shape:ie,exact:ae};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=E(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=se(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 E(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 ee(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 te(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 `+D(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 ne(){function e(e,t,n,r,i){return oe(e[t])?null:new h(`Invalid `+r+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return g(e)}function re(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 ie(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 re(r,a,o,l,E(u));var d=u(s,l,r,a,o+`.`+l,i);if(d)return d}return null}return g(t)}function ae(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 re(o,s,c,d,E(f));if(!f)return new h(`Invalid `+s+" `"+c+"` key `"+d+"` supplied to `"+o+`\`.
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),e=null),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(`react`),u=c(l,1);l=c(l);let d=require(`@mui/system`),f=require(`@mui/styled-engine`);f=c(f);let p=require(`react/jsx-runtime`),m=require(`@mui/material`);var h=u.createContext(null),g=0,_={show:(e,t)=>t?.key?t.key:(g+=1,`server-notification-${g}`),close:e=>{}};function v(){return u.useContext(h)||_}function y(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 b(e){if(typeof e!=`string`)throw Error(process.env.NODE_ENV===`production`?y(7):"MUI: `capitalize(string)` expects a string argument.");return e.charAt(0).toUpperCase()+e.slice(1)}var x=b,S=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})),ee=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,ee=u,te=c,ne=s,C=n,re=d,ie=i,ae=h,oe=m,se=r,w=o,T=a,ce=f,le=!1;function ue(e){return le||(le=!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.`)),E(e)||x(e)===l}function E(e){return x(e)===u}function D(e){return x(e)===c}function de(e){return x(e)===s}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===n}function k(e){return x(e)===d}function A(e){return x(e)===i}function j(e){return x(e)===h}function fe(e){return x(e)===m}function pe(e){return x(e)===r}function me(e){return x(e)===o}function he(e){return x(e)===a}function ge(e){return x(e)===f}e.AsyncMode=S,e.ConcurrentMode=ee,e.ContextConsumer=te,e.ContextProvider=ne,e.Element=C,e.ForwardRef=re,e.Fragment=ie,e.Lazy=ae,e.Memo=oe,e.Portal=se,e.Profiler=w,e.StrictMode=T,e.Suspense=ce,e.isAsyncMode=ue,e.isConcurrentMode=E,e.isContextConsumer=D,e.isContextProvider=de,e.isElement=O,e.isForwardRef=k,e.isFragment=A,e.isLazy=j,e.isMemo=fe,e.isPortal=pe,e.isProfiler=me,e.isStrictMode=he,e.isSuspense=ge,e.isValidElementType=b,e.typeOf=x})()})),te=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=S():t.exports=ee()})),ne=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}})),C=o(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),re=o(((e,t)=>{t.exports=Function.call.bind(Object.prototype.hasOwnProperty)})),ie=o(((e,t)=>{var n=function(){};if(process.env.NODE_ENV!==`production`){var r=C(),i={},a=re();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})),ae=o(((e,t)=>{var n=te(),r=ne(),i=C(),a=re(),o=ie(),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:C(),objectOf:te,oneOf:ee,oneOfType:ne,shape:ie,exact:ae};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(w(s)!==e){var c=T(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=w(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=w(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=w(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=le(t[n]);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("instance of `"+o+"`."))}return null}return g(t)}function ee(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 T(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 te(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=w(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 ne(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 `+ce(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 C(){function e(e,t,n,r,i){return oe(e[t])?null:new h(`Invalid `+r+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return g(e)}function re(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 ie(e){function t(t,n,r,a,o){var s=t[n],c=w(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 re(r,a,o,l,T(u));var d=u(s,l,r,a,o+`.`+l,i);if(d)return d}return null}return g(t)}function ae(e){function t(t,n,o,s,c){var l=t[n],u=w(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 re(o,s,c,d,T(f));if(!f)return new h(`Invalid `+s+" `"+c+"` key `"+d+"` supplied to `"+o+`\`.
2
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 oe(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(oe);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(!oe(i.value))return!1}else for(;!(i=r.next()).done;){var a=i.value;if(a&&!oe(a[1]))return!1}}else return!1;return!0;default:return!1}}function w(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`:w(t,e)?`symbol`:t}function E(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 D(e){var t=E(e);switch(t){case`array`:case`object`:return`an `+t;case`boolean`:case`date`:case`regexp`:return`a `+t;default:return t}}function se(e){return!e.constructor||!e.constructor.name?f:e.constructor.name}return p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p}})),ne=o(((e,t)=>{var n=S();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}})),re=o(((e,t)=>{if(process.env.NODE_ENV!==`production`){var n=b();t.exports=te()(n.isElement,!0)}else t.exports=ne()()}));function ie(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=ie(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function ae(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ie(e))&&(r&&(r+=` `),r+=t);return r}function oe(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 T(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 E=T;function D(e,t){let n=Array.isArray(t),r=Array.isArray(e);return de(t)?t:fe(e)?O(t):n&&r?le(e,t):n===r?pe(e,t):O(t)}function se(e){let t=0,n=e.length,r=Array(n);for(t=0;t<n;t+=1)r[t]=O(e[t]);return r}function ce(e){let t={};for(let n in e)t[n]=O(e[n]);return t}function le(e,t){let n=e.length;for(let r=0;r<t.length;r+=1)e[n+r]=O(t[r]);return e}function ue(e){return typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Date)}function de(e){return typeof e!=`object`||!e}function fe(e){return typeof e!=`object`||!e||e instanceof RegExp||e instanceof Date}function O(e){return ue(e)?Array.isArray(e)?se(e):ce(e):e}function pe(e,t){for(let n in t)n in e?e[n]=D(e[n],t[n]):e[n]=O(t[n]);return e}var k=c(re(),1),A=process.env.NODE_ENV===`production`?{}:k.default.oneOfType([k.default.number,k.default.string,k.default.object,k.default.array]);function me(e){if(e==null)return!0;for(let t in e)return!1;return!0}var he=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})),ge=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})()})),_e=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=he():t.exports=ge()}))();function j(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 ve(e){if(l.isValidElement(e)||(0,_e.isValidElementType)(e)||!j(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=ve(e[n])}),t}function M(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return j(e)&&j(t)&&Object.keys(t).forEach(i=>{l.isValidElement(t[i])||(0,_e.isValidElementType)(t[i])?r[i]=t[i]:j(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&j(e[i])?r[i]=M(e[i],t[i],n):n.clone?r[i]=j(t[i])?ve(t[i]):t[i]:r[i]=t[i]}),r}var ye=/min-width:\s*([0-9.]+)/;function be(e,t){if(!e.containerQueries||!xe(t))return t;let n=[];for(let e in t)e.startsWith(`@container`)&&n.push(e);n.sort((e,t)=>(e.match(ye)?.[1]||0)-+(t.match(ye)?.[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 xe(e){for(let t in e)if(t.startsWith(`@container`))return!0;return!1}function Se(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function Ce(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 we(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 Te=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 Ee(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Te(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 De={},Oe={xs:0,sm:600,md:900,lg:1200,xl:1536},ke=Ee({values:Oe}),Ae={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:Oe[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function je(e,t,n){let r={};return Me(r,e.theme,t,(e,t,i)=>{let a=n(t,i);e?r[e]=a:D(r,a)})}function Me(e,t,n,r){if(t??=De,Array.isArray(n)){let i=t.breakpoints??ke;for(let t=0;t<n.length;t+=1)Ne(e,i.up(i.keys[t]),n[t],void 0,r);return e}if(typeof n==`object`){let i=t.breakpoints??ke,a=i.values??Oe;for(let o in n)if(Se(i.keys,o)){let i=Ce(t.containerQueries?t:Ae,o);i&&Ne(e,i,n[o],o,r)}else if(o in a)Ne(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 Ne(e,t,n,r,i){e[t]??={},i(t,n,r)}function Pe(e=ke){let{internal_mediaKeys:t}=e,n={};for(let e=0;e<t.length;e+=1)n[t[e]]={};return n}function Fe(e,t){let n=e.internal_mediaKeys;for(let e=0;e<n.length;e+=1){let r=n[e];me(t[r])&&delete t[r]}return t}function Ie(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(Se(e.keys,n[t]))return!0}return!1}function Le(e,t,n,r){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||n:typeof n==`string`&&Re(e,n,!0,r)||n,t&&(i=t(i,n,e)),i}function Re(e,t,n=!0,r=void 0){if(!e||!t)return null;let i=t.split(`.`);if(e.vars&&n){let t=ze(e.vars,i,r);if(t!=null)return t}return ze(e,i,r)}function ze(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`?``:T(e)}`;return r?.[i]}return i}function N(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=Re(o,r)||{};return je(e,a,e=>{let r=Le(s,i,e,t);return n===!1?r:{[n]:r}})};return a.propTypes=process.env.NODE_ENV===`production`?{}:{[t]:A},a.filterProps=[t],a}var Be={internal_cache:{}},Ve={m:`margin`,p:`padding`},He={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Ue={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},We={};for(let e in Ve)We[e]=[Ve[e]];for(let e in Ve)for(let t in He){let n=Ve[e],r=He[t],i=Array.isArray(r)?r.map(e=>n+e):[n+r];We[e+t]=i}for(let e in Ue)We[e]=We[Ue[e]];var Ge=new Set([`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`]),Ke=new Set([`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`]),qe=new Set([...Ge,...Ke]);function Je(e,t,n,r){let i=Re(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(`
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 oe(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(oe);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(!oe(i.value))return!1}else for(;!(i=r.next()).done;){var a=i.value;if(a&&!oe(a[1]))return!1}}else return!1;return!0;default:return!1}}function se(e,t){return e===`symbol`?!0:t?t[`@@toStringTag`]===`Symbol`||typeof Symbol==`function`&&t instanceof Symbol:!1}function w(e){var t=typeof e;return Array.isArray(e)?`array`:e instanceof RegExp?`object`:se(t,e)?`symbol`:t}function T(e){if(e==null)return``+e;var t=w(e);if(t===`object`){if(e instanceof Date)return`date`;if(e instanceof RegExp)return`regexp`}return t}function ce(e){var t=T(e);switch(t){case`array`:case`object`:return`an `+t;case`boolean`:case`date`:case`regexp`:return`a `+t;default:return t}}function le(e){return!e.constructor||!e.constructor.name?f:e.constructor.name}return p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p}})),oe=o(((e,t)=>{var n=C();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}})),se=o(((e,t)=>{if(process.env.NODE_ENV!==`production`){var n=te();t.exports=ae()(n.isElement,!0)}else t.exports=oe()()}));function w(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=w(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function T(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=w(e))&&(r&&(r+=` `),r+=t);return r}function ce(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}var le=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})),ue=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})()})),E=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=le():t.exports=ue()}))();function D(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 de(e){if(l.isValidElement(e)||(0,E.isValidElementType)(e)||!D(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=de(e[n])}),t}function O(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return D(e)&&D(t)&&Object.keys(t).forEach(i=>{l.isValidElement(t[i])||(0,E.isValidElementType)(t[i])?r[i]=t[i]:D(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&D(e[i])?r[i]=O(e[i],t[i],n):n.clone?r[i]=D(t[i])?de(t[i]):t[i]:r[i]=t[i]}),r}function k(e,t){return t?O(e,t,{clone:!1}):e}var A=c(se()),j=process.env.NODE_ENV===`production`?{}:A.default.oneOfType([A.default.number,A.default.string,A.default.object,A.default.array]);function fe(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 pe(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function me(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!==`production`)throw Error(process.env.NODE_ENV===`production`?y(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 he(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 ge={xs:0,sm:600,md:900,lg:1200,xl:1536},_e={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${ge[e]}px)`},ve={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:ge[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function M(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||_e;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||_e;return Object.keys(t).reduce((i,a)=>{if(pe(e.keys,a)){let e=me(r.containerQueries?r:ve,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||ge).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 ye(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function be(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function xe(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 Se(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:xe(e,n)||r,t&&(i=t(i,r,e)),i}function N(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=xe(o,r)||{};return M(e,a,e=>{let r=Se(s,i,e);return e===r&&typeof e==`string`&&(r=Se(s,i,`${t}${e===`default`?``:b(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes=process.env.NODE_ENV===`production`?{}:{[t]:j},a.filterProps=[t],a}function Ce(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var we={m:`margin`,p:`padding`},Te={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Ee={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},De=Ce(e=>{if(e.length>2)if(Ee[e])e=Ee[e];else return[e];let[t,n]=e.split(``),r=we[t],i=Te[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),Oe=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],ke=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],Ae=[...Oe,...ke];function je(e,t,n,r){let i=xe(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`?`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
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 Ye(e){return Je(e,`spacing`,8,`spacing`)}function Xe(e,t){return typeof t==`string`||t==null?t:e(t)}var Ze=[``];function Qe(e,t){let n=e.theme??Be,r=n?.internal_cache?.unarySpacing??Ye(n),i={};for(let n in e){if(!t.has(n))continue;let a=We[n]??(Ze[0]=n,Ze),o=e[n];Me(i,e.theme,o,(e,t)=>{let n=e?i[e]:i;for(let e=0;e<a.length;e+=1)n[a[e]]=Xe(r,t)})}return i}function P(e){return Qe(e,Ge)}P.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(Ge).reduce((e,t)=>(e[t]=A,e),{}),P.filterProps=Ge;function F(e){return Qe(e,Ke)}F.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(Ke).reduce((e,t)=>(e[t]=A,e),{}),F.filterProps=Ke;function $e(e){return Qe(e,qe)}$e.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(qe).reduce((e,t)=>(e[t]=A,e),{}),$e.filterProps=qe;function et(...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]&&D(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 I(e){return typeof e==`number`?`${e}px solid`:e}function L(e,t){return N({prop:e,themeKey:`borders`,transform:t})}var tt=L(`border`,I),nt=L(`borderTop`,I),rt=L(`borderRight`,I),it=L(`borderBottom`,I),at=L(`borderLeft`,I),ot=L(`borderColor`),st=L(`borderTopColor`),ct=L(`borderRightColor`),lt=L(`borderBottomColor`),ut=L(`borderLeftColor`),dt=L(`outline`,I),ft=L(`outlineColor`),pt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Je(e.theme,`shape.borderRadius`,4,`borderRadius`);return je(e,e.borderRadius,e=>({borderRadius:Xe(t,e)}))}return null};pt.propTypes=process.env.NODE_ENV===`production`?{}:{borderRadius:A},pt.filterProps=[`borderRadius`],et(tt,nt,rt,it,at,ot,st,ct,lt,ut,pt,dt,ft);var mt=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Je(e.theme,`spacing`,8,`gap`);return je(e,e.gap,e=>({gap:Xe(t,e)}))}return null};mt.propTypes=process.env.NODE_ENV===`production`?{}:{gap:A},mt.filterProps=[`gap`];var ht=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Je(e.theme,`spacing`,8,`columnGap`);return je(e,e.columnGap,e=>({columnGap:Xe(t,e)}))}return null};ht.propTypes=process.env.NODE_ENV===`production`?{}:{columnGap:A},ht.filterProps=[`columnGap`];var gt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Je(e.theme,`spacing`,8,`rowGap`);return je(e,e.rowGap,e=>({rowGap:Xe(t,e)}))}return null};gt.propTypes=process.env.NODE_ENV===`production`?{}:{rowGap:A},gt.filterProps=[`rowGap`],et(mt,ht,gt,N({prop:`gridColumn`}),N({prop:`gridRow`}),N({prop:`gridAutoFlow`}),N({prop:`gridAutoColumns`}),N({prop:`gridAutoRows`}),N({prop:`gridTemplateColumns`}),N({prop:`gridTemplateRows`}),N({prop:`gridTemplateAreas`}),N({prop:`gridArea`}));function R(e,t){return t===`grey`?t:e}et(N({prop:`color`,themeKey:`palette`,transform:R}),N({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:R}),N({prop:`backgroundColor`,themeKey:`palette`,transform:R}));function z(e){return e<=1&&e!==0?`${e*100}%`:e}var _t=N({prop:`width`,transform:z}),vt=e=>e.maxWidth!==void 0&&e.maxWidth!==null?je(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||Oe[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:z(t)}}):null;vt.filterProps=[`maxWidth`];var yt=N({prop:`minWidth`,transform:z}),bt=N({prop:`height`,transform:z}),xt=N({prop:`maxHeight`,transform:z}),St=N({prop:`minHeight`,transform:z});N({prop:`size`,cssProperty:`width`,transform:z}),N({prop:`size`,cssProperty:`height`,transform:z}),et(_t,vt,yt,bt,xt,St,N({prop:`boxSizing`}));var Ct={border:{themeKey:`borders`,transform:I},borderTop:{themeKey:`borders`,transform:I},borderRight:{themeKey:`borders`,transform:I},borderBottom:{themeKey:`borders`,transform:I},borderLeft:{themeKey:`borders`,transform:I},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:I},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:pt},color:{themeKey:`palette`,transform:R},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:R},backgroundColor:{themeKey:`palette`,transform:R},p:{style:F},pt:{style:F},pr:{style:F},pb:{style:F},pl:{style:F},px:{style:F},py:{style:F},padding:{style:F},paddingTop:{style:F},paddingRight:{style:F},paddingBottom:{style:F},paddingLeft:{style:F},paddingX:{style:F},paddingY:{style:F},paddingInline:{style:F},paddingInlineStart:{style:F},paddingInlineEnd:{style:F},paddingBlock:{style:F},paddingBlockStart:{style:F},paddingBlockEnd:{style:F},m:{style:P},mt:{style:P},mr:{style:P},mb:{style:P},ml:{style:P},mx:{style:P},my:{style:P},margin:{style:P},marginTop:{style:P},marginRight:{style:P},marginBottom:{style:P},marginLeft:{style:P},marginX:{style:P},marginY:{style:P},marginInline:{style:P},marginInlineStart:{style:P},marginInlineEnd:{style:P},marginBlock:{style:P},marginBlockStart:{style:P},marginBlockEnd:{style:P},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:mt},rowGap:{style:gt},columnGap:{style:ht},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:vt},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`}},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??ke,l=Pe(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}Ie(c,i)?Me(l,t.theme,i,(e,t)=>{l[e][n]=t}):(o.sx=i,l[n]=e(o))}}return!i&&r.modularCssLayers?{"@layer sx":be(r,Fe(c,l))}:be(r,Fe(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){D(e,s({[t]:n,theme:r}));return}let{cssProperty:c=t,transform:l}=a,u=Re(r,o);Me(e,r,n,(n,r)=>{let i=Le(u,l,r,t);c===!1?D(n?e[n]:e,i):n?e[n][c]=i:e[c]=i})}function Ot(e,t){return typeof e==`function`?e(t):e}function kt(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function At(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}].`),kt(e,t,n)}function jt(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 B(e){if(e.type)return e;if(e.charAt(0)===`#`)return B(jt(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 Mt=e=>{let t=B(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},Nt=(e,t)=>{try{return Mt(e)}catch{return t&&process.env.NODE_ENV!==`production`&&console.warn(t),e}};function Pt(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 Ft(e){e=B(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])),Pt({type:s,values:c})}function It(e){e=B(e);let t=e.type===`hsl`||e.type===`hsla`?B(Ft(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 Lt(e,t){let n=It(e),r=It(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Rt(e,t){return e=B(e),t=At(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,Pt(e)}function V(e,t,n){try{return Rt(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function zt(e,t){if(e=B(e),t=At(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 Pt(e)}function H(e,t,n){try{return zt(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function Bt(e,t){if(e=B(e),t=At(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 Pt(e)}function U(e,t,n){try{return Bt(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function Vt(e,t=.15){return It(e)>.5?zt(e,t):Bt(e,t)}function Ht(e,t,n){try{return Vt(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}var Ut={black:`#000`,white:`#fff`},Wt={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`},W={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`},G={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`},Gt={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`},K={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`},q={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`},J={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 Kt(){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:Ut.white,default:Ut.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 qt=Kt();function Jt(){return{text:{primary:Ut.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:Ut.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 Yt=Jt();function Xt(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=Bt(e.main,i):t===`dark`&&(e.dark=zt(e.main,a)))}function Zt(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 Qt(e=`light`){return e===`dark`?{main:K[200],light:K[50],dark:K[400]}:{main:K[700],light:K[400],dark:K[800]}}function $t(e=`light`){return e===`dark`?{main:W[200],light:W[50],dark:W[400]}:{main:W[500],light:W[300],dark:W[700]}}function en(e=`light`){return e===`dark`?{main:G[500],light:G[300],dark:G[700]}:{main:G[700],light:G[400],dark:G[800]}}function tn(e=`light`){return e===`dark`?{main:q[400],light:q[300],dark:q[700]}:{main:q[700],light:q[500],dark:q[900]}}function nn(e=`light`){return e===`dark`?{main:J[400],light:J[300],dark:J[700]}:{main:J[800],light:J[500],dark:J[900]}}function rn(e=`light`){return e===`dark`?{main:Gt[400],light:Gt[300],dark:Gt[700]}:{main:`#ed6c02`,light:Gt[500],dark:Gt[900]}}function an(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function on(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...a}=e,o=e.primary||Qt(t),s=e.secondary||$t(t),c=e.error||en(t),l=e.info||tn(t),u=e.success||nn(t),d=e.warning||rn(t);function f(e){if(i)return an(e);let t=Lt(e,Yt.text.primary)>=n?Yt.text.primary:qt.text.primary;if(process.env.NODE_ENV!==`production`){let n=Lt(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(`
7
- `))}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
5
+ `)));let r=i[n];return e>=0?r:typeof r==`number`?-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 Me(e){return je(e,`spacing`,8,`spacing`)}function Ne(e,t){return typeof t==`string`||t==null?t:e(t)}function Pe(e,t){return n=>e.reduce((e,r)=>(e[r]=Ne(t,n),e),{})}function Fe(e,t,n,r){if(!t.includes(n))return null;let i=Pe(De(n),r),a=e[n];return M(e,a,i)}function Ie(e,t){let n=Me(e.theme);return Object.keys(e).map(r=>Fe(e,t,r,n)).reduce(k,{})}function P(e){return Ie(e,Oe)}P.propTypes=process.env.NODE_ENV===`production`?{}:Oe.reduce((e,t)=>(e[t]=j,e),{}),P.filterProps=Oe;function F(e){return Ie(e,ke)}F.propTypes=process.env.NODE_ENV===`production`?{}:ke.reduce((e,t)=>(e[t]=j,e),{}),F.filterProps=ke;function Le(e){return Ie(e,Ae)}Le.propTypes=process.env.NODE_ENV===`production`?{}:Ae.reduce((e,t)=>(e[t]=j,e),{}),Le.filterProps=Ae;function Re(...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]?k(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 I(e){return typeof e==`number`?`${e}px solid`:e}function L(e,t){return N({prop:e,themeKey:`borders`,transform:t})}var ze=L(`border`,I),Be=L(`borderTop`,I),Ve=L(`borderRight`,I),He=L(`borderBottom`,I),Ue=L(`borderLeft`,I),We=L(`borderColor`),Ge=L(`borderTopColor`),Ke=L(`borderRightColor`),qe=L(`borderBottomColor`),Je=L(`borderLeftColor`),Ye=L(`outline`,I),Xe=L(`outlineColor`),Ze=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=je(e.theme,`shape.borderRadius`,4,`borderRadius`);return M(e,e.borderRadius,e=>({borderRadius:Ne(t,e)}))}return null};Ze.propTypes=process.env.NODE_ENV===`production`?{}:{borderRadius:j},Ze.filterProps=[`borderRadius`],Re(ze,Be,Ve,He,Ue,We,Ge,Ke,qe,Je,Ze,Ye,Xe);var Qe=e=>{if(e.gap!==void 0&&e.gap!==null){let t=je(e.theme,`spacing`,8,`gap`);return M(e,e.gap,e=>({gap:Ne(t,e)}))}return null};Qe.propTypes=process.env.NODE_ENV===`production`?{}:{gap:j},Qe.filterProps=[`gap`];var $e=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=je(e.theme,`spacing`,8,`columnGap`);return M(e,e.columnGap,e=>({columnGap:Ne(t,e)}))}return null};$e.propTypes=process.env.NODE_ENV===`production`?{}:{columnGap:j},$e.filterProps=[`columnGap`];var et=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=je(e.theme,`spacing`,8,`rowGap`);return M(e,e.rowGap,e=>({rowGap:Ne(t,e)}))}return null};et.propTypes=process.env.NODE_ENV===`production`?{}:{rowGap:j},et.filterProps=[`rowGap`],Re(Qe,$e,et,N({prop:`gridColumn`}),N({prop:`gridRow`}),N({prop:`gridAutoFlow`}),N({prop:`gridAutoColumns`}),N({prop:`gridAutoRows`}),N({prop:`gridTemplateColumns`}),N({prop:`gridTemplateRows`}),N({prop:`gridTemplateAreas`}),N({prop:`gridArea`}));function R(e,t){return t===`grey`?t:e}Re(N({prop:`color`,themeKey:`palette`,transform:R}),N({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:R}),N({prop:`backgroundColor`,themeKey:`palette`,transform:R}));function z(e){return e<=1&&e!==0?`${e*100}%`:e}var tt=N({prop:`width`,transform:z}),nt=e=>e.maxWidth!==void 0&&e.maxWidth!==null?M(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||ge[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:z(t)}}):null;nt.filterProps=[`maxWidth`];var rt=N({prop:`minWidth`,transform:z}),it=N({prop:`height`,transform:z}),at=N({prop:`maxHeight`,transform:z}),ot=N({prop:`minHeight`,transform:z});N({prop:`size`,cssProperty:`width`,transform:z}),N({prop:`size`,cssProperty:`height`,transform:z}),Re(tt,nt,rt,it,at,ot,N({prop:`boxSizing`}));var st={border:{themeKey:`borders`,transform:I},borderTop:{themeKey:`borders`,transform:I},borderRight:{themeKey:`borders`,transform:I},borderBottom:{themeKey:`borders`,transform:I},borderLeft:{themeKey:`borders`,transform:I},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:I},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:Ze},color:{themeKey:`palette`,transform:R},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:R},backgroundColor:{themeKey:`palette`,transform:R},p:{style:F},pt:{style:F},pr:{style:F},pb:{style:F},pl:{style:F},px:{style:F},py:{style:F},padding:{style:F},paddingTop:{style:F},paddingRight:{style:F},paddingBottom:{style:F},paddingLeft:{style:F},paddingX:{style:F},paddingY:{style:F},paddingInline:{style:F},paddingInlineStart:{style:F},paddingInlineEnd:{style:F},paddingBlock:{style:F},paddingBlockStart:{style:F},paddingBlockEnd:{style:F},m:{style:P},mt:{style:P},mr:{style:P},mb:{style:P},ml:{style:P},mx:{style:P},my:{style:P},margin:{style:P},marginTop:{style:P},marginRight:{style:P},marginBottom:{style:P},marginLeft:{style:P},marginX:{style:P},marginY:{style:P},marginInline:{style:P},marginInlineStart:{style:P},marginInlineEnd:{style:P},marginBlock:{style:P},marginBlockStart:{style:P},marginBlockEnd:{style:P},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:Qe},rowGap:{style:et},columnGap:{style:$e},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:nt},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 ct(...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 lt(e,t){return typeof e==`function`?e(t):e}function ut(){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=xe(n,s)||{};return l?l(i):M(i,t,t=>{let n=Se(u,c,t);return t===n&&typeof t==`string`&&(n=Se(u,c,`${e}${t===`default`?``:b(t)}`,t)),o===!1?n:{[o]:n}})}function t(n){let{sx:r,theme:i={},nested:a}=n||{};if(!r)return null;let o=i.unstable_sxConfig??st;function s(n){let r=n;if(typeof n==`function`)r=n(i);else if(typeof n!=`object`)return n;if(!r)return null;let s=ye(i.breakpoints),c=Object.keys(s),l=s;return Object.keys(r).forEach(n=>{let a=lt(r[n],i);if(a!=null)if(typeof a==`object`)if(o[n])l=k(l,e(n,a,i,o));else{let e=M({theme:i},a,e=>({[n]:e}));ct(e,a)?l[n]=t({sx:a,theme:i,nested:!0}):l=k(l,e)}else l=k(l,e(n,a,i,o))}),!a&&i.modularCssLayers?{"@layer sx":fe(i,be(c,l))}:fe(i,be(c,l))}return Array.isArray(r)?r.map(s):s(r)}return t}var B=ut();B.filterProps=[`sx`];function dt(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function ft(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}].`),dt(e,t,n)}function pt(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 V(e){if(e.type)return e;if(e.charAt(0)===`#`)return V(pt(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`?y(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`?y(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 mt=e=>{let t=V(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},ht=(e,t)=>{try{return mt(e)}catch{return t&&process.env.NODE_ENV!==`production`&&console.warn(t),e}};function gt(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 _t(e){e=V(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])),gt({type:s,values:c})}function vt(e){e=V(e);let t=e.type===`hsl`||e.type===`hsla`?V(_t(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 yt(e,t){let n=vt(e),r=vt(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function bt(e,t){return e=V(e),t=ft(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,gt(e)}function xt(e,t,n){try{return bt(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function St(e,t){if(e=V(e),t=ft(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 gt(e)}function H(e,t,n){try{return St(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function Ct(e,t){if(e=V(e),t=ft(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 gt(e)}function U(e,t,n){try{return Ct(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function wt(e,t=.15){return vt(e)>.5?St(e,t):Ct(e,t)}function Tt(e,t,n){try{return wt(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}var Et={black:`#000`,white:`#fff`},Dt={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`},W={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`},G={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`},Ot={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`},K={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`},q={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`},J={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 kt(){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:Et.white,default:Et.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 At=kt();function jt(){return{text:{primary:Et.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:Et.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 Mt=jt();function Nt(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=Ct(e.main,i):t===`dark`&&(e.dark=St(e.main,a)))}function Pt(e=`light`){return e===`dark`?{main:K[200],light:K[50],dark:K[400]}:{main:K[700],light:K[400],dark:K[800]}}function Ft(e=`light`){return e===`dark`?{main:W[200],light:W[50],dark:W[400]}:{main:W[500],light:W[300],dark:W[700]}}function It(e=`light`){return e===`dark`?{main:G[500],light:G[300],dark:G[700]}:{main:G[700],light:G[400],dark:G[800]}}function Lt(e=`light`){return e===`dark`?{main:q[400],light:q[300],dark:q[700]}:{main:q[700],light:q[500],dark:q[900]}}function Rt(e=`light`){return e===`dark`?{main:J[400],light:J[300],dark:J[700]}:{main:J[800],light:J[500],dark:J[900]}}function zt(e=`light`){return e===`dark`?{main:Ot[400],light:Ot[300],dark:Ot[700]}:{main:`#ed6c02`,light:Ot[500],dark:Ot[900]}}function Bt(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,...i}=e,a=e.primary||Pt(t),o=e.secondary||Ft(t),s=e.error||It(t),c=e.info||Lt(t),l=e.success||Rt(t),u=e.warning||zt(t);function d(e){let t=yt(e,Mt.text.primary)>=n?Mt.text.primary:At.text.primary;if(process.env.NODE_ENV!==`production`){let n=yt(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(`
7
+ `))}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`?y(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`?y(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
8
8
  Did you intend to use one of the following approaches?
9
9
 
10
10
  import { green } from "@mui/material/colors";
@@ -15,14 +15,14 @@ const theme1 = createTheme({ palette: {
15
15
 
16
16
  const theme2 = createTheme({ palette: {
17
17
  primary: { main: green[500] },
18
- } });`);return i?(Zt(i,e,`light`,a,r),Zt(i,e,`dark`,o,r)):(Xt(e,`light`,a,r),Xt(e,`dark`,o,r)),e.contrastText||=f(e.main),e},m;return t===`light`?m=Kt():t===`dark`&&(m=Jt()),process.env.NODE_ENV!==`production`&&(m||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),M({common:{...Ut},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:Wt,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...m},a)}function sn(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]=sn(i[t],o[t],n)}}}else a===`className`&&n&&t.className!==void 0?r.className=ae(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}var cn=l.createContext(void 0);function ln({value:e,children:t}){return(0,f.jsx)(cn.Provider,{value:e,children:t})}process.env.NODE_ENV!==`production`&&(ln.propTypes={children:k.default.node,value:k.default.object});function un(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?sn(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?sn(i,r,t.components.mergeClassNameAndStyle):r}function dn({props:e,name:t}){return un({props:e,name:t,theme:{components:l.useContext(cn)}})}var fn={borderRadius:4};function pn(e=8,t=Ye({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 mn(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 hn(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Ee(n),c=pn(i),l=M({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...fn,...a}},o);return l=we(l),l.applyStyles=mn,l=t.reduce((e,t)=>M(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 gn=(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])})},_n=(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)},vn=(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 yn(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return _n(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=vn(e,t);Object.assign(i,{[r]:c}),gn(a,e,`var(${r})`,s),gn(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function bn(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}=yn(l,t),p=f,m={},{[c]:h,...g}=o;if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=yn(n,t);p=M(p,a),m[e]={css:i,vars:r}}),h){let{css:e,vars:n,varsWithDefaults:r}=yn(h,t);p=M(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=M(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 xn(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 Sn(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 Cn=e=>e,wn=(()=>{let e=Cn;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Cn}}})(),Tn={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 En(e,t,n=`Mui`){let r=Tn[t];return r?`${n}-${r}`:`${wn.generate(e)}-${t}`}function Dn(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function On(e){return Math.round(e*1e5)/1e5}var kn={textTransform:`uppercase`},An=`"Roboto", "Helvetica", "Arial", sans-serif`;function jn(e,t){let{fontFamily:n=An,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===An?{letterSpacing:`${On(i/t)}em`}:{},...a,...l});return M({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,kn),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,kn),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var Mn=.2,Nn=.14,Pn=.12;function Y(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Mn})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Nn})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Pn})`].join(`,`)}var Fn=[`none`,Y(0,2,1,-1,0,1,1,0,0,1,3,0),Y(0,3,1,-2,0,2,2,0,0,1,5,0),Y(0,3,3,-2,0,3,4,0,0,1,8,0),Y(0,2,4,-1,0,4,5,0,0,1,10,0),Y(0,3,5,-1,0,5,8,0,0,1,14,0),Y(0,3,5,-1,0,6,10,0,0,1,18,0),Y(0,4,5,-2,0,7,10,1,0,2,16,1),Y(0,5,5,-3,0,8,10,1,0,3,14,2),Y(0,5,6,-3,0,9,12,1,0,3,16,2),Y(0,6,6,-3,0,10,14,1,0,4,18,3),Y(0,6,7,-4,0,11,15,1,0,4,20,3),Y(0,7,8,-4,0,12,17,2,0,5,22,4),Y(0,7,8,-4,0,13,19,2,0,5,24,4),Y(0,7,9,-4,0,14,21,2,0,5,26,4),Y(0,8,9,-5,0,15,22,2,0,6,28,5),Y(0,8,10,-5,0,16,24,2,0,6,30,5),Y(0,8,11,-5,0,17,26,2,0,6,32,5),Y(0,9,11,-5,0,18,28,2,0,7,34,6),Y(0,9,12,-6,0,19,29,2,0,7,36,6),Y(0,10,13,-6,0,20,31,3,0,8,38,7),Y(0,10,13,-6,0,21,33,3,0,8,40,7),Y(0,10,14,-6,0,22,35,3,0,8,42,7),Y(0,11,14,-7,0,23,36,3,0,9,44,8),Y(0,11,15,-7,0,24,38,3,0,9,46,8)],In={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)`},Ln={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Rn(e){return`${Math.round(e)}ms`}function zn(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Bn(e){let t={...In,...e.easing},n={...Ln,...e.duration};return{getAutoHeightDuration:zn,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(`
19
- `)),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:Rn(i)} ${a} ${typeof o==`string`?o:Rn(o)}`).join(`,`)},...e,easing:t,duration:n}}var Vn={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Hn(e){return j(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function Un(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];!Hn(a)||i.startsWith(`unstable_`)||i.startsWith(`internal_`)?delete e[i]:j(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
18
+ } });`);return Nt(e,`light`,i,r),Nt(e,`dark`,a,r),e.contrastText||=d(e.main),e},p;return t===`light`?p=kt():t===`dark`&&(p=jt()),process.env.NODE_ENV!==`production`&&(p||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),O({common:{...Et},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:Dt,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r,...p},i)}function Vt(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]=Vt(r[t],a[t])}}}else n[i]===void 0&&(n[i]=e[i])}return n}var Ht=l.createContext(void 0);function Ut({value:e,children:t}){return(0,p.jsx)(Ht.Provider,{value:e,children:t})}process.env.NODE_ENV!==`production`&&(Ut.propTypes={children:A.default.node,value:A.default.object});function Wt(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?Vt(i.defaultProps,r):!i.styleOverrides&&!i.variants?Vt(i,r):r}function Gt({props:e,name:t}){return Wt({props:e,name:t,theme:{components:l.useContext(Ht)}})}var Kt=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 qt(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Kt(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 Jt={borderRadius:4};function Yt(e=8,t=Me({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 Xt(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 Zt(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=qt(n),c=Yt(i),l=O({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Jt,...a}},o);return l=he(l),l.applyStyles=Xt,l=t.reduce((e,t)=>O(e,t),l),l.unstable_sxConfig={...st,...o?.unstable_sxConfig},l.unstable_sx=function(e){return B({sx:e,theme:this})},l}var Qt=(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])})},$t=(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)},en=(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 tn(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return $t(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=en(e,t);Object.assign(i,{[r]:c}),Qt(a,e,`var(${r})`,s),Qt(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function nn(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}=tn(c,t),f=d,p={},{[s]:m,...h}=a;if(Object.entries(h||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=tn(n,t);f=O(f,a),p[e]={css:i,vars:r}}),m){let{css:e,vars:n,varsWithDefaults:r}=tn(m,t);f=O(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=O(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 rn(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 an(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 on=e=>e,sn=(()=>{let e=on;return{configure(t){e=t},generate(t){return e(t)},reset(){e=on}}})(),cn={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 ln(e,t,n=`Mui`){let r=cn[t];return r?`${n}-${r}`:`${sn.generate(e)}-${t}`}function un(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function dn(e){return Math.round(e*1e5)/1e5}var fn={textTransform:`uppercase`},pn=`"Roboto", "Helvetica", "Arial", sans-serif`;function mn(e,t){let{fontFamily:n=pn,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===pn?{letterSpacing:`${dn(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,fn),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,fn),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var hn=.2,gn=.14,_n=.12;function Y(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${hn})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${gn})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${_n})`].join(`,`)}var vn=[`none`,Y(0,2,1,-1,0,1,1,0,0,1,3,0),Y(0,3,1,-2,0,2,2,0,0,1,5,0),Y(0,3,3,-2,0,3,4,0,0,1,8,0),Y(0,2,4,-1,0,4,5,0,0,1,10,0),Y(0,3,5,-1,0,5,8,0,0,1,14,0),Y(0,3,5,-1,0,6,10,0,0,1,18,0),Y(0,4,5,-2,0,7,10,1,0,2,16,1),Y(0,5,5,-3,0,8,10,1,0,3,14,2),Y(0,5,6,-3,0,9,12,1,0,3,16,2),Y(0,6,6,-3,0,10,14,1,0,4,18,3),Y(0,6,7,-4,0,11,15,1,0,4,20,3),Y(0,7,8,-4,0,12,17,2,0,5,22,4),Y(0,7,8,-4,0,13,19,2,0,5,24,4),Y(0,7,9,-4,0,14,21,2,0,5,26,4),Y(0,8,9,-5,0,15,22,2,0,6,28,5),Y(0,8,10,-5,0,16,24,2,0,6,30,5),Y(0,8,11,-5,0,17,26,2,0,6,32,5),Y(0,9,11,-5,0,18,28,2,0,7,34,6),Y(0,9,12,-6,0,19,29,2,0,7,36,6),Y(0,10,13,-6,0,20,31,3,0,8,38,7),Y(0,10,13,-6,0,21,33,3,0,8,40,7),Y(0,10,14,-6,0,22,35,3,0,8,42,7),Y(0,11,14,-7,0,23,36,3,0,9,44,8),Y(0,11,15,-7,0,24,38,3,0,9,46,8)],yn={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)`},bn={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function xn(e){return`${Math.round(e)}ms`}function Sn(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Cn(e){let t={...yn,...e.easing},n={...bn,...e.duration};return{getAutoHeightDuration:Sn,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(`
19
+ `)),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:xn(i)} ${a} ${typeof o==`string`?o:xn(o)}`).join(`,`)},...e,easing:t,duration:n}}var wn={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Tn(e){return D(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function En(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];!Tn(a)||i.startsWith(`unstable_`)?delete e[i]:D(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
20
20
 
21
21
  const theme = ${JSON.stringify(t,null,2)};
22
22
 
23
23
  theme.breakpoints = createBreakpoints(theme.breakpoints || {});
24
24
  theme.transitions = createTransitions(theme.transitions || {});
25
25
 
26
- export default theme;`}function Wn(e){return typeof e==`number`?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var Gn=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 Kn(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})`:Rt(t,Gn(n))},lighten(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${Wn(n)})`:Bt(t,n)},darken(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${Wn(n)})`:zt(t,n)}})}function qn(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=on({...a,colorSpace:l}),f=hn(e),p=M(f,{mixins:Dn(f.breakpoints,r),palette:d,shadows:Fn.slice(),typography:jn(d,s),transitions:Bn(o),zIndex:{...Vn}});if(p=M(p,u),p=t.reduce((e,t)=>M(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=En(``,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(`
27
- `))}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=Un,Kn(p),p}function Jn(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var Yn=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=Jn(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Xn(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function Zn(e){return e===`dark`?Yn:[]}function Qn(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=on({...t,colorSpace:i});return{palette:o,opacity:{...Xn(o.mode),...n},overlays:r||Zn(o.mode),...a}}function $n(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 er=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],tr=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 er(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 nr(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function X(e,t,n){!e[t]&&n&&(e[t]=n)}function rr(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:Ft(e)}function Z(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Nt(rr(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().
28
- 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 ir(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var Q=e=>{try{return e()}catch{}},ar=(e=`mui`)=>(0,u.unstable_createGetCssVar)(e);function or(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=Qn({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=qn({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...Xn(a),...n?.opacity},overlays:n?.overlays||Zn(a)},s}function sr(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=$n,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...d}=e,f=Object.keys(n)[0],p=r||(n.light&&f!==`light`?`light`:f),m=ar(a),{[p]:h,light:g,dark:_,...v}=n,y={...v},b=h;if((p===`dark`&&!(`dark`in n)||p===`light`&&!(`light`in n))&&(b=!0),!b)throw Error(process.env.NODE_ENV===`production`?w(21,p):`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`);let x;o&&(x=`oklch`);let S=or(x,y,b,d,p);g&&!y.light&&or(x,y,g,void 0,`light`),_&&!y.dark&&or(x,y,_,void 0,`dark`);let C={defaultColorScheme:p,...S,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:m,colorSchemes:y,font:{...xn(S.typography),...S.font},spacing:ir(d.spacing)};Object.keys(C.colorSchemes).forEach(e=>{let t=C.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return m(e,t[r][i])};t.mode===`light`&&(X(t.common,`background`,`#fff`),X(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(X(t.common,`background`,`#000`),X(t.common,`onBackground`,`#fff`));function r(e,t,n){if(x){let r;return e===V&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===H&&(r=`#000 ${(n*100).toFixed(0)}%`),e===U&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${x}, ${t}, ${r})`}return e(t,n)}if(nr(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){X(t.Alert,`errorColor`,r(H,o?m(`palette-error-light`):t.error.light,.6)),X(t.Alert,`infoColor`,r(H,o?m(`palette-info-light`):t.info.light,.6)),X(t.Alert,`successColor`,r(H,o?m(`palette-success-light`):t.success.light,.6)),X(t.Alert,`warningColor`,r(H,o?m(`palette-warning-light`):t.warning.light,.6)),X(t.Alert,`errorFilledBg`,n(`palette-error-main`)),X(t.Alert,`infoFilledBg`,n(`palette-info-main`)),X(t.Alert,`successFilledBg`,n(`palette-success-main`)),X(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),X(t.Alert,`errorFilledColor`,Q(()=>t.getContrastText(t.error.main))),X(t.Alert,`infoFilledColor`,Q(()=>t.getContrastText(t.info.main))),X(t.Alert,`successFilledColor`,Q(()=>t.getContrastText(t.success.main))),X(t.Alert,`warningFilledColor`,Q(()=>t.getContrastText(t.warning.main))),X(t.Alert,`errorStandardBg`,r(U,o?m(`palette-error-light`):t.error.light,.9)),X(t.Alert,`infoStandardBg`,r(U,o?m(`palette-info-light`):t.info.light,.9)),X(t.Alert,`successStandardBg`,r(U,o?m(`palette-success-light`):t.success.light,.9)),X(t.Alert,`warningStandardBg`,r(U,o?m(`palette-warning-light`):t.warning.light,.9)),X(t.Alert,`errorIconColor`,n(`palette-error-main`)),X(t.Alert,`infoIconColor`,n(`palette-info-main`)),X(t.Alert,`successIconColor`,n(`palette-success-main`)),X(t.Alert,`warningIconColor`,n(`palette-warning-main`)),X(t.AppBar,`defaultBg`,n(`palette-grey-100`)),X(t.Avatar,`defaultBg`,n(`palette-grey-400`)),X(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),X(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),X(t.Chip,`defaultBorder`,n(`palette-grey-400`)),X(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),X(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),X(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),X(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),X(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),X(t.LinearProgress,`primaryBg`,r(U,o?m(`palette-primary-main`):t.primary.main,.62)),X(t.LinearProgress,`secondaryBg`,r(U,o?m(`palette-secondary-main`):t.secondary.main,.62)),X(t.LinearProgress,`errorBg`,r(U,o?m(`palette-error-main`):t.error.main,.62)),X(t.LinearProgress,`infoBg`,r(U,o?m(`palette-info-main`):t.info.main,.62)),X(t.LinearProgress,`successBg`,r(U,o?m(`palette-success-main`):t.success.main,.62)),X(t.LinearProgress,`warningBg`,r(U,o?m(`palette-warning-light`):t.warning.main,.62)),X(t.Skeleton,`bg`,x?r(V,o?m(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),X(t.Slider,`primaryTrack`,r(U,o?m(`palette-primary-main`):t.primary.main,.62)),X(t.Slider,`secondaryTrack`,r(U,o?m(`palette-secondary-main`):t.secondary.main,.62)),X(t.Slider,`errorTrack`,r(U,o?m(`palette-error-main`):t.error.main,.62)),X(t.Slider,`infoTrack`,r(U,o?m(`palette-info-main`):t.info.main,.62)),X(t.Slider,`successTrack`,r(U,o?m(`palette-success-main`):t.success.main,.62)),X(t.Slider,`warningTrack`,r(U,o?m(`palette-warning-main`):t.warning.main,.62));let e=x?r(H,o?m(`palette-background-default`):t.background.default,.6825):Ht(t.background.default,.8);X(t.SnackbarContent,`bg`,e),X(t.SnackbarContent,`color`,Q(()=>x?Yt.text.primary:t.getContrastText(e))),X(t.SpeedDialAction,`fabHoverBg`,Ht(t.background.paper,.15)),X(t.StepConnector,`border`,n(`palette-grey-400`)),X(t.StepContent,`border`,n(`palette-grey-400`)),X(t.Switch,`defaultColor`,n(`palette-common-white`)),X(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),X(t.Switch,`primaryDisabledColor`,r(U,o?m(`palette-primary-main`):t.primary.main,.62)),X(t.Switch,`secondaryDisabledColor`,r(U,o?m(`palette-secondary-main`):t.secondary.main,.62)),X(t.Switch,`errorDisabledColor`,r(U,o?m(`palette-error-main`):t.error.main,.62)),X(t.Switch,`infoDisabledColor`,r(U,o?m(`palette-info-main`):t.info.main,.62)),X(t.Switch,`successDisabledColor`,r(U,o?m(`palette-success-main`):t.success.main,.62)),X(t.Switch,`warningDisabledColor`,r(U,o?m(`palette-warning-main`):t.warning.main,.62)),X(t.TableCell,`border`,r(U,V(o?m(`palette-divider`):t.divider,1),.88)),X(t.Tooltip,`bg`,r(V,o?m(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){X(t.Alert,`errorColor`,r(U,o?m(`palette-error-light`):t.error.light,.6)),X(t.Alert,`infoColor`,r(U,o?m(`palette-info-light`):t.info.light,.6)),X(t.Alert,`successColor`,r(U,o?m(`palette-success-light`):t.success.light,.6)),X(t.Alert,`warningColor`,r(U,o?m(`palette-warning-light`):t.warning.light,.6)),X(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),X(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),X(t.Alert,`successFilledBg`,n(`palette-success-dark`)),X(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),X(t.Alert,`errorFilledColor`,Q(()=>t.getContrastText(t.error.dark))),X(t.Alert,`infoFilledColor`,Q(()=>t.getContrastText(t.info.dark))),X(t.Alert,`successFilledColor`,Q(()=>t.getContrastText(t.success.dark))),X(t.Alert,`warningFilledColor`,Q(()=>t.getContrastText(t.warning.dark))),X(t.Alert,`errorStandardBg`,r(H,o?m(`palette-error-light`):t.error.light,.9)),X(t.Alert,`infoStandardBg`,r(H,o?m(`palette-info-light`):t.info.light,.9)),X(t.Alert,`successStandardBg`,r(H,o?m(`palette-success-light`):t.success.light,.9)),X(t.Alert,`warningStandardBg`,r(H,o?m(`palette-warning-light`):t.warning.light,.9)),X(t.Alert,`errorIconColor`,n(`palette-error-main`)),X(t.Alert,`infoIconColor`,n(`palette-info-main`)),X(t.Alert,`successIconColor`,n(`palette-success-main`)),X(t.Alert,`warningIconColor`,n(`palette-warning-main`)),X(t.AppBar,`defaultBg`,n(`palette-grey-900`)),X(t.AppBar,`darkBg`,n(`palette-background-paper`)),X(t.AppBar,`darkColor`,n(`palette-text-primary`)),X(t.Avatar,`defaultBg`,n(`palette-grey-600`)),X(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),X(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),X(t.Chip,`defaultBorder`,n(`palette-grey-700`)),X(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),X(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),X(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),X(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),X(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),X(t.LinearProgress,`primaryBg`,r(H,o?m(`palette-primary-main`):t.primary.main,.5)),X(t.LinearProgress,`secondaryBg`,r(H,o?m(`palette-secondary-main`):t.secondary.main,.5)),X(t.LinearProgress,`errorBg`,r(H,o?m(`palette-error-main`):t.error.main,.5)),X(t.LinearProgress,`infoBg`,r(H,o?m(`palette-info-main`):t.info.main,.5)),X(t.LinearProgress,`successBg`,r(H,o?m(`palette-success-main`):t.success.main,.5)),X(t.LinearProgress,`warningBg`,r(H,o?m(`palette-warning-main`):t.warning.main,.5)),X(t.Skeleton,`bg`,x?r(V,o?m(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),X(t.Slider,`primaryTrack`,r(H,o?m(`palette-primary-main`):t.primary.main,.5)),X(t.Slider,`secondaryTrack`,r(H,o?m(`palette-secondary-main`):t.secondary.main,.5)),X(t.Slider,`errorTrack`,r(H,o?m(`palette-error-main`):t.error.main,.5)),X(t.Slider,`infoTrack`,r(H,o?m(`palette-info-main`):t.info.main,.5)),X(t.Slider,`successTrack`,r(H,o?m(`palette-success-main`):t.success.main,.5)),X(t.Slider,`warningTrack`,r(H,o?m(`palette-warning-light`):t.warning.main,.5));let e=x?r(U,o?m(`palette-background-default`):t.background.default,.985):Ht(t.background.default,.98);X(t.SnackbarContent,`bg`,e),X(t.SnackbarContent,`color`,Q(()=>x?qt.text.primary:t.getContrastText(e))),X(t.SpeedDialAction,`fabHoverBg`,Ht(t.background.paper,.15)),X(t.StepConnector,`border`,n(`palette-grey-600`)),X(t.StepContent,`border`,n(`palette-grey-600`)),X(t.Switch,`defaultColor`,n(`palette-grey-300`)),X(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),X(t.Switch,`primaryDisabledColor`,r(H,o?m(`palette-primary-main`):t.primary.main,.55)),X(t.Switch,`secondaryDisabledColor`,r(H,o?m(`palette-secondary-main`):t.secondary.main,.55)),X(t.Switch,`errorDisabledColor`,r(H,o?m(`palette-error-main`):t.error.main,.55)),X(t.Switch,`infoDisabledColor`,r(H,o?m(`palette-info-main`):t.info.main,.55)),X(t.Switch,`successDisabledColor`,r(H,o?m(`palette-success-main`):t.success.main,.55)),X(t.Switch,`warningDisabledColor`,r(H,o?m(`palette-warning-light`):t.warning.main,.55)),X(t.TableCell,`border`,r(H,V(o?m(`palette-divider`):t.divider,1),.68)),X(t.Tooltip,`bg`,r(V,o?m(`palette-grey-700`):t.grey[700],.92))}o||(Z(t.background,`default`),Z(t.background,`paper`),Z(t.common,`background`),Z(t.common,`onBackground`),Z(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&X(t[e],`mainChannel`,Nt(rr(n.main))),n.light&&X(t[e],`lightChannel`,Nt(rr(n.light))),n.dark&&X(t[e],`darkChannel`,Nt(rr(n.dark))),n.contrastText&&X(t[e],`contrastTextChannel`,Nt(rr(n.contrastText))),e===`text`&&(Z(t[e],`primary`),Z(t[e],`secondary`)),e===`action`&&(n.active&&Z(t[e],`active`),n.selected&&Z(t[e],`selected`)))})}),C=t.reduce((e,t)=>M(e,t),C);let ee={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:tr(C),enableContrastVars:o},{vars:te,generateThemeVars:ne,generateStyleSheets:re}=bn(C,ee);return C.vars=te,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([e,t])=>{C[e]=t}),C.generateThemeVars=ne,C.generateStyleSheets=re,C.generateSpacing=function(){return(0,u.createSpacing)(d.spacing,Ye(this))},C.getColorSchemeSelector=Sn(c),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=s,C.unstable_sxConfig={...Ct,...d?.unstable_sxConfig},C.unstable_sx=function(e){return Et({sx:e,theme:this})},C.internal_cache={},C.toRuntimeSource=Un,C}function cr(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:on({...n===!0?{}:n.palette,mode:t})})}function lr(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 qn(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=qn({...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},cr(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},cr(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),sr({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var ur=lr(),dr=`$$material`;function fr(e,t=``){return e.displayName||e.name||t}function pr(e,t,n){let r=fr(t);return e.displayName||(r===``?n:`${n}(${r})`)}function mr(e){if(e!=null){if(typeof e==`string`)return e;if(typeof e==`function`)return fr(e,`Component`);if(typeof e==`object`)switch(e.$$typeof){case _e.ForwardRef:return pr(e,e.render,`ForwardRef`);case _e.Memo:return pr(e,e.type,`memo`);default:return}}}function hr(e){let{variants:t,...n}=e,r={variants:t,style:(0,d.internal_serializeStyles)(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=(0,d.internal_serializeStyles)(e.style))}),r}var gr=hn();function _r(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function $(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function vr(e){return e?(t,n)=>n[e]:null}function yr(e,t,n){e.theme=me(e.theme)?n:e.theme[t]||e.theme}function br(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>br(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?$(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?$((0,d.internal_serializeStyles)(i),n):i}return xr(e,r.variants,[t],n)}return r?.isProcessed?n?$((0,d.internal_serializeStyles)(r.style),n):r.style:n?$((0,d.internal_serializeStyles)(r),n):r}function xr(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?$((0,d.internal_serializeStyles)(o.style(i)),r):o.style(i))):n.push(r?$((0,d.internal_serializeStyles)(o.style),r):o.style)}return n}function Sr(e={}){let{themeId:t,defaultTheme:n=gr,rootShouldForwardProp:r=_r,slotShouldForwardProp:i=_r}=e;function a(e){yr(e,t,n)}return(e,t={})=>{(0,d.internal_mutateStyles)(e,e=>e.filter(e=>e!==Et));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=vr(Er(o)),...u}=t,f=n&&n.startsWith(`Mui`)||o?`components`:`custom`,p=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,m=c||!1,h=_r;o===`Root`||o===`root`?h=r:o?h=i:Tr(e)&&(h=void 0);let g=(0,d.default)(e,{shouldForwardProp:h,label:wr(n,o),...u}),_=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return br(t,e,t.theme.modularCssLayers?f:void 0)};if(j(e)){let t=hr(e);return function(e){return t.variants?br(e,t,e.theme.modularCssLayers?f:void 0):e.theme.modularCssLayers?$(t.style,f):t.style}}return e},v=(...t)=>{let r=[],i=t.map(_),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]=br(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!p&&s.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?xr(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),m||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=g(...r,...i,...s);return e.muiName&&(c.muiName=e.muiName),process.env.NODE_ENV!==`production`&&(c.displayName=Cr(n,o,e)),c};return g.withConfig&&(v.withConfig=g.withConfig),v}}function Cr(e,t,n){return e?`${e}${T(t||``)}`:`Styled(${mr(n)})`}function wr(e,t){let n;return process.env.NODE_ENV!==`production`&&e&&(n=`${e}-${Er(t||`Root`)}`),n}function Tr(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Er(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Dr(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var Or=Sr({themeId:dr,defaultTheme:ur,rootShouldForwardProp:e=>Dr(e)&&e!==`classes`}),kr=u.unstable_memoTheme;function Ar(e){return(0,f.jsx)(ln,{...e})}process.env.NODE_ENV!==`production`&&(Ar.propTypes={children:k.default.node,value:k.default.object.isRequired});function jr(e){return dn(e)}function Mr(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=En(e,t,n)}),r}function Nr(e){return En(`MuiSvgIcon`,e)}Mr(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var Pr=e=>{let{color:t,fontSize:n,classes:r}=e;return oe({root:[`root`,t!==`inherit`&&`color${E(t)}`,`fontSize${E(n)}`]},Nr,r)},Fr=Or(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${E(n.color)}`],t[`fontSize${E(n.fontSize)}`]]}})(kr(({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}}]}))),Ir=l.forwardRef(function(e,t){let n=jr({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:p=`0 0 24 24`,...m}=n,h=l.isValidElement(r)&&r.type===`svg`,g={...n,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:p,hasSvgAsChild:h},_={};return u||(_.viewBox=p),(0,f.jsxs)(Fr,{as:o,className:ae(Pr(g).root,i),focusable:`false`,color:c,"aria-hidden":d?void 0:!0,role:d?`img`:void 0,ref:t,..._,...m,...h&&r.props,ownerState:g,children:[h?r.props.children:r,d?(0,f.jsx)(`title`,{children:d}):null]})});process.env.NODE_ENV!==`production`&&(Ir.propTypes={children:k.default.node,classes:k.default.object,className:k.default.string,color:k.default.oneOfType([k.default.oneOf([`inherit`,`action`,`disabled`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),k.default.string]),component:k.default.elementType,fontSize:k.default.oneOfType([k.default.oneOf([`inherit`,`large`,`medium`,`small`]),k.default.string]),htmlColor:k.default.string,inheritViewBox:k.default.bool,shapeRendering:k.default.string,sx:k.default.oneOfType([k.default.arrayOf(k.default.oneOfType([k.default.func,k.default.object,k.default.bool])),k.default.func,k.default.object]),titleAccess:k.default.string,viewBox:k.default.string}),Ir.muiName=`SvgIcon`;function Lr(e,t){function n(n,r){return(0,f.jsx)(Ir,{"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=Ir.muiName,l.memo(l.forwardRef(n))}var Rr=Lr((0,f.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 zr(...e){let t=l.useRef(void 0),n=l.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 l.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}function Br(e){return typeof e==`string`}function Vr(e,t,n){return e===void 0||Br(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Hr(e,t){let n=e.charCodeAt(2);return e[0]===`o`&&e[1]===`n`&&n>=65&&n<=90&&typeof t==`function`}function Ur(e){if(e===void 0)return{};let t={};for(let n of Object.keys(e))Hr(n,e[n])&&(t[n]=e[n]);return t}function Wr(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]==`function`)).forEach(n=>{t[n]=e[n]}),t}function Gr(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=ae(n?.className,a,i?.className,r?.className),t={...n?.style,...i?.style,...r?.style},o={...n,...i,...r};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let o=Ur({...i,...r}),s=Wr(r),c=Wr(i),l=t(o),u=ae(l?.className,n?.className,a,i?.className,r?.className),d={...l?.style,...n?.style,...i?.style,...r?.style},f={...l,...n,...c,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:l.ref}}function Kr(e,t,n){return typeof e==`function`?e(t,n):e}function qr(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:Kr(n,r),{props:s,internalRef:c}=Gr({...a,externalSlotProps:o}),l=zr(c,o?.ref,e.additionalProps?.ref);return Vr(t,{...s,ref:l},r)}function Jr(e,t){let n=(0,l.useContext)(e);if(n==null)throw Error(`context "${t}" was used without a Provider`);return n}var Yr=l.createContext(null);function Xr({notificationKey:e,open:t,message:n,options:r,badge:i}){let{close:a}=Jr(m),{severity:o,actionText:s,onAction:c,autoHideDuration:u}=r,d=l.useCallback((t,n)=>{n!==`clickaway`&&a(e)},[e,a]),h=(0,f.jsxs)(l.Fragment,{children:[c?(0,f.jsx)(p.Button,{color:`inherit`,size:`small`,onClick:c,children:s??`Action`}):null,(0,f.jsx)(p.IconButton,{size:`small`,"aria-label":`Close`,title:`Close`,color:`inherit`,onClick:d,children:(0,f.jsx)(Rr,{fontSize:`small`})})]}),g=l.useContext(Yr),_=g?.slots?.snackbar??p.Snackbar;return(0,f.jsx)(_,{...qr({elementType:_,ownerState:g,externalSlotProps:g?.slotProps?.snackbar,additionalProps:{open:t,autoHideDuration:u,onClose:d,action:h}}),children:(0,f.jsx)(p.Badge,{badgeContent:i,color:`primary`,sx:{width:`100%`},children:o?(0,f.jsx)(p.Alert,{severity:o,sx:{width:`100%`},action:h,children:n}):(0,f.jsx)(p.SnackbarContent,{message:n,action:h})})},e)}function Zr({state:e}){let t=e.queue[0]??null;return t?(0,f.jsx)(Xr,{...t,badge:e.queue.length>1?String(e.queue.length):null}):null}var Qr=0,$r=()=>{let e=Qr;return Qr+=1,e};function ei(e){let{children:t}=e,[n,r]=l.useState({queue:[]}),i=l.useCallback((e,t={})=>{let n=t.key??`::toolpad-internal::notification::${$r()}`;return r(r=>r.queue.some(e=>e.notificationKey===n)?r:{...r,queue:[...r.queue,{message:e,options:t,notificationKey:n,open:!0}]}),n},[]),a=l.useCallback(e=>{r(t=>({...t,queue:t.queue.filter(t=>t.notificationKey!==e)}))},[]),o=l.useMemo(()=>({show:i,close:a}),[i,a]);return(0,f.jsx)(Yr.Provider,{value:e,children:(0,f.jsxs)(m.Provider,{value:o,children:[t,(0,f.jsx)(Zr,{state:n})]})})}exports.NotificationsProvider=ei,exports.useNotifications=_;
26
+ export default theme;`}function Dn(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`?y(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=Bt(a),d=Zt(e),f=O(d,{mixins:un(d.breakpoints,r),palette:u,shadows:vn.slice(),typography:mn(u,s),transitions:Cn(o),zIndex:{...wn}});if(f=O(f,l),f=t.reduce((e,t)=>O(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=ln(``,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(`
27
+ `))}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={...st,...l?.unstable_sxConfig},f.unstable_sx=function(e){return B({sx:e,theme:this})},f.toRuntimeSource=En,f}function On(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var kn=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=On(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function An(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function jn(e){return e===`dark`?kn:[]}function Mn(e){let{palette:t={mode:`light`},opacity:n,overlays:r,...i}=e,a=Bt(t);return{palette:a,opacity:{...An(a.mode),...n},overlays:r||jn(a.mode),...i}}function Nn(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 Pn=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],Fn=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 Pn(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 In(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function X(e,t,n){!e[t]&&n&&(e[t]=n)}function Ln(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:_t(e)}function Z(e,t){`${t}Channel`in e||(e[`${t}Channel`]=ht(Ln(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().
28
+ 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 Rn(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var Q=e=>{try{return e()}catch{}},zn=(e=`mui`)=>(0,d.unstable_createGetCssVar)(e);function Bn(e,t,n,r){if(!t)return;t=t===!0?{}:t;let i=r===`dark`?`dark`:`light`;if(!n){e[r]=Mn({...t,palette:{mode:i,...t?.palette}});return}let{palette:a,...o}=Dn({...n,palette:{mode:i,...t?.palette}});return e[r]={...t,palette:a,opacity:{...An(i),...t?.opacity},overlays:t?.overlays||jn(i)},o}function Vn(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,shouldSkipGeneratingVar:o=Nn,colorSchemeSelector:s=n.light&&n.dark?`media`:void 0,rootSelector:c=`:root`,...l}=e,u=Object.keys(n)[0],f=r||(n.light&&u!==`light`?`light`:u),p=zn(a),{[f]:m,light:h,dark:g,..._}=n,v={..._},b=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(b=!0),!b)throw Error(process.env.NODE_ENV===`production`?y(21,f):`MUI: The \`colorSchemes.${f}\` option is either missing or invalid.`);let x=Bn(v,b,l,f);h&&!v.light&&Bn(v,h,void 0,`light`),g&&!v.dark&&Bn(v,g,void 0,`dark`);let S={defaultColorScheme:f,...x,cssVarPrefix:a,colorSchemeSelector:s,rootSelector:c,getCssVar:p,colorSchemes:v,font:{...rn(x.typography),...x.font},spacing:Rn(l.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])};if(t.mode===`light`&&(X(t.common,`background`,`#fff`),X(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(X(t.common,`background`,`#000`),X(t.common,`onBackground`,`#fff`)),In(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){X(t.Alert,`errorColor`,H(t.error.light,.6)),X(t.Alert,`infoColor`,H(t.info.light,.6)),X(t.Alert,`successColor`,H(t.success.light,.6)),X(t.Alert,`warningColor`,H(t.warning.light,.6)),X(t.Alert,`errorFilledBg`,n(`palette-error-main`)),X(t.Alert,`infoFilledBg`,n(`palette-info-main`)),X(t.Alert,`successFilledBg`,n(`palette-success-main`)),X(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),X(t.Alert,`errorFilledColor`,Q(()=>t.getContrastText(t.error.main))),X(t.Alert,`infoFilledColor`,Q(()=>t.getContrastText(t.info.main))),X(t.Alert,`successFilledColor`,Q(()=>t.getContrastText(t.success.main))),X(t.Alert,`warningFilledColor`,Q(()=>t.getContrastText(t.warning.main))),X(t.Alert,`errorStandardBg`,U(t.error.light,.9)),X(t.Alert,`infoStandardBg`,U(t.info.light,.9)),X(t.Alert,`successStandardBg`,U(t.success.light,.9)),X(t.Alert,`warningStandardBg`,U(t.warning.light,.9)),X(t.Alert,`errorIconColor`,n(`palette-error-main`)),X(t.Alert,`infoIconColor`,n(`palette-info-main`)),X(t.Alert,`successIconColor`,n(`palette-success-main`)),X(t.Alert,`warningIconColor`,n(`palette-warning-main`)),X(t.AppBar,`defaultBg`,n(`palette-grey-100`)),X(t.Avatar,`defaultBg`,n(`palette-grey-400`)),X(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),X(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),X(t.Chip,`defaultBorder`,n(`palette-grey-400`)),X(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),X(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),X(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),X(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),X(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),X(t.LinearProgress,`primaryBg`,U(t.primary.main,.62)),X(t.LinearProgress,`secondaryBg`,U(t.secondary.main,.62)),X(t.LinearProgress,`errorBg`,U(t.error.main,.62)),X(t.LinearProgress,`infoBg`,U(t.info.main,.62)),X(t.LinearProgress,`successBg`,U(t.success.main,.62)),X(t.LinearProgress,`warningBg`,U(t.warning.main,.62)),X(t.Skeleton,`bg`,`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),X(t.Slider,`primaryTrack`,U(t.primary.main,.62)),X(t.Slider,`secondaryTrack`,U(t.secondary.main,.62)),X(t.Slider,`errorTrack`,U(t.error.main,.62)),X(t.Slider,`infoTrack`,U(t.info.main,.62)),X(t.Slider,`successTrack`,U(t.success.main,.62)),X(t.Slider,`warningTrack`,U(t.warning.main,.62));let e=Tt(t.background.default,.8);X(t.SnackbarContent,`bg`,e),X(t.SnackbarContent,`color`,Q(()=>t.getContrastText(e))),X(t.SpeedDialAction,`fabHoverBg`,Tt(t.background.paper,.15)),X(t.StepConnector,`border`,n(`palette-grey-400`)),X(t.StepContent,`border`,n(`palette-grey-400`)),X(t.Switch,`defaultColor`,n(`palette-common-white`)),X(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),X(t.Switch,`primaryDisabledColor`,U(t.primary.main,.62)),X(t.Switch,`secondaryDisabledColor`,U(t.secondary.main,.62)),X(t.Switch,`errorDisabledColor`,U(t.error.main,.62)),X(t.Switch,`infoDisabledColor`,U(t.info.main,.62)),X(t.Switch,`successDisabledColor`,U(t.success.main,.62)),X(t.Switch,`warningDisabledColor`,U(t.warning.main,.62)),X(t.TableCell,`border`,U(xt(t.divider,1),.88)),X(t.Tooltip,`bg`,xt(t.grey[700],.92))}if(t.mode===`dark`){X(t.Alert,`errorColor`,U(t.error.light,.6)),X(t.Alert,`infoColor`,U(t.info.light,.6)),X(t.Alert,`successColor`,U(t.success.light,.6)),X(t.Alert,`warningColor`,U(t.warning.light,.6)),X(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),X(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),X(t.Alert,`successFilledBg`,n(`palette-success-dark`)),X(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),X(t.Alert,`errorFilledColor`,Q(()=>t.getContrastText(t.error.dark))),X(t.Alert,`infoFilledColor`,Q(()=>t.getContrastText(t.info.dark))),X(t.Alert,`successFilledColor`,Q(()=>t.getContrastText(t.success.dark))),X(t.Alert,`warningFilledColor`,Q(()=>t.getContrastText(t.warning.dark))),X(t.Alert,`errorStandardBg`,H(t.error.light,.9)),X(t.Alert,`infoStandardBg`,H(t.info.light,.9)),X(t.Alert,`successStandardBg`,H(t.success.light,.9)),X(t.Alert,`warningStandardBg`,H(t.warning.light,.9)),X(t.Alert,`errorIconColor`,n(`palette-error-main`)),X(t.Alert,`infoIconColor`,n(`palette-info-main`)),X(t.Alert,`successIconColor`,n(`palette-success-main`)),X(t.Alert,`warningIconColor`,n(`palette-warning-main`)),X(t.AppBar,`defaultBg`,n(`palette-grey-900`)),X(t.AppBar,`darkBg`,n(`palette-background-paper`)),X(t.AppBar,`darkColor`,n(`palette-text-primary`)),X(t.Avatar,`defaultBg`,n(`palette-grey-600`)),X(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),X(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),X(t.Chip,`defaultBorder`,n(`palette-grey-700`)),X(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),X(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),X(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),X(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),X(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),X(t.LinearProgress,`primaryBg`,H(t.primary.main,.5)),X(t.LinearProgress,`secondaryBg`,H(t.secondary.main,.5)),X(t.LinearProgress,`errorBg`,H(t.error.main,.5)),X(t.LinearProgress,`infoBg`,H(t.info.main,.5)),X(t.LinearProgress,`successBg`,H(t.success.main,.5)),X(t.LinearProgress,`warningBg`,H(t.warning.main,.5)),X(t.Skeleton,`bg`,`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),X(t.Slider,`primaryTrack`,H(t.primary.main,.5)),X(t.Slider,`secondaryTrack`,H(t.secondary.main,.5)),X(t.Slider,`errorTrack`,H(t.error.main,.5)),X(t.Slider,`infoTrack`,H(t.info.main,.5)),X(t.Slider,`successTrack`,H(t.success.main,.5)),X(t.Slider,`warningTrack`,H(t.warning.main,.5));let e=Tt(t.background.default,.98);X(t.SnackbarContent,`bg`,e),X(t.SnackbarContent,`color`,Q(()=>t.getContrastText(e))),X(t.SpeedDialAction,`fabHoverBg`,Tt(t.background.paper,.15)),X(t.StepConnector,`border`,n(`palette-grey-600`)),X(t.StepContent,`border`,n(`palette-grey-600`)),X(t.Switch,`defaultColor`,n(`palette-grey-300`)),X(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),X(t.Switch,`primaryDisabledColor`,H(t.primary.main,.55)),X(t.Switch,`secondaryDisabledColor`,H(t.secondary.main,.55)),X(t.Switch,`errorDisabledColor`,H(t.error.main,.55)),X(t.Switch,`infoDisabledColor`,H(t.info.main,.55)),X(t.Switch,`successDisabledColor`,H(t.success.main,.55)),X(t.Switch,`warningDisabledColor`,H(t.warning.main,.55)),X(t.TableCell,`border`,H(xt(t.divider,1),.68)),X(t.Tooltip,`bg`,xt(t.grey[700],.92))}Z(t.background,`default`),Z(t.background,`paper`),Z(t.common,`background`),Z(t.common,`onBackground`),Z(t,`divider`),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&n&&typeof n==`object`&&(n.main&&X(t[e],`mainChannel`,ht(Ln(n.main))),n.light&&X(t[e],`lightChannel`,ht(Ln(n.light))),n.dark&&X(t[e],`darkChannel`,ht(Ln(n.dark))),n.contrastText&&X(t[e],`contrastTextChannel`,ht(Ln(n.contrastText))),e===`text`&&(Z(t[e],`primary`),Z(t[e],`secondary`)),e===`action`&&(n.active&&Z(t[e],`active`),n.selected&&Z(t[e],`selected`)))})}),S=t.reduce((e,t)=>O(e,t),S);let ee={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:o,getSelector:Fn(S)},{vars:te,generateThemeVars:ne,generateStyleSheets:C}=nn(S,ee);return S.vars=te,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=ne,S.generateStyleSheets=C,S.generateSpacing=function(){return(0,d.createSpacing)(l.spacing,Me(this))},S.getColorSchemeSelector=an(s),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=o,S.unstable_sxConfig={...st,...l?.unstable_sxConfig},S.unstable_sx=function(e){return B({sx:e,theme:this})},S.toRuntimeSource=En,S}function Hn(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Bt({...n===!0?{}:n.palette,mode:t})})}function Un(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 Dn(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=Dn({...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},Hn(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},Hn(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Vn({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var Wn=Un(),Gn=`$$material`;function Kn(e,t=``){return e.displayName||e.name||t}function qn(e,t,n){let r=Kn(t);return e.displayName||(r===``?n:`${n}(${r})`)}function Jn(e){if(e!=null){if(typeof e==`string`)return e;if(typeof e==`function`)return Kn(e,`Component`);if(typeof e==`object`)switch(e.$$typeof){case E.ForwardRef:return qn(e,e.render,`ForwardRef`);case E.Memo:return qn(e,e.type,`memo`);default:return}}}function Yn(e){let{variants:t,...n}=e,r={variants:t,style:(0,f.internal_serializeStyles)(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=(0,f.internal_serializeStyles)(e.style))}),r}var Xn=Zt();function Zn(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function $(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Qn(e){return e?(t,n)=>n[e]:null}function $n(e,t,n){e.theme=ar(e.theme)?n:e.theme[t]||e.theme}function er(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>er(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?$(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?$((0,f.internal_serializeStyles)(i),n):i}return tr(e,r.variants,[t],n)}return r?.isProcessed?n?$((0,f.internal_serializeStyles)(r.style),n):r.style:n?$((0,f.internal_serializeStyles)(r),n):r}function tr(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?$((0,f.internal_serializeStyles)(o.style(i)),r):o.style(i))):n.push(r?$((0,f.internal_serializeStyles)(o.style),r):o.style)}return n}function nr(e={}){let{themeId:t,defaultTheme:n=Xn,rootShouldForwardProp:r=Zn,slotShouldForwardProp:i=Zn}=e;function a(e){$n(e,t,n)}return(e,t={})=>{(0,f.internal_mutateStyles)(e,e=>e.filter(e=>e!==B));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=Qn(sr(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,p=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,m=c||!1,h=Zn;o===`Root`||o===`root`?h=r:o?h=i:or(e)&&(h=void 0);let g=(0,f.default)(e,{shouldForwardProp:h,label:ir(n,o),...u}),_=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return er(t,e,t.theme.modularCssLayers?d:void 0)};if(D(e)){let t=Yn(e);return function(e){return t.variants?er(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?$(t.style,d):t.style}}return e},v=(...t)=>{let r=[],i=t.map(_),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]=er(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!p&&s.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?tr(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),m||s.push(B),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=g(...r,...i,...s);return e.muiName&&(c.muiName=e.muiName),process.env.NODE_ENV!==`production`&&(c.displayName=rr(n,o,e)),c};return g.withConfig&&(v.withConfig=g.withConfig),v}}function rr(e,t,n){return e?`${e}${b(t||``)}`:`Styled(${Jn(n)})`}function ir(e,t){let n;return process.env.NODE_ENV!==`production`&&e&&(n=`${e}-${sr(t||`Root`)}`),n}function ar(e){for(let t in e)return!1;return!0}function or(e){return typeof e==`string`&&e.charCodeAt(0)>96}function sr(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function cr(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var lr=nr({themeId:Gn,defaultTheme:Wn,rootShouldForwardProp:e=>cr(e)&&e!==`classes`}),ur=d.unstable_memoTheme;function dr(e){return(0,p.jsx)(Ut,{...e})}process.env.NODE_ENV!==`production`&&(dr.propTypes={children:A.default.node,value:A.default.object.isRequired});function fr(e){return Gt(e)}function pr(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=ln(e,t,n)}),r}function mr(e){return ln(`MuiSvgIcon`,e)}pr(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var hr=e=>{let{color:t,fontSize:n,classes:r}=e;return ce({root:[`root`,t!==`inherit`&&`color${x(t)}`,`fontSize${x(n)}`]},mr,r)},gr=lr(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${x(n.color)}`],t[`fontSize${x(n.fontSize)}`]]}})(ur(({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}}]}))),_r=l.forwardRef(function(e,t){let n=fr({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:f=`0 0 24 24`,...m}=n,h=l.isValidElement(r)&&r.type===`svg`,g={...n,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:f,hasSvgAsChild:h},_={};return u||(_.viewBox=f),(0,p.jsxs)(gr,{as:o,className:T(hr(g).root,i),focusable:`false`,color:c,"aria-hidden":d?void 0:!0,role:d?`img`:void 0,ref:t,..._,...m,...h&&r.props,ownerState:g,children:[h?r.props.children:r,d?(0,p.jsx)(`title`,{children:d}):null]})});process.env.NODE_ENV!==`production`&&(_r.propTypes={children:A.default.node,classes:A.default.object,className:A.default.string,color:A.default.oneOfType([A.default.oneOf([`inherit`,`action`,`disabled`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),A.default.string]),component:A.default.elementType,fontSize:A.default.oneOfType([A.default.oneOf([`inherit`,`large`,`medium`,`small`]),A.default.string]),htmlColor:A.default.string,inheritViewBox:A.default.bool,shapeRendering:A.default.string,sx:A.default.oneOfType([A.default.arrayOf(A.default.oneOfType([A.default.func,A.default.object,A.default.bool])),A.default.func,A.default.object]),titleAccess:A.default.string,viewBox:A.default.string}),_r.muiName=`SvgIcon`;function vr(e,t){function n(n,r){return(0,p.jsx)(_r,{"data-testid":`${t}Icon`,ref:r,...n,children:e})}return process.env.NODE_ENV!==`production`&&(n.displayName=`${t}Icon`),n.muiName=_r.muiName,l.memo(l.forwardRef(n))}function yr(...e){let t=l.useRef(void 0),n=l.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 l.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}var br=vr((0,p.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 xr(e){return typeof e==`string`}function Sr(e,t,n){return e===void 0||xr(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Cr(e,t=[]){if(e===void 0)return{};let n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]==`function`&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}function wr(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]==`function`)).forEach(n=>{t[n]=e[n]}),t}function Tr(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=T(n?.className,a,i?.className,r?.className),t={...n?.style,...i?.style,...r?.style},o={...n,...i,...r};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let o=Cr({...i,...r}),s=wr(r),c=wr(i),l=t(o),u=T(l?.className,n?.className,a,i?.className,r?.className),d={...l?.style,...n?.style,...i?.style,...r?.style},f={...l,...n,...c,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:l.ref}}function Er(e,t,n){return typeof e==`function`?e(t,n):e}function Dr(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:Er(n,r),{props:s,internalRef:c}=Tr({...a,externalSlotProps:o}),l=yr(c,o?.ref,e.additionalProps?.ref);return Sr(t,{...s,ref:l},r)}function Or(e,t){let n=(0,u.useContext)(e);if(n==null)throw Error(`context "${t}" was used without a Provider`);return n}var kr=u.createContext(null);function Ar({notificationKey:e,open:t,message:n,options:r,badge:i}){let{close:a}=Or(h),{severity:o,actionText:s,onAction:c,autoHideDuration:l}=r,d=u.useCallback((t,n)=>{n!==`clickaway`&&a(e)},[e,a]),f=(0,p.jsxs)(u.Fragment,{children:[c?(0,p.jsx)(m.Button,{color:`inherit`,size:`small`,onClick:c,children:s??`Action`}):null,(0,p.jsx)(m.IconButton,{size:`small`,"aria-label":`Close`,title:`Close`,color:`inherit`,onClick:d,children:(0,p.jsx)(br,{fontSize:`small`})})]}),g=u.useContext(kr),_=g?.slots?.snackbar??m.Snackbar;return(0,p.jsx)(_,{...Dr({elementType:_,ownerState:g,externalSlotProps:g?.slotProps?.snackbar,additionalProps:{open:t,autoHideDuration:l,onClose:d,action:f}}),children:(0,p.jsx)(m.Badge,{badgeContent:i,color:`primary`,sx:{width:`100%`},children:o?(0,p.jsx)(m.Alert,{severity:o,sx:{width:`100%`},action:f,children:n}):(0,p.jsx)(m.SnackbarContent,{message:n,action:f})})},e)}function jr({state:e}){let t=e.queue[0]??null;return t?(0,p.jsx)(Ar,{...t,badge:e.queue.length>1?String(e.queue.length):null}):null}var Mr=0,Nr=()=>{let e=Mr;return Mr+=1,e};function Pr(e){let{children:t}=e,[n,r]=u.useState({queue:[]}),i=u.useCallback((e,t={})=>{let n=t.key??`::toolpad-internal::notification::${Nr()}`;return r(r=>r.queue.some(e=>e.notificationKey===n)?r:{...r,queue:[...r.queue,{message:e,options:t,notificationKey:n,open:!0}]}),n},[]),a=u.useCallback(e=>{r(t=>({...t,queue:t.queue.filter(t=>t.notificationKey!==e)}))},[]),o=u.useMemo(()=>({show:i,close:a}),[i,a]);return(0,p.jsx)(kr.Provider,{value:e,children:(0,p.jsxs)(h.Provider,{value:o,children:[t,(0,p.jsx)(jr,{state:n})]})})}exports.NotificationsProvider=Pr,exports.useNotifications=v;