@opengov/form-renderer 0.0.25 → 0.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib.umd.cjs CHANGED
@@ -1,4 +1,4 @@
1
- (function(me,Re){typeof exports=="object"&&typeof module<"u"?Re(exports,require("react"),require("@mui/material"),require("@opengov/capital-mui-theme"),require("react-hook-form"),require("@mui/x-date-pickers")):typeof define=="function"&&define.amd?define(["exports","react","@mui/material","@opengov/capital-mui-theme","react-hook-form","@mui/x-date-pickers"],Re):(me=typeof globalThis<"u"?globalThis:me||self,Re(me.Lib={},me.React,me.MaterialUI,me.CapitalMuiTheme,me.ReactHookForm,me.MuiDatePickers))})(this,function(me,Re,ie,rt,nt,Tn){"use strict";var yd=Object.defineProperty;var gd=(me,Re,ie)=>Re in me?yd(me,Re,{enumerable:!0,configurable:!0,writable:!0,value:ie}):me[Re]=ie;var R=(me,Re,ie)=>gd(me,typeof Re!="symbol"?Re+"":Re,ie);function Ao(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const se=Ao(Re);function $o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xt={exports:{}},Pt={};/**
1
+ (function(ge,Me){typeof exports=="object"&&typeof module<"u"?Me(exports,require("react"),require("@mui/material"),require("@opengov/capital-mui-theme"),require("react-hook-form"),require("@mui/x-date-pickers")):typeof define=="function"&&define.amd?define(["exports","react","@mui/material","@opengov/capital-mui-theme","react-hook-form","@mui/x-date-pickers"],Me):(ge=typeof globalThis<"u"?globalThis:ge||self,Me(ge.Lib={},ge.React,ge.MaterialUI,ge.CapitalMuiTheme,ge.ReactHookForm,ge.MuiDatePickers))})(this,function(ge,Me,oe,Je,ot,En){"use strict";var Td=Object.defineProperty;var Ed=(ge,Me,oe)=>Me in ge?Td(ge,Me,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ge[Me]=oe;var R=(ge,Me,oe)=>Ed(ge,typeof Me!="symbol"?Me+"":Me,oe);function Fo(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const ue=Fo(Me);function Sn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xt={exports:{}},Pt={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var En;function Io(){if(En)return Pt;En=1;var e=Re,r=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(s,l,d){var h,m={},p=null,v=null;d!==void 0&&(p=""+d),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(v=l.ref);for(h in l)n.call(l,h)&&!o.hasOwnProperty(h)&&(m[h]=l[h]);if(s&&s.defaultProps)for(h in l=s.defaultProps,l)m[h]===void 0&&(m[h]=l[h]);return{$$typeof:r,type:s,key:p,ref:v,props:m,_owner:a.current}}return Pt.Fragment=t,Pt.jsx=i,Pt.jsxs=i,Pt}var _t={};/**
9
+ */var On;function jo(){if(On)return Pt;On=1;var e=Me,r=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(s,l,d){var h,m={},y=null,T=null;d!==void 0&&(y=""+d),l.key!==void 0&&(y=""+l.key),l.ref!==void 0&&(T=l.ref);for(h in l)n.call(l,h)&&!o.hasOwnProperty(h)&&(m[h]=l[h]);if(s&&s.defaultProps)for(h in l=s.defaultProps,l)m[h]===void 0&&(m[h]=l[h]);return{$$typeof:r,type:s,key:y,ref:T,props:m,_owner:a.current}}return Pt.Fragment=t,Pt.jsx=i,Pt.jsxs=i,Pt}var _t={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,20 +14,20 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Sn;function No(){return Sn||(Sn=1,process.env.NODE_ENV!=="production"&&function(){var e=Re,r=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),g=Symbol.iterator,u="@@iterator";function w(f){if(f===null||typeof f!="object")return null;var x=g&&f[g]||f[u];return typeof x=="function"?x:null}var T=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(f){{for(var x=arguments.length,_=new Array(x>1?x-1:0),W=1;W<x;W++)_[W-1]=arguments[W];S("error",f,_)}}function S(f,x,_){{var W=T.ReactDebugCurrentFrame,oe=W.getStackAddendum();oe!==""&&(x+="%s",_=_.concat([oe]));var he=_.map(function(J){return String(J)});he.unshift("Warning: "+x),Function.prototype.apply.call(console[f],console,he)}}var O=!1,b=!1,N=!1,$=!1,A=!1,Y;Y=Symbol.for("react.module.reference");function c(f){return!!(typeof f=="string"||typeof f=="function"||f===n||f===o||A||f===a||f===d||f===h||$||f===v||O||b||N||typeof f=="object"&&f!==null&&(f.$$typeof===p||f.$$typeof===m||f.$$typeof===i||f.$$typeof===s||f.$$typeof===l||f.$$typeof===Y||f.getModuleId!==void 0))}function k(f,x,_){var W=f.displayName;if(W)return W;var oe=x.displayName||x.name||"";return oe!==""?_+"("+oe+")":_}function F(f){return f.displayName||"Context"}function L(f){if(f==null)return null;if(typeof f.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case n:return"Fragment";case t:return"Portal";case o:return"Profiler";case a:return"StrictMode";case d:return"Suspense";case h:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case s:var x=f;return F(x)+".Consumer";case i:var _=f;return F(_._context)+".Provider";case l:return k(f,f.render,"ForwardRef");case m:var W=f.displayName||null;return W!==null?W:L(f.type)||"Memo";case p:{var oe=f,he=oe._payload,J=oe._init;try{return L(J(he))}catch{return null}}}return null}var Q=Object.assign,Te=0,pe,Ee,Le,St,E,D,z;function V(){}V.__reactDisabledLog=!0;function B(){{if(Te===0){pe=console.log,Ee=console.info,Le=console.warn,St=console.error,E=console.group,D=console.groupCollapsed,z=console.groupEnd;var f={configurable:!0,enumerable:!0,value:V,writable:!0};Object.defineProperties(console,{info:f,log:f,warn:f,error:f,group:f,groupCollapsed:f,groupEnd:f})}Te++}}function K(){{if(Te--,Te===0){var f={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Q({},f,{value:pe}),info:Q({},f,{value:Ee}),warn:Q({},f,{value:Le}),error:Q({},f,{value:St}),group:Q({},f,{value:E}),groupCollapsed:Q({},f,{value:D}),groupEnd:Q({},f,{value:z})})}Te<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var q=T.ReactCurrentDispatcher,H;function U(f,x,_){{if(H===void 0)try{throw Error()}catch(oe){var W=oe.stack.trim().match(/\n( *(at )?)/);H=W&&W[1]||""}return`
18
- `+H+f}}var Z=!1,G;{var Ae=typeof WeakMap=="function"?WeakMap:Map;G=new Ae}function P(f,x){if(!f||Z)return"";{var _=G.get(f);if(_!==void 0)return _}var W;Z=!0;var oe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var he;he=q.current,q.current=null,B();try{if(x){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(Ne){W=Ne}Reflect.construct(f,[],J)}else{try{J.call()}catch(Ne){W=Ne}f.call(J.prototype)}}else{try{throw Error()}catch(Ne){W=Ne}f()}}catch(Ne){if(Ne&&W&&typeof Ne.stack=="string"){for(var X=Ne.stack.split(`
19
- `),$e=W.stack.split(`
20
- `),ke=X.length-1,_e=$e.length-1;ke>=1&&_e>=0&&X[ke]!==$e[_e];)_e--;for(;ke>=1&&_e>=0;ke--,_e--)if(X[ke]!==$e[_e]){if(ke!==1||_e!==1)do if(ke--,_e--,_e<0||X[ke]!==$e[_e]){var He=`
21
- `+X[ke].replace(" at new "," at ");return f.displayName&&He.includes("<anonymous>")&&(He=He.replace("<anonymous>",f.displayName)),typeof f=="function"&&G.set(f,He),He}while(ke>=1&&_e>=0);break}}}finally{Z=!1,q.current=he,K(),Error.prepareStackTrace=oe}var kt=f?f.displayName||f.name:"",ft=kt?U(kt):"";return typeof f=="function"&&G.set(f,ft),ft}function qe(f,x,_){return P(f,!1)}function Ct(f){var x=f.prototype;return!!(x&&x.isReactComponent)}function lt(f,x,_){if(f==null)return"";if(typeof f=="function")return P(f,Ct(f));if(typeof f=="string")return U(f);switch(f){case d:return U("Suspense");case h:return U("SuspenseList")}if(typeof f=="object")switch(f.$$typeof){case l:return qe(f.render);case m:return lt(f.type,x,_);case p:{var W=f,oe=W._payload,he=W._init;try{return lt(he(oe),x,_)}catch{}}}return""}var Gt=Object.prototype.hasOwnProperty,vo={},xo=T.ReactDebugCurrentFrame;function _r(f){if(f){var x=f._owner,_=lt(f.type,f._source,x?x.type:null);xo.setExtraStackFrame(_)}else xo.setExtraStackFrame(null)}function Gf(f,x,_,W,oe){{var he=Function.call.bind(Gt);for(var J in f)if(he(f,J)){var X=void 0;try{if(typeof f[J]!="function"){var $e=Error((W||"React class")+": "+_+" type `"+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof f[J]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw $e.name="Invariant Violation",$e}X=f[J](x,J,W,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ke){X=ke}X&&!(X instanceof Error)&&(_r(oe),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",W||"React class",_,J,typeof X),_r(null)),X instanceof Error&&!(X.message in vo)&&(vo[X.message]=!0,_r(oe),C("Failed %s type: %s",_,X.message),_r(null))}}}var Qf=Array.isArray;function yn(f){return Qf(f)}function Xf(f){{var x=typeof Symbol=="function"&&Symbol.toStringTag,_=x&&f[Symbol.toStringTag]||f.constructor.name||"Object";return _}}function Kf(f){try{return To(f),!1}catch{return!0}}function To(f){return""+f}function Eo(f){if(Kf(f))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Xf(f)),To(f)}var Qt=T.ReactCurrentOwner,Jf={key:!0,ref:!0,__self:!0,__source:!0},So,Co,gn;gn={};function Zf(f){if(Gt.call(f,"ref")){var x=Object.getOwnPropertyDescriptor(f,"ref").get;if(x&&x.isReactWarning)return!1}return f.ref!==void 0}function ed(f){if(Gt.call(f,"key")){var x=Object.getOwnPropertyDescriptor(f,"key").get;if(x&&x.isReactWarning)return!1}return f.key!==void 0}function td(f,x){if(typeof f.ref=="string"&&Qt.current&&x&&Qt.current.stateNode!==x){var _=L(Qt.current.type);gn[_]||(C('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',L(Qt.current.type),f.ref),gn[_]=!0)}}function rd(f,x){{var _=function(){So||(So=!0,C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",x))};_.isReactWarning=!0,Object.defineProperty(f,"key",{get:_,configurable:!0})}}function nd(f,x){{var _=function(){Co||(Co=!0,C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",x))};_.isReactWarning=!0,Object.defineProperty(f,"ref",{get:_,configurable:!0})}}var ad=function(f,x,_,W,oe,he,J){var X={$$typeof:r,type:f,key:x,ref:_,props:J,_owner:he};return X._store={},Object.defineProperty(X._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(X,"_self",{configurable:!1,enumerable:!1,writable:!1,value:W}),Object.defineProperty(X,"_source",{configurable:!1,enumerable:!1,writable:!1,value:oe}),Object.freeze&&(Object.freeze(X.props),Object.freeze(X)),X};function od(f,x,_,W,oe){{var he,J={},X=null,$e=null;_!==void 0&&(Eo(_),X=""+_),ed(x)&&(Eo(x.key),X=""+x.key),Zf(x)&&($e=x.ref,td(x,oe));for(he in x)Gt.call(x,he)&&!Jf.hasOwnProperty(he)&&(J[he]=x[he]);if(f&&f.defaultProps){var ke=f.defaultProps;for(he in ke)J[he]===void 0&&(J[he]=ke[he])}if(X||$e){var _e=typeof f=="function"?f.displayName||f.name||"Unknown":f;X&&rd(J,_e),$e&&nd(J,_e)}return ad(f,X,$e,oe,W,Qt.current,J)}}var bn=T.ReactCurrentOwner,Oo=T.ReactDebugCurrentFrame;function Ot(f){if(f){var x=f._owner,_=lt(f.type,f._source,x?x.type:null);Oo.setExtraStackFrame(_)}else Oo.setExtraStackFrame(null)}var wn;wn=!1;function vn(f){return typeof f=="object"&&f!==null&&f.$$typeof===r}function ko(){{if(bn.current){var f=L(bn.current.type);if(f)return`
17
+ */var Cn;function Yo(){return Cn||(Cn=1,process.env.NODE_ENV!=="production"&&function(){var e=Me,r=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen"),p=Symbol.iterator,u="@@iterator";function w(f){if(f===null||typeof f!="object")return null;var S=p&&f[p]||f[u];return typeof S=="function"?S:null}var b=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(f){{for(var S=arguments.length,M=new Array(S>1?S-1:0),q=1;q<S;q++)M[q-1]=arguments[q];O("error",f,M)}}function O(f,S,M){{var q=b.ReactDebugCurrentFrame,ce=q.getStackAddendum();ce!==""&&(S+="%s",M=M.concat([ce]));var ye=M.map(function(Z){return String(Z)});ye.unshift("Warning: "+S),Function.prototype.apply.call(console[f],console,ye)}}var C=!1,v=!1,$=!1,A=!1,D=!1,j;j=Symbol.for("react.module.reference");function c(f){return!!(typeof f=="string"||typeof f=="function"||f===n||f===o||D||f===a||f===d||f===h||A||f===T||C||v||$||typeof f=="object"&&f!==null&&(f.$$typeof===y||f.$$typeof===m||f.$$typeof===i||f.$$typeof===s||f.$$typeof===l||f.$$typeof===j||f.getModuleId!==void 0))}function k(f,S,M){var q=f.displayName;if(q)return q;var ce=S.displayName||S.name||"";return ce!==""?M+"("+ce+")":M}function I(f){return f.displayName||"Context"}function L(f){if(f==null)return null;if(typeof f.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case n:return"Fragment";case t:return"Portal";case o:return"Profiler";case a:return"StrictMode";case d:return"Suspense";case h:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case s:var S=f;return I(S)+".Consumer";case i:var M=f;return I(M._context)+".Provider";case l:return k(f,f.render,"ForwardRef");case m:var q=f.displayName||null;return q!==null?q:L(f.type)||"Memo";case y:{var ce=f,ye=ce._payload,Z=ce._init;try{return L(Z(ye))}catch{return null}}}return null}var G=Object.assign,ee=0,te,he,ke,qe,E,_,H;function z(){}z.__reactDisabledLog=!0;function B(){{if(ee===0){te=console.log,he=console.info,ke=console.warn,qe=console.error,E=console.group,_=console.groupCollapsed,H=console.groupEnd;var f={configurable:!0,enumerable:!0,value:z,writable:!0};Object.defineProperties(console,{info:f,log:f,warn:f,error:f,group:f,groupCollapsed:f,groupEnd:f})}ee++}}function U(){{if(ee--,ee===0){var f={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:G({},f,{value:te}),info:G({},f,{value:he}),warn:G({},f,{value:ke}),error:G({},f,{value:qe}),group:G({},f,{value:E}),groupCollapsed:G({},f,{value:_}),groupEnd:G({},f,{value:H})})}ee<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var V=b.ReactCurrentDispatcher,F;function Q(f,S,M){{if(F===void 0)try{throw Error()}catch(ce){var q=ce.stack.trim().match(/\n( *(at )?)/);F=q&&q[1]||""}return`
18
+ `+F+f}}var K=!1,X;{var Pe=typeof WeakMap=="function"?WeakMap:Map;X=new Pe}function P(f,S){if(!f||K)return"";{var M=X.get(f);if(M!==void 0)return M}var q;K=!0;var ce=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ye;ye=V.current,V.current=null,B();try{if(S){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(je){q=je}Reflect.construct(f,[],Z)}else{try{Z.call()}catch(je){q=je}f.call(Z.prototype)}}else{try{throw Error()}catch(je){q=je}f()}}catch(je){if(je&&q&&typeof je.stack=="string"){for(var J=je.stack.split(`
19
+ `),Ne=q.stack.split(`
20
+ `),_e=J.length-1,De=Ne.length-1;_e>=1&&De>=0&&J[_e]!==Ne[De];)De--;for(;_e>=1&&De>=0;_e--,De--)if(J[_e]!==Ne[De]){if(_e!==1||De!==1)do if(_e--,De--,De<0||J[_e]!==Ne[De]){var Ve=`
21
+ `+J[_e].replace(" at new "," at ");return f.displayName&&Ve.includes("<anonymous>")&&(Ve=Ve.replace("<anonymous>",f.displayName)),typeof f=="function"&&X.set(f,Ve),Ve}while(_e>=1&&De>=0);break}}}finally{K=!1,V.current=ye,U(),Error.prepareStackTrace=ce}var kt=f?f.displayName||f.name:"",ht=kt?Q(kt):"";return typeof f=="function"&&X.set(f,ht),ht}function Ie(f,S,M){return P(f,!1)}function at(f){var S=f.prototype;return!!(S&&S.isReactComponent)}function dt(f,S,M){if(f==null)return"";if(typeof f=="function")return P(f,at(f));if(typeof f=="string")return Q(f);switch(f){case d:return Q("Suspense");case h:return Q("SuspenseList")}if(typeof f=="object")switch(f.$$typeof){case l:return Ie(f.render);case m:return dt(f.type,S,M);case y:{var q=f,ce=q._payload,ye=q._init;try{return dt(ye(ce),S,M)}catch{}}}return""}var Gt=Object.prototype.hasOwnProperty,So={},Oo=b.ReactDebugCurrentFrame;function _r(f){if(f){var S=f._owner,M=dt(f.type,f._source,S?S.type:null);Oo.setExtraStackFrame(M)}else Oo.setExtraStackFrame(null)}function ed(f,S,M,q,ce){{var ye=Function.call.bind(Gt);for(var Z in f)if(ye(f,Z)){var J=void 0;try{if(typeof f[Z]!="function"){var Ne=Error((q||"React class")+": "+M+" type `"+Z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof f[Z]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ne.name="Invariant Violation",Ne}J=f[Z](S,Z,q,M,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_e){J=_e}J&&!(J instanceof Error)&&(_r(ce),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",q||"React class",M,Z,typeof J),_r(null)),J instanceof Error&&!(J.message in So)&&(So[J.message]=!0,_r(ce),x("Failed %s type: %s",M,J.message),_r(null))}}}var td=Array.isArray;function gn(f){return td(f)}function rd(f){{var S=typeof Symbol=="function"&&Symbol.toStringTag,M=S&&f[Symbol.toStringTag]||f.constructor.name||"Object";return M}}function nd(f){try{return Co(f),!1}catch{return!0}}function Co(f){return""+f}function ko(f){if(nd(f))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",rd(f)),Co(f)}var Qt=b.ReactCurrentOwner,ad={key:!0,ref:!0,__self:!0,__source:!0},Po,_o,bn;bn={};function od(f){if(Gt.call(f,"ref")){var S=Object.getOwnPropertyDescriptor(f,"ref").get;if(S&&S.isReactWarning)return!1}return f.ref!==void 0}function id(f){if(Gt.call(f,"key")){var S=Object.getOwnPropertyDescriptor(f,"key").get;if(S&&S.isReactWarning)return!1}return f.key!==void 0}function sd(f,S){if(typeof f.ref=="string"&&Qt.current&&S&&Qt.current.stateNode!==S){var M=L(Qt.current.type);bn[M]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',L(Qt.current.type),f.ref),bn[M]=!0)}}function cd(f,S){{var M=function(){Po||(Po=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",S))};M.isReactWarning=!0,Object.defineProperty(f,"key",{get:M,configurable:!0})}}function ud(f,S){{var M=function(){_o||(_o=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",S))};M.isReactWarning=!0,Object.defineProperty(f,"ref",{get:M,configurable:!0})}}var ld=function(f,S,M,q,ce,ye,Z){var J={$$typeof:r,type:f,key:S,ref:M,props:Z,_owner:ye};return J._store={},Object.defineProperty(J._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(J,"_self",{configurable:!1,enumerable:!1,writable:!1,value:q}),Object.defineProperty(J,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ce}),Object.freeze&&(Object.freeze(J.props),Object.freeze(J)),J};function fd(f,S,M,q,ce){{var ye,Z={},J=null,Ne=null;M!==void 0&&(ko(M),J=""+M),id(S)&&(ko(S.key),J=""+S.key),od(S)&&(Ne=S.ref,sd(S,ce));for(ye in S)Gt.call(S,ye)&&!ad.hasOwnProperty(ye)&&(Z[ye]=S[ye]);if(f&&f.defaultProps){var _e=f.defaultProps;for(ye in _e)Z[ye]===void 0&&(Z[ye]=_e[ye])}if(J||Ne){var De=typeof f=="function"?f.displayName||f.name||"Unknown":f;J&&cd(Z,De),Ne&&ud(Z,De)}return ld(f,J,Ne,ce,q,Qt.current,Z)}}var vn=b.ReactCurrentOwner,Mo=b.ReactDebugCurrentFrame;function Ct(f){if(f){var S=f._owner,M=dt(f.type,f._source,S?S.type:null);Mo.setExtraStackFrame(M)}else Mo.setExtraStackFrame(null)}var wn;wn=!1;function xn(f){return typeof f=="object"&&f!==null&&f.$$typeof===r}function Ro(){{if(vn.current){var f=L(vn.current.type);if(f)return`
22
22
 
23
- Check the render method of \``+f+"`."}return""}}function id(f){return""}var Po={};function sd(f){{var x=ko();if(!x){var _=typeof f=="string"?f:f.displayName||f.name;_&&(x=`
23
+ Check the render method of \``+f+"`."}return""}}function dd(f){return""}var Do={};function hd(f){{var S=Ro();if(!S){var M=typeof f=="string"?f:f.displayName||f.name;M&&(S=`
24
24
 
25
- Check the top-level render call using <`+_+">.")}return x}}function _o(f,x){{if(!f._store||f._store.validated||f.key!=null)return;f._store.validated=!0;var _=sd(x);if(Po[_])return;Po[_]=!0;var W="";f&&f._owner&&f._owner!==bn.current&&(W=" It was passed a child from "+L(f._owner.type)+"."),Ot(f),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,W),Ot(null)}}function Ro(f,x){{if(typeof f!="object")return;if(yn(f))for(var _=0;_<f.length;_++){var W=f[_];vn(W)&&_o(W,x)}else if(vn(f))f._store&&(f._store.validated=!0);else if(f){var oe=w(f);if(typeof oe=="function"&&oe!==f.entries)for(var he=oe.call(f),J;!(J=he.next()).done;)vn(J.value)&&_o(J.value,x)}}}function cd(f){{var x=f.type;if(x==null||typeof x=="string")return;var _;if(typeof x=="function")_=x.propTypes;else if(typeof x=="object"&&(x.$$typeof===l||x.$$typeof===m))_=x.propTypes;else return;if(_){var W=L(x);Gf(_,f.props,"prop",W,f)}else if(x.PropTypes!==void 0&&!wn){wn=!0;var oe=L(x);C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",oe||"Unknown")}typeof x.getDefaultProps=="function"&&!x.getDefaultProps.isReactClassApproved&&C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ud(f){{for(var x=Object.keys(f.props),_=0;_<x.length;_++){var W=x[_];if(W!=="children"&&W!=="key"){Ot(f),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",W),Ot(null);break}}f.ref!==null&&(Ot(f),C("Invalid attribute `ref` supplied to `React.Fragment`."),Ot(null))}}var Do={};function Mo(f,x,_,W,oe,he){{var J=c(f);if(!J){var X="";(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(X+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var $e=id();$e?X+=$e:X+=ko();var ke;f===null?ke="null":yn(f)?ke="array":f!==void 0&&f.$$typeof===r?(ke="<"+(L(f.type)||"Unknown")+" />",X=" Did you accidentally export a JSX literal instead of a component?"):ke=typeof f,C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ke,X)}var _e=od(f,x,_,oe,he);if(_e==null)return _e;if(J){var He=x.children;if(He!==void 0)if(W)if(yn(He)){for(var kt=0;kt<He.length;kt++)Ro(He[kt],f);Object.freeze&&Object.freeze(He)}else C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ro(He,f)}if(Gt.call(x,"key")){var ft=L(f),Ne=Object.keys(x).filter(function(pd){return pd!=="key"}),xn=Ne.length>0?"{key: someKey, "+Ne.join(": ..., ")+": ...}":"{key: someKey}";if(!Do[ft+xn]){var md=Ne.length>0?"{"+Ne.join(": ..., ")+": ...}":"{}";C(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+M+">.")}return S}}function Ao(f,S){{if(!f._store||f._store.validated||f.key!=null)return;f._store.validated=!0;var M=hd(S);if(Do[M])return;Do[M]=!0;var q="";f&&f._owner&&f._owner!==vn.current&&(q=" It was passed a child from "+L(f._owner.type)+"."),Ct(f),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',M,q),Ct(null)}}function $o(f,S){{if(typeof f!="object")return;if(gn(f))for(var M=0;M<f.length;M++){var q=f[M];xn(q)&&Ao(q,S)}else if(xn(f))f._store&&(f._store.validated=!0);else if(f){var ce=w(f);if(typeof ce=="function"&&ce!==f.entries)for(var ye=ce.call(f),Z;!(Z=ye.next()).done;)xn(Z.value)&&Ao(Z.value,S)}}}function md(f){{var S=f.type;if(S==null||typeof S=="string")return;var M;if(typeof S=="function")M=S.propTypes;else if(typeof S=="object"&&(S.$$typeof===l||S.$$typeof===m))M=S.propTypes;else return;if(M){var q=L(S);ed(M,f.props,"prop",q,f)}else if(S.PropTypes!==void 0&&!wn){wn=!0;var ce=L(S);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ce||"Unknown")}typeof S.getDefaultProps=="function"&&!S.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function pd(f){{for(var S=Object.keys(f.props),M=0;M<S.length;M++){var q=S[M];if(q!=="children"&&q!=="key"){Ct(f),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",q),Ct(null);break}}f.ref!==null&&(Ct(f),x("Invalid attribute `ref` supplied to `React.Fragment`."),Ct(null))}}var Io={};function No(f,S,M,q,ce,ye){{var Z=c(f);if(!Z){var J="";(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(J+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ne=dd();Ne?J+=Ne:J+=Ro();var _e;f===null?_e="null":gn(f)?_e="array":f!==void 0&&f.$$typeof===r?(_e="<"+(L(f.type)||"Unknown")+" />",J=" Did you accidentally export a JSX literal instead of a component?"):_e=typeof f,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_e,J)}var De=fd(f,S,M,ce,ye);if(De==null)return De;if(Z){var Ve=S.children;if(Ve!==void 0)if(q)if(gn(Ve)){for(var kt=0;kt<Ve.length;kt++)$o(Ve[kt],f);Object.freeze&&Object.freeze(Ve)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $o(Ve,f)}if(Gt.call(S,"key")){var ht=L(f),je=Object.keys(S).filter(function(xd){return xd!=="key"}),Tn=je.length>0?"{key: someKey, "+je.join(": ..., ")+": ...}":"{key: someKey}";if(!Io[ht+Tn]){var wd=je.length>0?"{"+je.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,xn,ft,md,ft),Do[ft+xn]=!0}}return f===n?ud(_e):cd(_e),_e}}function ld(f,x,_){return Mo(f,x,_,!0)}function fd(f,x,_){return Mo(f,x,_,!1)}var dd=fd,hd=ld;_t.Fragment=n,_t.jsx=dd,_t.jsxs=hd}()),_t}var Cn;function Fo(){return Cn||(Cn=1,process.env.NODE_ENV==="production"?Xt.exports=Io():Xt.exports=No()),Xt.exports}var j=Fo();const On=Re.createContext(void 0),Yo=({children:e,layout:r={}})=>j.jsx(On.Provider,{value:{layout:r},children:e}),Kt=()=>{const e=Re.useContext(On);if(!e)throw new Error("useFormLayout must be used within a FormLayoutProvider");return e.layout};function jo({name:e,label:r,sx:t={},disabled:n,rules:a={},...o}){const{field:i,fieldState:{error:s}}=nt.useController({name:e,rules:a}),d={...Kt(),...t};return j.jsx(ie.Box,{sx:d,children:j.jsxs(ie.FormControl,{error:!!s,component:"fieldset",children:[j.jsx(ie.FormControlLabel,{control:j.jsx(ie.Checkbox,{...i,checked:i.value,...o,disabled:n}),label:j.jsx(ie.FormLabel,{sx:{fontWeight:500,color:rt.capitalDesignTokens.foundations.colors.gray1000},children:r})}),j.jsx(ie.FormHelperText,{children:!!s&&s.message})]})})}function Lo({name:e,rules:r={},sx:t={},...n}){const{field:a,fieldState:{error:o}}=nt.useController({name:e,rules:r});return j.jsx(ie.Box,{sx:t,children:j.jsx(Tn.DatePicker,{...a,value:new Date(a.value),...n,sx:{width:"100%"},slotProps:{textField:{helperText:!!o&&o.message,error:!!o}}})})}function kn({name:e,label:r,rules:t={},sx:n={},...a}){const{field:o,fieldState:{error:i}}=nt.useController({name:e,rules:t}),l={...Kt(),...n};return j.jsx(ie.Box,{sx:l,children:j.jsx(ie.TextField,{...o,label:r,fullWidth:!0,...a,error:!!i,helperText:!!i&&i.message,onChange:d=>o.onChange(a.type==="number"?parseFloat(d.target.value):d.target.value)})})}function Wo(e){return j.jsx(kn,{...e,type:"number"})}var Jt={exports:{}},ue={};/**
30
+ <%s key={someKey} {...props} />`,Tn,ht,wd,ht),Io[ht+Tn]=!0}}return f===n?pd(De):md(De),De}}function yd(f,S,M){return No(f,S,M,!0)}function gd(f,S,M){return No(f,S,M,!1)}var bd=gd,vd=yd;_t.Fragment=n,_t.jsx=bd,_t.jsxs=vd}()),_t}var kn;function Lo(){return kn||(kn=1,process.env.NODE_ENV==="production"?Xt.exports=jo():Xt.exports=Yo()),Xt.exports}var W=Lo();const Pn=Me.createContext(void 0),Wo=({children:e,layout:r={}})=>W.jsx(Pn.Provider,{value:{layout:r},children:e}),Kt=()=>{const e=Me.useContext(Pn);if(!e)throw new Error("useFormLayout must be used within a FormLayoutProvider");return e.layout};function Bo({name:e,label:r,sx:t={},disabled:n,rules:a={},...o}){const{field:i,fieldState:{error:s}}=ot.useController({name:e,rules:a}),d={...Kt(),...t};return W.jsx(oe.Box,{sx:d,children:W.jsxs(oe.FormControl,{error:!!s,component:"fieldset",children:[W.jsx(oe.FormControlLabel,{control:W.jsx(oe.Checkbox,{...i,checked:i.value,...o,disabled:n}),label:W.jsx(oe.FormLabel,{sx:{fontWeight:500,color:Je.capitalDesignTokens.foundations.colors.gray1000},children:r})}),W.jsx(oe.FormHelperText,{children:!!s&&s.message})]})})}function Ho({name:e,rules:r={},sx:t={},...n}){const{field:a,fieldState:{error:o}}=ot.useController({name:e,rules:r});return W.jsx(oe.Box,{sx:t,children:W.jsx(En.DatePicker,{...a,value:new Date(a.value),...n,sx:{width:"100%"},slotProps:{textField:{helperText:!!o&&o.message,error:!!o}}})})}function _n({name:e,label:r,rules:t={},sx:n={},...a}){const{field:o,fieldState:{error:i}}=ot.useController({name:e,rules:t}),l={...Kt(),...n};return W.jsx(oe.Box,{sx:l,children:W.jsx(oe.TextField,{...o,label:r,fullWidth:!0,...a,error:!!i,helperText:!!i&&i.message,onChange:d=>o.onChange(a.type==="number"?parseFloat(d.target.value):d.target.value)})})}function Vo(e){return W.jsx(_n,{...e,type:"number"})}var Jt={exports:{}},fe={};/**
31
31
  * @license React
32
32
  * react-is.production.js
33
33
  *
@@ -35,7 +35,7 @@ React keys must be passed directly to JSX without using spread:
35
35
  *
36
36
  * This source code is licensed under the MIT license found in the
37
37
  * LICENSE file in the root directory of this source tree.
38
- */var Pn;function Bo(){if(Pn)return ue;Pn=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),v=Symbol.for("react.client.reference");function g(u){if(typeof u=="object"&&u!==null){var w=u.$$typeof;switch(w){case e:switch(u=u.type,u){case t:case a:case n:case l:case d:return u;default:switch(u=u&&u.$$typeof,u){case i:case s:case m:case h:return u;case o:return u;default:return w}}case r:return w}}}return ue.ContextConsumer=o,ue.ContextProvider=i,ue.Element=e,ue.ForwardRef=s,ue.Fragment=t,ue.Lazy=m,ue.Memo=h,ue.Portal=r,ue.Profiler=a,ue.StrictMode=n,ue.Suspense=l,ue.SuspenseList=d,ue.isContextConsumer=function(u){return g(u)===o},ue.isContextProvider=function(u){return g(u)===i},ue.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===e},ue.isForwardRef=function(u){return g(u)===s},ue.isFragment=function(u){return g(u)===t},ue.isLazy=function(u){return g(u)===m},ue.isMemo=function(u){return g(u)===h},ue.isPortal=function(u){return g(u)===r},ue.isProfiler=function(u){return g(u)===a},ue.isStrictMode=function(u){return g(u)===n},ue.isSuspense=function(u){return g(u)===l},ue.isSuspenseList=function(u){return g(u)===d},ue.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===t||u===a||u===n||u===l||u===d||u===p||typeof u=="object"&&u!==null&&(u.$$typeof===m||u.$$typeof===h||u.$$typeof===i||u.$$typeof===o||u.$$typeof===s||u.$$typeof===v||u.getModuleId!==void 0)},ue.typeOf=g,ue}var le={};/**
38
+ */var Mn;function qo(){if(Mn)return fe;Mn=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),T=Symbol.for("react.client.reference");function p(u){if(typeof u=="object"&&u!==null){var w=u.$$typeof;switch(w){case e:switch(u=u.type,u){case t:case a:case n:case l:case d:return u;default:switch(u=u&&u.$$typeof,u){case i:case s:case m:case h:return u;case o:return u;default:return w}}case r:return w}}}return fe.ContextConsumer=o,fe.ContextProvider=i,fe.Element=e,fe.ForwardRef=s,fe.Fragment=t,fe.Lazy=m,fe.Memo=h,fe.Portal=r,fe.Profiler=a,fe.StrictMode=n,fe.Suspense=l,fe.SuspenseList=d,fe.isContextConsumer=function(u){return p(u)===o},fe.isContextProvider=function(u){return p(u)===i},fe.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===e},fe.isForwardRef=function(u){return p(u)===s},fe.isFragment=function(u){return p(u)===t},fe.isLazy=function(u){return p(u)===m},fe.isMemo=function(u){return p(u)===h},fe.isPortal=function(u){return p(u)===r},fe.isProfiler=function(u){return p(u)===a},fe.isStrictMode=function(u){return p(u)===n},fe.isSuspense=function(u){return p(u)===l},fe.isSuspenseList=function(u){return p(u)===d},fe.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===t||u===a||u===n||u===l||u===d||u===y||typeof u=="object"&&u!==null&&(u.$$typeof===m||u.$$typeof===h||u.$$typeof===i||u.$$typeof===o||u.$$typeof===s||u.$$typeof===T||u.getModuleId!==void 0)},fe.typeOf=p,fe}var de={};/**
39
39
  * @license React
40
40
  * react-is.development.js
41
41
  *
@@ -43,41 +43,41 @@ React keys must be passed directly to JSX without using spread:
43
43
  *
44
44
  * This source code is licensed under the MIT license found in the
45
45
  * LICENSE file in the root directory of this source tree.
46
- */var _n;function qo(){return _n||(_n=1,process.env.NODE_ENV!=="production"&&function(){function e(u){if(typeof u=="object"&&u!==null){var w=u.$$typeof;switch(w){case r:switch(u=u.type,u){case n:case o:case a:case d:case h:return u;default:switch(u=u&&u.$$typeof,u){case s:case l:case p:case m:return u;case i:return u;default:return w}}case t:return w}}}var r=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),g=Symbol.for("react.client.reference");le.ContextConsumer=i,le.ContextProvider=s,le.Element=r,le.ForwardRef=l,le.Fragment=n,le.Lazy=p,le.Memo=m,le.Portal=t,le.Profiler=o,le.StrictMode=a,le.Suspense=d,le.SuspenseList=h,le.isContextConsumer=function(u){return e(u)===i},le.isContextProvider=function(u){return e(u)===s},le.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===r},le.isForwardRef=function(u){return e(u)===l},le.isFragment=function(u){return e(u)===n},le.isLazy=function(u){return e(u)===p},le.isMemo=function(u){return e(u)===m},le.isPortal=function(u){return e(u)===t},le.isProfiler=function(u){return e(u)===o},le.isStrictMode=function(u){return e(u)===a},le.isSuspense=function(u){return e(u)===d},le.isSuspenseList=function(u){return e(u)===h},le.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===n||u===o||u===a||u===d||u===h||u===v||typeof u=="object"&&u!==null&&(u.$$typeof===p||u.$$typeof===m||u.$$typeof===s||u.$$typeof===i||u.$$typeof===l||u.$$typeof===g||u.getModuleId!==void 0)},le.typeOf=e}()),le}var Rn;function Ho(){return Rn||(Rn=1,process.env.NODE_ENV==="production"?Jt.exports=Bo():Jt.exports=qo()),Jt.exports}var Zt=Ho();function Ke(e){if(typeof e!="object"||e===null)return!1;const r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Dn(e){if(se.isValidElement(e)||Zt.isValidElementType(e)||!Ke(e))return e;const r={};return Object.keys(e).forEach(t=>{r[t]=Dn(e[t])}),r}function Fe(e,r,t={clone:!0}){const n=t.clone?{...e}:e;return Ke(e)&&Ke(r)&&Object.keys(r).forEach(a=>{se.isValidElement(r[a])||Zt.isValidElementType(r[a])?n[a]=r[a]:Ke(r[a])&&Object.prototype.hasOwnProperty.call(e,a)&&Ke(e[a])?n[a]=Fe(e[a],r[a],t):t.clone?n[a]=Ke(r[a])?Dn(r[a]):r[a]:n[a]=r[a]}),n}var er={exports:{}},tr={exports:{}},ne={};/** @license React v16.13.1
46
+ */var Rn;function zo(){return Rn||(Rn=1,process.env.NODE_ENV!=="production"&&function(){function e(u){if(typeof u=="object"&&u!==null){var w=u.$$typeof;switch(w){case r:switch(u=u.type,u){case n:case o:case a:case d:case h:return u;default:switch(u=u&&u.$$typeof,u){case s:case l:case y:case m:return u;case i:return u;default:return w}}case t:return w}}}var r=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen"),p=Symbol.for("react.client.reference");de.ContextConsumer=i,de.ContextProvider=s,de.Element=r,de.ForwardRef=l,de.Fragment=n,de.Lazy=y,de.Memo=m,de.Portal=t,de.Profiler=o,de.StrictMode=a,de.Suspense=d,de.SuspenseList=h,de.isContextConsumer=function(u){return e(u)===i},de.isContextProvider=function(u){return e(u)===s},de.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===r},de.isForwardRef=function(u){return e(u)===l},de.isFragment=function(u){return e(u)===n},de.isLazy=function(u){return e(u)===y},de.isMemo=function(u){return e(u)===m},de.isPortal=function(u){return e(u)===t},de.isProfiler=function(u){return e(u)===o},de.isStrictMode=function(u){return e(u)===a},de.isSuspense=function(u){return e(u)===d},de.isSuspenseList=function(u){return e(u)===h},de.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===n||u===o||u===a||u===d||u===h||u===T||typeof u=="object"&&u!==null&&(u.$$typeof===y||u.$$typeof===m||u.$$typeof===s||u.$$typeof===i||u.$$typeof===l||u.$$typeof===p||u.getModuleId!==void 0)},de.typeOf=e}()),de}var Dn;function Uo(){return Dn||(Dn=1,process.env.NODE_ENV==="production"?Jt.exports=qo():Jt.exports=zo()),Jt.exports}var Zt=Uo();function Ze(e){if(typeof e!="object"||e===null)return!1;const r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function An(e){if(ue.isValidElement(e)||Zt.isValidElementType(e)||!Ze(e))return e;const r={};return Object.keys(e).forEach(t=>{r[t]=An(e[t])}),r}function Ye(e,r,t={clone:!0}){const n=t.clone?{...e}:e;return Ze(e)&&Ze(r)&&Object.keys(r).forEach(a=>{ue.isValidElement(r[a])||Zt.isValidElementType(r[a])?n[a]=r[a]:Ze(r[a])&&Object.prototype.hasOwnProperty.call(e,a)&&Ze(e[a])?n[a]=Ye(e[a],r[a],t):t.clone?n[a]=Ze(r[a])?An(r[a]):r[a]:n[a]=r[a]}),n}var er={exports:{}},tr={exports:{}},ie={};/** @license React v16.13.1
47
47
  * react-is.production.min.js
48
48
  *
49
49
  * Copyright (c) Facebook, Inc. and its affiliates.
50
50
  *
51
51
  * This source code is licensed under the MIT license found in the
52
52
  * LICENSE file in the root directory of this source tree.
53
- */var Mn;function Vo(){if(Mn)return ne;Mn=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function S(b){if(typeof b=="object"&&b!==null){var N=b.$$typeof;switch(N){case r:switch(b=b.type,b){case l:case d:case n:case o:case a:case m:return b;default:switch(b=b&&b.$$typeof,b){case s:case h:case g:case v:case i:return b;default:return N}}case t:return N}}}function O(b){return S(b)===d}return ne.AsyncMode=l,ne.ConcurrentMode=d,ne.ContextConsumer=s,ne.ContextProvider=i,ne.Element=r,ne.ForwardRef=h,ne.Fragment=n,ne.Lazy=g,ne.Memo=v,ne.Portal=t,ne.Profiler=o,ne.StrictMode=a,ne.Suspense=m,ne.isAsyncMode=function(b){return O(b)||S(b)===l},ne.isConcurrentMode=O,ne.isContextConsumer=function(b){return S(b)===s},ne.isContextProvider=function(b){return S(b)===i},ne.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===r},ne.isForwardRef=function(b){return S(b)===h},ne.isFragment=function(b){return S(b)===n},ne.isLazy=function(b){return S(b)===g},ne.isMemo=function(b){return S(b)===v},ne.isPortal=function(b){return S(b)===t},ne.isProfiler=function(b){return S(b)===o},ne.isStrictMode=function(b){return S(b)===a},ne.isSuspense=function(b){return S(b)===m},ne.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===d||b===o||b===a||b===m||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===v||b.$$typeof===i||b.$$typeof===s||b.$$typeof===h||b.$$typeof===w||b.$$typeof===T||b.$$typeof===C||b.$$typeof===u)},ne.typeOf=S,ne}var ae={};/** @license React v16.13.1
53
+ */var $n;function Go(){if($n)return ie;$n=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,T=e?Symbol.for("react.memo"):60115,p=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function O(v){if(typeof v=="object"&&v!==null){var $=v.$$typeof;switch($){case r:switch(v=v.type,v){case l:case d:case n:case o:case a:case m:return v;default:switch(v=v&&v.$$typeof,v){case s:case h:case p:case T:case i:return v;default:return $}}case t:return $}}}function C(v){return O(v)===d}return ie.AsyncMode=l,ie.ConcurrentMode=d,ie.ContextConsumer=s,ie.ContextProvider=i,ie.Element=r,ie.ForwardRef=h,ie.Fragment=n,ie.Lazy=p,ie.Memo=T,ie.Portal=t,ie.Profiler=o,ie.StrictMode=a,ie.Suspense=m,ie.isAsyncMode=function(v){return C(v)||O(v)===l},ie.isConcurrentMode=C,ie.isContextConsumer=function(v){return O(v)===s},ie.isContextProvider=function(v){return O(v)===i},ie.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===r},ie.isForwardRef=function(v){return O(v)===h},ie.isFragment=function(v){return O(v)===n},ie.isLazy=function(v){return O(v)===p},ie.isMemo=function(v){return O(v)===T},ie.isPortal=function(v){return O(v)===t},ie.isProfiler=function(v){return O(v)===o},ie.isStrictMode=function(v){return O(v)===a},ie.isSuspense=function(v){return O(v)===m},ie.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===n||v===d||v===o||v===a||v===m||v===y||typeof v=="object"&&v!==null&&(v.$$typeof===p||v.$$typeof===T||v.$$typeof===i||v.$$typeof===s||v.$$typeof===h||v.$$typeof===w||v.$$typeof===b||v.$$typeof===x||v.$$typeof===u)},ie.typeOf=O,ie}var se={};/** @license React v16.13.1
54
54
  * react-is.development.js
55
55
  *
56
56
  * Copyright (c) Facebook, Inc. and its affiliates.
57
57
  *
58
58
  * This source code is licensed under the MIT license found in the
59
59
  * LICENSE file in the root directory of this source tree.
60
- */var An;function zo(){return An||(An=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function S(P){return typeof P=="string"||typeof P=="function"||P===n||P===d||P===o||P===a||P===m||P===p||typeof P=="object"&&P!==null&&(P.$$typeof===g||P.$$typeof===v||P.$$typeof===i||P.$$typeof===s||P.$$typeof===h||P.$$typeof===w||P.$$typeof===T||P.$$typeof===C||P.$$typeof===u)}function O(P){if(typeof P=="object"&&P!==null){var qe=P.$$typeof;switch(qe){case r:var Ct=P.type;switch(Ct){case l:case d:case n:case o:case a:case m:return Ct;default:var lt=Ct&&Ct.$$typeof;switch(lt){case s:case h:case g:case v:case i:return lt;default:return qe}}case t:return qe}}}var b=l,N=d,$=s,A=i,Y=r,c=h,k=n,F=g,L=v,Q=t,Te=o,pe=a,Ee=m,Le=!1;function St(P){return Le||(Le=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),E(P)||O(P)===l}function E(P){return O(P)===d}function D(P){return O(P)===s}function z(P){return O(P)===i}function V(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}function B(P){return O(P)===h}function K(P){return O(P)===n}function q(P){return O(P)===g}function H(P){return O(P)===v}function U(P){return O(P)===t}function Z(P){return O(P)===o}function G(P){return O(P)===a}function Ae(P){return O(P)===m}ae.AsyncMode=b,ae.ConcurrentMode=N,ae.ContextConsumer=$,ae.ContextProvider=A,ae.Element=Y,ae.ForwardRef=c,ae.Fragment=k,ae.Lazy=F,ae.Memo=L,ae.Portal=Q,ae.Profiler=Te,ae.StrictMode=pe,ae.Suspense=Ee,ae.isAsyncMode=St,ae.isConcurrentMode=E,ae.isContextConsumer=D,ae.isContextProvider=z,ae.isElement=V,ae.isForwardRef=B,ae.isFragment=K,ae.isLazy=q,ae.isMemo=H,ae.isPortal=U,ae.isProfiler=Z,ae.isStrictMode=G,ae.isSuspense=Ae,ae.isValidElementType=S,ae.typeOf=O}()),ae}var $n;function In(){return $n||($n=1,process.env.NODE_ENV==="production"?tr.exports=Vo():tr.exports=zo()),tr.exports}/*
60
+ */var In;function Qo(){return In||(In=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,T=e?Symbol.for("react.memo"):60115,p=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function O(P){return typeof P=="string"||typeof P=="function"||P===n||P===d||P===o||P===a||P===m||P===y||typeof P=="object"&&P!==null&&(P.$$typeof===p||P.$$typeof===T||P.$$typeof===i||P.$$typeof===s||P.$$typeof===h||P.$$typeof===w||P.$$typeof===b||P.$$typeof===x||P.$$typeof===u)}function C(P){if(typeof P=="object"&&P!==null){var Ie=P.$$typeof;switch(Ie){case r:var at=P.type;switch(at){case l:case d:case n:case o:case a:case m:return at;default:var dt=at&&at.$$typeof;switch(dt){case s:case h:case p:case T:case i:return dt;default:return Ie}}case t:return Ie}}}var v=l,$=d,A=s,D=i,j=r,c=h,k=n,I=p,L=T,G=t,ee=o,te=a,he=m,ke=!1;function qe(P){return ke||(ke=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),E(P)||C(P)===l}function E(P){return C(P)===d}function _(P){return C(P)===s}function H(P){return C(P)===i}function z(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}function B(P){return C(P)===h}function U(P){return C(P)===n}function V(P){return C(P)===p}function F(P){return C(P)===T}function Q(P){return C(P)===t}function K(P){return C(P)===o}function X(P){return C(P)===a}function Pe(P){return C(P)===m}se.AsyncMode=v,se.ConcurrentMode=$,se.ContextConsumer=A,se.ContextProvider=D,se.Element=j,se.ForwardRef=c,se.Fragment=k,se.Lazy=I,se.Memo=L,se.Portal=G,se.Profiler=ee,se.StrictMode=te,se.Suspense=he,se.isAsyncMode=qe,se.isConcurrentMode=E,se.isContextConsumer=_,se.isContextProvider=H,se.isElement=z,se.isForwardRef=B,se.isFragment=U,se.isLazy=V,se.isMemo=F,se.isPortal=Q,se.isProfiler=K,se.isStrictMode=X,se.isSuspense=Pe,se.isValidElementType=O,se.typeOf=C}()),se}var Nn;function Fn(){return Nn||(Nn=1,process.env.NODE_ENV==="production"?tr.exports=Go():tr.exports=Qo()),tr.exports}/*
61
61
  object-assign
62
62
  (c) Sindre Sorhus
63
63
  @license MIT
64
- */var Rr,Nn;function Uo(){if(Nn)return Rr;Nn=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function n(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function a(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var i={},s=0;s<10;s++)i["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(i).map(function(h){return i[h]});if(l.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(h){d[h]=h}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Rr=a()?Object.assign:function(o,i){for(var s,l=n(o),d,h=1;h<arguments.length;h++){s=Object(arguments[h]);for(var m in s)r.call(s,m)&&(l[m]=s[m]);if(e){d=e(s);for(var p=0;p<d.length;p++)t.call(s,d[p])&&(l[d[p]]=s[d[p]])}}return l},Rr}var Dr,Fn;function Mr(){if(Fn)return Dr;Fn=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Dr=e,Dr}var Ar,Yn;function jn(){return Yn||(Yn=1,Ar=Function.call.bind(Object.prototype.hasOwnProperty)),Ar}var $r,Ln;function Go(){if(Ln)return $r;Ln=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=Mr(),t={},n=jn();e=function(o){var i="Warning: "+o;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function a(o,i,s,l,d){if(process.env.NODE_ENV!=="production"){for(var h in o)if(n(o,h)){var m;try{if(typeof o[h]!="function"){var p=Error((l||"React class")+": "+s+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}m=o[h](i,h,l,s,null,r)}catch(g){m=g}if(m&&!(m instanceof Error)&&e((l||"React class")+": type specification of "+s+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof m+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),m instanceof Error&&!(m.message in t)){t[m.message]=!0;var v=d?d():"";e("Failed "+s+" type: "+m.message+(v??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},$r=a,$r}var Ir,Wn;function Qo(){if(Wn)return Ir;Wn=1;var e=In(),r=Uo(),t=Mr(),n=jn(),a=Go(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(s){var l="Warning: "+s;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function i(){return null}return Ir=function(s,l){var d=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function m(E){var D=E&&(d&&E[d]||E[h]);if(typeof D=="function")return D}var p="<<anonymous>>",v={array:T("array"),bigint:T("bigint"),bool:T("boolean"),func:T("function"),number:T("number"),object:T("object"),string:T("string"),symbol:T("symbol"),any:C(),arrayOf:S,element:O(),elementType:b(),instanceOf:N,node:c(),objectOf:A,oneOf:$,oneOfType:Y,shape:F,exact:L};function g(E,D){return E===D?E!==0||1/E===1/D:E!==E&&D!==D}function u(E,D){this.message=E,this.data=D&&typeof D=="object"?D:{},this.stack=""}u.prototype=Error.prototype;function w(E){if(process.env.NODE_ENV!=="production")var D={},z=0;function V(K,q,H,U,Z,G,Ae){if(U=U||p,G=G||H,Ae!==t){if(l){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}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var qe=U+":"+H;!D[qe]&&z<3&&(o("You are manually calling a React.PropTypes validation function for the `"+G+"` prop on `"+U+"`. 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."),D[qe]=!0,z++)}}return q[H]==null?K?q[H]===null?new u("The "+Z+" `"+G+"` is marked as required "+("in `"+U+"`, but its value is `null`.")):new u("The "+Z+" `"+G+"` is marked as required in "+("`"+U+"`, but its value is `undefined`.")):null:E(q,H,U,Z,G)}var B=V.bind(null,!1);return B.isRequired=V.bind(null,!0),B}function T(E){function D(z,V,B,K,q,H){var U=z[V],Z=pe(U);if(Z!==E){var G=Ee(U);return new u("Invalid "+K+" `"+q+"` of type "+("`"+G+"` supplied to `"+B+"`, expected ")+("`"+E+"`."),{expectedType:E})}return null}return w(D)}function C(){return w(i)}function S(E){function D(z,V,B,K,q){if(typeof E!="function")return new u("Property `"+q+"` of component `"+B+"` has invalid PropType notation inside arrayOf.");var H=z[V];if(!Array.isArray(H)){var U=pe(H);return new u("Invalid "+K+" `"+q+"` of type "+("`"+U+"` supplied to `"+B+"`, expected an array."))}for(var Z=0;Z<H.length;Z++){var G=E(H,Z,B,K,q+"["+Z+"]",t);if(G instanceof Error)return G}return null}return w(D)}function O(){function E(D,z,V,B,K){var q=D[z];if(!s(q)){var H=pe(q);return new u("Invalid "+B+" `"+K+"` of type "+("`"+H+"` supplied to `"+V+"`, expected a single ReactElement."))}return null}return w(E)}function b(){function E(D,z,V,B,K){var q=D[z];if(!e.isValidElementType(q)){var H=pe(q);return new u("Invalid "+B+" `"+K+"` of type "+("`"+H+"` supplied to `"+V+"`, expected a single ReactElement type."))}return null}return w(E)}function N(E){function D(z,V,B,K,q){if(!(z[V]instanceof E)){var H=E.name||p,U=St(z[V]);return new u("Invalid "+K+" `"+q+"` of type "+("`"+U+"` supplied to `"+B+"`, expected ")+("instance of `"+H+"`."))}return null}return w(D)}function $(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("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])."):o("Invalid argument supplied to oneOf, expected an array.")),i;function D(z,V,B,K,q){for(var H=z[V],U=0;U<E.length;U++)if(g(H,E[U]))return null;var Z=JSON.stringify(E,function(Ae,P){var qe=Ee(P);return qe==="symbol"?String(P):P});return new u("Invalid "+K+" `"+q+"` of value `"+String(H)+"` "+("supplied to `"+B+"`, expected one of "+Z+"."))}return w(D)}function A(E){function D(z,V,B,K,q){if(typeof E!="function")return new u("Property `"+q+"` of component `"+B+"` has invalid PropType notation inside objectOf.");var H=z[V],U=pe(H);if(U!=="object")return new u("Invalid "+K+" `"+q+"` of type "+("`"+U+"` supplied to `"+B+"`, expected an object."));for(var Z in H)if(n(H,Z)){var G=E(H,Z,B,K,q+"."+Z,t);if(G instanceof Error)return G}return null}return w(D)}function Y(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var D=0;D<E.length;D++){var z=E[D];if(typeof z!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Le(z)+" at index "+D+"."),i}function V(B,K,q,H,U){for(var Z=[],G=0;G<E.length;G++){var Ae=E[G],P=Ae(B,K,q,H,U,t);if(P==null)return null;P.data&&n(P.data,"expectedType")&&Z.push(P.data.expectedType)}var qe=Z.length>0?", expected one of type ["+Z.join(", ")+"]":"";return new u("Invalid "+H+" `"+U+"` supplied to "+("`"+q+"`"+qe+"."))}return w(V)}function c(){function E(D,z,V,B,K){return Q(D[z])?null:new u("Invalid "+B+" `"+K+"` supplied to "+("`"+V+"`, expected a ReactNode."))}return w(E)}function k(E,D,z,V,B){return new u((E||"React class")+": "+D+" type `"+z+"."+V+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+B+"`.")}function F(E){function D(z,V,B,K,q){var H=z[V],U=pe(H);if(U!=="object")return new u("Invalid "+K+" `"+q+"` of type `"+U+"` "+("supplied to `"+B+"`, expected `object`."));for(var Z in E){var G=E[Z];if(typeof G!="function")return k(B,K,q,Z,Ee(G));var Ae=G(H,Z,B,K,q+"."+Z,t);if(Ae)return Ae}return null}return w(D)}function L(E){function D(z,V,B,K,q){var H=z[V],U=pe(H);if(U!=="object")return new u("Invalid "+K+" `"+q+"` of type `"+U+"` "+("supplied to `"+B+"`, expected `object`."));var Z=r({},z[V],E);for(var G in Z){var Ae=E[G];if(n(E,G)&&typeof Ae!="function")return k(B,K,q,G,Ee(Ae));if(!Ae)return new u("Invalid "+K+" `"+q+"` key `"+G+"` supplied to `"+B+"`.\nBad object: "+JSON.stringify(z[V],null," ")+`
65
- Valid keys: `+JSON.stringify(Object.keys(E),null," "));var P=Ae(H,G,B,K,q+"."+G,t);if(P)return P}return null}return w(D)}function Q(E){switch(typeof E){case"number":case"string":case"undefined":return!0;case"boolean":return!E;case"object":if(Array.isArray(E))return E.every(Q);if(E===null||s(E))return!0;var D=m(E);if(D){var z=D.call(E),V;if(D!==E.entries){for(;!(V=z.next()).done;)if(!Q(V.value))return!1}else for(;!(V=z.next()).done;){var B=V.value;if(B&&!Q(B[1]))return!1}}else return!1;return!0;default:return!1}}function Te(E,D){return E==="symbol"?!0:D?D["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&D instanceof Symbol:!1}function pe(E){var D=typeof E;return Array.isArray(E)?"array":E instanceof RegExp?"object":Te(D,E)?"symbol":D}function Ee(E){if(typeof E>"u"||E===null)return""+E;var D=pe(E);if(D==="object"){if(E instanceof Date)return"date";if(E instanceof RegExp)return"regexp"}return D}function Le(E){var D=Ee(E);switch(D){case"array":case"object":return"an "+D;case"boolean":case"date":case"regexp":return"a "+D;default:return D}}function St(E){return!E.constructor||!E.constructor.name?p:E.constructor.name}return v.checkPropTypes=a,v.resetWarningCache=a.resetWarningCache,v.PropTypes=v,v},Ir}var Nr,Bn;function Xo(){if(Bn)return Nr;Bn=1;var e=Mr();function r(){}function t(){}return t.resetWarningCache=r,Nr=function(){function n(i,s,l,d,h,m){if(m!==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 a(){return n}var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:a,element:n,elementType:n,instanceOf:a,node:n,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:t,resetWarningCache:r};return o.PropTypes=o,o},Nr}var qn;function Ko(){if(qn)return er.exports;if(qn=1,process.env.NODE_ENV!=="production"){var e=In(),r=!0;er.exports=Qo()(e.isElement,r)}else er.exports=Xo()();return er.exports}var Jo=Ko();const M=$o(Jo);function at(e,...r){const t=new URL(`https://mui.com/production-error/?code=${e}`);return r.forEach(n=>t.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${t} for the full message.`}function Hn(e,r=""){return e.displayName||e.name||r}function Vn(e,r,t){const n=Hn(r);return e.displayName||(n!==""?`${t}(${n})`:t)}function Zo(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Hn(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Zt.ForwardRef:return Vn(e,e.render,"ForwardRef");case Zt.Memo:return Vn(e,e.type,"memo");default:return}}}function Je(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":at(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Fr(e,r){var t,n,a;return se.isValidElement(e)&&r.indexOf(e.type.muiName??((a=(n=(t=e.type)==null?void 0:t._payload)==null?void 0:n.value)==null?void 0:a.muiName))!==-1}function Yr(e,r){const t={...r};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const a=n;if(a==="components"||a==="slots")t[a]={...e[a],...t[a]};else if(a==="componentsProps"||a==="slotProps"){const o=e[a],i=r[a];if(!i)t[a]=o||{};else if(!o)t[a]=i;else{t[a]={...i};for(const s in o)if(Object.prototype.hasOwnProperty.call(o,s)){const l=s;t[a][l]=Yr(o[l],i[l])}}}else t[a]===void 0&&(t[a]=e[a])}return t}function zn(e,r,t=void 0){const n={};for(const a in e){const o=e[a];let i="",s=!0;for(let l=0;l<o.length;l+=1){const d=o[l];d&&(i+=(s===!0?"":" ")+r(d),s=!1,t&&t[d]&&(i+=" "+t[d]))}n[a]=i}return n}const Un=e=>e,ei=(()=>{let e=Un;return{configure(r){e=r},generate(r){return e(r)},reset(){e=Un}}})(),ti={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 rr(e,r,t="Mui"){const n=ti[r];return n?`${t}-${n}`:`${ei.generate(e)}-${r}`}function Gn(e,r,t="Mui"){const n={};return r.forEach(a=>{n[a]=rr(e,a,t)}),n}function ri(e,r=Number.MIN_SAFE_INTEGER,t=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,t))}function Qn(e){var r,t,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=Qn(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Xn(){for(var e,r,t=0,n="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=Qn(e))&&(n&&(n+=" "),n+=r);return n}function Rt(e,r){return r?Fe(e,r,{clone:!1}):e}const ot=process.env.NODE_ENV!=="production"?M.oneOfType([M.number,M.string,M.object,M.array]):{};function ni(e,r){if(!e.containerQueries)return r;const t=Object.keys(r).filter(n=>n.startsWith("@container")).sort((n,a)=>{var i,s;const o=/min-width:\s*([0-9.]+)/;return+(((i=n.match(o))==null?void 0:i[1])||0)-+(((s=a.match(o))==null?void 0:s[1])||0)});return t.length?t.reduce((n,a)=>{const o=r[a];return delete n[a],n[a]=o,n},{...r}):r}function ai(e,r){return r==="@"||r.startsWith("@")&&(e.some(t=>r.startsWith(`@${t}`))||!!r.match(/^@\d/))}function oi(e,r){const t=r.match(/^@([^/]+)?\/?(.+)?$/);if(!t){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
66
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:at(18,`(${r})`));return null}const[,n,a]=t,o=Number.isNaN(+n)?n||0:+n;return e.containerQueries(a).up(o)}function ii(e){const r=(o,i)=>o.replace("@media",i?`@container ${i}`:"@container");function t(o,i){o.up=(...s)=>r(e.breakpoints.up(...s),i),o.down=(...s)=>r(e.breakpoints.down(...s),i),o.between=(...s)=>r(e.breakpoints.between(...s),i),o.only=(...s)=>r(e.breakpoints.only(...s),i),o.not=(...s)=>{const l=r(e.breakpoints.not(...s),i);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const n={},a=o=>(t(n,o),n);return t(a),{...e,containerQueries:a}}const nr={xs:0,sm:600,md:900,lg:1200,xl:1536},Kn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${nr[e]}px)`},si={containerQueries:e=>({up:r=>{let t=typeof r=="number"?r:nr[r]||r;return typeof t=="number"&&(t=`${t}px`),e?`@container ${e} (min-width:${t})`:`@container (min-width:${t})`}})};function Ze(e,r,t){const n=e.theme||{};if(Array.isArray(r)){const o=n.breakpoints||Kn;return r.reduce((i,s,l)=>(i[o.up(o.keys[l])]=t(r[l]),i),{})}if(typeof r=="object"){const o=n.breakpoints||Kn;return Object.keys(r).reduce((i,s)=>{if(ai(o.keys,s)){const l=oi(n.containerQueries?n:si,s);l&&(i[l]=t(r[s],s))}else if(Object.keys(o.values||nr).includes(s)){const l=o.up(s);i[l]=t(r[s],s)}else{const l=s;i[l]=r[l]}return i},{})}return t(r)}function ci(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,a)=>{const o=e.up(a);return n[o]={},n},{}))||{}}function ui(e,r){return e.reduce((t,n)=>{const a=t[n];return(!a||Object.keys(a).length===0)&&delete t[n],t},r)}function ar(e,r,t=!0){if(!r||typeof r!="string")return null;if(e&&e.vars&&t){const n=`vars.${r}`.split(".").reduce((a,o)=>a&&a[o]?a[o]:null,e);if(n!=null)return n}return r.split(".").reduce((n,a)=>n&&n[a]!=null?n[a]:null,e)}function or(e,r,t,n=t){let a;return typeof e=="function"?a=e(t):Array.isArray(e)?a=e[t]||n:a=ar(e,t)||n,r&&(a=r(a,n,e)),a}function Se(e){const{prop:r,cssProperty:t=e.prop,themeKey:n,transform:a}=e,o=i=>{if(i[r]==null)return null;const s=i[r],l=i.theme,d=ar(l,n)||{};return Ze(i,s,m=>{let p=or(d,a,m);return m===p&&typeof m=="string"&&(p=or(d,a,`${r}${m==="default"?"":Je(m)}`,m)),t===!1?p:{[t]:p}})};return o.propTypes=process.env.NODE_ENV!=="production"?{[r]:ot}:{},o.filterProps=[r],o}function li(e){const r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}const fi={m:"margin",p:"padding"},di={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Jn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},hi=li(e=>{if(e.length>2)if(Jn[e])e=Jn[e];else return[e];const[r,t]=e.split(""),n=fi[r],a=di[t]||"";return Array.isArray(a)?a.map(o=>n+o):[n+a]}),ir=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],sr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],mi=[...ir,...sr];function Dt(e,r,t,n){const a=ar(e,r,!0)??t;return typeof a=="number"||typeof a=="string"?o=>typeof o=="string"?o:(process.env.NODE_ENV!=="production"&&typeof o!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${o}.`),typeof a=="string"?`calc(${o} * ${a})`:a*o):Array.isArray(a)?o=>{if(typeof o=="string")return o;const i=Math.abs(o);process.env.NODE_ENV!=="production"&&(Number.isInteger(i)?i>a.length-1&&console.error([`MUI: The value provided (${i}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${i} > ${a.length-1}, you need to add the missing values.`].join(`
64
+ */var Mr,jn;function Xo(){if(jn)return Mr;jn=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function n(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function a(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var i={},s=0;s<10;s++)i["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(i).map(function(h){return i[h]});if(l.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(h){d[h]=h}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Mr=a()?Object.assign:function(o,i){for(var s,l=n(o),d,h=1;h<arguments.length;h++){s=Object(arguments[h]);for(var m in s)r.call(s,m)&&(l[m]=s[m]);if(e){d=e(s);for(var y=0;y<d.length;y++)t.call(s,d[y])&&(l[d[y]]=s[d[y]])}}return l},Mr}var Rr,Yn;function Dr(){if(Yn)return Rr;Yn=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Rr=e,Rr}var Ar,Ln;function Wn(){return Ln||(Ln=1,Ar=Function.call.bind(Object.prototype.hasOwnProperty)),Ar}var $r,Bn;function Ko(){if(Bn)return $r;Bn=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=Dr(),t={},n=Wn();e=function(o){var i="Warning: "+o;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function a(o,i,s,l,d){if(process.env.NODE_ENV!=="production"){for(var h in o)if(n(o,h)){var m;try{if(typeof o[h]!="function"){var y=Error((l||"React class")+": "+s+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}m=o[h](i,h,l,s,null,r)}catch(p){m=p}if(m&&!(m instanceof Error)&&e((l||"React class")+": type specification of "+s+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof m+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),m instanceof Error&&!(m.message in t)){t[m.message]=!0;var T=d?d():"";e("Failed "+s+" type: "+m.message+(T??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},$r=a,$r}var Ir,Hn;function Jo(){if(Hn)return Ir;Hn=1;var e=Fn(),r=Xo(),t=Dr(),n=Wn(),a=Ko(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(s){var l="Warning: "+s;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function i(){return null}return Ir=function(s,l){var d=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function m(E){var _=E&&(d&&E[d]||E[h]);if(typeof _=="function")return _}var y="<<anonymous>>",T={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:x(),arrayOf:O,element:C(),elementType:v(),instanceOf:$,node:c(),objectOf:D,oneOf:A,oneOfType:j,shape:I,exact:L};function p(E,_){return E===_?E!==0||1/E===1/_:E!==E&&_!==_}function u(E,_){this.message=E,this.data=_&&typeof _=="object"?_:{},this.stack=""}u.prototype=Error.prototype;function w(E){if(process.env.NODE_ENV!=="production")var _={},H=0;function z(U,V,F,Q,K,X,Pe){if(Q=Q||y,X=X||F,Pe!==t){if(l){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}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ie=Q+":"+F;!_[Ie]&&H<3&&(o("You are manually calling a React.PropTypes validation function for the `"+X+"` prop on `"+Q+"`. 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."),_[Ie]=!0,H++)}}return V[F]==null?U?V[F]===null?new u("The "+K+" `"+X+"` is marked as required "+("in `"+Q+"`, but its value is `null`.")):new u("The "+K+" `"+X+"` is marked as required in "+("`"+Q+"`, but its value is `undefined`.")):null:E(V,F,Q,K,X)}var B=z.bind(null,!1);return B.isRequired=z.bind(null,!0),B}function b(E){function _(H,z,B,U,V,F){var Q=H[z],K=te(Q);if(K!==E){var X=he(Q);return new u("Invalid "+U+" `"+V+"` of type "+("`"+X+"` supplied to `"+B+"`, expected ")+("`"+E+"`."),{expectedType:E})}return null}return w(_)}function x(){return w(i)}function O(E){function _(H,z,B,U,V){if(typeof E!="function")return new u("Property `"+V+"` of component `"+B+"` has invalid PropType notation inside arrayOf.");var F=H[z];if(!Array.isArray(F)){var Q=te(F);return new u("Invalid "+U+" `"+V+"` of type "+("`"+Q+"` supplied to `"+B+"`, expected an array."))}for(var K=0;K<F.length;K++){var X=E(F,K,B,U,V+"["+K+"]",t);if(X instanceof Error)return X}return null}return w(_)}function C(){function E(_,H,z,B,U){var V=_[H];if(!s(V)){var F=te(V);return new u("Invalid "+B+" `"+U+"` of type "+("`"+F+"` supplied to `"+z+"`, expected a single ReactElement."))}return null}return w(E)}function v(){function E(_,H,z,B,U){var V=_[H];if(!e.isValidElementType(V)){var F=te(V);return new u("Invalid "+B+" `"+U+"` of type "+("`"+F+"` supplied to `"+z+"`, expected a single ReactElement type."))}return null}return w(E)}function $(E){function _(H,z,B,U,V){if(!(H[z]instanceof E)){var F=E.name||y,Q=qe(H[z]);return new u("Invalid "+U+" `"+V+"` of type "+("`"+Q+"` supplied to `"+B+"`, expected ")+("instance of `"+F+"`."))}return null}return w(_)}function A(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("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])."):o("Invalid argument supplied to oneOf, expected an array.")),i;function _(H,z,B,U,V){for(var F=H[z],Q=0;Q<E.length;Q++)if(p(F,E[Q]))return null;var K=JSON.stringify(E,function(Pe,P){var Ie=he(P);return Ie==="symbol"?String(P):P});return new u("Invalid "+U+" `"+V+"` of value `"+String(F)+"` "+("supplied to `"+B+"`, expected one of "+K+"."))}return w(_)}function D(E){function _(H,z,B,U,V){if(typeof E!="function")return new u("Property `"+V+"` of component `"+B+"` has invalid PropType notation inside objectOf.");var F=H[z],Q=te(F);if(Q!=="object")return new u("Invalid "+U+" `"+V+"` of type "+("`"+Q+"` supplied to `"+B+"`, expected an object."));for(var K in F)if(n(F,K)){var X=E(F,K,B,U,V+"."+K,t);if(X instanceof Error)return X}return null}return w(_)}function j(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var _=0;_<E.length;_++){var H=E[_];if(typeof H!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ke(H)+" at index "+_+"."),i}function z(B,U,V,F,Q){for(var K=[],X=0;X<E.length;X++){var Pe=E[X],P=Pe(B,U,V,F,Q,t);if(P==null)return null;P.data&&n(P.data,"expectedType")&&K.push(P.data.expectedType)}var Ie=K.length>0?", expected one of type ["+K.join(", ")+"]":"";return new u("Invalid "+F+" `"+Q+"` supplied to "+("`"+V+"`"+Ie+"."))}return w(z)}function c(){function E(_,H,z,B,U){return G(_[H])?null:new u("Invalid "+B+" `"+U+"` supplied to "+("`"+z+"`, expected a ReactNode."))}return w(E)}function k(E,_,H,z,B){return new u((E||"React class")+": "+_+" type `"+H+"."+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+B+"`.")}function I(E){function _(H,z,B,U,V){var F=H[z],Q=te(F);if(Q!=="object")return new u("Invalid "+U+" `"+V+"` of type `"+Q+"` "+("supplied to `"+B+"`, expected `object`."));for(var K in E){var X=E[K];if(typeof X!="function")return k(B,U,V,K,he(X));var Pe=X(F,K,B,U,V+"."+K,t);if(Pe)return Pe}return null}return w(_)}function L(E){function _(H,z,B,U,V){var F=H[z],Q=te(F);if(Q!=="object")return new u("Invalid "+U+" `"+V+"` of type `"+Q+"` "+("supplied to `"+B+"`, expected `object`."));var K=r({},H[z],E);for(var X in K){var Pe=E[X];if(n(E,X)&&typeof Pe!="function")return k(B,U,V,X,he(Pe));if(!Pe)return new u("Invalid "+U+" `"+V+"` key `"+X+"` supplied to `"+B+"`.\nBad object: "+JSON.stringify(H[z],null," ")+`
65
+ Valid keys: `+JSON.stringify(Object.keys(E),null," "));var P=Pe(F,X,B,U,V+"."+X,t);if(P)return P}return null}return w(_)}function G(E){switch(typeof E){case"number":case"string":case"undefined":return!0;case"boolean":return!E;case"object":if(Array.isArray(E))return E.every(G);if(E===null||s(E))return!0;var _=m(E);if(_){var H=_.call(E),z;if(_!==E.entries){for(;!(z=H.next()).done;)if(!G(z.value))return!1}else for(;!(z=H.next()).done;){var B=z.value;if(B&&!G(B[1]))return!1}}else return!1;return!0;default:return!1}}function ee(E,_){return E==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function te(E){var _=typeof E;return Array.isArray(E)?"array":E instanceof RegExp?"object":ee(_,E)?"symbol":_}function he(E){if(typeof E>"u"||E===null)return""+E;var _=te(E);if(_==="object"){if(E instanceof Date)return"date";if(E instanceof RegExp)return"regexp"}return _}function ke(E){var _=he(E);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function qe(E){return!E.constructor||!E.constructor.name?y:E.constructor.name}return T.checkPropTypes=a,T.resetWarningCache=a.resetWarningCache,T.PropTypes=T,T},Ir}var Nr,Vn;function Zo(){if(Vn)return Nr;Vn=1;var e=Dr();function r(){}function t(){}return t.resetWarningCache=r,Nr=function(){function n(i,s,l,d,h,m){if(m!==e){var y=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 y.name="Invariant Violation",y}}n.isRequired=n;function a(){return n}var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:a,element:n,elementType:n,instanceOf:a,node:n,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:t,resetWarningCache:r};return o.PropTypes=o,o},Nr}var qn;function zn(){if(qn)return er.exports;if(qn=1,process.env.NODE_ENV!=="production"){var e=Fn(),r=!0;er.exports=Jo()(e.isElement,r)}else er.exports=Zo()();return er.exports}var ei=zn();const N=Sn(ei);function it(e,...r){const t=new URL(`https://mui.com/production-error/?code=${e}`);return r.forEach(n=>t.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${t} for the full message.`}function Un(e,r=""){return e.displayName||e.name||r}function Gn(e,r,t){const n=Un(r);return e.displayName||(n!==""?`${t}(${n})`:t)}function ti(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Un(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Zt.ForwardRef:return Gn(e,e.render,"ForwardRef");case Zt.Memo:return Gn(e,e.type,"memo");default:return}}}function et(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":it(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Fr(e,r){var t,n,a;return ue.isValidElement(e)&&r.indexOf(e.type.muiName??((a=(n=(t=e.type)==null?void 0:t._payload)==null?void 0:n.value)==null?void 0:a.muiName))!==-1}function jr(e,r){const t={...r};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const a=n;if(a==="components"||a==="slots")t[a]={...e[a],...t[a]};else if(a==="componentsProps"||a==="slotProps"){const o=e[a],i=r[a];if(!i)t[a]=o||{};else if(!o)t[a]=i;else{t[a]={...i};for(const s in o)if(Object.prototype.hasOwnProperty.call(o,s)){const l=s;t[a][l]=jr(o[l],i[l])}}}else t[a]===void 0&&(t[a]=e[a])}return t}function Qn(e,r,t=void 0){const n={};for(const a in e){const o=e[a];let i="",s=!0;for(let l=0;l<o.length;l+=1){const d=o[l];d&&(i+=(s===!0?"":" ")+r(d),s=!1,t&&t[d]&&(i+=" "+t[d]))}n[a]=i}return n}const Xn=e=>e,ri=(()=>{let e=Xn;return{configure(r){e=r},generate(r){return e(r)},reset(){e=Xn}}})(),ni={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 rr(e,r,t="Mui"){const n=ni[r];return n?`${t}-${n}`:`${ri.generate(e)}-${r}`}function Kn(e,r,t="Mui"){const n={};return r.forEach(a=>{n[a]=rr(e,a,t)}),n}function ai(e,r=Number.MIN_SAFE_INTEGER,t=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,t))}function Jn(e){var r,t,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=Jn(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Zn(){for(var e,r,t=0,n="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=Jn(e))&&(n&&(n+=" "),n+=r);return n}function Mt(e,r){return r?Ye(e,r,{clone:!1}):e}const st=process.env.NODE_ENV!=="production"?N.oneOfType([N.number,N.string,N.object,N.array]):{};function oi(e,r){if(!e.containerQueries)return r;const t=Object.keys(r).filter(n=>n.startsWith("@container")).sort((n,a)=>{var i,s;const o=/min-width:\s*([0-9.]+)/;return+(((i=n.match(o))==null?void 0:i[1])||0)-+(((s=a.match(o))==null?void 0:s[1])||0)});return t.length?t.reduce((n,a)=>{const o=r[a];return delete n[a],n[a]=o,n},{...r}):r}function ii(e,r){return r==="@"||r.startsWith("@")&&(e.some(t=>r.startsWith(`@${t}`))||!!r.match(/^@\d/))}function si(e,r){const t=r.match(/^@([^/]+)?\/?(.+)?$/);if(!t){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
66
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:it(18,`(${r})`));return null}const[,n,a]=t,o=Number.isNaN(+n)?n||0:+n;return e.containerQueries(a).up(o)}function ci(e){const r=(o,i)=>o.replace("@media",i?`@container ${i}`:"@container");function t(o,i){o.up=(...s)=>r(e.breakpoints.up(...s),i),o.down=(...s)=>r(e.breakpoints.down(...s),i),o.between=(...s)=>r(e.breakpoints.between(...s),i),o.only=(...s)=>r(e.breakpoints.only(...s),i),o.not=(...s)=>{const l=r(e.breakpoints.not(...s),i);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const n={},a=o=>(t(n,o),n);return t(a),{...e,containerQueries:a}}const nr={xs:0,sm:600,md:900,lg:1200,xl:1536},ea={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${nr[e]}px)`},ui={containerQueries:e=>({up:r=>{let t=typeof r=="number"?r:nr[r]||r;return typeof t=="number"&&(t=`${t}px`),e?`@container ${e} (min-width:${t})`:`@container (min-width:${t})`}})};function tt(e,r,t){const n=e.theme||{};if(Array.isArray(r)){const o=n.breakpoints||ea;return r.reduce((i,s,l)=>(i[o.up(o.keys[l])]=t(r[l]),i),{})}if(typeof r=="object"){const o=n.breakpoints||ea;return Object.keys(r).reduce((i,s)=>{if(ii(o.keys,s)){const l=si(n.containerQueries?n:ui,s);l&&(i[l]=t(r[s],s))}else if(Object.keys(o.values||nr).includes(s)){const l=o.up(s);i[l]=t(r[s],s)}else{const l=s;i[l]=r[l]}return i},{})}return t(r)}function li(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,a)=>{const o=e.up(a);return n[o]={},n},{}))||{}}function fi(e,r){return e.reduce((t,n)=>{const a=t[n];return(!a||Object.keys(a).length===0)&&delete t[n],t},r)}function ar(e,r,t=!0){if(!r||typeof r!="string")return null;if(e&&e.vars&&t){const n=`vars.${r}`.split(".").reduce((a,o)=>a&&a[o]?a[o]:null,e);if(n!=null)return n}return r.split(".").reduce((n,a)=>n&&n[a]!=null?n[a]:null,e)}function or(e,r,t,n=t){let a;return typeof e=="function"?a=e(t):Array.isArray(e)?a=e[t]||n:a=ar(e,t)||n,r&&(a=r(a,n,e)),a}function Se(e){const{prop:r,cssProperty:t=e.prop,themeKey:n,transform:a}=e,o=i=>{if(i[r]==null)return null;const s=i[r],l=i.theme,d=ar(l,n)||{};return tt(i,s,m=>{let y=or(d,a,m);return m===y&&typeof m=="string"&&(y=or(d,a,`${r}${m==="default"?"":et(m)}`,m)),t===!1?y:{[t]:y}})};return o.propTypes=process.env.NODE_ENV!=="production"?{[r]:st}:{},o.filterProps=[r],o}function di(e){const r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}const hi={m:"margin",p:"padding"},mi={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ta={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},pi=di(e=>{if(e.length>2)if(ta[e])e=ta[e];else return[e];const[r,t]=e.split(""),n=hi[r],a=mi[t]||"";return Array.isArray(a)?a.map(o=>n+o):[n+a]}),ir=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],sr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],yi=[...ir,...sr];function Rt(e,r,t,n){const a=ar(e,r,!0)??t;return typeof a=="number"||typeof a=="string"?o=>typeof o=="string"?o:(process.env.NODE_ENV!=="production"&&typeof o!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${o}.`),typeof a=="string"?`calc(${o} * ${a})`:a*o):Array.isArray(a)?o=>{if(typeof o=="string")return o;const i=Math.abs(o);process.env.NODE_ENV!=="production"&&(Number.isInteger(i)?i>a.length-1&&console.error([`MUI: The value provided (${i}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${i} > ${a.length-1}, you need to add the missing values.`].join(`
67
67
  `)):console.error([`MUI: The \`theme.${r}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${r}\` as a number.`].join(`
68
68
  `)));const s=a[i];return o>=0?s:typeof s=="number"?-s:`-${s}`}:typeof a=="function"?a:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${r}\` value (${a}) is invalid.`,"It should be a number, an array or a function."].join(`
69
- `)),()=>{})}function jr(e){return Dt(e,"spacing",8,"spacing")}function Mt(e,r){return typeof r=="string"||r==null?r:e(r)}function pi(e,r){return t=>e.reduce((n,a)=>(n[a]=Mt(r,t),n),{})}function yi(e,r,t,n){if(!r.includes(t))return null;const a=hi(t),o=pi(a,n),i=e[t];return Ze(e,i,o)}function Zn(e,r){const t=jr(e.theme);return Object.keys(e).map(n=>yi(e,r,n,t)).reduce(Rt,{})}function we(e){return Zn(e,ir)}we.propTypes=process.env.NODE_ENV!=="production"?ir.reduce((e,r)=>(e[r]=ot,e),{}):{},we.filterProps=ir;function ve(e){return Zn(e,sr)}ve.propTypes=process.env.NODE_ENV!=="production"?sr.reduce((e,r)=>(e[r]=ot,e),{}):{},ve.filterProps=sr,process.env.NODE_ENV!=="production"&&mi.reduce((e,r)=>(e[r]=ot,e),{});function cr(...e){const r=e.reduce((n,a)=>(a.filterProps.forEach(o=>{n[o]=a}),n),{}),t=n=>Object.keys(n).reduce((a,o)=>r[o]?Rt(a,r[o](n)):a,{});return t.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,a)=>Object.assign(n,a.propTypes),{}):{},t.filterProps=e.reduce((n,a)=>n.concat(a.filterProps),[]),t}function We(e){return typeof e!="number"?e:`${e}px solid`}function Be(e,r){return Se({prop:e,themeKey:"borders",transform:r})}const gi=Be("border",We),bi=Be("borderTop",We),wi=Be("borderRight",We),vi=Be("borderBottom",We),xi=Be("borderLeft",We),Ti=Be("borderColor"),Ei=Be("borderTopColor"),Si=Be("borderRightColor"),Ci=Be("borderBottomColor"),Oi=Be("borderLeftColor"),ki=Be("outline",We),Pi=Be("outlineColor"),ur=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const r=Dt(e.theme,"shape.borderRadius",4,"borderRadius"),t=n=>({borderRadius:Mt(r,n)});return Ze(e,e.borderRadius,t)}return null};ur.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:ot}:{},ur.filterProps=["borderRadius"],cr(gi,bi,wi,vi,xi,Ti,Ei,Si,Ci,Oi,ur,ki,Pi);const lr=e=>{if(e.gap!==void 0&&e.gap!==null){const r=Dt(e.theme,"spacing",8,"gap"),t=n=>({gap:Mt(r,n)});return Ze(e,e.gap,t)}return null};lr.propTypes=process.env.NODE_ENV!=="production"?{gap:ot}:{},lr.filterProps=["gap"];const fr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const r=Dt(e.theme,"spacing",8,"columnGap"),t=n=>({columnGap:Mt(r,n)});return Ze(e,e.columnGap,t)}return null};fr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:ot}:{},fr.filterProps=["columnGap"];const dr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const r=Dt(e.theme,"spacing",8,"rowGap"),t=n=>({rowGap:Mt(r,n)});return Ze(e,e.rowGap,t)}return null};dr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:ot}:{},dr.filterProps=["rowGap"];const _i=Se({prop:"gridColumn"}),Ri=Se({prop:"gridRow"}),Di=Se({prop:"gridAutoFlow"}),Mi=Se({prop:"gridAutoColumns"}),Ai=Se({prop:"gridAutoRows"}),$i=Se({prop:"gridTemplateColumns"}),Ii=Se({prop:"gridTemplateRows"}),Ni=Se({prop:"gridTemplateAreas"}),Fi=Se({prop:"gridArea"});cr(lr,fr,dr,_i,Ri,Di,Mi,Ai,$i,Ii,Ni,Fi);function dt(e,r){return r==="grey"?r:e}const Yi=Se({prop:"color",themeKey:"palette",transform:dt}),ji=Se({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:dt}),Li=Se({prop:"backgroundColor",themeKey:"palette",transform:dt});cr(Yi,ji,Li);function Ye(e){return e<=1&&e!==0?`${e*100}%`:e}const Wi=Se({prop:"width",transform:Ye}),Lr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=t=>{var a,o,i,s,l;const n=((i=(o=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:o.values)==null?void 0:i[t])||nr[t];return n?((l=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Ye(t)}};return Ze(e,e.maxWidth,r)}return null};Lr.filterProps=["maxWidth"];const Bi=Se({prop:"minWidth",transform:Ye}),qi=Se({prop:"height",transform:Ye}),Hi=Se({prop:"maxHeight",transform:Ye}),Vi=Se({prop:"minHeight",transform:Ye});Se({prop:"size",cssProperty:"width",transform:Ye}),Se({prop:"size",cssProperty:"height",transform:Ye});const zi=Se({prop:"boxSizing"});cr(Wi,Lr,Bi,qi,Hi,Vi,zi);const hr={border:{themeKey:"borders",transform:We},borderTop:{themeKey:"borders",transform:We},borderRight:{themeKey:"borders",transform:We},borderBottom:{themeKey:"borders",transform:We},borderLeft:{themeKey:"borders",transform:We},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:We},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ur},color:{themeKey:"palette",transform:dt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:dt},backgroundColor:{themeKey:"palette",transform:dt},p:{style:ve},pt:{style:ve},pr:{style:ve},pb:{style:ve},pl:{style:ve},px:{style:ve},py:{style:ve},padding:{style:ve},paddingTop:{style:ve},paddingRight:{style:ve},paddingBottom:{style:ve},paddingLeft:{style:ve},paddingX:{style:ve},paddingY:{style:ve},paddingInline:{style:ve},paddingInlineStart:{style:ve},paddingInlineEnd:{style:ve},paddingBlock:{style:ve},paddingBlockStart:{style:ve},paddingBlockEnd:{style:ve},m:{style:we},mt:{style:we},mr:{style:we},mb:{style:we},ml:{style:we},mx:{style:we},my:{style:we},margin:{style:we},marginTop:{style:we},marginRight:{style:we},marginBottom:{style:we},marginLeft:{style:we},marginX:{style:we},marginY:{style:we},marginInline:{style:we},marginInlineStart:{style:we},marginInlineEnd:{style:we},marginBlock:{style:we},marginBlockStart:{style:we},marginBlockEnd:{style:we},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:lr},rowGap:{style:dr},columnGap:{style:fr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ye},maxWidth:{style:Lr},minWidth:{transform:Ye},height:{transform:Ye},maxHeight:{transform:Ye},minHeight:{transform:Ye},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 Ui(...e){const r=e.reduce((n,a)=>n.concat(Object.keys(a)),[]),t=new Set(r);return e.every(n=>t.size===Object.keys(n).length)}function Gi(e,r){return typeof e=="function"?e(r):e}function Qi(){function e(t,n,a,o){const i={[t]:n,theme:a},s=o[t];if(!s)return{[t]:n};const{cssProperty:l=t,themeKey:d,transform:h,style:m}=s;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[t]:n};const p=ar(a,d)||{};return m?m(i):Ze(i,n,g=>{let u=or(p,h,g);return g===u&&typeof g=="string"&&(u=or(p,h,`${t}${g==="default"?"":Je(g)}`,g)),l===!1?u:{[l]:u}})}function r(t){const{sx:n,theme:a={}}=t||{};if(!n)return null;const o=a.unstable_sxConfig??hr;function i(s){let l=s;if(typeof s=="function")l=s(a);else if(typeof s!="object")return s;if(!l)return null;const d=ci(a.breakpoints),h=Object.keys(d);let m=d;return Object.keys(l).forEach(p=>{const v=Gi(l[p],a);if(v!=null)if(typeof v=="object")if(o[p])m=Rt(m,e(p,v,a,o));else{const g=Ze({theme:a},v,u=>({[p]:u}));Ui(g,v)?m[p]=r({sx:v,theme:a}):m=Rt(m,g)}else m=Rt(m,e(p,v,a,o))}),ni(a,ui(h,m))}return Array.isArray(n)?n.map(i):i(n)}return r}const ht=Qi();ht.filterProps=["sx"];function Wr(){return Wr=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Wr.apply(null,arguments)}var Xi=!1;function Ki(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function Ji(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var Zi=function(){function e(t){var n=this;this._insertTag=function(a){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(a,o),n.tags.push(a)},this.isSpeedy=t.speedy===void 0?!Xi:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(n){n.forEach(this._insertTag)},r.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ji(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Ki(a);try{o.insertRule(n,o.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(n));this.ctr++},r.flush=function(){this.tags.forEach(function(n){var a;return(a=n.parentNode)==null?void 0:a.removeChild(n)}),this.tags=[],this.ctr=0},e}(),Me="-ms-",mr="-moz-",ee="-webkit-",ea="comm",Br="rule",qr="decl",es="@import",ta="@keyframes",ts="@layer",rs=Math.abs,pr=String.fromCharCode,ns=Object.assign;function as(e,r){return De(e,0)^45?(((r<<2^De(e,0))<<2^De(e,1))<<2^De(e,2))<<2^De(e,3):0}function ra(e){return e.trim()}function os(e,r){return(e=r.exec(e))?e[0]:e}function te(e,r,t){return e.replace(r,t)}function Hr(e,r){return e.indexOf(r)}function De(e,r){return e.charCodeAt(r)|0}function At(e,r,t){return e.slice(r,t)}function Ve(e){return e.length}function Vr(e){return e.length}function yr(e,r){return r.push(e),e}function is(e,r){return e.map(r).join("")}var gr=1,mt=1,na=0,Ie=0,Pe=0,pt="";function br(e,r,t,n,a,o,i){return{value:e,root:r,parent:t,type:n,props:a,children:o,line:gr,column:mt,length:i,return:""}}function $t(e,r){return ns(br("",null,null,"",null,null,0),e,{length:-e.length},r)}function ss(){return Pe}function cs(){return Pe=Ie>0?De(pt,--Ie):0,mt--,Pe===10&&(mt=1,gr--),Pe}function je(){return Pe=Ie<na?De(pt,Ie++):0,mt++,Pe===10&&(mt=1,gr++),Pe}function ze(){return De(pt,Ie)}function wr(){return Ie}function It(e,r){return At(pt,e,r)}function Nt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function aa(e){return gr=mt=1,na=Ve(pt=e),Ie=0,[]}function oa(e){return pt="",e}function vr(e){return ra(It(Ie-1,zr(e===91?e+2:e===40?e+1:e)))}function us(e){for(;(Pe=ze())&&Pe<33;)je();return Nt(e)>2||Nt(Pe)>3?"":" "}function ls(e,r){for(;--r&&je()&&!(Pe<48||Pe>102||Pe>57&&Pe<65||Pe>70&&Pe<97););return It(e,wr()+(r<6&&ze()==32&&je()==32))}function zr(e){for(;je();)switch(Pe){case e:return Ie;case 34:case 39:e!==34&&e!==39&&zr(Pe);break;case 40:e===41&&zr(e);break;case 92:je();break}return Ie}function fs(e,r){for(;je()&&e+Pe!==57;)if(e+Pe===84&&ze()===47)break;return"/*"+It(r,Ie-1)+"*"+pr(e===47?e:je())}function ds(e){for(;!Nt(ze());)je();return It(e,Ie)}function hs(e){return oa(xr("",null,null,null,[""],e=aa(e),0,[0],e))}function xr(e,r,t,n,a,o,i,s,l){for(var d=0,h=0,m=i,p=0,v=0,g=0,u=1,w=1,T=1,C=0,S="",O=a,b=o,N=n,$=S;w;)switch(g=C,C=je()){case 40:if(g!=108&&De($,m-1)==58){Hr($+=te(vr(C),"&","&\f"),"&\f")!=-1&&(T=-1);break}case 34:case 39:case 91:$+=vr(C);break;case 9:case 10:case 13:case 32:$+=us(g);break;case 92:$+=ls(wr()-1,7);continue;case 47:switch(ze()){case 42:case 47:yr(ms(fs(je(),wr()),r,t),l);break;default:$+="/"}break;case 123*u:s[d++]=Ve($)*T;case 125*u:case 59:case 0:switch(C){case 0:case 125:w=0;case 59+h:T==-1&&($=te($,/\f/g,"")),v>0&&Ve($)-m&&yr(v>32?sa($+";",n,t,m-1):sa(te($," ","")+";",n,t,m-2),l);break;case 59:$+=";";default:if(yr(N=ia($,r,t,d,h,a,s,S,O=[],b=[],m),o),C===123)if(h===0)xr($,r,N,N,O,o,m,s,b);else switch(p===99&&De($,3)===110?100:p){case 100:case 108:case 109:case 115:xr(e,N,N,n&&yr(ia(e,N,N,0,0,a,s,S,a,O=[],m),b),a,b,m,s,n?O:b);break;default:xr($,N,N,N,[""],b,0,s,b)}}d=h=v=0,u=T=1,S=$="",m=i;break;case 58:m=1+Ve($),v=g;default:if(u<1){if(C==123)--u;else if(C==125&&u++==0&&cs()==125)continue}switch($+=pr(C),C*u){case 38:T=h>0?1:($+="\f",-1);break;case 44:s[d++]=(Ve($)-1)*T,T=1;break;case 64:ze()===45&&($+=vr(je())),p=ze(),h=m=Ve(S=$+=ds(wr())),C++;break;case 45:g===45&&Ve($)==2&&(u=0)}}return o}function ia(e,r,t,n,a,o,i,s,l,d,h){for(var m=a-1,p=a===0?o:[""],v=Vr(p),g=0,u=0,w=0;g<n;++g)for(var T=0,C=At(e,m+1,m=rs(u=i[g])),S=e;T<v;++T)(S=ra(u>0?p[T]+" "+C:te(C,/&\f/g,p[T])))&&(l[w++]=S);return br(e,r,t,a===0?Br:s,l,d,h)}function ms(e,r,t){return br(e,r,t,ea,pr(ss()),At(e,2,-2),0)}function sa(e,r,t,n){return br(e,r,t,qr,At(e,0,n),At(e,n+1,-1),n)}function yt(e,r){for(var t="",n=Vr(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function ps(e,r,t,n){switch(e.type){case ts:if(e.children.length)break;case es:case qr:return e.return=e.return||e.value;case ea:return"";case ta:return e.return=e.value+"{"+yt(e.children,n)+"}";case Br:e.value=e.props.join(",")}return Ve(t=yt(e.children,n))?e.return=e.value+"{"+t+"}":""}function ys(e){var r=Vr(e);return function(t,n,a,o){for(var i="",s=0;s<r;s++)i+=e[s](t,n,a,o)||"";return i}}function gs(e){return function(r){r.root||(r=r.return)&&e(r)}}function ca(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var bs=function(r,t,n){for(var a=0,o=0;a=o,o=ze(),a===38&&o===12&&(t[n]=1),!Nt(o);)je();return It(r,Ie)},ws=function(r,t){var n=-1,a=44;do switch(Nt(a)){case 0:a===38&&ze()===12&&(t[n]=1),r[n]+=bs(Ie-1,t,n);break;case 2:r[n]+=vr(a);break;case 4:if(a===44){r[++n]=ze()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=pr(a)}while(a=je());return r},vs=function(r,t){return oa(ws(aa(r),t))},ua=new WeakMap,xs=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var t=r.value,n=r.parent,a=r.column===n.column&&r.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(r.props.length===1&&t.charCodeAt(0)!==58&&!ua.get(n))&&!a){ua.set(r,!0);for(var o=[],i=vs(t,o),s=n.props,l=0,d=0;l<i.length;l++)for(var h=0;h<s.length;h++,d++)r.props[d]=o[l]?i[l].replace(/&\f/g,s[h]):s[h]+" "+i[l]}}},Ts=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function la(e,r){switch(as(e,r)){case 5103:return ee+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ee+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ee+e+mr+e+Me+e+e;case 6828:case 4268:return ee+e+Me+e+e;case 6165:return ee+e+Me+"flex-"+e+e;case 5187:return ee+e+te(e,/(\w+).+(:[^]+)/,ee+"box-$1$2"+Me+"flex-$1$2")+e;case 5443:return ee+e+Me+"flex-item-"+te(e,/flex-|-self/,"")+e;case 4675:return ee+e+Me+"flex-line-pack"+te(e,/align-content|flex-|-self/,"")+e;case 5548:return ee+e+Me+te(e,"shrink","negative")+e;case 5292:return ee+e+Me+te(e,"basis","preferred-size")+e;case 6060:return ee+"box-"+te(e,"-grow","")+ee+e+Me+te(e,"grow","positive")+e;case 4554:return ee+te(e,/([^-])(transform)/g,"$1"+ee+"$2")+e;case 6187:return te(te(te(e,/(zoom-|grab)/,ee+"$1"),/(image-set)/,ee+"$1"),e,"")+e;case 5495:case 3959:return te(e,/(image-set\([^]*)/,ee+"$1$`$1");case 4968:return te(te(e,/(.+:)(flex-)?(.*)/,ee+"box-pack:$3"+Me+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ee+e+e;case 4095:case 3583:case 4068:case 2532:return te(e,/(.+)-inline(.+)/,ee+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ve(e)-1-r>6)switch(De(e,r+1)){case 109:if(De(e,r+4)!==45)break;case 102:return te(e,/(.+:)(.+)-([^]+)/,"$1"+ee+"$2-$3$1"+mr+(De(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Hr(e,"stretch")?la(te(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(De(e,r+1)!==115)break;case 6444:switch(De(e,Ve(e)-3-(~Hr(e,"!important")&&10))){case 107:return te(e,":",":"+ee)+e;case 101:return te(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ee+(De(e,14)===45?"inline-":"")+"box$3$1"+ee+"$2$3$1"+Me+"$2box$3")+e}break;case 5936:switch(De(e,r+11)){case 114:return ee+e+Me+te(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ee+e+Me+te(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ee+e+Me+te(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ee+e+Me+e+e}return e}var Es=function(r,t,n,a){if(r.length>-1&&!r.return)switch(r.type){case qr:r.return=la(r.value,r.length);break;case ta:return yt([$t(r,{value:te(r.value,"@","@"+ee)})],a);case Br:if(r.length)return is(r.props,function(o){switch(os(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return yt([$t(r,{props:[te(o,/:(read-\w+)/,":"+mr+"$1")]})],a);case"::placeholder":return yt([$t(r,{props:[te(o,/:(plac\w+)/,":"+ee+"input-$1")]}),$t(r,{props:[te(o,/:(plac\w+)/,":"+mr+"$1")]}),$t(r,{props:[te(o,/:(plac\w+)/,Me+"input-$1")]})],a)}return""})}},Ss=[Es],Cs=function(r){var t=r.key;if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(u){var w=u.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(u),u.setAttribute("data-s",""))})}var a=r.stylisPlugins||Ss,o={},i,s=[];i=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(u){for(var w=u.getAttribute("data-emotion").split(" "),T=1;T<w.length;T++)o[w[T]]=!0;s.push(u)});var l,d=[xs,Ts];{var h,m=[ps,gs(function(u){h.insert(u)})],p=ys(d.concat(a,m)),v=function(w){return yt(hs(w),p)};l=function(w,T,C,S){h=C,v(w?w+"{"+T.styles+"}":T.styles),S&&(g.inserted[T.name]=!0)}}var g={key:t,sheet:new Zi({key:t,container:i,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:o,registered:{},insert:l};return g.sheet.hydrate(s),g},Os=!0;function ks(e,r,t){var n="";return t.split(" ").forEach(function(a){e[a]!==void 0?r.push(e[a]+";"):a&&(n+=a+" ")}),n}var fa=function(r,t,n){var a=r.key+"-"+t.name;(n===!1||Os===!1)&&r.registered[a]===void 0&&(r.registered[a]=t.styles)},Ps=function(r,t,n){fa(r,t,n);var a=r.key+"-"+t.name;if(r.inserted[t.name]===void 0){var o=t;do r.insert(t===o?"."+a:"",o,r.sheet,!0),o=o.next;while(o!==void 0)}};function _s(e){for(var r=0,t,n=0,a=e.length;a>=4;++n,a-=4)t=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(a){case 3:r^=(e.charCodeAt(n+2)&255)<<16;case 2:r^=(e.charCodeAt(n+1)&255)<<8;case 1:r^=e.charCodeAt(n)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var Rs={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},Ds=!1,Ms=/[A-Z]|^ms/g,As=/_EMO_([^_]+?)_([^]*?)_EMO_/g,da=function(r){return r.charCodeAt(1)===45},ha=function(r){return r!=null&&typeof r!="boolean"},Ur=ca(function(e){return da(e)?e:e.replace(Ms,"-$&").toLowerCase()}),ma=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(As,function(n,a,o){return Ue={name:a,styles:o,next:Ue},a})}return Rs[r]!==1&&!da(r)&&typeof t=="number"&&t!==0?t+"px":t},$s="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ft(e,r,t){if(t==null)return"";var n=t;if(n.__emotion_styles!==void 0)return n;switch(typeof t){case"boolean":return"";case"object":{var a=t;if(a.anim===1)return Ue={name:a.name,styles:a.styles,next:Ue},a.name;var o=t;if(o.styles!==void 0){var i=o.next;if(i!==void 0)for(;i!==void 0;)Ue={name:i.name,styles:i.styles,next:Ue},i=i.next;var s=o.styles+";";return s}return Is(e,r,t)}case"function":{if(e!==void 0){var l=Ue,d=t(e);return Ue=l,Ft(e,r,d)}break}}var h=t;if(r==null)return h;var m=r[h];return m!==void 0?m:h}function Is(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=Ft(e,r,t[a])+";";else for(var o in t){var i=t[o];if(typeof i!="object"){var s=i;r!=null&&r[s]!==void 0?n+=o+"{"+r[s]+"}":ha(s)&&(n+=Ur(o)+":"+ma(o,s)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&Ds)throw new Error($s);if(Array.isArray(i)&&typeof i[0]=="string"&&(r==null||r[i[0]]===void 0))for(var l=0;l<i.length;l++)ha(i[l])&&(n+=Ur(o)+":"+ma(o,i[l])+";");else{var d=Ft(e,r,i);switch(o){case"animation":case"animationName":{n+=Ur(o)+":"+d+";";break}default:n+=o+"{"+d+"}"}}}}return n}var pa=/label:\s*([^\s;{]+)\s*(;|$)/g,Ue;function ya(e,r,t){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,a="";Ue=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,a+=Ft(t,r,o);else{var i=o;a+=i[0]}for(var s=1;s<e.length;s++)if(a+=Ft(t,r,e[s]),n){var l=o;a+=l[s]}pa.lastIndex=0;for(var d="",h;(h=pa.exec(a))!==null;)d+="-"+h[1];var m=_s(a)+d;return{name:m,styles:a,next:Ue}}var Ns=function(r){return r()},Fs=se.useInsertionEffect?se.useInsertionEffect:!1,Ys=Fs||Ns,ga=se.createContext(typeof HTMLElement<"u"?Cs({key:"css"}):null);ga.Provider;var js=function(r){return Re.forwardRef(function(t,n){var a=Re.useContext(ga);return r(t,a,n)})},Ls=se.createContext({}),Ws=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Bs=ca(function(e){return Ws.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),qs=!1,Hs=Bs,Vs=function(r){return r!=="theme"},ba=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?Hs:Vs},wa=function(r,t,n){var a;if(t){var o=t.shouldForwardProp;a=r.__emotion_forwardProp&&o?function(i){return r.__emotion_forwardProp(i)&&o(i)}:o}return typeof a!="function"&&n&&(a=r.__emotion_forwardProp),a},zs=function(r){var t=r.cache,n=r.serialized,a=r.isStringTag;return fa(t,n,a),Ys(function(){return Ps(t,n,a)}),null},Us=function e(r,t){var n=r.__emotion_real===r,a=n&&r.__emotion_base||r,o,i;t!==void 0&&(o=t.label,i=t.target);var s=wa(r,t,n),l=s||ba(a),d=!l("as");return function(){var h=arguments,m=n&&r.__emotion_styles!==void 0?r.__emotion_styles.slice(0):[];if(o!==void 0&&m.push("label:"+o+";"),h[0]==null||h[0].raw===void 0)m.push.apply(m,h);else{var p=h[0];m.push(p[0]);for(var v=h.length,g=1;g<v;g++)m.push(h[g],p[g])}var u=js(function(w,T,C){var S=d&&w.as||a,O="",b=[],N=w;if(w.theme==null){N={};for(var $ in w)N[$]=w[$];N.theme=se.useContext(Ls)}typeof w.className=="string"?O=ks(T.registered,b,w.className):w.className!=null&&(O=w.className+" ");var A=ya(m.concat(b),T.registered,N);O+=T.key+"-"+A.name,i!==void 0&&(O+=" "+i);var Y=d&&s===void 0?ba(S):l,c={};for(var k in w)d&&k==="as"||Y(k)&&(c[k]=w[k]);return c.className=O,C&&(c.ref=C),se.createElement(se.Fragment,null,se.createElement(zs,{cache:T,serialized:A,isStringTag:typeof S=="string"}),se.createElement(S,c))});return u.displayName=o!==void 0?o:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",u.defaultProps=r.defaultProps,u.__emotion_real=u,u.__emotion_base=a,u.__emotion_styles=m,u.__emotion_forwardProp=s,Object.defineProperty(u,"toString",{value:function(){return i===void 0&&qs?"NO_COMPONENT_SELECTOR":"."+i}}),u.withComponent=function(w,T){var C=e(w,Wr({},t,T,{shouldForwardProp:wa(u,T,!0)}));return C.apply(void 0,m)},u}},Gs=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Gr=Us.bind(null);Gs.forEach(function(e){Gr[e]=Gr(e)});/**
69
+ `)),()=>{})}function Yr(e){return Rt(e,"spacing",8,"spacing")}function Dt(e,r){return typeof r=="string"||r==null?r:e(r)}function gi(e,r){return t=>e.reduce((n,a)=>(n[a]=Dt(r,t),n),{})}function bi(e,r,t,n){if(!r.includes(t))return null;const a=pi(t),o=gi(a,n),i=e[t];return tt(e,i,o)}function ra(e,r){const t=Yr(e.theme);return Object.keys(e).map(n=>bi(e,r,n,t)).reduce(Mt,{})}function xe(e){return ra(e,ir)}xe.propTypes=process.env.NODE_ENV!=="production"?ir.reduce((e,r)=>(e[r]=st,e),{}):{},xe.filterProps=ir;function Te(e){return ra(e,sr)}Te.propTypes=process.env.NODE_ENV!=="production"?sr.reduce((e,r)=>(e[r]=st,e),{}):{},Te.filterProps=sr,process.env.NODE_ENV!=="production"&&yi.reduce((e,r)=>(e[r]=st,e),{});function cr(...e){const r=e.reduce((n,a)=>(a.filterProps.forEach(o=>{n[o]=a}),n),{}),t=n=>Object.keys(n).reduce((a,o)=>r[o]?Mt(a,r[o](n)):a,{});return t.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,a)=>Object.assign(n,a.propTypes),{}):{},t.filterProps=e.reduce((n,a)=>n.concat(a.filterProps),[]),t}function Be(e){return typeof e!="number"?e:`${e}px solid`}function He(e,r){return Se({prop:e,themeKey:"borders",transform:r})}const vi=He("border",Be),wi=He("borderTop",Be),xi=He("borderRight",Be),Ti=He("borderBottom",Be),Ei=He("borderLeft",Be),Si=He("borderColor"),Oi=He("borderTopColor"),Ci=He("borderRightColor"),ki=He("borderBottomColor"),Pi=He("borderLeftColor"),_i=He("outline",Be),Mi=He("outlineColor"),ur=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const r=Rt(e.theme,"shape.borderRadius",4,"borderRadius"),t=n=>({borderRadius:Dt(r,n)});return tt(e,e.borderRadius,t)}return null};ur.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:st}:{},ur.filterProps=["borderRadius"],cr(vi,wi,xi,Ti,Ei,Si,Oi,Ci,ki,Pi,ur,_i,Mi);const lr=e=>{if(e.gap!==void 0&&e.gap!==null){const r=Rt(e.theme,"spacing",8,"gap"),t=n=>({gap:Dt(r,n)});return tt(e,e.gap,t)}return null};lr.propTypes=process.env.NODE_ENV!=="production"?{gap:st}:{},lr.filterProps=["gap"];const fr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const r=Rt(e.theme,"spacing",8,"columnGap"),t=n=>({columnGap:Dt(r,n)});return tt(e,e.columnGap,t)}return null};fr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:st}:{},fr.filterProps=["columnGap"];const dr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const r=Rt(e.theme,"spacing",8,"rowGap"),t=n=>({rowGap:Dt(r,n)});return tt(e,e.rowGap,t)}return null};dr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:st}:{},dr.filterProps=["rowGap"];const Ri=Se({prop:"gridColumn"}),Di=Se({prop:"gridRow"}),Ai=Se({prop:"gridAutoFlow"}),$i=Se({prop:"gridAutoColumns"}),Ii=Se({prop:"gridAutoRows"}),Ni=Se({prop:"gridTemplateColumns"}),Fi=Se({prop:"gridTemplateRows"}),ji=Se({prop:"gridTemplateAreas"}),Yi=Se({prop:"gridArea"});cr(lr,fr,dr,Ri,Di,Ai,$i,Ii,Ni,Fi,ji,Yi);function mt(e,r){return r==="grey"?r:e}const Li=Se({prop:"color",themeKey:"palette",transform:mt}),Wi=Se({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:mt}),Bi=Se({prop:"backgroundColor",themeKey:"palette",transform:mt});cr(Li,Wi,Bi);function Le(e){return e<=1&&e!==0?`${e*100}%`:e}const Hi=Se({prop:"width",transform:Le}),Lr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=t=>{var a,o,i,s,l;const n=((i=(o=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:o.values)==null?void 0:i[t])||nr[t];return n?((l=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Le(t)}};return tt(e,e.maxWidth,r)}return null};Lr.filterProps=["maxWidth"];const Vi=Se({prop:"minWidth",transform:Le}),qi=Se({prop:"height",transform:Le}),zi=Se({prop:"maxHeight",transform:Le}),Ui=Se({prop:"minHeight",transform:Le});Se({prop:"size",cssProperty:"width",transform:Le}),Se({prop:"size",cssProperty:"height",transform:Le});const Gi=Se({prop:"boxSizing"});cr(Hi,Lr,Vi,qi,zi,Ui,Gi);const hr={border:{themeKey:"borders",transform:Be},borderTop:{themeKey:"borders",transform:Be},borderRight:{themeKey:"borders",transform:Be},borderBottom:{themeKey:"borders",transform:Be},borderLeft:{themeKey:"borders",transform:Be},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Be},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ur},color:{themeKey:"palette",transform:mt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:mt},backgroundColor:{themeKey:"palette",transform:mt},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:xe},mt:{style:xe},mr:{style:xe},mb:{style:xe},ml:{style:xe},mx:{style:xe},my:{style:xe},margin:{style:xe},marginTop:{style:xe},marginRight:{style:xe},marginBottom:{style:xe},marginLeft:{style:xe},marginX:{style:xe},marginY:{style:xe},marginInline:{style:xe},marginInlineStart:{style:xe},marginInlineEnd:{style:xe},marginBlock:{style:xe},marginBlockStart:{style:xe},marginBlockEnd:{style:xe},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:lr},rowGap:{style:dr},columnGap:{style:fr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Le},maxWidth:{style:Lr},minWidth:{transform:Le},height:{transform:Le},maxHeight:{transform:Le},minHeight:{transform:Le},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 Qi(...e){const r=e.reduce((n,a)=>n.concat(Object.keys(a)),[]),t=new Set(r);return e.every(n=>t.size===Object.keys(n).length)}function Xi(e,r){return typeof e=="function"?e(r):e}function Ki(){function e(t,n,a,o){const i={[t]:n,theme:a},s=o[t];if(!s)return{[t]:n};const{cssProperty:l=t,themeKey:d,transform:h,style:m}=s;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[t]:n};const y=ar(a,d)||{};return m?m(i):tt(i,n,p=>{let u=or(y,h,p);return p===u&&typeof p=="string"&&(u=or(y,h,`${t}${p==="default"?"":et(p)}`,p)),l===!1?u:{[l]:u}})}function r(t){const{sx:n,theme:a={}}=t||{};if(!n)return null;const o=a.unstable_sxConfig??hr;function i(s){let l=s;if(typeof s=="function")l=s(a);else if(typeof s!="object")return s;if(!l)return null;const d=li(a.breakpoints),h=Object.keys(d);let m=d;return Object.keys(l).forEach(y=>{const T=Xi(l[y],a);if(T!=null)if(typeof T=="object")if(o[y])m=Mt(m,e(y,T,a,o));else{const p=tt({theme:a},T,u=>({[y]:u}));Qi(p,T)?m[y]=r({sx:T,theme:a}):m=Mt(m,p)}else m=Mt(m,e(y,T,a,o))}),oi(a,fi(h,m))}return Array.isArray(n)?n.map(i):i(n)}return r}const pt=Ki();pt.filterProps=["sx"];function Wr(){return Wr=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Wr.apply(null,arguments)}var Ji=!1;function Zi(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function es(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var ts=function(){function e(t){var n=this;this._insertTag=function(a){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(a,o),n.tags.push(a)},this.isSpeedy=t.speedy===void 0?!Ji:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(n){n.forEach(this._insertTag)},r.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(es(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Zi(a);try{o.insertRule(n,o.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(n));this.ctr++},r.flush=function(){this.tags.forEach(function(n){var a;return(a=n.parentNode)==null?void 0:a.removeChild(n)}),this.tags=[],this.ctr=0},e}(),$e="-ms-",mr="-moz-",re="-webkit-",na="comm",Br="rule",Hr="decl",rs="@import",aa="@keyframes",ns="@layer",as=Math.abs,pr=String.fromCharCode,os=Object.assign;function is(e,r){return Ae(e,0)^45?(((r<<2^Ae(e,0))<<2^Ae(e,1))<<2^Ae(e,2))<<2^Ae(e,3):0}function oa(e){return e.trim()}function ss(e,r){return(e=r.exec(e))?e[0]:e}function ne(e,r,t){return e.replace(r,t)}function Vr(e,r){return e.indexOf(r)}function Ae(e,r){return e.charCodeAt(r)|0}function At(e,r,t){return e.slice(r,t)}function ze(e){return e.length}function qr(e){return e.length}function yr(e,r){return r.push(e),e}function cs(e,r){return e.map(r).join("")}var gr=1,yt=1,ia=0,Fe=0,Re=0,gt="";function br(e,r,t,n,a,o,i){return{value:e,root:r,parent:t,type:n,props:a,children:o,line:gr,column:yt,length:i,return:""}}function $t(e,r){return os(br("",null,null,"",null,null,0),e,{length:-e.length},r)}function us(){return Re}function ls(){return Re=Fe>0?Ae(gt,--Fe):0,yt--,Re===10&&(yt=1,gr--),Re}function We(){return Re=Fe<ia?Ae(gt,Fe++):0,yt++,Re===10&&(yt=1,gr++),Re}function Ue(){return Ae(gt,Fe)}function vr(){return Fe}function It(e,r){return At(gt,e,r)}function Nt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function sa(e){return gr=yt=1,ia=ze(gt=e),Fe=0,[]}function ca(e){return gt="",e}function wr(e){return oa(It(Fe-1,zr(e===91?e+2:e===40?e+1:e)))}function fs(e){for(;(Re=Ue())&&Re<33;)We();return Nt(e)>2||Nt(Re)>3?"":" "}function ds(e,r){for(;--r&&We()&&!(Re<48||Re>102||Re>57&&Re<65||Re>70&&Re<97););return It(e,vr()+(r<6&&Ue()==32&&We()==32))}function zr(e){for(;We();)switch(Re){case e:return Fe;case 34:case 39:e!==34&&e!==39&&zr(Re);break;case 40:e===41&&zr(e);break;case 92:We();break}return Fe}function hs(e,r){for(;We()&&e+Re!==57;)if(e+Re===84&&Ue()===47)break;return"/*"+It(r,Fe-1)+"*"+pr(e===47?e:We())}function ms(e){for(;!Nt(Ue());)We();return It(e,Fe)}function ps(e){return ca(xr("",null,null,null,[""],e=sa(e),0,[0],e))}function xr(e,r,t,n,a,o,i,s,l){for(var d=0,h=0,m=i,y=0,T=0,p=0,u=1,w=1,b=1,x=0,O="",C=a,v=o,$=n,A=O;w;)switch(p=x,x=We()){case 40:if(p!=108&&Ae(A,m-1)==58){Vr(A+=ne(wr(x),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:A+=wr(x);break;case 9:case 10:case 13:case 32:A+=fs(p);break;case 92:A+=ds(vr()-1,7);continue;case 47:switch(Ue()){case 42:case 47:yr(ys(hs(We(),vr()),r,t),l);break;default:A+="/"}break;case 123*u:s[d++]=ze(A)*b;case 125*u:case 59:case 0:switch(x){case 0:case 125:w=0;case 59+h:b==-1&&(A=ne(A,/\f/g,"")),T>0&&ze(A)-m&&yr(T>32?la(A+";",n,t,m-1):la(ne(A," ","")+";",n,t,m-2),l);break;case 59:A+=";";default:if(yr($=ua(A,r,t,d,h,a,s,O,C=[],v=[],m),o),x===123)if(h===0)xr(A,r,$,$,C,o,m,s,v);else switch(y===99&&Ae(A,3)===110?100:y){case 100:case 108:case 109:case 115:xr(e,$,$,n&&yr(ua(e,$,$,0,0,a,s,O,a,C=[],m),v),a,v,m,s,n?C:v);break;default:xr(A,$,$,$,[""],v,0,s,v)}}d=h=T=0,u=b=1,O=A="",m=i;break;case 58:m=1+ze(A),T=p;default:if(u<1){if(x==123)--u;else if(x==125&&u++==0&&ls()==125)continue}switch(A+=pr(x),x*u){case 38:b=h>0?1:(A+="\f",-1);break;case 44:s[d++]=(ze(A)-1)*b,b=1;break;case 64:Ue()===45&&(A+=wr(We())),y=Ue(),h=m=ze(O=A+=ms(vr())),x++;break;case 45:p===45&&ze(A)==2&&(u=0)}}return o}function ua(e,r,t,n,a,o,i,s,l,d,h){for(var m=a-1,y=a===0?o:[""],T=qr(y),p=0,u=0,w=0;p<n;++p)for(var b=0,x=At(e,m+1,m=as(u=i[p])),O=e;b<T;++b)(O=oa(u>0?y[b]+" "+x:ne(x,/&\f/g,y[b])))&&(l[w++]=O);return br(e,r,t,a===0?Br:s,l,d,h)}function ys(e,r,t){return br(e,r,t,na,pr(us()),At(e,2,-2),0)}function la(e,r,t,n){return br(e,r,t,Hr,At(e,0,n),At(e,n+1,-1),n)}function bt(e,r){for(var t="",n=qr(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function gs(e,r,t,n){switch(e.type){case ns:if(e.children.length)break;case rs:case Hr:return e.return=e.return||e.value;case na:return"";case aa:return e.return=e.value+"{"+bt(e.children,n)+"}";case Br:e.value=e.props.join(",")}return ze(t=bt(e.children,n))?e.return=e.value+"{"+t+"}":""}function bs(e){var r=qr(e);return function(t,n,a,o){for(var i="",s=0;s<r;s++)i+=e[s](t,n,a,o)||"";return i}}function vs(e){return function(r){r.root||(r=r.return)&&e(r)}}function fa(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var ws=function(r,t,n){for(var a=0,o=0;a=o,o=Ue(),a===38&&o===12&&(t[n]=1),!Nt(o);)We();return It(r,Fe)},xs=function(r,t){var n=-1,a=44;do switch(Nt(a)){case 0:a===38&&Ue()===12&&(t[n]=1),r[n]+=ws(Fe-1,t,n);break;case 2:r[n]+=wr(a);break;case 4:if(a===44){r[++n]=Ue()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=pr(a)}while(a=We());return r},Ts=function(r,t){return ca(xs(sa(r),t))},da=new WeakMap,Es=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var t=r.value,n=r.parent,a=r.column===n.column&&r.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(r.props.length===1&&t.charCodeAt(0)!==58&&!da.get(n))&&!a){da.set(r,!0);for(var o=[],i=Ts(t,o),s=n.props,l=0,d=0;l<i.length;l++)for(var h=0;h<s.length;h++,d++)r.props[d]=o[l]?i[l].replace(/&\f/g,s[h]):s[h]+" "+i[l]}}},Ss=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function ha(e,r){switch(is(e,r)){case 5103:return re+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return re+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+mr+e+$e+e+e;case 6828:case 4268:return re+e+$e+e+e;case 6165:return re+e+$e+"flex-"+e+e;case 5187:return re+e+ne(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+$e+"flex-$1$2")+e;case 5443:return re+e+$e+"flex-item-"+ne(e,/flex-|-self/,"")+e;case 4675:return re+e+$e+"flex-line-pack"+ne(e,/align-content|flex-|-self/,"")+e;case 5548:return re+e+$e+ne(e,"shrink","negative")+e;case 5292:return re+e+$e+ne(e,"basis","preferred-size")+e;case 6060:return re+"box-"+ne(e,"-grow","")+re+e+$e+ne(e,"grow","positive")+e;case 4554:return re+ne(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return ne(ne(ne(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return ne(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return ne(ne(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+$e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+re+e+e;case 4095:case 3583:case 4068:case 2532:return ne(e,/(.+)-inline(.+)/,re+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ze(e)-1-r>6)switch(Ae(e,r+1)){case 109:if(Ae(e,r+4)!==45)break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+mr+(Ae(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Vr(e,"stretch")?ha(ne(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(Ae(e,r+1)!==115)break;case 6444:switch(Ae(e,ze(e)-3-(~Vr(e,"!important")&&10))){case 107:return ne(e,":",":"+re)+e;case 101:return ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+re+(Ae(e,14)===45?"inline-":"")+"box$3$1"+re+"$2$3$1"+$e+"$2box$3")+e}break;case 5936:switch(Ae(e,r+11)){case 114:return re+e+$e+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+$e+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+$e+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return re+e+$e+e+e}return e}var Os=function(r,t,n,a){if(r.length>-1&&!r.return)switch(r.type){case Hr:r.return=ha(r.value,r.length);break;case aa:return bt([$t(r,{value:ne(r.value,"@","@"+re)})],a);case Br:if(r.length)return cs(r.props,function(o){switch(ss(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return bt([$t(r,{props:[ne(o,/:(read-\w+)/,":"+mr+"$1")]})],a);case"::placeholder":return bt([$t(r,{props:[ne(o,/:(plac\w+)/,":"+re+"input-$1")]}),$t(r,{props:[ne(o,/:(plac\w+)/,":"+mr+"$1")]}),$t(r,{props:[ne(o,/:(plac\w+)/,$e+"input-$1")]})],a)}return""})}},Cs=[Os],ks=function(r){var t=r.key;if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(u){var w=u.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(u),u.setAttribute("data-s",""))})}var a=r.stylisPlugins||Cs,o={},i,s=[];i=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(u){for(var w=u.getAttribute("data-emotion").split(" "),b=1;b<w.length;b++)o[w[b]]=!0;s.push(u)});var l,d=[Es,Ss];{var h,m=[gs,vs(function(u){h.insert(u)})],y=bs(d.concat(a,m)),T=function(w){return bt(ps(w),y)};l=function(w,b,x,O){h=x,T(w?w+"{"+b.styles+"}":b.styles),O&&(p.inserted[b.name]=!0)}}var p={key:t,sheet:new ts({key:t,container:i,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:o,registered:{},insert:l};return p.sheet.hydrate(s),p},Ps=!0;function _s(e,r,t){var n="";return t.split(" ").forEach(function(a){e[a]!==void 0?r.push(e[a]+";"):a&&(n+=a+" ")}),n}var ma=function(r,t,n){var a=r.key+"-"+t.name;(n===!1||Ps===!1)&&r.registered[a]===void 0&&(r.registered[a]=t.styles)},Ms=function(r,t,n){ma(r,t,n);var a=r.key+"-"+t.name;if(r.inserted[t.name]===void 0){var o=t;do r.insert(t===o?"."+a:"",o,r.sheet,!0),o=o.next;while(o!==void 0)}};function Rs(e){for(var r=0,t,n=0,a=e.length;a>=4;++n,a-=4)t=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(a){case 3:r^=(e.charCodeAt(n+2)&255)<<16;case 2:r^=(e.charCodeAt(n+1)&255)<<8;case 1:r^=e.charCodeAt(n)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var Ds={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},As=!1,$s=/[A-Z]|^ms/g,Is=/_EMO_([^_]+?)_([^]*?)_EMO_/g,pa=function(r){return r.charCodeAt(1)===45},ya=function(r){return r!=null&&typeof r!="boolean"},Ur=fa(function(e){return pa(e)?e:e.replace($s,"-$&").toLowerCase()}),ga=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(Is,function(n,a,o){return Ge={name:a,styles:o,next:Ge},a})}return Ds[r]!==1&&!pa(r)&&typeof t=="number"&&t!==0?t+"px":t},Ns="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ft(e,r,t){if(t==null)return"";var n=t;if(n.__emotion_styles!==void 0)return n;switch(typeof t){case"boolean":return"";case"object":{var a=t;if(a.anim===1)return Ge={name:a.name,styles:a.styles,next:Ge},a.name;var o=t;if(o.styles!==void 0){var i=o.next;if(i!==void 0)for(;i!==void 0;)Ge={name:i.name,styles:i.styles,next:Ge},i=i.next;var s=o.styles+";";return s}return Fs(e,r,t)}case"function":{if(e!==void 0){var l=Ge,d=t(e);return Ge=l,Ft(e,r,d)}break}}var h=t;if(r==null)return h;var m=r[h];return m!==void 0?m:h}function Fs(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=Ft(e,r,t[a])+";";else for(var o in t){var i=t[o];if(typeof i!="object"){var s=i;r!=null&&r[s]!==void 0?n+=o+"{"+r[s]+"}":ya(s)&&(n+=Ur(o)+":"+ga(o,s)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&As)throw new Error(Ns);if(Array.isArray(i)&&typeof i[0]=="string"&&(r==null||r[i[0]]===void 0))for(var l=0;l<i.length;l++)ya(i[l])&&(n+=Ur(o)+":"+ga(o,i[l])+";");else{var d=Ft(e,r,i);switch(o){case"animation":case"animationName":{n+=Ur(o)+":"+d+";";break}default:n+=o+"{"+d+"}"}}}}return n}var ba=/label:\s*([^\s;{]+)\s*(;|$)/g,Ge;function va(e,r,t){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,a="";Ge=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,a+=Ft(t,r,o);else{var i=o;a+=i[0]}for(var s=1;s<e.length;s++)if(a+=Ft(t,r,e[s]),n){var l=o;a+=l[s]}ba.lastIndex=0;for(var d="",h;(h=ba.exec(a))!==null;)d+="-"+h[1];var m=Rs(a)+d;return{name:m,styles:a,next:Ge}}var js=function(r){return r()},Ys=ue.useInsertionEffect?ue.useInsertionEffect:!1,Ls=Ys||js,wa=ue.createContext(typeof HTMLElement<"u"?ks({key:"css"}):null);wa.Provider;var Ws=function(r){return Me.forwardRef(function(t,n){var a=Me.useContext(wa);return r(t,a,n)})},Bs=ue.createContext({}),Hs=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Vs=fa(function(e){return Hs.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),qs=!1,zs=Vs,Us=function(r){return r!=="theme"},xa=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?zs:Us},Ta=function(r,t,n){var a;if(t){var o=t.shouldForwardProp;a=r.__emotion_forwardProp&&o?function(i){return r.__emotion_forwardProp(i)&&o(i)}:o}return typeof a!="function"&&n&&(a=r.__emotion_forwardProp),a},Gs=function(r){var t=r.cache,n=r.serialized,a=r.isStringTag;return ma(t,n,a),Ls(function(){return Ms(t,n,a)}),null},Qs=function e(r,t){var n=r.__emotion_real===r,a=n&&r.__emotion_base||r,o,i;t!==void 0&&(o=t.label,i=t.target);var s=Ta(r,t,n),l=s||xa(a),d=!l("as");return function(){var h=arguments,m=n&&r.__emotion_styles!==void 0?r.__emotion_styles.slice(0):[];if(o!==void 0&&m.push("label:"+o+";"),h[0]==null||h[0].raw===void 0)m.push.apply(m,h);else{var y=h[0];m.push(y[0]);for(var T=h.length,p=1;p<T;p++)m.push(h[p],y[p])}var u=Ws(function(w,b,x){var O=d&&w.as||a,C="",v=[],$=w;if(w.theme==null){$={};for(var A in w)$[A]=w[A];$.theme=ue.useContext(Bs)}typeof w.className=="string"?C=_s(b.registered,v,w.className):w.className!=null&&(C=w.className+" ");var D=va(m.concat(v),b.registered,$);C+=b.key+"-"+D.name,i!==void 0&&(C+=" "+i);var j=d&&s===void 0?xa(O):l,c={};for(var k in w)d&&k==="as"||j(k)&&(c[k]=w[k]);return c.className=C,x&&(c.ref=x),ue.createElement(ue.Fragment,null,ue.createElement(Gs,{cache:b,serialized:D,isStringTag:typeof O=="string"}),ue.createElement(O,c))});return u.displayName=o!==void 0?o:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",u.defaultProps=r.defaultProps,u.__emotion_real=u,u.__emotion_base=a,u.__emotion_styles=m,u.__emotion_forwardProp=s,Object.defineProperty(u,"toString",{value:function(){return i===void 0&&qs?"NO_COMPONENT_SELECTOR":"."+i}}),u.withComponent=function(w,b){var x=e(w,Wr({},t,b,{shouldForwardProp:Ta(u,b,!0)}));return x.apply(void 0,m)},u}},Xs=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Gr=Qs.bind(null);Xs.forEach(function(e){Gr[e]=Gr(e)});/**
70
70
  * @mui/styled-engine v6.4.0
71
71
  *
72
72
  * @license MIT
73
73
  * This source code is licensed under the MIT license found in the
74
74
  * LICENSE file in the root directory of this source tree.
75
- */function Qs(e,r){const t=Gr(e,r);return process.env.NODE_ENV!=="production"?(...n)=>{const a=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${a})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
76
- `)):n.some(o=>o===void 0)&&console.error(`MUI: the styled(${a})(...args) API requires all its args to be defined.`),t(...n)}:t}function Xs(e,r){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))}const va=[];function xa(e){return va[0]=e,ya(va)}const Ks=e=>{const r=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return r.sort((t,n)=>t.val-n.val),r.reduce((t,n)=>({...t,[n.key]:n.val}),{})};function Js(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:n=5,...a}=e,o=Ks(r),i=Object.keys(o);function s(p){return`@media (min-width:${typeof r[p]=="number"?r[p]:p}${t})`}function l(p){return`@media (max-width:${(typeof r[p]=="number"?r[p]:p)-n/100}${t})`}function d(p,v){const g=i.indexOf(v);return`@media (min-width:${typeof r[p]=="number"?r[p]:p}${t}) and (max-width:${(g!==-1&&typeof r[i[g]]=="number"?r[i[g]]:v)-n/100}${t})`}function h(p){return i.indexOf(p)+1<i.length?d(p,i[i.indexOf(p)+1]):s(p)}function m(p){const v=i.indexOf(p);return v===0?s(i[1]):v===i.length-1?l(i[v]):d(p,i[i.indexOf(p)+1]).replace("@media","@media not all and")}return{keys:i,values:o,up:s,down:l,between:d,only:h,not:m,unit:t,...a}}const Zs={borderRadius:4};function Ta(e=8,r=jr({spacing:e})){if(e.mui)return e;const t=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(o=>{const i=r(o);return typeof i=="number"?`${i}px`:i}).join(" "));return t.mui=!0,t}function ec(e,r){var n;const t=this;if(t.vars){if(!((n=t.colorSchemes)!=null&&n[e])||typeof t.getColorSchemeSelector!="function")return{};let a=t.getColorSchemeSelector(e);return a==="&"?r:((a.includes("data-")||a.includes("."))&&(a=`*:where(${a.replace(/\s*&$/,"")}) &`),{[a]:r})}return t.palette.mode===e?r:{}}function Ea(e={},...r){const{breakpoints:t={},palette:n={},spacing:a,shape:o={},...i}=e,s=Js(t),l=Ta(a);let d=Fe({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:l,shape:{...Zs,...o}},i);return d=ii(d),d.applyStyles=ec,d=r.reduce((h,m)=>Fe(h,m),d),d.unstable_sxConfig={...hr,...i==null?void 0:i.unstable_sxConfig},d.unstable_sx=function(m){return ht({sx:m,theme:this})},d}function Sa(e){const{variants:r,...t}=e,n={variants:r,style:xa(t),isProcessed:!0};return n.style===t||r&&r.forEach(a=>{typeof a.style!="function"&&(a.style=xa(a.style))}),n}const tc=Ea();function Qr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function rc(e){return e?(r,t)=>t[e]:null}function nc(e,r,t){e.theme=sc(e.theme)?t:e.theme[r]||e.theme}function Tr(e,r){const t=typeof r=="function"?r(e):r;if(Array.isArray(t))return t.flatMap(n=>Tr(e,n));if(Array.isArray(t==null?void 0:t.variants)){let n;if(t.isProcessed)n=t.style;else{const{variants:a,...o}=t;n=o}return Ca(e,t.variants,[n])}return t!=null&&t.isProcessed?t.style:t}function Ca(e,r,t=[]){var a;let n;e:for(let o=0;o<r.length;o+=1){const i=r[o];if(typeof i.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!i.props(n))continue}else for(const s in i.props)if(e[s]!==i.props[s]&&((a=e.ownerState)==null?void 0:a[s])!==i.props[s])continue e;typeof i.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),t.push(i.style(n))):t.push(i.style)}return t}function ac(e={}){const{themeId:r,defaultTheme:t=tc,rootShouldForwardProp:n=Qr,slotShouldForwardProp:a=Qr}=e;function o(s){nc(s,r,t)}return(s,l={})=>{Xs(s,b=>b.filter(N=>N!==ht));const{name:d,slot:h,skipVariantsResolver:m,skipSx:p,overridesResolver:v=rc(Oa(h)),...g}=l,u=m!==void 0?m:h&&h!=="Root"&&h!=="root"||!1,w=p||!1;let T=Qr;h==="Root"||h==="root"?T=n:h?T=a:cc(s)&&(T=void 0);const C=Qs(s,{shouldForwardProp:T,label:ic(d,h),...g}),S=b=>{if(typeof b=="function"&&b.__emotion_real!==b)return function($){return Tr($,b)};if(Ke(b)){const N=Sa(b);return N.variants?function(A){return Tr(A,N)}:N.style}return b},O=(...b)=>{const N=[],$=b.map(S),A=[];if(N.push(o),d&&v&&A.push(function(F){var pe,Ee;const Q=(Ee=(pe=F.theme.components)==null?void 0:pe[d])==null?void 0:Ee.styleOverrides;if(!Q)return null;const Te={};for(const Le in Q)Te[Le]=Tr(F,Q[Le]);return v(F,Te)}),d&&!u&&A.push(function(F){var Te,pe;const L=F.theme,Q=(pe=(Te=L==null?void 0:L.components)==null?void 0:Te[d])==null?void 0:pe.variants;return Q?Ca(F,Q):null}),w||A.push(ht),Array.isArray($[0])){const k=$.shift(),F=new Array(N.length).fill(""),L=new Array(A.length).fill("");let Q;Q=[...F,...k,...L],Q.raw=[...F,...k.raw,...L],N.unshift(Q)}const Y=[...N,...$,...A],c=C(...Y);return s.muiName&&(c.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(c.displayName=oc(d,h,s)),c};return C.withConfig&&(O.withConfig=C.withConfig),O}}function oc(e,r,t){return e?`${e}${Je(r||"")}`:`Styled(${Zo(t)})`}function ic(e,r){let t;return process.env.NODE_ENV!=="production"&&e&&(t=`${e}-${Oa(r||"Root")}`),t}function sc(e){for(const r in e)return!1;return!0}function cc(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Oa(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Xr(e,r=0,t=1){return process.env.NODE_ENV!=="production"&&(e<r||e>t)&&console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),ri(e,r,t)}function uc(e){e=e.slice(1);const r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let t=e.match(r);return t&&t[0].length===1&&(t=t.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),t?`rgb${t.length===4?"a":""}(${t.map((n,a)=>a<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function it(e){if(e.type)return e;if(e.charAt(0)==="#")return it(uc(e));const r=e.indexOf("("),t=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(t))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
77
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:at(9,e));let n=e.substring(r+1,e.length-1),a;if(t==="color"){if(n=n.split(" "),a=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(a))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${a}\` color space.
78
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:at(10,a))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:t,values:n,colorSpace:a}}const lc=e=>{const r=it(e);return r.values.slice(0,3).map((t,n)=>r.type.includes("hsl")&&n!==0?`${t}%`:t).join(" ")},Yt=(e,r)=>{try{return lc(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function Er(e){const{type:r,colorSpace:t}=e;let{values:n}=e;return r.includes("rgb")?n=n.map((a,o)=>o<3?parseInt(a,10):a):r.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),r.includes("color")?n=`${t} ${n.join(" ")}`:n=`${n.join(", ")}`,`${r}(${n})`}function ka(e){e=it(e);const{values:r}=e,t=r[0],n=r[1]/100,a=r[2]/100,o=n*Math.min(a,1-a),i=(d,h=(d+t/30)%12)=>a-o*Math.max(Math.min(h-3,9-h,1),-1);let s="rgb";const l=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(s+="a",l.push(r[3])),Er({type:s,values:l})}function Kr(e){e=it(e);let r=e.type==="hsl"||e.type==="hsla"?it(ka(e)).values:e.values;return r=r.map(t=>(e.type!=="color"&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function Pa(e,r){const t=Kr(e),n=Kr(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)}function fc(e,r){return e=it(e),r=Xr(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,Er(e)}function Sr(e,r,t){try{return fc(e,r)}catch{return e}}function Jr(e,r){if(e=it(e),r=Xr(r),e.type.includes("hsl"))e.values[2]*=1-r;else if(e.type.includes("rgb")||e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]*=1-r;return Er(e)}function fe(e,r,t){try{return Jr(e,r)}catch{return e}}function Zr(e,r){if(e=it(e),r=Xr(r),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*r;else if(e.type.includes("rgb"))for(let t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*r;else if(e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]+=(1-e.values[t])*r;return Er(e)}function de(e,r,t){try{return Zr(e,r)}catch{return e}}function dc(e,r=.15){return Kr(e)>.5?Jr(e,r):Zr(e,r)}function Cr(e,r,t){try{return dc(e,r)}catch{return e}}const hc=se.createContext(void 0);process.env.NODE_ENV!=="production"&&(M.node,M.object);function mc(e){const{theme:r,name:t,props:n}=e;if(!r||!r.components||!r.components[t])return n;const a=r.components[t];return a.defaultProps?Yr(a.defaultProps,n):!a.styleOverrides&&!a.variants?Yr(a,n):n}function pc({props:e,name:r}){const t=se.useContext(hc);return mc({props:e,name:r,theme:{components:t}})}const _a={theme:void 0};function yc(e){let r,t;return function(a){let o=r;return(o===void 0||a.theme!==t)&&(_a.theme=a.theme,o=Sa(e(_a)),r=o,t=a.theme),o}}function gc(e=""){function r(...n){if(!n.length)return"";const a=n[0];return typeof a=="string"&&!a.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}-`:""}${a}${r(...n.slice(1))})`:`, ${a}`}return(n,...a)=>`var(--${e?`${e}-`:""}${n}${r(...a)})`}const Ra=(e,r,t,n=[])=>{let a=e;r.forEach((o,i)=>{i===r.length-1?Array.isArray(a)?a[Number(o)]=t:a&&typeof a=="object"&&(a[o]=t):a&&typeof a=="object"&&(a[o]||(a[o]=n.includes(o)?[]:{}),a=a[o])})},bc=(e,r,t)=>{function n(a,o=[],i=[]){Object.entries(a).forEach(([s,l])=>{(!t||t&&!t([...o,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?n(l,[...o,s],Array.isArray(l)?[...i,s]:i):r([...o,s],l,i))})}n(e)},wc=(e,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function en(e,r){const{prefix:t,shouldSkipGeneratingVar:n}=r||{},a={},o={},i={};return bc(e,(s,l,d)=>{if((typeof l=="string"||typeof l=="number")&&(!n||!n(s,l))){const h=`--${t?`${t}-`:""}${s.join("-")}`,m=wc(s,l);Object.assign(a,{[h]:m}),Ra(o,s,`var(${h})`,d),Ra(i,s,`var(${h}, ${m})`,d)}},s=>s[0]==="vars"),{css:a,vars:o,varsWithDefaults:i}}function vc(e,r={}){const{getSelector:t=w,disableCssColorScheme:n,colorSchemeSelector:a}=r,{colorSchemes:o={},components:i,defaultColorScheme:s="light",...l}=e,{vars:d,css:h,varsWithDefaults:m}=en(l,r);let p=m;const v={},{[s]:g,...u}=o;if(Object.entries(u||{}).forEach(([S,O])=>{const{vars:b,css:N,varsWithDefaults:$}=en(O,r);p=Fe(p,$),v[S]={css:N,vars:b}}),g){const{css:S,vars:O,varsWithDefaults:b}=en(g,r);p=Fe(p,b),v[s]={css:S,vars:O}}function w(S,O){var N,$;let b=a;if(a==="class"&&(b=".%s"),a==="data"&&(b="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(b=`[${a}="%s"]`),S){if(b==="media")return e.defaultColorScheme===S?":root":{[`@media (prefers-color-scheme: ${(($=(N=o[S])==null?void 0:N.palette)==null?void 0:$.mode)||S})`]:{":root":O}};if(b)return e.defaultColorScheme===S?`:root, ${b.replace("%s",String(S))}`:b.replace("%s",String(S))}return":root"}return{vars:p,generateThemeVars:()=>{let S={...d};return Object.entries(v).forEach(([,{vars:O}])=>{S=Fe(S,O)}),S},generateStyleSheets:()=>{var A,Y;const S=[],O=e.defaultColorScheme||"light";function b(c,k){Object.keys(k).length&&S.push(typeof c=="string"?{[c]:{...k}}:c)}b(t(void 0,{...h}),h);const{[O]:N,...$}=v;if(N){const{css:c}=N,k=(Y=(A=o[O])==null?void 0:A.palette)==null?void 0:Y.mode,F=!n&&k?{colorScheme:k,...c}:{...c};b(t(O,{...F}),F)}return Object.entries($).forEach(([c,{css:k}])=>{var Q,Te;const F=(Te=(Q=o[c])==null?void 0:Q.palette)==null?void 0:Te.mode,L=!n&&F?{colorScheme:F,...k}:{...k};b(t(c,{...L}),L)}),S}}}function xc(e){return function(t){return e==="media"?(process.env.NODE_ENV!=="production"&&t!=="light"&&t!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`),`@media (prefers-color-scheme: ${t})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:e==="class"?`.${t} &`:e==="data"?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}const jt={black:"#000",white:"#fff"},Tc={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},gt={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},bt={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Lt={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},wt={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},vt={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},xt={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function Da(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:jt.white,default:jt.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Ec=Da();function Ma(){return{text:{primary:jt.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:jt.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Aa=Ma();function $a(e,r,t,n){const a=n.light||n,o=n.dark||n*1.5;e[r]||(e.hasOwnProperty(t)?e[r]=e[t]:r==="light"?e.light=Zr(e.main,a):r==="dark"&&(e.dark=Jr(e.main,o)))}function Sc(e="light"){return e==="dark"?{main:wt[200],light:wt[50],dark:wt[400]}:{main:wt[700],light:wt[400],dark:wt[800]}}function Cc(e="light"){return e==="dark"?{main:gt[200],light:gt[50],dark:gt[400]}:{main:gt[500],light:gt[300],dark:gt[700]}}function Oc(e="light"){return e==="dark"?{main:bt[500],light:bt[300],dark:bt[700]}:{main:bt[700],light:bt[400],dark:bt[800]}}function kc(e="light"){return e==="dark"?{main:vt[400],light:vt[300],dark:vt[700]}:{main:vt[700],light:vt[500],dark:vt[900]}}function Pc(e="light"){return e==="dark"?{main:xt[400],light:xt[300],dark:xt[700]}:{main:xt[800],light:xt[500],dark:xt[900]}}function _c(e="light"){return e==="dark"?{main:Lt[400],light:Lt[300],dark:Lt[700]}:{main:"#ed6c02",light:Lt[500],dark:Lt[900]}}function tn(e){const{mode:r="light",contrastThreshold:t=3,tonalOffset:n=.2,...a}=e,o=e.primary||Sc(r),i=e.secondary||Cc(r),s=e.error||Oc(r),l=e.info||kc(r),d=e.success||Pc(r),h=e.warning||_c(r);function m(u){const w=Pa(u,Aa.text.primary)>=t?Aa.text.primary:Ec.text.primary;if(process.env.NODE_ENV!=="production"){const T=Pa(u,w);T<3&&console.error([`MUI: The contrast ratio of ${T}:1 for ${w} on ${u}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
79
- `))}return w}const p=({color:u,name:w,mainShade:T=500,lightShade:C=300,darkShade:S=700})=>{if(u={...u},!u.main&&u[T]&&(u.main=u[T]),!u.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
80
- The color object needs to have a \`main\` property or a \`${T}\` property.`:at(11,w?` (${w})`:"",T));if(typeof u.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
75
+ */function Ks(e,r){const t=Gr(e,r);return process.env.NODE_ENV!=="production"?(...n)=>{const a=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${a})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
76
+ `)):n.some(o=>o===void 0)&&console.error(`MUI: the styled(${a})(...args) API requires all its args to be defined.`),t(...n)}:t}function Js(e,r){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))}const Ea=[];function Sa(e){return Ea[0]=e,va(Ea)}const Zs=e=>{const r=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return r.sort((t,n)=>t.val-n.val),r.reduce((t,n)=>({...t,[n.key]:n.val}),{})};function ec(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:n=5,...a}=e,o=Zs(r),i=Object.keys(o);function s(y){return`@media (min-width:${typeof r[y]=="number"?r[y]:y}${t})`}function l(y){return`@media (max-width:${(typeof r[y]=="number"?r[y]:y)-n/100}${t})`}function d(y,T){const p=i.indexOf(T);return`@media (min-width:${typeof r[y]=="number"?r[y]:y}${t}) and (max-width:${(p!==-1&&typeof r[i[p]]=="number"?r[i[p]]:T)-n/100}${t})`}function h(y){return i.indexOf(y)+1<i.length?d(y,i[i.indexOf(y)+1]):s(y)}function m(y){const T=i.indexOf(y);return T===0?s(i[1]):T===i.length-1?l(i[T]):d(y,i[i.indexOf(y)+1]).replace("@media","@media not all and")}return{keys:i,values:o,up:s,down:l,between:d,only:h,not:m,unit:t,...a}}const tc={borderRadius:4};function Oa(e=8,r=Yr({spacing:e})){if(e.mui)return e;const t=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(o=>{const i=r(o);return typeof i=="number"?`${i}px`:i}).join(" "));return t.mui=!0,t}function rc(e,r){var n;const t=this;if(t.vars){if(!((n=t.colorSchemes)!=null&&n[e])||typeof t.getColorSchemeSelector!="function")return{};let a=t.getColorSchemeSelector(e);return a==="&"?r:((a.includes("data-")||a.includes("."))&&(a=`*:where(${a.replace(/\s*&$/,"")}) &`),{[a]:r})}return t.palette.mode===e?r:{}}function Ca(e={},...r){const{breakpoints:t={},palette:n={},spacing:a,shape:o={},...i}=e,s=ec(t),l=Oa(a);let d=Ye({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:l,shape:{...tc,...o}},i);return d=ci(d),d.applyStyles=rc,d=r.reduce((h,m)=>Ye(h,m),d),d.unstable_sxConfig={...hr,...i==null?void 0:i.unstable_sxConfig},d.unstable_sx=function(m){return pt({sx:m,theme:this})},d}function ka(e){const{variants:r,...t}=e,n={variants:r,style:Sa(t),isProcessed:!0};return n.style===t||r&&r.forEach(a=>{typeof a.style!="function"&&(a.style=Sa(a.style))}),n}const nc=Ca();function Qr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ac(e){return e?(r,t)=>t[e]:null}function oc(e,r,t){e.theme=uc(e.theme)?t:e.theme[r]||e.theme}function Tr(e,r){const t=typeof r=="function"?r(e):r;if(Array.isArray(t))return t.flatMap(n=>Tr(e,n));if(Array.isArray(t==null?void 0:t.variants)){let n;if(t.isProcessed)n=t.style;else{const{variants:a,...o}=t;n=o}return Pa(e,t.variants,[n])}return t!=null&&t.isProcessed?t.style:t}function Pa(e,r,t=[]){var a;let n;e:for(let o=0;o<r.length;o+=1){const i=r[o];if(typeof i.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!i.props(n))continue}else for(const s in i.props)if(e[s]!==i.props[s]&&((a=e.ownerState)==null?void 0:a[s])!==i.props[s])continue e;typeof i.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),t.push(i.style(n))):t.push(i.style)}return t}function ic(e={}){const{themeId:r,defaultTheme:t=nc,rootShouldForwardProp:n=Qr,slotShouldForwardProp:a=Qr}=e;function o(s){oc(s,r,t)}return(s,l={})=>{Js(s,v=>v.filter($=>$!==pt));const{name:d,slot:h,skipVariantsResolver:m,skipSx:y,overridesResolver:T=ac(_a(h)),...p}=l,u=m!==void 0?m:h&&h!=="Root"&&h!=="root"||!1,w=y||!1;let b=Qr;h==="Root"||h==="root"?b=n:h?b=a:lc(s)&&(b=void 0);const x=Ks(s,{shouldForwardProp:b,label:cc(d,h),...p}),O=v=>{if(typeof v=="function"&&v.__emotion_real!==v)return function(A){return Tr(A,v)};if(Ze(v)){const $=ka(v);return $.variants?function(D){return Tr(D,$)}:$.style}return v},C=(...v)=>{const $=[],A=v.map(O),D=[];if($.push(o),d&&T&&D.push(function(I){var te,he;const G=(he=(te=I.theme.components)==null?void 0:te[d])==null?void 0:he.styleOverrides;if(!G)return null;const ee={};for(const ke in G)ee[ke]=Tr(I,G[ke]);return T(I,ee)}),d&&!u&&D.push(function(I){var ee,te;const L=I.theme,G=(te=(ee=L==null?void 0:L.components)==null?void 0:ee[d])==null?void 0:te.variants;return G?Pa(I,G):null}),w||D.push(pt),Array.isArray(A[0])){const k=A.shift(),I=new Array($.length).fill(""),L=new Array(D.length).fill("");let G;G=[...I,...k,...L],G.raw=[...I,...k.raw,...L],$.unshift(G)}const j=[...$,...A,...D],c=x(...j);return s.muiName&&(c.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(c.displayName=sc(d,h,s)),c};return x.withConfig&&(C.withConfig=x.withConfig),C}}function sc(e,r,t){return e?`${e}${et(r||"")}`:`Styled(${ti(t)})`}function cc(e,r){let t;return process.env.NODE_ENV!=="production"&&e&&(t=`${e}-${_a(r||"Root")}`),t}function uc(e){for(const r in e)return!1;return!0}function lc(e){return typeof e=="string"&&e.charCodeAt(0)>96}function _a(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Xr(e,r=0,t=1){return process.env.NODE_ENV!=="production"&&(e<r||e>t)&&console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),ai(e,r,t)}function fc(e){e=e.slice(1);const r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let t=e.match(r);return t&&t[0].length===1&&(t=t.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),t?`rgb${t.length===4?"a":""}(${t.map((n,a)=>a<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ct(e){if(e.type)return e;if(e.charAt(0)==="#")return ct(fc(e));const r=e.indexOf("("),t=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(t))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
77
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:it(9,e));let n=e.substring(r+1,e.length-1),a;if(t==="color"){if(n=n.split(" "),a=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(a))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${a}\` color space.
78
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:it(10,a))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:t,values:n,colorSpace:a}}const dc=e=>{const r=ct(e);return r.values.slice(0,3).map((t,n)=>r.type.includes("hsl")&&n!==0?`${t}%`:t).join(" ")},jt=(e,r)=>{try{return dc(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function Er(e){const{type:r,colorSpace:t}=e;let{values:n}=e;return r.includes("rgb")?n=n.map((a,o)=>o<3?parseInt(a,10):a):r.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),r.includes("color")?n=`${t} ${n.join(" ")}`:n=`${n.join(", ")}`,`${r}(${n})`}function Ma(e){e=ct(e);const{values:r}=e,t=r[0],n=r[1]/100,a=r[2]/100,o=n*Math.min(a,1-a),i=(d,h=(d+t/30)%12)=>a-o*Math.max(Math.min(h-3,9-h,1),-1);let s="rgb";const l=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(s+="a",l.push(r[3])),Er({type:s,values:l})}function Kr(e){e=ct(e);let r=e.type==="hsl"||e.type==="hsla"?ct(Ma(e)).values:e.values;return r=r.map(t=>(e.type!=="color"&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function Ra(e,r){const t=Kr(e),n=Kr(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)}function hc(e,r){return e=ct(e),r=Xr(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,Er(e)}function Sr(e,r,t){try{return hc(e,r)}catch{return e}}function Jr(e,r){if(e=ct(e),r=Xr(r),e.type.includes("hsl"))e.values[2]*=1-r;else if(e.type.includes("rgb")||e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]*=1-r;return Er(e)}function me(e,r,t){try{return Jr(e,r)}catch{return e}}function Zr(e,r){if(e=ct(e),r=Xr(r),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*r;else if(e.type.includes("rgb"))for(let t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*r;else if(e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]+=(1-e.values[t])*r;return Er(e)}function pe(e,r,t){try{return Zr(e,r)}catch{return e}}function mc(e,r=.15){return Kr(e)>.5?Jr(e,r):Zr(e,r)}function Or(e,r,t){try{return mc(e,r)}catch{return e}}const pc=ue.createContext(void 0);process.env.NODE_ENV!=="production"&&(N.node,N.object);function yc(e){const{theme:r,name:t,props:n}=e;if(!r||!r.components||!r.components[t])return n;const a=r.components[t];return a.defaultProps?jr(a.defaultProps,n):!a.styleOverrides&&!a.variants?jr(a,n):n}function gc({props:e,name:r}){const t=ue.useContext(pc);return yc({props:e,name:r,theme:{components:t}})}const Da={theme:void 0};function bc(e){let r,t;return function(a){let o=r;return(o===void 0||a.theme!==t)&&(Da.theme=a.theme,o=ka(e(Da)),r=o,t=a.theme),o}}function vc(e=""){function r(...n){if(!n.length)return"";const a=n[0];return typeof a=="string"&&!a.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}-`:""}${a}${r(...n.slice(1))})`:`, ${a}`}return(n,...a)=>`var(--${e?`${e}-`:""}${n}${r(...a)})`}const Aa=(e,r,t,n=[])=>{let a=e;r.forEach((o,i)=>{i===r.length-1?Array.isArray(a)?a[Number(o)]=t:a&&typeof a=="object"&&(a[o]=t):a&&typeof a=="object"&&(a[o]||(a[o]=n.includes(o)?[]:{}),a=a[o])})},wc=(e,r,t)=>{function n(a,o=[],i=[]){Object.entries(a).forEach(([s,l])=>{(!t||t&&!t([...o,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?n(l,[...o,s],Array.isArray(l)?[...i,s]:i):r([...o,s],l,i))})}n(e)},xc=(e,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function en(e,r){const{prefix:t,shouldSkipGeneratingVar:n}=r||{},a={},o={},i={};return wc(e,(s,l,d)=>{if((typeof l=="string"||typeof l=="number")&&(!n||!n(s,l))){const h=`--${t?`${t}-`:""}${s.join("-")}`,m=xc(s,l);Object.assign(a,{[h]:m}),Aa(o,s,`var(${h})`,d),Aa(i,s,`var(${h}, ${m})`,d)}},s=>s[0]==="vars"),{css:a,vars:o,varsWithDefaults:i}}function Tc(e,r={}){const{getSelector:t=w,disableCssColorScheme:n,colorSchemeSelector:a}=r,{colorSchemes:o={},components:i,defaultColorScheme:s="light",...l}=e,{vars:d,css:h,varsWithDefaults:m}=en(l,r);let y=m;const T={},{[s]:p,...u}=o;if(Object.entries(u||{}).forEach(([O,C])=>{const{vars:v,css:$,varsWithDefaults:A}=en(C,r);y=Ye(y,A),T[O]={css:$,vars:v}}),p){const{css:O,vars:C,varsWithDefaults:v}=en(p,r);y=Ye(y,v),T[s]={css:O,vars:C}}function w(O,C){var $,A;let v=a;if(a==="class"&&(v=".%s"),a==="data"&&(v="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(v=`[${a}="%s"]`),O){if(v==="media")return e.defaultColorScheme===O?":root":{[`@media (prefers-color-scheme: ${((A=($=o[O])==null?void 0:$.palette)==null?void 0:A.mode)||O})`]:{":root":C}};if(v)return e.defaultColorScheme===O?`:root, ${v.replace("%s",String(O))}`:v.replace("%s",String(O))}return":root"}return{vars:y,generateThemeVars:()=>{let O={...d};return Object.entries(T).forEach(([,{vars:C}])=>{O=Ye(O,C)}),O},generateStyleSheets:()=>{var D,j;const O=[],C=e.defaultColorScheme||"light";function v(c,k){Object.keys(k).length&&O.push(typeof c=="string"?{[c]:{...k}}:c)}v(t(void 0,{...h}),h);const{[C]:$,...A}=T;if($){const{css:c}=$,k=(j=(D=o[C])==null?void 0:D.palette)==null?void 0:j.mode,I=!n&&k?{colorScheme:k,...c}:{...c};v(t(C,{...I}),I)}return Object.entries(A).forEach(([c,{css:k}])=>{var G,ee;const I=(ee=(G=o[c])==null?void 0:G.palette)==null?void 0:ee.mode,L=!n&&I?{colorScheme:I,...k}:{...k};v(t(c,{...L}),L)}),O}}}function Ec(e){return function(t){return e==="media"?(process.env.NODE_ENV!=="production"&&t!=="light"&&t!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`),`@media (prefers-color-scheme: ${t})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:e==="class"?`.${t} &`:e==="data"?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}const Yt={black:"#000",white:"#fff"},Sc={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},vt={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},wt={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Lt={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},xt={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Tt={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Et={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function $a(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Yt.white,default:Yt.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Oc=$a();function Ia(){return{text:{primary:Yt.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Yt.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Na=Ia();function Fa(e,r,t,n){const a=n.light||n,o=n.dark||n*1.5;e[r]||(e.hasOwnProperty(t)?e[r]=e[t]:r==="light"?e.light=Zr(e.main,a):r==="dark"&&(e.dark=Jr(e.main,o)))}function Cc(e="light"){return e==="dark"?{main:xt[200],light:xt[50],dark:xt[400]}:{main:xt[700],light:xt[400],dark:xt[800]}}function kc(e="light"){return e==="dark"?{main:vt[200],light:vt[50],dark:vt[400]}:{main:vt[500],light:vt[300],dark:vt[700]}}function Pc(e="light"){return e==="dark"?{main:wt[500],light:wt[300],dark:wt[700]}:{main:wt[700],light:wt[400],dark:wt[800]}}function _c(e="light"){return e==="dark"?{main:Tt[400],light:Tt[300],dark:Tt[700]}:{main:Tt[700],light:Tt[500],dark:Tt[900]}}function Mc(e="light"){return e==="dark"?{main:Et[400],light:Et[300],dark:Et[700]}:{main:Et[800],light:Et[500],dark:Et[900]}}function Rc(e="light"){return e==="dark"?{main:Lt[400],light:Lt[300],dark:Lt[700]}:{main:"#ed6c02",light:Lt[500],dark:Lt[900]}}function tn(e){const{mode:r="light",contrastThreshold:t=3,tonalOffset:n=.2,...a}=e,o=e.primary||Cc(r),i=e.secondary||kc(r),s=e.error||Pc(r),l=e.info||_c(r),d=e.success||Mc(r),h=e.warning||Rc(r);function m(u){const w=Ra(u,Na.text.primary)>=t?Na.text.primary:Oc.text.primary;if(process.env.NODE_ENV!=="production"){const b=Ra(u,w);b<3&&console.error([`MUI: The contrast ratio of ${b}:1 for ${w} on ${u}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
79
+ `))}return w}const y=({color:u,name:w,mainShade:b=500,lightShade:x=300,darkShade:O=700})=>{if(u={...u},!u.main&&u[b]&&(u.main=u[b]),!u.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
80
+ The color object needs to have a \`main\` property or a \`${b}\` property.`:it(11,w?` (${w})`:"",b));if(typeof u.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
81
81
  \`color.main\` should be a string, but \`${JSON.stringify(u.main)}\` was provided instead.
82
82
 
83
83
  Did you intend to use one of the following approaches?
@@ -90,16 +90,16 @@ const theme1 = createTheme({ palette: {
90
90
 
91
91
  const theme2 = createTheme({ palette: {
92
92
  primary: { main: green[500] },
93
- } });`:at(12,w?` (${w})`:"",JSON.stringify(u.main)));return $a(u,"light",C,n),$a(u,"dark",S,n),u.contrastText||(u.contrastText=m(u.main)),u};let v;return r==="light"?v=Da():r==="dark"&&(v=Ma()),process.env.NODE_ENV!=="production"&&(v||console.error(`MUI: The palette mode \`${r}\` is not supported.`)),Fe({common:{...jt},mode:r,primary:p({color:o,name:"primary"}),secondary:p({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:h,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:d,name:"success"}),grey:Tc,contrastThreshold:t,getContrastText:m,augmentColor:p,tonalOffset:n,...v},a)}function Rc(e){const r={};return Object.entries(e).forEach(n=>{const[a,o]=n;typeof o=="object"&&(r[a]=`${o.fontStyle?`${o.fontStyle} `:""}${o.fontVariant?`${o.fontVariant} `:""}${o.fontWeight?`${o.fontWeight} `:""}${o.fontStretch?`${o.fontStretch} `:""}${o.fontSize||""}${o.lineHeight?`/${o.lineHeight} `:""}${o.fontFamily||""}`)}),r}function Dc(e,r){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...r}}function Mc(e){return Math.round(e*1e5)/1e5}const Ia={textTransform:"uppercase"},Na='"Roboto", "Helvetica", "Arial", sans-serif';function Ac(e,r){const{fontFamily:t=Na,fontSize:n=14,fontWeightLight:a=300,fontWeightRegular:o=400,fontWeightMedium:i=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:d,pxToRem:h,...m}=typeof r=="function"?r(e):r;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const p=n/14,v=h||(w=>`${w/l*p}rem`),g=(w,T,C,S,O)=>({fontFamily:t,fontWeight:w,fontSize:v(T),lineHeight:C,...t===Na?{letterSpacing:`${Mc(S/T)}em`}:{},...O,...d}),u={h1:g(a,96,1.167,-1.5),h2:g(a,60,1.2,-.5),h3:g(o,48,1.167,0),h4:g(o,34,1.235,.25),h5:g(o,24,1.334,0),h6:g(i,20,1.6,.15),subtitle1:g(o,16,1.75,.15),subtitle2:g(i,14,1.57,.1),body1:g(o,16,1.5,.15),body2:g(o,14,1.43,.15),button:g(i,14,1.75,.4,Ia),caption:g(o,12,1.66,.4),overline:g(o,12,2.66,1,Ia),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Fe({htmlFontSize:l,pxToRem:v,fontFamily:t,fontSize:n,fontWeightLight:a,fontWeightRegular:o,fontWeightMedium:i,fontWeightBold:s,...u},m,{clone:!1})}const $c=.2,Ic=.14,Nc=.12;function ye(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${$c})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ic})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Nc})`].join(",")}const Fc=["none",ye(0,2,1,-1,0,1,1,0,0,1,3,0),ye(0,3,1,-2,0,2,2,0,0,1,5,0),ye(0,3,3,-2,0,3,4,0,0,1,8,0),ye(0,2,4,-1,0,4,5,0,0,1,10,0),ye(0,3,5,-1,0,5,8,0,0,1,14,0),ye(0,3,5,-1,0,6,10,0,0,1,18,0),ye(0,4,5,-2,0,7,10,1,0,2,16,1),ye(0,5,5,-3,0,8,10,1,0,3,14,2),ye(0,5,6,-3,0,9,12,1,0,3,16,2),ye(0,6,6,-3,0,10,14,1,0,4,18,3),ye(0,6,7,-4,0,11,15,1,0,4,20,3),ye(0,7,8,-4,0,12,17,2,0,5,22,4),ye(0,7,8,-4,0,13,19,2,0,5,24,4),ye(0,7,9,-4,0,14,21,2,0,5,26,4),ye(0,8,9,-5,0,15,22,2,0,6,28,5),ye(0,8,10,-5,0,16,24,2,0,6,30,5),ye(0,8,11,-5,0,17,26,2,0,6,32,5),ye(0,9,11,-5,0,18,28,2,0,7,34,6),ye(0,9,12,-6,0,19,29,2,0,7,36,6),ye(0,10,13,-6,0,20,31,3,0,8,38,7),ye(0,10,13,-6,0,21,33,3,0,8,40,7),ye(0,10,14,-6,0,22,35,3,0,8,42,7),ye(0,11,14,-7,0,23,36,3,0,9,44,8),ye(0,11,15,-7,0,24,38,3,0,9,46,8)],Yc={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},jc={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Fa(e){return`${Math.round(e)}ms`}function Lc(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function Wc(e){const r={...Yc,...e.easing},t={...jc,...e.duration};return{getAutoHeightDuration:Lc,create:(a=["all"],o={})=>{const{duration:i=t.standard,easing:s=r.easeInOut,delay:l=0,...d}=o;if(process.env.NODE_ENV!=="production"){const h=p=>typeof p=="string",m=p=>!Number.isNaN(parseFloat(p));!h(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!m(i)&&!h(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),h(s)||console.error('MUI: Argument "easing" must be a string.'),!m(l)&&!h(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof o!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
94
- `)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(h=>`${h} ${typeof i=="string"?i:Fa(i)} ${s} ${typeof l=="string"?l:Fa(l)}`).join(",")},...e,easing:r,duration:t}}const Bc={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function qc(e){return Ke(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Ya(e={}){const r={...e};function t(n){const a=Object.entries(n);for(let o=0;o<a.length;o++){const[i,s]=a[o];!qc(s)||i.startsWith("unstable_")?delete n[i]:Ke(s)&&(n[i]={...s},t(n[i]))}}return t(r),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
93
+ } });`:it(12,w?` (${w})`:"",JSON.stringify(u.main)));return Fa(u,"light",x,n),Fa(u,"dark",O,n),u.contrastText||(u.contrastText=m(u.main)),u};let T;return r==="light"?T=$a():r==="dark"&&(T=Ia()),process.env.NODE_ENV!=="production"&&(T||console.error(`MUI: The palette mode \`${r}\` is not supported.`)),Ye({common:{...Yt},mode:r,primary:y({color:o,name:"primary"}),secondary:y({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:s,name:"error"}),warning:y({color:h,name:"warning"}),info:y({color:l,name:"info"}),success:y({color:d,name:"success"}),grey:Sc,contrastThreshold:t,getContrastText:m,augmentColor:y,tonalOffset:n,...T},a)}function Dc(e){const r={};return Object.entries(e).forEach(n=>{const[a,o]=n;typeof o=="object"&&(r[a]=`${o.fontStyle?`${o.fontStyle} `:""}${o.fontVariant?`${o.fontVariant} `:""}${o.fontWeight?`${o.fontWeight} `:""}${o.fontStretch?`${o.fontStretch} `:""}${o.fontSize||""}${o.lineHeight?`/${o.lineHeight} `:""}${o.fontFamily||""}`)}),r}function Ac(e,r){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...r}}function $c(e){return Math.round(e*1e5)/1e5}const ja={textTransform:"uppercase"},Ya='"Roboto", "Helvetica", "Arial", sans-serif';function Ic(e,r){const{fontFamily:t=Ya,fontSize:n=14,fontWeightLight:a=300,fontWeightRegular:o=400,fontWeightMedium:i=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:d,pxToRem:h,...m}=typeof r=="function"?r(e):r;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const y=n/14,T=h||(w=>`${w/l*y}rem`),p=(w,b,x,O,C)=>({fontFamily:t,fontWeight:w,fontSize:T(b),lineHeight:x,...t===Ya?{letterSpacing:`${$c(O/b)}em`}:{},...C,...d}),u={h1:p(a,96,1.167,-1.5),h2:p(a,60,1.2,-.5),h3:p(o,48,1.167,0),h4:p(o,34,1.235,.25),h5:p(o,24,1.334,0),h6:p(i,20,1.6,.15),subtitle1:p(o,16,1.75,.15),subtitle2:p(i,14,1.57,.1),body1:p(o,16,1.5,.15),body2:p(o,14,1.43,.15),button:p(i,14,1.75,.4,ja),caption:p(o,12,1.66,.4),overline:p(o,12,2.66,1,ja),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ye({htmlFontSize:l,pxToRem:T,fontFamily:t,fontSize:n,fontWeightLight:a,fontWeightRegular:o,fontWeightMedium:i,fontWeightBold:s,...u},m,{clone:!1})}const Nc=.2,Fc=.14,jc=.12;function be(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Nc})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Fc})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${jc})`].join(",")}const Yc=["none",be(0,2,1,-1,0,1,1,0,0,1,3,0),be(0,3,1,-2,0,2,2,0,0,1,5,0),be(0,3,3,-2,0,3,4,0,0,1,8,0),be(0,2,4,-1,0,4,5,0,0,1,10,0),be(0,3,5,-1,0,5,8,0,0,1,14,0),be(0,3,5,-1,0,6,10,0,0,1,18,0),be(0,4,5,-2,0,7,10,1,0,2,16,1),be(0,5,5,-3,0,8,10,1,0,3,14,2),be(0,5,6,-3,0,9,12,1,0,3,16,2),be(0,6,6,-3,0,10,14,1,0,4,18,3),be(0,6,7,-4,0,11,15,1,0,4,20,3),be(0,7,8,-4,0,12,17,2,0,5,22,4),be(0,7,8,-4,0,13,19,2,0,5,24,4),be(0,7,9,-4,0,14,21,2,0,5,26,4),be(0,8,9,-5,0,15,22,2,0,6,28,5),be(0,8,10,-5,0,16,24,2,0,6,30,5),be(0,8,11,-5,0,17,26,2,0,6,32,5),be(0,9,11,-5,0,18,28,2,0,7,34,6),be(0,9,12,-6,0,19,29,2,0,7,36,6),be(0,10,13,-6,0,20,31,3,0,8,38,7),be(0,10,13,-6,0,21,33,3,0,8,40,7),be(0,10,14,-6,0,22,35,3,0,8,42,7),be(0,11,14,-7,0,23,36,3,0,9,44,8),be(0,11,15,-7,0,24,38,3,0,9,46,8)],Lc={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Wc={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function La(e){return`${Math.round(e)}ms`}function Bc(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function Hc(e){const r={...Lc,...e.easing},t={...Wc,...e.duration};return{getAutoHeightDuration:Bc,create:(a=["all"],o={})=>{const{duration:i=t.standard,easing:s=r.easeInOut,delay:l=0,...d}=o;if(process.env.NODE_ENV!=="production"){const h=y=>typeof y=="string",m=y=>!Number.isNaN(parseFloat(y));!h(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!m(i)&&!h(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),h(s)||console.error('MUI: Argument "easing" must be a string.'),!m(l)&&!h(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof o!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
94
+ `)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(h=>`${h} ${typeof i=="string"?i:La(i)} ${s} ${typeof l=="string"?l:La(l)}`).join(",")},...e,easing:r,duration:t}}const Vc={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function qc(e){return Ze(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Wa(e={}){const r={...e};function t(n){const a=Object.entries(n);for(let o=0;o<a.length;o++){const[i,s]=a[o];!qc(s)||i.startsWith("unstable_")?delete n[i]:Ze(s)&&(n[i]={...s},t(n[i]))}}return t(r),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
95
95
 
96
96
  const theme = ${JSON.stringify(r,null,2)};
97
97
 
98
98
  theme.breakpoints = createBreakpoints(theme.breakpoints || {});
99
99
  theme.transitions = createTransitions(theme.transitions || {});
100
100
 
101
- export default theme;`}function rn(e={},...r){const{breakpoints:t,mixins:n={},spacing:a,palette:o={},transitions:i={},typography:s={},shape:l,...d}=e;if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":at(20));const h=tn(o),m=Ea(e);let p=Fe(m,{mixins:Dc(m.breakpoints,n),palette:h,shadows:Fc.slice(),typography:Ac(h,s),transitions:Wc(i),zIndex:{...Bc}});if(p=Fe(p,d),p=r.reduce((v,g)=>Fe(v,g),p),process.env.NODE_ENV!=="production"){const v=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],g=(u,w)=>{let T;for(T in u){const C=u[T];if(v.includes(T)&&Object.keys(C).length>0){if(process.env.NODE_ENV!=="production"){const S=rr("",T);console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${T}\` internal state.`,"You can not override it like this: ",JSON.stringify(u,null,2),"",`Instead, you need to use the '&.${S}' syntax:`,JSON.stringify({root:{[`&.${S}`]:C}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
102
- `))}u[T]={}}}};Object.keys(p.components).forEach(u=>{const w=p.components[u].styleOverrides;w&&u.startsWith("Mui")&&g(w,u)})}return p.unstable_sxConfig={...hr,...d==null?void 0:d.unstable_sxConfig},p.unstable_sx=function(g){return ht({sx:g,theme:this})},p.toRuntimeSource=Ya,p}function Hc(e){let r;return e<1?r=5.11916*e**2:r=4.5*Math.log(e+1)+2,Math.round(r*10)/1e3}const Vc=[...Array(25)].map((e,r)=>{if(r===0)return"none";const t=Hc(r);return`linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`});function ja(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function La(e){return e==="dark"?Vc:[]}function zc(e){const{palette:r={mode:"light"},opacity:t,overlays:n,...a}=e,o=tn(r);return{palette:o,opacity:{...ja(o.mode),...t},overlays:n||La(o.mode),...a}}function Uc(e){var r;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((r=e[1])!=null&&r.match(/(mode|contrastThreshold|tonalOffset)/))}const Gc=e=>[...[...Array(25)].map((r,t)=>`--${e?`${e}-`:""}overlays-${t}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Qc=e=>(r,t)=>{const n=e.rootSelector||":root",a=e.colorSchemeSelector;let o=a;if(a==="class"&&(o=".%s"),a==="data"&&(o="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(o=`[${a}="%s"]`),e.defaultColorScheme===r){if(r==="dark"){const i={};return Gc(e.cssVarPrefix).forEach(s=>{i[s]=t[s],delete t[s]}),o==="media"?{[n]:t,"@media (prefers-color-scheme: dark)":{[n]:i}}:o?{[o.replace("%s",r)]:i,[`${n}, ${o.replace("%s",r)}`]:t}:{[n]:{...t,...i}}}if(o&&o!=="media")return`${n}, ${o.replace("%s",String(r))}`}else if(r){if(o==="media")return{[`@media (prefers-color-scheme: ${String(r)})`]:{[n]:t}};if(o)return o.replace("%s",String(r))}return n};function Xc(e,r){r.forEach(t=>{e[t]||(e[t]={})})}function y(e,r,t){!e[r]&&t&&(e[r]=t)}function Wt(e){return typeof e!="string"||!e.startsWith("hsl")?e:ka(e)}function et(e,r){`${r}Channel`in e||(e[`${r}Channel`]=Yt(Wt(e[r]),`MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
103
- To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Kc(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ge=e=>{try{return e()}catch{}},Jc=(e="mui")=>gc(e);function nn(e,r,t,n){if(!r)return;r=r===!0?{}:r;const a=n==="dark"?"dark":"light";if(!t){e[n]=zc({...r,palette:{mode:a,...r==null?void 0:r.palette}});return}const{palette:o,...i}=rn({...t,palette:{mode:a,...r==null?void 0:r.palette}});return e[n]={...r,palette:o,opacity:{...ja(a),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||La(a)},i}function Zc(e={},...r){const{colorSchemes:t={light:!0},defaultColorScheme:n,disableCssColorScheme:a=!1,cssVarPrefix:o="mui",shouldSkipGeneratingVar:i=Uc,colorSchemeSelector:s=t.light&&t.dark?"media":void 0,rootSelector:l=":root",...d}=e,h=Object.keys(t)[0],m=n||(t.light&&h!=="light"?"light":h),p=Jc(o),{[m]:v,light:g,dark:u,...w}=t,T={...w};let C=v;if((m==="dark"&&!("dark"in t)||m==="light"&&!("light"in t))&&(C=!0),!C)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${m}\` option is either missing or invalid.`:at(21,m));const S=nn(T,C,d,m);g&&!T.light&&nn(T,g,void 0,"light"),u&&!T.dark&&nn(T,u,void 0,"dark");let O={defaultColorScheme:m,...S,cssVarPrefix:o,colorSchemeSelector:s,rootSelector:l,getCssVar:p,colorSchemes:T,font:{...Rc(S.typography),...S.font},spacing:Kc(d.spacing)};Object.keys(O.colorSchemes).forEach(Y=>{const c=O.colorSchemes[Y].palette,k=F=>{const L=F.split("-"),Q=L[1],Te=L[2];return p(F,c[Q][Te])};if(c.mode==="light"&&(y(c.common,"background","#fff"),y(c.common,"onBackground","#000")),c.mode==="dark"&&(y(c.common,"background","#000"),y(c.common,"onBackground","#fff")),Xc(c,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),c.mode==="light"){y(c.Alert,"errorColor",fe(c.error.light,.6)),y(c.Alert,"infoColor",fe(c.info.light,.6)),y(c.Alert,"successColor",fe(c.success.light,.6)),y(c.Alert,"warningColor",fe(c.warning.light,.6)),y(c.Alert,"errorFilledBg",k("palette-error-main")),y(c.Alert,"infoFilledBg",k("palette-info-main")),y(c.Alert,"successFilledBg",k("palette-success-main")),y(c.Alert,"warningFilledBg",k("palette-warning-main")),y(c.Alert,"errorFilledColor",Ge(()=>c.getContrastText(c.error.main))),y(c.Alert,"infoFilledColor",Ge(()=>c.getContrastText(c.info.main))),y(c.Alert,"successFilledColor",Ge(()=>c.getContrastText(c.success.main))),y(c.Alert,"warningFilledColor",Ge(()=>c.getContrastText(c.warning.main))),y(c.Alert,"errorStandardBg",de(c.error.light,.9)),y(c.Alert,"infoStandardBg",de(c.info.light,.9)),y(c.Alert,"successStandardBg",de(c.success.light,.9)),y(c.Alert,"warningStandardBg",de(c.warning.light,.9)),y(c.Alert,"errorIconColor",k("palette-error-main")),y(c.Alert,"infoIconColor",k("palette-info-main")),y(c.Alert,"successIconColor",k("palette-success-main")),y(c.Alert,"warningIconColor",k("palette-warning-main")),y(c.AppBar,"defaultBg",k("palette-grey-100")),y(c.Avatar,"defaultBg",k("palette-grey-400")),y(c.Button,"inheritContainedBg",k("palette-grey-300")),y(c.Button,"inheritContainedHoverBg",k("palette-grey-A100")),y(c.Chip,"defaultBorder",k("palette-grey-400")),y(c.Chip,"defaultAvatarColor",k("palette-grey-700")),y(c.Chip,"defaultIconColor",k("palette-grey-700")),y(c.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),y(c.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),y(c.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),y(c.LinearProgress,"primaryBg",de(c.primary.main,.62)),y(c.LinearProgress,"secondaryBg",de(c.secondary.main,.62)),y(c.LinearProgress,"errorBg",de(c.error.main,.62)),y(c.LinearProgress,"infoBg",de(c.info.main,.62)),y(c.LinearProgress,"successBg",de(c.success.main,.62)),y(c.LinearProgress,"warningBg",de(c.warning.main,.62)),y(c.Skeleton,"bg",`rgba(${k("palette-text-primaryChannel")} / 0.11)`),y(c.Slider,"primaryTrack",de(c.primary.main,.62)),y(c.Slider,"secondaryTrack",de(c.secondary.main,.62)),y(c.Slider,"errorTrack",de(c.error.main,.62)),y(c.Slider,"infoTrack",de(c.info.main,.62)),y(c.Slider,"successTrack",de(c.success.main,.62)),y(c.Slider,"warningTrack",de(c.warning.main,.62));const F=Cr(c.background.default,.8);y(c.SnackbarContent,"bg",F),y(c.SnackbarContent,"color",Ge(()=>c.getContrastText(F))),y(c.SpeedDialAction,"fabHoverBg",Cr(c.background.paper,.15)),y(c.StepConnector,"border",k("palette-grey-400")),y(c.StepContent,"border",k("palette-grey-400")),y(c.Switch,"defaultColor",k("palette-common-white")),y(c.Switch,"defaultDisabledColor",k("palette-grey-100")),y(c.Switch,"primaryDisabledColor",de(c.primary.main,.62)),y(c.Switch,"secondaryDisabledColor",de(c.secondary.main,.62)),y(c.Switch,"errorDisabledColor",de(c.error.main,.62)),y(c.Switch,"infoDisabledColor",de(c.info.main,.62)),y(c.Switch,"successDisabledColor",de(c.success.main,.62)),y(c.Switch,"warningDisabledColor",de(c.warning.main,.62)),y(c.TableCell,"border",de(Sr(c.divider,1),.88)),y(c.Tooltip,"bg",Sr(c.grey[700],.92))}if(c.mode==="dark"){y(c.Alert,"errorColor",de(c.error.light,.6)),y(c.Alert,"infoColor",de(c.info.light,.6)),y(c.Alert,"successColor",de(c.success.light,.6)),y(c.Alert,"warningColor",de(c.warning.light,.6)),y(c.Alert,"errorFilledBg",k("palette-error-dark")),y(c.Alert,"infoFilledBg",k("palette-info-dark")),y(c.Alert,"successFilledBg",k("palette-success-dark")),y(c.Alert,"warningFilledBg",k("palette-warning-dark")),y(c.Alert,"errorFilledColor",Ge(()=>c.getContrastText(c.error.dark))),y(c.Alert,"infoFilledColor",Ge(()=>c.getContrastText(c.info.dark))),y(c.Alert,"successFilledColor",Ge(()=>c.getContrastText(c.success.dark))),y(c.Alert,"warningFilledColor",Ge(()=>c.getContrastText(c.warning.dark))),y(c.Alert,"errorStandardBg",fe(c.error.light,.9)),y(c.Alert,"infoStandardBg",fe(c.info.light,.9)),y(c.Alert,"successStandardBg",fe(c.success.light,.9)),y(c.Alert,"warningStandardBg",fe(c.warning.light,.9)),y(c.Alert,"errorIconColor",k("palette-error-main")),y(c.Alert,"infoIconColor",k("palette-info-main")),y(c.Alert,"successIconColor",k("palette-success-main")),y(c.Alert,"warningIconColor",k("palette-warning-main")),y(c.AppBar,"defaultBg",k("palette-grey-900")),y(c.AppBar,"darkBg",k("palette-background-paper")),y(c.AppBar,"darkColor",k("palette-text-primary")),y(c.Avatar,"defaultBg",k("palette-grey-600")),y(c.Button,"inheritContainedBg",k("palette-grey-800")),y(c.Button,"inheritContainedHoverBg",k("palette-grey-700")),y(c.Chip,"defaultBorder",k("palette-grey-700")),y(c.Chip,"defaultAvatarColor",k("palette-grey-300")),y(c.Chip,"defaultIconColor",k("palette-grey-300")),y(c.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),y(c.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),y(c.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),y(c.LinearProgress,"primaryBg",fe(c.primary.main,.5)),y(c.LinearProgress,"secondaryBg",fe(c.secondary.main,.5)),y(c.LinearProgress,"errorBg",fe(c.error.main,.5)),y(c.LinearProgress,"infoBg",fe(c.info.main,.5)),y(c.LinearProgress,"successBg",fe(c.success.main,.5)),y(c.LinearProgress,"warningBg",fe(c.warning.main,.5)),y(c.Skeleton,"bg",`rgba(${k("palette-text-primaryChannel")} / 0.13)`),y(c.Slider,"primaryTrack",fe(c.primary.main,.5)),y(c.Slider,"secondaryTrack",fe(c.secondary.main,.5)),y(c.Slider,"errorTrack",fe(c.error.main,.5)),y(c.Slider,"infoTrack",fe(c.info.main,.5)),y(c.Slider,"successTrack",fe(c.success.main,.5)),y(c.Slider,"warningTrack",fe(c.warning.main,.5));const F=Cr(c.background.default,.98);y(c.SnackbarContent,"bg",F),y(c.SnackbarContent,"color",Ge(()=>c.getContrastText(F))),y(c.SpeedDialAction,"fabHoverBg",Cr(c.background.paper,.15)),y(c.StepConnector,"border",k("palette-grey-600")),y(c.StepContent,"border",k("palette-grey-600")),y(c.Switch,"defaultColor",k("palette-grey-300")),y(c.Switch,"defaultDisabledColor",k("palette-grey-600")),y(c.Switch,"primaryDisabledColor",fe(c.primary.main,.55)),y(c.Switch,"secondaryDisabledColor",fe(c.secondary.main,.55)),y(c.Switch,"errorDisabledColor",fe(c.error.main,.55)),y(c.Switch,"infoDisabledColor",fe(c.info.main,.55)),y(c.Switch,"successDisabledColor",fe(c.success.main,.55)),y(c.Switch,"warningDisabledColor",fe(c.warning.main,.55)),y(c.TableCell,"border",fe(Sr(c.divider,1),.68)),y(c.Tooltip,"bg",Sr(c.grey[700],.92))}et(c.background,"default"),et(c.background,"paper"),et(c.common,"background"),et(c.common,"onBackground"),et(c,"divider"),Object.keys(c).forEach(F=>{const L=c[F];F!=="tonalOffset"&&L&&typeof L=="object"&&(L.main&&y(c[F],"mainChannel",Yt(Wt(L.main))),L.light&&y(c[F],"lightChannel",Yt(Wt(L.light))),L.dark&&y(c[F],"darkChannel",Yt(Wt(L.dark))),L.contrastText&&y(c[F],"contrastTextChannel",Yt(Wt(L.contrastText))),F==="text"&&(et(c[F],"primary"),et(c[F],"secondary")),F==="action"&&(L.active&&et(c[F],"active"),L.selected&&et(c[F],"selected")))})}),O=r.reduce((Y,c)=>Fe(Y,c),O);const b={prefix:o,disableCssColorScheme:a,shouldSkipGeneratingVar:i,getSelector:Qc(O)},{vars:N,generateThemeVars:$,generateStyleSheets:A}=vc(O,b);return O.vars=N,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([Y,c])=>{O[Y]=c}),O.generateThemeVars=$,O.generateStyleSheets=A,O.generateSpacing=function(){return Ta(d.spacing,jr(this))},O.getColorSchemeSelector=xc(s),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=i,O.unstable_sxConfig={...hr,...d==null?void 0:d.unstable_sxConfig},O.unstable_sx=function(c){return ht({sx:c,theme:this})},O.toRuntimeSource=Ya,O}function Wa(e,r,t){e.colorSchemes&&t&&(e.colorSchemes[r]={...t!==!0&&t,palette:tn({...t===!0?{}:t.palette,mode:r})})}function eu(e={},...r){const{palette:t,cssVariables:n=!1,colorSchemes:a=t?void 0:{light:!0},defaultColorScheme:o=t==null?void 0:t.mode,...i}=e,s=o||"light",l=a==null?void 0:a[s],d={...a,...t?{[s]:{...typeof l!="boolean"&&l,palette:t}}:void 0};if(n===!1){if(!("colorSchemes"in e))return rn(e,...r);let h=t;"palette"in e||d[s]&&(d[s]!==!0?h=d[s].palette:s==="dark"&&(h={mode:"dark"}));const m=rn({...e,palette:h},...r);return m.defaultColorScheme=s,m.colorSchemes=d,m.palette.mode==="light"&&(m.colorSchemes.light={...d.light!==!0&&d.light,palette:m.palette},Wa(m,"dark",d.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:m.palette},Wa(m,"light",d.light)),m}return!t&&!("light"in d)&&s==="light"&&(d.light=!0),Zc({...i,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...r)}const tu=eu(),ru="$$material";function nu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ba=ac({themeId:ru,defaultTheme:tu,rootShouldForwardProp:e=>nu(e)&&e!=="classes"}),au=yc;process.env.NODE_ENV!=="production"&&(M.node,M.object.isRequired);function qa(e){return pc(e)}function ou(e){return rr("MuiSvgIcon",e)}Gn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const iu=e=>{const{color:r,fontSize:t,classes:n}=e,a={root:["root",r!=="inherit"&&`color${Je(r)}`,`fontSize${Je(t)}`]};return zn(a,ou,n)},su=Ba("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,t.color!=="inherit"&&r[`color${Je(t.color)}`],r[`fontSize${Je(t.fontSize)}`]]}})(au(({theme:e})=>{var r,t,n,a,o,i,s,l,d,h,m,p,v,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(a=(r=e.transitions)==null?void 0:r.create)==null?void 0:a.call(r,"fill",{duration:(n=(t=(e.vars??e).transitions)==null?void 0:t.duration)==null?void 0:n.shorter}),variants:[{props:u=>!u.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((i=(o=e.typography)==null?void 0:o.pxToRem)==null?void 0:i.call(o,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((l=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((h=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:h.call(d,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,u])=>u&&u.main).map(([u])=>{var w,T;return{props:{color:u},style:{color:(T=(w=(e.vars??e).palette)==null?void 0:w[u])==null?void 0:T.main}}}),{props:{color:"action"},style:{color:(p=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:p.active}},{props:{color:"disabled"},style:{color:(g=(v=(e.vars??e).palette)==null?void 0:v.action)==null?void 0:g.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Or=se.forwardRef(function(r,t){const n=qa({props:r,name:"MuiSvgIcon"}),{children:a,className:o,color:i="inherit",component:s="svg",fontSize:l="medium",htmlColor:d,inheritViewBox:h=!1,titleAccess:m,viewBox:p="0 0 24 24",...v}=n,g=se.isValidElement(a)&&a.type==="svg",u={...n,color:i,component:s,fontSize:l,instanceFontSize:r.fontSize,inheritViewBox:h,viewBox:p,hasSvgAsChild:g},w={};h||(w.viewBox=p);const T=iu(u);return j.jsxs(su,{as:s,className:Xn(T.root,o),focusable:"false",color:d,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:t,...w,...v,...g&&a.props,ownerState:u,children:[g?a.props.children:a,m?j.jsx("title",{children:m}):null]})});process.env.NODE_ENV!=="production"&&(Or.propTypes={children:M.node,classes:M.object,className:M.string,color:M.oneOfType([M.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),M.string]),component:M.elementType,fontSize:M.oneOfType([M.oneOf(["inherit","large","medium","small"]),M.string]),htmlColor:M.string,inheritViewBox:M.bool,shapeRendering:M.string,sx:M.oneOfType([M.arrayOf(M.oneOfType([M.func,M.object,M.bool])),M.func,M.object]),titleAccess:M.string,viewBox:M.string}),Or.muiName="SvgIcon";function an(e,r){function t(n,a){return j.jsx(Or,{"data-testid":`${r}Icon`,ref:a,...n,children:e})}return process.env.NODE_ENV!=="production"&&(t.displayName=`${r}Icon`),t.muiName=Or.muiName,se.memo(se.forwardRef(t))}const cu=an(j.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5.97 4.06L14.09 6l1.41 1.41L16.91 6l1.06 1.06-1.41 1.41 1.41 1.41-1.06 1.06-1.41-1.4-1.41 1.41-1.06-1.06 1.41-1.41zm-6.78.66h5v1.5h-5zM11.5 16h-2v2H8v-2H6v-1.5h2v-2h1.5v2h2zm6.5 1.25h-5v-1.5h5zm0-2.5h-5v-1.5h5z"}),"Calculate");function uu({name:e,label:r,sx:t={}}){const{control:n}=nt.useFormContext(),o={...Kt(),...t};return j.jsx(nt.Controller,{name:e,control:n,render:({field:i})=>j.jsxs(ie.FormControl,{sx:{marginY:.5,...o},children:[j.jsx(ie.FormLabel,{sx:{fontWeight:500,color:rt.capitalDesignTokens.foundations.colors.gray1000},children:r}),j.jsxs(ie.Typography,{sx:{display:"flex",flexDirection:"row",gap:.5,marginTop:.5},children:[j.jsx(cu,{sx:{color:rt.capitalDesignTokens.foundations.colors.gray500}}),j.jsx("span",{children:i.value||0})]})]})})}function lu({name:e,label:r,options:t,sx:n={},disabled:a,rules:o={},...i}){const{field:s,fieldState:{error:l}}=nt.useController({name:e,rules:o}),h={...Kt(),...n};return j.jsx(ie.Box,{sx:h,children:j.jsxs(ie.FormControl,{fullWidth:!0,error:!!l,disabled:a,children:[j.jsx(ie.FormLabel,{id:`${e}-label`,sx:{fontWeight:500,color:rt.capitalDesignTokens.foundations.colors.gray1000,marginBottom:1},children:r}),j.jsx(ie.Select,{labelId:`${e}-label`,id:`${e}-select`,...s,...i,displayEmpty:!0,variant:"outlined",fullWidth:!0,children:t.map(m=>j.jsx(ie.MenuItem,{value:m.key,children:m.displayValue},m.key))}),l&&j.jsx(ie.FormHelperText,{children:l.message})]})})}const fu=an(j.jsx("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1z"}),"Lock"),du=an(j.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"}),"Help");function hu({children:e,internal:r,required:t,helpText:n}){return j.jsxs(ie.Box,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[j.jsxs(ie.Box,{sx:{display:"flex",alignItems:"center",gap:.5},children:[j.jsxs(ie.Typography,{variant:"h4",color:"black",sx:{whiteSpace:"normal",wordBreak:"break-word"},children:[e,t&&"*"]}),n&&n!==""&&j.jsx(ie.Tooltip,{placement:"top",title:j.jsx(ie.Typography,{variant:"bodyXSmall",sx:{whiteSpace:"pre-line"},children:n}),sx:{cursor:"default"},children:j.jsx(du,{fontSize:"small",htmlColor:rt.capitalDesignTokens.foundations.colors.gray600})})]}),r&&j.jsx(ie.Tooltip,{placement:"top",title:"This field is hidden from the public.",sx:{cursor:"default"},children:j.jsx(fu,{htmlColor:rt.capitalDesignTokens.foundations.colors.white,sx:{height:"14px",width:"14px",padding:"2px",border:"1px solid",borderColor:rt.capitalDesignTokens.foundations.colors.yellow700,borderRadius:"50%",background:rt.capitalDesignTokens.foundations.colors.yellow700}})})]})}function Ha(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Va(e,r=!1){return e&&(Ha(e.value)&&e.value!==""||r&&Ha(e.defaultValue)&&e.defaultValue!=="")}function mu(e){return e.startAdornment}const za=se.createContext(void 0);process.env.NODE_ENV!=="production"&&(za.displayName="FormControlContext");function pu(e){return rr("MuiFormControl",e)}Gn("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const yu=e=>{const{classes:r,margin:t,fullWidth:n}=e,a={root:["root",t!=="none"&&`margin${Je(t)}`,n&&"fullWidth"]};return zn(a,pu,r)},gu=Ba("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,r[`margin${Je(t.margin)}`],t.fullWidth&&r.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),Ua=se.forwardRef(function(r,t){const n=qa({props:r,name:"MuiFormControl"}),{children:a,className:o,color:i="primary",component:s="div",disabled:l=!1,error:d=!1,focused:h,fullWidth:m=!1,hiddenLabel:p=!1,margin:v="none",required:g=!1,size:u="medium",variant:w="outlined",...T}=n,C={...n,color:i,component:s,disabled:l,error:d,fullWidth:m,hiddenLabel:p,margin:v,required:g,size:u,variant:w},S=yu(C),[O,b]=se.useState(()=>{let pe=!1;return a&&se.Children.forEach(a,Ee=>{if(!Fr(Ee,["Input","Select"]))return;const Le=Fr(Ee,["Select"])?Ee.props.input:Ee;Le&&mu(Le.props)&&(pe=!0)}),pe}),[N,$]=se.useState(()=>{let pe=!1;return a&&se.Children.forEach(a,Ee=>{Fr(Ee,["Input","Select"])&&(Va(Ee.props,!0)||Va(Ee.props.inputProps,!0))&&(pe=!0)}),pe}),[A,Y]=se.useState(!1);l&&A&&Y(!1);const c=h!==void 0&&!l?h:A;let k;const F=se.useRef(!1);process.env.NODE_ENV!=="production"&&(k=()=>(F.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
104
- `)),F.current=!0,()=>{F.current=!1}));const L=se.useCallback(()=>{$(!0)},[]),Q=se.useCallback(()=>{$(!1)},[]),Te=se.useMemo(()=>({adornedStart:O,setAdornedStart:b,color:i,disabled:l,error:d,filled:N,focused:c,fullWidth:m,hiddenLabel:p,size:u,onBlur:()=>{Y(!1)},onFocus:()=>{Y(!0)},onEmpty:Q,onFilled:L,registerEffect:k,required:g,variant:w}),[O,i,l,d,N,c,m,p,k,Q,L,g,u,w]);return j.jsx(za.Provider,{value:Te,children:j.jsx(gu,{as:s,ownerState:C,className:Xn(S.root,o),ref:t,...T,children:a})})});process.env.NODE_ENV!=="production"&&(Ua.propTypes={children:M.node,classes:M.object,className:M.string,color:M.oneOfType([M.oneOf(["primary","secondary","error","info","success","warning"]),M.string]),component:M.elementType,disabled:M.bool,error:M.bool,focused:M.bool,fullWidth:M.bool,hiddenLabel:M.bool,margin:M.oneOf(["dense","none","normal"]),required:M.bool,size:M.oneOfType([M.oneOf(["medium","small"]),M.string]),sx:M.oneOfType([M.arrayOf(M.oneOfType([M.func,M.object,M.bool])),M.func,M.object]),variant:M.oneOf(["filled","outlined","standard"])});const Ga=6048e5,bu=864e5,Qa=6e4,Xa=36e5,wu=1e3,Ka=Symbol.for("constructDateFrom");function ge(e,r){return typeof e=="function"?e(r):e&&typeof e=="object"&&Ka in e?e[Ka](r):e instanceof Date?new e.constructor(r):new Date(r)}function I(e,r){return ge(r||e,e)}function Bt(e,r,t){const n=I(e,t==null?void 0:t.in);return isNaN(r)?ge((t==null?void 0:t.in)||e,NaN):(r&&n.setDate(n.getDate()+r),n)}function Ja(e,r,t){return ge(e,+I(e)+r)}function vu(e,r,t){return Ja(e,r*1e3)}function xu(e,r,t){const n=I(e,t==null?void 0:t.in);return n.setTime(n.getTime()+r*Qa),n}function Tu(e,r,t){return Ja(e,r*Xa)}function Eu(e,r,t){return Bt(e,r*7,t)}function Za(e,r,t){const n=I(e,t==null?void 0:t.in);if(isNaN(r))return ge(e,NaN);if(!r)return n;const a=n.getDate(),o=ge(e,n.getTime());o.setMonth(n.getMonth()+r+1,0);const i=o.getDate();return a>=i?o:(n.setFullYear(o.getFullYear(),o.getMonth(),a),n)}function Su(e,r,t){return Za(e,r*12,t)}function eo(e,r){const t=I(e,r==null?void 0:r.in);return t.setHours(23,59,59,999),t}let Cu={};function ct(){return Cu}function Ou(e,r){var s,l,d,h;const t=ct(),n=(r==null?void 0:r.weekStartsOn)??((l=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((h=(d=t.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??0,a=I(e,r==null?void 0:r.in),o=a.getDay(),i=(o<n?-7:0)+6-(o-n);return a.setDate(a.getDate()+i),a.setHours(23,59,59,999),a}function to(e,r){const t=I(e,r==null?void 0:r.in),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}const ku={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Pu=(e,r,t)=>{let n;const a=ku[e];return typeof a=="string"?n=a:r===1?n=a.one:n=a.other.replace("{{count}}",r.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n};function on(e){return(r={})=>{const t=r.width?String(r.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const _u={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ru={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Du={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Mu={date:on({formats:_u,defaultWidth:"full"}),time:on({formats:Ru,defaultWidth:"full"}),dateTime:on({formats:Du,defaultWidth:"full"})},Au={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},$u=(e,r,t,n)=>Au[e];function qt(e){return(r,t)=>{const n=t!=null&&t.context?String(t.context):"standalone";let a;if(n==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=t!=null&&t.width?String(t.width):i;a=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=t!=null&&t.width?String(t.width):e.defaultWidth;a=e.values[s]||e.values[i]}const o=e.argumentCallback?e.argumentCallback(r):r;return a[o]}}const Iu={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Nu={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Fu={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Yu={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ju={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Lu={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Wu={ordinalNumber:(e,r)=>{const t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:qt({values:Iu,defaultWidth:"wide"}),quarter:qt({values:Nu,defaultWidth:"wide",argumentCallback:e=>e-1}),month:qt({values:Fu,defaultWidth:"wide"}),day:qt({values:Yu,defaultWidth:"wide"}),dayPeriod:qt({values:ju,defaultWidth:"wide",formattingValues:Lu,defaultFormattingWidth:"wide"})};function Ht(e){return(r,t={})=>{const n=t.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=r.match(a);if(!o)return null;const i=o[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?qu(s,m=>m.test(i)):Bu(s,m=>m.test(i));let d;d=e.valueCallback?e.valueCallback(l):l,d=t.valueCallback?t.valueCallback(d):d;const h=r.slice(i.length);return{value:d,rest:h}}}function Bu(e,r){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&r(e[t]))return t}function qu(e,r){for(let t=0;t<e.length;t++)if(r(e[t]))return t}function Hu(e){return(r,t={})=>{const n=r.match(e.matchPattern);if(!n)return null;const a=n[0],o=r.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=t.valueCallback?t.valueCallback(i):i;const s=r.slice(a.length);return{value:i,rest:s}}}const Vu=/^(\d+)(th|st|nd|rd)?/i,zu=/\d+/i,Uu={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Gu={any:[/^b/i,/^(a|c)/i]},Qu={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Xu={any:[/1/i,/2/i,/3/i,/4/i]},Ku={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ju={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Zu={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},el={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},tl={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},rl={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},nl={ordinalNumber:Hu({matchPattern:Vu,parsePattern:zu,valueCallback:e=>parseInt(e,10)}),era:Ht({matchPatterns:Uu,defaultMatchWidth:"wide",parsePatterns:Gu,defaultParseWidth:"any"}),quarter:Ht({matchPatterns:Qu,defaultMatchWidth:"wide",parsePatterns:Xu,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ht({matchPatterns:Ku,defaultMatchWidth:"wide",parsePatterns:Ju,defaultParseWidth:"any"}),day:Ht({matchPatterns:Zu,defaultMatchWidth:"wide",parsePatterns:el,defaultParseWidth:"any"}),dayPeriod:Ht({matchPatterns:tl,defaultMatchWidth:"any",parsePatterns:rl,defaultParseWidth:"any"})},sn={code:"en-US",formatDistance:Pu,formatLong:Mu,formatRelative:$u,localize:Wu,match:nl,options:{weekStartsOn:0,firstWeekContainsDate:1}};function kr(e){const r=I(e),t=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return t.setUTCFullYear(r.getFullYear()),+e-+t}function Vt(e,...r){const t=ge.bind(null,r.find(n=>typeof n=="object"));return r.map(t)}function zt(e,r){const t=I(e,r==null?void 0:r.in);return t.setHours(0,0,0,0),t}function al(e,r,t){const[n,a]=Vt(t==null?void 0:t.in,e,r),o=zt(n),i=zt(a),s=+o-kr(o),l=+i-kr(i);return Math.round((s-l)/bu)}function ro(e,r){const t=I(e,r==null?void 0:r.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function ol(e,r){const t=I(e,r==null?void 0:r.in);return al(t,ro(t))+1}function tt(e,r){var s,l,d,h;const t=ct(),n=(r==null?void 0:r.weekStartsOn)??((l=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((h=(d=t.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??0,a=I(e,r==null?void 0:r.in),o=a.getDay(),i=(o<n?7:0)+o-n;return a.setDate(a.getDate()-i),a.setHours(0,0,0,0),a}function Tt(e,r){return tt(e,{...r,weekStartsOn:1})}function no(e,r){const t=I(e,r==null?void 0:r.in),n=t.getFullYear(),a=ge(t,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const o=Tt(a),i=ge(t,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const s=Tt(i);return t.getTime()>=o.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function il(e,r){const t=no(e,r),n=ge(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),Tt(n)}function ao(e,r){const t=I(e,r==null?void 0:r.in),n=+Tt(t)-+il(t);return Math.round(n/Ga)+1}function cn(e,r){var h,m,p,v;const t=I(e,r==null?void 0:r.in),n=t.getFullYear(),a=ct(),o=(r==null?void 0:r.firstWeekContainsDate)??((m=(h=r==null?void 0:r.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??a.firstWeekContainsDate??((v=(p=a.locale)==null?void 0:p.options)==null?void 0:v.firstWeekContainsDate)??1,i=ge((r==null?void 0:r.in)||e,0);i.setFullYear(n+1,0,o),i.setHours(0,0,0,0);const s=tt(i,r),l=ge((r==null?void 0:r.in)||e,0);l.setFullYear(n,0,o),l.setHours(0,0,0,0);const d=tt(l,r);return+t>=+s?n+1:+t>=+d?n:n-1}function sl(e,r){var s,l,d,h;const t=ct(),n=(r==null?void 0:r.firstWeekContainsDate)??((l=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??t.firstWeekContainsDate??((h=(d=t.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??1,a=cn(e,r),o=ge((r==null?void 0:r.in)||e,0);return o.setFullYear(a,0,n),o.setHours(0,0,0,0),tt(o,r)}function un(e,r){const t=I(e,r==null?void 0:r.in),n=+tt(t,r)-+sl(t,r);return Math.round(n/Ga)+1}function ce(e,r){const t=e<0?"-":"",n=Math.abs(e).toString().padStart(r,"0");return t+n}const st={y(e,r){const t=e.getFullYear(),n=t>0?t:1-t;return ce(r==="yy"?n%100:n,r.length)},M(e,r){const t=e.getMonth();return r==="M"?String(t+1):ce(t+1,2)},d(e,r){return ce(e.getDate(),r.length)},a(e,r){const t=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(e,r){return ce(e.getHours()%12||12,r.length)},H(e,r){return ce(e.getHours(),r.length)},m(e,r){return ce(e.getMinutes(),r.length)},s(e,r){return ce(e.getSeconds(),r.length)},S(e,r){const t=r.length,n=e.getMilliseconds(),a=Math.trunc(n*Math.pow(10,t-3));return ce(a,r.length)}},Et={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},oo={G:function(e,r,t){const n=e.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return t.era(n,{width:"abbreviated"});case"GGGGG":return t.era(n,{width:"narrow"});case"GGGG":default:return t.era(n,{width:"wide"})}},y:function(e,r,t){if(r==="yo"){const n=e.getFullYear(),a=n>0?n:1-n;return t.ordinalNumber(a,{unit:"year"})}return st.y(e,r)},Y:function(e,r,t,n){const a=cn(e,n),o=a>0?a:1-a;if(r==="YY"){const i=o%100;return ce(i,2)}return r==="Yo"?t.ordinalNumber(o,{unit:"year"}):ce(o,r.length)},R:function(e,r){const t=no(e);return ce(t,r.length)},u:function(e,r){const t=e.getFullYear();return ce(t,r.length)},Q:function(e,r,t){const n=Math.ceil((e.getMonth()+1)/3);switch(r){case"Q":return String(n);case"QQ":return ce(n,2);case"Qo":return t.ordinalNumber(n,{unit:"quarter"});case"QQQ":return t.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,r,t){const n=Math.ceil((e.getMonth()+1)/3);switch(r){case"q":return String(n);case"qq":return ce(n,2);case"qo":return t.ordinalNumber(n,{unit:"quarter"});case"qqq":return t.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,r,t){const n=e.getMonth();switch(r){case"M":case"MM":return st.M(e,r);case"Mo":return t.ordinalNumber(n+1,{unit:"month"});case"MMM":return t.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(n,{width:"wide",context:"formatting"})}},L:function(e,r,t){const n=e.getMonth();switch(r){case"L":return String(n+1);case"LL":return ce(n+1,2);case"Lo":return t.ordinalNumber(n+1,{unit:"month"});case"LLL":return t.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(n,{width:"wide",context:"standalone"})}},w:function(e,r,t,n){const a=un(e,n);return r==="wo"?t.ordinalNumber(a,{unit:"week"}):ce(a,r.length)},I:function(e,r,t){const n=ao(e);return r==="Io"?t.ordinalNumber(n,{unit:"week"}):ce(n,r.length)},d:function(e,r,t){return r==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):st.d(e,r)},D:function(e,r,t){const n=ol(e);return r==="Do"?t.ordinalNumber(n,{unit:"dayOfYear"}):ce(n,r.length)},E:function(e,r,t){const n=e.getDay();switch(r){case"E":case"EE":case"EEE":return t.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(n,{width:"short",context:"formatting"});case"EEEE":default:return t.day(n,{width:"wide",context:"formatting"})}},e:function(e,r,t,n){const a=e.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return ce(o,2);case"eo":return t.ordinalNumber(o,{unit:"day"});case"eee":return t.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(a,{width:"short",context:"formatting"});case"eeee":default:return t.day(a,{width:"wide",context:"formatting"})}},c:function(e,r,t,n){const a=e.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return ce(o,r.length);case"co":return t.ordinalNumber(o,{unit:"day"});case"ccc":return t.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(a,{width:"narrow",context:"standalone"});case"cccccc":return t.day(a,{width:"short",context:"standalone"});case"cccc":default:return t.day(a,{width:"wide",context:"standalone"})}},i:function(e,r,t){const n=e.getDay(),a=n===0?7:n;switch(r){case"i":return String(a);case"ii":return ce(a,r.length);case"io":return t.ordinalNumber(a,{unit:"day"});case"iii":return t.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(n,{width:"short",context:"formatting"});case"iiii":default:return t.day(n,{width:"wide",context:"formatting"})}},a:function(e,r,t){const a=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,r,t){const n=e.getHours();let a;switch(n===12?a=Et.noon:n===0?a=Et.midnight:a=n/12>=1?"pm":"am",r){case"b":case"bb":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,r,t){const n=e.getHours();let a;switch(n>=17?a=Et.evening:n>=12?a=Et.afternoon:n>=4?a=Et.morning:a=Et.night,r){case"B":case"BB":case"BBB":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,r,t){if(r==="ho"){let n=e.getHours()%12;return n===0&&(n=12),t.ordinalNumber(n,{unit:"hour"})}return st.h(e,r)},H:function(e,r,t){return r==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):st.H(e,r)},K:function(e,r,t){const n=e.getHours()%12;return r==="Ko"?t.ordinalNumber(n,{unit:"hour"}):ce(n,r.length)},k:function(e,r,t){let n=e.getHours();return n===0&&(n=24),r==="ko"?t.ordinalNumber(n,{unit:"hour"}):ce(n,r.length)},m:function(e,r,t){return r==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):st.m(e,r)},s:function(e,r,t){return r==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):st.s(e,r)},S:function(e,r){return st.S(e,r)},X:function(e,r,t){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(r){case"X":return so(n);case"XXXX":case"XX":return ut(n);case"XXXXX":case"XXX":default:return ut(n,":")}},x:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"x":return so(n);case"xxxx":case"xx":return ut(n);case"xxxxx":case"xxx":default:return ut(n,":")}},O:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+io(n,":");case"OOOO":default:return"GMT"+ut(n,":")}},z:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+io(n,":");case"zzzz":default:return"GMT"+ut(n,":")}},t:function(e,r,t){const n=Math.trunc(+e/1e3);return ce(n,r.length)},T:function(e,r,t){return ce(+e,r.length)}};function io(e,r=""){const t=e>0?"-":"+",n=Math.abs(e),a=Math.trunc(n/60),o=n%60;return o===0?t+String(a):t+String(a)+r+ce(o,2)}function so(e,r){return e%60===0?(e>0?"-":"+")+ce(Math.abs(e)/60,2):ut(e,r)}function ut(e,r=""){const t=e>0?"-":"+",n=Math.abs(e),a=ce(Math.trunc(n/60),2),o=ce(n%60,2);return t+a+r+o}const co=(e,r)=>{switch(e){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},uo=(e,r)=>{switch(e){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},Ut={p:uo,P:(e,r)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],a=t[2];if(!a)return co(e,r);let o;switch(n){case"P":o=r.dateTime({width:"short"});break;case"PP":o=r.dateTime({width:"medium"});break;case"PPP":o=r.dateTime({width:"long"});break;case"PPPP":default:o=r.dateTime({width:"full"});break}return o.replace("{{date}}",co(n,r)).replace("{{time}}",uo(a,r))}},cl=/^D+$/,ul=/^Y+$/,ll=["D","DD","YY","YYYY"];function lo(e){return cl.test(e)}function fo(e){return ul.test(e)}function ln(e,r,t){const n=fl(e,r,t);if(console.warn(n),ll.includes(e))throw new RangeError(n)}function fl(e,r,t){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${r}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function dl(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function ho(e){return!(!dl(e)&&typeof e!="number"||isNaN(+I(e)))}const hl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ml=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,pl=/^'([^]*?)'?$/,yl=/''/g,gl=/[a-zA-Z]/;function bl(e,r,t){var h,m,p,v,g,u,w,T;const n=ct(),a=(t==null?void 0:t.locale)??n.locale??sn,o=(t==null?void 0:t.firstWeekContainsDate)??((m=(h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??n.firstWeekContainsDate??((v=(p=n.locale)==null?void 0:p.options)==null?void 0:v.firstWeekContainsDate)??1,i=(t==null?void 0:t.weekStartsOn)??((u=(g=t==null?void 0:t.locale)==null?void 0:g.options)==null?void 0:u.weekStartsOn)??n.weekStartsOn??((T=(w=n.locale)==null?void 0:w.options)==null?void 0:T.weekStartsOn)??0,s=I(e,t==null?void 0:t.in);if(!ho(s))throw new RangeError("Invalid time value");let l=r.match(ml).map(C=>{const S=C[0];if(S==="p"||S==="P"){const O=Ut[S];return O(C,a.formatLong)}return C}).join("").match(hl).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const S=C[0];if(S==="'")return{isToken:!1,value:wl(C)};if(oo[S])return{isToken:!0,value:C};if(S.match(gl))throw new RangeError("Format string contains an unescaped latin alphabet character `"+S+"`");return{isToken:!1,value:C}});a.localize.preprocessor&&(l=a.localize.preprocessor(s,l));const d={firstWeekContainsDate:o,weekStartsOn:i,locale:a};return l.map(C=>{if(!C.isToken)return C.value;const S=C.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&fo(S)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&lo(S))&&ln(S,r,String(e));const O=oo[S[0]];return O(s,S,a.localize,d)}).join("")}function wl(e){const r=e.match(pl);return r?r[1].replace(yl,"'"):e}function vl(e,r){return I(e,r==null?void 0:r.in).getDate()}function mo(e,r){const t=I(e,r==null?void 0:r.in),n=t.getFullYear(),a=t.getMonth(),o=ge(t,0);return o.setFullYear(n,a+1,0),o.setHours(0,0,0,0),o.getDate()}function xl(e,r){return I(e,r==null?void 0:r.in).getHours()}function Tl(e,r){return I(e,r==null?void 0:r.in).getMinutes()}function El(e,r){return I(e,r==null?void 0:r.in).getMonth()}function Sl(e){return I(e).getSeconds()}function Cl(e){return I(e).getMilliseconds()}function Ol(e,r){return I(e,r==null?void 0:r.in).getFullYear()}function fn(e,r){return+I(e)>+I(r)}function dn(e,r){return+I(e)<+I(r)}function kl(e,r){return+I(e)==+I(r)}function Pl(e,r,t){const[n,a]=Vt(t==null?void 0:t.in,e,r);return+zt(n)==+zt(a)}function _l(e,r,t){const[n,a]=Vt(t==null?void 0:t.in,e,r);return n.getFullYear()===a.getFullYear()}function Rl(e,r,t){const[n,a]=Vt(t==null?void 0:t.in,e,r);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()}function po(e,r){const t=I(e,r==null?void 0:r.in);return t.setMinutes(0,0,0),t}function Dl(e,r,t){const[n,a]=Vt(t==null?void 0:t.in,e,r);return+po(n)==+po(a)}function Ml(){return Object.assign({},ct())}function Al(e,r){const t=$l(r)?new r(0):ge(r,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}function $l(e){var r;return typeof e=="function"&&((r=e.prototype)==null?void 0:r.constructor)===e}const Il=10;class yo{constructor(){R(this,"subPriority",0)}validate(r,t){return!0}}class Nl extends yo{constructor(r,t,n,a,o){super(),this.value=r,this.validateValue=t,this.setValue=n,this.priority=a,o&&(this.subPriority=o)}validate(r,t){return this.validateValue(r,this.value,t)}set(r,t,n){return this.setValue(r,t,this.value,n)}}class Fl extends yo{constructor(t,n){super();R(this,"priority",Il);R(this,"subPriority",-1);this.context=t||(a=>ge(n,a))}set(t,n){return n.timestampIsSet?t:ge(t,Al(t,this.context))}}class re{run(r,t,n,a){const o=this.parse(r,t,n,a);return o?{setter:new Nl(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(r,t,n){return!0}}class Yl extends re{constructor(){super(...arguments);R(this,"priority",140);R(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,a){switch(n){case"G":case"GG":case"GGG":return a.era(t,{width:"abbreviated"})||a.era(t,{width:"narrow"});case"GGGGG":return a.era(t,{width:"narrow"});case"GGGG":default:return a.era(t,{width:"wide"})||a.era(t,{width:"abbreviated"})||a.era(t,{width:"narrow"})}}set(t,n,a){return n.era=a,t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}}const Ce={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Qe={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Oe(e,r){return e&&{value:r(e.value),rest:e.rest}}function be(e,r){const t=r.match(e);return t?{value:parseInt(t[0],10),rest:r.slice(t[0].length)}:null}function Xe(e,r){const t=r.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:r.slice(1)};const n=t[1]==="+"?1:-1,a=t[2]?parseInt(t[2],10):0,o=t[3]?parseInt(t[3],10):0,i=t[5]?parseInt(t[5],10):0;return{value:n*(a*Xa+o*Qa+i*wu),rest:r.slice(t[0].length)}}function go(e){return be(Ce.anyDigitsSigned,e)}function xe(e,r){switch(e){case 1:return be(Ce.singleDigit,r);case 2:return be(Ce.twoDigits,r);case 3:return be(Ce.threeDigits,r);case 4:return be(Ce.fourDigits,r);default:return be(new RegExp("^\\d{1,"+e+"}"),r)}}function Pr(e,r){switch(e){case 1:return be(Ce.singleDigitSigned,r);case 2:return be(Ce.twoDigitsSigned,r);case 3:return be(Ce.threeDigitsSigned,r);case 4:return be(Ce.fourDigitsSigned,r);default:return be(new RegExp("^-?\\d{1,"+e+"}"),r)}}function hn(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function bo(e,r){const t=r>0,n=t?r:1-r;let a;if(n<=50)a=e||100;else{const o=n+50,i=Math.trunc(o/100)*100,s=e>=o%100;a=e+i-(s?100:0)}return t?a:1-a}function wo(e){return e%400===0||e%4===0&&e%100!==0}class jl extends re{constructor(){super(...arguments);R(this,"priority",130);R(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,a){const o=i=>({year:i,isTwoDigitYear:n==="yy"});switch(n){case"y":return Oe(xe(4,t),o);case"yo":return Oe(a.ordinalNumber(t,{unit:"year"}),o);default:return Oe(xe(n.length,t),o)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,a){const o=t.getFullYear();if(a.isTwoDigitYear){const s=bo(a.year,o);return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}const i=!("era"in n)||n.era===1?a.year:1-a.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}}class Ll extends re{constructor(){super(...arguments);R(this,"priority",130);R(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,a){const o=i=>({year:i,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Oe(xe(4,t),o);case"Yo":return Oe(a.ordinalNumber(t,{unit:"year"}),o);default:return Oe(xe(n.length,t),o)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,a,o){const i=cn(t,o);if(a.isTwoDigitYear){const l=bo(a.year,i);return t.setFullYear(l,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),tt(t,o)}const s=!("era"in n)||n.era===1?a.year:1-a.year;return t.setFullYear(s,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),tt(t,o)}}class Wl extends re{constructor(){super(...arguments);R(this,"priority",130);R(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Pr(n==="R"?4:n.length,t)}set(t,n,a){const o=ge(t,0);return o.setFullYear(a,0,4),o.setHours(0,0,0,0),Tt(o)}}class Bl extends re{constructor(){super(...arguments);R(this,"priority",130);R(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Pr(n==="u"?4:n.length,t)}set(t,n,a){return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}}class ql extends re{constructor(){super(...arguments);R(this,"priority",120);R(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"Q":case"QQ":return xe(n.length,t);case"Qo":return a.ordinalNumber(t,{unit:"quarter"});case"QQQ":return a.quarter(t,{width:"abbreviated",context:"formatting"})||a.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(t,{width:"wide",context:"formatting"})||a.quarter(t,{width:"abbreviated",context:"formatting"})||a.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,a){return t.setMonth((a-1)*3,1),t.setHours(0,0,0,0),t}}class Hl extends re{constructor(){super(...arguments);R(this,"priority",120);R(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"q":case"qq":return xe(n.length,t);case"qo":return a.ordinalNumber(t,{unit:"quarter"});case"qqq":return a.quarter(t,{width:"abbreviated",context:"standalone"})||a.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(t,{width:"wide",context:"standalone"})||a.quarter(t,{width:"abbreviated",context:"standalone"})||a.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,a){return t.setMonth((a-1)*3,1),t.setHours(0,0,0,0),t}}class Vl extends re{constructor(){super(...arguments);R(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);R(this,"priority",110)}parse(t,n,a){const o=i=>i-1;switch(n){case"M":return Oe(be(Ce.month,t),o);case"MM":return Oe(xe(2,t),o);case"Mo":return Oe(a.ordinalNumber(t,{unit:"month"}),o);case"MMM":return a.month(t,{width:"abbreviated",context:"formatting"})||a.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(t,{width:"wide",context:"formatting"})||a.month(t,{width:"abbreviated",context:"formatting"})||a.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.setMonth(a,1),t.setHours(0,0,0,0),t}}class zl extends re{constructor(){super(...arguments);R(this,"priority",110);R(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,a){const o=i=>i-1;switch(n){case"L":return Oe(be(Ce.month,t),o);case"LL":return Oe(xe(2,t),o);case"Lo":return Oe(a.ordinalNumber(t,{unit:"month"}),o);case"LLL":return a.month(t,{width:"abbreviated",context:"standalone"})||a.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(t,{width:"wide",context:"standalone"})||a.month(t,{width:"abbreviated",context:"standalone"})||a.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.setMonth(a,1),t.setHours(0,0,0,0),t}}function Ul(e,r,t){const n=I(e,t==null?void 0:t.in),a=un(n,t)-r;return n.setDate(n.getDate()-a*7),I(n,t==null?void 0:t.in)}class Gl extends re{constructor(){super(...arguments);R(this,"priority",100);R(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,a){switch(n){case"w":return be(Ce.week,t);case"wo":return a.ordinalNumber(t,{unit:"week"});default:return xe(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,a,o){return tt(Ul(t,a,o),o)}}function Ql(e,r,t){const n=I(e,t==null?void 0:t.in),a=ao(n,t)-r;return n.setDate(n.getDate()-a*7),n}class Xl extends re{constructor(){super(...arguments);R(this,"priority",100);R(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,a){switch(n){case"I":return be(Ce.week,t);case"Io":return a.ordinalNumber(t,{unit:"week"});default:return xe(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,a){return Tt(Ql(t,a))}}const Kl=[31,28,31,30,31,30,31,31,30,31,30,31],Jl=[31,29,31,30,31,30,31,31,30,31,30,31];class Zl extends re{constructor(){super(...arguments);R(this,"priority",90);R(this,"subPriority",1);R(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"d":return be(Ce.date,t);case"do":return a.ordinalNumber(t,{unit:"date"});default:return xe(n.length,t)}}validate(t,n){const a=t.getFullYear(),o=wo(a),i=t.getMonth();return o?n>=1&&n<=Jl[i]:n>=1&&n<=Kl[i]}set(t,n,a){return t.setDate(a),t.setHours(0,0,0,0),t}}class ef extends re{constructor(){super(...arguments);R(this,"priority",90);R(this,"subpriority",1);R(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,a){switch(n){case"D":case"DD":return be(Ce.dayOfYear,t);case"Do":return a.ordinalNumber(t,{unit:"date"});default:return xe(n.length,t)}}validate(t,n){const a=t.getFullYear();return wo(a)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,a){return t.setMonth(0,a),t.setHours(0,0,0,0),t}}function mn(e,r,t){var m,p,v,g;const n=ct(),a=(t==null?void 0:t.weekStartsOn)??((p=(m=t==null?void 0:t.locale)==null?void 0:m.options)==null?void 0:p.weekStartsOn)??n.weekStartsOn??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,o=I(e,t==null?void 0:t.in),i=o.getDay(),l=(r%7+7)%7,d=7-a,h=r<0||r>6?r-(i+d)%7:(l+d)%7-(i+d)%7;return Bt(o,h,t)}class tf extends re{constructor(){super(...arguments);R(this,"priority",90);R(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"E":case"EE":case"EEE":return a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,o){return t=mn(t,a,o),t.setHours(0,0,0,0),t}}class rf extends re{constructor(){super(...arguments);R(this,"priority",90);R(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,a,o){const i=s=>{const l=Math.floor((s-1)/7)*7;return(s+o.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return Oe(xe(n.length,t),i);case"eo":return Oe(a.ordinalNumber(t,{unit:"day"}),i);case"eee":return a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"eeeee":return a.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,o){return t=mn(t,a,o),t.setHours(0,0,0,0),t}}class nf extends re{constructor(){super(...arguments);R(this,"priority",90);R(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,a,o){const i=s=>{const l=Math.floor((s-1)/7)*7;return(s+o.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return Oe(xe(n.length,t),i);case"co":return Oe(a.ordinalNumber(t,{unit:"day"}),i);case"ccc":return a.day(t,{width:"abbreviated",context:"standalone"})||a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"});case"ccccc":return a.day(t,{width:"narrow",context:"standalone"});case"cccccc":return a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(t,{width:"wide",context:"standalone"})||a.day(t,{width:"abbreviated",context:"standalone"})||a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,o){return t=mn(t,a,o),t.setHours(0,0,0,0),t}}function af(e,r){const t=I(e,r==null?void 0:r.in).getDay();return t===0?7:t}function of(e,r,t){const n=I(e,t==null?void 0:t.in),a=af(n,t),o=r-a;return Bt(n,o,t)}class sf extends re{constructor(){super(...arguments);R(this,"priority",90);R(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,a){const o=i=>i===0?7:i;switch(n){case"i":case"ii":return xe(n.length,t);case"io":return a.ordinalNumber(t,{unit:"day"});case"iii":return Oe(a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),o);case"iiiii":return Oe(a.day(t,{width:"narrow",context:"formatting"}),o);case"iiiiii":return Oe(a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),o);case"iiii":default:return Oe(a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),o)}}validate(t,n){return n>=1&&n<=7}set(t,n,a){return t=of(t,a),t.setHours(0,0,0,0),t}}class cf extends re{constructor(){super(...arguments);R(this,"priority",80);R(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,a){switch(n){case"a":case"aa":case"aaa":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(hn(a),0,0,0),t}}class uf extends re{constructor(){super(...arguments);R(this,"priority",80);R(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,a){switch(n){case"b":case"bb":case"bbb":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(hn(a),0,0,0),t}}class lf extends re{constructor(){super(...arguments);R(this,"priority",80);R(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,a){switch(n){case"B":case"BB":case"BBB":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(hn(a),0,0,0),t}}class ff extends re{constructor(){super(...arguments);R(this,"priority",70);R(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,a){switch(n){case"h":return be(Ce.hour12h,t);case"ho":return a.ordinalNumber(t,{unit:"hour"});default:return xe(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,a){const o=t.getHours()>=12;return o&&a<12?t.setHours(a+12,0,0,0):!o&&a===12?t.setHours(0,0,0,0):t.setHours(a,0,0,0),t}}class df extends re{constructor(){super(...arguments);R(this,"priority",70);R(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,a){switch(n){case"H":return be(Ce.hour23h,t);case"Ho":return a.ordinalNumber(t,{unit:"hour"});default:return xe(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,a){return t.setHours(a,0,0,0),t}}class hf extends re{constructor(){super(...arguments);R(this,"priority",70);R(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,a){switch(n){case"K":return be(Ce.hour11h,t);case"Ko":return a.ordinalNumber(t,{unit:"hour"});default:return xe(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.getHours()>=12&&a<12?t.setHours(a+12,0,0,0):t.setHours(a,0,0,0),t}}class mf extends re{constructor(){super(...arguments);R(this,"priority",70);R(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,a){switch(n){case"k":return be(Ce.hour24h,t);case"ko":return a.ordinalNumber(t,{unit:"hour"});default:return xe(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,a){const o=a<=24?a%24:a;return t.setHours(o,0,0,0),t}}class pf extends re{constructor(){super(...arguments);R(this,"priority",60);R(this,"incompatibleTokens",["t","T"])}parse(t,n,a){switch(n){case"m":return be(Ce.minute,t);case"mo":return a.ordinalNumber(t,{unit:"minute"});default:return xe(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,a){return t.setMinutes(a,0,0),t}}class yf extends re{constructor(){super(...arguments);R(this,"priority",50);R(this,"incompatibleTokens",["t","T"])}parse(t,n,a){switch(n){case"s":return be(Ce.second,t);case"so":return a.ordinalNumber(t,{unit:"second"});default:return xe(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,a){return t.setSeconds(a,0),t}}class gf extends re{constructor(){super(...arguments);R(this,"priority",30);R(this,"incompatibleTokens",["t","T"])}parse(t,n){const a=o=>Math.trunc(o*Math.pow(10,-n.length+3));return Oe(xe(n.length,t),a)}set(t,n,a){return t.setMilliseconds(a),t}}class bf extends re{constructor(){super(...arguments);R(this,"priority",10);R(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Xe(Qe.basicOptionalMinutes,t);case"XX":return Xe(Qe.basic,t);case"XXXX":return Xe(Qe.basicOptionalSeconds,t);case"XXXXX":return Xe(Qe.extendedOptionalSeconds,t);case"XXX":default:return Xe(Qe.extended,t)}}set(t,n,a){return n.timestampIsSet?t:ge(t,t.getTime()-kr(t)-a)}}class wf extends re{constructor(){super(...arguments);R(this,"priority",10);R(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Xe(Qe.basicOptionalMinutes,t);case"xx":return Xe(Qe.basic,t);case"xxxx":return Xe(Qe.basicOptionalSeconds,t);case"xxxxx":return Xe(Qe.extendedOptionalSeconds,t);case"xxx":default:return Xe(Qe.extended,t)}}set(t,n,a){return n.timestampIsSet?t:ge(t,t.getTime()-kr(t)-a)}}class vf extends re{constructor(){super(...arguments);R(this,"priority",40);R(this,"incompatibleTokens","*")}parse(t){return go(t)}set(t,n,a){return[ge(t,a*1e3),{timestampIsSet:!0}]}}class xf extends re{constructor(){super(...arguments);R(this,"priority",20);R(this,"incompatibleTokens","*")}parse(t){return go(t)}set(t,n,a){return[ge(t,a),{timestampIsSet:!0}]}}const Tf={G:new Yl,y:new jl,Y:new Ll,R:new Wl,u:new Bl,Q:new ql,q:new Hl,M:new Vl,L:new zl,w:new Gl,I:new Xl,d:new Zl,D:new ef,E:new tf,e:new rf,c:new nf,i:new sf,a:new cf,b:new uf,B:new lf,h:new ff,H:new df,K:new hf,k:new mf,m:new pf,s:new yf,S:new gf,X:new bf,x:new wf,t:new vf,T:new xf},Ef=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Sf=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Cf=/^'([^]*?)'?$/,Of=/''/g,kf=/\S/,Pf=/[a-zA-Z]/;function _f(e,r,t,n){var w,T,C,S,O,b,N,$;const a=()=>ge((n==null?void 0:n.in)||t,NaN),o=Ml(),i=(n==null?void 0:n.locale)??o.locale??sn,s=(n==null?void 0:n.firstWeekContainsDate)??((T=(w=n==null?void 0:n.locale)==null?void 0:w.options)==null?void 0:T.firstWeekContainsDate)??o.firstWeekContainsDate??((S=(C=o.locale)==null?void 0:C.options)==null?void 0:S.firstWeekContainsDate)??1,l=(n==null?void 0:n.weekStartsOn)??((b=(O=n==null?void 0:n.locale)==null?void 0:O.options)==null?void 0:b.weekStartsOn)??o.weekStartsOn??(($=(N=o.locale)==null?void 0:N.options)==null?void 0:$.weekStartsOn)??0;if(!r)return e?a():I(t,n==null?void 0:n.in);const d={firstWeekContainsDate:s,weekStartsOn:l,locale:i},h=[new Fl(n==null?void 0:n.in,t)],m=r.match(Sf).map(A=>{const Y=A[0];if(Y in Ut){const c=Ut[Y];return c(A,i.formatLong)}return A}).join("").match(Ef),p=[];for(let A of m){!(n!=null&&n.useAdditionalWeekYearTokens)&&fo(A)&&ln(A,r,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&lo(A)&&ln(A,r,e);const Y=A[0],c=Tf[Y];if(c){const{incompatibleTokens:k}=c;if(Array.isArray(k)){const L=p.find(Q=>k.includes(Q.token)||Q.token===Y);if(L)throw new RangeError(`The format string mustn't contain \`${L.fullToken}\` and \`${A}\` at the same time`)}else if(c.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${A}\` and any other token at the same time`);p.push({token:Y,fullToken:A});const F=c.run(e,A,i.match,d);if(!F)return a();h.push(F.setter),e=F.rest}else{if(Y.match(Pf))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Y+"`");if(A==="''"?A="'":Y==="'"&&(A=Rf(A)),e.indexOf(A)===0)e=e.slice(A.length);else return a()}}if(e.length>0&&kf.test(e))return a();const v=h.map(A=>A.priority).sort((A,Y)=>Y-A).filter((A,Y,c)=>c.indexOf(A)===Y).map(A=>h.filter(Y=>Y.priority===A).sort((Y,c)=>c.subPriority-Y.subPriority)).map(A=>A[0]);let g=I(t,n==null?void 0:n.in);if(isNaN(+g))return a();const u={};for(const A of v){if(!A.validate(g,d))return a();const Y=A.set(g,u,d);Array.isArray(Y)?(g=Y[0],Object.assign(u,Y[1])):g=Y}return g}function Rf(e){return e.match(Cf)[1].replace(Of,"'")}function Df(e,r,t){const n=I(e,t==null?void 0:t.in);return n.setDate(r),n}function Mf(e,r,t){const n=I(e,t==null?void 0:t.in);return n.setHours(r),n}function Af(e,r,t){const n=I(e,t==null?void 0:t.in);return n.setMinutes(r),n}function $f(e,r,t){const n=I(e,t==null?void 0:t.in),a=n.getFullYear(),o=n.getDate(),i=ge(e,0);i.setFullYear(a,r,15),i.setHours(0,0,0,0);const s=mo(i);return n.setMonth(r,Math.min(o,s)),n}function If(e,r,t){const n=I(e,t==null?void 0:t.in);return n.setSeconds(r),n}function Nf(e,r,t){const n=I(e,t==null?void 0:t.in);return n.setMilliseconds(r),n}function Ff(e,r,t){const n=I(e,t==null?void 0:t.in);return isNaN(+n)?ge(e,NaN):(n.setFullYear(r),n)}function Yf(e,r){const t=I(e,r==null?void 0:r.in);return t.setDate(1),t.setHours(0,0,0,0),t}function jf(e,r){const t=I(e,r==null?void 0:r.in),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function Lf(e,r,t){const n=+I(e,t==null?void 0:t.in),[a,o]=[+I(r.start,t==null?void 0:t.in),+I(r.end,t==null?void 0:t.in)].sort((i,s)=>i-s);return n>=a&&n<=o}function pn(){return pn=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},pn.apply(null,arguments)}const Wf={y:{sectionType:"year",contentType:"digit",maxLength:4},yy:"year",yyy:{sectionType:"year",contentType:"digit",maxLength:4},yyyy:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMMM:{sectionType:"month",contentType:"letter"},MMM:{sectionType:"month",contentType:"letter"},L:{sectionType:"month",contentType:"digit",maxLength:2},LL:"month",LLL:{sectionType:"month",contentType:"letter"},LLLL:{sectionType:"month",contentType:"letter"},d:{sectionType:"day",contentType:"digit",maxLength:2},dd:"day",do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"letter"},EE:{sectionType:"weekDay",contentType:"letter"},EEE:{sectionType:"weekDay",contentType:"letter"},EEEE:{sectionType:"weekDay",contentType:"letter"},EEEEE:{sectionType:"weekDay",contentType:"letter"},i:{sectionType:"weekDay",contentType:"digit",maxLength:1},ii:"weekDay",iii:{sectionType:"weekDay",contentType:"letter"},iiii:{sectionType:"weekDay",contentType:"letter"},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},ee:"weekDay",eee:{sectionType:"weekDay",contentType:"letter"},eeee:{sectionType:"weekDay",contentType:"letter"},eeeee:{sectionType:"weekDay",contentType:"letter"},eeeeee:{sectionType:"weekDay",contentType:"letter"},c:{sectionType:"weekDay",contentType:"digit",maxLength:1},cc:"weekDay",ccc:{sectionType:"weekDay",contentType:"letter"},cccc:{sectionType:"weekDay",contentType:"letter"},ccccc:{sectionType:"weekDay",contentType:"letter"},cccccc:{sectionType:"weekDay",contentType:"letter"},a:"meridiem",aa:"meridiem",aaa:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},Bf={year:"yyyy",month:"LLLL",monthShort:"MMM",dayOfMonth:"d",dayOfMonthFull:"do",weekday:"EEEE",weekdayShort:"EEEEEE",hours24h:"HH",hours12h:"hh",meridiem:"aa",minutes:"mm",seconds:"ss",fullDate:"PP",keyboardDate:"P",shortDate:"MMM d",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",fullTime:"p",fullTime12h:"hh:mm aa",fullTime24h:"HH:mm",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aa",keyboardDateTime24h:"P HH:mm"};class qf{constructor(r){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib=void 0,this.locale=void 0,this.formats=void 0,this.formatTokenMap=Wf,this.escapedCharacters={start:"'",end:"'"},this.longFormatters=void 0,this.date=i=>typeof i>"u"?new Date:i===null?null:new Date(i),this.getInvalidDate=()=>new Date("Invalid Date"),this.getTimezone=()=>"default",this.setTimezone=i=>i,this.toJsDate=i=>i,this.getCurrentLocaleCode=()=>this.locale.code,this.is12HourCycleInCurrentLocale=()=>/a/.test(this.locale.formatLong.time({width:"short"})),this.expandFormat=i=>{const s=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return i.match(s).map(l=>{const d=l[0];if(d==="p"||d==="P"){const h=this.longFormatters[d];return h(l,this.locale.formatLong)}return l}).join("")},this.formatNumber=i=>i,this.getDayOfWeek=i=>i.getDay()+1;const{locale:t,formats:n,longFormatters:a,lib:o}=r;this.locale=t,this.formats=pn({},Bf,n),this.longFormatters=a,this.lib=o||"date-fns"}}class Hf extends qf{constructor({locale:r,formats:t}={}){if(process.env.NODE_ENV!=="production"){if(typeof Bt!="function")throw new Error(["MUI: The `date-fns` package v2.x is not compatible with this adapter.","Please, install v3.x or v4.x of the package or use the `AdapterDateFns` instead."].join(`
105
- `));if(!Ut)throw new Error("MUI: The minimum supported `date-fns` package version compatible with this adapter is `3.2.x`.")}super({locale:r??sn,formats:t,longFormatters:Ut}),this.parse=(n,a)=>n===""?null:_f(n,a,new Date,{locale:this.locale}),this.isValid=n=>n==null?!1:ho(n),this.format=(n,a)=>this.formatByString(n,this.formats[a]),this.formatByString=(n,a)=>bl(n,a,{locale:this.locale}),this.isEqual=(n,a)=>n===null&&a===null?!0:n===null||a===null?!1:kl(n,a),this.isSameYear=(n,a)=>_l(n,a),this.isSameMonth=(n,a)=>Rl(n,a),this.isSameDay=(n,a)=>Pl(n,a),this.isSameHour=(n,a)=>Dl(n,a),this.isAfter=(n,a)=>fn(n,a),this.isAfterYear=(n,a)=>fn(n,to(a)),this.isAfterDay=(n,a)=>fn(n,eo(a)),this.isBefore=(n,a)=>dn(n,a),this.isBeforeYear=(n,a)=>dn(n,this.startOfYear(a)),this.isBeforeDay=(n,a)=>dn(n,this.startOfDay(a)),this.isWithinRange=(n,[a,o])=>Lf(n,{start:a,end:o}),this.startOfYear=n=>ro(n),this.startOfMonth=n=>Yf(n),this.startOfWeek=n=>tt(n,{locale:this.locale}),this.startOfDay=n=>zt(n),this.endOfYear=n=>to(n),this.endOfMonth=n=>jf(n),this.endOfWeek=n=>Ou(n,{locale:this.locale}),this.endOfDay=n=>eo(n),this.addYears=(n,a)=>Su(n,a),this.addMonths=(n,a)=>Za(n,a),this.addWeeks=(n,a)=>Eu(n,a),this.addDays=(n,a)=>Bt(n,a),this.addHours=(n,a)=>Tu(n,a),this.addMinutes=(n,a)=>xu(n,a),this.addSeconds=(n,a)=>vu(n,a),this.getYear=n=>Ol(n),this.getMonth=n=>El(n),this.getDate=n=>vl(n),this.getHours=n=>xl(n),this.getMinutes=n=>Tl(n),this.getSeconds=n=>Sl(n),this.getMilliseconds=n=>Cl(n),this.setYear=(n,a)=>Ff(n,a),this.setMonth=(n,a)=>$f(n,a),this.setDate=(n,a)=>Df(n,a),this.setHours=(n,a)=>Mf(n,a),this.setMinutes=(n,a)=>Af(n,a),this.setSeconds=(n,a)=>If(n,a),this.setMilliseconds=(n,a)=>Nf(n,a),this.getDaysInMonth=n=>mo(n),this.getWeekArray=n=>{const a=this.startOfWeek(this.startOfMonth(n)),o=this.endOfWeek(this.endOfMonth(n));let i=0,s=a;const l=[];for(;this.isBefore(s,o);){const d=Math.floor(i/7);l[d]=l[d]||[],l[d].push(s),s=this.addDays(s,1),i+=1}return l},this.getWeekNumber=n=>un(n,{locale:this.locale}),this.getYearRange=([n,a])=>{const o=this.startOfYear(n),i=this.endOfYear(a),s=[];let l=o;for(;this.isBefore(l,i);)s.push(l),l=this.addYears(l,1);return s}}}function Vf({children:e,onSubmit:r,layout:t,sx:n}){return j.jsx(Tn.LocalizationProvider,{dateAdapter:Hf,adapterLocale:void 0,children:j.jsx(Yo,{layout:t,children:j.jsx(Ua,{sx:n,children:j.jsx("form",{onSubmit:r,children:e})})})})}function zf({children:e,onSubmit:r=()=>{},layout:t,formOptions:n={},sx:a}){const o=nt.useForm(n);return j.jsx(nt.FormProvider,{...o,children:j.jsx(Vf,{onSubmit:o.handleSubmit(r),layout:t,sx:a,children:e})})}function Uf(){return j.jsx("div",{children:"FormRenderer"})}me.CalculatedNumberInput=uu,me.Checkbox=jo,me.DateInput=Lo,me.FormFieldLabel=hu,me.FormProvider=zf,me.NumberInput=Wo,me.Select=lu,me.TextInput=kn,me.default=Uf,Object.defineProperties(me,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
101
+ export default theme;`}function rn(e={},...r){const{breakpoints:t,mixins:n={},spacing:a,palette:o={},transitions:i={},typography:s={},shape:l,...d}=e;if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":it(20));const h=tn(o),m=Ca(e);let y=Ye(m,{mixins:Ac(m.breakpoints,n),palette:h,shadows:Yc.slice(),typography:Ic(h,s),transitions:Hc(i),zIndex:{...Vc}});if(y=Ye(y,d),y=r.reduce((T,p)=>Ye(T,p),y),process.env.NODE_ENV!=="production"){const T=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],p=(u,w)=>{let b;for(b in u){const x=u[b];if(T.includes(b)&&Object.keys(x).length>0){if(process.env.NODE_ENV!=="production"){const O=rr("",b);console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${b}\` internal state.`,"You can not override it like this: ",JSON.stringify(u,null,2),"",`Instead, you need to use the '&.${O}' syntax:`,JSON.stringify({root:{[`&.${O}`]:x}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
102
+ `))}u[b]={}}}};Object.keys(y.components).forEach(u=>{const w=y.components[u].styleOverrides;w&&u.startsWith("Mui")&&p(w,u)})}return y.unstable_sxConfig={...hr,...d==null?void 0:d.unstable_sxConfig},y.unstable_sx=function(p){return pt({sx:p,theme:this})},y.toRuntimeSource=Wa,y}function zc(e){let r;return e<1?r=5.11916*e**2:r=4.5*Math.log(e+1)+2,Math.round(r*10)/1e3}const Uc=[...Array(25)].map((e,r)=>{if(r===0)return"none";const t=zc(r);return`linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`});function Ba(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Ha(e){return e==="dark"?Uc:[]}function Gc(e){const{palette:r={mode:"light"},opacity:t,overlays:n,...a}=e,o=tn(r);return{palette:o,opacity:{...Ba(o.mode),...t},overlays:n||Ha(o.mode),...a}}function Qc(e){var r;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((r=e[1])!=null&&r.match(/(mode|contrastThreshold|tonalOffset)/))}const Xc=e=>[...[...Array(25)].map((r,t)=>`--${e?`${e}-`:""}overlays-${t}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Kc=e=>(r,t)=>{const n=e.rootSelector||":root",a=e.colorSchemeSelector;let o=a;if(a==="class"&&(o=".%s"),a==="data"&&(o="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(o=`[${a}="%s"]`),e.defaultColorScheme===r){if(r==="dark"){const i={};return Xc(e.cssVarPrefix).forEach(s=>{i[s]=t[s],delete t[s]}),o==="media"?{[n]:t,"@media (prefers-color-scheme: dark)":{[n]:i}}:o?{[o.replace("%s",r)]:i,[`${n}, ${o.replace("%s",r)}`]:t}:{[n]:{...t,...i}}}if(o&&o!=="media")return`${n}, ${o.replace("%s",String(r))}`}else if(r){if(o==="media")return{[`@media (prefers-color-scheme: ${String(r)})`]:{[n]:t}};if(o)return o.replace("%s",String(r))}return n};function Jc(e,r){r.forEach(t=>{e[t]||(e[t]={})})}function g(e,r,t){!e[r]&&t&&(e[r]=t)}function Wt(e){return typeof e!="string"||!e.startsWith("hsl")?e:Ma(e)}function rt(e,r){`${r}Channel`in e||(e[`${r}Channel`]=jt(Wt(e[r]),`MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
103
+ To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Zc(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Qe=e=>{try{return e()}catch{}},eu=(e="mui")=>vc(e);function nn(e,r,t,n){if(!r)return;r=r===!0?{}:r;const a=n==="dark"?"dark":"light";if(!t){e[n]=Gc({...r,palette:{mode:a,...r==null?void 0:r.palette}});return}const{palette:o,...i}=rn({...t,palette:{mode:a,...r==null?void 0:r.palette}});return e[n]={...r,palette:o,opacity:{...Ba(a),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||Ha(a)},i}function tu(e={},...r){const{colorSchemes:t={light:!0},defaultColorScheme:n,disableCssColorScheme:a=!1,cssVarPrefix:o="mui",shouldSkipGeneratingVar:i=Qc,colorSchemeSelector:s=t.light&&t.dark?"media":void 0,rootSelector:l=":root",...d}=e,h=Object.keys(t)[0],m=n||(t.light&&h!=="light"?"light":h),y=eu(o),{[m]:T,light:p,dark:u,...w}=t,b={...w};let x=T;if((m==="dark"&&!("dark"in t)||m==="light"&&!("light"in t))&&(x=!0),!x)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${m}\` option is either missing or invalid.`:it(21,m));const O=nn(b,x,d,m);p&&!b.light&&nn(b,p,void 0,"light"),u&&!b.dark&&nn(b,u,void 0,"dark");let C={defaultColorScheme:m,...O,cssVarPrefix:o,colorSchemeSelector:s,rootSelector:l,getCssVar:y,colorSchemes:b,font:{...Dc(O.typography),...O.font},spacing:Zc(d.spacing)};Object.keys(C.colorSchemes).forEach(j=>{const c=C.colorSchemes[j].palette,k=I=>{const L=I.split("-"),G=L[1],ee=L[2];return y(I,c[G][ee])};if(c.mode==="light"&&(g(c.common,"background","#fff"),g(c.common,"onBackground","#000")),c.mode==="dark"&&(g(c.common,"background","#000"),g(c.common,"onBackground","#fff")),Jc(c,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),c.mode==="light"){g(c.Alert,"errorColor",me(c.error.light,.6)),g(c.Alert,"infoColor",me(c.info.light,.6)),g(c.Alert,"successColor",me(c.success.light,.6)),g(c.Alert,"warningColor",me(c.warning.light,.6)),g(c.Alert,"errorFilledBg",k("palette-error-main")),g(c.Alert,"infoFilledBg",k("palette-info-main")),g(c.Alert,"successFilledBg",k("palette-success-main")),g(c.Alert,"warningFilledBg",k("palette-warning-main")),g(c.Alert,"errorFilledColor",Qe(()=>c.getContrastText(c.error.main))),g(c.Alert,"infoFilledColor",Qe(()=>c.getContrastText(c.info.main))),g(c.Alert,"successFilledColor",Qe(()=>c.getContrastText(c.success.main))),g(c.Alert,"warningFilledColor",Qe(()=>c.getContrastText(c.warning.main))),g(c.Alert,"errorStandardBg",pe(c.error.light,.9)),g(c.Alert,"infoStandardBg",pe(c.info.light,.9)),g(c.Alert,"successStandardBg",pe(c.success.light,.9)),g(c.Alert,"warningStandardBg",pe(c.warning.light,.9)),g(c.Alert,"errorIconColor",k("palette-error-main")),g(c.Alert,"infoIconColor",k("palette-info-main")),g(c.Alert,"successIconColor",k("palette-success-main")),g(c.Alert,"warningIconColor",k("palette-warning-main")),g(c.AppBar,"defaultBg",k("palette-grey-100")),g(c.Avatar,"defaultBg",k("palette-grey-400")),g(c.Button,"inheritContainedBg",k("palette-grey-300")),g(c.Button,"inheritContainedHoverBg",k("palette-grey-A100")),g(c.Chip,"defaultBorder",k("palette-grey-400")),g(c.Chip,"defaultAvatarColor",k("palette-grey-700")),g(c.Chip,"defaultIconColor",k("palette-grey-700")),g(c.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),g(c.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),g(c.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),g(c.LinearProgress,"primaryBg",pe(c.primary.main,.62)),g(c.LinearProgress,"secondaryBg",pe(c.secondary.main,.62)),g(c.LinearProgress,"errorBg",pe(c.error.main,.62)),g(c.LinearProgress,"infoBg",pe(c.info.main,.62)),g(c.LinearProgress,"successBg",pe(c.success.main,.62)),g(c.LinearProgress,"warningBg",pe(c.warning.main,.62)),g(c.Skeleton,"bg",`rgba(${k("palette-text-primaryChannel")} / 0.11)`),g(c.Slider,"primaryTrack",pe(c.primary.main,.62)),g(c.Slider,"secondaryTrack",pe(c.secondary.main,.62)),g(c.Slider,"errorTrack",pe(c.error.main,.62)),g(c.Slider,"infoTrack",pe(c.info.main,.62)),g(c.Slider,"successTrack",pe(c.success.main,.62)),g(c.Slider,"warningTrack",pe(c.warning.main,.62));const I=Or(c.background.default,.8);g(c.SnackbarContent,"bg",I),g(c.SnackbarContent,"color",Qe(()=>c.getContrastText(I))),g(c.SpeedDialAction,"fabHoverBg",Or(c.background.paper,.15)),g(c.StepConnector,"border",k("palette-grey-400")),g(c.StepContent,"border",k("palette-grey-400")),g(c.Switch,"defaultColor",k("palette-common-white")),g(c.Switch,"defaultDisabledColor",k("palette-grey-100")),g(c.Switch,"primaryDisabledColor",pe(c.primary.main,.62)),g(c.Switch,"secondaryDisabledColor",pe(c.secondary.main,.62)),g(c.Switch,"errorDisabledColor",pe(c.error.main,.62)),g(c.Switch,"infoDisabledColor",pe(c.info.main,.62)),g(c.Switch,"successDisabledColor",pe(c.success.main,.62)),g(c.Switch,"warningDisabledColor",pe(c.warning.main,.62)),g(c.TableCell,"border",pe(Sr(c.divider,1),.88)),g(c.Tooltip,"bg",Sr(c.grey[700],.92))}if(c.mode==="dark"){g(c.Alert,"errorColor",pe(c.error.light,.6)),g(c.Alert,"infoColor",pe(c.info.light,.6)),g(c.Alert,"successColor",pe(c.success.light,.6)),g(c.Alert,"warningColor",pe(c.warning.light,.6)),g(c.Alert,"errorFilledBg",k("palette-error-dark")),g(c.Alert,"infoFilledBg",k("palette-info-dark")),g(c.Alert,"successFilledBg",k("palette-success-dark")),g(c.Alert,"warningFilledBg",k("palette-warning-dark")),g(c.Alert,"errorFilledColor",Qe(()=>c.getContrastText(c.error.dark))),g(c.Alert,"infoFilledColor",Qe(()=>c.getContrastText(c.info.dark))),g(c.Alert,"successFilledColor",Qe(()=>c.getContrastText(c.success.dark))),g(c.Alert,"warningFilledColor",Qe(()=>c.getContrastText(c.warning.dark))),g(c.Alert,"errorStandardBg",me(c.error.light,.9)),g(c.Alert,"infoStandardBg",me(c.info.light,.9)),g(c.Alert,"successStandardBg",me(c.success.light,.9)),g(c.Alert,"warningStandardBg",me(c.warning.light,.9)),g(c.Alert,"errorIconColor",k("palette-error-main")),g(c.Alert,"infoIconColor",k("palette-info-main")),g(c.Alert,"successIconColor",k("palette-success-main")),g(c.Alert,"warningIconColor",k("palette-warning-main")),g(c.AppBar,"defaultBg",k("palette-grey-900")),g(c.AppBar,"darkBg",k("palette-background-paper")),g(c.AppBar,"darkColor",k("palette-text-primary")),g(c.Avatar,"defaultBg",k("palette-grey-600")),g(c.Button,"inheritContainedBg",k("palette-grey-800")),g(c.Button,"inheritContainedHoverBg",k("palette-grey-700")),g(c.Chip,"defaultBorder",k("palette-grey-700")),g(c.Chip,"defaultAvatarColor",k("palette-grey-300")),g(c.Chip,"defaultIconColor",k("palette-grey-300")),g(c.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),g(c.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),g(c.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),g(c.LinearProgress,"primaryBg",me(c.primary.main,.5)),g(c.LinearProgress,"secondaryBg",me(c.secondary.main,.5)),g(c.LinearProgress,"errorBg",me(c.error.main,.5)),g(c.LinearProgress,"infoBg",me(c.info.main,.5)),g(c.LinearProgress,"successBg",me(c.success.main,.5)),g(c.LinearProgress,"warningBg",me(c.warning.main,.5)),g(c.Skeleton,"bg",`rgba(${k("palette-text-primaryChannel")} / 0.13)`),g(c.Slider,"primaryTrack",me(c.primary.main,.5)),g(c.Slider,"secondaryTrack",me(c.secondary.main,.5)),g(c.Slider,"errorTrack",me(c.error.main,.5)),g(c.Slider,"infoTrack",me(c.info.main,.5)),g(c.Slider,"successTrack",me(c.success.main,.5)),g(c.Slider,"warningTrack",me(c.warning.main,.5));const I=Or(c.background.default,.98);g(c.SnackbarContent,"bg",I),g(c.SnackbarContent,"color",Qe(()=>c.getContrastText(I))),g(c.SpeedDialAction,"fabHoverBg",Or(c.background.paper,.15)),g(c.StepConnector,"border",k("palette-grey-600")),g(c.StepContent,"border",k("palette-grey-600")),g(c.Switch,"defaultColor",k("palette-grey-300")),g(c.Switch,"defaultDisabledColor",k("palette-grey-600")),g(c.Switch,"primaryDisabledColor",me(c.primary.main,.55)),g(c.Switch,"secondaryDisabledColor",me(c.secondary.main,.55)),g(c.Switch,"errorDisabledColor",me(c.error.main,.55)),g(c.Switch,"infoDisabledColor",me(c.info.main,.55)),g(c.Switch,"successDisabledColor",me(c.success.main,.55)),g(c.Switch,"warningDisabledColor",me(c.warning.main,.55)),g(c.TableCell,"border",me(Sr(c.divider,1),.68)),g(c.Tooltip,"bg",Sr(c.grey[700],.92))}rt(c.background,"default"),rt(c.background,"paper"),rt(c.common,"background"),rt(c.common,"onBackground"),rt(c,"divider"),Object.keys(c).forEach(I=>{const L=c[I];I!=="tonalOffset"&&L&&typeof L=="object"&&(L.main&&g(c[I],"mainChannel",jt(Wt(L.main))),L.light&&g(c[I],"lightChannel",jt(Wt(L.light))),L.dark&&g(c[I],"darkChannel",jt(Wt(L.dark))),L.contrastText&&g(c[I],"contrastTextChannel",jt(Wt(L.contrastText))),I==="text"&&(rt(c[I],"primary"),rt(c[I],"secondary")),I==="action"&&(L.active&&rt(c[I],"active"),L.selected&&rt(c[I],"selected")))})}),C=r.reduce((j,c)=>Ye(j,c),C);const v={prefix:o,disableCssColorScheme:a,shouldSkipGeneratingVar:i,getSelector:Kc(C)},{vars:$,generateThemeVars:A,generateStyleSheets:D}=Tc(C,v);return C.vars=$,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([j,c])=>{C[j]=c}),C.generateThemeVars=A,C.generateStyleSheets=D,C.generateSpacing=function(){return Oa(d.spacing,Yr(this))},C.getColorSchemeSelector=Ec(s),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=i,C.unstable_sxConfig={...hr,...d==null?void 0:d.unstable_sxConfig},C.unstable_sx=function(c){return pt({sx:c,theme:this})},C.toRuntimeSource=Wa,C}function Va(e,r,t){e.colorSchemes&&t&&(e.colorSchemes[r]={...t!==!0&&t,palette:tn({...t===!0?{}:t.palette,mode:r})})}function ru(e={},...r){const{palette:t,cssVariables:n=!1,colorSchemes:a=t?void 0:{light:!0},defaultColorScheme:o=t==null?void 0:t.mode,...i}=e,s=o||"light",l=a==null?void 0:a[s],d={...a,...t?{[s]:{...typeof l!="boolean"&&l,palette:t}}:void 0};if(n===!1){if(!("colorSchemes"in e))return rn(e,...r);let h=t;"palette"in e||d[s]&&(d[s]!==!0?h=d[s].palette:s==="dark"&&(h={mode:"dark"}));const m=rn({...e,palette:h},...r);return m.defaultColorScheme=s,m.colorSchemes=d,m.palette.mode==="light"&&(m.colorSchemes.light={...d.light!==!0&&d.light,palette:m.palette},Va(m,"dark",d.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:m.palette},Va(m,"light",d.light)),m}return!t&&!("light"in d)&&s==="light"&&(d.light=!0),tu({...i,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...r)}const nu=ru(),au="$$material";function ou(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const qa=ic({themeId:au,defaultTheme:nu,rootShouldForwardProp:e=>ou(e)&&e!=="classes"}),iu=bc;process.env.NODE_ENV!=="production"&&(N.node,N.object.isRequired);function za(e){return gc(e)}function su(e){return rr("MuiSvgIcon",e)}Kn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const cu=e=>{const{color:r,fontSize:t,classes:n}=e,a={root:["root",r!=="inherit"&&`color${et(r)}`,`fontSize${et(t)}`]};return Qn(a,su,n)},uu=qa("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,t.color!=="inherit"&&r[`color${et(t.color)}`],r[`fontSize${et(t.fontSize)}`]]}})(iu(({theme:e})=>{var r,t,n,a,o,i,s,l,d,h,m,y,T,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(a=(r=e.transitions)==null?void 0:r.create)==null?void 0:a.call(r,"fill",{duration:(n=(t=(e.vars??e).transitions)==null?void 0:t.duration)==null?void 0:n.shorter}),variants:[{props:u=>!u.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((i=(o=e.typography)==null?void 0:o.pxToRem)==null?void 0:i.call(o,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((l=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((h=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:h.call(d,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,u])=>u&&u.main).map(([u])=>{var w,b;return{props:{color:u},style:{color:(b=(w=(e.vars??e).palette)==null?void 0:w[u])==null?void 0:b.main}}}),{props:{color:"action"},style:{color:(y=(m=(e.vars??e).palette)==null?void 0:m.action)==null?void 0:y.active}},{props:{color:"disabled"},style:{color:(p=(T=(e.vars??e).palette)==null?void 0:T.action)==null?void 0:p.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Cr=ue.forwardRef(function(r,t){const n=za({props:r,name:"MuiSvgIcon"}),{children:a,className:o,color:i="inherit",component:s="svg",fontSize:l="medium",htmlColor:d,inheritViewBox:h=!1,titleAccess:m,viewBox:y="0 0 24 24",...T}=n,p=ue.isValidElement(a)&&a.type==="svg",u={...n,color:i,component:s,fontSize:l,instanceFontSize:r.fontSize,inheritViewBox:h,viewBox:y,hasSvgAsChild:p},w={};h||(w.viewBox=y);const b=cu(u);return W.jsxs(uu,{as:s,className:Zn(b.root,o),focusable:"false",color:d,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:t,...w,...T,...p&&a.props,ownerState:u,children:[p?a.props.children:a,m?W.jsx("title",{children:m}):null]})});process.env.NODE_ENV!=="production"&&(Cr.propTypes={children:N.node,classes:N.object,className:N.string,color:N.oneOfType([N.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),N.string]),component:N.elementType,fontSize:N.oneOfType([N.oneOf(["inherit","large","medium","small"]),N.string]),htmlColor:N.string,inheritViewBox:N.bool,shapeRendering:N.string,sx:N.oneOfType([N.arrayOf(N.oneOfType([N.func,N.object,N.bool])),N.func,N.object]),titleAccess:N.string,viewBox:N.string}),Cr.muiName="SvgIcon";function an(e,r){function t(n,a){return W.jsx(Cr,{"data-testid":`${r}Icon`,ref:a,...n,children:e})}return process.env.NODE_ENV!=="production"&&(t.displayName=`${r}Icon`),t.muiName=Cr.muiName,ue.memo(ue.forwardRef(t))}const lu=an(W.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5.97 4.06L14.09 6l1.41 1.41L16.91 6l1.06 1.06-1.41 1.41 1.41 1.41-1.06 1.06-1.41-1.4-1.41 1.41-1.06-1.06 1.41-1.41zm-6.78.66h5v1.5h-5zM11.5 16h-2v2H8v-2H6v-1.5h2v-2h1.5v2h2zm6.5 1.25h-5v-1.5h5zm0-2.5h-5v-1.5h5z"}),"Calculate");function fu({name:e,label:r,sx:t={}}){const{control:n}=ot.useFormContext(),o={...Kt(),...t};return W.jsx(ot.Controller,{name:e,control:n,render:({field:i})=>W.jsxs(oe.FormControl,{sx:{marginY:.5,...o},children:[W.jsx(oe.FormLabel,{sx:{fontWeight:500,color:Je.capitalDesignTokens.foundations.colors.gray1000},children:r}),W.jsxs(oe.Typography,{sx:{display:"flex",flexDirection:"row",gap:.5,marginTop:.5},children:[W.jsx(lu,{sx:{color:Je.capitalDesignTokens.foundations.colors.gray500}}),W.jsx("span",{children:i.value||0})]})]})})}function du({name:e,label:r,options:t,sx:n={},disabled:a,rules:o={},...i}){const{field:s,fieldState:{error:l}}=ot.useController({name:e,rules:o}),h={...Kt(),...n};return W.jsx(oe.Box,{sx:h,children:W.jsxs(oe.FormControl,{fullWidth:!0,error:!!l,disabled:a,children:[W.jsx(oe.FormLabel,{id:`${e}-label`,sx:{fontWeight:500,color:Je.capitalDesignTokens.foundations.colors.gray1000,marginBottom:1},children:r}),W.jsx(oe.Select,{labelId:`${e}-label`,id:`${e}-select`,...s,...i,displayEmpty:!0,variant:"outlined",fullWidth:!0,children:t.map(m=>W.jsx(oe.MenuItem,{value:m.key,children:m.displayValue},m.key))}),l&&W.jsx(oe.FormHelperText,{children:l.message})]})})}const hu=an(W.jsx("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1z"}),"Lock"),mu=an(W.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"}),"Help");var on,Ua;function pu(){return Ua||(Ua=1,on=function(e){var r={};function t(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}return t.m=e,t.c=r,t.d=function(n,a,o){t.o(n,a)||Object.defineProperty(n,a,{enumerable:!0,get:o})},t.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,a){if(1&a&&(n=t(n)),8&a||4&a&&typeof n=="object"&&n&&n.__esModule)return n;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:n}),2&a&&typeof n!="string")for(var i in n)t.d(o,i,(function(s){return n[s]}).bind(null,i));return o},t.n=function(n){var a=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(a,"a",a),a},t.o=function(n,a){return Object.prototype.hasOwnProperty.call(n,a)},t.p="",t(t.s=2)}([function(e,r){e.exports=zn()},function(e,r){e.exports=Me},function(e,r,t){t.r(r);var n=t(1),a=t(0),o=function(){return(o=Object.assign||function(p){for(var u,w=1,b=arguments.length;w<b;w++)for(var x in u=arguments[w])Object.prototype.hasOwnProperty.call(u,x)&&(p[x]=u[x]);return p}).apply(this,arguments)},i=function(p,u){var w={};for(var b in p)Object.prototype.hasOwnProperty.call(p,b)&&u.indexOf(b)<0&&(w[b]=p[b]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function"){var x=0;for(b=Object.getOwnPropertySymbols(p);x<b.length;x++)u.indexOf(b[x])<0&&Object.prototype.propertyIsEnumerable.call(p,b[x])&&(w[b[x]]=p[b[x]])}return w},s=0,l=n.forwardRef(function(p,u){var w=p.title,b=w===void 0?null:w,x=p.description,O=x===void 0?null:x,C=p.size,v=C===void 0?null:C,$=p.color,A=$===void 0?"currentColor":$,D=p.horizontal,j=D===void 0?null:D,c=p.vertical,k=c===void 0?null:c,I=p.rotate,L=I===void 0?null:I,G=p.spin,ee=G===void 0?null:G,te=p.style,he=te===void 0?{}:te,ke=p.children,qe=i(p,["title","description","size","color","horizontal","vertical","rotate","spin","style","children"]);s++;var E,_=ee!==null&&ee,H=n.Children.map(ke,function(V){var F=V;_!==!0&&(_=(ee===null?F.props.spin:ee)===!0);var Q=F.props.size;typeof v=="number"&&typeof F.props.size=="number"&&(Q=F.props.size/v);var K={size:Q,color:A===null?F.props.color:A,horizontal:j===null?F.props.horizontal:j,vertical:k===null?F.props.vertical:k,rotate:L===null?F.props.rotate:L,spin:ee===null?F.props.spin:ee,inStack:!0};return n.cloneElement(F,K)});v!==null&&(he.width=typeof v=="string"?v:1.5*v+"rem");var z,B="stack_labelledby_"+s,U="stack_describedby_"+s;if(b)E=O?B+" "+U:B;else if(z="presentation",O)throw new Error("title attribute required when description is set");return n.createElement("svg",o({ref:u,viewBox:"0 0 24 24",style:he,role:z,"aria-labelledby":E},qe),b&&n.createElement("title",{id:B},b),O&&n.createElement("desc",{id:U},O),_&&n.createElement("style",null,"@keyframes spin { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }","@keyframes spin-inverse { from { transform: rotate(0deg) } to { transform: rotate(-360deg) } }"),H)});l.displayName="Stack",l.propTypes={size:a.oneOfType([a.number,a.string]),color:a.string,horizontal:a.bool,vertical:a.bool,rotate:a.number,spin:a.oneOfType([a.bool,a.number]),children:a.oneOfType([a.arrayOf(a.node),a.node]).isRequired,className:a.string,style:a.object},l.defaultProps={size:null,color:null,horizontal:null,vertical:null,rotate:null,spin:null};var d=l;t.d(r,"Icon",function(){return T}),t.d(r,"Stack",function(){return d});var h=function(){return(h=Object.assign||function(p){for(var u,w=1,b=arguments.length;w<b;w++)for(var x in u=arguments[w])Object.prototype.hasOwnProperty.call(u,x)&&(p[x]=u[x]);return p}).apply(this,arguments)},m=function(p,u){var w={};for(var b in p)Object.prototype.hasOwnProperty.call(p,b)&&u.indexOf(b)<0&&(w[b]=p[b]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function"){var x=0;for(b=Object.getOwnPropertySymbols(p);x<b.length;x++)u.indexOf(b[x])<0&&Object.prototype.propertyIsEnumerable.call(p,b[x])&&(w[b[x]]=p[b[x]])}return w},y=0,T=n.forwardRef(function(p,u){var w=p.path,b=p.id,x=b===void 0?++y:b,O=p.title,C=O===void 0?null:O,v=p.description,$=v===void 0?null:v,A=p.size,D=A===void 0?null:A,j=p.color,c=j===void 0?"currentColor":j,k=p.horizontal,I=k!==void 0&&k,L=p.vertical,G=L!==void 0&&L,ee=p.rotate,te=ee===void 0?0:ee,he=p.spin,ke=he!==void 0&&he,qe=p.style,E=qe===void 0?{}:qe,_=p.inStack,H=_!==void 0&&_,z=m(p,["path","id","title","description","size","color","horizontal","vertical","rotate","spin","style","inStack"]),B={},U=[];D!==null&&(H?U.push("scale("+D+")"):(E.width=typeof D=="string"?D:1.5*D+"rem",E.height=E.width)),I&&U.push("scaleX(-1)"),G&&U.push("scaleY(-1)"),te!==0&&U.push("rotate("+te+"deg)"),c!==null&&(B.fill=c);var V=n.createElement("path",h({d:w,style:B},H?z:{})),F=V;U.length>0&&(E.transform=U.join(" "),E.transformOrigin="center",H&&(F=n.createElement("g",{style:E},V,n.createElement("rect",{width:"24",height:"24",fill:"transparent"}))));var Q,K=F,X=ke===!0||typeof ke!="number"?2:ke,Pe=!H&&(I||G);if(X<0&&(Pe=!Pe),ke&&(K=n.createElement("g",{style:{animation:"spin"+(Pe?"-inverse":"")+" linear "+Math.abs(X)+"s infinite",transformOrigin:"center"}},F,!(I||G||te!==0)&&n.createElement("rect",{width:"24",height:"24",fill:"transparent"}))),H)return K;var P,Ie="icon_labelledby_"+x,at="icon_describedby_"+x;if(C)Q=$?Ie+" "+at:Ie;else if(P="presentation",$)throw new Error("title attribute required when description is set");return n.createElement("svg",h({ref:u,viewBox:"0 0 24 24",style:E,role:P,"aria-labelledby":Q},z),C&&n.createElement("title",{id:Ie},C),$&&n.createElement("desc",{id:at},$),!H&&ke&&(Pe?n.createElement("style",null,"@keyframes spin-inverse { from { transform: rotate(0deg) } to { transform: rotate(-360deg) } }"):n.createElement("style",null,"@keyframes spin { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }")),K)});T.displayName="Icon",T.propTypes={path:a.string.isRequired,size:a.oneOfType([a.number,a.string]),color:a.string,horizontal:a.bool,vertical:a.bool,rotate:a.number,spin:a.oneOfType([a.bool,a.number]),style:a.object,inStack:a.bool,className:a.string},T.defaultProps={size:null,color:"currentColor",horizontal:!1,vertical:!1,rotate:0,spin:!1},r.default=T}])),on}var yu=pu();const gu=Sn(yu);var bu="M7,2H17A2,2 0 0,1 19,4V20A2,2 0 0,1 17,22H7A2,2 0 0,1 5,20V4A2,2 0 0,1 7,2M7,4V8H17V4H7M7,10V12H9V10H7M11,10V12H13V10H11M15,10V12H17V10H15M7,14V16H9V14H7M11,14V16H13V14H11M15,14V16H17V14H15M7,18V20H9V18H7M11,18V20H13V18H11M15,18V20H17V18H15Z";function vu({children:e,internal:r,required:t,helpText:n,isCalculated:a}){return W.jsxs(oe.Box,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[W.jsxs(oe.Box,{sx:{display:"flex",alignItems:"center",gap:.5},children:[W.jsxs(oe.Typography,{variant:"h4",color:"black",sx:{whiteSpace:"normal",wordBreak:"break-word"},children:[e,t&&"*"]}),n&&n!==""&&W.jsx(oe.Tooltip,{placement:"top",title:W.jsx(oe.Typography,{variant:"bodyXSmall",sx:{whiteSpace:"pre-line"},children:n}),sx:{cursor:"default"},children:W.jsx(mu,{fontSize:"small",htmlColor:Je.capitalDesignTokens.foundations.colors.gray600,"data-testid":"help-icon"})})]}),W.jsxs(oe.Box,{sx:{display:"flex",gap:1},children:[a&&W.jsx(gu,{path:bu,size:"20px",color:Je.capitalDesignTokens.foundations.colors.gray800,"data-testid":"calculation-icon"}),r&&W.jsx(oe.Tooltip,{placement:"top",title:"This field is hidden from the public.",sx:{cursor:"default"},children:W.jsx(hu,{htmlColor:Je.capitalDesignTokens.foundations.colors.white,sx:{height:"20px",width:"20px",padding:"2px",border:"1px solid",borderColor:Je.capitalDesignTokens.foundations.colors.yellow700,borderRadius:"50%",background:Je.capitalDesignTokens.foundations.colors.yellow700},"data-testid":"internal-icon"})})]})]})}function Ga(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Qa(e,r=!1){return e&&(Ga(e.value)&&e.value!==""||r&&Ga(e.defaultValue)&&e.defaultValue!=="")}function wu(e){return e.startAdornment}const Xa=ue.createContext(void 0);process.env.NODE_ENV!=="production"&&(Xa.displayName="FormControlContext");function xu(e){return rr("MuiFormControl",e)}Kn("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const Tu=e=>{const{classes:r,margin:t,fullWidth:n}=e,a={root:["root",t!=="none"&&`margin${et(t)}`,n&&"fullWidth"]};return Qn(a,xu,r)},Eu=qa("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,r[`margin${et(t.margin)}`],t.fullWidth&&r.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),Ka=ue.forwardRef(function(r,t){const n=za({props:r,name:"MuiFormControl"}),{children:a,className:o,color:i="primary",component:s="div",disabled:l=!1,error:d=!1,focused:h,fullWidth:m=!1,hiddenLabel:y=!1,margin:T="none",required:p=!1,size:u="medium",variant:w="outlined",...b}=n,x={...n,color:i,component:s,disabled:l,error:d,fullWidth:m,hiddenLabel:y,margin:T,required:p,size:u,variant:w},O=Tu(x),[C,v]=ue.useState(()=>{let te=!1;return a&&ue.Children.forEach(a,he=>{if(!Fr(he,["Input","Select"]))return;const ke=Fr(he,["Select"])?he.props.input:he;ke&&wu(ke.props)&&(te=!0)}),te}),[$,A]=ue.useState(()=>{let te=!1;return a&&ue.Children.forEach(a,he=>{Fr(he,["Input","Select"])&&(Qa(he.props,!0)||Qa(he.props.inputProps,!0))&&(te=!0)}),te}),[D,j]=ue.useState(!1);l&&D&&j(!1);const c=h!==void 0&&!l?h:D;let k;const I=ue.useRef(!1);process.env.NODE_ENV!=="production"&&(k=()=>(I.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
104
+ `)),I.current=!0,()=>{I.current=!1}));const L=ue.useCallback(()=>{A(!0)},[]),G=ue.useCallback(()=>{A(!1)},[]),ee=ue.useMemo(()=>({adornedStart:C,setAdornedStart:v,color:i,disabled:l,error:d,filled:$,focused:c,fullWidth:m,hiddenLabel:y,size:u,onBlur:()=>{j(!1)},onFocus:()=>{j(!0)},onEmpty:G,onFilled:L,registerEffect:k,required:p,variant:w}),[C,i,l,d,$,c,m,y,k,G,L,p,u,w]);return W.jsx(Xa.Provider,{value:ee,children:W.jsx(Eu,{as:s,ownerState:x,className:Zn(O.root,o),ref:t,...b,children:a})})});process.env.NODE_ENV!=="production"&&(Ka.propTypes={children:N.node,classes:N.object,className:N.string,color:N.oneOfType([N.oneOf(["primary","secondary","error","info","success","warning"]),N.string]),component:N.elementType,disabled:N.bool,error:N.bool,focused:N.bool,fullWidth:N.bool,hiddenLabel:N.bool,margin:N.oneOf(["dense","none","normal"]),required:N.bool,size:N.oneOfType([N.oneOf(["medium","small"]),N.string]),sx:N.oneOfType([N.arrayOf(N.oneOfType([N.func,N.object,N.bool])),N.func,N.object]),variant:N.oneOf(["filled","outlined","standard"])});const Ja=6048e5,Su=864e5,Za=6e4,eo=36e5,Ou=1e3,to=Symbol.for("constructDateFrom");function ve(e,r){return typeof e=="function"?e(r):e&&typeof e=="object"&&to in e?e[to](r):e instanceof Date?new e.constructor(r):new Date(r)}function Y(e,r){return ve(r||e,e)}function Bt(e,r,t){const n=Y(e,t==null?void 0:t.in);return isNaN(r)?ve((t==null?void 0:t.in)||e,NaN):(r&&n.setDate(n.getDate()+r),n)}function ro(e,r,t){return ve(e,+Y(e)+r)}function Cu(e,r,t){return ro(e,r*1e3)}function ku(e,r,t){const n=Y(e,t==null?void 0:t.in);return n.setTime(n.getTime()+r*Za),n}function Pu(e,r,t){return ro(e,r*eo)}function _u(e,r,t){return Bt(e,r*7,t)}function no(e,r,t){const n=Y(e,t==null?void 0:t.in);if(isNaN(r))return ve(e,NaN);if(!r)return n;const a=n.getDate(),o=ve(e,n.getTime());o.setMonth(n.getMonth()+r+1,0);const i=o.getDate();return a>=i?o:(n.setFullYear(o.getFullYear(),o.getMonth(),a),n)}function Mu(e,r,t){return no(e,r*12,t)}function ao(e,r){const t=Y(e,r==null?void 0:r.in);return t.setHours(23,59,59,999),t}let Ru={};function lt(){return Ru}function Du(e,r){var s,l,d,h;const t=lt(),n=(r==null?void 0:r.weekStartsOn)??((l=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((h=(d=t.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??0,a=Y(e,r==null?void 0:r.in),o=a.getDay(),i=(o<n?-7:0)+6-(o-n);return a.setDate(a.getDate()+i),a.setHours(23,59,59,999),a}function oo(e,r){const t=Y(e,r==null?void 0:r.in),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}const Au={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},$u=(e,r,t)=>{let n;const a=Au[e];return typeof a=="string"?n=a:r===1?n=a.one:n=a.other.replace("{{count}}",r.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n};function sn(e){return(r={})=>{const t=r.width?String(r.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const Iu={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Nu={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Fu={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ju={date:sn({formats:Iu,defaultWidth:"full"}),time:sn({formats:Nu,defaultWidth:"full"}),dateTime:sn({formats:Fu,defaultWidth:"full"})},Yu={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Lu=(e,r,t,n)=>Yu[e];function Ht(e){return(r,t)=>{const n=t!=null&&t.context?String(t.context):"standalone";let a;if(n==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=t!=null&&t.width?String(t.width):i;a=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=t!=null&&t.width?String(t.width):e.defaultWidth;a=e.values[s]||e.values[i]}const o=e.argumentCallback?e.argumentCallback(r):r;return a[o]}}const Wu={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Bu={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Hu={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Vu={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},qu={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},zu={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Uu={ordinalNumber:(e,r)=>{const t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:Ht({values:Wu,defaultWidth:"wide"}),quarter:Ht({values:Bu,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ht({values:Hu,defaultWidth:"wide"}),day:Ht({values:Vu,defaultWidth:"wide"}),dayPeriod:Ht({values:qu,defaultWidth:"wide",formattingValues:zu,defaultFormattingWidth:"wide"})};function Vt(e){return(r,t={})=>{const n=t.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=r.match(a);if(!o)return null;const i=o[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?Qu(s,m=>m.test(i)):Gu(s,m=>m.test(i));let d;d=e.valueCallback?e.valueCallback(l):l,d=t.valueCallback?t.valueCallback(d):d;const h=r.slice(i.length);return{value:d,rest:h}}}function Gu(e,r){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&r(e[t]))return t}function Qu(e,r){for(let t=0;t<e.length;t++)if(r(e[t]))return t}function Xu(e){return(r,t={})=>{const n=r.match(e.matchPattern);if(!n)return null;const a=n[0],o=r.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=t.valueCallback?t.valueCallback(i):i;const s=r.slice(a.length);return{value:i,rest:s}}}const Ku=/^(\d+)(th|st|nd|rd)?/i,Ju=/\d+/i,Zu={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},el={any:[/^b/i,/^(a|c)/i]},tl={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},rl={any:[/1/i,/2/i,/3/i,/4/i]},nl={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},al={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ol={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},il={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},sl={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},cl={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ul={ordinalNumber:Xu({matchPattern:Ku,parsePattern:Ju,valueCallback:e=>parseInt(e,10)}),era:Vt({matchPatterns:Zu,defaultMatchWidth:"wide",parsePatterns:el,defaultParseWidth:"any"}),quarter:Vt({matchPatterns:tl,defaultMatchWidth:"wide",parsePatterns:rl,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Vt({matchPatterns:nl,defaultMatchWidth:"wide",parsePatterns:al,defaultParseWidth:"any"}),day:Vt({matchPatterns:ol,defaultMatchWidth:"wide",parsePatterns:il,defaultParseWidth:"any"}),dayPeriod:Vt({matchPatterns:sl,defaultMatchWidth:"any",parsePatterns:cl,defaultParseWidth:"any"})},cn={code:"en-US",formatDistance:$u,formatLong:ju,formatRelative:Lu,localize:Uu,match:ul,options:{weekStartsOn:0,firstWeekContainsDate:1}};function kr(e){const r=Y(e),t=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return t.setUTCFullYear(r.getFullYear()),+e-+t}function qt(e,...r){const t=ve.bind(null,r.find(n=>typeof n=="object"));return r.map(t)}function zt(e,r){const t=Y(e,r==null?void 0:r.in);return t.setHours(0,0,0,0),t}function ll(e,r,t){const[n,a]=qt(t==null?void 0:t.in,e,r),o=zt(n),i=zt(a),s=+o-kr(o),l=+i-kr(i);return Math.round((s-l)/Su)}function io(e,r){const t=Y(e,r==null?void 0:r.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function fl(e,r){const t=Y(e,r==null?void 0:r.in);return ll(t,io(t))+1}function nt(e,r){var s,l,d,h;const t=lt(),n=(r==null?void 0:r.weekStartsOn)??((l=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((h=(d=t.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??0,a=Y(e,r==null?void 0:r.in),o=a.getDay(),i=(o<n?7:0)+o-n;return a.setDate(a.getDate()-i),a.setHours(0,0,0,0),a}function St(e,r){return nt(e,{...r,weekStartsOn:1})}function so(e,r){const t=Y(e,r==null?void 0:r.in),n=t.getFullYear(),a=ve(t,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const o=St(a),i=ve(t,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const s=St(i);return t.getTime()>=o.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function dl(e,r){const t=so(e,r),n=ve(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),St(n)}function co(e,r){const t=Y(e,r==null?void 0:r.in),n=+St(t)-+dl(t);return Math.round(n/Ja)+1}function un(e,r){var h,m,y,T;const t=Y(e,r==null?void 0:r.in),n=t.getFullYear(),a=lt(),o=(r==null?void 0:r.firstWeekContainsDate)??((m=(h=r==null?void 0:r.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??a.firstWeekContainsDate??((T=(y=a.locale)==null?void 0:y.options)==null?void 0:T.firstWeekContainsDate)??1,i=ve((r==null?void 0:r.in)||e,0);i.setFullYear(n+1,0,o),i.setHours(0,0,0,0);const s=nt(i,r),l=ve((r==null?void 0:r.in)||e,0);l.setFullYear(n,0,o),l.setHours(0,0,0,0);const d=nt(l,r);return+t>=+s?n+1:+t>=+d?n:n-1}function hl(e,r){var s,l,d,h;const t=lt(),n=(r==null?void 0:r.firstWeekContainsDate)??((l=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??t.firstWeekContainsDate??((h=(d=t.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??1,a=un(e,r),o=ve((r==null?void 0:r.in)||e,0);return o.setFullYear(a,0,n),o.setHours(0,0,0,0),nt(o,r)}function ln(e,r){const t=Y(e,r==null?void 0:r.in),n=+nt(t,r)-+hl(t,r);return Math.round(n/Ja)+1}function le(e,r){const t=e<0?"-":"",n=Math.abs(e).toString().padStart(r,"0");return t+n}const ut={y(e,r){const t=e.getFullYear(),n=t>0?t:1-t;return le(r==="yy"?n%100:n,r.length)},M(e,r){const t=e.getMonth();return r==="M"?String(t+1):le(t+1,2)},d(e,r){return le(e.getDate(),r.length)},a(e,r){const t=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(e,r){return le(e.getHours()%12||12,r.length)},H(e,r){return le(e.getHours(),r.length)},m(e,r){return le(e.getMinutes(),r.length)},s(e,r){return le(e.getSeconds(),r.length)},S(e,r){const t=r.length,n=e.getMilliseconds(),a=Math.trunc(n*Math.pow(10,t-3));return le(a,r.length)}},Ot={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},uo={G:function(e,r,t){const n=e.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return t.era(n,{width:"abbreviated"});case"GGGGG":return t.era(n,{width:"narrow"});case"GGGG":default:return t.era(n,{width:"wide"})}},y:function(e,r,t){if(r==="yo"){const n=e.getFullYear(),a=n>0?n:1-n;return t.ordinalNumber(a,{unit:"year"})}return ut.y(e,r)},Y:function(e,r,t,n){const a=un(e,n),o=a>0?a:1-a;if(r==="YY"){const i=o%100;return le(i,2)}return r==="Yo"?t.ordinalNumber(o,{unit:"year"}):le(o,r.length)},R:function(e,r){const t=so(e);return le(t,r.length)},u:function(e,r){const t=e.getFullYear();return le(t,r.length)},Q:function(e,r,t){const n=Math.ceil((e.getMonth()+1)/3);switch(r){case"Q":return String(n);case"QQ":return le(n,2);case"Qo":return t.ordinalNumber(n,{unit:"quarter"});case"QQQ":return t.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,r,t){const n=Math.ceil((e.getMonth()+1)/3);switch(r){case"q":return String(n);case"qq":return le(n,2);case"qo":return t.ordinalNumber(n,{unit:"quarter"});case"qqq":return t.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,r,t){const n=e.getMonth();switch(r){case"M":case"MM":return ut.M(e,r);case"Mo":return t.ordinalNumber(n+1,{unit:"month"});case"MMM":return t.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(n,{width:"wide",context:"formatting"})}},L:function(e,r,t){const n=e.getMonth();switch(r){case"L":return String(n+1);case"LL":return le(n+1,2);case"Lo":return t.ordinalNumber(n+1,{unit:"month"});case"LLL":return t.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(n,{width:"wide",context:"standalone"})}},w:function(e,r,t,n){const a=ln(e,n);return r==="wo"?t.ordinalNumber(a,{unit:"week"}):le(a,r.length)},I:function(e,r,t){const n=co(e);return r==="Io"?t.ordinalNumber(n,{unit:"week"}):le(n,r.length)},d:function(e,r,t){return r==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):ut.d(e,r)},D:function(e,r,t){const n=fl(e);return r==="Do"?t.ordinalNumber(n,{unit:"dayOfYear"}):le(n,r.length)},E:function(e,r,t){const n=e.getDay();switch(r){case"E":case"EE":case"EEE":return t.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(n,{width:"short",context:"formatting"});case"EEEE":default:return t.day(n,{width:"wide",context:"formatting"})}},e:function(e,r,t,n){const a=e.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return le(o,2);case"eo":return t.ordinalNumber(o,{unit:"day"});case"eee":return t.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(a,{width:"short",context:"formatting"});case"eeee":default:return t.day(a,{width:"wide",context:"formatting"})}},c:function(e,r,t,n){const a=e.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return le(o,r.length);case"co":return t.ordinalNumber(o,{unit:"day"});case"ccc":return t.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(a,{width:"narrow",context:"standalone"});case"cccccc":return t.day(a,{width:"short",context:"standalone"});case"cccc":default:return t.day(a,{width:"wide",context:"standalone"})}},i:function(e,r,t){const n=e.getDay(),a=n===0?7:n;switch(r){case"i":return String(a);case"ii":return le(a,r.length);case"io":return t.ordinalNumber(a,{unit:"day"});case"iii":return t.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(n,{width:"short",context:"formatting"});case"iiii":default:return t.day(n,{width:"wide",context:"formatting"})}},a:function(e,r,t){const a=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,r,t){const n=e.getHours();let a;switch(n===12?a=Ot.noon:n===0?a=Ot.midnight:a=n/12>=1?"pm":"am",r){case"b":case"bb":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,r,t){const n=e.getHours();let a;switch(n>=17?a=Ot.evening:n>=12?a=Ot.afternoon:n>=4?a=Ot.morning:a=Ot.night,r){case"B":case"BB":case"BBB":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,r,t){if(r==="ho"){let n=e.getHours()%12;return n===0&&(n=12),t.ordinalNumber(n,{unit:"hour"})}return ut.h(e,r)},H:function(e,r,t){return r==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):ut.H(e,r)},K:function(e,r,t){const n=e.getHours()%12;return r==="Ko"?t.ordinalNumber(n,{unit:"hour"}):le(n,r.length)},k:function(e,r,t){let n=e.getHours();return n===0&&(n=24),r==="ko"?t.ordinalNumber(n,{unit:"hour"}):le(n,r.length)},m:function(e,r,t){return r==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):ut.m(e,r)},s:function(e,r,t){return r==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):ut.s(e,r)},S:function(e,r){return ut.S(e,r)},X:function(e,r,t){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(r){case"X":return fo(n);case"XXXX":case"XX":return ft(n);case"XXXXX":case"XXX":default:return ft(n,":")}},x:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"x":return fo(n);case"xxxx":case"xx":return ft(n);case"xxxxx":case"xxx":default:return ft(n,":")}},O:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+lo(n,":");case"OOOO":default:return"GMT"+ft(n,":")}},z:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+lo(n,":");case"zzzz":default:return"GMT"+ft(n,":")}},t:function(e,r,t){const n=Math.trunc(+e/1e3);return le(n,r.length)},T:function(e,r,t){return le(+e,r.length)}};function lo(e,r=""){const t=e>0?"-":"+",n=Math.abs(e),a=Math.trunc(n/60),o=n%60;return o===0?t+String(a):t+String(a)+r+le(o,2)}function fo(e,r){return e%60===0?(e>0?"-":"+")+le(Math.abs(e)/60,2):ft(e,r)}function ft(e,r=""){const t=e>0?"-":"+",n=Math.abs(e),a=le(Math.trunc(n/60),2),o=le(n%60,2);return t+a+r+o}const ho=(e,r)=>{switch(e){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},mo=(e,r)=>{switch(e){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},Ut={p:mo,P:(e,r)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],a=t[2];if(!a)return ho(e,r);let o;switch(n){case"P":o=r.dateTime({width:"short"});break;case"PP":o=r.dateTime({width:"medium"});break;case"PPP":o=r.dateTime({width:"long"});break;case"PPPP":default:o=r.dateTime({width:"full"});break}return o.replace("{{date}}",ho(n,r)).replace("{{time}}",mo(a,r))}},ml=/^D+$/,pl=/^Y+$/,yl=["D","DD","YY","YYYY"];function po(e){return ml.test(e)}function yo(e){return pl.test(e)}function fn(e,r,t){const n=gl(e,r,t);if(console.warn(n),yl.includes(e))throw new RangeError(n)}function gl(e,r,t){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${r}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function bl(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function go(e){return!(!bl(e)&&typeof e!="number"||isNaN(+Y(e)))}const vl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,wl=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,xl=/^'([^]*?)'?$/,Tl=/''/g,El=/[a-zA-Z]/;function Sl(e,r,t){var h,m,y,T,p,u,w,b;const n=lt(),a=(t==null?void 0:t.locale)??n.locale??cn,o=(t==null?void 0:t.firstWeekContainsDate)??((m=(h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??n.firstWeekContainsDate??((T=(y=n.locale)==null?void 0:y.options)==null?void 0:T.firstWeekContainsDate)??1,i=(t==null?void 0:t.weekStartsOn)??((u=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:u.weekStartsOn)??n.weekStartsOn??((b=(w=n.locale)==null?void 0:w.options)==null?void 0:b.weekStartsOn)??0,s=Y(e,t==null?void 0:t.in);if(!go(s))throw new RangeError("Invalid time value");let l=r.match(wl).map(x=>{const O=x[0];if(O==="p"||O==="P"){const C=Ut[O];return C(x,a.formatLong)}return x}).join("").match(vl).map(x=>{if(x==="''")return{isToken:!1,value:"'"};const O=x[0];if(O==="'")return{isToken:!1,value:Ol(x)};if(uo[O])return{isToken:!0,value:x};if(O.match(El))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");return{isToken:!1,value:x}});a.localize.preprocessor&&(l=a.localize.preprocessor(s,l));const d={firstWeekContainsDate:o,weekStartsOn:i,locale:a};return l.map(x=>{if(!x.isToken)return x.value;const O=x.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&yo(O)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&po(O))&&fn(O,r,String(e));const C=uo[O[0]];return C(s,O,a.localize,d)}).join("")}function Ol(e){const r=e.match(xl);return r?r[1].replace(Tl,"'"):e}function Cl(e,r){return Y(e,r==null?void 0:r.in).getDate()}function bo(e,r){const t=Y(e,r==null?void 0:r.in),n=t.getFullYear(),a=t.getMonth(),o=ve(t,0);return o.setFullYear(n,a+1,0),o.setHours(0,0,0,0),o.getDate()}function kl(e,r){return Y(e,r==null?void 0:r.in).getHours()}function Pl(e,r){return Y(e,r==null?void 0:r.in).getMinutes()}function _l(e,r){return Y(e,r==null?void 0:r.in).getMonth()}function Ml(e){return Y(e).getSeconds()}function Rl(e){return Y(e).getMilliseconds()}function Dl(e,r){return Y(e,r==null?void 0:r.in).getFullYear()}function dn(e,r){return+Y(e)>+Y(r)}function hn(e,r){return+Y(e)<+Y(r)}function Al(e,r){return+Y(e)==+Y(r)}function $l(e,r,t){const[n,a]=qt(t==null?void 0:t.in,e,r);return+zt(n)==+zt(a)}function Il(e,r,t){const[n,a]=qt(t==null?void 0:t.in,e,r);return n.getFullYear()===a.getFullYear()}function Nl(e,r,t){const[n,a]=qt(t==null?void 0:t.in,e,r);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()}function vo(e,r){const t=Y(e,r==null?void 0:r.in);return t.setMinutes(0,0,0),t}function Fl(e,r,t){const[n,a]=qt(t==null?void 0:t.in,e,r);return+vo(n)==+vo(a)}function jl(){return Object.assign({},lt())}function Yl(e,r){const t=Ll(r)?new r(0):ve(r,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}function Ll(e){var r;return typeof e=="function"&&((r=e.prototype)==null?void 0:r.constructor)===e}const Wl=10;class wo{constructor(){R(this,"subPriority",0)}validate(r,t){return!0}}class Bl extends wo{constructor(r,t,n,a,o){super(),this.value=r,this.validateValue=t,this.setValue=n,this.priority=a,o&&(this.subPriority=o)}validate(r,t){return this.validateValue(r,this.value,t)}set(r,t,n){return this.setValue(r,t,this.value,n)}}class Hl extends wo{constructor(t,n){super();R(this,"priority",Wl);R(this,"subPriority",-1);this.context=t||(a=>ve(n,a))}set(t,n){return n.timestampIsSet?t:ve(t,Yl(t,this.context))}}class ae{run(r,t,n,a){const o=this.parse(r,t,n,a);return o?{setter:new Bl(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(r,t,n){return!0}}class Vl extends ae{constructor(){super(...arguments);R(this,"priority",140);R(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,a){switch(n){case"G":case"GG":case"GGG":return a.era(t,{width:"abbreviated"})||a.era(t,{width:"narrow"});case"GGGGG":return a.era(t,{width:"narrow"});case"GGGG":default:return a.era(t,{width:"wide"})||a.era(t,{width:"abbreviated"})||a.era(t,{width:"narrow"})}}set(t,n,a){return n.era=a,t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}}const Oe={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Xe={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Ce(e,r){return e&&{value:r(e.value),rest:e.rest}}function we(e,r){const t=r.match(e);return t?{value:parseInt(t[0],10),rest:r.slice(t[0].length)}:null}function Ke(e,r){const t=r.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:r.slice(1)};const n=t[1]==="+"?1:-1,a=t[2]?parseInt(t[2],10):0,o=t[3]?parseInt(t[3],10):0,i=t[5]?parseInt(t[5],10):0;return{value:n*(a*eo+o*Za+i*Ou),rest:r.slice(t[0].length)}}function xo(e){return we(Oe.anyDigitsSigned,e)}function Ee(e,r){switch(e){case 1:return we(Oe.singleDigit,r);case 2:return we(Oe.twoDigits,r);case 3:return we(Oe.threeDigits,r);case 4:return we(Oe.fourDigits,r);default:return we(new RegExp("^\\d{1,"+e+"}"),r)}}function Pr(e,r){switch(e){case 1:return we(Oe.singleDigitSigned,r);case 2:return we(Oe.twoDigitsSigned,r);case 3:return we(Oe.threeDigitsSigned,r);case 4:return we(Oe.fourDigitsSigned,r);default:return we(new RegExp("^-?\\d{1,"+e+"}"),r)}}function mn(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function To(e,r){const t=r>0,n=t?r:1-r;let a;if(n<=50)a=e||100;else{const o=n+50,i=Math.trunc(o/100)*100,s=e>=o%100;a=e+i-(s?100:0)}return t?a:1-a}function Eo(e){return e%400===0||e%4===0&&e%100!==0}class ql extends ae{constructor(){super(...arguments);R(this,"priority",130);R(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,a){const o=i=>({year:i,isTwoDigitYear:n==="yy"});switch(n){case"y":return Ce(Ee(4,t),o);case"yo":return Ce(a.ordinalNumber(t,{unit:"year"}),o);default:return Ce(Ee(n.length,t),o)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,a){const o=t.getFullYear();if(a.isTwoDigitYear){const s=To(a.year,o);return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}const i=!("era"in n)||n.era===1?a.year:1-a.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}}class zl extends ae{constructor(){super(...arguments);R(this,"priority",130);R(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,a){const o=i=>({year:i,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Ce(Ee(4,t),o);case"Yo":return Ce(a.ordinalNumber(t,{unit:"year"}),o);default:return Ce(Ee(n.length,t),o)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,a,o){const i=un(t,o);if(a.isTwoDigitYear){const l=To(a.year,i);return t.setFullYear(l,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),nt(t,o)}const s=!("era"in n)||n.era===1?a.year:1-a.year;return t.setFullYear(s,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),nt(t,o)}}class Ul extends ae{constructor(){super(...arguments);R(this,"priority",130);R(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Pr(n==="R"?4:n.length,t)}set(t,n,a){const o=ve(t,0);return o.setFullYear(a,0,4),o.setHours(0,0,0,0),St(o)}}class Gl extends ae{constructor(){super(...arguments);R(this,"priority",130);R(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Pr(n==="u"?4:n.length,t)}set(t,n,a){return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}}class Ql extends ae{constructor(){super(...arguments);R(this,"priority",120);R(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"Q":case"QQ":return Ee(n.length,t);case"Qo":return a.ordinalNumber(t,{unit:"quarter"});case"QQQ":return a.quarter(t,{width:"abbreviated",context:"formatting"})||a.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(t,{width:"wide",context:"formatting"})||a.quarter(t,{width:"abbreviated",context:"formatting"})||a.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,a){return t.setMonth((a-1)*3,1),t.setHours(0,0,0,0),t}}class Xl extends ae{constructor(){super(...arguments);R(this,"priority",120);R(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"q":case"qq":return Ee(n.length,t);case"qo":return a.ordinalNumber(t,{unit:"quarter"});case"qqq":return a.quarter(t,{width:"abbreviated",context:"standalone"})||a.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(t,{width:"wide",context:"standalone"})||a.quarter(t,{width:"abbreviated",context:"standalone"})||a.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,a){return t.setMonth((a-1)*3,1),t.setHours(0,0,0,0),t}}class Kl extends ae{constructor(){super(...arguments);R(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);R(this,"priority",110)}parse(t,n,a){const o=i=>i-1;switch(n){case"M":return Ce(we(Oe.month,t),o);case"MM":return Ce(Ee(2,t),o);case"Mo":return Ce(a.ordinalNumber(t,{unit:"month"}),o);case"MMM":return a.month(t,{width:"abbreviated",context:"formatting"})||a.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(t,{width:"wide",context:"formatting"})||a.month(t,{width:"abbreviated",context:"formatting"})||a.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.setMonth(a,1),t.setHours(0,0,0,0),t}}class Jl extends ae{constructor(){super(...arguments);R(this,"priority",110);R(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,a){const o=i=>i-1;switch(n){case"L":return Ce(we(Oe.month,t),o);case"LL":return Ce(Ee(2,t),o);case"Lo":return Ce(a.ordinalNumber(t,{unit:"month"}),o);case"LLL":return a.month(t,{width:"abbreviated",context:"standalone"})||a.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(t,{width:"wide",context:"standalone"})||a.month(t,{width:"abbreviated",context:"standalone"})||a.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.setMonth(a,1),t.setHours(0,0,0,0),t}}function Zl(e,r,t){const n=Y(e,t==null?void 0:t.in),a=ln(n,t)-r;return n.setDate(n.getDate()-a*7),Y(n,t==null?void 0:t.in)}class ef extends ae{constructor(){super(...arguments);R(this,"priority",100);R(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,a){switch(n){case"w":return we(Oe.week,t);case"wo":return a.ordinalNumber(t,{unit:"week"});default:return Ee(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,a,o){return nt(Zl(t,a,o),o)}}function tf(e,r,t){const n=Y(e,t==null?void 0:t.in),a=co(n,t)-r;return n.setDate(n.getDate()-a*7),n}class rf extends ae{constructor(){super(...arguments);R(this,"priority",100);R(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,a){switch(n){case"I":return we(Oe.week,t);case"Io":return a.ordinalNumber(t,{unit:"week"});default:return Ee(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,a){return St(tf(t,a))}}const nf=[31,28,31,30,31,30,31,31,30,31,30,31],af=[31,29,31,30,31,30,31,31,30,31,30,31];class of extends ae{constructor(){super(...arguments);R(this,"priority",90);R(this,"subPriority",1);R(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"d":return we(Oe.date,t);case"do":return a.ordinalNumber(t,{unit:"date"});default:return Ee(n.length,t)}}validate(t,n){const a=t.getFullYear(),o=Eo(a),i=t.getMonth();return o?n>=1&&n<=af[i]:n>=1&&n<=nf[i]}set(t,n,a){return t.setDate(a),t.setHours(0,0,0,0),t}}class sf extends ae{constructor(){super(...arguments);R(this,"priority",90);R(this,"subpriority",1);R(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,a){switch(n){case"D":case"DD":return we(Oe.dayOfYear,t);case"Do":return a.ordinalNumber(t,{unit:"date"});default:return Ee(n.length,t)}}validate(t,n){const a=t.getFullYear();return Eo(a)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,a){return t.setMonth(0,a),t.setHours(0,0,0,0),t}}function pn(e,r,t){var m,y,T,p;const n=lt(),a=(t==null?void 0:t.weekStartsOn)??((y=(m=t==null?void 0:t.locale)==null?void 0:m.options)==null?void 0:y.weekStartsOn)??n.weekStartsOn??((p=(T=n.locale)==null?void 0:T.options)==null?void 0:p.weekStartsOn)??0,o=Y(e,t==null?void 0:t.in),i=o.getDay(),l=(r%7+7)%7,d=7-a,h=r<0||r>6?r-(i+d)%7:(l+d)%7-(i+d)%7;return Bt(o,h,t)}class cf extends ae{constructor(){super(...arguments);R(this,"priority",90);R(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"E":case"EE":case"EEE":return a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,o){return t=pn(t,a,o),t.setHours(0,0,0,0),t}}class uf extends ae{constructor(){super(...arguments);R(this,"priority",90);R(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,a,o){const i=s=>{const l=Math.floor((s-1)/7)*7;return(s+o.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return Ce(Ee(n.length,t),i);case"eo":return Ce(a.ordinalNumber(t,{unit:"day"}),i);case"eee":return a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"eeeee":return a.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,o){return t=pn(t,a,o),t.setHours(0,0,0,0),t}}class lf extends ae{constructor(){super(...arguments);R(this,"priority",90);R(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,a,o){const i=s=>{const l=Math.floor((s-1)/7)*7;return(s+o.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return Ce(Ee(n.length,t),i);case"co":return Ce(a.ordinalNumber(t,{unit:"day"}),i);case"ccc":return a.day(t,{width:"abbreviated",context:"standalone"})||a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"});case"ccccc":return a.day(t,{width:"narrow",context:"standalone"});case"cccccc":return a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(t,{width:"wide",context:"standalone"})||a.day(t,{width:"abbreviated",context:"standalone"})||a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,o){return t=pn(t,a,o),t.setHours(0,0,0,0),t}}function ff(e,r){const t=Y(e,r==null?void 0:r.in).getDay();return t===0?7:t}function df(e,r,t){const n=Y(e,t==null?void 0:t.in),a=ff(n,t),o=r-a;return Bt(n,o,t)}class hf extends ae{constructor(){super(...arguments);R(this,"priority",90);R(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,a){const o=i=>i===0?7:i;switch(n){case"i":case"ii":return Ee(n.length,t);case"io":return a.ordinalNumber(t,{unit:"day"});case"iii":return Ce(a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),o);case"iiiii":return Ce(a.day(t,{width:"narrow",context:"formatting"}),o);case"iiiiii":return Ce(a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),o);case"iiii":default:return Ce(a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),o)}}validate(t,n){return n>=1&&n<=7}set(t,n,a){return t=df(t,a),t.setHours(0,0,0,0),t}}class mf extends ae{constructor(){super(...arguments);R(this,"priority",80);R(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,a){switch(n){case"a":case"aa":case"aaa":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(mn(a),0,0,0),t}}class pf extends ae{constructor(){super(...arguments);R(this,"priority",80);R(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,a){switch(n){case"b":case"bb":case"bbb":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(mn(a),0,0,0),t}}class yf extends ae{constructor(){super(...arguments);R(this,"priority",80);R(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,a){switch(n){case"B":case"BB":case"BBB":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(mn(a),0,0,0),t}}class gf extends ae{constructor(){super(...arguments);R(this,"priority",70);R(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,a){switch(n){case"h":return we(Oe.hour12h,t);case"ho":return a.ordinalNumber(t,{unit:"hour"});default:return Ee(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,a){const o=t.getHours()>=12;return o&&a<12?t.setHours(a+12,0,0,0):!o&&a===12?t.setHours(0,0,0,0):t.setHours(a,0,0,0),t}}class bf extends ae{constructor(){super(...arguments);R(this,"priority",70);R(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,a){switch(n){case"H":return we(Oe.hour23h,t);case"Ho":return a.ordinalNumber(t,{unit:"hour"});default:return Ee(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,a){return t.setHours(a,0,0,0),t}}class vf extends ae{constructor(){super(...arguments);R(this,"priority",70);R(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,a){switch(n){case"K":return we(Oe.hour11h,t);case"Ko":return a.ordinalNumber(t,{unit:"hour"});default:return Ee(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.getHours()>=12&&a<12?t.setHours(a+12,0,0,0):t.setHours(a,0,0,0),t}}class wf extends ae{constructor(){super(...arguments);R(this,"priority",70);R(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,a){switch(n){case"k":return we(Oe.hour24h,t);case"ko":return a.ordinalNumber(t,{unit:"hour"});default:return Ee(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,a){const o=a<=24?a%24:a;return t.setHours(o,0,0,0),t}}class xf extends ae{constructor(){super(...arguments);R(this,"priority",60);R(this,"incompatibleTokens",["t","T"])}parse(t,n,a){switch(n){case"m":return we(Oe.minute,t);case"mo":return a.ordinalNumber(t,{unit:"minute"});default:return Ee(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,a){return t.setMinutes(a,0,0),t}}class Tf extends ae{constructor(){super(...arguments);R(this,"priority",50);R(this,"incompatibleTokens",["t","T"])}parse(t,n,a){switch(n){case"s":return we(Oe.second,t);case"so":return a.ordinalNumber(t,{unit:"second"});default:return Ee(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,a){return t.setSeconds(a,0),t}}class Ef extends ae{constructor(){super(...arguments);R(this,"priority",30);R(this,"incompatibleTokens",["t","T"])}parse(t,n){const a=o=>Math.trunc(o*Math.pow(10,-n.length+3));return Ce(Ee(n.length,t),a)}set(t,n,a){return t.setMilliseconds(a),t}}class Sf extends ae{constructor(){super(...arguments);R(this,"priority",10);R(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Ke(Xe.basicOptionalMinutes,t);case"XX":return Ke(Xe.basic,t);case"XXXX":return Ke(Xe.basicOptionalSeconds,t);case"XXXXX":return Ke(Xe.extendedOptionalSeconds,t);case"XXX":default:return Ke(Xe.extended,t)}}set(t,n,a){return n.timestampIsSet?t:ve(t,t.getTime()-kr(t)-a)}}class Of extends ae{constructor(){super(...arguments);R(this,"priority",10);R(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Ke(Xe.basicOptionalMinutes,t);case"xx":return Ke(Xe.basic,t);case"xxxx":return Ke(Xe.basicOptionalSeconds,t);case"xxxxx":return Ke(Xe.extendedOptionalSeconds,t);case"xxx":default:return Ke(Xe.extended,t)}}set(t,n,a){return n.timestampIsSet?t:ve(t,t.getTime()-kr(t)-a)}}class Cf extends ae{constructor(){super(...arguments);R(this,"priority",40);R(this,"incompatibleTokens","*")}parse(t){return xo(t)}set(t,n,a){return[ve(t,a*1e3),{timestampIsSet:!0}]}}class kf extends ae{constructor(){super(...arguments);R(this,"priority",20);R(this,"incompatibleTokens","*")}parse(t){return xo(t)}set(t,n,a){return[ve(t,a),{timestampIsSet:!0}]}}const Pf={G:new Vl,y:new ql,Y:new zl,R:new Ul,u:new Gl,Q:new Ql,q:new Xl,M:new Kl,L:new Jl,w:new ef,I:new rf,d:new of,D:new sf,E:new cf,e:new uf,c:new lf,i:new hf,a:new mf,b:new pf,B:new yf,h:new gf,H:new bf,K:new vf,k:new wf,m:new xf,s:new Tf,S:new Ef,X:new Sf,x:new Of,t:new Cf,T:new kf},_f=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Mf=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Rf=/^'([^]*?)'?$/,Df=/''/g,Af=/\S/,$f=/[a-zA-Z]/;function If(e,r,t,n){var w,b,x,O,C,v,$,A;const a=()=>ve((n==null?void 0:n.in)||t,NaN),o=jl(),i=(n==null?void 0:n.locale)??o.locale??cn,s=(n==null?void 0:n.firstWeekContainsDate)??((b=(w=n==null?void 0:n.locale)==null?void 0:w.options)==null?void 0:b.firstWeekContainsDate)??o.firstWeekContainsDate??((O=(x=o.locale)==null?void 0:x.options)==null?void 0:O.firstWeekContainsDate)??1,l=(n==null?void 0:n.weekStartsOn)??((v=(C=n==null?void 0:n.locale)==null?void 0:C.options)==null?void 0:v.weekStartsOn)??o.weekStartsOn??((A=($=o.locale)==null?void 0:$.options)==null?void 0:A.weekStartsOn)??0;if(!r)return e?a():Y(t,n==null?void 0:n.in);const d={firstWeekContainsDate:s,weekStartsOn:l,locale:i},h=[new Hl(n==null?void 0:n.in,t)],m=r.match(Mf).map(D=>{const j=D[0];if(j in Ut){const c=Ut[j];return c(D,i.formatLong)}return D}).join("").match(_f),y=[];for(let D of m){!(n!=null&&n.useAdditionalWeekYearTokens)&&yo(D)&&fn(D,r,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&po(D)&&fn(D,r,e);const j=D[0],c=Pf[j];if(c){const{incompatibleTokens:k}=c;if(Array.isArray(k)){const L=y.find(G=>k.includes(G.token)||G.token===j);if(L)throw new RangeError(`The format string mustn't contain \`${L.fullToken}\` and \`${D}\` at the same time`)}else if(c.incompatibleTokens==="*"&&y.length>0)throw new RangeError(`The format string mustn't contain \`${D}\` and any other token at the same time`);y.push({token:j,fullToken:D});const I=c.run(e,D,i.match,d);if(!I)return a();h.push(I.setter),e=I.rest}else{if(j.match($f))throw new RangeError("Format string contains an unescaped latin alphabet character `"+j+"`");if(D==="''"?D="'":j==="'"&&(D=Nf(D)),e.indexOf(D)===0)e=e.slice(D.length);else return a()}}if(e.length>0&&Af.test(e))return a();const T=h.map(D=>D.priority).sort((D,j)=>j-D).filter((D,j,c)=>c.indexOf(D)===j).map(D=>h.filter(j=>j.priority===D).sort((j,c)=>c.subPriority-j.subPriority)).map(D=>D[0]);let p=Y(t,n==null?void 0:n.in);if(isNaN(+p))return a();const u={};for(const D of T){if(!D.validate(p,d))return a();const j=D.set(p,u,d);Array.isArray(j)?(p=j[0],Object.assign(u,j[1])):p=j}return p}function Nf(e){return e.match(Rf)[1].replace(Df,"'")}function Ff(e,r,t){const n=Y(e,t==null?void 0:t.in);return n.setDate(r),n}function jf(e,r,t){const n=Y(e,t==null?void 0:t.in);return n.setHours(r),n}function Yf(e,r,t){const n=Y(e,t==null?void 0:t.in);return n.setMinutes(r),n}function Lf(e,r,t){const n=Y(e,t==null?void 0:t.in),a=n.getFullYear(),o=n.getDate(),i=ve(e,0);i.setFullYear(a,r,15),i.setHours(0,0,0,0);const s=bo(i);return n.setMonth(r,Math.min(o,s)),n}function Wf(e,r,t){const n=Y(e,t==null?void 0:t.in);return n.setSeconds(r),n}function Bf(e,r,t){const n=Y(e,t==null?void 0:t.in);return n.setMilliseconds(r),n}function Hf(e,r,t){const n=Y(e,t==null?void 0:t.in);return isNaN(+n)?ve(e,NaN):(n.setFullYear(r),n)}function Vf(e,r){const t=Y(e,r==null?void 0:r.in);return t.setDate(1),t.setHours(0,0,0,0),t}function qf(e,r){const t=Y(e,r==null?void 0:r.in),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function zf(e,r,t){const n=+Y(e,t==null?void 0:t.in),[a,o]=[+Y(r.start,t==null?void 0:t.in),+Y(r.end,t==null?void 0:t.in)].sort((i,s)=>i-s);return n>=a&&n<=o}function yn(){return yn=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},yn.apply(null,arguments)}const Uf={y:{sectionType:"year",contentType:"digit",maxLength:4},yy:"year",yyy:{sectionType:"year",contentType:"digit",maxLength:4},yyyy:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMMM:{sectionType:"month",contentType:"letter"},MMM:{sectionType:"month",contentType:"letter"},L:{sectionType:"month",contentType:"digit",maxLength:2},LL:"month",LLL:{sectionType:"month",contentType:"letter"},LLLL:{sectionType:"month",contentType:"letter"},d:{sectionType:"day",contentType:"digit",maxLength:2},dd:"day",do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"letter"},EE:{sectionType:"weekDay",contentType:"letter"},EEE:{sectionType:"weekDay",contentType:"letter"},EEEE:{sectionType:"weekDay",contentType:"letter"},EEEEE:{sectionType:"weekDay",contentType:"letter"},i:{sectionType:"weekDay",contentType:"digit",maxLength:1},ii:"weekDay",iii:{sectionType:"weekDay",contentType:"letter"},iiii:{sectionType:"weekDay",contentType:"letter"},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},ee:"weekDay",eee:{sectionType:"weekDay",contentType:"letter"},eeee:{sectionType:"weekDay",contentType:"letter"},eeeee:{sectionType:"weekDay",contentType:"letter"},eeeeee:{sectionType:"weekDay",contentType:"letter"},c:{sectionType:"weekDay",contentType:"digit",maxLength:1},cc:"weekDay",ccc:{sectionType:"weekDay",contentType:"letter"},cccc:{sectionType:"weekDay",contentType:"letter"},ccccc:{sectionType:"weekDay",contentType:"letter"},cccccc:{sectionType:"weekDay",contentType:"letter"},a:"meridiem",aa:"meridiem",aaa:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},Gf={year:"yyyy",month:"LLLL",monthShort:"MMM",dayOfMonth:"d",dayOfMonthFull:"do",weekday:"EEEE",weekdayShort:"EEEEEE",hours24h:"HH",hours12h:"hh",meridiem:"aa",minutes:"mm",seconds:"ss",fullDate:"PP",keyboardDate:"P",shortDate:"MMM d",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",fullTime:"p",fullTime12h:"hh:mm aa",fullTime24h:"HH:mm",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aa",keyboardDateTime24h:"P HH:mm"};class Qf{constructor(r){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib=void 0,this.locale=void 0,this.formats=void 0,this.formatTokenMap=Uf,this.escapedCharacters={start:"'",end:"'"},this.longFormatters=void 0,this.date=i=>typeof i>"u"?new Date:i===null?null:new Date(i),this.getInvalidDate=()=>new Date("Invalid Date"),this.getTimezone=()=>"default",this.setTimezone=i=>i,this.toJsDate=i=>i,this.getCurrentLocaleCode=()=>this.locale.code,this.is12HourCycleInCurrentLocale=()=>/a/.test(this.locale.formatLong.time({width:"short"})),this.expandFormat=i=>{const s=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return i.match(s).map(l=>{const d=l[0];if(d==="p"||d==="P"){const h=this.longFormatters[d];return h(l,this.locale.formatLong)}return l}).join("")},this.formatNumber=i=>i,this.getDayOfWeek=i=>i.getDay()+1;const{locale:t,formats:n,longFormatters:a,lib:o}=r;this.locale=t,this.formats=yn({},Gf,n),this.longFormatters=a,this.lib=o||"date-fns"}}class Xf extends Qf{constructor({locale:r,formats:t}={}){if(process.env.NODE_ENV!=="production"){if(typeof Bt!="function")throw new Error(["MUI: The `date-fns` package v2.x is not compatible with this adapter.","Please, install v3.x or v4.x of the package or use the `AdapterDateFns` instead."].join(`
105
+ `));if(!Ut)throw new Error("MUI: The minimum supported `date-fns` package version compatible with this adapter is `3.2.x`.")}super({locale:r??cn,formats:t,longFormatters:Ut}),this.parse=(n,a)=>n===""?null:If(n,a,new Date,{locale:this.locale}),this.isValid=n=>n==null?!1:go(n),this.format=(n,a)=>this.formatByString(n,this.formats[a]),this.formatByString=(n,a)=>Sl(n,a,{locale:this.locale}),this.isEqual=(n,a)=>n===null&&a===null?!0:n===null||a===null?!1:Al(n,a),this.isSameYear=(n,a)=>Il(n,a),this.isSameMonth=(n,a)=>Nl(n,a),this.isSameDay=(n,a)=>$l(n,a),this.isSameHour=(n,a)=>Fl(n,a),this.isAfter=(n,a)=>dn(n,a),this.isAfterYear=(n,a)=>dn(n,oo(a)),this.isAfterDay=(n,a)=>dn(n,ao(a)),this.isBefore=(n,a)=>hn(n,a),this.isBeforeYear=(n,a)=>hn(n,this.startOfYear(a)),this.isBeforeDay=(n,a)=>hn(n,this.startOfDay(a)),this.isWithinRange=(n,[a,o])=>zf(n,{start:a,end:o}),this.startOfYear=n=>io(n),this.startOfMonth=n=>Vf(n),this.startOfWeek=n=>nt(n,{locale:this.locale}),this.startOfDay=n=>zt(n),this.endOfYear=n=>oo(n),this.endOfMonth=n=>qf(n),this.endOfWeek=n=>Du(n,{locale:this.locale}),this.endOfDay=n=>ao(n),this.addYears=(n,a)=>Mu(n,a),this.addMonths=(n,a)=>no(n,a),this.addWeeks=(n,a)=>_u(n,a),this.addDays=(n,a)=>Bt(n,a),this.addHours=(n,a)=>Pu(n,a),this.addMinutes=(n,a)=>ku(n,a),this.addSeconds=(n,a)=>Cu(n,a),this.getYear=n=>Dl(n),this.getMonth=n=>_l(n),this.getDate=n=>Cl(n),this.getHours=n=>kl(n),this.getMinutes=n=>Pl(n),this.getSeconds=n=>Ml(n),this.getMilliseconds=n=>Rl(n),this.setYear=(n,a)=>Hf(n,a),this.setMonth=(n,a)=>Lf(n,a),this.setDate=(n,a)=>Ff(n,a),this.setHours=(n,a)=>jf(n,a),this.setMinutes=(n,a)=>Yf(n,a),this.setSeconds=(n,a)=>Wf(n,a),this.setMilliseconds=(n,a)=>Bf(n,a),this.getDaysInMonth=n=>bo(n),this.getWeekArray=n=>{const a=this.startOfWeek(this.startOfMonth(n)),o=this.endOfWeek(this.endOfMonth(n));let i=0,s=a;const l=[];for(;this.isBefore(s,o);){const d=Math.floor(i/7);l[d]=l[d]||[],l[d].push(s),s=this.addDays(s,1),i+=1}return l},this.getWeekNumber=n=>ln(n,{locale:this.locale}),this.getYearRange=([n,a])=>{const o=this.startOfYear(n),i=this.endOfYear(a),s=[];let l=o;for(;this.isBefore(l,i);)s.push(l),l=this.addYears(l,1);return s}}}function Kf({children:e,onSubmit:r,layout:t,sx:n}){return W.jsx(En.LocalizationProvider,{dateAdapter:Xf,adapterLocale:void 0,children:W.jsx(Wo,{layout:t,children:W.jsx(Ka,{sx:n,children:W.jsx("form",{onSubmit:r,children:e})})})})}function Jf({children:e,onSubmit:r=()=>{},layout:t,formOptions:n={},sx:a}){const o=ot.useForm(n);return W.jsx(ot.FormProvider,{...o,children:W.jsx(Kf,{onSubmit:o.handleSubmit(r),layout:t,sx:a,children:e})})}function Zf(){return W.jsx("div",{children:"FormRenderer"})}ge.CalculatedNumberInput=fu,ge.Checkbox=Bo,ge.DateInput=Ho,ge.FormFieldLabel=vu,ge.FormProvider=Jf,ge.NumberInput=Vo,ge.Select=du,ge.TextInput=_n,ge.default=Zf,Object.defineProperties(ge,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});