@cgi-learning-hub/theme
Version:
@cgi-learning-hub/theme is a theme compatible with tailwind and mui
57 lines (53 loc) • 74.2 kB
JavaScript
"use strict";const dt=require("react");function pt(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const We=pt(dt);function Ve(e,...r){const t=new URL(`https://mui.com/production-error/?code=${e}`);return r.forEach(n=>t.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${t} for the full message.`}function Le(e,...r){const t=new URL(`https://mui.com/production-error/?code=${e}`);return r.forEach(n=>t.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${t} for the full message.`}function gt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ne={exports:{}},Be={exports:{}},L={};/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Er;function mt(){if(Er)return L;Er=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,_=e?Symbol.for("react.responder"):60118,j=e?Symbol.for("react.scope"):60119;function V(h){if(typeof h=="object"&&h!==null){var O=h.$$typeof;switch(O){case r:switch(h=h.type,h){case f:case d:case n:case a:case o:case g:return h;default:switch(h=h&&h.$$typeof,h){case c:case p:case b:case S:case s:return h;default:return O}}case t:return O}}}function $(h){return V(h)===d}return L.AsyncMode=f,L.ConcurrentMode=d,L.ContextConsumer=c,L.ContextProvider=s,L.Element=r,L.ForwardRef=p,L.Fragment=n,L.Lazy=b,L.Memo=S,L.Portal=t,L.Profiler=a,L.StrictMode=o,L.Suspense=g,L.isAsyncMode=function(h){return $(h)||V(h)===f},L.isConcurrentMode=$,L.isContextConsumer=function(h){return V(h)===c},L.isContextProvider=function(h){return V(h)===s},L.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===r},L.isForwardRef=function(h){return V(h)===p},L.isFragment=function(h){return V(h)===n},L.isLazy=function(h){return V(h)===b},L.isMemo=function(h){return V(h)===S},L.isPortal=function(h){return V(h)===t},L.isProfiler=function(h){return V(h)===a},L.isStrictMode=function(h){return V(h)===o},L.isSuspense=function(h){return V(h)===g},L.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===n||h===d||h===a||h===o||h===g||h===m||typeof h=="object"&&h!==null&&(h.$$typeof===b||h.$$typeof===S||h.$$typeof===s||h.$$typeof===c||h.$$typeof===p||h.$$typeof===T||h.$$typeof===_||h.$$typeof===j||h.$$typeof===l)},L.typeOf=V,L}var F={};/** @license React v16.13.1
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Cr;function yt(){return Cr||(Cr=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,_=e?Symbol.for("react.responder"):60118,j=e?Symbol.for("react.scope"):60119;function V(E){return typeof E=="string"||typeof E=="function"||E===n||E===d||E===a||E===o||E===g||E===m||typeof E=="object"&&E!==null&&(E.$$typeof===b||E.$$typeof===S||E.$$typeof===s||E.$$typeof===c||E.$$typeof===p||E.$$typeof===T||E.$$typeof===_||E.$$typeof===j||E.$$typeof===l)}function $(E){if(typeof E=="object"&&E!==null){var ae=E.$$typeof;switch(ae){case r:var Me=E.type;switch(Me){case f:case d:case n:case a:case o:case g:return Me;default:var Tr=Me&&Me.$$typeof;switch(Tr){case c:case p:case b:case S:case s:return Tr;default:return ae}}case t:return ae}}}var h=f,O=d,ee=c,te=s,le=r,de=p,K=n,i=b,x=S,v=t,I=a,M=o,J=g,ie=!1;function nr(E){return ie||(ie=!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.")),y(E)||$(E)===f}function y(E){return $(E)===d}function C(E){return $(E)===c}function k(E){return $(E)===s}function P(E){return typeof E=="object"&&E!==null&&E.$$typeof===r}function w(E){return $(E)===p}function N(E){return $(E)===n}function A(E){return $(E)===b}function R(E){return $(E)===S}function B(E){return $(E)===t}function W(E){return $(E)===a}function D(E){return $(E)===o}function Z(E){return $(E)===g}F.AsyncMode=h,F.ConcurrentMode=O,F.ContextConsumer=ee,F.ContextProvider=te,F.Element=le,F.ForwardRef=de,F.Fragment=K,F.Lazy=i,F.Memo=x,F.Portal=v,F.Profiler=I,F.StrictMode=M,F.Suspense=J,F.isAsyncMode=nr,F.isConcurrentMode=y,F.isContextConsumer=C,F.isContextProvider=k,F.isElement=P,F.isForwardRef=w,F.isFragment=N,F.isLazy=A,F.isMemo=R,F.isPortal=B,F.isProfiler=W,F.isStrictMode=D,F.isSuspense=Z,F.isValidElementType=V,F.typeOf=$})()),F}var $r;function Hr(){return $r||($r=1,process.env.NODE_ENV==="production"?Be.exports=mt():Be.exports=yt()),Be.exports}/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var or,xr;function ht(){if(xr)return or;xr=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function n(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function o(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var s={},c=0;c<10;c++)s["_"+String.fromCharCode(c)]=c;var f=Object.getOwnPropertyNames(s).map(function(p){return s[p]});if(f.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(p){d[p]=p}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return or=o()?Object.assign:function(a,s){for(var c,f=n(a),d,p=1;p<arguments.length;p++){c=Object(arguments[p]);for(var g in c)r.call(c,g)&&(f[g]=c[g]);if(e){d=e(c);for(var m=0;m<d.length;m++)t.call(c,d[m])&&(f[d[m]]=c[d[m]])}}return f},or}var ir,Or;function mr(){if(Or)return ir;Or=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ir=e,ir}var ar,wr;function Qr(){return wr||(wr=1,ar=Function.call.bind(Object.prototype.hasOwnProperty)),ar}var sr,_r;function bt(){if(_r)return sr;_r=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=mr(),t={},n=Qr();e=function(a){var s="Warning: "+a;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function o(a,s,c,f,d){if(process.env.NODE_ENV!=="production"){for(var p in a)if(n(a,p)){var g;try{if(typeof a[p]!="function"){var m=Error((f||"React class")+": "+c+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[p]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}g=a[p](s,p,f,c,null,r)}catch(b){g=b}if(g&&!(g instanceof Error)&&e((f||"React class")+": type specification of "+c+" `"+p+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof g+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),g instanceof Error&&!(g.message in t)){t[g.message]=!0;var S=d?d():"";e("Failed "+c+" type: "+g.message+(S??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},sr=o,sr}var lr,Ar;function vt(){if(Ar)return lr;Ar=1;var e=Hr(),r=ht(),t=mr(),n=Qr(),o=bt(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(c){var f="Warning: "+c;typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}});function s(){return null}return lr=function(c,f){var d=typeof Symbol=="function"&&Symbol.iterator,p="@@iterator";function g(y){var C=y&&(d&&y[d]||y[p]);if(typeof C=="function")return C}var m="<<anonymous>>",S={array:_("array"),bigint:_("bigint"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:j(),arrayOf:V,element:$(),elementType:h(),instanceOf:O,node:de(),objectOf:te,oneOf:ee,oneOfType:le,shape:i,exact:x};function b(y,C){return y===C?y!==0||1/y===1/C:y!==y&&C!==C}function l(y,C){this.message=y,this.data=C&&typeof C=="object"?C:{},this.stack=""}l.prototype=Error.prototype;function T(y){if(process.env.NODE_ENV!=="production")var C={},k=0;function P(N,A,R,B,W,D,Z){if(B=B||m,D=D||R,Z!==t){if(f){var E=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw E.name="Invariant Violation",E}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ae=B+":"+R;!C[ae]&&k<3&&(a("You are manually calling a React.PropTypes validation function for the `"+D+"` prop on `"+B+"`. 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."),C[ae]=!0,k++)}}return A[R]==null?N?A[R]===null?new l("The "+W+" `"+D+"` is marked as required "+("in `"+B+"`, but its value is `null`.")):new l("The "+W+" `"+D+"` is marked as required in "+("`"+B+"`, but its value is `undefined`.")):null:y(A,R,B,W,D)}var w=P.bind(null,!1);return w.isRequired=P.bind(null,!0),w}function _(y){function C(k,P,w,N,A,R){var B=k[P],W=M(B);if(W!==y){var D=J(B);return new l("Invalid "+N+" `"+A+"` of type "+("`"+D+"` supplied to `"+w+"`, expected ")+("`"+y+"`."),{expectedType:y})}return null}return T(C)}function j(){return T(s)}function V(y){function C(k,P,w,N,A){if(typeof y!="function")return new l("Property `"+A+"` of component `"+w+"` has invalid PropType notation inside arrayOf.");var R=k[P];if(!Array.isArray(R)){var B=M(R);return new l("Invalid "+N+" `"+A+"` of type "+("`"+B+"` supplied to `"+w+"`, expected an array."))}for(var W=0;W<R.length;W++){var D=y(R,W,w,N,A+"["+W+"]",t);if(D instanceof Error)return D}return null}return T(C)}function $(){function y(C,k,P,w,N){var A=C[k];if(!c(A)){var R=M(A);return new l("Invalid "+w+" `"+N+"` of type "+("`"+R+"` supplied to `"+P+"`, expected a single ReactElement."))}return null}return T(y)}function h(){function y(C,k,P,w,N){var A=C[k];if(!e.isValidElementType(A)){var R=M(A);return new l("Invalid "+w+" `"+N+"` of type "+("`"+R+"` supplied to `"+P+"`, expected a single ReactElement type."))}return null}return T(y)}function O(y){function C(k,P,w,N,A){if(!(k[P]instanceof y)){var R=y.name||m,B=nr(k[P]);return new l("Invalid "+N+" `"+A+"` of type "+("`"+B+"` supplied to `"+w+"`, expected ")+("instance of `"+R+"`."))}return null}return T(C)}function ee(y){if(!Array.isArray(y))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("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])."):a("Invalid argument supplied to oneOf, expected an array.")),s;function C(k,P,w,N,A){for(var R=k[P],B=0;B<y.length;B++)if(b(R,y[B]))return null;var W=JSON.stringify(y,function(Z,E){var ae=J(E);return ae==="symbol"?String(E):E});return new l("Invalid "+N+" `"+A+"` of value `"+String(R)+"` "+("supplied to `"+w+"`, expected one of "+W+"."))}return T(C)}function te(y){function C(k,P,w,N,A){if(typeof y!="function")return new l("Property `"+A+"` of component `"+w+"` has invalid PropType notation inside objectOf.");var R=k[P],B=M(R);if(B!=="object")return new l("Invalid "+N+" `"+A+"` of type "+("`"+B+"` supplied to `"+w+"`, expected an object."));for(var W in R)if(n(R,W)){var D=y(R,W,w,N,A+"."+W,t);if(D instanceof Error)return D}return null}return T(C)}function le(y){if(!Array.isArray(y))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var C=0;C<y.length;C++){var k=y[C];if(typeof k!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ie(k)+" at index "+C+"."),s}function P(w,N,A,R,B){for(var W=[],D=0;D<y.length;D++){var Z=y[D],E=Z(w,N,A,R,B,t);if(E==null)return null;E.data&&n(E.data,"expectedType")&&W.push(E.data.expectedType)}var ae=W.length>0?", expected one of type ["+W.join(", ")+"]":"";return new l("Invalid "+R+" `"+B+"` supplied to "+("`"+A+"`"+ae+"."))}return T(P)}function de(){function y(C,k,P,w,N){return v(C[k])?null:new l("Invalid "+w+" `"+N+"` supplied to "+("`"+P+"`, expected a ReactNode."))}return T(y)}function K(y,C,k,P,w){return new l((y||"React class")+": "+C+" type `"+k+"."+P+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+w+"`.")}function i(y){function C(k,P,w,N,A){var R=k[P],B=M(R);if(B!=="object")return new l("Invalid "+N+" `"+A+"` of type `"+B+"` "+("supplied to `"+w+"`, expected `object`."));for(var W in y){var D=y[W];if(typeof D!="function")return K(w,N,A,W,J(D));var Z=D(R,W,w,N,A+"."+W,t);if(Z)return Z}return null}return T(C)}function x(y){function C(k,P,w,N,A){var R=k[P],B=M(R);if(B!=="object")return new l("Invalid "+N+" `"+A+"` of type `"+B+"` "+("supplied to `"+w+"`, expected `object`."));var W=r({},k[P],y);for(var D in W){var Z=y[D];if(n(y,D)&&typeof Z!="function")return K(w,N,A,D,J(Z));if(!Z)return new l("Invalid "+N+" `"+A+"` key `"+D+"` supplied to `"+w+"`.\nBad object: "+JSON.stringify(k[P],null," ")+`
Valid keys: `+JSON.stringify(Object.keys(y),null," "));var E=Z(R,D,w,N,A+"."+D,t);if(E)return E}return null}return T(C)}function v(y){switch(typeof y){case"number":case"string":case"undefined":return!0;case"boolean":return!y;case"object":if(Array.isArray(y))return y.every(v);if(y===null||c(y))return!0;var C=g(y);if(C){var k=C.call(y),P;if(C!==y.entries){for(;!(P=k.next()).done;)if(!v(P.value))return!1}else for(;!(P=k.next()).done;){var w=P.value;if(w&&!v(w[1]))return!1}}else return!1;return!0;default:return!1}}function I(y,C){return y==="symbol"?!0:C?C["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&C instanceof Symbol:!1}function M(y){var C=typeof y;return Array.isArray(y)?"array":y instanceof RegExp?"object":I(C,y)?"symbol":C}function J(y){if(typeof y>"u"||y===null)return""+y;var C=M(y);if(C==="object"){if(y instanceof Date)return"date";if(y instanceof RegExp)return"regexp"}return C}function ie(y){var C=J(y);switch(C){case"array":case"object":return"an "+C;case"boolean":case"date":case"regexp":return"a "+C;default:return C}}function nr(y){return!y.constructor||!y.constructor.name?m:y.constructor.name}return S.checkPropTypes=o,S.resetWarningCache=o.resetWarningCache,S.PropTypes=S,S},lr}var cr,Pr;function St(){if(Pr)return cr;Pr=1;var e=mr();function r(){}function t(){}return t.resetWarningCache=r,cr=function(){function n(s,c,f,d,p,g){if(g!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}n.isRequired=n;function o(){return n}var a={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:t,resetWarningCache:r};return a.PropTypes=a,a},cr}var Rr;function Tt(){if(Rr)return Ne.exports;if(Rr=1,process.env.NODE_ENV!=="production"){var e=Hr(),r=!0;Ne.exports=vt()(e.isElement,r)}else Ne.exports=St()();return Ne.exports}var Et=Tt();const Ce=gt(Et);var De={exports:{}},z={};/**
* @license React
* react-is.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var kr;function Ct(){if(kr)return z;kr=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.view_transition"),S=Symbol.for("react.client.reference");function b(l){if(typeof l=="object"&&l!==null){var T=l.$$typeof;switch(T){case e:switch(l=l.type,l){case t:case o:case n:case f:case d:case m:return l;default:switch(l=l&&l.$$typeof,l){case s:case c:case g:case p:return l;case a:return l;default:return T}}case r:return T}}}return z.ContextConsumer=a,z.ContextProvider=s,z.Element=e,z.ForwardRef=c,z.Fragment=t,z.Lazy=g,z.Memo=p,z.Portal=r,z.Profiler=o,z.StrictMode=n,z.Suspense=f,z.SuspenseList=d,z.isContextConsumer=function(l){return b(l)===a},z.isContextProvider=function(l){return b(l)===s},z.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===e},z.isForwardRef=function(l){return b(l)===c},z.isFragment=function(l){return b(l)===t},z.isLazy=function(l){return b(l)===g},z.isMemo=function(l){return b(l)===p},z.isPortal=function(l){return b(l)===r},z.isProfiler=function(l){return b(l)===o},z.isStrictMode=function(l){return b(l)===n},z.isSuspense=function(l){return b(l)===f},z.isSuspenseList=function(l){return b(l)===d},z.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===t||l===o||l===n||l===f||l===d||typeof l=="object"&&l!==null&&(l.$$typeof===g||l.$$typeof===p||l.$$typeof===s||l.$$typeof===a||l.$$typeof===c||l.$$typeof===S||l.getModuleId!==void 0)},z.typeOf=b,z}var q={};/**
* @license React
* react-is.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Ir;function $t(){return Ir||(Ir=1,process.env.NODE_ENV!=="production"&&(function(){function e(l){if(typeof l=="object"&&l!==null){var T=l.$$typeof;switch(T){case r:switch(l=l.type,l){case n:case a:case o:case d:case p:case S:return l;default:switch(l=l&&l.$$typeof,l){case c:case f:case m:case g:return l;case s:return l;default:return T}}case t:return T}}}var r=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),S=Symbol.for("react.view_transition"),b=Symbol.for("react.client.reference");q.ContextConsumer=s,q.ContextProvider=c,q.Element=r,q.ForwardRef=f,q.Fragment=n,q.Lazy=m,q.Memo=g,q.Portal=t,q.Profiler=a,q.StrictMode=o,q.Suspense=d,q.SuspenseList=p,q.isContextConsumer=function(l){return e(l)===s},q.isContextProvider=function(l){return e(l)===c},q.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===r},q.isForwardRef=function(l){return e(l)===f},q.isFragment=function(l){return e(l)===n},q.isLazy=function(l){return e(l)===m},q.isMemo=function(l){return e(l)===g},q.isPortal=function(l){return e(l)===t},q.isProfiler=function(l){return e(l)===a},q.isStrictMode=function(l){return e(l)===o},q.isSuspense=function(l){return e(l)===d},q.isSuspenseList=function(l){return e(l)===p},q.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===n||l===a||l===o||l===d||l===p||typeof l=="object"&&l!==null&&(l.$$typeof===m||l.$$typeof===g||l.$$typeof===c||l.$$typeof===s||l.$$typeof===f||l.$$typeof===b||l.getModuleId!==void 0)},q.typeOf=e})()),q}var Mr;function xt(){return Mr||(Mr=1,process.env.NODE_ENV==="production"?De.exports=Ct():De.exports=$t()),De.exports}var Ye=xt();function $e(e){if(typeof e!="object"||e===null)return!1;const r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Xr(e){if(We.isValidElement(e)||Ye.isValidElementType(e)||!$e(e))return e;const r={};return Object.keys(e).forEach(t=>{r[t]=Xr(e[t])}),r}function he(e,r,t={clone:!0}){const n=t.clone?{...e}:e;return $e(e)&&$e(r)&&Object.keys(r).forEach(o=>{We.isValidElement(r[o])||Ye.isValidElementType(r[o])?n[o]=r[o]:$e(r[o])&&Object.prototype.hasOwnProperty.call(e,o)&&$e(e[o])?n[o]=he(e[o],r[o],t):t.clone?n[o]=$e(r[o])?Xr(r[o]):r[o]:n[o]=r[o]}),n}const Ot=e=>{const r=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return r.sort((t,n)=>t.val-n.val),r.reduce((t,n)=>({...t,[n.key]:n.val}),{})};function wt(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:n=5,...o}=e,a=Ot(r),s=Object.keys(a);function c(m){return`@media (min-width:${typeof r[m]=="number"?r[m]:m}${t})`}function f(m){return`@media (max-width:${(typeof r[m]=="number"?r[m]:m)-n/100}${t})`}function d(m,S){const b=s.indexOf(S);return`@media (min-width:${typeof r[m]=="number"?r[m]:m}${t}) and (max-width:${(b!==-1&&typeof r[s[b]]=="number"?r[s[b]]:S)-n/100}${t})`}function p(m){return s.indexOf(m)+1<s.length?d(m,s[s.indexOf(m)+1]):c(m)}function g(m){const S=s.indexOf(m);return S===0?c(s[1]):S===s.length-1?f(s[S]):d(m,s[s.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:s,values:a,up:c,down:f,between:d,only:p,not:g,unit:t,...o}}function Nr(e,r){if(!e.containerQueries)return r;const t=Object.keys(r).filter(n=>n.startsWith("@container")).sort((n,o)=>{var s,c;const a=/min-width:\s*([0-9.]+)/;return+(((s=n.match(a))==null?void 0:s[1])||0)-+(((c=o.match(a))==null?void 0:c[1])||0)});return t.length?t.reduce((n,o)=>{const a=r[o];return delete n[o],n[o]=a,n},{...r}):r}function _t(e,r){return r==="@"||r.startsWith("@")&&(e.some(t=>r.startsWith(`@${t}`))||!!r.match(/^@\d/))}function At(e,r){const t=r.match(/^@([^/]+)?\/?(.+)?$/);if(!t){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Le(18,`(${r})`));return null}const[,n,o]=t,a=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(a)}function Pt(e){const r=(a,s)=>a.replace("@media",s?`@container ${s}`:"@container");function t(a,s){a.up=(...c)=>r(e.breakpoints.up(...c),s),a.down=(...c)=>r(e.breakpoints.down(...c),s),a.between=(...c)=>r(e.breakpoints.between(...c),s),a.only=(...c)=>r(e.breakpoints.only(...c),s),a.not=(...c)=>{const f=r(e.breakpoints.not(...c),s);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=a=>(t(n,a),n);return t(o),{...e,containerQueries:o}}const Rt={borderRadius:4},me=process.env.NODE_ENV!=="production"?Ce.oneOfType([Ce.number,Ce.string,Ce.object,Ce.array]):{};function Ae(e,r){return r?he(e,r,{clone:!1}):e}const Ue={xs:0,sm:600,md:900,lg:1200,xl:1536},Br={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ue[e]}px)`},kt={containerQueries:e=>({up:r=>{let t=typeof r=="number"?r:Ue[r]||r;return typeof t=="number"&&(t=`${t}px`),e?`@container ${e} (min-width:${t})`:`@container (min-width:${t})`}})};function fe(e,r,t){const n=e.theme||{};if(Array.isArray(r)){const a=n.breakpoints||Br;return r.reduce((s,c,f)=>(s[a.up(a.keys[f])]=t(r[f]),s),{})}if(typeof r=="object"){const a=n.breakpoints||Br;return Object.keys(r).reduce((s,c)=>{if(_t(a.keys,c)){const f=At(n.containerQueries?n:kt,c);f&&(s[f]=t(r[c],c))}else if(Object.keys(a.values||Ue).includes(c)){const f=a.up(c);s[f]=t(r[c],c)}else{const f=c;s[f]=r[f]}return s},{})}return t(r)}function It(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const a=e.up(o);return n[a]={},n},{}))||{}}function Dr(e,r){return e.reduce((t,n)=>{const o=t[n];return(!o||Object.keys(o).length===0)&&delete t[n],t},r)}function Jr(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Le(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ze(e,r,t=!0){if(!r||typeof r!="string")return null;if(e&&e.vars&&t){const n=`vars.${r}`.split(".").reduce((o,a)=>o&&o[a]?o[a]:null,e);if(n!=null)return n}return r.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Fe(e,r,t,n=t){let o;return typeof e=="function"?o=e(t):Array.isArray(e)?o=e[t]||n:o=ze(e,t)||n,r&&(o=r(o,n,e)),o}function X(e){const{prop:r,cssProperty:t=e.prop,themeKey:n,transform:o}=e,a=s=>{if(s[r]==null)return null;const c=s[r],f=s.theme,d=ze(f,n)||{};return fe(s,c,g=>{let m=Fe(d,o,g);return g===m&&typeof g=="string"&&(m=Fe(d,o,`${r}${g==="default"?"":Jr(g)}`,g)),t===!1?m:{[t]:m}})};return a.propTypes=process.env.NODE_ENV!=="production"?{[r]:me}:{},a.filterProps=[r],a}function Mt(e){const r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}const Nt={m:"margin",p:"padding"},Bt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},jr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Dt=Mt(e=>{if(e.length>2)if(jr[e])e=jr[e];else return[e];const[r,t]=e.split(""),n=Nt[r],o=Bt[t]||"";return Array.isArray(o)?o.map(a=>n+a):[n+o]}),qe=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ge=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],jt=[...qe,...Ge];function Re(e,r,t,n){const o=ze(e,r,!0)??t;return typeof o=="number"||typeof o=="string"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),typeof o=="string"?o.startsWith("var(")&&a===0?0:o.startsWith("var(")&&a===1?o:`calc(${a} * ${o})`:o*a):Array.isArray(o)?a=>{if(typeof a=="string")return a;const s=Math.abs(a);process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>o.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${s} > ${o.length-1}, you need to add the missing values.`].join(`
`)):console.error([`MUI: The \`theme.${r}\` 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.${r}\` as a number.`].join(`
`)));const c=o[s];return a>=0?c:typeof c=="number"?-c:typeof c=="string"&&c.startsWith("var(")?`calc(-1 * ${c})`:`-${c}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
`)),()=>{})}function yr(e){return Re(e,"spacing",8,"spacing")}function ke(e,r){return typeof r=="string"||r==null?r:e(r)}function Vt(e,r){return t=>e.reduce((n,o)=>(n[o]=ke(r,t),n),{})}function Lt(e,r,t,n){if(!r.includes(t))return null;const o=Dt(t),a=Vt(o,n),s=e[t];return fe(e,s,a)}function Zr(e,r){const t=yr(e.theme);return Object.keys(e).map(n=>Lt(e,r,n,t)).reduce(Ae,{})}function H(e){return Zr(e,qe)}H.propTypes=process.env.NODE_ENV!=="production"?qe.reduce((e,r)=>(e[r]=me,e),{}):{};H.filterProps=qe;function Q(e){return Zr(e,Ge)}Q.propTypes=process.env.NODE_ENV!=="production"?Ge.reduce((e,r)=>(e[r]=me,e),{}):{};Q.filterProps=Ge;process.env.NODE_ENV!=="production"&&jt.reduce((e,r)=>(e[r]=me,e),{});function et(e=8,r=yr({spacing:e})){if(e.mui)return e;const t=(...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(a=>{const s=r(a);return typeof s=="number"?`${s}px`:s}).join(" "));return t.mui=!0,t}function Ke(...e){const r=e.reduce((n,o)=>(o.filterProps.forEach(a=>{n[a]=o}),n),{}),t=n=>Object.keys(n).reduce((o,a)=>r[a]?Ae(o,r[a](n)):o,{});return t.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},t.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),t}function ne(e){return typeof e!="number"?e:`${e}px solid`}function oe(e,r){return X({prop:e,themeKey:"borders",transform:r})}const Ft=oe("border",ne),Wt=oe("borderTop",ne),Yt=oe("borderRight",ne),Ut=oe("borderBottom",ne),zt=oe("borderLeft",ne),qt=oe("borderColor"),Gt=oe("borderTopColor"),Kt=oe("borderRightColor"),Ht=oe("borderBottomColor"),Qt=oe("borderLeftColor"),Xt=oe("outline",ne),Jt=oe("outlineColor"),He=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const r=Re(e.theme,"shape.borderRadius",4,"borderRadius"),t=n=>({borderRadius:ke(r,n)});return fe(e,e.borderRadius,t)}return null};He.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:me}:{};He.filterProps=["borderRadius"];Ke(Ft,Wt,Yt,Ut,zt,qt,Gt,Kt,Ht,Qt,He,Xt,Jt);const Qe=e=>{if(e.gap!==void 0&&e.gap!==null){const r=Re(e.theme,"spacing",8,"gap"),t=n=>({gap:ke(r,n)});return fe(e,e.gap,t)}return null};Qe.propTypes=process.env.NODE_ENV!=="production"?{gap:me}:{};Qe.filterProps=["gap"];const Xe=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const r=Re(e.theme,"spacing",8,"columnGap"),t=n=>({columnGap:ke(r,n)});return fe(e,e.columnGap,t)}return null};Xe.propTypes=process.env.NODE_ENV!=="production"?{columnGap:me}:{};Xe.filterProps=["columnGap"];const Je=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const r=Re(e.theme,"spacing",8,"rowGap"),t=n=>({rowGap:ke(r,n)});return fe(e,e.rowGap,t)}return null};Je.propTypes=process.env.NODE_ENV!=="production"?{rowGap:me}:{};Je.filterProps=["rowGap"];const Zt=X({prop:"gridColumn"}),en=X({prop:"gridRow"}),rn=X({prop:"gridAutoFlow"}),tn=X({prop:"gridAutoColumns"}),nn=X({prop:"gridAutoRows"}),on=X({prop:"gridTemplateColumns"}),an=X({prop:"gridTemplateRows"}),sn=X({prop:"gridTemplateAreas"}),ln=X({prop:"gridArea"});Ke(Qe,Xe,Je,Zt,en,rn,tn,nn,on,an,sn,ln);function xe(e,r){return r==="grey"?r:e}const cn=X({prop:"color",themeKey:"palette",transform:xe}),un=X({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:xe}),fn=X({prop:"backgroundColor",themeKey:"palette",transform:xe});Ke(cn,un,fn);function re(e){return e<=1&&e!==0?`${e*100}%`:e}const dn=X({prop:"width",transform:re}),hr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=t=>{var o,a,s,c,f;const n=((s=(a=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:a.values)==null?void 0:s[t])||Ue[t];return n?((f=(c=e.theme)==null?void 0:c.breakpoints)==null?void 0:f.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:re(t)}};return fe(e,e.maxWidth,r)}return null};hr.filterProps=["maxWidth"];const pn=X({prop:"minWidth",transform:re}),gn=X({prop:"height",transform:re}),mn=X({prop:"maxHeight",transform:re}),yn=X({prop:"minHeight",transform:re});X({prop:"size",cssProperty:"width",transform:re});X({prop:"size",cssProperty:"height",transform:re});const hn=X({prop:"boxSizing"});Ke(dn,hr,pn,gn,mn,yn,hn);const Ze={border:{themeKey:"borders",transform:ne},borderTop:{themeKey:"borders",transform:ne},borderRight:{themeKey:"borders",transform:ne},borderBottom:{themeKey:"borders",transform:ne},borderLeft:{themeKey:"borders",transform:ne},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ne},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:He},color:{themeKey:"palette",transform:xe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:xe},backgroundColor:{themeKey:"palette",transform:xe},p:{style:Q},pt:{style:Q},pr:{style:Q},pb:{style:Q},pl:{style:Q},px:{style:Q},py:{style:Q},padding:{style:Q},paddingTop:{style:Q},paddingRight:{style:Q},paddingBottom:{style:Q},paddingLeft:{style:Q},paddingX:{style:Q},paddingY:{style:Q},paddingInline:{style:Q},paddingInlineStart:{style:Q},paddingInlineEnd:{style:Q},paddingBlock:{style:Q},paddingBlockStart:{style:Q},paddingBlockEnd:{style:Q},m:{style:H},mt:{style:H},mr:{style:H},mb:{style:H},ml:{style:H},mx:{style:H},my:{style:H},margin:{style:H},marginTop:{style:H},marginRight:{style:H},marginBottom:{style:H},marginLeft:{style:H},marginX:{style:H},marginY:{style:H},marginInline:{style:H},marginInlineStart:{style:H},marginInlineEnd:{style:H},marginBlock:{style:H},marginBlockStart:{style:H},marginBlockEnd:{style:H},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Qe},rowGap:{style:Je},columnGap:{style:Xe},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:re},maxWidth:{style:hr},minWidth:{transform:re},height:{transform:re},maxHeight:{transform:re},minHeight:{transform:re},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 bn(...e){const r=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),t=new Set(r);return e.every(n=>t.size===Object.keys(n).length)}function vn(e,r){return typeof e=="function"?e(r):e}function Sn(){function e(t,n,o,a){const s={[t]:n,theme:o},c=a[t];if(!c)return{[t]:n};const{cssProperty:f=t,themeKey:d,transform:p,style:g}=c;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[t]:n};const m=ze(o,d)||{};return g?g(s):fe(s,n,b=>{let l=Fe(m,p,b);return b===l&&typeof b=="string"&&(l=Fe(m,p,`${t}${b==="default"?"":Jr(b)}`,b)),f===!1?l:{[f]:l}})}function r(t){const{sx:n,theme:o={},nested:a}=t||{};if(!n)return null;const s=o.unstable_sxConfig??Ze;function c(f){let d=f;if(typeof f=="function")d=f(o);else if(typeof f!="object")return f;if(!d)return null;const p=It(o.breakpoints),g=Object.keys(p);let m=p;return Object.keys(d).forEach(S=>{const b=vn(d[S],o);if(b!=null)if(typeof b=="object")if(s[S])m=Ae(m,e(S,b,o,s));else{const l=fe({theme:o},b,T=>({[S]:T}));bn(l,b)?m[S]=r({sx:b,theme:o,nested:!0}):m=Ae(m,l)}else m=Ae(m,e(S,b,o,s))}),!a&&o.modularCssLayers?{"@layer sx":Nr(o,Dr(g,m))}:Nr(o,Dr(g,m))}return Array.isArray(n)?n.map(c):c(n)}return r}const Ie=Sn();Ie.filterProps=["sx"];function Tn(e,r){var n;const t=this;if(t.vars){if(!((n=t.colorSchemes)!=null&&n[e])||typeof t.getColorSchemeSelector!="function")return{};let o=t.getColorSchemeSelector(e);return o==="&"?r:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:r})}return t.palette.mode===e?r:{}}function rt(e={},...r){const{breakpoints:t={},palette:n={},spacing:o,shape:a={},...s}=e,c=wt(t),f=et(o);let d=he({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:f,shape:{...Rt,...a}},s);return d=Pt(d),d.applyStyles=Tn,d=r.reduce((p,g)=>he(p,g),d),d.unstable_sxConfig={...Ze,...s==null?void 0:s.unstable_sxConfig},d.unstable_sx=function(g){return Ie({sx:g,theme:this})},d}function En(e,r=Number.MIN_SAFE_INTEGER,t=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,t))}function br(e,r=0,t=1){return process.env.NODE_ENV!=="production"&&(e<r||e>t)&&console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),En(e,r,t)}function Cn(e){e=e.slice(1);const r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let t=e.match(r);return t&&t[0].length===1&&(t=t.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.`),t?`rgb${t.length===4?"a":""}(${t.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ge(e){if(e.type)return e;if(e.charAt(0)==="#")return ge(Cn(e));const r=e.indexOf("("),t=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(t))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Le(9,e));let n=e.substring(r+1,e.length-1),o;if(t==="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.
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Le(10,o))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:t,values:n,colorSpace:o}}const $n=e=>{const r=ge(e);return r.values.slice(0,3).map((t,n)=>r.type.includes("hsl")&&n!==0?`${t}%`:t).join(" ")},we=(e,r)=>{try{return $n(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function er(e){const{type:r,colorSpace:t}=e;let{values:n}=e;return r.includes("rgb")?n=n.map((o,a)=>a<3?parseInt(o,10):o):r.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),r.includes("color")?n=`${t} ${n.join(" ")}`:n=`${n.join(", ")}`,`${r}(${n})`}function tt(e){e=ge(e);const{values:r}=e,t=r[0],n=r[1]/100,o=r[2]/100,a=n*Math.min(o,1-o),s=(d,p=(d+t/30)%12)=>o-a*Math.max(Math.min(p-3,9-p,1),-1);let c="rgb";const f=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(c+="a",f.push(r[3])),er({type:c,values:f})}function dr(e){e=ge(e);let r=e.type==="hsl"||e.type==="hsla"?ge(tt(e)).values:e.values;return r=r.map(t=>(e.type!=="color"&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function Vr(e,r){const t=dr(e),n=dr(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)}function vr(e,r){return e=ge(e),r=br(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,er(e)}function ye(e,r,t){try{return vr(e,r)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}}function rr(e,r){if(e=ge(e),r=br(r),e.type.includes("hsl"))e.values[2]*=1-r;else if(e.type.includes("rgb")||e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]*=1-r;return er(e)}function Y(e,r,t){try{return rr(e,r)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}}function tr(e,r){if(e=ge(e),r=br(r),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*r;else if(e.type.includes("rgb"))for(let t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*r;else if(e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]+=(1-e.values[t])*r;return er(e)}function U(e,r,t){try{return tr(e,r)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}}function xn(e,r=.15){return dr(e)>.5?rr(e,r):tr(e,r)}function je(e,r,t){try{return xn(e,r)}catch{return e}}function On(e=""){function r(...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}${r(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${r(...o)})`}const Lr=(e,r,t,n=[])=>{let o=e;r.forEach((a,s)=>{s===r.length-1?Array.isArray(o)?o[Number(a)]=t:o&&typeof o=="object"&&(o[a]=t):o&&typeof o=="object"&&(o[a]||(o[a]=n.includes(a)?[]:{}),o=o[a])})},wn=(e,r,t)=>{function n(o,a=[],s=[]){Object.entries(o).forEach(([c,f])=>{(!t||t&&!t([...a,c]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?n(f,[...a,c],Array.isArray(f)?[...s,c]:s):r([...a,c],f,s))})}n(e)},_n=(e,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function ur(e,r){const{prefix:t,shouldSkipGeneratingVar:n}=r||{},o={},a={},s={};return wn(e,(c,f,d)=>{if((typeof f=="string"||typeof f=="number")&&(!n||!n(c,f))){const p=`--${t?`${t}-`:""}${c.join("-")}`,g=_n(c,f);Object.assign(o,{[p]:g}),Lr(a,c,`var(${p})`,d),Lr(s,c,`var(${p}, ${g})`,d)}},c=>c[0]==="vars"),{css:o,vars:a,varsWithDefaults:s}}function An(e,r={}){const{getSelector:t=_,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:a}=r,{colorSchemes:s={},components:c,defaultColorScheme:f="light",...d}=e,{vars:p,css:g,varsWithDefaults:m}=ur(d,r);let S=m;const b={},{[f]:l,...T}=s;if(Object.entries(T||{}).forEach(([$,h])=>{const{vars:O,css:ee,varsWithDefaults:te}=ur(h,r);S=he(S,te),b[$]={css:ee,vars:O}}),l){const{css:$,vars:h,varsWithDefaults:O}=ur(l,r);S=he(S,O),b[f]={css:$,vars:h}}function _($,h){var ee,te;let O=o;if(o==="class"&&(O=".%s"),o==="data"&&(O="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(O=`[${o}="%s"]`),$){if(O==="media")return e.defaultColorScheme===$?":root":{[`@media (prefers-color-scheme: ${((te=(ee=s[$])==null?void 0:ee.palette)==null?void 0:te.mode)||$})`]:{":root":h}};if(O)return e.defaultColorScheme===$?`:root, ${O.replace("%s",String($))}`:O.replace("%s",String($))}return":root"}return{vars:S,generateThemeVars:()=>{let $={...p};return Object.entries(b).forEach(([,{vars:h}])=>{$=he($,h)}),$},generateStyleSheets:()=>{var le,de;const $=[],h=e.defaultColorScheme||"light";function O(K,i){Object.keys(i).length&&$.push(typeof K=="string"?{[K]:{...i}}:K)}O(t(void 0,{...g}),g);const{[h]:ee,...te}=b;if(ee){const{css:K}=ee,i=(de=(le=s[h])==null?void 0:le.palette)==null?void 0:de.mode,x=!n&&i?{colorScheme:i,...K}:{...K};O(t(h,{...x}),x)}return Object.entries(te).forEach(([K,{css:i}])=>{var I,M;const x=(M=(I=s[K])==null?void 0:I.palette)==null?void 0:M.mode,v=!n&&x?{colorScheme:x,...i}:{...i};O(t(K,{...v}),v)}),a&&$.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 Pn(e){return function(t){return e==="media"?(process.env.NODE_ENV!=="production"&&t!=="light"&&t!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`),`@media (prefers-color-scheme: ${t})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:e==="class"?`.${t} &`:e==="data"?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}function pe(e){if(typeof e!="object"||e===null)return!1;const r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function nt(e){if(We.isValidElement(e)||Ye.isValidElementType(e)||!pe(e))return e;const r={};return Object.keys(e).forEach(t=>{r[t]=nt(e[t])}),r}function ue(e,r,t={clone:!0}){const n=t.clone?{...e}:e;return pe(e)&&pe(r)&&Object.keys(r).forEach(o=>{We.isValidElement(r[o])||Ye.isValidElementType(r[o])?n[o]=r[o]:pe(r[o])&&Object.prototype.hasOwnProperty.call(e,o)&&pe(e[o])?n[o]=ue(e[o],r[o],t):t.clone?n[o]=pe(r[o])?nt(r[o]):r[o]:n[o]=r[o]}),n}const Pe={black:"#000",white:"#fff"},Rn={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"},be={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},ve={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Oe={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Se={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Te={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Ee={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function ot(){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:Pe.white,default:Pe.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 it=ot();function at(){return{text:{primary:Pe.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:Pe.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 pr=at();function Fr(e,r,t,n){const o=n.light||n,a=n.dark||n*1.5;e[r]||(e.hasOwnProperty(t)?e[r]=e[t]:r==="light"?e.light=tr(e.main,o):r==="dark"&&(e.dark=rr(e.main,a)))}function Wr(e,r,t,n,o){const a=o.light||o,s=o.dark||o*1.5;r[t]||(r.hasOwnProperty(n)?r[t]=r[n]:t==="light"?r.light=`color-mix(in ${e}, ${r.main}, #fff ${(a*100).toFixed(0)}%)`:t==="dark"&&(r.dark=`color-mix(in ${e}, ${r.main}, #000 ${(s*100).toFixed(0)}%)`))}function kn(e="light"){return e==="dark"?{main:Se[200],light:Se[50],dark:Se[400]}:{main:Se[700],light:Se[400],dark:Se[800]}}function In(e="light"){return e==="dark"?{main:be[200],light:be[50],dark:be[400]}:{main:be[500],light:be[300],dark:be[700]}}function Mn(e="light"){return e==="dark"?{main:ve[500],light:ve[300],dark:ve[700]}:{main:ve[700],light:ve[400],dark:ve[800]}}function Nn(e="light"){return e==="dark"?{main:Te[400],light:Te[300],dark:Te[700]}:{main:Te[700],light:Te[500],dark:Te[900]}}function Bn(e="light"){return e==="dark"?{main:Ee[400],light:Ee[300],dark:Ee[700]}:{main:Ee[800],light:Ee[500],dark:Ee[900]}}function Dn(e="light"){return e==="dark"?{main:Oe[400],light:Oe[300],dark:Oe[700]}:{main:"#ed6c02",light:Oe[500],dark:Oe[900]}}function jn(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Sr(e){const{mode:r="light",contrastThreshold:t=3,tonalOffset:n=.2,colorSpace:o,...a}=e,s=e.primary||kn(r),c=e.secondary||In(r),f=e.error||Mn(r),d=e.info||Nn(r),p=e.success||Bn(r),g=e.warning||Dn(r);function m(T){if(o)return jn(T);const _=Vr(T,pr.text.primary)>=t?pr.text.primary:it.text.primary;if(process.env.NODE_ENV!=="production"){const j=Vr(T,_);j<3&&console.error([`MUI: The contrast ratio of ${j}:1 for ${_} on ${T}`,"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(`
`))}return _}const S=({color:T,name:_,mainShade:j=500,lightShade:V=300,darkShade:$=700})=>{if(T={...T},!T.main&&T[j]&&(T.main=T[j]),!T.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${_?` (${_})`:""} provided to augmentColor(color) is invalid.
The color object needs to have a \`main\` property or a \`${j}\` property.`:Ve(11,_?` (${_})`:"",j));if(typeof T.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${_?` (${_})`:""} provided to augmentColor(color) is invalid.
\`color.main\` should be a string, but \`${JSON.stringify(T.main)}\` was provided instead.
Did you intend to use one of the following approaches?
import { green } from "@mui/material/colors";
const theme1 = createTheme({ palette: {
primary: green,
} });
const theme2 = createTheme({ palette: {
primary: { main: green[500] },
} });`:Ve(12,_?` (${_})`:"",JSON.stringify(T.main)));return o?(Wr(o,T,"light",V,n),Wr(o,T,"dark",$,n)):(Fr(T,"light",V,n),Fr(T,"dark",$,n)),T.contrastText||(T.contrastText=m(T.main)),T};let b;return r==="light"?b=ot():r==="dark"&&(b=at()),process.env.NODE_ENV!=="production"&&(b||console.error(`MUI: The palette mode \`${r}\` is not supported.`)),ue({common:{...Pe},mode:r,primary:S({color:s,name:"primary"}),secondary:S({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:S({color:f,name:"error"}),warning:S({color:g,name:"warning"}),info:S({color:d,name:"info"}),success:S({color:p,name:"success"}),grey:Rn,contrastThreshold:t,getContrastText:m,augmentColor:S,tonalOffset:n,...b},a)}function Vn(e){const r={};return Object.entries(e).forEach(n=>{const[o,a]=n;typeof a=="object"&&(r[o]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),r}cons