@js-smart/react-kit
Version:
49 lines • 93.4 kB
JavaScript
"use strict";var Vr=Object.defineProperty;var zr=(e,t,r)=>t in e?Vr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var je=(e,t,r)=>zr(e,typeof t!="symbol"?t+"":t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react/jsx-runtime"),_=require("@mui/material"),ye=require("react"),Fr=require("@emotion/styled"),Ur=require("@emotion/react"),vr=require("react-router-dom"),Ct=require("date-fns");function Yr(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 pe=Yr(ye),Bt=e=>e,Wr=()=>{let e=Bt;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Bt}}},Hr=Wr();function Se(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 we(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Se(7));return e.charAt(0).toUpperCase()+e.slice(1)}function qr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ye={exports:{}},We={exports:{}},z={};/** @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 Dt;function Gr(){if(Dt)return z;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,c=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,C=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,s=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 w(g){if(typeof g=="object"&&g!==null){var V=g.$$typeof;switch(V){case t:switch(g=g.type,g){case u:case f:case n:case i:case o:case h:return g;default:switch(g=g&&g.$$typeof,g){case l:case m:case b:case C:case c:return g;default:return V}}case r:return V}}}function O(g){return w(g)===f}return z.AsyncMode=u,z.ConcurrentMode=f,z.ContextConsumer=l,z.ContextProvider=c,z.Element=t,z.ForwardRef=m,z.Fragment=n,z.Lazy=b,z.Memo=C,z.Portal=r,z.Profiler=i,z.StrictMode=o,z.Suspense=h,z.isAsyncMode=function(g){return O(g)||w(g)===u},z.isConcurrentMode=O,z.isContextConsumer=function(g){return w(g)===l},z.isContextProvider=function(g){return w(g)===c},z.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},z.isForwardRef=function(g){return w(g)===m},z.isFragment=function(g){return w(g)===n},z.isLazy=function(g){return w(g)===b},z.isMemo=function(g){return w(g)===C},z.isPortal=function(g){return w(g)===r},z.isProfiler=function(g){return w(g)===i},z.isStrictMode=function(g){return w(g)===o},z.isSuspense=function(g){return w(g)===h},z.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===f||g===i||g===o||g===h||g===p||typeof g=="object"&&g!==null&&(g.$$typeof===b||g.$$typeof===C||g.$$typeof===c||g.$$typeof===l||g.$$typeof===m||g.$$typeof===T||g.$$typeof===$||g.$$typeof===J||g.$$typeof===s)},z.typeOf=w,z}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 Lt;function Kr(){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,c=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,C=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,s=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 w(S){return typeof S=="string"||typeof S=="function"||S===n||S===f||S===i||S===o||S===h||S===p||typeof S=="object"&&S!==null&&(S.$$typeof===b||S.$$typeof===C||S.$$typeof===c||S.$$typeof===l||S.$$typeof===m||S.$$typeof===T||S.$$typeof===$||S.$$typeof===J||S.$$typeof===s)}function O(S){if(typeof S=="object"&&S!==null){var de=S.$$typeof;switch(de){case t:var Ue=S.type;switch(Ue){case u:case f:case n:case i:case o:case h:return Ue;default:var Nt=Ue&&Ue.$$typeof;switch(Nt){case l:case m:case b:case C:case c:return Nt;default:return de}}case r:return de}}}var g=u,V=f,G=l,ne=c,K=t,a=m,x=n,I=b,j=C,te=r,re=i,oe=o,ae=h,Te=!1;function $e(S){return Te||(Te=!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(S)||O(S)===u}function y(S){return O(S)===f}function E(S){return O(S)===l}function M(S){return O(S)===c}function R(S){return typeof S=="object"&&S!==null&&S.$$typeof===t}function A(S){return O(S)===m}function N(S){return O(S)===n}function k(S){return O(S)===b}function P(S){return O(S)===C}function B(S){return O(S)===r}function U(S){return O(S)===i}function D(S){return O(S)===o}function ie(S){return O(S)===h}F.AsyncMode=g,F.ConcurrentMode=V,F.ContextConsumer=G,F.ContextProvider=ne,F.Element=K,F.ForwardRef=a,F.Fragment=x,F.Lazy=I,F.Memo=j,F.Portal=te,F.Profiler=re,F.StrictMode=oe,F.Suspense=ae,F.isAsyncMode=$e,F.isConcurrentMode=y,F.isContextConsumer=E,F.isContextProvider=M,F.isElement=R,F.isForwardRef=A,F.isFragment=N,F.isLazy=k,F.isMemo=P,F.isPortal=B,F.isProfiler=U,F.isStrictMode=D,F.isSuspense=ie,F.isValidElementType=w,F.typeOf=O}()),F}var Vt;function Sr(){return Vt||(Vt=1,process.env.NODE_ENV==="production"?We.exports=Gr():We.exports=Kr()),We.exports}/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var ft,zt;function Qr(){if(zt)return ft;zt=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 c={},l=0;l<10;l++)c["_"+String.fromCharCode(l)]=l;var u=Object.getOwnPropertyNames(c).map(function(m){return c[m]});if(u.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(m){f[m]=m}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ft=o()?Object.assign:function(i,c){for(var l,u=n(i),f,m=1;m<arguments.length;m++){l=Object(arguments[m]);for(var h in l)t.call(l,h)&&(u[h]=l[h]);if(e){f=e(l);for(var p=0;p<f.length;p++)r.call(l,f[p])&&(u[f[p]]=l[f[p]])}}return u},ft}var dt,Ft;function Ot(){if(Ft)return dt;Ft=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return dt=e,dt}var mt,Ut;function Cr(){return Ut||(Ut=1,mt=Function.call.bind(Object.prototype.hasOwnProperty)),mt}var pt,Yt;function Jr(){if(Yt)return pt;Yt=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Ot(),r={},n=Cr();e=function(i){var c="Warning: "+i;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}}}function o(i,c,l,u,f){if(process.env.NODE_ENV!=="production"){for(var m in i)if(n(i,m)){var h;try{if(typeof i[m]!="function"){var p=Error((u||"React class")+": "+l+" 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 p.name="Invariant Violation",p}h=i[m](c,m,u,l,null,t)}catch(b){h=b}if(h&&!(h instanceof Error)&&e((u||"React class")+": type specification of "+l+" `"+m+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in r)){r[h.message]=!0;var C=f?f():"";e("Failed "+l+" type: "+h.message+(C??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},pt=o,pt}var ht,Wt;function Xr(){if(Wt)return ht;Wt=1;var e=Sr(),t=Qr(),r=Ot(),n=Cr(),o=Jr(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(l){var u="Warning: "+l;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function c(){return null}return ht=function(l,u){var f=typeof Symbol=="function"&&Symbol.iterator,m="@@iterator";function h(y){var E=y&&(f&&y[f]||y[m]);if(typeof E=="function")return E}var p="<<anonymous>>",C={array:$("array"),bigint:$("bigint"),bool:$("boolean"),func:$("function"),number:$("number"),object:$("object"),string:$("string"),symbol:$("symbol"),any:J(),arrayOf:w,element:O(),elementType:g(),instanceOf:V,node:a(),objectOf:ne,oneOf:G,oneOfType:K,shape:I,exact:j};function b(y,E){return y===E?y!==0||1/y===1/E:y!==y&&E!==E}function s(y,E){this.message=y,this.data=E&&typeof E=="object"?E:{},this.stack=""}s.prototype=Error.prototype;function T(y){if(process.env.NODE_ENV!=="production")var E={},M=0;function R(N,k,P,B,U,D,ie){if(B=B||p,D=D||P,ie!==r){if(u){var S=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 S.name="Invariant Violation",S}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var de=B+":"+P;!E[de]&&M<3&&(i("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."),E[de]=!0,M++)}}return k[P]==null?N?k[P]===null?new s("The "+U+" `"+D+"` is marked as required "+("in `"+B+"`, but its value is `null`.")):new s("The "+U+" `"+D+"` is marked as required in "+("`"+B+"`, but its value is `undefined`.")):null:y(k,P,B,U,D)}var A=R.bind(null,!1);return A.isRequired=R.bind(null,!0),A}function $(y){function E(M,R,A,N,k,P){var B=M[R],U=oe(B);if(U!==y){var D=ae(B);return new s("Invalid "+N+" `"+k+"` of type "+("`"+D+"` supplied to `"+A+"`, expected ")+("`"+y+"`."),{expectedType:y})}return null}return T(E)}function J(){return T(c)}function w(y){function E(M,R,A,N,k){if(typeof y!="function")return new s("Property `"+k+"` of component `"+A+"` has invalid PropType notation inside arrayOf.");var P=M[R];if(!Array.isArray(P)){var B=oe(P);return new s("Invalid "+N+" `"+k+"` of type "+("`"+B+"` supplied to `"+A+"`, expected an array."))}for(var U=0;U<P.length;U++){var D=y(P,U,A,N,k+"["+U+"]",r);if(D instanceof Error)return D}return null}return T(E)}function O(){function y(E,M,R,A,N){var k=E[M];if(!l(k)){var P=oe(k);return new s("Invalid "+A+" `"+N+"` of type "+("`"+P+"` supplied to `"+R+"`, expected a single ReactElement."))}return null}return T(y)}function g(){function y(E,M,R,A,N){var k=E[M];if(!e.isValidElementType(k)){var P=oe(k);return new s("Invalid "+A+" `"+N+"` of type "+("`"+P+"` supplied to `"+R+"`, expected a single ReactElement type."))}return null}return T(y)}function V(y){function E(M,R,A,N,k){if(!(M[R]instanceof y)){var P=y.name||p,B=$e(M[R]);return new s("Invalid "+N+" `"+k+"` of type "+("`"+B+"` supplied to `"+A+"`, expected ")+("instance of `"+P+"`."))}return null}return T(E)}function G(y){if(!Array.isArray(y))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.")),c;function E(M,R,A,N,k){for(var P=M[R],B=0;B<y.length;B++)if(b(P,y[B]))return null;var U=JSON.stringify(y,function(ie,S){var de=ae(S);return de==="symbol"?String(S):S});return new s("Invalid "+N+" `"+k+"` of value `"+String(P)+"` "+("supplied to `"+A+"`, expected one of "+U+"."))}return T(E)}function ne(y){function E(M,R,A,N,k){if(typeof y!="function")return new s("Property `"+k+"` of component `"+A+"` has invalid PropType notation inside objectOf.");var P=M[R],B=oe(P);if(B!=="object")return new s("Invalid "+N+" `"+k+"` of type "+("`"+B+"` supplied to `"+A+"`, expected an object."));for(var U in P)if(n(P,U)){var D=y(P,U,A,N,k+"."+U,r);if(D instanceof Error)return D}return null}return T(E)}function K(y){if(!Array.isArray(y))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var E=0;E<y.length;E++){var M=y[E];if(typeof M!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Te(M)+" at index "+E+"."),c}function R(A,N,k,P,B){for(var U=[],D=0;D<y.length;D++){var ie=y[D],S=ie(A,N,k,P,B,r);if(S==null)return null;S.data&&n(S.data,"expectedType")&&U.push(S.data.expectedType)}var de=U.length>0?", expected one of type ["+U.join(", ")+"]":"";return new s("Invalid "+P+" `"+B+"` supplied to "+("`"+k+"`"+de+"."))}return T(R)}function a(){function y(E,M,R,A,N){return te(E[M])?null:new s("Invalid "+A+" `"+N+"` supplied to "+("`"+R+"`, expected a ReactNode."))}return T(y)}function x(y,E,M,R,A){return new s((y||"React class")+": "+E+" type `"+M+"."+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+A+"`.")}function I(y){function E(M,R,A,N,k){var P=M[R],B=oe(P);if(B!=="object")return new s("Invalid "+N+" `"+k+"` of type `"+B+"` "+("supplied to `"+A+"`, expected `object`."));for(var U in y){var D=y[U];if(typeof D!="function")return x(A,N,k,U,ae(D));var ie=D(P,U,A,N,k+"."+U,r);if(ie)return ie}return null}return T(E)}function j(y){function E(M,R,A,N,k){var P=M[R],B=oe(P);if(B!=="object")return new s("Invalid "+N+" `"+k+"` of type `"+B+"` "+("supplied to `"+A+"`, expected `object`."));var U=t({},M[R],y);for(var D in U){var ie=y[D];if(n(y,D)&&typeof ie!="function")return x(A,N,k,D,ae(ie));if(!ie)return new s("Invalid "+N+" `"+k+"` key `"+D+"` supplied to `"+A+"`.\nBad object: "+JSON.stringify(M[R],null," ")+`
Valid keys: `+JSON.stringify(Object.keys(y),null," "));var S=ie(P,D,A,N,k+"."+D,r);if(S)return S}return null}return T(E)}function te(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(te);if(y===null||l(y))return!0;var E=h(y);if(E){var M=E.call(y),R;if(E!==y.entries){for(;!(R=M.next()).done;)if(!te(R.value))return!1}else for(;!(R=M.next()).done;){var A=R.value;if(A&&!te(A[1]))return!1}}else return!1;return!0;default:return!1}}function re(y,E){return y==="symbol"?!0:E?E["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&E instanceof Symbol:!1}function oe(y){var E=typeof y;return Array.isArray(y)?"array":y instanceof RegExp?"object":re(E,y)?"symbol":E}function ae(y){if(typeof y>"u"||y===null)return""+y;var E=oe(y);if(E==="object"){if(y instanceof Date)return"date";if(y instanceof RegExp)return"regexp"}return E}function Te(y){var E=ae(y);switch(E){case"array":case"object":return"an "+E;case"boolean":case"date":case"regexp":return"a "+E;default:return E}}function $e(y){return!y.constructor||!y.constructor.name?p:y.constructor.name}return C.checkPropTypes=o,C.resetWarningCache=o.resetWarningCache,C.PropTypes=C,C},ht}var gt,Ht;function Zr(){if(Ht)return gt;Ht=1;var e=Ot();function t(){}function r(){}return r.resetWarningCache=t,gt=function(){function n(c,l,u,f,m,h){if(h!==e){var p=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 p.name="Invariant Violation",p}}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},gt}var qt;function en(){if(qt)return Ye.exports;if(qt=1,process.env.NODE_ENV!=="production"){var e=Sr(),t=!0;Ye.exports=Xr()(e.isElement,t)}else Ye.exports=Zr()();return Ye.exports}var tn=en();const L=qr(tn);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 rn(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let c="",l=!0;for(let u=0;u<i.length;u+=1){const f=i[u];f&&(c+=(l===!0?"":" ")+t(f),l=!1,r&&r[f]&&(c+=" "+r[f]))}n[o]=c}return n}var He={exports:{}},Y={};/**
* @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 Gt;function nn(){if(Gt)return Y;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"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),C=Symbol.for("react.client.reference");function b(s){if(typeof s=="object"&&s!==null){var T=s.$$typeof;switch(T){case e:switch(s=s.type,s){case r:case o:case n:case u:case f:case p:return s;default:switch(s=s&&s.$$typeof,s){case c:case l:case h:case m:return s;case i:return s;default:return T}}case t:return T}}}return Y.ContextConsumer=i,Y.ContextProvider=c,Y.Element=e,Y.ForwardRef=l,Y.Fragment=r,Y.Lazy=h,Y.Memo=m,Y.Portal=t,Y.Profiler=o,Y.StrictMode=n,Y.Suspense=u,Y.SuspenseList=f,Y.isContextConsumer=function(s){return b(s)===i},Y.isContextProvider=function(s){return b(s)===c},Y.isElement=function(s){return typeof s=="object"&&s!==null&&s.$$typeof===e},Y.isForwardRef=function(s){return b(s)===l},Y.isFragment=function(s){return b(s)===r},Y.isLazy=function(s){return b(s)===h},Y.isMemo=function(s){return b(s)===m},Y.isPortal=function(s){return b(s)===t},Y.isProfiler=function(s){return b(s)===o},Y.isStrictMode=function(s){return b(s)===n},Y.isSuspense=function(s){return b(s)===u},Y.isSuspenseList=function(s){return b(s)===f},Y.isValidElementType=function(s){return typeof s=="string"||typeof s=="function"||s===r||s===o||s===n||s===u||s===f||typeof s=="object"&&s!==null&&(s.$$typeof===h||s.$$typeof===m||s.$$typeof===c||s.$$typeof===i||s.$$typeof===l||s.$$typeof===C||s.getModuleId!==void 0)},Y.typeOf=b,Y}var W={};/**
* @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 Kt;function on(){return Kt||(Kt=1,process.env.NODE_ENV!=="production"&&function(){function e(s){if(typeof s=="object"&&s!==null){var T=s.$$typeof;switch(T){case t:switch(s=s.type,s){case n:case i:case o:case f:case m:case C:return s;default:switch(s=s&&s.$$typeof,s){case l:case u:case p:case h:return s;case c:return s;default:return T}}case r:return T}}}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"),c=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),C=Symbol.for("react.view_transition"),b=Symbol.for("react.client.reference");W.ContextConsumer=c,W.ContextProvider=l,W.Element=t,W.ForwardRef=u,W.Fragment=n,W.Lazy=p,W.Memo=h,W.Portal=r,W.Profiler=i,W.StrictMode=o,W.Suspense=f,W.SuspenseList=m,W.isContextConsumer=function(s){return e(s)===c},W.isContextProvider=function(s){return e(s)===l},W.isElement=function(s){return typeof s=="object"&&s!==null&&s.$$typeof===t},W.isForwardRef=function(s){return e(s)===u},W.isFragment=function(s){return e(s)===n},W.isLazy=function(s){return e(s)===p},W.isMemo=function(s){return e(s)===h},W.isPortal=function(s){return e(s)===r},W.isProfiler=function(s){return e(s)===i},W.isStrictMode=function(s){return e(s)===o},W.isSuspense=function(s){return e(s)===f},W.isSuspenseList=function(s){return e(s)===m},W.isValidElementType=function(s){return typeof s=="string"||typeof s=="function"||s===n||s===i||s===o||s===f||s===m||typeof s=="object"&&s!==null&&(s.$$typeof===p||s.$$typeof===h||s.$$typeof===l||s.$$typeof===c||s.$$typeof===u||s.$$typeof===b||s.getModuleId!==void 0)},W.typeOf=e}()),W}var Qt;function an(){return Qt||(Qt=1,process.env.NODE_ENV==="production"?He.exports=nn():He.exports=on()),He.exports}var Qe=an();function ge(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 xr(e){if(pe.isValidElement(e)||Qe.isValidElementType(e)||!ge(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=xr(e[r])}),t}function ce(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return ge(e)&&ge(t)&&Object.keys(t).forEach(o=>{pe.isValidElement(t[o])||Qe.isValidElementType(t[o])?n[o]=t[o]:ge(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&ge(e[o])?n[o]=ce(e[o],t[o],r):r.clone?n[o]=ge(t[o])?xr(t[o]):t[o]:n[o]=t[o]}),n}function Le(e,t){return t?ce(e,t,{clone:!1}):e}const Ee=process.env.NODE_ENV!=="production"?L.oneOfType([L.number,L.string,L.object,L.array]):{};function Jt(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var c,l;const i=/min-width:\s*([0-9.]+)/;return+(((c=n.match(i))==null?void 0:c[1])||0)-+(((l=o.match(i))==null?void 0:l[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function sn(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function cn(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\`.`:Se(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function ln(e){const t=(i,c)=>i.replace("@media",c?`@container ${c}`:"@container");function r(i,c){i.up=(...l)=>t(e.breakpoints.up(...l),c),i.down=(...l)=>t(e.breakpoints.down(...l),c),i.between=(...l)=>t(e.breakpoints.between(...l),c),i.only=(...l)=>t(e.breakpoints.only(...l),c),i.not=(...l)=>{const u=t(e.breakpoints.not(...l),c);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const et={xs:0,sm:600,md:900,lg:1200,xl:1536},Xt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${et[e]}px)`},un={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:et[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function be(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Xt;return t.reduce((c,l,u)=>(c[i.up(i.keys[u])]=r(t[u]),c),{})}if(typeof t=="object"){const i=n.breakpoints||Xt;return Object.keys(t).reduce((c,l)=>{if(sn(i.keys,l)){const u=cn(n.containerQueries?n:un,l);u&&(c[u]=r(t[l],l))}else if(Object.keys(i.values||et).includes(l)){const u=i.up(l);c[u]=r(t[l],l)}else{const u=l;c[u]=t[u]}return c},{})}return r(t)}function fn(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}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 tt(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 Je(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=tt(e,r)||n,t&&(o=t(o,n,e)),o}function ee(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=c=>{if(c[t]==null)return null;const l=c[t],u=c.theme,f=tt(u,n)||{};return be(c,l,h=>{let p=Je(f,o,h);return h===p&&typeof h=="string"&&(p=Je(f,o,`${t}${h==="default"?"":we(h)}`,h)),r===!1?p:{[r]:p}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Ee}:{},i.filterProps=[t],i}function dn(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const mn={m:"margin",p:"padding"},pn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},er={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},hn=dn(e=>{if(e.length>2)if(er[e])e=er[e];else return[e];const[t,r]=e.split(""),n=mn[t],o=pn[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),rt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],nt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],gn=[...rt,...nt];function ze(e,t,r,n){const o=tt(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 c=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(c)?c>o.length-1&&console.error([`MUI: The value provided (${c}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${c} > ${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 l=o[c];return i>=0?l:typeof l=="number"?-l:typeof l=="string"&&l.startsWith("var(")?`calc(-1 * ${l})`:`-${l}`}: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 wt(e){return ze(e,"spacing",8,"spacing")}function Fe(e,t){return typeof t=="string"||t==null?t:e(t)}function yn(e,t){return r=>e.reduce((n,o)=>(n[o]=Fe(t,r),n),{})}function bn(e,t,r,n){if(!t.includes(r))return null;const o=hn(r),i=yn(o,n),c=e[r];return be(e,c,i)}function Or(e,t){const r=wt(e.theme);return Object.keys(e).map(n=>bn(e,t,n,r)).reduce(Le,{})}function X(e){return Or(e,rt)}X.propTypes=process.env.NODE_ENV!=="production"?rt.reduce((e,t)=>(e[t]=Ee,e),{}):{};X.filterProps=rt;function Z(e){return Or(e,nt)}Z.propTypes=process.env.NODE_ENV!=="production"?nt.reduce((e,t)=>(e[t]=Ee,e),{}):{};Z.filterProps=nt;process.env.NODE_ENV!=="production"&&gn.reduce((e,t)=>(e[t]=Ee,e),{});function ot(...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]?Le(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 ee({prop:e,themeKey:"borders",transform:t})}const vn=fe("border",ue),Sn=fe("borderTop",ue),Cn=fe("borderRight",ue),En=fe("borderBottom",ue),Tn=fe("borderLeft",ue),xn=fe("borderColor"),On=fe("borderTopColor"),wn=fe("borderRightColor"),$n=fe("borderBottomColor"),_n=fe("borderLeftColor"),An=fe("outline",ue),kn=fe("outlineColor"),it=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ze(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Fe(t,n)});return be(e,e.borderRadius,r)}return null};it.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ee}:{};it.filterProps=["borderRadius"];ot(vn,Sn,Cn,En,Tn,xn,On,wn,$n,_n,it,An,kn);const at=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ze(e.theme,"spacing",8,"gap"),r=n=>({gap:Fe(t,n)});return be(e,e.gap,r)}return null};at.propTypes=process.env.NODE_ENV!=="production"?{gap:Ee}:{};at.filterProps=["gap"];const st=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ze(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Fe(t,n)});return be(e,e.columnGap,r)}return null};st.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ee}:{};st.filterProps=["columnGap"];const ct=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ze(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Fe(t,n)});return be(e,e.rowGap,r)}return null};ct.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ee}:{};ct.filterProps=["rowGap"];const In=ee({prop:"gridColumn"}),Rn=ee({prop:"gridRow"}),Pn=ee({prop:"gridAutoFlow"}),Mn=ee({prop:"gridAutoColumns"}),jn=ee({prop:"gridAutoRows"}),Nn=ee({prop:"gridTemplateColumns"}),Bn=ee({prop:"gridTemplateRows"}),Dn=ee({prop:"gridTemplateAreas"}),Ln=ee({prop:"gridArea"});ot(at,st,ct,In,Rn,Pn,Mn,jn,Nn,Bn,Dn,Ln);function Pe(e,t){return t==="grey"?t:e}const Vn=ee({prop:"color",themeKey:"palette",transform:Pe}),zn=ee({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Pe}),Fn=ee({prop:"backgroundColor",themeKey:"palette",transform:Pe});ot(Vn,zn,Fn);function se(e){return e<=1&&e!==0?`${e*100}%`:e}const Un=ee({prop:"width",transform:se}),$t=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,c,l,u;const n=((c=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:c[r])||et[r];return n?((u=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:se(r)}};return be(e,e.maxWidth,t)}return null};$t.filterProps=["maxWidth"];const Yn=ee({prop:"minWidth",transform:se}),Wn=ee({prop:"height",transform:se}),Hn=ee({prop:"maxHeight",transform:se}),qn=ee({prop:"minHeight",transform:se});ee({prop:"size",cssProperty:"width",transform:se});ee({prop:"size",cssProperty:"height",transform:se});const Gn=ee({prop:"boxSizing"});ot(Un,$t,Yn,Wn,Hn,qn,Gn);const lt={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:it},color:{themeKey:"palette",transform:Pe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Pe},backgroundColor:{themeKey:"palette",transform:Pe},p:{style:Z},pt:{style:Z},pr:{style:Z},pb:{style:Z},pl:{style:Z},px:{style:Z},py:{style:Z},padding:{style:Z},paddingTop:{style:Z},paddingRight:{style:Z},paddingBottom:{style:Z},paddingLeft:{style:Z},paddingX:{style:Z},paddingY:{style:Z},paddingInline:{style:Z},paddingInlineStart:{style:Z},paddingInlineEnd:{style:Z},paddingBlock:{style:Z},paddingBlockStart:{style:Z},paddingBlockEnd:{style:Z},m:{style:X},mt:{style:X},mr:{style:X},mb:{style:X},ml:{style:X},mx:{style:X},my:{style:X},margin:{style:X},marginTop:{style:X},marginRight:{style:X},marginBottom:{style:X},marginLeft:{style:X},marginX:{style:X},marginY:{style:X},marginInline:{style:X},marginInlineStart:{style:X},marginInlineEnd:{style:X},marginBlock:{style:X},marginBlockStart:{style:X},marginBlockEnd:{style:X},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:at},rowGap:{style:ct},columnGap:{style:st},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:$t},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 Kn(...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 Qn(e,t){return typeof e=="function"?e(t):e}function Jn(){function e(r,n,o,i){const c={[r]:n,theme:o},l=i[r];if(!l)return{[r]:n};const{cssProperty:u=r,themeKey:f,transform:m,style:h}=l;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const p=tt(o,f)||{};return h?h(c):be(c,n,b=>{let s=Je(p,m,b);return b===s&&typeof b=="string"&&(s=Je(p,m,`${r}${b==="default"?"":we(b)}`,b)),u===!1?s:{[u]:s}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const c=o.unstable_sxConfig??lt;function l(u){let f=u;if(typeof u=="function")f=u(o);else if(typeof u!="object")return u;if(!f)return null;const m=fn(o.breakpoints),h=Object.keys(m);let p=m;return Object.keys(f).forEach(C=>{const b=Qn(f[C],o);if(b!=null)if(typeof b=="object")if(c[C])p=Le(p,e(C,b,o,c));else{const s=be({theme:o},b,T=>({[C]:T}));Kn(s,b)?p[C]=t({sx:b,theme:o,nested:!0}):p=Le(p,s)}else p=Le(p,e(C,b,o,c))}),!i&&o.modularCssLayers?{"@layer sx":Jt(o,Zt(h,p))}:Jt(o,Zt(h,p))}return Array.isArray(n)?n.map(l):l(n)}return t}const Me=Jn();Me.filterProps=["sx"];function Xn(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 Zn={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 eo(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var to=/[A-Z]|^ms/g,ro=/_EMO_([^_]+?)_([^]*?)_EMO_/g,wr=function(t){return t.charCodeAt(1)===45},tr=function(t){return t!=null&&typeof t!="boolean"},yt=eo(function(e){return wr(e)?e:e.replace(to,"-$&").toLowerCase()}),rr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(ro,function(n,o,i){return ve={name:o,styles:i,next:ve},o})}return Zn[t]!==1&&!wr(t)&&typeof r=="number"&&r!==0?r+"px":r};function Xe(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 ve={name:o.name,styles:o.styles,next:ve},o.name;var i=r;if(i.styles!==void 0){var c=i.next;if(c!==void 0)for(;c!==void 0;)ve={name:c.name,styles:c.styles,next:ve},c=c.next;var l=i.styles+";";return l}return no(e,t,r)}}var u=r;return u}function no(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Xe(e,t,r[o])+";";else for(var i in r){var c=r[i];if(typeof c!="object"){var l=c;tr(l)&&(n+=yt(i)+":"+rr(i,l)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&t==null)for(var u=0;u<c.length;u++)tr(c[u])&&(n+=yt(i)+":"+rr(i,c[u])+";");else{var f=Xe(e,t,c);switch(i){case"animation":case"animationName":{n+=yt(i)+":"+f+";";break}default:n+=i+"{"+f+"}"}}}return n}var nr=/label:\s*([^\s;{]+)\s*(;|$)/g,ve;function oo(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="";ve=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Xe(r,t,i);else{var c=i;o+=c[0]}for(var l=1;l<e.length;l++)if(o+=Xe(r,t,e[l]),n){var u=i;o+=u[l]}nr.lastIndex=0;for(var f="",m;(m=nr.exec(o))!==null;)f+="-"+m[1];var h=Xn(o)+f;return{name:h,styles:o,next:ve}}/**
* @mui/styled-engine v7.2.0
*
* @license MIT
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/function io(e,t){const r=Fr(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 ao(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const or=[];function Oe(e){return or[0]=e,oo(or)}const so=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 co(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=so(t),c=Object.keys(i);function l(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function u(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function f(p,C){const b=c.indexOf(C);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(b!==-1&&typeof t[c[b]]=="number"?t[c[b]]:C)-n/100}${r})`}function m(p){return c.indexOf(p)+1<c.length?f(p,c[c.indexOf(p)+1]):l(p)}function h(p){const C=c.indexOf(p);return C===0?l(c[1]):C===c.length-1?u(c[C]):f(p,c[c.indexOf(p)+1]).replace("@media","@media not all and")}return{keys:c,values:i,up:l,down:u,between:f,only:m,not:h,unit:r,...o}}const lo={borderRadius:4};function $r(e=8,t=wt({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 c=t(i);return typeof c=="number"?`${c}px`:c}).join(" "));return r.mui=!0,r}function uo(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function _t(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...c}=e,l=co(r),u=$r(o);let f=ce({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...lo,...i}},c);return f=ln(f),f.applyStyles=uo,f=t.reduce((m,h)=>ce(m,h),f),f.unstable_sxConfig={...lt,...c==null?void 0:c.unstable_sxConfig},f.unstable_sx=function(h){return Me({sx:h,theme:this})},f}function fo(e){return Object.keys(e).length===0}function mo(e=null){const t=pe.useContext(Ur.ThemeContext);return!t||fo(t)?e:t}const po=_t();function ho(e=po){return mo(e)}const go={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 At(e,t,r="Mui"){const n=go[t];return n?`${r}-${n}`:`${Hr.generate(e)}-${t}`}function yo(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=At(e,o,r)}),n}function _r(e,t=""){return e.displayName||e.name||t}function ir(e,t,r){const n=_r(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function bo(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return _r(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Qe.ForwardRef:return ir(e,e.render,"ForwardRef");case Qe.Memo:return ir(e,e.type,"memo");default:return}}}function Ar(e){const{variants:t,...r}=e,n={variants:t,style:Oe(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Oe(o.style))}),n}const vo=_t();function bt(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function xe(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function So(e){return e?(t,r)=>r[e]:null}function Co(e,t,r){e.theme=Oo(e.theme)?r:e.theme[t]||e.theme}function Ke(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>Ke(e,o,r));if(Array.isArray(n==null?void 0:n.variants)){let o;if(n.isProcessed)o=r?xe(n.style,r):n.style;else{const{variants:i,...c}=n;o=r?xe(Oe(c),r):c}return kr(e,n.variants,[o],r)}return n!=null&&n.isProcessed?r?xe(Oe(n.style),r):n.style:r?xe(Oe(n),r):n}function kr(e,t,r=[],n=void 0){var i;let o;e:for(let c=0;c<t.length;c+=1){const l=t[c];if(typeof l.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!l.props(o))continue}else for(const u in l.props)if(e[u]!==l.props[u]&&((i=e.ownerState)==null?void 0:i[u])!==l.props[u])continue e;typeof l.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),r.push(n?xe(Oe(l.style(o)),n):l.style(o))):r.push(n?xe(Oe(l.style),n):l.style)}return r}function Eo(e={}){const{themeId:t,defaultTheme:r=vo,rootShouldForwardProp:n=bt,slotShouldForwardProp:o=bt}=e;function i(l){Co(l,t,r)}return(l,u={})=>{ao(l,V=>V.filter(G=>G!==Me));const{name:f,slot:m,skipVariantsResolver:h,skipSx:p,overridesResolver:C=So(Ir(m)),...b}=u,s=f&&f.startsWith("Mui")||m?"components":"custom",T=h!==void 0?h:m&&m!=="Root"&&m!=="root"||!1,$=p||!1;let J=bt;m==="Root"||m==="root"?J=n:m?J=o:wo(l)&&(J=void 0);const w=io(l,{shouldForwardProp:J,label:xo(f,m),...b}),O=V=>{if(V.__emotion_real===V)return V;if(typeof V=="function")return function(ne){return Ke(ne,V,ne.theme.modularCssLayers?s:void 0)};if(ge(V)){const G=Ar(V);return function(K){return G.variants?Ke(K,G,K.theme.modularCssLayers?s:void 0):K.theme.modularCssLayers?xe(G.style,s):G.style}}return V},g=(...V)=>{const G=[],ne=V.map(O),K=[];if(G.push(i),f&&C&&K.push(function(j){var ae,Te;const re=(Te=(ae=j.theme.components)==null?void 0:ae[f])==null?void 0:Te.styleOverrides;if(!re)return null;const oe={};for(const $e in re)oe[$e]=Ke(j,re[$e],j.theme.modularCssLayers?"theme":void 0);return C(j,oe)}),f&&!T&&K.push(function(j){var oe,ae;const te=j.theme,re=(ae=(oe=te==null?void 0:te.components)==null?void 0:oe[f])==null?void 0:ae.variants;return re?kr(j,re,[],j.theme.modularCssLayers?"theme":void 0):null}),$||K.push(Me),Array.isArray(ne[0])){const I=ne.shift(),j=new Array(G.length).fill(""),te=new Array(K.length).fill("");let re;re=[...j,...I,...te],re.raw=[...j,...I.raw,...te],G.unshift(re)}const a=[...G,...ne,...K],x=w(...a);return l.muiName&&(x.muiName=l.muiName),process.env.NODE_ENV!=="production"&&(x.displayName=To(f,m,l)),x};return w.withConfig&&(g.withConfig=w.withConfig),g}}function To(e,t,r){return e?`${e}${we(t||"")}`:`Styled(${bo(r)})`}function xo(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${Ir(t||"Root")}`),r}function Oo(e){for(const t in e)return!1;return!0}function wo(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ir(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 c=e[i],l=t[i];if(!l)n[i]=c||{};else if(!c)n[i]=l;else{n[i]={...l};for(const u in c)if(Object.prototype.hasOwnProperty.call(c,u)){const f=u;n[i][f]=Et(c[f],l[f],r)}}}else i==="className"&&r&&t.className?n.className=Tr(e==null?void 0:e.className,t==null?void 0:t.className):i==="style"&&r&&t.style?n.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:n[i]===void 0&&(n[i]=e[i])}return n}function $o(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function kt(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 _o(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 Ce(e){if(e.type)return e;if(e.charAt(0)==="#")return Ce(_o(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().`:Se(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.`:Se(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Ao=e=>{const t=Ce(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Be=(e,t)=>{try{return Ao(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function ut(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=Ce(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),c=(f,m=(f+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let l="rgb";const u=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return e.type==="hsla"&&(l+="a",u.push(t[3])),ut({type:l,values:u})}function Tt(e){e=Ce(e);let t=e.type==="hsl"||e.type==="hsla"?Ce(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 ko(e,t){return e=Ce(e),t=kt(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ut(e)}function qe(e,t,r){try{return ko(e,t)}catch{return e}}function It(e,t){if(e=Ce(e),t=kt(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 ut(e)}function H(e,t,r){try{return It(e,t)}catch{return e}}function Rt(e,t){if(e=Ce(e),t=kt(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 ut(e)}function q(e,t,r){try{return Rt(e,t)}catch{return e}}function Io(e,t=.15){return Tt(e)>.5?It(e,t):Rt(e,t)}function Ge(e,t,r){try{return Io(e,t)}catch{return e}}const Ro=pe.createContext(void 0);process.env.NODE_ENV!=="production"&&(L.node,L.object);