@jhelom/react-mui-message-dialog 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +99 -98
- package/dist/index.cjs +162 -0
- package/dist/index.mjs +7477 -0
- package/dist/{DialogTitleEx.d.ts → src/DialogTitleEx.d.ts} +2 -0
- package/dist/{MessageDialog.d.ts → src/MessageDialog.d.ts} +2 -7
- package/dist/src/MessageDialog.test.d.ts +1 -0
- package/dist/{MessageDialogContext.d.ts → src/MessageDialogContext.d.ts} +4 -1
- package/dist/{index.d.ts → src/index.d.ts} +1 -1
- package/package.json +64 -54
- package/dist/index.cjs.js +0 -251
- package/dist/index.es.js +0 -9313
- package/dist/index.umd.js +0 -251
package/dist/index.cjs.js
DELETED
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
"use strict";var xa=Object.defineProperty;var ka=(e,t,r)=>t in e?xa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var At=(e,t,r)=>ka(e,typeof t!="symbol"?t+"":t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const X=require("react"),$t=require("@mui/material");function Oa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const I=Oa(X);function _a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pn={exports:{}},Pt={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var uo;function Ra(){if(uo)return Pt;uo=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,i){var a=null;if(i!==void 0&&(a=""+i),o.key!==void 0&&(a=""+o.key),"key"in o){i={};for(var s in o)s!=="key"&&(i[s]=o[s])}else i=o;return o=i.ref,{$$typeof:e,type:n,key:a,ref:o!==void 0?o:null,props:i}}return Pt.Fragment=t,Pt.jsx=r,Pt.jsxs=r,Pt}var Nt={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var fo;function Aa(){return fo||(fo=1,process.env.NODE_ENV!=="production"&&function(){function e(b){if(b==null)return null;if(typeof b=="function")return b.$$typeof===u?null:b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case c:return"Fragment";case E:return"Profiler";case y:return"StrictMode";case C:return"Suspense";case k:return"SuspenseList";case U:return"Activity"}if(typeof b=="object")switch(typeof b.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),b.$$typeof){case g:return"Portal";case A:return(b.displayName||"Context")+".Provider";case P:return(b._context.displayName||"Context")+".Consumer";case $:var _=b.render;return b=b.displayName,b||(b=_.displayName||_.name||"",b=b!==""?"ForwardRef("+b+")":"ForwardRef"),b;case N:return _=b.displayName||null,_!==null?_:e(b.type)||"Memo";case V:_=b._payload,b=b._init;try{return e(b(_))}catch{}}return null}function t(b){return""+b}function r(b){try{t(b);var _=!1}catch{_=!0}if(_){_=console;var B=_.error,F=typeof Symbol=="function"&&Symbol.toStringTag&&b[Symbol.toStringTag]||b.constructor.name||"Object";return B.call(_,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",F),t(b)}}function n(b){if(b===c)return"<>";if(typeof b=="object"&&b!==null&&b.$$typeof===V)return"<...>";try{var _=e(b);return _?"<"+_+">":"<...>"}catch{return"<...>"}}function o(){var b=x.A;return b===null?null:b.getOwner()}function i(){return Error("react-stack-top-frame")}function a(b){if(l.call(b,"key")){var _=Object.getOwnPropertyDescriptor(b,"key").get;if(_&&_.isReactWarning)return!1}return b.key!==void 0}function s(b,_){function B(){D||(D=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",_))}B.isReactWarning=!0,Object.defineProperty(b,"key",{get:B,configurable:!0})}function f(){var b=e(this.type);return j[b]||(j[b]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),b=this.props.ref,b!==void 0?b:null}function d(b,_,B,F,L,W,Y,G){return B=W.ref,b={$$typeof:v,type:b,key:_,props:W,_owner:L},(B!==void 0?B:null)!==null?Object.defineProperty(b,"ref",{enumerable:!1,get:f}):Object.defineProperty(b,"ref",{enumerable:!1,value:null}),b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(b,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(b,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Y}),Object.defineProperty(b,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:G}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b}function m(b,_,B,F,L,W,Y,G){var z=_.children;if(z!==void 0)if(F)if(R(z)){for(F=0;F<z.length;F++)p(z[F]);Object.freeze&&Object.freeze(z)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else p(z);if(l.call(_,"key")){z=e(b);var q=Object.keys(_).filter(function(Ce){return Ce!=="key"});F=0<q.length?"{key: someKey, "+q.join(": ..., ")+": ...}":"{key: someKey}",le[z+F]||(q=0<q.length?"{"+q.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
|
-
let props = %s;
|
|
19
|
-
<%s {...props} />
|
|
20
|
-
React keys must be passed directly to JSX without using spread:
|
|
21
|
-
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,F,z,q,z),le[z+F]=!0)}if(z=null,B!==void 0&&(r(B),z=""+B),a(_)&&(r(_.key),z=""+_.key),"key"in _){B={};for(var K in _)K!=="key"&&(B[K]=_[K])}else B=_;return z&&s(B,typeof b=="function"?b.displayName||b.name||"Unknown":b),d(b,z,W,L,o(),B,Y,G)}function p(b){typeof b=="object"&&b!==null&&b.$$typeof===v&&b._store&&(b._store.validated=1)}var h=X,v=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),A=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),U=Symbol.for("react.activity"),u=Symbol.for("react.client.reference"),x=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,l=Object.prototype.hasOwnProperty,R=Array.isArray,O=console.createTask?console.createTask:function(){return null};h={"react-stack-bottom-frame":function(b){return b()}};var D,j={},Q=h["react-stack-bottom-frame"].bind(h,i)(),de=O(n(i)),le={};Nt.Fragment=c,Nt.jsx=function(b,_,B,F,L){var W=1e4>x.recentlyCreatedOwnerStacks++;return m(b,_,B,!1,F,L,W?Error("react-stack-top-frame"):Q,W?O(n(b)):de)},Nt.jsxs=function(b,_,B,F,L){var W=1e4>x.recentlyCreatedOwnerStacks++;return m(b,_,B,!0,F,L,W?Error("react-stack-top-frame"):Q,W?O(n(b)):de)}}()),Nt}process.env.NODE_ENV==="production"?pn.exports=Ra():pn.exports=Aa();var J=pn.exports;const po=e=>e,Pa=()=>{let e=po;return{configure(t){e=t},generate(t){return e(t)},reset(){e=po}}},Na=Pa();function Ze(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function ut(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ze(7));return e.charAt(0).toUpperCase()+e.slice(1)}var mn={exports:{}},nr={exports:{}},te={};/** @license React v16.13.1
|
|
23
|
-
* react-is.production.min.js
|
|
24
|
-
*
|
|
25
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
26
|
-
*
|
|
27
|
-
* This source code is licensed under the MIT license found in the
|
|
28
|
-
* LICENSE file in the root directory of this source tree.
|
|
29
|
-
*/var mo;function Ia(){if(mo)return te;mo=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,P=e?Symbol.for("react.scope"):60119;function A(C){if(typeof C=="object"&&C!==null){var k=C.$$typeof;switch(k){case t:switch(C=C.type,C){case f:case d:case n:case i:case o:case p:return C;default:switch(C=C&&C.$$typeof,C){case s:case m:case g:case v:case a:return C;default:return k}}case r:return k}}}function $(C){return A(C)===d}return te.AsyncMode=f,te.ConcurrentMode=d,te.ContextConsumer=s,te.ContextProvider=a,te.Element=t,te.ForwardRef=m,te.Fragment=n,te.Lazy=g,te.Memo=v,te.Portal=r,te.Profiler=i,te.StrictMode=o,te.Suspense=p,te.isAsyncMode=function(C){return $(C)||A(C)===f},te.isConcurrentMode=$,te.isContextConsumer=function(C){return A(C)===s},te.isContextProvider=function(C){return A(C)===a},te.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},te.isForwardRef=function(C){return A(C)===m},te.isFragment=function(C){return A(C)===n},te.isLazy=function(C){return A(C)===g},te.isMemo=function(C){return A(C)===v},te.isPortal=function(C){return A(C)===r},te.isProfiler=function(C){return A(C)===i},te.isStrictMode=function(C){return A(C)===o},te.isSuspense=function(C){return A(C)===p},te.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===n||C===d||C===i||C===o||C===p||C===h||typeof C=="object"&&C!==null&&(C.$$typeof===g||C.$$typeof===v||C.$$typeof===a||C.$$typeof===s||C.$$typeof===m||C.$$typeof===y||C.$$typeof===E||C.$$typeof===P||C.$$typeof===c)},te.typeOf=A,te}var re={};/** @license React v16.13.1
|
|
30
|
-
* react-is.development.js
|
|
31
|
-
*
|
|
32
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
33
|
-
*
|
|
34
|
-
* This source code is licensed under the MIT license found in the
|
|
35
|
-
* LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/var ho;function Ma(){return ho||(ho=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,P=e?Symbol.for("react.scope"):60119;function A(M){return typeof M=="string"||typeof M=="function"||M===n||M===d||M===i||M===o||M===p||M===h||typeof M=="object"&&M!==null&&(M.$$typeof===g||M.$$typeof===v||M.$$typeof===a||M.$$typeof===s||M.$$typeof===m||M.$$typeof===y||M.$$typeof===E||M.$$typeof===P||M.$$typeof===c)}function $(M){if(typeof M=="object"&&M!==null){var Ne=M.$$typeof;switch(Ne){case t:var Je=M.type;switch(Je){case f:case d:case n:case i:case o:case p:return Je;default:var tr=Je&&Je.$$typeof;switch(tr){case s:case m:case g:case v:case a:return tr;default:return Ne}}case r:return Ne}}}var C=f,k=d,N=s,V=a,U=t,u=m,x=n,l=g,R=v,O=r,D=i,j=o,Q=p,de=!1;function le(M){return de||(de=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),b(M)||$(M)===f}function b(M){return $(M)===d}function _(M){return $(M)===s}function B(M){return $(M)===a}function F(M){return typeof M=="object"&&M!==null&&M.$$typeof===t}function L(M){return $(M)===m}function W(M){return $(M)===n}function Y(M){return $(M)===g}function G(M){return $(M)===v}function z(M){return $(M)===r}function q(M){return $(M)===i}function K(M){return $(M)===o}function Ce(M){return $(M)===p}re.AsyncMode=C,re.ConcurrentMode=k,re.ContextConsumer=N,re.ContextProvider=V,re.Element=U,re.ForwardRef=u,re.Fragment=x,re.Lazy=l,re.Memo=R,re.Portal=O,re.Profiler=D,re.StrictMode=j,re.Suspense=Q,re.isAsyncMode=le,re.isConcurrentMode=b,re.isContextConsumer=_,re.isContextProvider=B,re.isElement=F,re.isForwardRef=L,re.isFragment=W,re.isLazy=Y,re.isMemo=G,re.isPortal=z,re.isProfiler=q,re.isStrictMode=K,re.isSuspense=Ce,re.isValidElementType=A,re.typeOf=$}()),re}var go;function Dn(){return go||(go=1,process.env.NODE_ENV==="production"?nr.exports=Ia():nr.exports=Ma()),nr.exports}/*
|
|
37
|
-
object-assign
|
|
38
|
-
(c) Sindre Sorhus
|
|
39
|
-
@license MIT
|
|
40
|
-
*/var Zr,yo;function Da(){if(yo)return Zr;yo=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var f=Object.getOwnPropertyNames(a).map(function(m){return a[m]});if(f.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(m){d[m]=m}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Zr=o()?Object.assign:function(i,a){for(var s,f=n(i),d,m=1;m<arguments.length;m++){s=Object(arguments[m]);for(var p in s)t.call(s,p)&&(f[p]=s[p]);if(e){d=e(s);for(var h=0;h<d.length;h++)r.call(s,d[h])&&(f[d[h]]=s[d[h]])}}return f},Zr}var en,bo;function Bn(){if(bo)return en;bo=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return en=e,en}var tn,vo;function Ci(){return vo||(vo=1,tn=Function.call.bind(Object.prototype.hasOwnProperty)),tn}var rn,So;function Ba(){if(So)return rn;So=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Bn(),r={},n=Ci();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,s,f,d){if(process.env.NODE_ENV!=="production"){for(var m in i)if(n(i,m)){var p;try{if(typeof i[m]!="function"){var h=Error((f||"React class")+": "+s+" type `"+m+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[m]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}p=i[m](a,m,f,s,null,t)}catch(g){p=g}if(p&&!(p instanceof Error)&&e((f||"React class")+": type specification of "+s+" `"+m+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var v=d?d():"";e("Failed "+s+" type: "+p.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},rn=o,rn}var nn,$o;function ja(){if($o)return nn;$o=1;var e=Dn(),t=Da(),r=Bn(),n=Ci(),o=Ba(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var f="Warning: "+s;typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}});function a(){return null}return nn=function(s,f){var d=typeof Symbol=="function"&&Symbol.iterator,m="@@iterator";function p(b){var _=b&&(d&&b[d]||b[m]);if(typeof _=="function")return _}var h="<<anonymous>>",v={array:E("array"),bigint:E("bigint"),bool:E("boolean"),func:E("function"),number:E("number"),object:E("object"),string:E("string"),symbol:E("symbol"),any:P(),arrayOf:A,element:$(),elementType:C(),instanceOf:k,node:u(),objectOf:V,oneOf:N,oneOfType:U,shape:l,exact:R};function g(b,_){return b===_?b!==0||1/b===1/_:b!==b&&_!==_}function c(b,_){this.message=b,this.data=_&&typeof _=="object"?_:{},this.stack=""}c.prototype=Error.prototype;function y(b){if(process.env.NODE_ENV!=="production")var _={},B=0;function F(W,Y,G,z,q,K,Ce){if(z=z||h,K=K||G,Ce!==r){if(f){var M=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw M.name="Invariant Violation",M}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ne=z+":"+G;!_[Ne]&&B<3&&(i("You are manually calling a React.PropTypes validation function for the `"+K+"` prop on `"+z+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),_[Ne]=!0,B++)}}return Y[G]==null?W?Y[G]===null?new c("The "+q+" `"+K+"` is marked as required "+("in `"+z+"`, but its value is `null`.")):new c("The "+q+" `"+K+"` is marked as required in "+("`"+z+"`, but its value is `undefined`.")):null:b(Y,G,z,q,K)}var L=F.bind(null,!1);return L.isRequired=F.bind(null,!0),L}function E(b){function _(B,F,L,W,Y,G){var z=B[F],q=j(z);if(q!==b){var K=Q(z);return new c("Invalid "+W+" `"+Y+"` of type "+("`"+K+"` supplied to `"+L+"`, expected ")+("`"+b+"`."),{expectedType:b})}return null}return y(_)}function P(){return y(a)}function A(b){function _(B,F,L,W,Y){if(typeof b!="function")return new c("Property `"+Y+"` of component `"+L+"` has invalid PropType notation inside arrayOf.");var G=B[F];if(!Array.isArray(G)){var z=j(G);return new c("Invalid "+W+" `"+Y+"` of type "+("`"+z+"` supplied to `"+L+"`, expected an array."))}for(var q=0;q<G.length;q++){var K=b(G,q,L,W,Y+"["+q+"]",r);if(K instanceof Error)return K}return null}return y(_)}function $(){function b(_,B,F,L,W){var Y=_[B];if(!s(Y)){var G=j(Y);return new c("Invalid "+L+" `"+W+"` of type "+("`"+G+"` supplied to `"+F+"`, expected a single ReactElement."))}return null}return y(b)}function C(){function b(_,B,F,L,W){var Y=_[B];if(!e.isValidElementType(Y)){var G=j(Y);return new c("Invalid "+L+" `"+W+"` of type "+("`"+G+"` supplied to `"+F+"`, expected a single ReactElement type."))}return null}return y(b)}function k(b){function _(B,F,L,W,Y){if(!(B[F]instanceof b)){var G=b.name||h,z=le(B[F]);return new c("Invalid "+W+" `"+Y+"` of type "+("`"+z+"` supplied to `"+L+"`, expected ")+("instance of `"+G+"`."))}return null}return y(_)}function N(b){if(!Array.isArray(b))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function _(B,F,L,W,Y){for(var G=B[F],z=0;z<b.length;z++)if(g(G,b[z]))return null;var q=JSON.stringify(b,function(Ce,M){var Ne=Q(M);return Ne==="symbol"?String(M):M});return new c("Invalid "+W+" `"+Y+"` of value `"+String(G)+"` "+("supplied to `"+L+"`, expected one of "+q+"."))}return y(_)}function V(b){function _(B,F,L,W,Y){if(typeof b!="function")return new c("Property `"+Y+"` of component `"+L+"` has invalid PropType notation inside objectOf.");var G=B[F],z=j(G);if(z!=="object")return new c("Invalid "+W+" `"+Y+"` of type "+("`"+z+"` supplied to `"+L+"`, expected an object."));for(var q in G)if(n(G,q)){var K=b(G,q,L,W,Y+"."+q,r);if(K instanceof Error)return K}return null}return y(_)}function U(b){if(!Array.isArray(b))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var _=0;_<b.length;_++){var B=b[_];if(typeof B!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+de(B)+" at index "+_+"."),a}function F(L,W,Y,G,z){for(var q=[],K=0;K<b.length;K++){var Ce=b[K],M=Ce(L,W,Y,G,z,r);if(M==null)return null;M.data&&n(M.data,"expectedType")&&q.push(M.data.expectedType)}var Ne=q.length>0?", expected one of type ["+q.join(", ")+"]":"";return new c("Invalid "+G+" `"+z+"` supplied to "+("`"+Y+"`"+Ne+"."))}return y(F)}function u(){function b(_,B,F,L,W){return O(_[B])?null:new c("Invalid "+L+" `"+W+"` supplied to "+("`"+F+"`, expected a ReactNode."))}return y(b)}function x(b,_,B,F,L){return new c((b||"React class")+": "+_+" type `"+B+"."+F+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+L+"`.")}function l(b){function _(B,F,L,W,Y){var G=B[F],z=j(G);if(z!=="object")return new c("Invalid "+W+" `"+Y+"` of type `"+z+"` "+("supplied to `"+L+"`, expected `object`."));for(var q in b){var K=b[q];if(typeof K!="function")return x(L,W,Y,q,Q(K));var Ce=K(G,q,L,W,Y+"."+q,r);if(Ce)return Ce}return null}return y(_)}function R(b){function _(B,F,L,W,Y){var G=B[F],z=j(G);if(z!=="object")return new c("Invalid "+W+" `"+Y+"` of type `"+z+"` "+("supplied to `"+L+"`, expected `object`."));var q=t({},B[F],b);for(var K in q){var Ce=b[K];if(n(b,K)&&typeof Ce!="function")return x(L,W,Y,K,Q(Ce));if(!Ce)return new c("Invalid "+W+" `"+Y+"` key `"+K+"` supplied to `"+L+"`.\nBad object: "+JSON.stringify(B[F],null," ")+`
|
|
41
|
-
Valid keys: `+JSON.stringify(Object.keys(b),null," "));var M=Ce(G,K,L,W,Y+"."+K,r);if(M)return M}return null}return y(_)}function O(b){switch(typeof b){case"number":case"string":case"undefined":return!0;case"boolean":return!b;case"object":if(Array.isArray(b))return b.every(O);if(b===null||s(b))return!0;var _=p(b);if(_){var B=_.call(b),F;if(_!==b.entries){for(;!(F=B.next()).done;)if(!O(F.value))return!1}else for(;!(F=B.next()).done;){var L=F.value;if(L&&!O(L[1]))return!1}}else return!1;return!0;default:return!1}}function D(b,_){return b==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function j(b){var _=typeof b;return Array.isArray(b)?"array":b instanceof RegExp?"object":D(_,b)?"symbol":_}function Q(b){if(typeof b>"u"||b===null)return""+b;var _=j(b);if(_==="object"){if(b instanceof Date)return"date";if(b instanceof RegExp)return"regexp"}return _}function de(b){var _=Q(b);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function le(b){return!b.constructor||!b.constructor.name?h:b.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},nn}var on,Co;function Fa(){if(Co)return on;Co=1;var e=Bn();function t(){}function r(){}return r.resetWarningCache=t,on=function(){function n(a,s,f,d,m,p){if(p!==e){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},on}if(process.env.NODE_ENV!=="production"){var Va=Dn(),La=!0;mn.exports=ja()(Va.isElement,La)}else mn.exports=Fa()();var za=mn.exports;const S=_a(za);function Ei(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Ei(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function we(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Ei(e))&&(n&&(n+=" "),n+=t);return n}function Ua(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let f=0;f<i.length;f+=1){const d=i[f];d&&(a+=(s===!0?"":" ")+t(d),s=!1,r&&r[d]&&(a+=" "+r[d]))}n[o]=a}return n}var hn={exports:{}},ie={};/**
|
|
42
|
-
* @license React
|
|
43
|
-
* react-is.production.js
|
|
44
|
-
*
|
|
45
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
46
|
-
*
|
|
47
|
-
* This source code is licensed under the MIT license found in the
|
|
48
|
-
* LICENSE file in the root directory of this source tree.
|
|
49
|
-
*/var Eo;function Wa(){if(Eo)return ie;Eo=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function g(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case e:switch(c=c.type,c){case r:case o:case n:case f:case d:case h:return c;default:switch(c=c&&c.$$typeof,c){case a:case s:case p:case m:return c;case i:return c;default:return y}}case t:return y}}}return ie.ContextConsumer=i,ie.ContextProvider=a,ie.Element=e,ie.ForwardRef=s,ie.Fragment=r,ie.Lazy=p,ie.Memo=m,ie.Portal=t,ie.Profiler=o,ie.StrictMode=n,ie.Suspense=f,ie.SuspenseList=d,ie.isContextConsumer=function(c){return g(c)===i},ie.isContextProvider=function(c){return g(c)===a},ie.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},ie.isForwardRef=function(c){return g(c)===s},ie.isFragment=function(c){return g(c)===r},ie.isLazy=function(c){return g(c)===p},ie.isMemo=function(c){return g(c)===m},ie.isPortal=function(c){return g(c)===t},ie.isProfiler=function(c){return g(c)===o},ie.isStrictMode=function(c){return g(c)===n},ie.isSuspense=function(c){return g(c)===f},ie.isSuspenseList=function(c){return g(c)===d},ie.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===o||c===n||c===f||c===d||typeof c=="object"&&c!==null&&(c.$$typeof===p||c.$$typeof===m||c.$$typeof===a||c.$$typeof===i||c.$$typeof===s||c.$$typeof===v||c.getModuleId!==void 0)},ie.typeOf=g,ie}var ae={};/**
|
|
50
|
-
* @license React
|
|
51
|
-
* react-is.development.js
|
|
52
|
-
*
|
|
53
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
54
|
-
*
|
|
55
|
-
* This source code is licensed under the MIT license found in the
|
|
56
|
-
* LICENSE file in the root directory of this source tree.
|
|
57
|
-
*/var To;function Ya(){return To||(To=1,process.env.NODE_ENV!=="production"&&function(){function e(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case t:switch(c=c.type,c){case n:case i:case o:case d:case m:case v:return c;default:switch(c=c&&c.$$typeof,c){case s:case f:case h:case p:return c;case a:return c;default:return y}}case r:return y}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");ae.ContextConsumer=a,ae.ContextProvider=s,ae.Element=t,ae.ForwardRef=f,ae.Fragment=n,ae.Lazy=h,ae.Memo=p,ae.Portal=r,ae.Profiler=i,ae.StrictMode=o,ae.Suspense=d,ae.SuspenseList=m,ae.isContextConsumer=function(c){return e(c)===a},ae.isContextProvider=function(c){return e(c)===s},ae.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},ae.isForwardRef=function(c){return e(c)===f},ae.isFragment=function(c){return e(c)===n},ae.isLazy=function(c){return e(c)===h},ae.isMemo=function(c){return e(c)===p},ae.isPortal=function(c){return e(c)===r},ae.isProfiler=function(c){return e(c)===i},ae.isStrictMode=function(c){return e(c)===o},ae.isSuspense=function(c){return e(c)===d},ae.isSuspenseList=function(c){return e(c)===m},ae.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===i||c===o||c===d||c===m||typeof c=="object"&&c!==null&&(c.$$typeof===h||c.$$typeof===p||c.$$typeof===s||c.$$typeof===a||c.$$typeof===f||c.$$typeof===g||c.getModuleId!==void 0)},ae.typeOf=e}()),ae}process.env.NODE_ENV==="production"?hn.exports=Wa():hn.exports=Ya();var mr=hn.exports;function He(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ti(e){if(I.isValidElement(e)||mr.isValidElementType(e)||!He(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Ti(e[r])}),t}function _e(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return He(e)&&He(t)&&Object.keys(t).forEach(o=>{I.isValidElement(t[o])||mr.isValidElementType(t[o])?n[o]=t[o]:He(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&He(e[o])?n[o]=_e(e[o],t[o],r):r.clone?n[o]=He(t[o])?Ti(t[o]):t[o]:n[o]=t[o]}),n}function Lt(e,t){return t?_e(e,t,{clone:!1}):e}const nt=process.env.NODE_ENV!=="production"?S.oneOfType([S.number,S.string,S.object,S.array]):{};function wo(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var a,s;const i=/min-width:\s*([0-9.]+)/;return+(((a=n.match(i))==null?void 0:a[1])||0)-+(((s=o.match(i))==null?void 0:s[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function Ga(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Ha(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
58
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Ze(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function qa(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const f=t(e.breakpoints.not(...s),a);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Er={xs:0,sm:600,md:900,lg:1200,xl:1536},xo={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Er[e]}px)`},Ka={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Er[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Ke(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||xo;return t.reduce((a,s,f)=>(a[i.up(i.keys[f])]=r(t[f]),a),{})}if(typeof t=="object"){const i=n.breakpoints||xo;return Object.keys(t).reduce((a,s)=>{if(Ga(i.keys,s)){const f=Ha(n.containerQueries?n:Ka,s);f&&(a[f]=r(t[s],s))}else if(Object.keys(i.values||Er).includes(s)){const f=i.up(s);a[f]=r(t[s],s)}else{const f=s;a[f]=t[f]}return a},{})}return r(t)}function Xa(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function ko(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Tr(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function hr(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Tr(e,r)||n,t&&(o=t(o,n,e)),o}function ve(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],f=a.theme,d=Tr(f,n)||{};return Ke(a,s,p=>{let h=hr(d,o,p);return p===h&&typeof p=="string"&&(h=hr(d,o,`${t}${p==="default"?"":ut(p)}`,p)),r===!1?h:{[r]:h}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:nt}:{},i.filterProps=[t],i}function Ja(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Qa={m:"margin",p:"padding"},Za={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Oo={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},es=Ja(e=>{if(e.length>2)if(Oo[e])e=Oo[e];else return[e];const[t,r]=e.split(""),n=Qa[t],o=Za[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),wr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],xr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],ts=[...wr,...xr];function qt(e,t,r,n){const o=Tr(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const a=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>o.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${a} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
59
|
-
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
60
|
-
`)));const s=o[a];return i>=0?s:typeof s=="number"?-s:typeof s=="string"&&s.startsWith("var(")?`calc(-1 * ${s})`:`-${s}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
61
|
-
`)),()=>{})}function jn(e){return qt(e,"spacing",8,"spacing")}function Kt(e,t){return typeof t=="string"||t==null?t:e(t)}function rs(e,t){return r=>e.reduce((n,o)=>(n[o]=Kt(t,r),n),{})}function ns(e,t,r,n){if(!t.includes(r))return null;const o=es(r),i=rs(o,n),a=e[r];return Ke(e,a,i)}function wi(e,t){const r=jn(e.theme);return Object.keys(e).map(n=>ns(e,t,n,r)).reduce(Lt,{})}function he(e){return wi(e,wr)}he.propTypes=process.env.NODE_ENV!=="production"?wr.reduce((e,t)=>(e[t]=nt,e),{}):{};he.filterProps=wr;function ge(e){return wi(e,xr)}ge.propTypes=process.env.NODE_ENV!=="production"?xr.reduce((e,t)=>(e[t]=nt,e),{}):{};ge.filterProps=xr;process.env.NODE_ENV!=="production"&&ts.reduce((e,t)=>(e[t]=nt,e),{});function kr(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?Lt(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Me(e){return typeof e!="number"?e:`${e}px solid`}function Be(e,t){return ve({prop:e,themeKey:"borders",transform:t})}const os=Be("border",Me),is=Be("borderTop",Me),as=Be("borderRight",Me),ss=Be("borderBottom",Me),cs=Be("borderLeft",Me),ls=Be("borderColor"),us=Be("borderTopColor"),fs=Be("borderRightColor"),ds=Be("borderBottomColor"),ps=Be("borderLeftColor"),ms=Be("outline",Me),hs=Be("outlineColor"),Or=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=qt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Kt(t,n)});return Ke(e,e.borderRadius,r)}return null};Or.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:nt}:{};Or.filterProps=["borderRadius"];kr(os,is,as,ss,cs,ls,us,fs,ds,ps,Or,ms,hs);const _r=e=>{if(e.gap!==void 0&&e.gap!==null){const t=qt(e.theme,"spacing",8,"gap"),r=n=>({gap:Kt(t,n)});return Ke(e,e.gap,r)}return null};_r.propTypes=process.env.NODE_ENV!=="production"?{gap:nt}:{};_r.filterProps=["gap"];const Rr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=qt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Kt(t,n)});return Ke(e,e.columnGap,r)}return null};Rr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:nt}:{};Rr.filterProps=["columnGap"];const Ar=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=qt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Kt(t,n)});return Ke(e,e.rowGap,r)}return null};Ar.propTypes=process.env.NODE_ENV!=="production"?{rowGap:nt}:{};Ar.filterProps=["rowGap"];const gs=ve({prop:"gridColumn"}),ys=ve({prop:"gridRow"}),bs=ve({prop:"gridAutoFlow"}),vs=ve({prop:"gridAutoColumns"}),Ss=ve({prop:"gridAutoRows"}),$s=ve({prop:"gridTemplateColumns"}),Cs=ve({prop:"gridTemplateRows"}),Es=ve({prop:"gridTemplateAreas"}),Ts=ve({prop:"gridArea"});kr(_r,Rr,Ar,gs,ys,bs,vs,Ss,$s,Cs,Es,Ts);function Ct(e,t){return t==="grey"?t:e}const ws=ve({prop:"color",themeKey:"palette",transform:Ct}),xs=ve({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ct}),ks=ve({prop:"backgroundColor",themeKey:"palette",transform:Ct});kr(ws,xs,ks);function ke(e){return e<=1&&e!==0?`${e*100}%`:e}const Os=ve({prop:"width",transform:ke}),Fn=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,s,f;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||Er[r];return n?((f=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:f.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:ke(r)}};return Ke(e,e.maxWidth,t)}return null};Fn.filterProps=["maxWidth"];const _s=ve({prop:"minWidth",transform:ke}),Rs=ve({prop:"height",transform:ke}),As=ve({prop:"maxHeight",transform:ke}),Ps=ve({prop:"minHeight",transform:ke});ve({prop:"size",cssProperty:"width",transform:ke});ve({prop:"size",cssProperty:"height",transform:ke});const Ns=ve({prop:"boxSizing"});kr(Os,Fn,_s,Rs,As,Ps,Ns);const Pr={border:{themeKey:"borders",transform:Me},borderTop:{themeKey:"borders",transform:Me},borderRight:{themeKey:"borders",transform:Me},borderBottom:{themeKey:"borders",transform:Me},borderLeft:{themeKey:"borders",transform:Me},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Me},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Or},color:{themeKey:"palette",transform:Ct},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ct},backgroundColor:{themeKey:"palette",transform:Ct},p:{style:ge},pt:{style:ge},pr:{style:ge},pb:{style:ge},pl:{style:ge},px:{style:ge},py:{style:ge},padding:{style:ge},paddingTop:{style:ge},paddingRight:{style:ge},paddingBottom:{style:ge},paddingLeft:{style:ge},paddingX:{style:ge},paddingY:{style:ge},paddingInline:{style:ge},paddingInlineStart:{style:ge},paddingInlineEnd:{style:ge},paddingBlock:{style:ge},paddingBlockStart:{style:ge},paddingBlockEnd:{style:ge},m:{style:he},mt:{style:he},mr:{style:he},mb:{style:he},ml:{style:he},mx:{style:he},my:{style:he},margin:{style:he},marginTop:{style:he},marginRight:{style:he},marginBottom:{style:he},marginLeft:{style:he},marginX:{style:he},marginY:{style:he},marginInline:{style:he},marginInlineStart:{style:he},marginInlineEnd:{style:he},marginBlock:{style:he},marginBlockStart:{style:he},marginBlockEnd:{style:he},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:_r},rowGap:{style:Ar},columnGap:{style:Rr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ke},maxWidth:{style:Fn},minWidth:{transform:ke},height:{transform:ke},maxHeight:{transform:ke},minHeight:{transform:ke},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Is(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Ms(e,t){return typeof e=="function"?e(t):e}function Ds(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:f=r,themeKey:d,transform:m,style:p}=s;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const h=Tr(o,d)||{};return p?p(a):Ke(a,n,g=>{let c=hr(h,m,g);return g===c&&typeof g=="string"&&(c=hr(h,m,`${r}${g==="default"?"":ut(g)}`,g)),f===!1?c:{[f]:c}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const a=o.unstable_sxConfig??Pr;function s(f){let d=f;if(typeof f=="function")d=f(o);else if(typeof f!="object")return f;if(!d)return null;const m=Xa(o.breakpoints),p=Object.keys(m);let h=m;return Object.keys(d).forEach(v=>{const g=Ms(d[v],o);if(g!=null)if(typeof g=="object")if(a[v])h=Lt(h,e(v,g,o,a));else{const c=Ke({theme:o},g,y=>({[v]:y}));Is(c,g)?h[v]=t({sx:g,theme:o,nested:!0}):h=Lt(h,c)}else h=Lt(h,e(v,g,o,a))}),!i&&o.modularCssLayers?{"@layer sx":wo(o,ko(p,h))}:wo(o,ko(p,h))}return Array.isArray(n)?n.map(s):s(n)}return t}const wt=Ds();wt.filterProps=["sx"];function gr(){return gr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gr.apply(null,arguments)}function Bs(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function js(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Fs=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(js(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Bs(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e}(),Te="-ms-",yr="-moz-",Z="-webkit-",xi="comm",Vn="rule",Ln="decl",Vs="@import",ki="@keyframes",Ls="@layer",zs=Math.abs,Nr=String.fromCharCode,Us=Object.assign;function Ws(e,t){return Ee(e,0)^45?(((t<<2^Ee(e,0))<<2^Ee(e,1))<<2^Ee(e,2))<<2^Ee(e,3):0}function Oi(e){return e.trim()}function Ys(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,r){return e.replace(t,r)}function gn(e,t){return e.indexOf(t)}function Ee(e,t){return e.charCodeAt(t)|0}function Ut(e,t,r){return e.slice(t,r)}function Le(e){return e.length}function zn(e){return e.length}function or(e,t){return t.push(e),e}function Gs(e,t){return e.map(t).join("")}var Ir=1,xt=1,_i=0,xe=0,$e=0,Ot="";function Mr(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Ir,column:xt,length:a,return:""}}function It(e,t){return Us(Mr("",null,null,"",null,null,0),e,{length:-e.length},t)}function Hs(){return $e}function qs(){return $e=xe>0?Ee(Ot,--xe):0,xt--,$e===10&&(xt=1,Ir--),$e}function Re(){return $e=xe<_i?Ee(Ot,xe++):0,xt++,$e===10&&(xt=1,Ir++),$e}function Ue(){return Ee(Ot,xe)}function cr(){return xe}function Xt(e,t){return Ut(Ot,e,t)}function Wt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ri(e){return Ir=xt=1,_i=Le(Ot=e),xe=0,[]}function Ai(e){return Ot="",e}function lr(e){return Oi(Xt(xe-1,yn(e===91?e+2:e===40?e+1:e)))}function Ks(e){for(;($e=Ue())&&$e<33;)Re();return Wt(e)>2||Wt($e)>3?"":" "}function Xs(e,t){for(;--t&&Re()&&!($e<48||$e>102||$e>57&&$e<65||$e>70&&$e<97););return Xt(e,cr()+(t<6&&Ue()==32&&Re()==32))}function yn(e){for(;Re();)switch($e){case e:return xe;case 34:case 39:e!==34&&e!==39&&yn($e);break;case 40:e===41&&yn(e);break;case 92:Re();break}return xe}function Js(e,t){for(;Re()&&e+$e!==57;)if(e+$e===84&&Ue()===47)break;return"/*"+Xt(t,xe-1)+"*"+Nr(e===47?e:Re())}function Qs(e){for(;!Wt(Ue());)Re();return Xt(e,xe)}function Zs(e){return Ai(ur("",null,null,null,[""],e=Ri(e),0,[0],e))}function ur(e,t,r,n,o,i,a,s,f){for(var d=0,m=0,p=a,h=0,v=0,g=0,c=1,y=1,E=1,P=0,A="",$=o,C=i,k=n,N=A;y;)switch(g=P,P=Re()){case 40:if(g!=108&&Ee(N,p-1)==58){gn(N+=ee(lr(P),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:N+=lr(P);break;case 9:case 10:case 13:case 32:N+=Ks(g);break;case 92:N+=Xs(cr()-1,7);continue;case 47:switch(Ue()){case 42:case 47:or(ec(Js(Re(),cr()),t,r),f);break;default:N+="/"}break;case 123*c:s[d++]=Le(N)*E;case 125*c:case 59:case 0:switch(P){case 0:case 125:y=0;case 59+m:E==-1&&(N=ee(N,/\f/g,"")),v>0&&Le(N)-p&&or(v>32?Ro(N+";",n,r,p-1):Ro(ee(N," ","")+";",n,r,p-2),f);break;case 59:N+=";";default:if(or(k=_o(N,t,r,d,m,o,s,A,$=[],C=[],p),i),P===123)if(m===0)ur(N,t,k,k,$,i,p,s,C);else switch(h===99&&Ee(N,3)===110?100:h){case 100:case 108:case 109:case 115:ur(e,k,k,n&&or(_o(e,k,k,0,0,o,s,A,o,$=[],p),C),o,C,p,s,n?$:C);break;default:ur(N,k,k,k,[""],C,0,s,C)}}d=m=v=0,c=E=1,A=N="",p=a;break;case 58:p=1+Le(N),v=g;default:if(c<1){if(P==123)--c;else if(P==125&&c++==0&&qs()==125)continue}switch(N+=Nr(P),P*c){case 38:E=m>0?1:(N+="\f",-1);break;case 44:s[d++]=(Le(N)-1)*E,E=1;break;case 64:Ue()===45&&(N+=lr(Re())),h=Ue(),m=p=Le(A=N+=Qs(cr())),P++;break;case 45:g===45&&Le(N)==2&&(c=0)}}return i}function _o(e,t,r,n,o,i,a,s,f,d,m){for(var p=o-1,h=o===0?i:[""],v=zn(h),g=0,c=0,y=0;g<n;++g)for(var E=0,P=Ut(e,p+1,p=zs(c=a[g])),A=e;E<v;++E)(A=Oi(c>0?h[E]+" "+P:ee(P,/&\f/g,h[E])))&&(f[y++]=A);return Mr(e,t,r,o===0?Vn:s,f,d,m)}function ec(e,t,r){return Mr(e,t,r,xi,Nr(Hs()),Ut(e,2,-2),0)}function Ro(e,t,r,n){return Mr(e,t,r,Ln,Ut(e,0,n),Ut(e,n+1,-1),n)}function Et(e,t){for(var r="",n=zn(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function tc(e,t,r,n){switch(e.type){case Ls:if(e.children.length)break;case Vs:case Ln:return e.return=e.return||e.value;case xi:return"";case ki:return e.return=e.value+"{"+Et(e.children,n)+"}";case Vn:e.value=e.props.join(",")}return Le(r=Et(e.children,n))?e.return=e.value+"{"+r+"}":""}function rc(e){var t=zn(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function nc(e){return function(t){t.root||(t=t.return)&&e(t)}}function Un(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var oc=function(t,r,n){for(var o=0,i=0;o=i,i=Ue(),o===38&&i===12&&(r[n]=1),!Wt(i);)Re();return Xt(t,xe)},ic=function(t,r){var n=-1,o=44;do switch(Wt(o)){case 0:o===38&&Ue()===12&&(r[n]=1),t[n]+=oc(xe-1,r,n);break;case 2:t[n]+=lr(o);break;case 4:if(o===44){t[++n]=Ue()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Nr(o)}while(o=Re());return t},ac=function(t,r){return Ai(ic(Ri(t),r))},Ao=new WeakMap,sc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Ao.get(n))&&!o){Ao.set(t,!0);for(var i=[],a=ac(r,i),s=n.props,f=0,d=0;f<a.length;f++)for(var m=0;m<s.length;m++,d++)t.props[d]=i[f]?a[f].replace(/&\f/g,s[m]):s[m]+" "+a[f]}}},cc=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Pi(e,t){switch(Ws(e,t)){case 5103:return Z+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Z+e+yr+e+Te+e+e;case 6828:case 4268:return Z+e+Te+e+e;case 6165:return Z+e+Te+"flex-"+e+e;case 5187:return Z+e+ee(e,/(\w+).+(:[^]+)/,Z+"box-$1$2"+Te+"flex-$1$2")+e;case 5443:return Z+e+Te+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return Z+e+Te+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return Z+e+Te+ee(e,"shrink","negative")+e;case 5292:return Z+e+Te+ee(e,"basis","preferred-size")+e;case 6060:return Z+"box-"+ee(e,"-grow","")+Z+e+Te+ee(e,"grow","positive")+e;case 4554:return Z+ee(e,/([^-])(transform)/g,"$1"+Z+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,Z+"$1"),/(image-set)/,Z+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,Z+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,Z+"box-pack:$3"+Te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Z+e+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,Z+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Le(e)-1-t>6)switch(Ee(e,t+1)){case 109:if(Ee(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+Z+"$2-$3$1"+yr+(Ee(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~gn(e,"stretch")?Pi(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ee(e,t+1)!==115)break;case 6444:switch(Ee(e,Le(e)-3-(~gn(e,"!important")&&10))){case 107:return ee(e,":",":"+Z)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Z+(Ee(e,14)===45?"inline-":"")+"box$3$1"+Z+"$2$3$1"+Te+"$2box$3")+e}break;case 5936:switch(Ee(e,t+11)){case 114:return Z+e+Te+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Z+e+Te+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Z+e+Te+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Z+e+Te+e+e}return e}var lc=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Ln:t.return=Pi(t.value,t.length);break;case ki:return Et([It(t,{value:ee(t.value,"@","@"+Z)})],o);case Vn:if(t.length)return Gs(t.props,function(i){switch(Ys(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Et([It(t,{props:[ee(i,/:(read-\w+)/,":"+yr+"$1")]})],o);case"::placeholder":return Et([It(t,{props:[ee(i,/:(plac\w+)/,":"+Z+"input-$1")]}),It(t,{props:[ee(i,/:(plac\w+)/,":"+yr+"$1")]}),It(t,{props:[ee(i,/:(plac\w+)/,Te+"input-$1")]})],o)}return""})}},uc=[lc],Ni=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(c){var y=c.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(c),c.setAttribute("data-s",""))})}var o=t.stylisPlugins||uc,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(c){for(var y=c.getAttribute("data-emotion").split(" "),E=1;E<y.length;E++)i[y[E]]=!0;s.push(c)});var f,d=[sc,cc];{var m,p=[tc,nc(function(c){m.insert(c)})],h=rc(d.concat(o,p)),v=function(y){return Et(Zs(y),h)};f=function(y,E,P,A){m=P,v(y?y+"{"+E.styles+"}":E.styles),A&&(g.inserted[E.name]=!0)}}var g={key:r,sheet:new Fs({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:f};return g.sheet.hydrate(s),g},Ii=Dn(),fc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},dc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Mi={};Mi[Ii.ForwardRef]=fc;Mi[Ii.Memo]=dc;var pc=!0;function Wn(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Dr=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||pc===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Yn=function(t,r,n){Dr(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function mc(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var hc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},gc=/[A-Z]|^ms/g,yc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Di=function(t){return t.charCodeAt(1)===45},Po=function(t){return t!=null&&typeof t!="boolean"},an=Un(function(e){return Di(e)?e:e.replace(gc,"-$&").toLowerCase()}),No=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(yc,function(n,o,i){return ze={name:o,styles:i,next:ze},o})}return hc[t]!==1&&!Di(t)&&typeof r=="number"&&r!==0?r+"px":r};function Yt(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return ze={name:o.name,styles:o.styles,next:ze},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)ze={name:a.name,styles:a.styles,next:ze},a=a.next;var s=i.styles+";";return s}return bc(e,t,r)}case"function":{if(e!==void 0){var f=ze,d=r(e);return ze=f,Yt(e,t,d)}break}}var m=r;if(t==null)return m;var p=t[m];return p!==void 0?p:m}function bc(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Yt(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=i+"{"+t[s]+"}":Po(s)&&(n+=an(i)+":"+No(i,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var f=0;f<a.length;f++)Po(a[f])&&(n+=an(i)+":"+No(i,a[f])+";");else{var d=Yt(e,t,a);switch(i){case"animation":case"animationName":{n+=an(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var Io=/label:\s*([^\s;{]+)\s*(;|$)/g,ze;function _t(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";ze=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Yt(r,t,i);else{var a=i;o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Yt(r,t,e[s]),n){var f=i;o+=f[s]}Io.lastIndex=0;for(var d="",m;(m=Io.exec(o))!==null;)d+="-"+m[1];var p=mc(o)+d;return{name:p,styles:o,next:ze}}var vc=function(t){return t()},Sc=I.useInsertionEffect?I.useInsertionEffect:!1,Gn=Sc||vc,Bi=I.createContext(typeof HTMLElement<"u"?Ni({key:"css"}):null);Bi.Provider;var $c=function(t){return X.forwardRef(function(r,n){var o=X.useContext(Bi);return t(r,o,n)})},Cc=I.createContext({}),Ec=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Tc=Un(function(e){return Ec.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),wc=Tc,xc=function(t){return t!=="theme"},Mo=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?wc:xc},Do=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},kc=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Dr(r,n,o),Gn(function(){return Yn(r,n,o)}),null},Oc=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=Do(t,r,n),f=s||Mo(o),d=!f("as");return function(){var m=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)p.push.apply(p,m);else{var h=m[0];p.push(h[0]);for(var v=m.length,g=1;g<v;g++)p.push(m[g],h[g])}var c=$c(function(y,E,P){var A=d&&y.as||o,$="",C=[],k=y;if(y.theme==null){k={};for(var N in y)k[N]=y[N];k.theme=I.useContext(Cc)}typeof y.className=="string"?$=Wn(E.registered,C,y.className):y.className!=null&&($=y.className+" ");var V=_t(p.concat(C),E.registered,k);$+=E.key+"-"+V.name,a!==void 0&&($+=" "+a);var U=d&&s===void 0?Mo(A):f,u={};for(var x in y)d&&x==="as"||U(x)&&(u[x]=y[x]);return u.className=$,P&&(u.ref=P),I.createElement(I.Fragment,null,I.createElement(kc,{cache:E,serialized:V,isStringTag:typeof A=="string"}),I.createElement(A,u))});return c.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",c.defaultProps=t.defaultProps,c.__emotion_real=c,c.__emotion_base=o,c.__emotion_styles=p,c.__emotion_forwardProp=s,Object.defineProperty(c,"toString",{value:function(){return"."+a}}),c.withComponent=function(y,E){var P=e(y,gr({},r,E,{shouldForwardProp:Do(c,E,!0)}));return P.apply(void 0,p)},c}},_c=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],bn=Oc.bind(null);_c.forEach(function(e){bn[e]=bn(e)});/**
|
|
62
|
-
* @mui/styled-engine v7.3.6
|
|
63
|
-
*
|
|
64
|
-
* @license MIT
|
|
65
|
-
* This source code is licensed under the MIT license found in the
|
|
66
|
-
* LICENSE file in the root directory of this source tree.
|
|
67
|
-
*/function Rc(e,t){const r=bn(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
68
|
-
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function Ac(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Bo=[];function lt(e){return Bo[0]=e,_t(Bo)}const Pc=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function Nc(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=Pc(t),a=Object.keys(i);function s(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r})`}function f(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-n/100}${r})`}function d(h,v){const g=a.indexOf(v);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:v)-n/100}${r})`}function m(h){return a.indexOf(h)+1<a.length?d(h,a[a.indexOf(h)+1]):s(h)}function p(h){const v=a.indexOf(h);return v===0?s(a[1]):v===a.length-1?f(a[v]):d(h,a[a.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:f,between:d,only:m,not:p,unit:r,...o}}const Ic={borderRadius:4};function ji(e=8,t=jn({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function Mc(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function Fi(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=Nc(r),f=ji(o);let d=_e({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:f,shape:{...Ic,...i}},a);return d=qa(d),d.applyStyles=Mc,d=t.reduce((m,p)=>_e(m,p),d),d.unstable_sxConfig={...Pr,...a==null?void 0:a.unstable_sxConfig},d.unstable_sx=function(p){return wt({sx:p,theme:this})},d}const Dc={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Hn(e,t,r="Mui"){const n=Dc[t];return n?`${r}-${n}`:`${Na.generate(e)}-${t}`}function Bc(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Hn(e,o,r)}),n}function Vi(e,t=""){return e.displayName||e.name||t}function jo(e,t,r){const n=Vi(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function jc(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Vi(e,"Component");if(typeof e=="object")switch(e.$$typeof){case mr.ForwardRef:return jo(e,e.render,"ForwardRef");case mr.Memo:return jo(e,e.type,"memo");default:return}}}function Li(e){const{variants:t,...r}=e,n={variants:t,style:lt(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=lt(o.style))}),n}const Fc=Fi();function sn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function st(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Vc(e){return e?(t,r)=>r[e]:null}function Lc(e,t,r){e.theme=Yc(e.theme)?r:e.theme[t]||e.theme}function fr(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>fr(e,o,r));if(Array.isArray(n==null?void 0:n.variants)){let o;if(n.isProcessed)o=r?st(n.style,r):n.style;else{const{variants:i,...a}=n;o=r?st(lt(a),r):a}return zi(e,n.variants,[o],r)}return n!=null&&n.isProcessed?r?st(lt(n.style),r):n.style:r?st(lt(n),r):n}function zi(e,t,r=[],n=void 0){var i;let o;e:for(let a=0;a<t.length;a+=1){const s=t[a];if(typeof s.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!s.props(o))continue}else for(const f in s.props)if(e[f]!==s.props[f]&&((i=e.ownerState)==null?void 0:i[f])!==s.props[f])continue e;typeof s.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),r.push(n?st(lt(s.style(o)),n):s.style(o))):r.push(n?st(lt(s.style),n):s.style)}return r}function zc(e={}){const{themeId:t,defaultTheme:r=Fc,rootShouldForwardProp:n=sn,slotShouldForwardProp:o=sn}=e;function i(s){Lc(s,t,r)}return(s,f={})=>{Ac(s,k=>k.filter(N=>N!==wt));const{name:d,slot:m,skipVariantsResolver:p,skipSx:h,overridesResolver:v=Vc(Ui(m)),...g}=f,c=d&&d.startsWith("Mui")||m?"components":"custom",y=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,E=h||!1;let P=sn;m==="Root"||m==="root"?P=n:m?P=o:Gc(s)&&(P=void 0);const A=Rc(s,{shouldForwardProp:P,label:Wc(d,m),...g}),$=k=>{if(k.__emotion_real===k)return k;if(typeof k=="function")return function(V){return fr(V,k,V.theme.modularCssLayers?c:void 0)};if(He(k)){const N=Li(k);return function(U){return N.variants?fr(U,N,U.theme.modularCssLayers?c:void 0):U.theme.modularCssLayers?st(N.style,c):N.style}}return k},C=(...k)=>{const N=[],V=k.map($),U=[];if(N.push(i),d&&v&&U.push(function(R){var Q,de;const D=(de=(Q=R.theme.components)==null?void 0:Q[d])==null?void 0:de.styleOverrides;if(!D)return null;const j={};for(const le in D)j[le]=fr(R,D[le],R.theme.modularCssLayers?"theme":void 0);return v(R,j)}),d&&!y&&U.push(function(R){var j,Q;const O=R.theme,D=(Q=(j=O==null?void 0:O.components)==null?void 0:j[d])==null?void 0:Q.variants;return D?zi(R,D,[],R.theme.modularCssLayers?"theme":void 0):null}),E||U.push(wt),Array.isArray(V[0])){const l=V.shift(),R=new Array(N.length).fill(""),O=new Array(U.length).fill("");let D;D=[...R,...l,...O],D.raw=[...R,...l.raw,...O],N.unshift(D)}const u=[...N,...V,...U],x=A(...u);return s.muiName&&(x.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(x.displayName=Uc(d,m,s)),x};return A.withConfig&&(C.withConfig=A.withConfig),C}}function Uc(e,t,r){return e?`${e}${ut(t||"")}`:`Styled(${jc(r)})`}function Wc(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${Ui(t||"Root")}`),r}function Yc(e){for(const t in e)return!1;return!0}function Gc(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ui(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function vn(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const a=e[i],s=t[i];if(!s)n[i]=a||{};else if(!a)n[i]=s;else{n[i]={...s};for(const f in a)if(Object.prototype.hasOwnProperty.call(a,f)){const d=f;n[i][d]=vn(a[d],s[d],r)}}}else i==="className"&&r&&t.className?n.className=we(e==null?void 0:e.className,t==null?void 0:t.className):i==="style"&&r&&t.style?n.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:n[i]===void 0&&(n[i]=e[i])}return n}function Hc(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function qn(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Hc(e,t,r)}function qc(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function et(e){if(e.type)return e;if(e.charAt(0)==="#")return et(qc(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
69
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Ze(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
70
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Ze(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Kc=e=>{const t=et(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Bt=(e,t)=>{try{return Kc(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Br(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Wi(e){e=et(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(d,m=(d+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let s="rgb";const f=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",f.push(t[3])),Br({type:s,values:f})}function Sn(e){e=et(e);let t=e.type==="hsl"||e.type==="hsla"?et(Wi(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Fo(e,t){const r=Sn(e),n=Sn(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Yi(e,t){return e=et(e),t=qn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Br(e)}function at(e,t,r){try{return Yi(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function jr(e,t){if(e=et(e),t=qn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Br(e)}function ne(e,t,r){try{return jr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Fr(e,t){if(e=et(e),t=qn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Br(e)}function oe(e,t,r){try{return Fr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Xc(e,t=.15){return Sn(e)>.5?jr(e,t):Fr(e,t)}function ir(e,t,r){try{return Xc(e,t)}catch{return e}}const Jc=I.createContext(void 0);process.env.NODE_ENV!=="production"&&(S.node,S.object);function Qc(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?vn(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?vn(o,n,t.components.mergeClassNameAndStyle):n}function Zc({props:e,name:t}){const r=I.useContext(Jc);return Qc({props:e,name:t,theme:{components:r}})}const Vo={theme:void 0};function el(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(Vo.theme=o.theme,i=Li(e(Vo)),t=i,r=o.theme),i}}function tl(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const Lo=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},rl=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,f])=>{(!r||r&&!r([...i,s]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?n(f,[...i,s],Array.isArray(f)?[...a,s]:a):t([...i,s],f,a))})}n(e)},nl=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function cn(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return rl(e,(s,f,d)=>{if((typeof f=="string"||typeof f=="number")&&(!n||!n(s,f))){const m=`--${r?`${r}-`:""}${s.join("-")}`,p=nl(s,f);Object.assign(o,{[m]:p}),Lo(i,s,`var(${m})`,d),Lo(a,s,`var(${m}, ${p})`,d)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function ol(e,t={}){const{getSelector:r=E,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:s,defaultColorScheme:f="light",...d}=e,{vars:m,css:p,varsWithDefaults:h}=cn(d,t);let v=h;const g={},{[f]:c,...y}=a;if(Object.entries(y||{}).forEach(([$,C])=>{const{vars:k,css:N,varsWithDefaults:V}=cn(C,t);v=_e(v,V),g[$]={css:N,vars:k}}),c){const{css:$,vars:C,varsWithDefaults:k}=cn(c,t);v=_e(v,k),g[f]={css:$,vars:C}}function E($,C){var N,V;let k=o;if(o==="class"&&(k=".%s"),o==="data"&&(k="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(k=`[${o}="%s"]`),$){if(k==="media")return e.defaultColorScheme===$?":root":{[`@media (prefers-color-scheme: ${((V=(N=a[$])==null?void 0:N.palette)==null?void 0:V.mode)||$})`]:{":root":C}};if(k)return e.defaultColorScheme===$?`:root, ${k.replace("%s",String($))}`:k.replace("%s",String($))}return":root"}return{vars:v,generateThemeVars:()=>{let $={...m};return Object.entries(g).forEach(([,{vars:C}])=>{$=_e($,C)}),$},generateStyleSheets:()=>{var U,u;const $=[],C=e.defaultColorScheme||"light";function k(x,l){Object.keys(l).length&&$.push(typeof x=="string"?{[x]:{...l}}:x)}k(r(void 0,{...p}),p);const{[C]:N,...V}=g;if(N){const{css:x}=N,l=(u=(U=a[C])==null?void 0:U.palette)==null?void 0:u.mode,R=!n&&l?{colorScheme:l,...x}:{...x};k(r(C,{...R}),R)}return Object.entries(V).forEach(([x,{css:l}])=>{var D,j;const R=(j=(D=a[x])==null?void 0:D.palette)==null?void 0:j.mode,O=!n&&R?{colorScheme:R,...l}:{...l};k(r(x,{...O}),O)}),i&&$.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),$}}}function il(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const Gt={black:"#000",white:"#fff"},al={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},ft={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},dt={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Mt={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},pt={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},mt={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},ht={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Gi(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Gt.white,default:Gt.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Hi=Gi();function qi(){return{text:{primary:Gt.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Gt.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const $n=qi();function zo(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Fr(e.main,o):t==="dark"&&(e.dark=jr(e.main,i)))}function Uo(e,t,r,n,o){const i=o.light||o,a=o.dark||o*1.5;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:r==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(i*100).toFixed(0)}%)`:r==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(a*100).toFixed(0)}%)`))}function sl(e="light"){return e==="dark"?{main:pt[200],light:pt[50],dark:pt[400]}:{main:pt[700],light:pt[400],dark:pt[800]}}function cl(e="light"){return e==="dark"?{main:ft[200],light:ft[50],dark:ft[400]}:{main:ft[500],light:ft[300],dark:ft[700]}}function ll(e="light"){return e==="dark"?{main:dt[500],light:dt[300],dark:dt[700]}:{main:dt[700],light:dt[400],dark:dt[800]}}function ul(e="light"){return e==="dark"?{main:mt[400],light:mt[300],dark:mt[700]}:{main:mt[700],light:mt[500],dark:mt[900]}}function fl(e="light"){return e==="dark"?{main:ht[400],light:ht[300],dark:ht[700]}:{main:ht[800],light:ht[500],dark:ht[900]}}function dl(e="light"){return e==="dark"?{main:Mt[400],light:Mt[300],dark:Mt[700]}:{main:"#ed6c02",light:Mt[500],dark:Mt[900]}}function pl(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Kn(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:o,...i}=e,a=e.primary||sl(t),s=e.secondary||cl(t),f=e.error||ll(t),d=e.info||ul(t),m=e.success||fl(t),p=e.warning||dl(t);function h(y){if(o)return pl(y);const E=Fo(y,$n.text.primary)>=r?$n.text.primary:Hi.text.primary;if(process.env.NODE_ENV!=="production"){const P=Fo(y,E);P<3&&console.error([`MUI: The contrast ratio of ${P}:1 for ${E} on ${y}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
71
|
-
`))}return E}const v=({color:y,name:E,mainShade:P=500,lightShade:A=300,darkShade:$=700})=>{if(y={...y},!y.main&&y[P]&&(y.main=y[P]),!y.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${E?` (${E})`:""} provided to augmentColor(color) is invalid.
|
|
72
|
-
The color object needs to have a \`main\` property or a \`${P}\` property.`:Ze(11,E?` (${E})`:"",P));if(typeof y.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${E?` (${E})`:""} provided to augmentColor(color) is invalid.
|
|
73
|
-
\`color.main\` should be a string, but \`${JSON.stringify(y.main)}\` was provided instead.
|
|
74
|
-
|
|
75
|
-
Did you intend to use one of the following approaches?
|
|
76
|
-
|
|
77
|
-
import { green } from "@mui/material/colors";
|
|
78
|
-
|
|
79
|
-
const theme1 = createTheme({ palette: {
|
|
80
|
-
primary: green,
|
|
81
|
-
} });
|
|
82
|
-
|
|
83
|
-
const theme2 = createTheme({ palette: {
|
|
84
|
-
primary: { main: green[500] },
|
|
85
|
-
} });`:Ze(12,E?` (${E})`:"",JSON.stringify(y.main)));return o?(Uo(o,y,"light",A,n),Uo(o,y,"dark",$,n)):(zo(y,"light",A,n),zo(y,"dark",$,n)),y.contrastText||(y.contrastText=h(y.main)),y};let g;return t==="light"?g=Gi():t==="dark"&&(g=qi()),process.env.NODE_ENV!=="production"&&(g||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),_e({common:{...Gt},mode:t,primary:v({color:a,name:"primary"}),secondary:v({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:v({color:f,name:"error"}),warning:v({color:p,name:"warning"}),info:v({color:d,name:"info"}),success:v({color:m,name:"success"}),grey:al,contrastThreshold:r,getContrastText:h,augmentColor:v,tonalOffset:n,...g},i)}function ml(e){const t={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function hl(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function gl(e){return Math.round(e*1e5)/1e5}const Wo={textTransform:"uppercase"},Yo='"Roboto", "Helvetica", "Arial", sans-serif';function yl(e,t){const{fontFamily:r=Yo,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:f=16,allVariants:d,pxToRem:m,...p}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof f!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=n/14,v=m||(y=>`${y/f*h}rem`),g=(y,E,P,A,$)=>({fontFamily:r,fontWeight:y,fontSize:v(E),lineHeight:P,...r===Yo?{letterSpacing:`${gl(A/E)}em`}:{},...$,...d}),c={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(i,48,1.167,0),h4:g(i,34,1.235,.25),h5:g(i,24,1.334,0),h6:g(a,20,1.6,.15),subtitle1:g(i,16,1.75,.15),subtitle2:g(a,14,1.57,.1),body1:g(i,16,1.5,.15),body2:g(i,14,1.43,.15),button:g(a,14,1.75,.4,Wo),caption:g(i,12,1.66,.4),overline:g(i,12,2.66,1,Wo),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return _e({htmlFontSize:f,pxToRem:v,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...c},p,{clone:!1})}const bl=.2,vl=.14,Sl=.12;function pe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${bl})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${vl})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Sl})`].join(",")}const $l=["none",pe(0,2,1,-1,0,1,1,0,0,1,3,0),pe(0,3,1,-2,0,2,2,0,0,1,5,0),pe(0,3,3,-2,0,3,4,0,0,1,8,0),pe(0,2,4,-1,0,4,5,0,0,1,10,0),pe(0,3,5,-1,0,5,8,0,0,1,14,0),pe(0,3,5,-1,0,6,10,0,0,1,18,0),pe(0,4,5,-2,0,7,10,1,0,2,16,1),pe(0,5,5,-3,0,8,10,1,0,3,14,2),pe(0,5,6,-3,0,9,12,1,0,3,16,2),pe(0,6,6,-3,0,10,14,1,0,4,18,3),pe(0,6,7,-4,0,11,15,1,0,4,20,3),pe(0,7,8,-4,0,12,17,2,0,5,22,4),pe(0,7,8,-4,0,13,19,2,0,5,24,4),pe(0,7,9,-4,0,14,21,2,0,5,26,4),pe(0,8,9,-5,0,15,22,2,0,6,28,5),pe(0,8,10,-5,0,16,24,2,0,6,30,5),pe(0,8,11,-5,0,17,26,2,0,6,32,5),pe(0,9,11,-5,0,18,28,2,0,7,34,6),pe(0,9,12,-6,0,19,29,2,0,7,36,6),pe(0,10,13,-6,0,20,31,3,0,8,38,7),pe(0,10,13,-6,0,21,33,3,0,8,40,7),pe(0,10,14,-6,0,22,35,3,0,8,42,7),pe(0,11,14,-7,0,23,36,3,0,9,44,8),pe(0,11,15,-7,0,24,38,3,0,9,46,8)],Cl={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)"},El={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Go(e){return`${Math.round(e)}ms`}function Tl(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function wl(e){const t={...Cl,...e.easing},r={...El,...e.duration};return{getAutoHeightDuration:Tl,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:f=0,...d}=i;if(process.env.NODE_ENV!=="production"){const m=h=>typeof h=="string",p=h=>!Number.isNaN(parseFloat(h));!m(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!m(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),m(s)||console.error('MUI: Argument "easing" must be a string.'),!p(f)&&!m(f)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
86
|
-
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(m=>`${m} ${typeof a=="string"?a:Go(a)} ${s} ${typeof f=="string"?f:Go(f)}`).join(",")},...e,easing:t,duration:r}}const xl={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function kl(e){return He(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Ki(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[a,s]=o[i];!kl(s)||a.startsWith("unstable_")?delete n[a]:He(s)&&(n[a]={...s},r(n[a]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
87
|
-
|
|
88
|
-
const theme = ${JSON.stringify(t,null,2)};
|
|
89
|
-
|
|
90
|
-
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
91
|
-
theme.transitions = createTransitions(theme.transitions || {});
|
|
92
|
-
|
|
93
|
-
export default theme;`}function Ho(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const Ol=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let n=0;n<t.length;n+=1)r+=+t[n];return r};function _l(e){Object.assign(e,{alpha(t,r){const n=this||e;return n.colorSpace?`oklch(from ${t} l c h / ${typeof r=="string"?`calc(${r})`:r})`:n.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:Yi(t,Ol(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${Ho(r)})`:Fr(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${Ho(r)})`:jr(t,r)}})}function Cn(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:f,colorSpace:d,...m}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"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.":Ze(20));const p=Kn({...i,colorSpace:d}),h=Fi(e);let v=_e(h,{mixins:hl(h.breakpoints,n),palette:p,shadows:$l.slice(),typography:yl(p,s),transitions:wl(a),zIndex:{...xl}});if(v=_e(v,m),v=t.reduce((g,c)=>_e(g,c),v),process.env.NODE_ENV!=="production"){const g=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],c=(y,E)=>{let P;for(P in y){const A=y[P];if(g.includes(P)&&Object.keys(A).length>0){if(process.env.NODE_ENV!=="production"){const $=Hn("",P);console.error([`MUI: The \`${E}\` component increases the CSS specificity of the \`${P}\` internal state.`,"You can not override it like this: ",JSON.stringify(y,null,2),"",`Instead, you need to use the '&.${$}' syntax:`,JSON.stringify({root:{[`&.${$}`]:A}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
94
|
-
`))}y[P]={}}}};Object.keys(v.components).forEach(y=>{const E=v.components[y].styleOverrides;E&&y.startsWith("Mui")&&c(E,y)})}return v.unstable_sxConfig={...Pr,...m==null?void 0:m.unstable_sxConfig},v.unstable_sx=function(c){return wt({sx:c,theme:this})},v.toRuntimeSource=Ki,_l(v),v}function Rl(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const Al=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Rl(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Xi(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Ji(e){return e==="dark"?Al:[]}function Pl(e){const{palette:t={mode:"light"},opacity:r,overlays:n,colorSpace:o,...i}=e,a=Kn({...t,colorSpace:o});return{palette:a,opacity:{...Xi(a.mode),...r},overlays:n||Ji(a.mode),...i}}function Nl(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const Il=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Ml=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return Il(e.cssVarPrefix).forEach(s=>{a[s]=r[s],delete r[s]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:a}}:i?{[i.replace("%s",t)]:a,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...a}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function Dl(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function T(e,t,r){!e[t]&&r&&(e[t]=r)}function jt(e){return typeof e!="string"||!e.startsWith("hsl")?e:Wi(e)}function We(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Bt(jt(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().
|
|
95
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Bl(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Fe=e=>{try{return e()}catch{}},jl=(e="mui")=>tl(e);function ln(e,t,r,n,o){if(!r)return;r=r===!0?{}:r;const i=o==="dark"?"dark":"light";if(!n){t[o]=Pl({...r,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return}const{palette:a,...s}=Cn({...n,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return t[o]={...r,palette:a,opacity:{...Xi(i),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||Ji(i)},s}function Fl(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=Nl,colorSchemeSelector:f=r.light&&r.dark?"media":void 0,rootSelector:d=":root",...m}=e,p=Object.keys(r)[0],h=n||(r.light&&p!=="light"?"light":p),v=jl(i),{[h]:g,light:c,dark:y,...E}=r,P={...E};let A=g;if((h==="dark"&&!("dark"in r)||h==="light"&&!("light"in r))&&(A=!0),!A)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${h}\` option is either missing or invalid.`:Ze(21,h));let $;a&&($="oklch");const C=ln($,P,A,m,h);c&&!P.light&&ln($,P,c,void 0,"light"),y&&!P.dark&&ln($,P,y,void 0,"dark");let k={defaultColorScheme:h,...C,cssVarPrefix:i,colorSchemeSelector:f,rootSelector:d,getCssVar:v,colorSchemes:P,font:{...ml(C.typography),...C.font},spacing:Bl(m.spacing)};Object.keys(k.colorSchemes).forEach(x=>{const l=k.colorSchemes[x].palette,R=D=>{const j=D.split("-"),Q=j[1],de=j[2];return v(D,l[Q][de])};l.mode==="light"&&(T(l.common,"background","#fff"),T(l.common,"onBackground","#000")),l.mode==="dark"&&(T(l.common,"background","#000"),T(l.common,"onBackground","#fff"));function O(D,j,Q){if($){let de;return D===at&&(de=`transparent ${((1-Q)*100).toFixed(0)}%`),D===ne&&(de=`#000 ${(Q*100).toFixed(0)}%`),D===oe&&(de=`#fff ${(Q*100).toFixed(0)}%`),`color-mix(in ${$}, ${j}, ${de})`}return D(j,Q)}if(Dl(l,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),l.mode==="light"){T(l.Alert,"errorColor",O(ne,l.error.light,.6)),T(l.Alert,"infoColor",O(ne,l.info.light,.6)),T(l.Alert,"successColor",O(ne,l.success.light,.6)),T(l.Alert,"warningColor",O(ne,l.warning.light,.6)),T(l.Alert,"errorFilledBg",R("palette-error-main")),T(l.Alert,"infoFilledBg",R("palette-info-main")),T(l.Alert,"successFilledBg",R("palette-success-main")),T(l.Alert,"warningFilledBg",R("palette-warning-main")),T(l.Alert,"errorFilledColor",Fe(()=>l.getContrastText(l.error.main))),T(l.Alert,"infoFilledColor",Fe(()=>l.getContrastText(l.info.main))),T(l.Alert,"successFilledColor",Fe(()=>l.getContrastText(l.success.main))),T(l.Alert,"warningFilledColor",Fe(()=>l.getContrastText(l.warning.main))),T(l.Alert,"errorStandardBg",O(oe,l.error.light,.9)),T(l.Alert,"infoStandardBg",O(oe,l.info.light,.9)),T(l.Alert,"successStandardBg",O(oe,l.success.light,.9)),T(l.Alert,"warningStandardBg",O(oe,l.warning.light,.9)),T(l.Alert,"errorIconColor",R("palette-error-main")),T(l.Alert,"infoIconColor",R("palette-info-main")),T(l.Alert,"successIconColor",R("palette-success-main")),T(l.Alert,"warningIconColor",R("palette-warning-main")),T(l.AppBar,"defaultBg",R("palette-grey-100")),T(l.Avatar,"defaultBg",R("palette-grey-400")),T(l.Button,"inheritContainedBg",R("palette-grey-300")),T(l.Button,"inheritContainedHoverBg",R("palette-grey-A100")),T(l.Chip,"defaultBorder",R("palette-grey-400")),T(l.Chip,"defaultAvatarColor",R("palette-grey-700")),T(l.Chip,"defaultIconColor",R("palette-grey-700")),T(l.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),T(l.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),T(l.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),T(l.LinearProgress,"primaryBg",O(oe,l.primary.main,.62)),T(l.LinearProgress,"secondaryBg",O(oe,l.secondary.main,.62)),T(l.LinearProgress,"errorBg",O(oe,l.error.main,.62)),T(l.LinearProgress,"infoBg",O(oe,l.info.main,.62)),T(l.LinearProgress,"successBg",O(oe,l.success.main,.62)),T(l.LinearProgress,"warningBg",O(oe,l.warning.main,.62)),T(l.Skeleton,"bg",$?O(at,l.text.primary,.11):`rgba(${R("palette-text-primaryChannel")} / 0.11)`),T(l.Slider,"primaryTrack",O(oe,l.primary.main,.62)),T(l.Slider,"secondaryTrack",O(oe,l.secondary.main,.62)),T(l.Slider,"errorTrack",O(oe,l.error.main,.62)),T(l.Slider,"infoTrack",O(oe,l.info.main,.62)),T(l.Slider,"successTrack",O(oe,l.success.main,.62)),T(l.Slider,"warningTrack",O(oe,l.warning.main,.62));const D=$?O(ne,l.background.default,.6825):ir(l.background.default,.8);T(l.SnackbarContent,"bg",D),T(l.SnackbarContent,"color",Fe(()=>$?$n.text.primary:l.getContrastText(D))),T(l.SpeedDialAction,"fabHoverBg",ir(l.background.paper,.15)),T(l.StepConnector,"border",R("palette-grey-400")),T(l.StepContent,"border",R("palette-grey-400")),T(l.Switch,"defaultColor",R("palette-common-white")),T(l.Switch,"defaultDisabledColor",R("palette-grey-100")),T(l.Switch,"primaryDisabledColor",O(oe,l.primary.main,.62)),T(l.Switch,"secondaryDisabledColor",O(oe,l.secondary.main,.62)),T(l.Switch,"errorDisabledColor",O(oe,l.error.main,.62)),T(l.Switch,"infoDisabledColor",O(oe,l.info.main,.62)),T(l.Switch,"successDisabledColor",O(oe,l.success.main,.62)),T(l.Switch,"warningDisabledColor",O(oe,l.warning.main,.62)),T(l.TableCell,"border",O(oe,O(at,l.divider,1),.88)),T(l.Tooltip,"bg",O(at,l.grey[700],.92))}if(l.mode==="dark"){T(l.Alert,"errorColor",O(oe,l.error.light,.6)),T(l.Alert,"infoColor",O(oe,l.info.light,.6)),T(l.Alert,"successColor",O(oe,l.success.light,.6)),T(l.Alert,"warningColor",O(oe,l.warning.light,.6)),T(l.Alert,"errorFilledBg",R("palette-error-dark")),T(l.Alert,"infoFilledBg",R("palette-info-dark")),T(l.Alert,"successFilledBg",R("palette-success-dark")),T(l.Alert,"warningFilledBg",R("palette-warning-dark")),T(l.Alert,"errorFilledColor",Fe(()=>l.getContrastText(l.error.dark))),T(l.Alert,"infoFilledColor",Fe(()=>l.getContrastText(l.info.dark))),T(l.Alert,"successFilledColor",Fe(()=>l.getContrastText(l.success.dark))),T(l.Alert,"warningFilledColor",Fe(()=>l.getContrastText(l.warning.dark))),T(l.Alert,"errorStandardBg",O(ne,l.error.light,.9)),T(l.Alert,"infoStandardBg",O(ne,l.info.light,.9)),T(l.Alert,"successStandardBg",O(ne,l.success.light,.9)),T(l.Alert,"warningStandardBg",O(ne,l.warning.light,.9)),T(l.Alert,"errorIconColor",R("palette-error-main")),T(l.Alert,"infoIconColor",R("palette-info-main")),T(l.Alert,"successIconColor",R("palette-success-main")),T(l.Alert,"warningIconColor",R("palette-warning-main")),T(l.AppBar,"defaultBg",R("palette-grey-900")),T(l.AppBar,"darkBg",R("palette-background-paper")),T(l.AppBar,"darkColor",R("palette-text-primary")),T(l.Avatar,"defaultBg",R("palette-grey-600")),T(l.Button,"inheritContainedBg",R("palette-grey-800")),T(l.Button,"inheritContainedHoverBg",R("palette-grey-700")),T(l.Chip,"defaultBorder",R("palette-grey-700")),T(l.Chip,"defaultAvatarColor",R("palette-grey-300")),T(l.Chip,"defaultIconColor",R("palette-grey-300")),T(l.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),T(l.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),T(l.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),T(l.LinearProgress,"primaryBg",O(ne,l.primary.main,.5)),T(l.LinearProgress,"secondaryBg",O(ne,l.secondary.main,.5)),T(l.LinearProgress,"errorBg",O(ne,l.error.main,.5)),T(l.LinearProgress,"infoBg",O(ne,l.info.main,.5)),T(l.LinearProgress,"successBg",O(ne,l.success.main,.5)),T(l.LinearProgress,"warningBg",O(ne,l.warning.main,.5)),T(l.Skeleton,"bg",$?O(at,l.text.primary,.13):`rgba(${R("palette-text-primaryChannel")} / 0.13)`),T(l.Slider,"primaryTrack",O(ne,l.primary.main,.5)),T(l.Slider,"secondaryTrack",O(ne,l.secondary.main,.5)),T(l.Slider,"errorTrack",O(ne,l.error.main,.5)),T(l.Slider,"infoTrack",O(ne,l.info.main,.5)),T(l.Slider,"successTrack",O(ne,l.success.main,.5)),T(l.Slider,"warningTrack",O(ne,l.warning.main,.5));const D=$?O(oe,l.background.default,.985):ir(l.background.default,.98);T(l.SnackbarContent,"bg",D),T(l.SnackbarContent,"color",Fe(()=>$?Hi.text.primary:l.getContrastText(D))),T(l.SpeedDialAction,"fabHoverBg",ir(l.background.paper,.15)),T(l.StepConnector,"border",R("palette-grey-600")),T(l.StepContent,"border",R("palette-grey-600")),T(l.Switch,"defaultColor",R("palette-grey-300")),T(l.Switch,"defaultDisabledColor",R("palette-grey-600")),T(l.Switch,"primaryDisabledColor",O(ne,l.primary.main,.55)),T(l.Switch,"secondaryDisabledColor",O(ne,l.secondary.main,.55)),T(l.Switch,"errorDisabledColor",O(ne,l.error.main,.55)),T(l.Switch,"infoDisabledColor",O(ne,l.info.main,.55)),T(l.Switch,"successDisabledColor",O(ne,l.success.main,.55)),T(l.Switch,"warningDisabledColor",O(ne,l.warning.main,.55)),T(l.TableCell,"border",O(ne,O(at,l.divider,1),.68)),T(l.Tooltip,"bg",O(at,l.grey[700],.92))}We(l.background,"default"),We(l.background,"paper"),We(l.common,"background"),We(l.common,"onBackground"),We(l,"divider"),Object.keys(l).forEach(D=>{const j=l[D];D!=="tonalOffset"&&j&&typeof j=="object"&&(j.main&&T(l[D],"mainChannel",Bt(jt(j.main))),j.light&&T(l[D],"lightChannel",Bt(jt(j.light))),j.dark&&T(l[D],"darkChannel",Bt(jt(j.dark))),j.contrastText&&T(l[D],"contrastTextChannel",Bt(jt(j.contrastText))),D==="text"&&(We(l[D],"primary"),We(l[D],"secondary")),D==="action"&&(j.active&&We(l[D],"active"),j.selected&&We(l[D],"selected")))})}),k=t.reduce((x,l)=>_e(x,l),k);const N={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:Ml(k),enableContrastVars:a},{vars:V,generateThemeVars:U,generateStyleSheets:u}=ol(k,N);return k.vars=V,Object.entries(k.colorSchemes[k.defaultColorScheme]).forEach(([x,l])=>{k[x]=l}),k.generateThemeVars=U,k.generateStyleSheets=u,k.generateSpacing=function(){return ji(m.spacing,jn(this))},k.getColorSchemeSelector=il(f),k.spacing=k.generateSpacing(),k.shouldSkipGeneratingVar=s,k.unstable_sxConfig={...Pr,...m==null?void 0:m.unstable_sxConfig},k.unstable_sx=function(l){return wt({sx:l,theme:this})},k.toRuntimeSource=Ki,k}function qo(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Kn({...r===!0?{}:r.palette,mode:t})})}function Vl(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...a}=e,s=i||"light",f=o==null?void 0:o[s],d={...o,...r?{[s]:{...typeof f!="boolean"&&f,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Cn(e,...t);let m=r;"palette"in e||d[s]&&(d[s]!==!0?m=d[s].palette:s==="dark"&&(m={mode:"dark"}));const p=Cn({...e,palette:m},...t);return p.defaultColorScheme=s,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},qo(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},qo(p,"light",d.light)),p}return!r&&!("light"in d)&&s==="light"&&(d.light=!0),Fl({...a,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...t)}const Ll=Vl(),zl="$$material";function Ul(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Wl=e=>Ul(e)&&e!=="classes",Yl=zc({themeId:zl,defaultTheme:Ll,rootShouldForwardProp:Wl}),Gl=el;process.env.NODE_ENV!=="production"&&(S.node,S.object.isRequired);function Hl(e){return Zc(e)}function ql(e){return Hn("MuiSvgIcon",e)}Bc("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Kl=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${ut(t)}`,`fontSize${ut(r)}`]};return Ua(o,ql,n)},Xl=Yl("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ut(r.color)}`],t[`fontSize${ut(r.fontSize)}`]]}})(Gl(({theme:e})=>{var t,r,n,o,i,a,s,f,d,m,p,h,v,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(n=(r=(e.vars??e).transitions)==null?void 0:r.duration)==null?void 0:n.shorter}),variants:[{props:c=>!c.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((f=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:f.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((m=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:m.call(d,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,c])=>c&&c.main).map(([c])=>{var y,E;return{props:{color:c},style:{color:(E=(y=(e.vars??e).palette)==null?void 0:y[c])==null?void 0:E.main}}}),{props:{color:"action"},style:{color:(h=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:h.active}},{props:{color:"disabled"},style:{color:(g=(v=(e.vars??e).palette)==null?void 0:v.action)==null?void 0:g.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),br=I.forwardRef(function(t,r){const n=Hl({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:f="medium",htmlColor:d,inheritViewBox:m=!1,titleAccess:p,viewBox:h="0 0 24 24",...v}=n,g=I.isValidElement(o)&&o.type==="svg",c={...n,color:a,component:s,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:h,hasSvgAsChild:g},y={};m||(y.viewBox=h);const E=Kl(c);return J.jsxs(Xl,{as:s,className:we(E.root,i),focusable:"false",color:d,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r,...y,...v,...g&&o.props,ownerState:c,children:[g?o.props.children:o,p?J.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(br.propTypes={children:S.node,classes:S.object,className:S.string,color:S.oneOfType([S.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),S.string]),component:S.elementType,fontSize:S.oneOfType([S.oneOf(["inherit","large","medium","small"]),S.string]),htmlColor:S.string,inheritViewBox:S.bool,shapeRendering:S.string,sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object]),titleAccess:S.string,viewBox:S.string});br.muiName="SvgIcon";function Jl(e,t){function r(n,o){return J.jsx(br,{"data-testid":process.env.NODE_ENV!=="production"?`${t}Icon`:void 0,ref:o,...n,children:e})}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=br.muiName,I.memo(I.forwardRef(r))}const Ql=Jl(J.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function Xn(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function Jn(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let f=0;f<i.length;f+=1){const d=i[f];d&&(a+=(s===!0?"":" ")+t(d),s=!1,r&&r[d]&&(a+=" "+r[d]))}n[o]=a}return n}function tt(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function Zl(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Qn(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Zl(e,t,r)}function eu(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function rt(e){if(e.type)return e;if(e.charAt(0)==="#")return rt(eu(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
96
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:tt(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
97
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:tt(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const tu=e=>{const t=rt(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Ft=(e,t)=>{try{return tu(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Vr(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Qi(e){e=rt(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(d,m=(d+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let s="rgb";const f=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",f.push(t[3])),Vr({type:s,values:f})}function En(e){e=rt(e);let t=e.type==="hsl"||e.type==="hsla"?rt(Qi(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Ko(e,t){const r=En(e),n=En(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Tn(e,t){return e=rt(e),t=Qn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Vr(e)}function ar(e,t,r){try{return Tn(e,t)}catch{return e}}function Zn(e,t){if(e=rt(e),t=Qn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Vr(e)}function ue(e,t,r){try{return Zn(e,t)}catch{return e}}function eo(e,t){if(e=rt(e),t=Qn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Vr(e)}function fe(e,t,r){try{return eo(e,t)}catch{return e}}function ru(e,t=.15){return En(e)>.5?Zn(e,t):eo(e,t)}function sr(e,t,r){try{return ru(e,t)}catch{return e}}const Xo=e=>e,nu=()=>{let e=Xo;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Xo}}},ou=nu();function Ae(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":tt(7));return e.charAt(0).toUpperCase()+e.slice(1)}var wn={exports:{}},se={};/**
|
|
98
|
-
* @license React
|
|
99
|
-
* react-is.production.js
|
|
100
|
-
*
|
|
101
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
102
|
-
*
|
|
103
|
-
* This source code is licensed under the MIT license found in the
|
|
104
|
-
* LICENSE file in the root directory of this source tree.
|
|
105
|
-
*/var Jo;function iu(){if(Jo)return se;Jo=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function g(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case e:switch(c=c.type,c){case r:case o:case n:case f:case d:case h:return c;default:switch(c=c&&c.$$typeof,c){case a:case s:case p:case m:return c;case i:return c;default:return y}}case t:return y}}}return se.ContextConsumer=i,se.ContextProvider=a,se.Element=e,se.ForwardRef=s,se.Fragment=r,se.Lazy=p,se.Memo=m,se.Portal=t,se.Profiler=o,se.StrictMode=n,se.Suspense=f,se.SuspenseList=d,se.isContextConsumer=function(c){return g(c)===i},se.isContextProvider=function(c){return g(c)===a},se.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},se.isForwardRef=function(c){return g(c)===s},se.isFragment=function(c){return g(c)===r},se.isLazy=function(c){return g(c)===p},se.isMemo=function(c){return g(c)===m},se.isPortal=function(c){return g(c)===t},se.isProfiler=function(c){return g(c)===o},se.isStrictMode=function(c){return g(c)===n},se.isSuspense=function(c){return g(c)===f},se.isSuspenseList=function(c){return g(c)===d},se.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===o||c===n||c===f||c===d||typeof c=="object"&&c!==null&&(c.$$typeof===p||c.$$typeof===m||c.$$typeof===a||c.$$typeof===i||c.$$typeof===s||c.$$typeof===v||c.getModuleId!==void 0)},se.typeOf=g,se}var ce={};/**
|
|
106
|
-
* @license React
|
|
107
|
-
* react-is.development.js
|
|
108
|
-
*
|
|
109
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
110
|
-
*
|
|
111
|
-
* This source code is licensed under the MIT license found in the
|
|
112
|
-
* LICENSE file in the root directory of this source tree.
|
|
113
|
-
*/var Qo;function au(){return Qo||(Qo=1,process.env.NODE_ENV!=="production"&&function(){function e(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case t:switch(c=c.type,c){case n:case i:case o:case d:case m:case v:return c;default:switch(c=c&&c.$$typeof,c){case s:case f:case h:case p:return c;case a:return c;default:return y}}case r:return y}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");ce.ContextConsumer=a,ce.ContextProvider=s,ce.Element=t,ce.ForwardRef=f,ce.Fragment=n,ce.Lazy=h,ce.Memo=p,ce.Portal=r,ce.Profiler=i,ce.StrictMode=o,ce.Suspense=d,ce.SuspenseList=m,ce.isContextConsumer=function(c){return e(c)===a},ce.isContextProvider=function(c){return e(c)===s},ce.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},ce.isForwardRef=function(c){return e(c)===f},ce.isFragment=function(c){return e(c)===n},ce.isLazy=function(c){return e(c)===h},ce.isMemo=function(c){return e(c)===p},ce.isPortal=function(c){return e(c)===r},ce.isProfiler=function(c){return e(c)===i},ce.isStrictMode=function(c){return e(c)===o},ce.isSuspense=function(c){return e(c)===d},ce.isSuspenseList=function(c){return e(c)===m},ce.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===i||c===o||c===d||c===m||typeof c=="object"&&c!==null&&(c.$$typeof===h||c.$$typeof===p||c.$$typeof===s||c.$$typeof===a||c.$$typeof===f||c.$$typeof===g||c.getModuleId!==void 0)},ce.typeOf=e}()),ce}process.env.NODE_ENV==="production"?wn.exports=iu():wn.exports=au();var vr=wn.exports;function qe(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Zi(e){if(I.isValidElement(e)||vr.isValidElementType(e)||!qe(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Zi(e[r])}),t}function Pe(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return qe(e)&&qe(t)&&Object.keys(t).forEach(o=>{I.isValidElement(t[o])||vr.isValidElementType(t[o])?n[o]=t[o]:qe(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&qe(e[o])?n[o]=Pe(e[o],t[o],r):r.clone?n[o]=qe(t[o])?Zi(t[o]):t[o]:n[o]=t[o]}),n}function zt(e,t){return t?Pe(e,t,{clone:!1}):e}const ot=process.env.NODE_ENV!=="production"?S.oneOfType([S.number,S.string,S.object,S.array]):{};function su(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var a,s;const i=/min-width:\s*([0-9.]+)/;return+(((a=n.match(i))==null?void 0:a[1])||0)-+(((s=o.match(i))==null?void 0:s[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function cu(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function lu(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
114
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:tt(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function uu(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const f=t(e.breakpoints.not(...s),a);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Lr={xs:0,sm:600,md:900,lg:1200,xl:1536},Zo={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Lr[e]}px)`},fu={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Lr[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Xe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Zo;return t.reduce((a,s,f)=>(a[i.up(i.keys[f])]=r(t[f]),a),{})}if(typeof t=="object"){const i=n.breakpoints||Zo;return Object.keys(t).reduce((a,s)=>{if(cu(i.keys,s)){const f=lu(n.containerQueries?n:fu,s);f&&(a[f]=r(t[s],s))}else if(Object.keys(i.values||Lr).includes(s)){const f=i.up(s);a[f]=r(t[s],s)}else{const f=s;a[f]=t[f]}return a},{})}return r(t)}function du(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function pu(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function zr(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Sr(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=zr(e,r)||n,t&&(o=t(o,n,e)),o}function Se(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],f=a.theme,d=zr(f,n)||{};return Xe(a,s,p=>{let h=Sr(d,o,p);return p===h&&typeof p=="string"&&(h=Sr(d,o,`${t}${p==="default"?"":Ae(p)}`,p)),r===!1?h:{[r]:h}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:ot}:{},i.filterProps=[t],i}function mu(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const hu={m:"margin",p:"padding"},gu={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ei={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},yu=mu(e=>{if(e.length>2)if(ei[e])e=ei[e];else return[e];const[t,r]=e.split(""),n=hu[t],o=gu[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Ur=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Wr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],bu=[...Ur,...Wr];function Jt(e,t,r,n){const o=zr(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const a=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>o.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${a} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
115
|
-
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
116
|
-
`)));const s=o[a];return i>=0?s:typeof s=="number"?-s:typeof s=="string"&&s.startsWith("var(")?`calc(-1 * ${s})`:`-${s}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
117
|
-
`)),()=>{})}function to(e){return Jt(e,"spacing",8,"spacing")}function Qt(e,t){return typeof t=="string"||t==null?t:e(t)}function vu(e,t){return r=>e.reduce((n,o)=>(n[o]=Qt(t,r),n),{})}function Su(e,t,r,n){if(!t.includes(r))return null;const o=yu(r),i=vu(o,n),a=e[r];return Xe(e,a,i)}function ea(e,t){const r=to(e.theme);return Object.keys(e).map(n=>Su(e,t,n,r)).reduce(zt,{})}function ye(e){return ea(e,Ur)}ye.propTypes=process.env.NODE_ENV!=="production"?Ur.reduce((e,t)=>(e[t]=ot,e),{}):{};ye.filterProps=Ur;function be(e){return ea(e,Wr)}be.propTypes=process.env.NODE_ENV!=="production"?Wr.reduce((e,t)=>(e[t]=ot,e),{}):{};be.filterProps=Wr;process.env.NODE_ENV!=="production"&&bu.reduce((e,t)=>(e[t]=ot,e),{});function Yr(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?zt(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function De(e){return typeof e!="number"?e:`${e}px solid`}function je(e,t){return Se({prop:e,themeKey:"borders",transform:t})}const $u=je("border",De),Cu=je("borderTop",De),Eu=je("borderRight",De),Tu=je("borderBottom",De),wu=je("borderLeft",De),xu=je("borderColor"),ku=je("borderTopColor"),Ou=je("borderRightColor"),_u=je("borderBottomColor"),Ru=je("borderLeftColor"),Au=je("outline",De),Pu=je("outlineColor"),Gr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Jt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Qt(t,n)});return Xe(e,e.borderRadius,r)}return null};Gr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:ot}:{};Gr.filterProps=["borderRadius"];Yr($u,Cu,Eu,Tu,wu,xu,ku,Ou,_u,Ru,Gr,Au,Pu);const Hr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Jt(e.theme,"spacing",8,"gap"),r=n=>({gap:Qt(t,n)});return Xe(e,e.gap,r)}return null};Hr.propTypes=process.env.NODE_ENV!=="production"?{gap:ot}:{};Hr.filterProps=["gap"];const qr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Jt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Qt(t,n)});return Xe(e,e.columnGap,r)}return null};qr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:ot}:{};qr.filterProps=["columnGap"];const Kr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Jt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Qt(t,n)});return Xe(e,e.rowGap,r)}return null};Kr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:ot}:{};Kr.filterProps=["rowGap"];const Nu=Se({prop:"gridColumn"}),Iu=Se({prop:"gridRow"}),Mu=Se({prop:"gridAutoFlow"}),Du=Se({prop:"gridAutoColumns"}),Bu=Se({prop:"gridAutoRows"}),ju=Se({prop:"gridTemplateColumns"}),Fu=Se({prop:"gridTemplateRows"}),Vu=Se({prop:"gridTemplateAreas"}),Lu=Se({prop:"gridArea"});Yr(Hr,qr,Kr,Nu,Iu,Mu,Du,Bu,ju,Fu,Vu,Lu);function Tt(e,t){return t==="grey"?t:e}const zu=Se({prop:"color",themeKey:"palette",transform:Tt}),Uu=Se({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Tt}),Wu=Se({prop:"backgroundColor",themeKey:"palette",transform:Tt});Yr(zu,Uu,Wu);function Oe(e){return e<=1&&e!==0?`${e*100}%`:e}const Yu=Se({prop:"width",transform:Oe}),ro=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,s,f;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||Lr[r];return n?((f=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:f.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Oe(r)}};return Xe(e,e.maxWidth,t)}return null};ro.filterProps=["maxWidth"];const Gu=Se({prop:"minWidth",transform:Oe}),Hu=Se({prop:"height",transform:Oe}),qu=Se({prop:"maxHeight",transform:Oe}),Ku=Se({prop:"minHeight",transform:Oe});Se({prop:"size",cssProperty:"width",transform:Oe});Se({prop:"size",cssProperty:"height",transform:Oe});const Xu=Se({prop:"boxSizing"});Yr(Yu,ro,Gu,Hu,qu,Ku,Xu);const Xr={border:{themeKey:"borders",transform:De},borderTop:{themeKey:"borders",transform:De},borderRight:{themeKey:"borders",transform:De},borderBottom:{themeKey:"borders",transform:De},borderLeft:{themeKey:"borders",transform:De},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:De},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Gr},color:{themeKey:"palette",transform:Tt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Tt},backgroundColor:{themeKey:"palette",transform:Tt},p:{style:be},pt:{style:be},pr:{style:be},pb:{style:be},pl:{style:be},px:{style:be},py:{style:be},padding:{style:be},paddingTop:{style:be},paddingRight:{style:be},paddingBottom:{style:be},paddingLeft:{style:be},paddingX:{style:be},paddingY:{style:be},paddingInline:{style:be},paddingInlineStart:{style:be},paddingInlineEnd:{style:be},paddingBlock:{style:be},paddingBlockStart:{style:be},paddingBlockEnd:{style:be},m:{style:ye},mt:{style:ye},mr:{style:ye},mb:{style:ye},ml:{style:ye},mx:{style:ye},my:{style:ye},margin:{style:ye},marginTop:{style:ye},marginRight:{style:ye},marginBottom:{style:ye},marginLeft:{style:ye},marginX:{style:ye},marginY:{style:ye},marginInline:{style:ye},marginInlineStart:{style:ye},marginInlineEnd:{style:ye},marginBlock:{style:ye},marginBlockStart:{style:ye},marginBlockEnd:{style:ye},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Hr},rowGap:{style:Kr},columnGap:{style:qr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Oe},maxWidth:{style:ro},minWidth:{transform:Oe},height:{transform:Oe},maxHeight:{transform:Oe},minHeight:{transform:Oe},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Ju(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Qu(e,t){return typeof e=="function"?e(t):e}function Zu(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:f=r,themeKey:d,transform:m,style:p}=s;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const h=zr(o,d)||{};return p?p(a):Xe(a,n,g=>{let c=Sr(h,m,g);return g===c&&typeof g=="string"&&(c=Sr(h,m,`${r}${g==="default"?"":Ae(g)}`,g)),f===!1?c:{[f]:c}})}function t(r){const{sx:n,theme:o={}}=r||{};if(!n)return null;const i=o.unstable_sxConfig??Xr;function a(s){let f=s;if(typeof s=="function")f=s(o);else if(typeof s!="object")return s;if(!f)return null;const d=du(o.breakpoints),m=Object.keys(d);let p=d;return Object.keys(f).forEach(h=>{const v=Qu(f[h],o);if(v!=null)if(typeof v=="object")if(i[h])p=zt(p,e(h,v,o,i));else{const g=Xe({theme:o},v,c=>({[h]:c}));Ju(g,v)?p[h]=t({sx:v,theme:o}):p=zt(p,g)}else p=zt(p,e(h,v,o,i))}),su(o,pu(m,p))}return Array.isArray(n)?n.map(a):a(n)}return t}const kt=Zu();kt.filterProps=["sx"];function xn(){return xn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xn.apply(null,arguments)}var ta=I.createContext(typeof HTMLElement<"u"?Ni({key:"css"}):null);ta.Provider;var ra=function(t){return X.forwardRef(function(r,n){var o=X.useContext(ta);return t(r,o,n)})},na=I.createContext({}),no={}.hasOwnProperty,kn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ef=function(t,r){var n={};for(var o in r)no.call(r,o)&&(n[o]=r[o]);return n[kn]=t,n},tf=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Dr(r,n,o),Gn(function(){return Yn(r,n,o)}),null},rf=ra(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[kn],i=[n],a="";typeof e.className=="string"?a=Wn(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var s=_t(i,void 0,I.useContext(na));a+=t.key+"-"+s.name;var f={};for(var d in e)no.call(e,d)&&d!=="css"&&d!==kn&&(f[d]=e[d]);return f.className=a,r&&(f.ref=r),I.createElement(I.Fragment,null,I.createElement(tf,{cache:t,serialized:s,isStringTag:typeof o=="string"}),I.createElement(o,f))}),nf=rf,ti=function(t,r){var n=arguments;if(r==null||!no.call(r,"css"))return I.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=nf,i[1]=ef(t,r);for(var a=2;a<o;a++)i[a]=n[a];return I.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(ti||(ti={}));function oo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return _t(t)}function Zt(){var e=oo.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var of=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,af=Un(function(e){return of.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),sf=af,cf=function(t){return t!=="theme"},ri=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?sf:cf},ni=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},lf=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Dr(r,n,o),Gn(function(){return Yn(r,n,o)}),null},uf=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=ni(t,r,n),f=s||ri(o),d=!f("as");return function(){var m=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)p.push.apply(p,m);else{var h=m[0];p.push(h[0]);for(var v=m.length,g=1;g<v;g++)p.push(m[g],h[g])}var c=ra(function(y,E,P){var A=d&&y.as||o,$="",C=[],k=y;if(y.theme==null){k={};for(var N in y)k[N]=y[N];k.theme=I.useContext(na)}typeof y.className=="string"?$=Wn(E.registered,C,y.className):y.className!=null&&($=y.className+" ");var V=_t(p.concat(C),E.registered,k);$+=E.key+"-"+V.name,a!==void 0&&($+=" "+a);var U=d&&s===void 0?ri(A):f,u={};for(var x in y)d&&x==="as"||U(x)&&(u[x]=y[x]);return u.className=$,P&&(u.ref=P),I.createElement(I.Fragment,null,I.createElement(lf,{cache:E,serialized:V,isStringTag:typeof A=="string"}),I.createElement(A,u))});return c.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",c.defaultProps=t.defaultProps,c.__emotion_real=c,c.__emotion_base=o,c.__emotion_styles=p,c.__emotion_forwardProp=s,Object.defineProperty(c,"toString",{value:function(){return"."+a}}),c.withComponent=function(y,E){var P=e(y,xn({},r,E,{shouldForwardProp:ni(c,E,!0)}));return P.apply(void 0,p)},c}},ff=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],On=uf.bind(null);ff.forEach(function(e){On[e]=On(e)});/**
|
|
118
|
-
* @mui/styled-engine v7.1.1
|
|
119
|
-
*
|
|
120
|
-
* @license MIT
|
|
121
|
-
* This source code is licensed under the MIT license found in the
|
|
122
|
-
* LICENSE file in the root directory of this source tree.
|
|
123
|
-
*/function df(e,t){const r=On(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
124
|
-
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function pf(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const oi=[];function ii(e){return oi[0]=e,_t(oi)}const mf=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function hf(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=mf(t),a=Object.keys(i);function s(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r})`}function f(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-n/100}${r})`}function d(h,v){const g=a.indexOf(v);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:v)-n/100}${r})`}function m(h){return a.indexOf(h)+1<a.length?d(h,a[a.indexOf(h)+1]):s(h)}function p(h){const v=a.indexOf(h);return v===0?s(a[1]):v===a.length-1?f(a[v]):d(h,a[a.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:f,between:d,only:m,not:p,unit:r,...o}}const gf={borderRadius:4};function oa(e=8,t=to({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function yf(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function ia(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=hf(r),f=oa(o);let d=Pe({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:f,shape:{...gf,...i}},a);return d=uu(d),d.applyStyles=yf,d=t.reduce((m,p)=>Pe(m,p),d),d.unstable_sxConfig={...Xr,...a==null?void 0:a.unstable_sxConfig},d.unstable_sx=function(p){return kt({sx:p,theme:this})},d}const bf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function er(e,t,r="Mui"){const n=bf[t];return n?`${r}-${n}`:`${ou.generate(e)}-${t}`}function Jr(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=er(e,o,r)}),n}function aa(e,t=""){return e.displayName||e.name||t}function ai(e,t,r){const n=aa(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function vf(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return aa(e,"Component");if(typeof e=="object")switch(e.$$typeof){case vr.ForwardRef:return ai(e,e.render,"ForwardRef");case vr.Memo:return ai(e,e.type,"memo");default:return}}}function sa(e){const{variants:t,...r}=e,n={variants:t,style:ii(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=ii(o.style))}),n}const Sf=ia();function un(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function $f(e){return e?(t,r)=>r[e]:null}function Cf(e,t,r){e.theme=xf(e.theme)?r:e.theme[t]||e.theme}function dr(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>dr(e,n));if(Array.isArray(r==null?void 0:r.variants)){let n;if(r.isProcessed)n=r.style;else{const{variants:o,...i}=r;n=i}return ca(e,r.variants,[n])}return r!=null&&r.isProcessed?r.style:r}function ca(e,t,r=[]){var o;let n;e:for(let i=0;i<t.length;i+=1){const a=t[i];if(typeof a.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!a.props(n))continue}else for(const s in a.props)if(e[s]!==a.props[s]&&((o=e.ownerState)==null?void 0:o[s])!==a.props[s])continue e;typeof a.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),r.push(a.style(n))):r.push(a.style)}return r}function Ef(e={}){const{themeId:t,defaultTheme:r=Sf,rootShouldForwardProp:n=un,slotShouldForwardProp:o=un}=e;function i(s){Cf(s,t,r)}return(s,f={})=>{pf(s,C=>C.filter(k=>k!==kt));const{name:d,slot:m,skipVariantsResolver:p,skipSx:h,overridesResolver:v=$f(la(m)),...g}=f,c=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,y=h||!1;let E=un;m==="Root"||m==="root"?E=n:m?E=o:kf(s)&&(E=void 0);const P=df(s,{shouldForwardProp:E,label:wf(d,m),...g}),A=C=>{if(C.__emotion_real===C)return C;if(typeof C=="function")return function(N){return dr(N,C)};if(qe(C)){const k=sa(C);return k.variants?function(V){return dr(V,k)}:k.style}return C},$=(...C)=>{const k=[],N=C.map(A),V=[];if(k.push(i),d&&v&&V.push(function(l){var j,Q;const O=(Q=(j=l.theme.components)==null?void 0:j[d])==null?void 0:Q.styleOverrides;if(!O)return null;const D={};for(const de in O)D[de]=dr(l,O[de]);return v(l,D)}),d&&!c&&V.push(function(l){var D,j;const R=l.theme,O=(j=(D=R==null?void 0:R.components)==null?void 0:D[d])==null?void 0:j.variants;return O?ca(l,O):null}),y||V.push(kt),Array.isArray(N[0])){const x=N.shift(),l=new Array(k.length).fill(""),R=new Array(V.length).fill("");let O;O=[...l,...x,...R],O.raw=[...l,...x.raw,...R],k.unshift(O)}const U=[...k,...N,...V],u=P(...U);return s.muiName&&(u.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(u.displayName=Tf(d,m,s)),u};return P.withConfig&&($.withConfig=P.withConfig),$}}function Tf(e,t,r){return e?`${e}${Ae(t||"")}`:`Styled(${vf(r)})`}function wf(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${la(t||"Root")}`),r}function xf(e){for(const t in e)return!1;return!0}function kf(e){return typeof e=="string"&&e.charCodeAt(0)>96}function la(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function _n(e,t){const r={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if(o==="components"||o==="slots")r[o]={...e[o],...r[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],a=t[o];if(!a)r[o]=i||{};else if(!i)r[o]=a;else{r[o]={...a};for(const s in i)if(Object.prototype.hasOwnProperty.call(i,s)){const f=s;r[o][f]=_n(i[f],a[f])}}}else r[o]===void 0&&(r[o]=e[o])}return r}const Of=typeof window<"u"?I.useLayoutEffect:I.useEffect,_f=I.createContext(void 0);process.env.NODE_ENV!=="production"&&(S.node,S.object);function Rf(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?_n(o.defaultProps,n):!o.styleOverrides&&!o.variants?_n(o,n):n}function Af({props:e,name:t}){const r=I.useContext(_f);return Rf({props:e,name:t,theme:{components:r}})}const si={theme:void 0};function Pf(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(si.theme=o.theme,i=sa(e(si)),t=i,r=o.theme),i}}function Nf(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const ci=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},If=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,f])=>{(!r||r&&!r([...i,s]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?n(f,[...i,s],Array.isArray(f)?[...a,s]:a):t([...i,s],f,a))})}n(e)},Mf=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function fn(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return If(e,(s,f,d)=>{if((typeof f=="string"||typeof f=="number")&&(!n||!n(s,f))){const m=`--${r?`${r}-`:""}${s.join("-")}`,p=Mf(s,f);Object.assign(o,{[m]:p}),ci(i,s,`var(${m})`,d),ci(a,s,`var(${m}, ${p})`,d)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function Df(e,t={}){const{getSelector:r=y,disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...f}=e,{vars:d,css:m,varsWithDefaults:p}=fn(f,t);let h=p;const v={},{[s]:g,...c}=i;if(Object.entries(c||{}).forEach(([A,$])=>{const{vars:C,css:k,varsWithDefaults:N}=fn($,t);h=Pe(h,N),v[A]={css:k,vars:C}}),g){const{css:A,vars:$,varsWithDefaults:C}=fn(g,t);h=Pe(h,C),v[s]={css:A,vars:$}}function y(A,$){var k,N;let C=o;if(o==="class"&&(C=".%s"),o==="data"&&(C="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(C=`[${o}="%s"]`),A){if(C==="media")return e.defaultColorScheme===A?":root":{[`@media (prefers-color-scheme: ${((N=(k=i[A])==null?void 0:k.palette)==null?void 0:N.mode)||A})`]:{":root":$}};if(C)return e.defaultColorScheme===A?`:root, ${C.replace("%s",String(A))}`:C.replace("%s",String(A))}return":root"}return{vars:h,generateThemeVars:()=>{let A={...d};return Object.entries(v).forEach(([,{vars:$}])=>{A=Pe(A,$)}),A},generateStyleSheets:()=>{var V,U;const A=[],$=e.defaultColorScheme||"light";function C(u,x){Object.keys(x).length&&A.push(typeof u=="string"?{[u]:{...x}}:u)}C(r(void 0,{...m}),m);const{[$]:k,...N}=v;if(k){const{css:u}=k,x=(U=(V=i[$])==null?void 0:V.palette)==null?void 0:U.mode,l=!n&&x?{colorScheme:x,...u}:{...u};C(r($,{...l}),l)}return Object.entries(N).forEach(([u,{css:x}])=>{var O,D;const l=(D=(O=i[u])==null?void 0:O.palette)==null?void 0:D.mode,R=!n&&l?{colorScheme:l,...x}:{...x};C(r(u,{...R}),R)}),A}}}function Bf(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const Ht={black:"#000",white:"#fff"},jf={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},gt={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},yt={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Dt={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},bt={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},vt={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},St={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function ua(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ht.white,default:Ht.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Ff=ua();function fa(){return{text:{primary:Ht.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ht.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const li=fa();function ui(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=eo(e.main,o):t==="dark"&&(e.dark=Zn(e.main,i)))}function Vf(e="light"){return e==="dark"?{main:bt[200],light:bt[50],dark:bt[400]}:{main:bt[700],light:bt[400],dark:bt[800]}}function Lf(e="light"){return e==="dark"?{main:gt[200],light:gt[50],dark:gt[400]}:{main:gt[500],light:gt[300],dark:gt[700]}}function zf(e="light"){return e==="dark"?{main:yt[500],light:yt[300],dark:yt[700]}:{main:yt[700],light:yt[400],dark:yt[800]}}function Uf(e="light"){return e==="dark"?{main:vt[400],light:vt[300],dark:vt[700]}:{main:vt[700],light:vt[500],dark:vt[900]}}function Wf(e="light"){return e==="dark"?{main:St[400],light:St[300],dark:St[700]}:{main:St[800],light:St[500],dark:St[900]}}function Yf(e="light"){return e==="dark"?{main:Dt[400],light:Dt[300],dark:Dt[700]}:{main:"#ed6c02",light:Dt[500],dark:Dt[900]}}function io(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,i=e.primary||Vf(t),a=e.secondary||Lf(t),s=e.error||zf(t),f=e.info||Uf(t),d=e.success||Wf(t),m=e.warning||Yf(t);function p(c){const y=Ko(c,li.text.primary)>=r?li.text.primary:Ff.text.primary;if(process.env.NODE_ENV!=="production"){const E=Ko(c,y);E<3&&console.error([`MUI: The contrast ratio of ${E}:1 for ${y} on ${c}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
125
|
-
`))}return y}const h=({color:c,name:y,mainShade:E=500,lightShade:P=300,darkShade:A=700})=>{if(c={...c},!c.main&&c[E]&&(c.main=c[E]),!c.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
126
|
-
The color object needs to have a \`main\` property or a \`${E}\` property.`:tt(11,y?` (${y})`:"",E));if(typeof c.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
127
|
-
\`color.main\` should be a string, but \`${JSON.stringify(c.main)}\` was provided instead.
|
|
128
|
-
|
|
129
|
-
Did you intend to use one of the following approaches?
|
|
130
|
-
|
|
131
|
-
import { green } from "@mui/material/colors";
|
|
132
|
-
|
|
133
|
-
const theme1 = createTheme({ palette: {
|
|
134
|
-
primary: green,
|
|
135
|
-
} });
|
|
136
|
-
|
|
137
|
-
const theme2 = createTheme({ palette: {
|
|
138
|
-
primary: { main: green[500] },
|
|
139
|
-
} });`:tt(12,y?` (${y})`:"",JSON.stringify(c.main)));return ui(c,"light",P,n),ui(c,"dark",A,n),c.contrastText||(c.contrastText=p(c.main)),c};let v;return t==="light"?v=ua():t==="dark"&&(v=fa()),process.env.NODE_ENV!=="production"&&(v||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Pe({common:{...Ht},mode:t,primary:h({color:i,name:"primary"}),secondary:h({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:s,name:"error"}),warning:h({color:m,name:"warning"}),info:h({color:f,name:"info"}),success:h({color:d,name:"success"}),grey:jf,contrastThreshold:r,getContrastText:p,augmentColor:h,tonalOffset:n,...v},o)}function Gf(e){const t={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function Hf(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function qf(e){return Math.round(e*1e5)/1e5}const fi={textTransform:"uppercase"},di='"Roboto", "Helvetica", "Arial", sans-serif';function Kf(e,t){const{fontFamily:r=di,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:f=16,allVariants:d,pxToRem:m,...p}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof f!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=n/14,v=m||(y=>`${y/f*h}rem`),g=(y,E,P,A,$)=>({fontFamily:r,fontWeight:y,fontSize:v(E),lineHeight:P,...r===di?{letterSpacing:`${qf(A/E)}em`}:{},...$,...d}),c={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(i,48,1.167,0),h4:g(i,34,1.235,.25),h5:g(i,24,1.334,0),h6:g(a,20,1.6,.15),subtitle1:g(i,16,1.75,.15),subtitle2:g(a,14,1.57,.1),body1:g(i,16,1.5,.15),body2:g(i,14,1.43,.15),button:g(a,14,1.75,.4,fi),caption:g(i,12,1.66,.4),overline:g(i,12,2.66,1,fi),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Pe({htmlFontSize:f,pxToRem:v,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...c},p,{clone:!1})}const Xf=.2,Jf=.14,Qf=.12;function me(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Xf})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Jf})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Qf})`].join(",")}const Zf=["none",me(0,2,1,-1,0,1,1,0,0,1,3,0),me(0,3,1,-2,0,2,2,0,0,1,5,0),me(0,3,3,-2,0,3,4,0,0,1,8,0),me(0,2,4,-1,0,4,5,0,0,1,10,0),me(0,3,5,-1,0,5,8,0,0,1,14,0),me(0,3,5,-1,0,6,10,0,0,1,18,0),me(0,4,5,-2,0,7,10,1,0,2,16,1),me(0,5,5,-3,0,8,10,1,0,3,14,2),me(0,5,6,-3,0,9,12,1,0,3,16,2),me(0,6,6,-3,0,10,14,1,0,4,18,3),me(0,6,7,-4,0,11,15,1,0,4,20,3),me(0,7,8,-4,0,12,17,2,0,5,22,4),me(0,7,8,-4,0,13,19,2,0,5,24,4),me(0,7,9,-4,0,14,21,2,0,5,26,4),me(0,8,9,-5,0,15,22,2,0,6,28,5),me(0,8,10,-5,0,16,24,2,0,6,30,5),me(0,8,11,-5,0,17,26,2,0,6,32,5),me(0,9,11,-5,0,18,28,2,0,7,34,6),me(0,9,12,-6,0,19,29,2,0,7,36,6),me(0,10,13,-6,0,20,31,3,0,8,38,7),me(0,10,13,-6,0,21,33,3,0,8,40,7),me(0,10,14,-6,0,22,35,3,0,8,42,7),me(0,11,14,-7,0,23,36,3,0,9,44,8),me(0,11,15,-7,0,24,38,3,0,9,46,8)],ed={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)"},td={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function pi(e){return`${Math.round(e)}ms`}function rd(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function nd(e){const t={...ed,...e.easing},r={...td,...e.duration};return{getAutoHeightDuration:rd,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:f=0,...d}=i;if(process.env.NODE_ENV!=="production"){const m=h=>typeof h=="string",p=h=>!Number.isNaN(parseFloat(h));!m(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!m(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),m(s)||console.error('MUI: Argument "easing" must be a string.'),!p(f)&&!m(f)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
140
|
-
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(m=>`${m} ${typeof a=="string"?a:pi(a)} ${s} ${typeof f=="string"?f:pi(f)}`).join(",")},...e,easing:t,duration:r}}const od={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function id(e){return qe(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function da(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[a,s]=o[i];!id(s)||a.startsWith("unstable_")?delete n[a]:qe(s)&&(n[a]={...s},r(n[a]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
141
|
-
|
|
142
|
-
const theme = ${JSON.stringify(t,null,2)};
|
|
143
|
-
|
|
144
|
-
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
145
|
-
theme.transitions = createTransitions(theme.transitions || {});
|
|
146
|
-
|
|
147
|
-
export default theme;`}function Rn(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:f,...d}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"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.":tt(20));const m=io(i),p=ia(e);let h=Pe(p,{mixins:Hf(p.breakpoints,n),palette:m,shadows:Zf.slice(),typography:Kf(m,s),transitions:nd(a),zIndex:{...od}});if(h=Pe(h,d),h=t.reduce((v,g)=>Pe(v,g),h),process.env.NODE_ENV!=="production"){const v=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],g=(c,y)=>{let E;for(E in c){const P=c[E];if(v.includes(E)&&Object.keys(P).length>0){if(process.env.NODE_ENV!=="production"){const A=er("",E);console.error([`MUI: The \`${y}\` component increases the CSS specificity of the \`${E}\` internal state.`,"You can not override it like this: ",JSON.stringify(c,null,2),"",`Instead, you need to use the '&.${A}' syntax:`,JSON.stringify({root:{[`&.${A}`]:P}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
148
|
-
`))}c[E]={}}}};Object.keys(h.components).forEach(c=>{const y=h.components[c].styleOverrides;y&&c.startsWith("Mui")&&g(y,c)})}return h.unstable_sxConfig={...Xr,...d==null?void 0:d.unstable_sxConfig},h.unstable_sx=function(g){return kt({sx:g,theme:this})},h.toRuntimeSource=da,h}function ad(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const sd=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=ad(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function pa(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function ma(e){return e==="dark"?sd:[]}function cd(e){const{palette:t={mode:"light"},opacity:r,overlays:n,...o}=e,i=io(t);return{palette:i,opacity:{...pa(i.mode),...r},overlays:n||ma(i.mode),...o}}function ld(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const ud=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],fd=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return ud(e.cssVarPrefix).forEach(s=>{a[s]=r[s],delete r[s]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:a}}:i?{[i.replace("%s",t)]:a,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...a}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function dd(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function w(e,t,r){!e[t]&&r&&(e[t]=r)}function Vt(e){return typeof e!="string"||!e.startsWith("hsl")?e:Qi(e)}function Ye(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Ft(Vt(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().
|
|
149
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function pd(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ve=e=>{try{return e()}catch{}},md=(e="mui")=>Nf(e);function dn(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=cd({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...a}=Rn({...r,palette:{mode:o,...t==null?void 0:t.palette}});return e[n]={...t,palette:i,opacity:{...pa(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||ma(o)},a}function hd(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=ld,colorSchemeSelector:s=r.light&&r.dark?"media":void 0,rootSelector:f=":root",...d}=e,m=Object.keys(r)[0],p=n||(r.light&&m!=="light"?"light":m),h=md(i),{[p]:v,light:g,dark:c,...y}=r,E={...y};let P=v;if((p==="dark"&&!("dark"in r)||p==="light"&&!("light"in r))&&(P=!0),!P)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:tt(21,p));const A=dn(E,P,d,p);g&&!E.light&&dn(E,g,void 0,"light"),c&&!E.dark&&dn(E,c,void 0,"dark");let $={defaultColorScheme:p,...A,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:f,getCssVar:h,colorSchemes:E,font:{...Gf(A.typography),...A.font},spacing:pd(d.spacing)};Object.keys($.colorSchemes).forEach(U=>{const u=$.colorSchemes[U].palette,x=l=>{const R=l.split("-"),O=R[1],D=R[2];return h(l,u[O][D])};if(u.mode==="light"&&(w(u.common,"background","#fff"),w(u.common,"onBackground","#000")),u.mode==="dark"&&(w(u.common,"background","#000"),w(u.common,"onBackground","#fff")),dd(u,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),u.mode==="light"){w(u.Alert,"errorColor",ue(u.error.light,.6)),w(u.Alert,"infoColor",ue(u.info.light,.6)),w(u.Alert,"successColor",ue(u.success.light,.6)),w(u.Alert,"warningColor",ue(u.warning.light,.6)),w(u.Alert,"errorFilledBg",x("palette-error-main")),w(u.Alert,"infoFilledBg",x("palette-info-main")),w(u.Alert,"successFilledBg",x("palette-success-main")),w(u.Alert,"warningFilledBg",x("palette-warning-main")),w(u.Alert,"errorFilledColor",Ve(()=>u.getContrastText(u.error.main))),w(u.Alert,"infoFilledColor",Ve(()=>u.getContrastText(u.info.main))),w(u.Alert,"successFilledColor",Ve(()=>u.getContrastText(u.success.main))),w(u.Alert,"warningFilledColor",Ve(()=>u.getContrastText(u.warning.main))),w(u.Alert,"errorStandardBg",fe(u.error.light,.9)),w(u.Alert,"infoStandardBg",fe(u.info.light,.9)),w(u.Alert,"successStandardBg",fe(u.success.light,.9)),w(u.Alert,"warningStandardBg",fe(u.warning.light,.9)),w(u.Alert,"errorIconColor",x("palette-error-main")),w(u.Alert,"infoIconColor",x("palette-info-main")),w(u.Alert,"successIconColor",x("palette-success-main")),w(u.Alert,"warningIconColor",x("palette-warning-main")),w(u.AppBar,"defaultBg",x("palette-grey-100")),w(u.Avatar,"defaultBg",x("palette-grey-400")),w(u.Button,"inheritContainedBg",x("palette-grey-300")),w(u.Button,"inheritContainedHoverBg",x("palette-grey-A100")),w(u.Chip,"defaultBorder",x("palette-grey-400")),w(u.Chip,"defaultAvatarColor",x("palette-grey-700")),w(u.Chip,"defaultIconColor",x("palette-grey-700")),w(u.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),w(u.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),w(u.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),w(u.LinearProgress,"primaryBg",fe(u.primary.main,.62)),w(u.LinearProgress,"secondaryBg",fe(u.secondary.main,.62)),w(u.LinearProgress,"errorBg",fe(u.error.main,.62)),w(u.LinearProgress,"infoBg",fe(u.info.main,.62)),w(u.LinearProgress,"successBg",fe(u.success.main,.62)),w(u.LinearProgress,"warningBg",fe(u.warning.main,.62)),w(u.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.11)`),w(u.Slider,"primaryTrack",fe(u.primary.main,.62)),w(u.Slider,"secondaryTrack",fe(u.secondary.main,.62)),w(u.Slider,"errorTrack",fe(u.error.main,.62)),w(u.Slider,"infoTrack",fe(u.info.main,.62)),w(u.Slider,"successTrack",fe(u.success.main,.62)),w(u.Slider,"warningTrack",fe(u.warning.main,.62));const l=sr(u.background.default,.8);w(u.SnackbarContent,"bg",l),w(u.SnackbarContent,"color",Ve(()=>u.getContrastText(l))),w(u.SpeedDialAction,"fabHoverBg",sr(u.background.paper,.15)),w(u.StepConnector,"border",x("palette-grey-400")),w(u.StepContent,"border",x("palette-grey-400")),w(u.Switch,"defaultColor",x("palette-common-white")),w(u.Switch,"defaultDisabledColor",x("palette-grey-100")),w(u.Switch,"primaryDisabledColor",fe(u.primary.main,.62)),w(u.Switch,"secondaryDisabledColor",fe(u.secondary.main,.62)),w(u.Switch,"errorDisabledColor",fe(u.error.main,.62)),w(u.Switch,"infoDisabledColor",fe(u.info.main,.62)),w(u.Switch,"successDisabledColor",fe(u.success.main,.62)),w(u.Switch,"warningDisabledColor",fe(u.warning.main,.62)),w(u.TableCell,"border",fe(ar(u.divider,1),.88)),w(u.Tooltip,"bg",ar(u.grey[700],.92))}if(u.mode==="dark"){w(u.Alert,"errorColor",fe(u.error.light,.6)),w(u.Alert,"infoColor",fe(u.info.light,.6)),w(u.Alert,"successColor",fe(u.success.light,.6)),w(u.Alert,"warningColor",fe(u.warning.light,.6)),w(u.Alert,"errorFilledBg",x("palette-error-dark")),w(u.Alert,"infoFilledBg",x("palette-info-dark")),w(u.Alert,"successFilledBg",x("palette-success-dark")),w(u.Alert,"warningFilledBg",x("palette-warning-dark")),w(u.Alert,"errorFilledColor",Ve(()=>u.getContrastText(u.error.dark))),w(u.Alert,"infoFilledColor",Ve(()=>u.getContrastText(u.info.dark))),w(u.Alert,"successFilledColor",Ve(()=>u.getContrastText(u.success.dark))),w(u.Alert,"warningFilledColor",Ve(()=>u.getContrastText(u.warning.dark))),w(u.Alert,"errorStandardBg",ue(u.error.light,.9)),w(u.Alert,"infoStandardBg",ue(u.info.light,.9)),w(u.Alert,"successStandardBg",ue(u.success.light,.9)),w(u.Alert,"warningStandardBg",ue(u.warning.light,.9)),w(u.Alert,"errorIconColor",x("palette-error-main")),w(u.Alert,"infoIconColor",x("palette-info-main")),w(u.Alert,"successIconColor",x("palette-success-main")),w(u.Alert,"warningIconColor",x("palette-warning-main")),w(u.AppBar,"defaultBg",x("palette-grey-900")),w(u.AppBar,"darkBg",x("palette-background-paper")),w(u.AppBar,"darkColor",x("palette-text-primary")),w(u.Avatar,"defaultBg",x("palette-grey-600")),w(u.Button,"inheritContainedBg",x("palette-grey-800")),w(u.Button,"inheritContainedHoverBg",x("palette-grey-700")),w(u.Chip,"defaultBorder",x("palette-grey-700")),w(u.Chip,"defaultAvatarColor",x("palette-grey-300")),w(u.Chip,"defaultIconColor",x("palette-grey-300")),w(u.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),w(u.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),w(u.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),w(u.LinearProgress,"primaryBg",ue(u.primary.main,.5)),w(u.LinearProgress,"secondaryBg",ue(u.secondary.main,.5)),w(u.LinearProgress,"errorBg",ue(u.error.main,.5)),w(u.LinearProgress,"infoBg",ue(u.info.main,.5)),w(u.LinearProgress,"successBg",ue(u.success.main,.5)),w(u.LinearProgress,"warningBg",ue(u.warning.main,.5)),w(u.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.13)`),w(u.Slider,"primaryTrack",ue(u.primary.main,.5)),w(u.Slider,"secondaryTrack",ue(u.secondary.main,.5)),w(u.Slider,"errorTrack",ue(u.error.main,.5)),w(u.Slider,"infoTrack",ue(u.info.main,.5)),w(u.Slider,"successTrack",ue(u.success.main,.5)),w(u.Slider,"warningTrack",ue(u.warning.main,.5));const l=sr(u.background.default,.98);w(u.SnackbarContent,"bg",l),w(u.SnackbarContent,"color",Ve(()=>u.getContrastText(l))),w(u.SpeedDialAction,"fabHoverBg",sr(u.background.paper,.15)),w(u.StepConnector,"border",x("palette-grey-600")),w(u.StepContent,"border",x("palette-grey-600")),w(u.Switch,"defaultColor",x("palette-grey-300")),w(u.Switch,"defaultDisabledColor",x("palette-grey-600")),w(u.Switch,"primaryDisabledColor",ue(u.primary.main,.55)),w(u.Switch,"secondaryDisabledColor",ue(u.secondary.main,.55)),w(u.Switch,"errorDisabledColor",ue(u.error.main,.55)),w(u.Switch,"infoDisabledColor",ue(u.info.main,.55)),w(u.Switch,"successDisabledColor",ue(u.success.main,.55)),w(u.Switch,"warningDisabledColor",ue(u.warning.main,.55)),w(u.TableCell,"border",ue(ar(u.divider,1),.68)),w(u.Tooltip,"bg",ar(u.grey[700],.92))}Ye(u.background,"default"),Ye(u.background,"paper"),Ye(u.common,"background"),Ye(u.common,"onBackground"),Ye(u,"divider"),Object.keys(u).forEach(l=>{const R=u[l];l!=="tonalOffset"&&R&&typeof R=="object"&&(R.main&&w(u[l],"mainChannel",Ft(Vt(R.main))),R.light&&w(u[l],"lightChannel",Ft(Vt(R.light))),R.dark&&w(u[l],"darkChannel",Ft(Vt(R.dark))),R.contrastText&&w(u[l],"contrastTextChannel",Ft(Vt(R.contrastText))),l==="text"&&(Ye(u[l],"primary"),Ye(u[l],"secondary")),l==="action"&&(R.active&&Ye(u[l],"active"),R.selected&&Ye(u[l],"selected")))})}),$=t.reduce((U,u)=>Pe(U,u),$);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:fd($)},{vars:k,generateThemeVars:N,generateStyleSheets:V}=Df($,C);return $.vars=k,Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([U,u])=>{$[U]=u}),$.generateThemeVars=N,$.generateStyleSheets=V,$.generateSpacing=function(){return oa(d.spacing,to(this))},$.getColorSchemeSelector=Bf(s),$.spacing=$.generateSpacing(),$.shouldSkipGeneratingVar=a,$.unstable_sxConfig={...Xr,...d==null?void 0:d.unstable_sxConfig},$.unstable_sx=function(u){return kt({sx:u,theme:this})},$.toRuntimeSource=da,$}function mi(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:io({...r===!0?{}:r.palette,mode:t})})}function gd(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...a}=e,s=i||"light",f=o==null?void 0:o[s],d={...o,...r?{[s]:{...typeof f!="boolean"&&f,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Rn(e,...t);let m=r;"palette"in e||d[s]&&(d[s]!==!0?m=d[s].palette:s==="dark"&&(m={mode:"dark"}));const p=Rn({...e,palette:m},...t);return p.defaultColorScheme=s,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},mi(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},mi(p,"light",d.light)),p}return!r&&!("light"in d)&&s==="light"&&(d.light=!0),hd({...a,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...t)}const yd=gd(),bd="$$material";function vd(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Sd=e=>vd(e)&&e!=="classes",it=Ef({themeId:bd,defaultTheme:yd,rootShouldForwardProp:Sd}),$r=Pf;process.env.NODE_ENV!=="production"&&(S.node,S.object.isRequired);function Qr(e){return Af(e)}let hi=0;function $d(e){const[t,r]=I.useState(e),n=e||t;return I.useEffect(()=>{t==null&&(hi+=1,r(`mui-${hi}`))},[t]),n}const Cd={...I},gi=Cd.useId;function Ed(e){if(gi!==void 0){const t=gi();return e??t}return $d(e)}function pr(e){const t=I.useRef(e);return Of(()=>{t.current=e}),I.useRef((...r)=>(0,t.current)(...r)).current}function yi(...e){const t=I.useRef(void 0),r=I.useCallback(n=>{const o=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const a=i,s=a(n);return typeof s=="function"?s:()=>{a(null)}}return i.current=n,()=>{i.current=null}});return()=>{o.forEach(i=>i==null?void 0:i())}},e);return I.useMemo(()=>e.every(n=>n==null)?null:n=>{t.current&&(t.current(),t.current=void 0),n!=null&&(t.current=r(n))},e)}function Td(e){return typeof e.main=="string"}function wd(e,t=[]){if(!Td(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function An(e=[]){return([,t])=>t&&wd(t,e)}const xd=S.oneOfType([S.func,S.object]);function kd(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Od(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window>"u")return null;let s;return typeof i=="function"&&!kd(i)&&(s="Did you accidentally provide a plain function component instead?"),s!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const _d=Xn(S.elementType,Od);function bi(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
|
|
150
|
-
`))}return!1}const vi={};function ha(e,t){const r=I.useRef(vi);return r.current===vi&&(r.current=e(t)),r}class Cr{constructor(){At(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Cr}static use(){const t=ha(Cr.create).current,[r,n]=I.useState(!1);return t.shouldMount=r,t.setShouldMount=n,I.useEffect(t.mountEffect,[r]),t}mount(){return this.mounted||(this.mounted=Ad(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.start(...t)})}stop(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.stop(...t)})}pulsate(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.pulsate(...t)})}}function Rd(){return Cr.use()}function Ad(){let e,t;const r=new Promise((n,o)=>{e=n,t=o});return r.resolve=e,r.reject=t,r}function Pd(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function Pn(e,t){return Pn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Pn(e,t)}function Nd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pn(e,t)}const Si=X.createContext(null);function Id(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ao(e,t){var r=function(i){return t&&X.isValidElement(i)?t(i):i},n=Object.create(null);return e&&X.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function Md(e,t){e=e||{},t=t||{};function r(m){return m in t?t[m]:e[m]}var n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a,s={};for(var f in t){if(n[f])for(a=0;a<n[f].length;a++){var d=n[f][a];s[n[f][a]]=r(d)}s[f]=r(f)}for(a=0;a<o.length;a++)s[o[a]]=r(o[a]);return s}function ct(e,t,r){return r[t]!=null?r[t]:e.props[t]}function Dd(e,t){return ao(e.children,function(r){return X.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:ct(r,"appear",e),enter:ct(r,"enter",e),exit:ct(r,"exit",e)})})}function Bd(e,t,r){var n=ao(e.children),o=Md(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(X.isValidElement(a)){var s=i in t,f=i in n,d=t[i],m=X.isValidElement(d)&&!d.props.in;f&&(!s||m)?o[i]=X.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:ct(a,"exit",e),enter:ct(a,"enter",e)}):!f&&s&&!m?o[i]=X.cloneElement(a,{in:!1}):f&&s&&X.isValidElement(d)&&(o[i]=X.cloneElement(a,{onExited:r.bind(null,a),in:d.props.in,exit:ct(a,"exit",e),enter:ct(a,"enter",e)}))}}),o}var jd=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Fd={component:"div",childFactory:function(t){return t}},so=function(e){Nd(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(Id(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var a=i.children,s=i.handleExited,f=i.firstRender;return{children:f?Dd(o,s):Bd(o,a,s),firstRender:!1}},r.handleExited=function(o,i){var a=ao(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(s){var f=gr({},s.children);return delete f[o.key],{children:f}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,s=Pd(o,["component","childFactory"]),f=this.state.contextValue,d=jd(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?X.createElement(Si.Provider,{value:f},d):X.createElement(Si.Provider,{value:f},X.createElement(i,s,d))},t}(X.Component);so.propTypes=process.env.NODE_ENV!=="production"?{component:S.any,children:S.node,appear:S.bool,enter:S.bool,exit:S.bool,childFactory:S.func}:{};so.defaultProps=Fd;const Vd=[];function Ld(e){I.useEffect(e,Vd)}class co{constructor(){At(this,"currentId",null);At(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});At(this,"disposeEffect",()=>this.clear)}static create(){return new co}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function zd(){const e=ha(co.create).current;return Ld(e.disposeEffect),e}function ga(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:f,timeout:d}=e,[m,p]=I.useState(!1),h=we(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),v={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},g=we(r.child,m&&r.childLeaving,n&&r.childPulsate);return!s&&!m&&p(!0),I.useEffect(()=>{if(!s&&f!=null){const c=setTimeout(f,d);return()=>{clearTimeout(c)}}},[f,s,d]),J.jsx("span",{className:h,style:v,children:J.jsx("span",{className:g})})}process.env.NODE_ENV!=="production"&&(ga.propTypes={classes:S.object.isRequired,className:S.string,in:S.bool,onExited:S.func,pulsate:S.bool,rippleSize:S.number,rippleX:S.number,rippleY:S.number,timeout:S.number.isRequired});const Ie=Jr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Nn=550,Ud=80,Wd=Zt`
|
|
151
|
-
0% {
|
|
152
|
-
transform: scale(0);
|
|
153
|
-
opacity: 0.1;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
100% {
|
|
157
|
-
transform: scale(1);
|
|
158
|
-
opacity: 0.3;
|
|
159
|
-
}
|
|
160
|
-
`,Yd=Zt`
|
|
161
|
-
0% {
|
|
162
|
-
opacity: 1;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
100% {
|
|
166
|
-
opacity: 0;
|
|
167
|
-
}
|
|
168
|
-
`,Gd=Zt`
|
|
169
|
-
0% {
|
|
170
|
-
transform: scale(1);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
50% {
|
|
174
|
-
transform: scale(0.92);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
100% {
|
|
178
|
-
transform: scale(1);
|
|
179
|
-
}
|
|
180
|
-
`,Hd=it("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),qd=it(ga,{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
181
|
-
opacity: 0;
|
|
182
|
-
position: absolute;
|
|
183
|
-
|
|
184
|
-
&.${Ie.rippleVisible} {
|
|
185
|
-
opacity: 0.3;
|
|
186
|
-
transform: scale(1);
|
|
187
|
-
animation-name: ${Wd};
|
|
188
|
-
animation-duration: ${Nn}ms;
|
|
189
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
&.${Ie.ripplePulsate} {
|
|
193
|
-
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
& .${Ie.child} {
|
|
197
|
-
opacity: 1;
|
|
198
|
-
display: block;
|
|
199
|
-
width: 100%;
|
|
200
|
-
height: 100%;
|
|
201
|
-
border-radius: 50%;
|
|
202
|
-
background-color: currentColor;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
& .${Ie.childLeaving} {
|
|
206
|
-
opacity: 0;
|
|
207
|
-
animation-name: ${Yd};
|
|
208
|
-
animation-duration: ${Nn}ms;
|
|
209
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
& .${Ie.childPulsate} {
|
|
213
|
-
position: absolute;
|
|
214
|
-
/* @noflip */
|
|
215
|
-
left: 0px;
|
|
216
|
-
top: 0;
|
|
217
|
-
animation-name: ${Gd};
|
|
218
|
-
animation-duration: 2500ms;
|
|
219
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
220
|
-
animation-iteration-count: infinite;
|
|
221
|
-
animation-delay: 200ms;
|
|
222
|
-
}
|
|
223
|
-
`,ya=I.forwardRef(function(t,r){const n=Qr({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a,...s}=n,[f,d]=I.useState([]),m=I.useRef(0),p=I.useRef(null);I.useEffect(()=>{p.current&&(p.current(),p.current=null)},[f]);const h=I.useRef(!1),v=zd(),g=I.useRef(null),c=I.useRef(null),y=I.useCallback($=>{const{pulsate:C,rippleX:k,rippleY:N,rippleSize:V,cb:U}=$;d(u=>[...u,J.jsx(qd,{classes:{ripple:we(i.ripple,Ie.ripple),rippleVisible:we(i.rippleVisible,Ie.rippleVisible),ripplePulsate:we(i.ripplePulsate,Ie.ripplePulsate),child:we(i.child,Ie.child),childLeaving:we(i.childLeaving,Ie.childLeaving),childPulsate:we(i.childPulsate,Ie.childPulsate)},timeout:Nn,pulsate:C,rippleX:k,rippleY:N,rippleSize:V},m.current)]),m.current+=1,p.current=U},[i]),E=I.useCallback(($={},C={},k=()=>{})=>{const{pulsate:N=!1,center:V=o||C.pulsate,fakeElement:U=!1}=C;if(($==null?void 0:$.type)==="mousedown"&&h.current){h.current=!1;return}($==null?void 0:$.type)==="touchstart"&&(h.current=!0);const u=U?null:c.current,x=u?u.getBoundingClientRect():{width:0,height:0,left:0,top:0};let l,R,O;if(V||$===void 0||$.clientX===0&&$.clientY===0||!$.clientX&&!$.touches)l=Math.round(x.width/2),R=Math.round(x.height/2);else{const{clientX:D,clientY:j}=$.touches&&$.touches.length>0?$.touches[0]:$;l=Math.round(D-x.left),R=Math.round(j-x.top)}if(V)O=Math.sqrt((2*x.width**2+x.height**2)/3),O%2===0&&(O+=1);else{const D=Math.max(Math.abs((u?u.clientWidth:0)-l),l)*2+2,j=Math.max(Math.abs((u?u.clientHeight:0)-R),R)*2+2;O=Math.sqrt(D**2+j**2)}$!=null&&$.touches?g.current===null&&(g.current=()=>{y({pulsate:N,rippleX:l,rippleY:R,rippleSize:O,cb:k})},v.start(Ud,()=>{g.current&&(g.current(),g.current=null)})):y({pulsate:N,rippleX:l,rippleY:R,rippleSize:O,cb:k})},[o,y,v]),P=I.useCallback(()=>{E({},{pulsate:!0})},[E]),A=I.useCallback(($,C)=>{if(v.clear(),($==null?void 0:$.type)==="touchend"&&g.current){g.current(),g.current=null,v.start(0,()=>{A($,C)});return}g.current=null,d(k=>k.length>0?k.slice(1):k),p.current=C},[v]);return I.useImperativeHandle(r,()=>({pulsate:P,start:E,stop:A}),[P,E,A]),J.jsx(Hd,{className:we(Ie.root,i.root,a),ref:c,...s,children:J.jsx(so,{component:null,exit:!0,children:f})})});process.env.NODE_ENV!=="production"&&(ya.propTypes={center:S.bool,classes:S.object,className:S.string});function Kd(e){return er("MuiButtonBase",e)}const Xd=Jr("MuiButtonBase",["root","disabled","focusVisible"]),Jd=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=Jn({root:["root",t&&"disabled",r&&"focusVisible"]},Kd,o);return r&&n&&(a.root+=` ${n}`),a},Qd=it("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Xd.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ba=I.forwardRef(function(t,r){const n=Qr({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:f="button",disabled:d=!1,disableRipple:m=!1,disableTouchRipple:p=!1,focusRipple:h=!1,focusVisibleClassName:v,LinkComponent:g="a",onBlur:c,onClick:y,onContextMenu:E,onDragLeave:P,onFocus:A,onFocusVisible:$,onKeyDown:C,onKeyUp:k,onMouseDown:N,onMouseLeave:V,onMouseUp:U,onTouchEnd:u,onTouchMove:x,onTouchStart:l,tabIndex:R=0,TouchRippleProps:O,touchRippleRef:D,type:j,...Q}=n,de=I.useRef(null),le=Rd(),b=yi(le.ref,D),[_,B]=I.useState(!1);d&&_&&B(!1),I.useImperativeHandle(o,()=>({focusVisible:()=>{B(!0),de.current.focus()}}),[]);const F=le.shouldMount&&!m&&!d;I.useEffect(()=>{_&&h&&!m&&le.pulsate()},[m,h,_,le]);const L=Ge(le,"start",N,p),W=Ge(le,"stop",E,p),Y=Ge(le,"stop",P,p),G=Ge(le,"stop",U,p),z=Ge(le,"stop",H=>{_&&H.preventDefault(),V&&V(H)},p),q=Ge(le,"start",l,p),K=Ge(le,"stop",u,p),Ce=Ge(le,"stop",x,p),M=Ge(le,"stop",H=>{bi(H.target)||B(!1),c&&c(H)},!1),Ne=pr(H=>{de.current||(de.current=H.currentTarget),bi(H.target)&&(B(!0),$&&$(H)),A&&A(H)}),Je=()=>{const H=de.current;return f&&f!=="button"&&!(H.tagName==="A"&&H.href)},tr=pr(H=>{h&&!H.repeat&&_&&H.key===" "&&le.stop(H,()=>{le.start(H)}),H.target===H.currentTarget&&Je()&&H.key===" "&&H.preventDefault(),C&&C(H),H.target===H.currentTarget&&Je()&&H.key==="Enter"&&!d&&(H.preventDefault(),y&&y(H))}),Ea=pr(H=>{h&&H.key===" "&&_&&!H.defaultPrevented&&le.stop(H,()=>{le.pulsate(H)}),k&&k(H),y&&H.target===H.currentTarget&&Je()&&H.key===" "&&!H.defaultPrevented&&y(H)});let rr=f;rr==="button"&&(Q.href||Q.to)&&(rr=g);const Rt={};rr==="button"?(Rt.type=j===void 0?"button":j,Rt.disabled=d):(!Q.href&&!Q.to&&(Rt.role="button"),d&&(Rt["aria-disabled"]=d));const Ta=yi(r,de),lo={...n,centerRipple:i,component:f,disabled:d,disableRipple:m,disableTouchRipple:p,focusRipple:h,tabIndex:R,focusVisible:_},wa=Jd(lo);return J.jsxs(Qd,{as:rr,className:we(wa.root,s),ownerState:lo,onBlur:M,onClick:y,onContextMenu:W,onFocus:Ne,onKeyDown:tr,onKeyUp:Ea,onMouseDown:L,onMouseLeave:z,onMouseUp:G,onDragLeave:Y,onTouchEnd:K,onTouchMove:Ce,onTouchStart:q,ref:Ta,tabIndex:d?-1:R,type:j,...Rt,...Q,children:[a,F?J.jsx(ya,{ref:b,center:i,...O}):null]})});function Ge(e,t,r,n=!1){return pr(o=>(r&&r(o),n||e[t](o),!0))}process.env.NODE_ENV!=="production"&&(ba.propTypes={action:xd,centerRipple:S.bool,children:S.node,classes:S.object,className:S.string,component:_d,disabled:S.bool,disableRipple:S.bool,disableTouchRipple:S.bool,focusRipple:S.bool,focusVisibleClassName:S.string,href:S.any,LinkComponent:S.elementType,onBlur:S.func,onClick:S.func,onContextMenu:S.func,onDragLeave:S.func,onFocus:S.func,onFocusVisible:S.func,onKeyDown:S.func,onKeyUp:S.func,onMouseDown:S.func,onMouseLeave:S.func,onMouseUp:S.func,onTouchEnd:S.func,onTouchMove:S.func,onTouchStart:S.func,sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object]),tabIndex:S.number,TouchRippleProps:S.object,touchRippleRef:S.oneOfType([S.func,S.shape({current:S.shape({pulsate:S.func.isRequired,start:S.func.isRequired,stop:S.func.isRequired})})]),type:S.oneOfType([S.oneOf(["button","reset","submit"]),S.string])});function Zd(e){return er("MuiCircularProgress",e)}Jr("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Qe=44,In=Zt`
|
|
224
|
-
0% {
|
|
225
|
-
transform: rotate(0deg);
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
100% {
|
|
229
|
-
transform: rotate(360deg);
|
|
230
|
-
}
|
|
231
|
-
`,Mn=Zt`
|
|
232
|
-
0% {
|
|
233
|
-
stroke-dasharray: 1px, 200px;
|
|
234
|
-
stroke-dashoffset: 0;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
50% {
|
|
238
|
-
stroke-dasharray: 100px, 200px;
|
|
239
|
-
stroke-dashoffset: -15px;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
100% {
|
|
243
|
-
stroke-dasharray: 1px, 200px;
|
|
244
|
-
stroke-dashoffset: -126px;
|
|
245
|
-
}
|
|
246
|
-
`,ep=typeof In!="string"?oo`
|
|
247
|
-
animation: ${In} 1.4s linear infinite;
|
|
248
|
-
`:null,tp=typeof Mn!="string"?oo`
|
|
249
|
-
animation: ${Mn} 1.4s ease-in-out infinite;
|
|
250
|
-
`:null,rp=e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e,i={root:["root",r,`color${Ae(n)}`],svg:["svg"],circle:["circle",`circle${Ae(r)}`,o&&"circleDisableShrink"]};return Jn(i,Zd,t)},np=it("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${Ae(r.color)}`]]}})($r(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:ep||{animation:`${In} 1.4s linear infinite`}},...Object.entries(e.palette).filter(An()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),op=it("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),ip=it("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${Ae(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})($r(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:tp||{animation:`${Mn} 1.4s ease-in-out infinite`}}]}))),va=I.forwardRef(function(t,r){const n=Qr({props:t,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:a=!1,size:s=40,style:f,thickness:d=3.6,value:m=0,variant:p="indeterminate",...h}=n,v={...n,color:i,disableShrink:a,size:s,thickness:d,value:m,variant:p},g=rp(v),c={},y={},E={};if(p==="determinate"){const P=2*Math.PI*((Qe-d)/2);c.strokeDasharray=P.toFixed(3),E["aria-valuenow"]=Math.round(m),c.strokeDashoffset=`${((100-m)/100*P).toFixed(3)}px`,y.transform="rotate(-90deg)"}return J.jsx(np,{className:we(g.root,o),style:{width:s,height:s,...y,...f},ownerState:v,ref:r,role:"progressbar",...E,...h,children:J.jsx(op,{className:g.svg,ownerState:v,viewBox:`${Qe/2} ${Qe/2} ${Qe} ${Qe}`,children:J.jsx(ip,{className:g.circle,style:c,ownerState:v,cx:Qe,cy:Qe,r:(Qe-d)/2,fill:"none",strokeWidth:d})})})});process.env.NODE_ENV!=="production"&&(va.propTypes={classes:S.object,className:S.string,color:S.oneOfType([S.oneOf(["inherit","primary","secondary","error","info","success","warning"]),S.string]),disableShrink:Xn(S.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:S.oneOfType([S.number,S.string]),style:S.object,sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object]),thickness:S.number,value:S.number,variant:S.oneOf(["determinate","indeterminate"])});function ap(e){return er("MuiIconButton",e)}const $i=Jr("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),sp=e=>{const{classes:t,disabled:r,color:n,edge:o,size:i,loading:a}=e,s={root:["root",a&&"loading",r&&"disabled",n!=="default"&&`color${Ae(n)}`,o&&`edge${Ae(o)}`,`size${Ae(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Jn(s,ap,t)},cp=it(ba,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.loading&&t.loading,r.color!=="default"&&t[`color${Ae(r.color)}`],r.edge&&t[`edge${Ae(r.edge)}`],t[`size${Ae(r.size)}`]]}})($r(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Tn(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),$r(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(An()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(An()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Tn((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${$i.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${$i.loading}`]:{color:"transparent"}}))),lp=it("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Sa=I.forwardRef(function(t,r){const n=Qr({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:s="default",disabled:f=!1,disableFocusRipple:d=!1,size:m="medium",id:p,loading:h=null,loadingIndicator:v,...g}=n,c=Ed(p),y=v??J.jsx(va,{"aria-labelledby":c,color:"inherit",size:16}),E={...n,edge:o,color:s,disabled:f,disableFocusRipple:d,loading:h,loadingIndicator:y,size:m},P=sp(E);return J.jsxs(cp,{id:h?c:p,className:we(P.root,a),centerRipple:!0,focusRipple:!d,disabled:f||h,ref:r,...g,ownerState:E,children:[typeof h=="boolean"&&J.jsx("span",{className:P.loadingWrapper,style:{display:"contents"},children:J.jsx(lp,{className:P.loadingIndicator,ownerState:E,children:h&&y})}),i]})});process.env.NODE_ENV!=="production"&&(Sa.propTypes={children:Xn(S.node,e=>I.Children.toArray(e.children).some(r=>I.isValidElement(r)&&r.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
|
|
251
|
-
`)):null),classes:S.object,className:S.string,color:S.oneOfType([S.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),S.string]),disabled:S.bool,disableFocusRipple:S.bool,disableRipple:S.bool,edge:S.oneOf(["end","start",!1]),id:S.string,loading:S.bool,loadingIndicator:S.node,size:S.oneOfType([S.oneOf(["small","medium","large"]),S.string]),sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object])});function $a(e){const t=()=>{var n;(n=e.onClose)==null||n.call(e)},r=e.sx||{backgroundColor:n=>n.palette.primary.main,color:"#fff"};return J.jsxs(J.Fragment,{children:[J.jsx($t.DialogTitle,{"data-testid":"dialog-title",sx:r,children:e.title}),J.jsx(Sa,{onClick:()=>t(),sx:{position:"absolute",right:8,top:12,color:"#fff"},children:J.jsx(Ql,{})})]})}const Ca=X.createContext(null),up=()=>{const e=X.useContext(Ca);if(!e)throw new Error("useMessageDialog must be used within a MessageDialogProvider");return e},fp={okText:"OK",cancelText:"Cancel",alertTitle:"Alert",confirmTitle:"Confirm",errorTitle:"Error"},dp=e=>{const t={...fp,...e.settings||{}},r=X.useMemo(()=>({backgroundColor:u=>u.palette.primary.main,color:"#fff"}),[]),[n,o]=X.useState(!1),[i,a]=X.useState(""),[s,f]=X.useState(null),[d,m]=X.useState(!1),[p,h]=X.useState(r),[v,g]=X.useState(t.alertTitle),[c,y]=X.useState(t.okText),[E,P]=X.useState(t.cancelText),A=u=>(a(u||""),o(!0),new Promise(x=>{f(()=>x)})),$=X.useCallback((u,x)=>(g(t.confirmTitle),y((x==null?void 0:x.okText)||t.okText),P((x==null?void 0:x.cancelText)||t.cancelText),m(!0),h(r),A(u)),[r,t]),C=X.useCallback(u=>(g(t.alertTitle),y(t.okText),m(!1),h(r),A(u)),[r,t]),k=X.useCallback(u=>(g(t.errorTitle),y(t.okText),m(!1),h({backgroundColor:x=>x.palette.error.main,color:"#fff"}),A(u)),[t]),N=u=>{o(!1);const x=s;f(null),x==null||x(u)},V=(u,x)=>{x!=="backdropClick"&&N(!1)},U=X.useMemo(()=>({error:k,alert:C,confirm:$}),[k,C,$]);return X.useEffect(()=>{const u=x=>{n&&o(!1)};return window.addEventListener("popstate",u),()=>{window.removeEventListener("popstate",u)}},[n]),J.jsx(J.Fragment,{children:J.jsxs(Ca.Provider,{value:U,children:[e.children,J.jsxs($t.Dialog,{"data-testid":"message-dialog",open:n,onClose:V,children:[J.jsx($a,{title:v,onClose:()=>N(!1),sx:p}),J.jsx($t.DialogContent,{dividers:!0,sx:{whiteSpace:"pre-line"},children:i}),J.jsxs($t.DialogActions,{sx:{display:"flex",justifyContent:"space-between",paddingLeft:3,paddingRight:3},children:[J.jsx("div",{style:{flex:1,display:"flex",justifyContent:d?"flex-start":"center"},children:J.jsx($t.Button,{"data-testid":"message-dialog-ok-button",onClick:()=>N(!0),sx:p,autoFocus:!0,children:c})}),d&&J.jsx("div",{style:{flex:1,display:"flex",justifyContent:"flex-end"},children:J.jsx($t.Button,{"data-testid":"message-dialog-cancel-button",onClick:()=>N(!1),variant:"outlined",children:E})})]})]})]})})};exports.DialogTitleEx=$a;exports.MessageDialogProvider=dp;exports.useMessageDialog=up;
|