UNPKG

@js-smart/react-kit

Version:
9 lines 92.4 kB
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react/jsx-runtime"),_=require("@mui/material"),be=require("react"),Ur=require("@emotion/styled"),Yr=require("@emotion/react"),Sr=require("react-router-dom"),xt=require("date-fns");function Wr(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 he=Wr(be),Bt=e=>e,Hr=()=>{let e=Bt;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Bt}}},qr=Hr();function Ce(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 $e(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ce(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Gr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ue={exports:{}},Ye={exports:{}},U={};var Dt;function Kr(){if(Dt)return U;Dt=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,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,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,A=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function B(b){if(typeof b=="object"&&b!==null){var w=b.$$typeof;switch(w){case t:switch(b=b.type,b){case f:case d:case n:case i:case o:case p:return b;default:switch(b=b&&b.$$typeof,b){case c:case m:case y:case S:case s:return b;default:return w}}case r:return w}}}function O(b){return B(b)===d}return U.AsyncMode=f,U.ConcurrentMode=d,U.ContextConsumer=c,U.ContextProvider=s,U.Element=t,U.ForwardRef=m,U.Fragment=n,U.Lazy=y,U.Memo=S,U.Portal=r,U.Profiler=i,U.StrictMode=o,U.Suspense=p,U.isAsyncMode=function(b){return O(b)||B(b)===f},U.isConcurrentMode=O,U.isContextConsumer=function(b){return B(b)===c},U.isContextProvider=function(b){return B(b)===s},U.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},U.isForwardRef=function(b){return B(b)===m},U.isFragment=function(b){return B(b)===n},U.isLazy=function(b){return B(b)===y},U.isMemo=function(b){return B(b)===S},U.isPortal=function(b){return B(b)===r},U.isProfiler=function(b){return B(b)===i},U.isStrictMode=function(b){return B(b)===o},U.isSuspense=function(b){return B(b)===p},U.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===d||b===i||b===o||b===p||b===h||typeof b=="object"&&b!==null&&(b.$$typeof===y||b.$$typeof===S||b.$$typeof===s||b.$$typeof===c||b.$$typeof===m||b.$$typeof===x||b.$$typeof===A||b.$$typeof===N||b.$$typeof===l)},U.typeOf=B,U}var Y={};var Lt;function Qr(){return Lt||(Lt=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,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,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,A=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function B(E){return typeof E=="string"||typeof E=="function"||E===n||E===d||E===i||E===o||E===p||E===h||typeof E=="object"&&E!==null&&(E.$$typeof===y||E.$$typeof===S||E.$$typeof===s||E.$$typeof===c||E.$$typeof===m||E.$$typeof===x||E.$$typeof===A||E.$$typeof===N||E.$$typeof===l)}function O(E){if(typeof E=="object"&&E!==null){var me=E.$$typeof;switch(me){case t:var ze=E.type;switch(ze){case f:case d:case n:case i:case o:case p:return ze;default:var jt=ze&&ze.$$typeof;switch(jt){case c:case m:case y:case S:case s:return jt;default:return me}}case r:return me}}}var b=f,w=d,X=c,ne=s,Q=t,ie=m,Z=n,a=y,$=S,C=r,k=i,D=o,oe=p,de=!1;function ft(E){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.")),g(E)||O(E)===f}function g(E){return O(E)===d}function T(E){return O(E)===c}function j(E){return O(E)===s}function R(E){return typeof E=="object"&&E!==null&&E.$$typeof===t}function I(E){return O(E)===m}function L(E){return O(E)===n}function P(E){return O(E)===y}function M(E){return O(E)===S}function V(E){return O(E)===r}function W(E){return O(E)===i}function F(E){return O(E)===o}function ae(E){return O(E)===p}Y.AsyncMode=b,Y.ConcurrentMode=w,Y.ContextConsumer=X,Y.ContextProvider=ne,Y.Element=Q,Y.ForwardRef=ie,Y.Fragment=Z,Y.Lazy=a,Y.Memo=$,Y.Portal=C,Y.Profiler=k,Y.StrictMode=D,Y.Suspense=oe,Y.isAsyncMode=ft,Y.isConcurrentMode=g,Y.isContextConsumer=T,Y.isContextProvider=j,Y.isElement=R,Y.isForwardRef=I,Y.isFragment=L,Y.isLazy=P,Y.isMemo=M,Y.isPortal=V,Y.isProfiler=W,Y.isStrictMode=F,Y.isSuspense=ae,Y.isValidElementType=B,Y.typeOf=O})()),Y}var Vt;function Cr(){return Vt||(Vt=1,process.env.NODE_ENV==="production"?Ye.exports=Kr():Ye.exports=Qr()),Ye.exports}var dt,Ft;function Xr(){if(Ft)return dt;Ft=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 s={},c=0;c<10;c++)s["_"+String.fromCharCode(c)]=c;var f=Object.getOwnPropertyNames(s).map(function(m){return s[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 dt=o()?Object.assign:function(i,s){for(var c,f=n(i),d,m=1;m<arguments.length;m++){c=Object(arguments[m]);for(var p in c)t.call(c,p)&&(f[p]=c[p]);if(e){d=e(c);for(var h=0;h<d.length;h++)r.call(c,d[h])&&(f[d[h]]=c[d[h]])}}return f},dt}var mt,zt;function $t(){if(zt)return mt;zt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return mt=e,mt}var pt,Ut;function xr(){return Ut||(Ut=1,pt=Function.call.bind(Object.prototype.hasOwnProperty)),pt}var ht,Yt;function Jr(){if(Yt)return ht;Yt=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=$t(),r={},n=xr();e=function(i){var s="Warning: "+i;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function o(i,s,c,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")+": "+c+" 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](s,m,f,c,null,t)}catch(y){p=y}if(p&&!(p instanceof Error)&&e((f||"React class")+": type specification of "+c+" `"+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 S=d?d():"";e("Failed "+c+" type: "+p.message+(S??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},ht=o,ht}var gt,Wt;function Zr(){if(Wt)return gt;Wt=1;var e=Cr(),t=Xr(),r=$t(),n=xr(),o=Jr(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(c){var f="Warning: "+c;typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}});function s(){return null}return gt=function(c,f){var d=typeof Symbol=="function"&&Symbol.iterator,m="@@iterator";function p(g){var T=g&&(d&&g[d]||g[m]);if(typeof T=="function")return T}var h="<<anonymous>>",S={array:A("array"),bigint:A("bigint"),bool:A("boolean"),func:A("function"),number:A("number"),object:A("object"),string:A("string"),symbol:A("symbol"),any:N(),arrayOf:B,element:O(),elementType:b(),instanceOf:w,node:ie(),objectOf:ne,oneOf:X,oneOfType:Q,shape:a,exact:$};function y(g,T){return g===T?g!==0||1/g===1/T:g!==g&&T!==T}function l(g,T){this.message=g,this.data=T&&typeof T=="object"?T:{},this.stack=""}l.prototype=Error.prototype;function x(g){if(process.env.NODE_ENV!=="production")var T={},j=0;function R(L,P,M,V,W,F,ae){if(V=V||h,F=F||M,ae!==r){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 me=V+":"+M;!T[me]&&j<3&&(i("You are manually calling a React.PropTypes validation function for the `"+F+"` prop on `"+V+"`. 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."),T[me]=!0,j++)}}return P[M]==null?L?P[M]===null?new l("The "+W+" `"+F+"` is marked as required "+("in `"+V+"`, but its value is `null`.")):new l("The "+W+" `"+F+"` is marked as required in "+("`"+V+"`, but its value is `undefined`.")):null:g(P,M,V,W,F)}var I=R.bind(null,!1);return I.isRequired=R.bind(null,!0),I}function A(g){function T(j,R,I,L,P,M){var V=j[R],W=D(V);if(W!==g){var F=oe(V);return new l("Invalid "+L+" `"+P+"` of type "+("`"+F+"` supplied to `"+I+"`, expected ")+("`"+g+"`."),{expectedType:g})}return null}return x(T)}function N(){return x(s)}function B(g){function T(j,R,I,L,P){if(typeof g!="function")return new l("Property `"+P+"` of component `"+I+"` has invalid PropType notation inside arrayOf.");var M=j[R];if(!Array.isArray(M)){var V=D(M);return new l("Invalid "+L+" `"+P+"` of type "+("`"+V+"` supplied to `"+I+"`, expected an array."))}for(var W=0;W<M.length;W++){var F=g(M,W,I,L,P+"["+W+"]",r);if(F instanceof Error)return F}return null}return x(T)}function O(){function g(T,j,R,I,L){var P=T[j];if(!c(P)){var M=D(P);return new l("Invalid "+I+" `"+L+"` of type "+("`"+M+"` supplied to `"+R+"`, expected a single ReactElement."))}return null}return x(g)}function b(){function g(T,j,R,I,L){var P=T[j];if(!e.isValidElementType(P)){var M=D(P);return new l("Invalid "+I+" `"+L+"` of type "+("`"+M+"` supplied to `"+R+"`, expected a single ReactElement type."))}return null}return x(g)}function w(g){function T(j,R,I,L,P){if(!(j[R]instanceof g)){var M=g.name||h,V=ft(j[R]);return new l("Invalid "+L+" `"+P+"` of type "+("`"+V+"` supplied to `"+I+"`, expected ")+("instance of `"+M+"`."))}return null}return x(T)}function X(g){if(!Array.isArray(g))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.")),s;function T(j,R,I,L,P){for(var M=j[R],V=0;V<g.length;V++)if(y(M,g[V]))return null;var W=JSON.stringify(g,function(ae,E){var me=oe(E);return me==="symbol"?String(E):E});return new l("Invalid "+L+" `"+P+"` of value `"+String(M)+"` "+("supplied to `"+I+"`, expected one of "+W+"."))}return x(T)}function ne(g){function T(j,R,I,L,P){if(typeof g!="function")return new l("Property `"+P+"` of component `"+I+"` has invalid PropType notation inside objectOf.");var M=j[R],V=D(M);if(V!=="object")return new l("Invalid "+L+" `"+P+"` of type "+("`"+V+"` supplied to `"+I+"`, expected an object."));for(var W in M)if(n(M,W)){var F=g(M,W,I,L,P+"."+W,r);if(F instanceof Error)return F}return null}return x(T)}function Q(g){if(!Array.isArray(g))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var T=0;T<g.length;T++){var j=g[T];if(typeof j!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+de(j)+" at index "+T+"."),s}function R(I,L,P,M,V){for(var W=[],F=0;F<g.length;F++){var ae=g[F],E=ae(I,L,P,M,V,r);if(E==null)return null;E.data&&n(E.data,"expectedType")&&W.push(E.data.expectedType)}var me=W.length>0?", expected one of type ["+W.join(", ")+"]":"";return new l("Invalid "+M+" `"+V+"` supplied to "+("`"+P+"`"+me+"."))}return x(R)}function ie(){function g(T,j,R,I,L){return C(T[j])?null:new l("Invalid "+I+" `"+L+"` supplied to "+("`"+R+"`, expected a ReactNode."))}return x(g)}function Z(g,T,j,R,I){return new l((g||"React class")+": "+T+" type `"+j+"."+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+I+"`.")}function a(g){function T(j,R,I,L,P){var M=j[R],V=D(M);if(V!=="object")return new l("Invalid "+L+" `"+P+"` of type `"+V+"` "+("supplied to `"+I+"`, expected `object`."));for(var W in g){var F=g[W];if(typeof F!="function")return Z(I,L,P,W,oe(F));var ae=F(M,W,I,L,P+"."+W,r);if(ae)return ae}return null}return x(T)}function $(g){function T(j,R,I,L,P){var M=j[R],V=D(M);if(V!=="object")return new l("Invalid "+L+" `"+P+"` of type `"+V+"` "+("supplied to `"+I+"`, expected `object`."));var W=t({},j[R],g);for(var F in W){var ae=g[F];if(n(g,F)&&typeof ae!="function")return Z(I,L,P,F,oe(ae));if(!ae)return new l("Invalid "+L+" `"+P+"` key `"+F+"` supplied to `"+I+"`.\nBad object: "+JSON.stringify(j[R],null," ")+` Valid keys: `+JSON.stringify(Object.keys(g),null," "));var E=ae(M,F,I,L,P+"."+F,r);if(E)return E}return null}return x(T)}function C(g){switch(typeof g){case"number":case"string":case"undefined":return!0;case"boolean":return!g;case"object":if(Array.isArray(g))return g.every(C);if(g===null||c(g))return!0;var T=p(g);if(T){var j=T.call(g),R;if(T!==g.entries){for(;!(R=j.next()).done;)if(!C(R.value))return!1}else for(;!(R=j.next()).done;){var I=R.value;if(I&&!C(I[1]))return!1}}else return!1;return!0;default:return!1}}function k(g,T){return g==="symbol"?!0:T?T["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&T instanceof Symbol:!1}function D(g){var T=typeof g;return Array.isArray(g)?"array":g instanceof RegExp?"object":k(T,g)?"symbol":T}function oe(g){if(typeof g>"u"||g===null)return""+g;var T=D(g);if(T==="object"){if(g instanceof Date)return"date";if(g instanceof RegExp)return"regexp"}return T}function de(g){var T=oe(g);switch(T){case"array":case"object":return"an "+T;case"boolean":case"date":case"regexp":return"a "+T;default:return T}}function ft(g){return!g.constructor||!g.constructor.name?h:g.constructor.name}return S.checkPropTypes=o,S.resetWarningCache=o.resetWarningCache,S.PropTypes=S,S},gt}var yt,Ht;function en(){if(Ht)return yt;Ht=1;var e=$t();function t(){}function r(){}return r.resetWarningCache=t,yt=function(){function n(s,c,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},yt}var qt;function tn(){if(qt)return Ue.exports;if(qt=1,process.env.NODE_ENV!=="production"){var e=Cr(),t=!0;Ue.exports=Zr()(e.isElement,t)}else Ue.exports=en()();return Ue.exports}var rn=tn();const z=Gr(rn);function Er(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=Er(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Tr(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Er(e))&&(n&&(n+=" "),n+=t);return n}function nn(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let s="",c=!0;for(let f=0;f<i.length;f+=1){const d=i[f];d&&(s+=(c===!0?"":" ")+t(d),c=!1,r&&r[d]&&(s+=" "+r[d]))}n[o]=s}return n}var We={exports:{}},G={};var Gt;function on(){if(Gt)return G;Gt=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"),s=Symbol.for("react.context"),c=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"),S=Symbol.for("react.client.reference");function y(l){if(typeof l=="object"&&l!==null){var x=l.$$typeof;switch(x){case e:switch(l=l.type,l){case r:case o:case n:case f:case d:case h:return l;default:switch(l=l&&l.$$typeof,l){case s:case c:case p:case m:return l;case i:return l;default:return x}}case t:return x}}}return G.ContextConsumer=i,G.ContextProvider=s,G.Element=e,G.ForwardRef=c,G.Fragment=r,G.Lazy=p,G.Memo=m,G.Portal=t,G.Profiler=o,G.StrictMode=n,G.Suspense=f,G.SuspenseList=d,G.isContextConsumer=function(l){return y(l)===i},G.isContextProvider=function(l){return y(l)===s},G.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===e},G.isForwardRef=function(l){return y(l)===c},G.isFragment=function(l){return y(l)===r},G.isLazy=function(l){return y(l)===p},G.isMemo=function(l){return y(l)===m},G.isPortal=function(l){return y(l)===t},G.isProfiler=function(l){return y(l)===o},G.isStrictMode=function(l){return y(l)===n},G.isSuspense=function(l){return y(l)===f},G.isSuspenseList=function(l){return y(l)===d},G.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===r||l===o||l===n||l===f||l===d||typeof l=="object"&&l!==null&&(l.$$typeof===p||l.$$typeof===m||l.$$typeof===s||l.$$typeof===i||l.$$typeof===c||l.$$typeof===S||l.getModuleId!==void 0)},G.typeOf=y,G}var K={};var Kt;function an(){return Kt||(Kt=1,process.env.NODE_ENV!=="production"&&(function(){function e(l){if(typeof l=="object"&&l!==null){var x=l.$$typeof;switch(x){case t:switch(l=l.type,l){case n:case i:case o:case d:case m:case S:return l;default:switch(l=l&&l.$$typeof,l){case c:case f:case h:case p:return l;case s:return l;default:return x}}case r:return x}}}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"),s=Symbol.for("react.consumer"),c=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"),S=Symbol.for("react.view_transition"),y=Symbol.for("react.client.reference");K.ContextConsumer=s,K.ContextProvider=c,K.Element=t,K.ForwardRef=f,K.Fragment=n,K.Lazy=h,K.Memo=p,K.Portal=r,K.Profiler=i,K.StrictMode=o,K.Suspense=d,K.SuspenseList=m,K.isContextConsumer=function(l){return e(l)===s},K.isContextProvider=function(l){return e(l)===c},K.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===t},K.isForwardRef=function(l){return e(l)===f},K.isFragment=function(l){return e(l)===n},K.isLazy=function(l){return e(l)===h},K.isMemo=function(l){return e(l)===p},K.isPortal=function(l){return e(l)===r},K.isProfiler=function(l){return e(l)===i},K.isStrictMode=function(l){return e(l)===o},K.isSuspense=function(l){return e(l)===d},K.isSuspenseList=function(l){return e(l)===m},K.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===n||l===i||l===o||l===d||l===m||typeof l=="object"&&l!==null&&(l.$$typeof===h||l.$$typeof===p||l.$$typeof===c||l.$$typeof===s||l.$$typeof===f||l.$$typeof===y||l.getModuleId!==void 0)},K.typeOf=e})()),K}var Qt;function sn(){return Qt||(Qt=1,process.env.NODE_ENV==="production"?We.exports=on():We.exports=an()),We.exports}var Ge=sn();function ye(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 Or(e){if(he.isValidElement(e)||Ge.isValidElementType(e)||!ye(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Or(e[r])}),t}function ce(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return ye(e)&&ye(t)&&Object.keys(t).forEach(o=>{he.isValidElement(t[o])||Ge.isValidElementType(t[o])?n[o]=t[o]:ye(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&ye(e[o])?n[o]=ce(e[o],t[o],r):r.clone?n[o]=ye(t[o])?Or(t[o]):t[o]:n[o]=t[o]}),n}function De(e,t){return t?ce(e,t,{clone:!1}):e}const Ee=process.env.NODE_ENV!=="production"?z.oneOfType([z.number,z.string,z.object,z.array]):{};function Xt(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{const i=/min-width:\s*([0-9.]+)/;return+(n.match(i)?.[1]||0)-+(o.match(i)?.[1]||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function cn(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function ln(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>\`. For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Ce(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function un(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function r(i,s){i.up=(...c)=>t(e.breakpoints.up(...c),s),i.down=(...c)=>t(e.breakpoints.down(...c),s),i.between=(...c)=>t(e.breakpoints.between(...c),s),i.only=(...c)=>t(e.breakpoints.only(...c),s),i.not=(...c)=>{const f=t(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=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Je={xs:0,sm:600,md:900,lg:1200,xl:1536},Jt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Je[e]}px)`},fn={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Je[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function ve(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Jt;return t.reduce((s,c,f)=>(s[i.up(i.keys[f])]=r(t[f]),s),{})}if(typeof t=="object"){const i=n.breakpoints||Jt;return Object.keys(t).reduce((s,c)=>{if(cn(i.keys,c)){const f=ln(n.containerQueries?n:fn,c);f&&(s[f]=r(t[c],c))}else if(Object.keys(i.values||Je).includes(c)){const f=i.up(c);s[f]=r(t[c],c)}else{const f=c;s[f]=t[f]}return s},{})}return r(t)}function dn(e={}){return e.keys?.reduce((r,n)=>{const o=e.up(n);return r[o]={},r},{})||{}}function Zt(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Ze(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 Ke(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Ze(e,r)||n,t&&(o=t(o,n,e)),o}function re(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=s=>{if(s[t]==null)return null;const c=s[t],f=s.theme,d=Ze(f,n)||{};return ve(s,c,p=>{let h=Ke(d,o,p);return p===h&&typeof p=="string"&&(h=Ke(d,o,`${t}${p==="default"?"":$e(p)}`,p)),r===!1?h:{[r]:h}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Ee}:{},i.filterProps=[t],i}function mn(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const pn={m:"margin",p:"padding"},hn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},er={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},gn=mn(e=>{if(e.length>2)if(er[e])e=er[e];else return[e];const[t,r]=e.split(""),n=pn[t],o=hn[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),et=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],tt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],yn=[...et,...tt];function Ve(e,t,r,n){const o=Ze(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 s=Math.abs(i);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.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(` `)));const c=o[s];return i>=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.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(` `)),()=>{})}function _t(e){return Ve(e,"spacing",8,"spacing")}function Fe(e,t){return typeof t=="string"||t==null?t:e(t)}function bn(e,t){return r=>e.reduce((n,o)=>(n[o]=Fe(t,r),n),{})}function vn(e,t,r,n){if(!t.includes(r))return null;const o=gn(r),i=bn(o,n),s=e[r];return ve(e,s,i)}function wr(e,t){const r=_t(e.theme);return Object.keys(e).map(n=>vn(e,t,n,r)).reduce(De,{})}function ee(e){return wr(e,et)}ee.propTypes=process.env.NODE_ENV!=="production"?et.reduce((e,t)=>(e[t]=Ee,e),{}):{};ee.filterProps=et;function te(e){return wr(e,tt)}te.propTypes=process.env.NODE_ENV!=="production"?tt.reduce((e,t)=>(e[t]=Ee,e),{}):{};te.filterProps=tt;process.env.NODE_ENV!=="production"&&yn.reduce((e,t)=>(e[t]=Ee,e),{});function rt(...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]?De(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 ue(e){return typeof e!="number"?e:`${e}px solid`}function fe(e,t){return re({prop:e,themeKey:"borders",transform:t})}const Sn=fe("border",ue),Cn=fe("borderTop",ue),xn=fe("borderRight",ue),En=fe("borderBottom",ue),Tn=fe("borderLeft",ue),On=fe("borderColor"),wn=fe("borderTopColor"),$n=fe("borderRightColor"),_n=fe("borderBottomColor"),An=fe("borderLeftColor"),kn=fe("outline",ue),In=fe("outlineColor"),nt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ve(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Fe(t,n)});return ve(e,e.borderRadius,r)}return null};nt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ee}:{};nt.filterProps=["borderRadius"];rt(Sn,Cn,xn,En,Tn,On,wn,$n,_n,An,nt,kn,In);const ot=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ve(e.theme,"spacing",8,"gap"),r=n=>({gap:Fe(t,n)});return ve(e,e.gap,r)}return null};ot.propTypes=process.env.NODE_ENV!=="production"?{gap:Ee}:{};ot.filterProps=["gap"];const it=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ve(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Fe(t,n)});return ve(e,e.columnGap,r)}return null};it.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ee}:{};it.filterProps=["columnGap"];const at=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ve(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Fe(t,n)});return ve(e,e.rowGap,r)}return null};at.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ee}:{};at.filterProps=["rowGap"];const Pn=re({prop:"gridColumn"}),Rn=re({prop:"gridRow"}),Mn=re({prop:"gridAutoFlow"}),Nn=re({prop:"gridAutoColumns"}),jn=re({prop:"gridAutoRows"}),Bn=re({prop:"gridTemplateColumns"}),Dn=re({prop:"gridTemplateRows"}),Ln=re({prop:"gridTemplateAreas"}),Vn=re({prop:"gridArea"});rt(ot,it,at,Pn,Rn,Mn,Nn,jn,Bn,Dn,Ln,Vn);function Re(e,t){return t==="grey"?t:e}const Fn=re({prop:"color",themeKey:"palette",transform:Re}),zn=re({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Re}),Un=re({prop:"backgroundColor",themeKey:"palette",transform:Re});rt(Fn,zn,Un);function se(e){return e<=1&&e!==0?`${e*100}%`:e}const Yn=re({prop:"width",transform:se}),At=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const n=e.theme?.breakpoints?.values?.[r]||Je[r];return n?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:se(r)}};return ve(e,e.maxWidth,t)}return null};At.filterProps=["maxWidth"];const Wn=re({prop:"minWidth",transform:se}),Hn=re({prop:"height",transform:se}),qn=re({prop:"maxHeight",transform:se}),Gn=re({prop:"minHeight",transform:se});re({prop:"size",cssProperty:"width",transform:se});re({prop:"size",cssProperty:"height",transform:se});const Kn=re({prop:"boxSizing"});rt(Yn,At,Wn,Hn,qn,Gn,Kn);const st={border:{themeKey:"borders",transform:ue},borderTop:{themeKey:"borders",transform:ue},borderRight:{themeKey:"borders",transform:ue},borderBottom:{themeKey:"borders",transform:ue},borderLeft:{themeKey:"borders",transform:ue},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ue},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:nt},color:{themeKey:"palette",transform:Re},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Re},backgroundColor:{themeKey:"palette",transform:Re},p:{style:te},pt:{style:te},pr:{style:te},pb:{style:te},pl:{style:te},px:{style:te},py:{style:te},padding:{style:te},paddingTop:{style:te},paddingRight:{style:te},paddingBottom:{style:te},paddingLeft:{style:te},paddingX:{style:te},paddingY:{style:te},paddingInline:{style:te},paddingInlineStart:{style:te},paddingInlineEnd:{style:te},paddingBlock:{style:te},paddingBlockStart:{style:te},paddingBlockEnd:{style:te},m:{style:ee},mt:{style:ee},mr:{style:ee},mb:{style:ee},ml:{style:ee},mx:{style:ee},my:{style:ee},margin:{style:ee},marginTop:{style:ee},marginRight:{style:ee},marginBottom:{style:ee},marginLeft:{style:ee},marginX:{style:ee},marginY:{style:ee},marginInline:{style:ee},marginInlineStart:{style:ee},marginInlineEnd:{style:ee},marginBlock:{style:ee},marginBlockStart:{style:ee},marginBlockEnd:{style:ee},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:ot},rowGap:{style:at},columnGap:{style:it},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:se},maxWidth:{style:At},minWidth:{transform:se},height:{transform:se},maxHeight:{transform:se},minHeight:{transform:se},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 Qn(...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 Xn(e,t){return typeof e=="function"?e(t):e}function Jn(){function e(r,n,o,i){const s={[r]:n,theme:o},c=i[r];if(!c)return{[r]:n};const{cssProperty:f=r,themeKey:d,transform:m,style:p}=c;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const h=Ze(o,d)||{};return p?p(s):ve(s,n,y=>{let l=Ke(h,m,y);return y===l&&typeof y=="string"&&(l=Ke(h,m,`${r}${y==="default"?"":$e(y)}`,y)),f===!1?l:{[f]:l}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const s=o.unstable_sxConfig??st;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 m=dn(o.breakpoints),p=Object.keys(m);let h=m;return Object.keys(d).forEach(S=>{const y=Xn(d[S],o);if(y!=null)if(typeof y=="object")if(s[S])h=De(h,e(S,y,o,s));else{const l=ve({theme:o},y,x=>({[S]:x}));Qn(l,y)?h[S]=t({sx:y,theme:o,nested:!0}):h=De(h,l)}else h=De(h,e(S,y,o,s))}),!i&&o.modularCssLayers?{"@layer sx":Xt(o,Zt(p,h))}:Xt(o,Zt(p,h))}return Array.isArray(n)?n.map(c):c(n)}return t}const Me=Jn();Me.filterProps=["sx"];function Zn(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 eo={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function to(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var ro=/[A-Z]|^ms/g,no=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$r=function(t){return t.charCodeAt(1)===45},tr=function(t){return t!=null&&typeof t!="boolean"},bt=to(function(e){return $r(e)?e:e.replace(ro,"-$&").toLowerCase()}),rr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(no,function(n,o,i){return Se={name:o,styles:i,next:Se},o})}return eo[t]!==1&&!$r(t)&&typeof r=="number"&&r!==0?r+"px":r};function Qe(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 Se={name:o.name,styles:o.styles,next:Se},o.name;var i=r;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Se={name:s.name,styles:s.styles,next:Se},s=s.next;var c=i.styles+";";return c}return oo(e,t,r)}}var f=r;return f}function oo(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Qe(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var c=s;tr(c)&&(n+=bt(i)+":"+rr(i,c)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&t==null)for(var f=0;f<s.length;f++)tr(s[f])&&(n+=bt(i)+":"+rr(i,s[f])+";");else{var d=Qe(e,t,s);switch(i){case"animation":case"animationName":{n+=bt(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var nr=/label:\s*([^\s;{]+)\s*(;|$)/g,Se;function io(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="";Se=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Qe(r,t,i);else{var s=i;o+=s[0]}for(var c=1;c<e.length;c++)if(o+=Qe(r,t,e[c]),n){var f=i;o+=f[c]}nr.lastIndex=0;for(var d="",m;(m=nr.exec(o))!==null;)d+="-"+m[1];var p=Zn(o)+d;return{name:p,styles:o,next:Se}}function ao(e,t){const r=Ur(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(` `)):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 so(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const or=[];function we(e){return or[0]=e,io(or)}const co=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 lo(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=co(t),s=Object.keys(i);function c(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,S){const y=s.indexOf(S);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r}) and (max-width:${(y!==-1&&typeof t[s[y]]=="number"?t[s[y]]:S)-n/100}${r})`}function m(h){return s.indexOf(h)+1<s.length?d(h,s[s.indexOf(h)+1]):c(h)}function p(h){const S=s.indexOf(h);return S===0?c(s[1]):S===s.length-1?f(s[S]):d(h,s[s.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:c,down:f,between:d,only:m,not:p,unit:r,...o}}const uo={borderRadius:4};function _r(e=8,t=_t({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 s=t(i);return typeof s=="number"?`${s}px`:s}).join(" "));return r.mui=!0,r}function fo(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let n=r.getColorSchemeSelector(e);return n==="&"?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function kt(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...s}=e,c=lo(r),f=_r(o);let d=ce({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:f,shape:{...uo,...i}},s);return d=un(d),d.applyStyles=fo,d=t.reduce((m,p)=>ce(m,p),d),d.unstable_sxConfig={...st,...s?.unstable_sxConfig},d.unstable_sx=function(p){return Me({sx:p,theme:this})},d}function mo(e){return Object.keys(e).length===0}function po(e=null){const t=he.useContext(Yr.ThemeContext);return!t||mo(t)?e:t}const ho=kt();function go(e=ho){return po(e)}const yo={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 It(e,t,r="Mui"){const n=yo[t];return n?`${r}-${n}`:`${qr.generate(e)}-${t}`}function bo(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=It(e,o,r)}),n}function Ar(e,t=""){return e.displayName||e.name||t}function ir(e,t,r){const n=Ar(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function vo(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Ar(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Ge.ForwardRef:return ir(e,e.render,"ForwardRef");case Ge.Memo:return ir(e,e.type,"memo");default:return}}}function kr(e){const{variants:t,...r}=e,n={variants:t,style:we(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=we(o.style))}),n}const So=kt();function vt(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Oe(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Co(e){return e?(t,r)=>r[e]:null}function xo(e,t,r){e.theme=wo(e.theme)?r:e.theme[t]||e.theme}function qe(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>qe(e,o,r));if(Array.isArray(n?.variants)){let o;if(n.isProcessed)o=r?Oe(n.style,r):n.style;else{const{variants:i,...s}=n;o=r?Oe(we(s),r):s}return Ir(e,n.variants,[o],r)}return n?.isProcessed?r?Oe(we(n.style),r):n.style:r?Oe(we(n),r):n}function Ir(e,t,r=[],n=void 0){let o;e:for(let i=0;i<t.length;i+=1){const s=t[i];if(typeof s.props=="function"){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(o))continue}else for(const c in s.props)if(e[c]!==s.props[c]&&e.ownerState?.[c]!==s.props[c])continue e;typeof s.style=="function"?(o??={...e,...e.ownerState,ownerState:e.ownerState},r.push(n?Oe(we(s.style(o)),n):s.style(o))):r.push(n?Oe(we(s.style),n):s.style)}return r}function Eo(e={}){const{themeId:t,defaultTheme:r=So,rootShouldForwardProp:n=vt,slotShouldForwardProp:o=vt}=e;function i(c){xo(c,t,r)}return(c,f={})=>{so(c,w=>w.filter(X=>X!==Me));const{name:d,slot:m,skipVariantsResolver:p,skipSx:h,overridesResolver:S=Co(Pr(m)),...y}=f,l=d&&d.startsWith("Mui")||m?"components":"custom",x=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,A=h||!1;let N=vt;m==="Root"||m==="root"?N=n:m?N=o:$o(c)&&(N=void 0);const B=ao(c,{shouldForwardProp:N,label:Oo(d,m),...y}),O=w=>{if(w.__emotion_real===w)return w;if(typeof w=="function")return function(ne){return qe(ne,w,ne.theme.modularCssLayers?l:void 0)};if(ye(w)){const X=kr(w);return function(Q){return X.variants?qe(Q,X,Q.theme.modularCssLayers?l:void 0):Q.theme.modularCssLayers?Oe(X.style,l):X.style}}return w},b=(...w)=>{const X=[],ne=w.map(O),Q=[];if(X.push(i),d&&S&&Q.push(function($){const k=$.theme.components?.[d]?.styleOverrides;if(!k)return null;const D={};for(const oe in k)D[oe]=qe($,k[oe],$.theme.modularCssLayers?"theme":void 0);return S($,D)}),d&&!x&&Q.push(function($){const k=$.theme?.components?.[d]?.variants;return k?Ir($,k,[],$.theme.modularCssLayers?"theme":void 0):null}),A||Q.push(Me),Array.isArray(ne[0])){const a=ne.shift(),$=new Array(X.length).fill(""),C=new Array(Q.length).fill("");let k;k=[...$,...a,...C],k.raw=[...$,...a.raw,...C],X.unshift(k)}const ie=[...X,...ne,...Q],Z=B(...ie);return c.muiName&&(Z.muiName=c.muiName),process.env.NODE_ENV!=="production"&&(Z.displayName=To(d,m,c)),Z};return B.withConfig&&(b.withConfig=B.withConfig),b}}function To(e,t,r){return e?`${e}${$e(t||"")}`:`Styled(${vo(r)})`}function Oo(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${Pr(t||"Root")}`),r}function wo(e){for(const t in e)return!1;return!0}function $o(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Pr(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Et(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 s=e[i],c=t[i];if(!c)n[i]=s||{};else if(!s)n[i]=c;else{n[i]={...c};for(const f in s)if(Object.prototype.hasOwnProperty.call(s,f)){const d=f;n[i][d]=Et(s[d],c[d],r)}}}else i==="className"&&r&&t.className?n.className=Tr(e?.className,t?.className):i==="style"&&r&&t.style?n.style={...e?.style,...t?.style}:n[i]===void 0&&(n[i]=e[i])}return n}function _o(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Pt(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}].`),_o(e,t,r)}function Ao(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 xe(e){if(e.type)return e;if(e.charAt(0)==="#")return xe(Ao(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. The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Ce(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. The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Ce(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const ko=e=>{const t=xe(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},je=(e,t)=>{try{return ko(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function ct(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 Rr(e){e=xe(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),s=(d,m=(d+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,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(t[3])),ct({type:c,values:f})}function Tt(e){e=xe(e);let t=e.type==="hsl"||e.type==="hsla"?xe(Rr(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 ar(e,t){const r=Tt(e),n=Tt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Mr(e,t){return e=xe(e),t=Pt(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ct(e)}function Te(e,t,r){try{return Mr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function lt(e,t){if(e=xe(e),t=Pt(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 ct(e)}function H(e,t,r){try{return lt(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function ut(e,t){if(e=xe(e),t=Pt(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 ct(e)}function q(e,t,r){try{return ut(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Io(e,t=.15){return Tt(e)>.5?lt(e,t):ut(e,t)}function He(e,t,r){try{return Io(e,t)}catch{return e}}const Po=he.createContext(void 0);process.env.NODE_ENV!=="production"&&(z.node,z.object);function Ro(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?Et(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?Et(o,n,t.components.mergeClassNameAndStyle):n}function Mo({props:e,name:t}){const r=he.useContext(Po);return Ro({props:e,name:t,theme:{components:r}})}const sr={theme:void 0};function No(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(sr.theme=o.theme,i=kr(e(sr)),t=i,r=o.theme),i}}function jo(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 cr=(e,t,r,n=[])=>{let o=e;t.forEach((i,s)=>{s===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])})},Bo=(e,t,r)=>{function n(o,i=[],s=[]){Object.entries(o).forEach(([c,f])=>{(!r||r&&!r([...i,c]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?n(f,[...i,c],Array.isArray(f)?[...s,c]:s):t([...i,c],f,s))})}n(e)},Do=(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 St(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},s={};return Bo(e,(c,f,d)=>{if((typeof f=="string"||typeof f=="number")&&(!n||!n(c,f))){const m=`--${