@opengov/form-renderer 0.0.4 → 0.0.7

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(pe,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):(pe=typeof globalThis<"u"?globalThis:pe||self,Me(pe.Lib={},pe.React,pe.MaterialUI,pe.CapitalMuiTheme,pe.ReactHookForm,pe.MuiDatePickers))})(this,function(pe,Me,ye,Kt,ht,xn){"use strict";var ld=Object.defineProperty;var fd=(pe,Me,ye)=>Me in pe?ld(pe,Me,{enumerable:!0,configurable:!0,writable:!0,value:ye}):pe[Me]=ye;var M=(pe,Me,ye)=>fd(pe,typeof Me!="symbol"?Me+"":Me,ye);function Mo(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 fe=Mo(Me);function Do(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Or={exports:{}},Pt={};/**
1
+ (function(ye,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):(ye=typeof globalThis<"u"?globalThis:ye||self,Me(ye.Lib={},ye.React,ye.MaterialUI,ye.CapitalMuiTheme,ye.ReactHookForm,ye.MuiDatePickers))})(this,function(ye,Me,fe,mt,it,Tn){"use strict";var dd=Object.defineProperty;var hd=(ye,Me,fe)=>Me in ye?dd(ye,Me,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ye[Me]=fe;var M=(ye,Me,fe)=>hd(ye,typeof Me!="symbol"?Me+"":Me,fe);function Mo(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 de=Mo(Me);function Do(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kr={exports:{}},_t={};/**
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 Tn;function Ro(){if(Tn)return Pt;Tn=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,u,f){var d,h={},m=null,w=null;f!==void 0&&(m=""+f),u.key!==void 0&&(m=""+u.key),u.ref!==void 0&&(w=u.ref);for(d in u)n.call(u,d)&&!o.hasOwnProperty(d)&&(h[d]=u[d]);if(s&&s.defaultProps)for(d in u=s.defaultProps,u)h[d]===void 0&&(h[d]=u[d]);return{$$typeof:r,type:s,key:m,ref:w,props:h,_owner:a.current}}return Pt.Fragment=t,Pt.jsx=i,Pt.jsxs=i,Pt}var _t={};/**
9
+ */var En;function Ro(){if(En)return _t;En=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,u,f){var d,h={},m=null,w=null;f!==void 0&&(m=""+f),u.key!==void 0&&(m=""+u.key),u.ref!==void 0&&(w=u.ref);for(d in u)n.call(u,d)&&!o.hasOwnProperty(d)&&(h[d]=u[d]);if(s&&s.defaultProps)for(d in u=s.defaultProps,u)h[d]===void 0&&(h[d]=u[d]);return{$$typeof:r,type:s,key:m,ref:w,props:h,_owner:a.current}}return _t.Fragment=t,_t.jsx=i,_t.jsxs=i,_t}var Mt={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,39 +14,39 @@
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 En;function Ao(){return En||(En=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"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),v=Symbol.iterator,p="@@iterator";function y(l){if(l===null||typeof l!="object")return null;var x=v&&l[v]||l[p];return typeof x=="function"?x:null}var T=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(l){{for(var x=arguments.length,_=new Array(x>1?x-1:0),L=1;L<x;L++)_[L-1]=arguments[L];E("error",l,_)}}function E(l,x,_){{var L=T.ReactDebugCurrentFrame,ue=L.getStackAddendum();ue!==""&&(x+="%s",_=_.concat([ue]));var me=_.map(function(ee){return String(ee)});me.unshift("Warning: "+x),Function.prototype.apply.call(console[l],console,me)}}var O=!1,g=!1,F=!1,$=!1,R=!1,j;j=Symbol.for("react.module.reference");function c(l){return!!(typeof l=="string"||typeof l=="function"||l===n||l===o||R||l===a||l===f||l===d||$||l===w||O||g||F||typeof l=="object"&&l!==null&&(l.$$typeof===m||l.$$typeof===h||l.$$typeof===i||l.$$typeof===s||l.$$typeof===u||l.$$typeof===j||l.getModuleId!==void 0))}function P(l,x,_){var L=l.displayName;if(L)return L;var ue=x.displayName||x.name||"";return ue!==""?_+"("+ue+")":_}function Y(l){return l.displayName||"Context"}function W(l){if(l==null)return null;if(typeof l.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case n:return"Fragment";case t:return"Portal";case o:return"Profiler";case a:return"StrictMode";case f:return"Suspense";case d:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case s:var x=l;return Y(x)+".Consumer";case i:var _=l;return Y(_._context)+".Provider";case u:return P(l,l.render,"ForwardRef");case h:var L=l.displayName||null;return L!==null?L:W(l.type)||"Memo";case m:{var ue=l,me=ue._payload,ee=ue._init;try{return W(ee(me))}catch{return null}}}return null}var V=Object.assign,ae=0,ve,$e,Be,ot,S,D,U;function z(){}z.__reactDisabledLog=!0;function B(){{if(ae===0){ve=console.log,$e=console.info,Be=console.warn,ot=console.error,S=console.group,D=console.groupCollapsed,U=console.groupEnd;var l={configurable:!0,enumerable:!0,value:z,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}ae++}}function K(){{if(ae--,ae===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:V({},l,{value:ve}),info:V({},l,{value:$e}),warn:V({},l,{value:Be}),error:V({},l,{value:ot}),group:V({},l,{value:S}),groupCollapsed:V({},l,{value:D}),groupEnd:V({},l,{value:U})})}ae<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var H=T.ReactCurrentDispatcher,q;function Q(l,x,_){{if(q===void 0)try{throw Error()}catch(ue){var L=ue.stack.trim().match(/\n( *(at )?)/);q=L&&L[1]||""}return`
18
- `+q+l}}var Z=!1,X;{var De=typeof WeakMap=="function"?WeakMap:Map;X=new De}function k(l,x){if(!l||Z)return"";{var _=X.get(l);if(_!==void 0)return _}var L;Z=!0;var ue=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var me;me=H.current,H.current=null,B();try{if(x){var ee=function(){throw Error()};if(Object.defineProperty(ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ee,[])}catch(je){L=je}Reflect.construct(l,[],ee)}else{try{ee.call()}catch(je){L=je}l.call(ee.prototype)}}else{try{throw Error()}catch(je){L=je}l()}}catch(je){if(je&&L&&typeof je.stack=="string"){for(var J=je.stack.split(`
19
- `),Ie=L.stack.split(`
17
+ */var Sn;function Ao(){return Sn||(Sn=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"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),v=Symbol.iterator,p="@@iterator";function y(l){if(l===null||typeof l!="object")return null;var x=v&&l[v]||l[p];return typeof x=="function"?x:null}var T=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(l){{for(var x=arguments.length,_=new Array(x>1?x-1:0),B=1;B<x;B++)_[B-1]=arguments[B];E("error",l,_)}}function E(l,x,_){{var B=T.ReactDebugCurrentFrame,ue=B.getStackAddendum();ue!==""&&(x+="%s",_=_.concat([ue]));var pe=_.map(function(ee){return String(ee)});pe.unshift("Warning: "+x),Function.prototype.apply.call(console[l],console,pe)}}var O=!1,g=!1,F=!1,$=!1,R=!1,j;j=Symbol.for("react.module.reference");function c(l){return!!(typeof l=="string"||typeof l=="function"||l===n||l===o||R||l===a||l===f||l===d||$||l===w||O||g||F||typeof l=="object"&&l!==null&&(l.$$typeof===m||l.$$typeof===h||l.$$typeof===i||l.$$typeof===s||l.$$typeof===u||l.$$typeof===j||l.getModuleId!==void 0))}function P(l,x,_){var B=l.displayName;if(B)return B;var ue=x.displayName||x.name||"";return ue!==""?_+"("+ue+")":_}function Y(l){return l.displayName||"Context"}function W(l){if(l==null)return null;if(typeof l.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case n:return"Fragment";case t:return"Portal";case o:return"Profiler";case a:return"StrictMode";case f:return"Suspense";case d:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case s:var x=l;return Y(x)+".Consumer";case i:var _=l;return Y(_._context)+".Provider";case u:return P(l,l.render,"ForwardRef");case h:var B=l.displayName||null;return B!==null?B:W(l.type)||"Memo";case m:{var ue=l,pe=ue._payload,ee=ue._init;try{return W(ee(pe))}catch{return null}}}return null}var z=Object.assign,ae=0,ve,$e,Be,ot,S,D,G;function U(){}U.__reactDisabledLog=!0;function H(){{if(ae===0){ve=console.log,$e=console.info,Be=console.warn,ot=console.error,S=console.group,D=console.groupCollapsed,G=console.groupEnd;var l={configurable:!0,enumerable:!0,value:U,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}ae++}}function K(){{if(ae--,ae===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:z({},l,{value:ve}),info:z({},l,{value:$e}),warn:z({},l,{value:Be}),error:z({},l,{value:ot}),group:z({},l,{value:S}),groupCollapsed:z({},l,{value:D}),groupEnd:z({},l,{value:G})})}ae<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var q=T.ReactCurrentDispatcher,V;function Q(l,x,_){{if(V===void 0)try{throw Error()}catch(ue){var B=ue.stack.trim().match(/\n( *(at )?)/);V=B&&B[1]||""}return`
18
+ `+V+l}}var Z=!1,X;{var De=typeof WeakMap=="function"?WeakMap:Map;X=new De}function k(l,x){if(!l||Z)return"";{var _=X.get(l);if(_!==void 0)return _}var B;Z=!0;var ue=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var pe;pe=q.current,q.current=null,H();try{if(x){var ee=function(){throw Error()};if(Object.defineProperty(ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ee,[])}catch(je){B=je}Reflect.construct(l,[],ee)}else{try{ee.call()}catch(je){B=je}l.call(ee.prototype)}}else{try{throw Error()}catch(je){B=je}l()}}catch(je){if(je&&B&&typeof je.stack=="string"){for(var J=je.stack.split(`
19
+ `),Ie=B.stack.split(`
20
20
  `),ke=J.length-1,_e=Ie.length-1;ke>=1&&_e>=0&&J[ke]!==Ie[_e];)_e--;for(;ke>=1&&_e>=0;ke--,_e--)if(J[ke]!==Ie[_e]){if(ke!==1||_e!==1)do if(ke--,_e--,_e<0||J[ke]!==Ie[_e]){var Ve=`
21
- `+J[ke].replace(" at new "," at ");return l.displayName&&Ve.includes("<anonymous>")&&(Ve=Ve.replace("<anonymous>",l.displayName)),typeof l=="function"&&X.set(l,Ve),Ve}while(ke>=1&&_e>=0);break}}}finally{Z=!1,H.current=me,K(),Error.prepareStackTrace=ue}var kt=l?l.displayName||l.name:"",dt=kt?Q(kt):"";return typeof l=="function"&&X.set(l,dt),dt}function Fe(l,x,_){return k(l,!1)}function I(l){var x=l.prototype;return!!(x&&x.isReactComponent)}function ze(l,x,_){if(l==null)return"";if(typeof l=="function")return k(l,I(l));if(typeof l=="string")return Q(l);switch(l){case f:return Q("Suspense");case d:return Q("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case u:return Fe(l.render);case h:return ze(l.type,x,_);case m:{var L=l,ue=L._payload,me=L._init;try{return ze(me(ue),x,_)}catch{}}}return""}var Ze=Object.prototype.hasOwnProperty,Qt={},bo=T.ReactDebugCurrentFrame;function Cr(l){if(l){var x=l._owner,_=ze(l.type,l._source,x?x.type:null);bo.setExtraStackFrame(_)}else bo.setExtraStackFrame(null)}function Bf(l,x,_,L,ue){{var me=Function.call.bind(Ze);for(var ee in l)if(me(l,ee)){var J=void 0;try{if(typeof l[ee]!="function"){var Ie=Error((L||"React class")+": "+_+" type `"+ee+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[ee]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ie.name="Invariant Violation",Ie}J=l[ee](x,ee,L,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ke){J=ke}J&&!(J instanceof Error)&&(Cr(ue),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).",L||"React class",_,ee,typeof J),Cr(null)),J instanceof Error&&!(J.message in Qt)&&(Qt[J.message]=!0,Cr(ue),C("Failed %s type: %s",_,J.message),Cr(null))}}}var Hf=Array.isArray;function pn(l){return Hf(l)}function qf(l){{var x=typeof Symbol=="function"&&Symbol.toStringTag,_=x&&l[Symbol.toStringTag]||l.constructor.name||"Object";return _}}function Vf(l){try{return vo(l),!1}catch{return!0}}function vo(l){return""+l}function wo(l){if(Vf(l))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qf(l)),vo(l)}var Xt=T.ReactCurrentOwner,zf={key:!0,ref:!0,__self:!0,__source:!0},xo,To,yn;yn={};function Uf(l){if(Ze.call(l,"ref")){var x=Object.getOwnPropertyDescriptor(l,"ref").get;if(x&&x.isReactWarning)return!1}return l.ref!==void 0}function Gf(l){if(Ze.call(l,"key")){var x=Object.getOwnPropertyDescriptor(l,"key").get;if(x&&x.isReactWarning)return!1}return l.key!==void 0}function Qf(l,x){if(typeof l.ref=="string"&&Xt.current&&x&&Xt.current.stateNode!==x){var _=W(Xt.current.type);yn[_]||(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',W(Xt.current.type),l.ref),yn[_]=!0)}}function Xf(l,x){{var _=function(){xo||(xo=!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(l,"key",{get:_,configurable:!0})}}function Kf(l,x){{var _=function(){To||(To=!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(l,"ref",{get:_,configurable:!0})}}var Jf=function(l,x,_,L,ue,me,ee){var J={$$typeof:r,type:l,key:x,ref:_,props:ee,_owner:me};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:L}),Object.defineProperty(J,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ue}),Object.freeze&&(Object.freeze(J.props),Object.freeze(J)),J};function Zf(l,x,_,L,ue){{var me,ee={},J=null,Ie=null;_!==void 0&&(wo(_),J=""+_),Gf(x)&&(wo(x.key),J=""+x.key),Uf(x)&&(Ie=x.ref,Qf(x,ue));for(me in x)Ze.call(x,me)&&!zf.hasOwnProperty(me)&&(ee[me]=x[me]);if(l&&l.defaultProps){var ke=l.defaultProps;for(me in ke)ee[me]===void 0&&(ee[me]=ke[me])}if(J||Ie){var _e=typeof l=="function"?l.displayName||l.name||"Unknown":l;J&&Xf(ee,_e),Ie&&Kf(ee,_e)}return Jf(l,J,Ie,ue,L,Xt.current,ee)}}var gn=T.ReactCurrentOwner,Eo=T.ReactDebugCurrentFrame;function Ot(l){if(l){var x=l._owner,_=ze(l.type,l._source,x?x.type:null);Eo.setExtraStackFrame(_)}else Eo.setExtraStackFrame(null)}var bn;bn=!1;function vn(l){return typeof l=="object"&&l!==null&&l.$$typeof===r}function So(){{if(gn.current){var l=W(gn.current.type);if(l)return`
21
+ `+J[ke].replace(" at new "," at ");return l.displayName&&Ve.includes("<anonymous>")&&(Ve=Ve.replace("<anonymous>",l.displayName)),typeof l=="function"&&X.set(l,Ve),Ve}while(ke>=1&&_e>=0);break}}}finally{Z=!1,q.current=pe,K(),Error.prepareStackTrace=ue}var Pt=l?l.displayName||l.name:"",ht=Pt?Q(Pt):"";return typeof l=="function"&&X.set(l,ht),ht}function Fe(l,x,_){return k(l,!1)}function I(l){var x=l.prototype;return!!(x&&x.isReactComponent)}function ze(l,x,_){if(l==null)return"";if(typeof l=="function")return k(l,I(l));if(typeof l=="string")return Q(l);switch(l){case f:return Q("Suspense");case d:return Q("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case u:return Fe(l.render);case h:return ze(l.type,x,_);case m:{var B=l,ue=B._payload,pe=B._init;try{return ze(pe(ue),x,_)}catch{}}}return""}var Ze=Object.prototype.hasOwnProperty,Xt={},bo=T.ReactDebugCurrentFrame;function Or(l){if(l){var x=l._owner,_=ze(l.type,l._source,x?x.type:null);bo.setExtraStackFrame(_)}else bo.setExtraStackFrame(null)}function qf(l,x,_,B,ue){{var pe=Function.call.bind(Ze);for(var ee in l)if(pe(l,ee)){var J=void 0;try{if(typeof l[ee]!="function"){var Ie=Error((B||"React class")+": "+_+" type `"+ee+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[ee]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ie.name="Invariant Violation",Ie}J=l[ee](x,ee,B,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ke){J=ke}J&&!(J instanceof Error)&&(Or(ue),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).",B||"React class",_,ee,typeof J),Or(null)),J instanceof Error&&!(J.message in Xt)&&(Xt[J.message]=!0,Or(ue),C("Failed %s type: %s",_,J.message),Or(null))}}}var Vf=Array.isArray;function yn(l){return Vf(l)}function zf(l){{var x=typeof Symbol=="function"&&Symbol.toStringTag,_=x&&l[Symbol.toStringTag]||l.constructor.name||"Object";return _}}function Uf(l){try{return vo(l),!1}catch{return!0}}function vo(l){return""+l}function wo(l){if(Uf(l))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",zf(l)),vo(l)}var Kt=T.ReactCurrentOwner,Gf={key:!0,ref:!0,__self:!0,__source:!0},xo,To,gn;gn={};function Qf(l){if(Ze.call(l,"ref")){var x=Object.getOwnPropertyDescriptor(l,"ref").get;if(x&&x.isReactWarning)return!1}return l.ref!==void 0}function Xf(l){if(Ze.call(l,"key")){var x=Object.getOwnPropertyDescriptor(l,"key").get;if(x&&x.isReactWarning)return!1}return l.key!==void 0}function Kf(l,x){if(typeof l.ref=="string"&&Kt.current&&x&&Kt.current.stateNode!==x){var _=W(Kt.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',W(Kt.current.type),l.ref),gn[_]=!0)}}function Jf(l,x){{var _=function(){xo||(xo=!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(l,"key",{get:_,configurable:!0})}}function Zf(l,x){{var _=function(){To||(To=!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(l,"ref",{get:_,configurable:!0})}}var ed=function(l,x,_,B,ue,pe,ee){var J={$$typeof:r,type:l,key:x,ref:_,props:ee,_owner:pe};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:B}),Object.defineProperty(J,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ue}),Object.freeze&&(Object.freeze(J.props),Object.freeze(J)),J};function td(l,x,_,B,ue){{var pe,ee={},J=null,Ie=null;_!==void 0&&(wo(_),J=""+_),Xf(x)&&(wo(x.key),J=""+x.key),Qf(x)&&(Ie=x.ref,Kf(x,ue));for(pe in x)Ze.call(x,pe)&&!Gf.hasOwnProperty(pe)&&(ee[pe]=x[pe]);if(l&&l.defaultProps){var ke=l.defaultProps;for(pe in ke)ee[pe]===void 0&&(ee[pe]=ke[pe])}if(J||Ie){var _e=typeof l=="function"?l.displayName||l.name||"Unknown":l;J&&Jf(ee,_e),Ie&&Zf(ee,_e)}return ed(l,J,Ie,ue,B,Kt.current,ee)}}var bn=T.ReactCurrentOwner,Eo=T.ReactDebugCurrentFrame;function kt(l){if(l){var x=l._owner,_=ze(l.type,l._source,x?x.type:null);Eo.setExtraStackFrame(_)}else Eo.setExtraStackFrame(null)}var vn;vn=!1;function wn(l){return typeof l=="object"&&l!==null&&l.$$typeof===r}function So(){{if(bn.current){var l=W(bn.current.type);if(l)return`
22
22
 
23
- Check the render method of \``+l+"`."}return""}}function ed(l){return""}var Co={};function td(l){{var x=So();if(!x){var _=typeof l=="string"?l:l.displayName||l.name;_&&(x=`
23
+ Check the render method of \``+l+"`."}return""}}function rd(l){return""}var Co={};function nd(l){{var x=So();if(!x){var _=typeof l=="string"?l:l.displayName||l.name;_&&(x=`
24
24
 
25
- Check the top-level render call using <`+_+">.")}return x}}function Oo(l,x){{if(!l._store||l._store.validated||l.key!=null)return;l._store.validated=!0;var _=td(x);if(Co[_])return;Co[_]=!0;var L="";l&&l._owner&&l._owner!==gn.current&&(L=" It was passed a child from "+W(l._owner.type)+"."),Ot(l),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,L),Ot(null)}}function ko(l,x){{if(typeof l!="object")return;if(pn(l))for(var _=0;_<l.length;_++){var L=l[_];vn(L)&&Oo(L,x)}else if(vn(l))l._store&&(l._store.validated=!0);else if(l){var ue=y(l);if(typeof ue=="function"&&ue!==l.entries)for(var me=ue.call(l),ee;!(ee=me.next()).done;)vn(ee.value)&&Oo(ee.value,x)}}}function rd(l){{var x=l.type;if(x==null||typeof x=="string")return;var _;if(typeof x=="function")_=x.propTypes;else if(typeof x=="object"&&(x.$$typeof===u||x.$$typeof===h))_=x.propTypes;else return;if(_){var L=W(x);Bf(_,l.props,"prop",L,l)}else if(x.PropTypes!==void 0&&!bn){bn=!0;var ue=W(x);C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ue||"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 nd(l){{for(var x=Object.keys(l.props),_=0;_<x.length;_++){var L=x[_];if(L!=="children"&&L!=="key"){Ot(l),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",L),Ot(null);break}}l.ref!==null&&(Ot(l),C("Invalid attribute `ref` supplied to `React.Fragment`."),Ot(null))}}var Po={};function _o(l,x,_,L,ue,me){{var ee=c(l);if(!ee){var J="";(l===void 0||typeof l=="object"&&l!==null&&Object.keys(l).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 Ie=ed();Ie?J+=Ie:J+=So();var ke;l===null?ke="null":pn(l)?ke="array":l!==void 0&&l.$$typeof===r?(ke="<"+(W(l.type)||"Unknown")+" />",J=" Did you accidentally export a JSX literal instead of a component?"):ke=typeof l,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,J)}var _e=Zf(l,x,_,ue,me);if(_e==null)return _e;if(ee){var Ve=x.children;if(Ve!==void 0)if(L)if(pn(Ve)){for(var kt=0;kt<Ve.length;kt++)ko(Ve[kt],l);Object.freeze&&Object.freeze(Ve)}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 ko(Ve,l)}if(Ze.call(x,"key")){var dt=W(l),je=Object.keys(x).filter(function(ud){return ud!=="key"}),wn=je.length>0?"{key: someKey, "+je.join(": ..., ")+": ...}":"{key: someKey}";if(!Po[dt+wn]){var cd=je.length>0?"{"+je.join(": ..., ")+": ...}":"{}";C(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+_+">.")}return x}}function Oo(l,x){{if(!l._store||l._store.validated||l.key!=null)return;l._store.validated=!0;var _=nd(x);if(Co[_])return;Co[_]=!0;var B="";l&&l._owner&&l._owner!==bn.current&&(B=" It was passed a child from "+W(l._owner.type)+"."),kt(l),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,B),kt(null)}}function ko(l,x){{if(typeof l!="object")return;if(yn(l))for(var _=0;_<l.length;_++){var B=l[_];wn(B)&&Oo(B,x)}else if(wn(l))l._store&&(l._store.validated=!0);else if(l){var ue=y(l);if(typeof ue=="function"&&ue!==l.entries)for(var pe=ue.call(l),ee;!(ee=pe.next()).done;)wn(ee.value)&&Oo(ee.value,x)}}}function ad(l){{var x=l.type;if(x==null||typeof x=="string")return;var _;if(typeof x=="function")_=x.propTypes;else if(typeof x=="object"&&(x.$$typeof===u||x.$$typeof===h))_=x.propTypes;else return;if(_){var B=W(x);qf(_,l.props,"prop",B,l)}else if(x.PropTypes!==void 0&&!vn){vn=!0;var ue=W(x);C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ue||"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 od(l){{for(var x=Object.keys(l.props),_=0;_<x.length;_++){var B=x[_];if(B!=="children"&&B!=="key"){kt(l),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",B),kt(null);break}}l.ref!==null&&(kt(l),C("Invalid attribute `ref` supplied to `React.Fragment`."),kt(null))}}var Po={};function _o(l,x,_,B,ue,pe){{var ee=c(l);if(!ee){var J="";(l===void 0||typeof l=="object"&&l!==null&&Object.keys(l).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 Ie=rd();Ie?J+=Ie:J+=So();var ke;l===null?ke="null":yn(l)?ke="array":l!==void 0&&l.$$typeof===r?(ke="<"+(W(l.type)||"Unknown")+" />",J=" Did you accidentally export a JSX literal instead of a component?"):ke=typeof l,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,J)}var _e=td(l,x,_,ue,pe);if(_e==null)return _e;if(ee){var Ve=x.children;if(Ve!==void 0)if(B)if(yn(Ve)){for(var Pt=0;Pt<Ve.length;Pt++)ko(Ve[Pt],l);Object.freeze&&Object.freeze(Ve)}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 ko(Ve,l)}if(Ze.call(x,"key")){var ht=W(l),je=Object.keys(x).filter(function(fd){return fd!=="key"}),xn=je.length>0?"{key: someKey, "+je.join(": ..., ")+": ...}":"{key: someKey}";if(!Po[ht+xn]){var ld=je.length>0?"{"+je.join(": ..., ")+": ...}":"{}";C(`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} />`,wn,dt,cd,dt),Po[dt+wn]=!0}}return l===n?nd(_e):rd(_e),_e}}function ad(l,x,_){return _o(l,x,_,!0)}function od(l,x,_){return _o(l,x,_,!1)}var id=od,sd=ad;_t.Fragment=n,_t.jsx=id,_t.jsxs=sd}()),_t}process.env.NODE_ENV==="production"?Or.exports=Ro():Or.exports=Ao();var G=Or.exports;const Sn=Me.createContext(void 0),$o=({children:e,layout:r={}})=>G.jsx(Sn.Provider,{value:{layout:r},children:e}),kr=()=>{const e=Me.useContext(Sn);if(!e)throw new Error("useFormLayout must be used within a FormLayoutProvider");return e.layout};function Io({name:e,label:r,sx:t={},disabled:n,rules:a={},...o}){const{field:i,fieldState:{error:s}}=ht.useController({name:e,rules:a}),f={...kr(),...t};return G.jsx(ye.Box,{sx:f,children:G.jsxs(ye.FormControl,{error:!!s,component:"fieldset",children:[G.jsx(ye.FormControlLabel,{control:G.jsx(ye.Checkbox,{...i,checked:i.value,...o,disabled:n}),label:G.jsx(ye.FormLabel,{sx:{fontWeight:500,color:Kt.capitalDesignTokens.foundations.colors.gray1000},children:r})}),G.jsx(ye.FormHelperText,{children:!!s&&s.message})]})})}function No({name:e,rules:r={},sx:t={},...n}){const{field:a,fieldState:{error:o}}=ht.useController({name:e,rules:r});return G.jsx(ye.Box,{sx:t,children:G.jsx(xn.DatePicker,{...a,value:new Date(a.value),...n,sx:{width:"100%"},slotProps:{textField:{helperText:!!o&&o.message,error:!!o}}})})}function Cn({name:e,label:r,rules:t={},sx:n={},...a}){const{field:o,fieldState:{error:i}}=ht.useController({name:e,rules:t}),u={...kr(),...n};return G.jsx(ye.Box,{sx:u,children:G.jsx(ye.TextField,{...o,label:r,fullWidth:!0,...a,error:!!i,helperText:!!i&&i.message,onChange:f=>o.onChange(a.type==="number"?parseFloat(f.target.value):f.target.value)})})}function Fo(e){return G.jsx(Cn,{...e,type:"number"})}function jo({name:e,label:r,options:t,sx:n={},disabled:a,rules:o={},...i}){const{field:s,fieldState:{error:u}}=ht.useController({name:e,rules:o}),d={...kr(),...n};return G.jsx(ye.Box,{sx:d,children:G.jsxs(ye.FormControl,{fullWidth:!0,error:!!u,disabled:a,children:[G.jsx(ye.FormLabel,{id:`${e}-label`,sx:{fontWeight:500,color:Kt.capitalDesignTokens.foundations.colors.gray1000,marginBottom:1},children:r}),G.jsx(ye.Select,{labelId:`${e}-label`,id:`${e}-select`,...s,...i,displayEmpty:!0,variant:"outlined",fullWidth:!0,children:t.map(h=>G.jsx(ye.MenuItem,{value:h.key,children:h.displayValue},h.key))}),u&&G.jsx(ye.FormHelperText,{children:u.message})]})})}function et(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 On(e){if(fe.isValidElement(e)||!et(e))return e;const r={};return Object.keys(e).forEach(t=>{r[t]=On(e[t])}),r}function Ye(e,r,t={clone:!0}){const n=t.clone?{...e}:e;return et(e)&&et(r)&&Object.keys(r).forEach(a=>{fe.isValidElement(r[a])?n[a]=r[a]:et(r[a])&&Object.prototype.hasOwnProperty.call(e,a)&&et(e[a])?n[a]=Ye(e[a],r[a],t):t.clone?n[a]=et(r[a])?On(r[a]):r[a]:n[a]=r[a]}),n}var Pr={exports:{}},Jt={exports:{}},oe={};/** @license React v16.13.1
30
+ <%s key={someKey} {...props} />`,xn,ht,ld,ht),Po[ht+xn]=!0}}return l===n?od(_e):ad(_e),_e}}function id(l,x,_){return _o(l,x,_,!0)}function sd(l,x,_){return _o(l,x,_,!1)}var cd=sd,ud=id;Mt.Fragment=n,Mt.jsx=cd,Mt.jsxs=ud}()),Mt}process.env.NODE_ENV==="production"?kr.exports=Ro():kr.exports=Ao();var L=kr.exports;const Cn=Me.createContext(void 0),$o=({children:e,layout:r={}})=>L.jsx(Cn.Provider,{value:{layout:r},children:e}),Jt=()=>{const e=Me.useContext(Cn);if(!e)throw new Error("useFormLayout must be used within a FormLayoutProvider");return e.layout};function Io({name:e,label:r,sx:t={},disabled:n,rules:a={},...o}){const{field:i,fieldState:{error:s}}=it.useController({name:e,rules:a}),f={...Jt(),...t};return L.jsx(fe.Box,{sx:f,children:L.jsxs(fe.FormControl,{error:!!s,component:"fieldset",children:[L.jsx(fe.FormControlLabel,{control:L.jsx(fe.Checkbox,{...i,checked:i.value,...o,disabled:n}),label:L.jsx(fe.FormLabel,{sx:{fontWeight:500,color:mt.capitalDesignTokens.foundations.colors.gray1000},children:r})}),L.jsx(fe.FormHelperText,{children:!!s&&s.message})]})})}function No({name:e,rules:r={},sx:t={},...n}){const{field:a,fieldState:{error:o}}=it.useController({name:e,rules:r});return L.jsx(fe.Box,{sx:t,children:L.jsx(Tn.DatePicker,{...a,value:new Date(a.value),...n,sx:{width:"100%"},slotProps:{textField:{helperText:!!o&&o.message,error:!!o}}})})}function On({name:e,label:r,rules:t={},sx:n={},...a}){const{field:o,fieldState:{error:i}}=it.useController({name:e,rules:t}),u={...Jt(),...n};return L.jsx(fe.Box,{sx:u,children:L.jsx(fe.TextField,{...o,label:r,fullWidth:!0,...a,error:!!i,helperText:!!i&&i.message,onChange:f=>o.onChange(a.type==="number"?parseFloat(f.target.value):f.target.value)})})}function Fo(e){return L.jsx(On,{...e,type:"number"})}function et(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 kn(e){if(de.isValidElement(e)||!et(e))return e;const r={};return Object.keys(e).forEach(t=>{r[t]=kn(e[t])}),r}function Ye(e,r,t={clone:!0}){const n=t.clone?{...e}:e;return et(e)&&et(r)&&Object.keys(r).forEach(a=>{de.isValidElement(r[a])?n[a]=r[a]:et(r[a])&&Object.prototype.hasOwnProperty.call(e,a)&&et(e[a])?n[a]=Ye(e[a],r[a],t):t.clone?n[a]=et(r[a])?kn(r[a]):r[a]:n[a]=r[a]}),n}var Pr={exports:{}},Zt={exports:{}},oe={};/** @license React v16.13.1
31
31
  * react-is.production.min.js
32
32
  *
33
33
  * Copyright (c) Facebook, Inc. and its affiliates.
34
34
  *
35
35
  * This source code is licensed under the MIT license found in the
36
36
  * LICENSE file in the root directory of this source tree.
37
- */var kn;function Yo(){if(kn)return oe;kn=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,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function E(g){if(typeof g=="object"&&g!==null){var F=g.$$typeof;switch(F){case r:switch(g=g.type,g){case u:case f:case n:case o:case a:case h:return g;default:switch(g=g&&g.$$typeof,g){case s:case d:case v:case w:case i:return g;default:return F}}case t:return F}}}function O(g){return E(g)===f}return oe.AsyncMode=u,oe.ConcurrentMode=f,oe.ContextConsumer=s,oe.ContextProvider=i,oe.Element=r,oe.ForwardRef=d,oe.Fragment=n,oe.Lazy=v,oe.Memo=w,oe.Portal=t,oe.Profiler=o,oe.StrictMode=a,oe.Suspense=h,oe.isAsyncMode=function(g){return O(g)||E(g)===u},oe.isConcurrentMode=O,oe.isContextConsumer=function(g){return E(g)===s},oe.isContextProvider=function(g){return E(g)===i},oe.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===r},oe.isForwardRef=function(g){return E(g)===d},oe.isFragment=function(g){return E(g)===n},oe.isLazy=function(g){return E(g)===v},oe.isMemo=function(g){return E(g)===w},oe.isPortal=function(g){return E(g)===t},oe.isProfiler=function(g){return E(g)===o},oe.isStrictMode=function(g){return E(g)===a},oe.isSuspense=function(g){return E(g)===h},oe.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===f||g===o||g===a||g===h||g===m||typeof g=="object"&&g!==null&&(g.$$typeof===v||g.$$typeof===w||g.$$typeof===i||g.$$typeof===s||g.$$typeof===d||g.$$typeof===y||g.$$typeof===T||g.$$typeof===C||g.$$typeof===p)},oe.typeOf=E,oe}var ie={};/** @license React v16.13.1
37
+ */var Pn;function jo(){if(Pn)return oe;Pn=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,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function E(g){if(typeof g=="object"&&g!==null){var F=g.$$typeof;switch(F){case r:switch(g=g.type,g){case u:case f:case n:case o:case a:case h:return g;default:switch(g=g&&g.$$typeof,g){case s:case d:case v:case w:case i:return g;default:return F}}case t:return F}}}function O(g){return E(g)===f}return oe.AsyncMode=u,oe.ConcurrentMode=f,oe.ContextConsumer=s,oe.ContextProvider=i,oe.Element=r,oe.ForwardRef=d,oe.Fragment=n,oe.Lazy=v,oe.Memo=w,oe.Portal=t,oe.Profiler=o,oe.StrictMode=a,oe.Suspense=h,oe.isAsyncMode=function(g){return O(g)||E(g)===u},oe.isConcurrentMode=O,oe.isContextConsumer=function(g){return E(g)===s},oe.isContextProvider=function(g){return E(g)===i},oe.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===r},oe.isForwardRef=function(g){return E(g)===d},oe.isFragment=function(g){return E(g)===n},oe.isLazy=function(g){return E(g)===v},oe.isMemo=function(g){return E(g)===w},oe.isPortal=function(g){return E(g)===t},oe.isProfiler=function(g){return E(g)===o},oe.isStrictMode=function(g){return E(g)===a},oe.isSuspense=function(g){return E(g)===h},oe.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===f||g===o||g===a||g===h||g===m||typeof g=="object"&&g!==null&&(g.$$typeof===v||g.$$typeof===w||g.$$typeof===i||g.$$typeof===s||g.$$typeof===d||g.$$typeof===y||g.$$typeof===T||g.$$typeof===C||g.$$typeof===p)},oe.typeOf=E,oe}var ie={};/** @license React v16.13.1
38
38
  * react-is.development.js
39
39
  *
40
40
  * Copyright (c) Facebook, Inc. and its affiliates.
41
41
  *
42
42
  * This source code is licensed under the MIT license found in the
43
43
  * LICENSE file in the root directory of this source tree.
44
- */var Pn;function Wo(){return Pn||(Pn=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,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function E(k){return typeof k=="string"||typeof k=="function"||k===n||k===f||k===o||k===a||k===h||k===m||typeof k=="object"&&k!==null&&(k.$$typeof===v||k.$$typeof===w||k.$$typeof===i||k.$$typeof===s||k.$$typeof===d||k.$$typeof===y||k.$$typeof===T||k.$$typeof===C||k.$$typeof===p)}function O(k){if(typeof k=="object"&&k!==null){var Fe=k.$$typeof;switch(Fe){case r:var I=k.type;switch(I){case u:case f:case n:case o:case a:case h:return I;default:var ze=I&&I.$$typeof;switch(ze){case s:case d:case v:case w:case i:return ze;default:return Fe}}case t:return Fe}}}var g=u,F=f,$=s,R=i,j=r,c=d,P=n,Y=v,W=w,V=t,ae=o,ve=a,$e=h,Be=!1;function ot(k){return Be||(Be=!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.")),S(k)||O(k)===u}function S(k){return O(k)===f}function D(k){return O(k)===s}function U(k){return O(k)===i}function z(k){return typeof k=="object"&&k!==null&&k.$$typeof===r}function B(k){return O(k)===d}function K(k){return O(k)===n}function H(k){return O(k)===v}function q(k){return O(k)===w}function Q(k){return O(k)===t}function Z(k){return O(k)===o}function X(k){return O(k)===a}function De(k){return O(k)===h}ie.AsyncMode=g,ie.ConcurrentMode=F,ie.ContextConsumer=$,ie.ContextProvider=R,ie.Element=j,ie.ForwardRef=c,ie.Fragment=P,ie.Lazy=Y,ie.Memo=W,ie.Portal=V,ie.Profiler=ae,ie.StrictMode=ve,ie.Suspense=$e,ie.isAsyncMode=ot,ie.isConcurrentMode=S,ie.isContextConsumer=D,ie.isContextProvider=U,ie.isElement=z,ie.isForwardRef=B,ie.isFragment=K,ie.isLazy=H,ie.isMemo=q,ie.isPortal=Q,ie.isProfiler=Z,ie.isStrictMode=X,ie.isSuspense=De,ie.isValidElementType=E,ie.typeOf=O}()),ie}var _n;function Mn(){return _n||(_n=1,process.env.NODE_ENV==="production"?Jt.exports=Yo():Jt.exports=Wo()),Jt.exports}/*
44
+ */var _n;function Yo(){return _n||(_n=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,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function E(k){return typeof k=="string"||typeof k=="function"||k===n||k===f||k===o||k===a||k===h||k===m||typeof k=="object"&&k!==null&&(k.$$typeof===v||k.$$typeof===w||k.$$typeof===i||k.$$typeof===s||k.$$typeof===d||k.$$typeof===y||k.$$typeof===T||k.$$typeof===C||k.$$typeof===p)}function O(k){if(typeof k=="object"&&k!==null){var Fe=k.$$typeof;switch(Fe){case r:var I=k.type;switch(I){case u:case f:case n:case o:case a:case h:return I;default:var ze=I&&I.$$typeof;switch(ze){case s:case d:case v:case w:case i:return ze;default:return Fe}}case t:return Fe}}}var g=u,F=f,$=s,R=i,j=r,c=d,P=n,Y=v,W=w,z=t,ae=o,ve=a,$e=h,Be=!1;function ot(k){return Be||(Be=!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.")),S(k)||O(k)===u}function S(k){return O(k)===f}function D(k){return O(k)===s}function G(k){return O(k)===i}function U(k){return typeof k=="object"&&k!==null&&k.$$typeof===r}function H(k){return O(k)===d}function K(k){return O(k)===n}function q(k){return O(k)===v}function V(k){return O(k)===w}function Q(k){return O(k)===t}function Z(k){return O(k)===o}function X(k){return O(k)===a}function De(k){return O(k)===h}ie.AsyncMode=g,ie.ConcurrentMode=F,ie.ContextConsumer=$,ie.ContextProvider=R,ie.Element=j,ie.ForwardRef=c,ie.Fragment=P,ie.Lazy=Y,ie.Memo=W,ie.Portal=z,ie.Profiler=ae,ie.StrictMode=ve,ie.Suspense=$e,ie.isAsyncMode=ot,ie.isConcurrentMode=S,ie.isContextConsumer=D,ie.isContextProvider=G,ie.isElement=U,ie.isForwardRef=H,ie.isFragment=K,ie.isLazy=q,ie.isMemo=V,ie.isPortal=Q,ie.isProfiler=Z,ie.isStrictMode=X,ie.isSuspense=De,ie.isValidElementType=E,ie.typeOf=O}()),ie}var Mn;function Dn(){return Mn||(Mn=1,process.env.NODE_ENV==="production"?Zt.exports=jo():Zt.exports=Yo()),Zt.exports}/*
45
45
  object-assign
46
46
  (c) Sindre Sorhus
47
47
  @license MIT
48
- */var _r,Dn;function Lo(){if(Dn)return _r;Dn=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 u=Object.getOwnPropertyNames(i).map(function(d){return i[d]});if(u.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(d){f[d]=d}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return _r=a()?Object.assign:function(o,i){for(var s,u=n(o),f,d=1;d<arguments.length;d++){s=Object(arguments[d]);for(var h in s)r.call(s,h)&&(u[h]=s[h]);if(e){f=e(s);for(var m=0;m<f.length;m++)t.call(s,f[m])&&(u[f[m]]=s[f[m]])}}return u},_r}var Mr,Rn;function Dr(){if(Rn)return Mr;Rn=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Mr=e,Mr}var Rr,An;function $n(){return An||(An=1,Rr=Function.call.bind(Object.prototype.hasOwnProperty)),Rr}var Ar,In;function Bo(){if(In)return Ar;In=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=Dr(),t={},n=$n();e=function(o){var i="Warning: "+o;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function a(o,i,s,u,f){if(process.env.NODE_ENV!=="production"){for(var d in o)if(n(o,d)){var h;try{if(typeof o[d]!="function"){var m=Error((u||"React class")+": "+s+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}h=o[d](i,d,u,s,null,r)}catch(v){h=v}if(h&&!(h instanceof Error)&&e((u||"React class")+": type specification of "+s+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in t)){t[h.message]=!0;var w=f?f():"";e("Failed "+s+" type: "+h.message+(w??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},Ar=a,Ar}var $r,Nn;function Ho(){if(Nn)return $r;Nn=1;var e=Mn(),r=Lo(),t=Dr(),n=$n(),a=Bo(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(s){var u="Warning: "+s;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function i(){return null}return $r=function(s,u){var f=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function h(S){var D=S&&(f&&S[f]||S[d]);if(typeof D=="function")return D}var m="<<anonymous>>",w={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:E,element:O(),elementType:g(),instanceOf:F,node:c(),objectOf:R,oneOf:$,oneOfType:j,shape:Y,exact:W};function v(S,D){return S===D?S!==0||1/S===1/D:S!==S&&D!==D}function p(S,D){this.message=S,this.data=D&&typeof D=="object"?D:{},this.stack=""}p.prototype=Error.prototype;function y(S){if(process.env.NODE_ENV!=="production")var D={},U=0;function z(K,H,q,Q,Z,X,De){if(Q=Q||m,X=X||q,De!==t){if(u){var k=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 k.name="Invariant Violation",k}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Fe=Q+":"+q;!D[Fe]&&U<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."),D[Fe]=!0,U++)}}return H[q]==null?K?H[q]===null?new p("The "+Z+" `"+X+"` is marked as required "+("in `"+Q+"`, but its value is `null`.")):new p("The "+Z+" `"+X+"` is marked as required in "+("`"+Q+"`, but its value is `undefined`.")):null:S(H,q,Q,Z,X)}var B=z.bind(null,!1);return B.isRequired=z.bind(null,!0),B}function T(S){function D(U,z,B,K,H,q){var Q=U[z],Z=ve(Q);if(Z!==S){var X=$e(Q);return new p("Invalid "+K+" `"+H+"` of type "+("`"+X+"` supplied to `"+B+"`, expected ")+("`"+S+"`."),{expectedType:S})}return null}return y(D)}function C(){return y(i)}function E(S){function D(U,z,B,K,H){if(typeof S!="function")return new p("Property `"+H+"` of component `"+B+"` has invalid PropType notation inside arrayOf.");var q=U[z];if(!Array.isArray(q)){var Q=ve(q);return new p("Invalid "+K+" `"+H+"` of type "+("`"+Q+"` supplied to `"+B+"`, expected an array."))}for(var Z=0;Z<q.length;Z++){var X=S(q,Z,B,K,H+"["+Z+"]",t);if(X instanceof Error)return X}return null}return y(D)}function O(){function S(D,U,z,B,K){var H=D[U];if(!s(H)){var q=ve(H);return new p("Invalid "+B+" `"+K+"` of type "+("`"+q+"` supplied to `"+z+"`, expected a single ReactElement."))}return null}return y(S)}function g(){function S(D,U,z,B,K){var H=D[U];if(!e.isValidElementType(H)){var q=ve(H);return new p("Invalid "+B+" `"+K+"` of type "+("`"+q+"` supplied to `"+z+"`, expected a single ReactElement type."))}return null}return y(S)}function F(S){function D(U,z,B,K,H){if(!(U[z]instanceof S)){var q=S.name||m,Q=ot(U[z]);return new p("Invalid "+K+" `"+H+"` of type "+("`"+Q+"` supplied to `"+B+"`, expected ")+("instance of `"+q+"`."))}return null}return y(D)}function $(S){if(!Array.isArray(S))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(U,z,B,K,H){for(var q=U[z],Q=0;Q<S.length;Q++)if(v(q,S[Q]))return null;var Z=JSON.stringify(S,function(De,k){var Fe=$e(k);return Fe==="symbol"?String(k):k});return new p("Invalid "+K+" `"+H+"` of value `"+String(q)+"` "+("supplied to `"+B+"`, expected one of "+Z+"."))}return y(D)}function R(S){function D(U,z,B,K,H){if(typeof S!="function")return new p("Property `"+H+"` of component `"+B+"` has invalid PropType notation inside objectOf.");var q=U[z],Q=ve(q);if(Q!=="object")return new p("Invalid "+K+" `"+H+"` of type "+("`"+Q+"` supplied to `"+B+"`, expected an object."));for(var Z in q)if(n(q,Z)){var X=S(q,Z,B,K,H+"."+Z,t);if(X instanceof Error)return X}return null}return y(D)}function j(S){if(!Array.isArray(S))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var D=0;D<S.length;D++){var U=S[D];if(typeof U!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Be(U)+" at index "+D+"."),i}function z(B,K,H,q,Q){for(var Z=[],X=0;X<S.length;X++){var De=S[X],k=De(B,K,H,q,Q,t);if(k==null)return null;k.data&&n(k.data,"expectedType")&&Z.push(k.data.expectedType)}var Fe=Z.length>0?", expected one of type ["+Z.join(", ")+"]":"";return new p("Invalid "+q+" `"+Q+"` supplied to "+("`"+H+"`"+Fe+"."))}return y(z)}function c(){function S(D,U,z,B,K){return V(D[U])?null:new p("Invalid "+B+" `"+K+"` supplied to "+("`"+z+"`, expected a ReactNode."))}return y(S)}function P(S,D,U,z,B){return new p((S||"React class")+": "+D+" type `"+U+"."+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+B+"`.")}function Y(S){function D(U,z,B,K,H){var q=U[z],Q=ve(q);if(Q!=="object")return new p("Invalid "+K+" `"+H+"` of type `"+Q+"` "+("supplied to `"+B+"`, expected `object`."));for(var Z in S){var X=S[Z];if(typeof X!="function")return P(B,K,H,Z,$e(X));var De=X(q,Z,B,K,H+"."+Z,t);if(De)return De}return null}return y(D)}function W(S){function D(U,z,B,K,H){var q=U[z],Q=ve(q);if(Q!=="object")return new p("Invalid "+K+" `"+H+"` of type `"+Q+"` "+("supplied to `"+B+"`, expected `object`."));var Z=r({},U[z],S);for(var X in Z){var De=S[X];if(n(S,X)&&typeof De!="function")return P(B,K,H,X,$e(De));if(!De)return new p("Invalid "+K+" `"+H+"` key `"+X+"` supplied to `"+B+"`.\nBad object: "+JSON.stringify(U[z],null," ")+`
49
- Valid keys: `+JSON.stringify(Object.keys(S),null," "));var k=De(q,X,B,K,H+"."+X,t);if(k)return k}return null}return y(D)}function V(S){switch(typeof S){case"number":case"string":case"undefined":return!0;case"boolean":return!S;case"object":if(Array.isArray(S))return S.every(V);if(S===null||s(S))return!0;var D=h(S);if(D){var U=D.call(S),z;if(D!==S.entries){for(;!(z=U.next()).done;)if(!V(z.value))return!1}else for(;!(z=U.next()).done;){var B=z.value;if(B&&!V(B[1]))return!1}}else return!1;return!0;default:return!1}}function ae(S,D){return S==="symbol"?!0:D?D["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&D instanceof Symbol:!1}function ve(S){var D=typeof S;return Array.isArray(S)?"array":S instanceof RegExp?"object":ae(D,S)?"symbol":D}function $e(S){if(typeof S>"u"||S===null)return""+S;var D=ve(S);if(D==="object"){if(S instanceof Date)return"date";if(S instanceof RegExp)return"regexp"}return D}function Be(S){var D=$e(S);switch(D){case"array":case"object":return"an "+D;case"boolean":case"date":case"regexp":return"a "+D;default:return D}}function ot(S){return!S.constructor||!S.constructor.name?m:S.constructor.name}return w.checkPropTypes=a,w.resetWarningCache=a.resetWarningCache,w.PropTypes=w,w},$r}var Ir,Fn;function qo(){if(Fn)return Ir;Fn=1;var e=Dr();function r(){}function t(){}return t.resetWarningCache=r,Ir=function(){function n(i,s,u,f,d,h){if(h!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}n.isRequired=n;function 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},Ir}if(process.env.NODE_ENV!=="production"){var Vo=Mn(),zo=!0;Pr.exports=Ho()(Vo.isElement,zo)}else Pr.exports=qo()();var Uo=Pr.exports;const A=Do(Uo);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.`}var Nr={exports:{}},se={};/**
48
+ */var _r,Rn;function Wo(){if(Rn)return _r;Rn=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 u=Object.getOwnPropertyNames(i).map(function(d){return i[d]});if(u.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(d){f[d]=d}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return _r=a()?Object.assign:function(o,i){for(var s,u=n(o),f,d=1;d<arguments.length;d++){s=Object(arguments[d]);for(var h in s)r.call(s,h)&&(u[h]=s[h]);if(e){f=e(s);for(var m=0;m<f.length;m++)t.call(s,f[m])&&(u[f[m]]=s[f[m]])}}return u},_r}var Mr,An;function Dr(){if(An)return Mr;An=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Mr=e,Mr}var Rr,$n;function In(){return $n||($n=1,Rr=Function.call.bind(Object.prototype.hasOwnProperty)),Rr}var Ar,Nn;function Lo(){if(Nn)return Ar;Nn=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=Dr(),t={},n=In();e=function(o){var i="Warning: "+o;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function a(o,i,s,u,f){if(process.env.NODE_ENV!=="production"){for(var d in o)if(n(o,d)){var h;try{if(typeof o[d]!="function"){var m=Error((u||"React class")+": "+s+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}h=o[d](i,d,u,s,null,r)}catch(v){h=v}if(h&&!(h instanceof Error)&&e((u||"React class")+": type specification of "+s+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in t)){t[h.message]=!0;var w=f?f():"";e("Failed "+s+" type: "+h.message+(w??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},Ar=a,Ar}var $r,Fn;function Bo(){if(Fn)return $r;Fn=1;var e=Dn(),r=Wo(),t=Dr(),n=In(),a=Lo(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(s){var u="Warning: "+s;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function i(){return null}return $r=function(s,u){var f=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function h(S){var D=S&&(f&&S[f]||S[d]);if(typeof D=="function")return D}var m="<<anonymous>>",w={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:E,element:O(),elementType:g(),instanceOf:F,node:c(),objectOf:R,oneOf:$,oneOfType:j,shape:Y,exact:W};function v(S,D){return S===D?S!==0||1/S===1/D:S!==S&&D!==D}function p(S,D){this.message=S,this.data=D&&typeof D=="object"?D:{},this.stack=""}p.prototype=Error.prototype;function y(S){if(process.env.NODE_ENV!=="production")var D={},G=0;function U(K,q,V,Q,Z,X,De){if(Q=Q||m,X=X||V,De!==t){if(u){var k=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 k.name="Invariant Violation",k}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Fe=Q+":"+V;!D[Fe]&&G<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."),D[Fe]=!0,G++)}}return q[V]==null?K?q[V]===null?new p("The "+Z+" `"+X+"` is marked as required "+("in `"+Q+"`, but its value is `null`.")):new p("The "+Z+" `"+X+"` is marked as required in "+("`"+Q+"`, but its value is `undefined`.")):null:S(q,V,Q,Z,X)}var H=U.bind(null,!1);return H.isRequired=U.bind(null,!0),H}function T(S){function D(G,U,H,K,q,V){var Q=G[U],Z=ve(Q);if(Z!==S){var X=$e(Q);return new p("Invalid "+K+" `"+q+"` of type "+("`"+X+"` supplied to `"+H+"`, expected ")+("`"+S+"`."),{expectedType:S})}return null}return y(D)}function C(){return y(i)}function E(S){function D(G,U,H,K,q){if(typeof S!="function")return new p("Property `"+q+"` of component `"+H+"` has invalid PropType notation inside arrayOf.");var V=G[U];if(!Array.isArray(V)){var Q=ve(V);return new p("Invalid "+K+" `"+q+"` of type "+("`"+Q+"` supplied to `"+H+"`, expected an array."))}for(var Z=0;Z<V.length;Z++){var X=S(V,Z,H,K,q+"["+Z+"]",t);if(X instanceof Error)return X}return null}return y(D)}function O(){function S(D,G,U,H,K){var q=D[G];if(!s(q)){var V=ve(q);return new p("Invalid "+H+" `"+K+"` of type "+("`"+V+"` supplied to `"+U+"`, expected a single ReactElement."))}return null}return y(S)}function g(){function S(D,G,U,H,K){var q=D[G];if(!e.isValidElementType(q)){var V=ve(q);return new p("Invalid "+H+" `"+K+"` of type "+("`"+V+"` supplied to `"+U+"`, expected a single ReactElement type."))}return null}return y(S)}function F(S){function D(G,U,H,K,q){if(!(G[U]instanceof S)){var V=S.name||m,Q=ot(G[U]);return new p("Invalid "+K+" `"+q+"` of type "+("`"+Q+"` supplied to `"+H+"`, expected ")+("instance of `"+V+"`."))}return null}return y(D)}function $(S){if(!Array.isArray(S))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(G,U,H,K,q){for(var V=G[U],Q=0;Q<S.length;Q++)if(v(V,S[Q]))return null;var Z=JSON.stringify(S,function(De,k){var Fe=$e(k);return Fe==="symbol"?String(k):k});return new p("Invalid "+K+" `"+q+"` of value `"+String(V)+"` "+("supplied to `"+H+"`, expected one of "+Z+"."))}return y(D)}function R(S){function D(G,U,H,K,q){if(typeof S!="function")return new p("Property `"+q+"` of component `"+H+"` has invalid PropType notation inside objectOf.");var V=G[U],Q=ve(V);if(Q!=="object")return new p("Invalid "+K+" `"+q+"` of type "+("`"+Q+"` supplied to `"+H+"`, expected an object."));for(var Z in V)if(n(V,Z)){var X=S(V,Z,H,K,q+"."+Z,t);if(X instanceof Error)return X}return null}return y(D)}function j(S){if(!Array.isArray(S))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var D=0;D<S.length;D++){var G=S[D];if(typeof G!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Be(G)+" at index "+D+"."),i}function U(H,K,q,V,Q){for(var Z=[],X=0;X<S.length;X++){var De=S[X],k=De(H,K,q,V,Q,t);if(k==null)return null;k.data&&n(k.data,"expectedType")&&Z.push(k.data.expectedType)}var Fe=Z.length>0?", expected one of type ["+Z.join(", ")+"]":"";return new p("Invalid "+V+" `"+Q+"` supplied to "+("`"+q+"`"+Fe+"."))}return y(U)}function c(){function S(D,G,U,H,K){return z(D[G])?null:new p("Invalid "+H+" `"+K+"` supplied to "+("`"+U+"`, expected a ReactNode."))}return y(S)}function P(S,D,G,U,H){return new p((S||"React class")+": "+D+" type `"+G+"."+U+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+H+"`.")}function Y(S){function D(G,U,H,K,q){var V=G[U],Q=ve(V);if(Q!=="object")return new p("Invalid "+K+" `"+q+"` of type `"+Q+"` "+("supplied to `"+H+"`, expected `object`."));for(var Z in S){var X=S[Z];if(typeof X!="function")return P(H,K,q,Z,$e(X));var De=X(V,Z,H,K,q+"."+Z,t);if(De)return De}return null}return y(D)}function W(S){function D(G,U,H,K,q){var V=G[U],Q=ve(V);if(Q!=="object")return new p("Invalid "+K+" `"+q+"` of type `"+Q+"` "+("supplied to `"+H+"`, expected `object`."));var Z=r({},G[U],S);for(var X in Z){var De=S[X];if(n(S,X)&&typeof De!="function")return P(H,K,q,X,$e(De));if(!De)return new p("Invalid "+K+" `"+q+"` key `"+X+"` supplied to `"+H+"`.\nBad object: "+JSON.stringify(G[U],null," ")+`
49
+ Valid keys: `+JSON.stringify(Object.keys(S),null," "));var k=De(V,X,H,K,q+"."+X,t);if(k)return k}return null}return y(D)}function z(S){switch(typeof S){case"number":case"string":case"undefined":return!0;case"boolean":return!S;case"object":if(Array.isArray(S))return S.every(z);if(S===null||s(S))return!0;var D=h(S);if(D){var G=D.call(S),U;if(D!==S.entries){for(;!(U=G.next()).done;)if(!z(U.value))return!1}else for(;!(U=G.next()).done;){var H=U.value;if(H&&!z(H[1]))return!1}}else return!1;return!0;default:return!1}}function ae(S,D){return S==="symbol"?!0:D?D["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&D instanceof Symbol:!1}function ve(S){var D=typeof S;return Array.isArray(S)?"array":S instanceof RegExp?"object":ae(D,S)?"symbol":D}function $e(S){if(typeof S>"u"||S===null)return""+S;var D=ve(S);if(D==="object"){if(S instanceof Date)return"date";if(S instanceof RegExp)return"regexp"}return D}function Be(S){var D=$e(S);switch(D){case"array":case"object":return"an "+D;case"boolean":case"date":case"regexp":return"a "+D;default:return D}}function ot(S){return!S.constructor||!S.constructor.name?m:S.constructor.name}return w.checkPropTypes=a,w.resetWarningCache=a.resetWarningCache,w.PropTypes=w,w},$r}var Ir,jn;function Ho(){if(jn)return Ir;jn=1;var e=Dr();function r(){}function t(){}return t.resetWarningCache=r,Ir=function(){function n(i,s,u,f,d,h){if(h!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}n.isRequired=n;function 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},Ir}if(process.env.NODE_ENV!=="production"){var qo=Dn(),Vo=!0;Pr.exports=Bo()(qo.isElement,Vo)}else Pr.exports=Ho()();var zo=Pr.exports;const A=Do(zo);function st(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.`}var Nr={exports:{}},se={};/**
50
50
  * @license React
51
51
  * react-is.production.min.js
52
52
  *
@@ -54,7 +54,7 @@ Valid keys: `+JSON.stringify(Object.keys(S),null," "));var k=De(q,X,B,K,H+"."+X
54
54
  *
55
55
  * This source code is licensed under the MIT license found in the
56
56
  * LICENSE file in the root directory of this source tree.
57
- */var jn;function Go(){if(jn)return se;jn=1;var e=Symbol.for("react.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.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),v;v=Symbol.for("react.module.reference");function p(y){if(typeof y=="object"&&y!==null){var T=y.$$typeof;switch(T){case e:switch(y=y.type,y){case t:case a:case n:case f:case d:return y;default:switch(y=y&&y.$$typeof,y){case s:case i:case u:case m:case h:case o:return y;default:return T}}case r:return T}}}return se.ContextConsumer=i,se.ContextProvider=o,se.Element=e,se.ForwardRef=u,se.Fragment=t,se.Lazy=m,se.Memo=h,se.Portal=r,se.Profiler=a,se.StrictMode=n,se.Suspense=f,se.SuspenseList=d,se.isAsyncMode=function(){return!1},se.isConcurrentMode=function(){return!1},se.isContextConsumer=function(y){return p(y)===i},se.isContextProvider=function(y){return p(y)===o},se.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},se.isForwardRef=function(y){return p(y)===u},se.isFragment=function(y){return p(y)===t},se.isLazy=function(y){return p(y)===m},se.isMemo=function(y){return p(y)===h},se.isPortal=function(y){return p(y)===r},se.isProfiler=function(y){return p(y)===a},se.isStrictMode=function(y){return p(y)===n},se.isSuspense=function(y){return p(y)===f},se.isSuspenseList=function(y){return p(y)===d},se.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===t||y===a||y===n||y===f||y===d||y===w||typeof y=="object"&&y!==null&&(y.$$typeof===m||y.$$typeof===h||y.$$typeof===o||y.$$typeof===i||y.$$typeof===u||y.$$typeof===v||y.getModuleId!==void 0)},se.typeOf=p,se}var ce={};/**
57
+ */var Yn;function Uo(){if(Yn)return se;Yn=1;var e=Symbol.for("react.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.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),v;v=Symbol.for("react.module.reference");function p(y){if(typeof y=="object"&&y!==null){var T=y.$$typeof;switch(T){case e:switch(y=y.type,y){case t:case a:case n:case f:case d:return y;default:switch(y=y&&y.$$typeof,y){case s:case i:case u:case m:case h:case o:return y;default:return T}}case r:return T}}}return se.ContextConsumer=i,se.ContextProvider=o,se.Element=e,se.ForwardRef=u,se.Fragment=t,se.Lazy=m,se.Memo=h,se.Portal=r,se.Profiler=a,se.StrictMode=n,se.Suspense=f,se.SuspenseList=d,se.isAsyncMode=function(){return!1},se.isConcurrentMode=function(){return!1},se.isContextConsumer=function(y){return p(y)===i},se.isContextProvider=function(y){return p(y)===o},se.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},se.isForwardRef=function(y){return p(y)===u},se.isFragment=function(y){return p(y)===t},se.isLazy=function(y){return p(y)===m},se.isMemo=function(y){return p(y)===h},se.isPortal=function(y){return p(y)===r},se.isProfiler=function(y){return p(y)===a},se.isStrictMode=function(y){return p(y)===n},se.isSuspense=function(y){return p(y)===f},se.isSuspenseList=function(y){return p(y)===d},se.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===t||y===a||y===n||y===f||y===d||y===w||typeof y=="object"&&y!==null&&(y.$$typeof===m||y.$$typeof===h||y.$$typeof===o||y.$$typeof===i||y.$$typeof===u||y.$$typeof===v||y.getModuleId!==void 0)},se.typeOf=p,se}var ce={};/**
58
58
  * @license React
59
59
  * react-is.development.js
60
60
  *
@@ -62,22 +62,22 @@ Valid keys: `+JSON.stringify(Object.keys(S),null," "));var k=De(q,X,B,K,H+"."+X
62
62
  *
63
63
  * This source code is licensed under the MIT license found in the
64
64
  * LICENSE file in the root directory of this source tree.
65
- */var Yn;function Qo(){return Yn||(Yn=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.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.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),v=!1,p=!1,y=!1,T=!1,C=!1,E;E=Symbol.for("react.module.reference");function O(I){return!!(typeof I=="string"||typeof I=="function"||I===t||I===a||C||I===n||I===f||I===d||T||I===w||v||p||y||typeof I=="object"&&I!==null&&(I.$$typeof===m||I.$$typeof===h||I.$$typeof===o||I.$$typeof===i||I.$$typeof===u||I.$$typeof===E||I.getModuleId!==void 0))}function g(I){if(typeof I=="object"&&I!==null){var ze=I.$$typeof;switch(ze){case e:var Ze=I.type;switch(Ze){case t:case a:case n:case f:case d:return Ze;default:var Qt=Ze&&Ze.$$typeof;switch(Qt){case s:case i:case u:case m:case h:case o:return Qt;default:return ze}}case r:return ze}}}var F=i,$=o,R=e,j=u,c=t,P=m,Y=h,W=r,V=a,ae=n,ve=f,$e=d,Be=!1,ot=!1;function S(I){return Be||(Be=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function D(I){return ot||(ot=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function U(I){return g(I)===i}function z(I){return g(I)===o}function B(I){return typeof I=="object"&&I!==null&&I.$$typeof===e}function K(I){return g(I)===u}function H(I){return g(I)===t}function q(I){return g(I)===m}function Q(I){return g(I)===h}function Z(I){return g(I)===r}function X(I){return g(I)===a}function De(I){return g(I)===n}function k(I){return g(I)===f}function Fe(I){return g(I)===d}ce.ContextConsumer=F,ce.ContextProvider=$,ce.Element=R,ce.ForwardRef=j,ce.Fragment=c,ce.Lazy=P,ce.Memo=Y,ce.Portal=W,ce.Profiler=V,ce.StrictMode=ae,ce.Suspense=ve,ce.SuspenseList=$e,ce.isAsyncMode=S,ce.isConcurrentMode=D,ce.isContextConsumer=U,ce.isContextProvider=z,ce.isElement=B,ce.isForwardRef=K,ce.isFragment=H,ce.isLazy=q,ce.isMemo=Q,ce.isPortal=Z,ce.isProfiler=X,ce.isStrictMode=De,ce.isSuspense=k,ce.isSuspenseList=Fe,ce.isValidElementType=O,ce.typeOf=g}()),ce}process.env.NODE_ENV==="production"?Nr.exports=Go():Nr.exports=Qo();var Wn=Nr.exports;function Ln(e,r=""){return e.displayName||e.name||r}function Bn(e,r,t){const n=Ln(r);return e.displayName||(n!==""?`${t}(${n})`:t)}function Xo(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Ln(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Wn.ForwardRef:return Bn(e,e.render,"ForwardRef");case Wn.Memo:return Bn(e,e.type,"memo");default:return}}}function tt(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 fe.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 u=s;t[a][u]=jr(o[u],i[u])}}}else t[a]===void 0&&(t[a]=e[a])}return t}function Hn(e,r,t=void 0){const n={};for(const a in e){const o=e[a];let i="",s=!0;for(let u=0;u<o.length;u+=1){const f=o[u];f&&(i+=(s===!0?"":" ")+r(f),s=!1,t&&t[f]&&(i+=" "+t[f]))}n[a]=i}return n}const qn=e=>e,Ko=(()=>{let e=qn;return{configure(r){e=r},generate(r){return e(r)},reset(){e=qn}}})(),Jo={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 Zt(e,r,t="Mui"){const n=Jo[r];return n?`${t}-${n}`:`${Ko.generate(e)}-${r}`}function Vn(e,r,t="Mui"){const n={};return r.forEach(a=>{n[a]=Zt(e,a,t)}),n}function Zo(e,r=Number.MIN_SAFE_INTEGER,t=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,t))}function zn(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=zn(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Un(){for(var e,r,t=0,n="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=zn(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"?A.oneOfType([A.number,A.string,A.object,A.array]):{};function ei(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 ti(e,r){return r==="@"||r.startsWith("@")&&(e.some(t=>r.startsWith(`@${t}`))||!!r.match(/^@\d/))}function ri(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 ni(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 u=r(e.breakpoints.not(...s),i);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},a=o=>(t(n,o),n);return t(a),{...e,containerQueries:a}}const er={xs:0,sm:600,md:900,lg:1200,xl:1536},Gn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${er[e]}px)`},ai={containerQueries:e=>({up:r=>{let t=typeof r=="number"?r:er[r]||r;return typeof t=="number"&&(t=`${t}px`),e?`@container ${e} (min-width:${t})`:`@container (min-width:${t})`}})};function rt(e,r,t){const n=e.theme||{};if(Array.isArray(r)){const o=n.breakpoints||Gn;return r.reduce((i,s,u)=>(i[o.up(o.keys[u])]=t(r[u]),i),{})}if(typeof r=="object"){const o=n.breakpoints||Gn;return Object.keys(r).reduce((i,s)=>{if(ti(o.keys,s)){const u=ri(n.containerQueries?n:ai,s);u&&(i[u]=t(r[s],s))}else if(Object.keys(o.values||er).includes(s)){const u=o.up(s);i[u]=t(r[s],s)}else{const u=s;i[u]=r[u]}return i},{})}return t(r)}function oi(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,a)=>{const o=e.up(a);return n[o]={},n},{}))||{}}function ii(e,r){return e.reduce((t,n)=>{const a=t[n];return(!a||Object.keys(a).length===0)&&delete t[n],t},r)}function tr(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 rr(e,r,t,n=t){let a;return typeof e=="function"?a=e(t):Array.isArray(e)?a=e[t]||n:a=tr(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],u=i.theme,f=tr(u,n)||{};return rt(i,s,h=>{let m=rr(f,a,h);return h===m&&typeof h=="string"&&(m=rr(f,a,`${r}${h==="default"?"":tt(h)}`,h)),t===!1?m:{[t]:m}})};return o.propTypes=process.env.NODE_ENV!=="production"?{[r]:st}:{},o.filterProps=[r],o}function si(e){const r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}const ci={m:"margin",p:"padding"},ui={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Qn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},li=si(e=>{if(e.length>2)if(Qn[e])e=Qn[e];else return[e];const[r,t]=e.split(""),n=ci[r],a=ui[t]||"";return Array.isArray(a)?a.map(o=>n+o):[n+a]}),nr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ar=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],fi=[...nr,...ar];function Dt(e,r,t,n){const a=tr(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(`
65
+ */var Wn;function Go(){return Wn||(Wn=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.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.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),v=!1,p=!1,y=!1,T=!1,C=!1,E;E=Symbol.for("react.module.reference");function O(I){return!!(typeof I=="string"||typeof I=="function"||I===t||I===a||C||I===n||I===f||I===d||T||I===w||v||p||y||typeof I=="object"&&I!==null&&(I.$$typeof===m||I.$$typeof===h||I.$$typeof===o||I.$$typeof===i||I.$$typeof===u||I.$$typeof===E||I.getModuleId!==void 0))}function g(I){if(typeof I=="object"&&I!==null){var ze=I.$$typeof;switch(ze){case e:var Ze=I.type;switch(Ze){case t:case a:case n:case f:case d:return Ze;default:var Xt=Ze&&Ze.$$typeof;switch(Xt){case s:case i:case u:case m:case h:case o:return Xt;default:return ze}}case r:return ze}}}var F=i,$=o,R=e,j=u,c=t,P=m,Y=h,W=r,z=a,ae=n,ve=f,$e=d,Be=!1,ot=!1;function S(I){return Be||(Be=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function D(I){return ot||(ot=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function G(I){return g(I)===i}function U(I){return g(I)===o}function H(I){return typeof I=="object"&&I!==null&&I.$$typeof===e}function K(I){return g(I)===u}function q(I){return g(I)===t}function V(I){return g(I)===m}function Q(I){return g(I)===h}function Z(I){return g(I)===r}function X(I){return g(I)===a}function De(I){return g(I)===n}function k(I){return g(I)===f}function Fe(I){return g(I)===d}ce.ContextConsumer=F,ce.ContextProvider=$,ce.Element=R,ce.ForwardRef=j,ce.Fragment=c,ce.Lazy=P,ce.Memo=Y,ce.Portal=W,ce.Profiler=z,ce.StrictMode=ae,ce.Suspense=ve,ce.SuspenseList=$e,ce.isAsyncMode=S,ce.isConcurrentMode=D,ce.isContextConsumer=G,ce.isContextProvider=U,ce.isElement=H,ce.isForwardRef=K,ce.isFragment=q,ce.isLazy=V,ce.isMemo=Q,ce.isPortal=Z,ce.isProfiler=X,ce.isStrictMode=De,ce.isSuspense=k,ce.isSuspenseList=Fe,ce.isValidElementType=O,ce.typeOf=g}()),ce}process.env.NODE_ENV==="production"?Nr.exports=Uo():Nr.exports=Go();var Ln=Nr.exports;function Bn(e,r=""){return e.displayName||e.name||r}function Hn(e,r,t){const n=Bn(r);return e.displayName||(n!==""?`${t}(${n})`:t)}function Qo(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Bn(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Ln.ForwardRef:return Hn(e,e.render,"ForwardRef");case Ln.Memo:return Hn(e,e.type,"memo");default:return}}}function tt(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":st(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Fr(e,r){var t,n,a;return de.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 u=s;t[a][u]=jr(o[u],i[u])}}}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 u=0;u<o.length;u+=1){const f=o[u];f&&(i+=(s===!0?"":" ")+r(f),s=!1,t&&t[f]&&(i+=" "+t[f]))}n[a]=i}return n}const Vn=e=>e,Xo=(()=>{let e=Vn;return{configure(r){e=r},generate(r){return e(r)},reset(){e=Vn}}})(),Ko={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function er(e,r,t="Mui"){const n=Ko[r];return n?`${t}-${n}`:`${Xo.generate(e)}-${r}`}function zn(e,r,t="Mui"){const n={};return r.forEach(a=>{n[a]=er(e,a,t)}),n}function Jo(e,r=Number.MIN_SAFE_INTEGER,t=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,t))}function Un(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=Un(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Gn(){for(var e,r,t=0,n="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=Un(e))&&(n&&(n+=" "),n+=r);return n}function Dt(e,r){return r?Ye(e,r,{clone:!1}):e}const ct=process.env.NODE_ENV!=="production"?A.oneOfType([A.number,A.string,A.object,A.array]):{};function Zo(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 ei(e,r){return r==="@"||r.startsWith("@")&&(e.some(t=>r.startsWith(`@${t}`))||!!r.match(/^@\d/))}function ti(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\`.`:st(18,`(${r})`));return null}const[,n,a]=t,o=Number.isNaN(+n)?n||0:+n;return e.containerQueries(a).up(o)}function ri(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 u=r(e.breakpoints.not(...s),i);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},a=o=>(t(n,o),n);return t(a),{...e,containerQueries:a}}const tr={xs:0,sm:600,md:900,lg:1200,xl:1536},Qn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${tr[e]}px)`},ni={containerQueries:e=>({up:r=>{let t=typeof r=="number"?r:tr[r]||r;return typeof t=="number"&&(t=`${t}px`),e?`@container ${e} (min-width:${t})`:`@container (min-width:${t})`}})};function rt(e,r,t){const n=e.theme||{};if(Array.isArray(r)){const o=n.breakpoints||Qn;return r.reduce((i,s,u)=>(i[o.up(o.keys[u])]=t(r[u]),i),{})}if(typeof r=="object"){const o=n.breakpoints||Qn;return Object.keys(r).reduce((i,s)=>{if(ei(o.keys,s)){const u=ti(n.containerQueries?n:ni,s);u&&(i[u]=t(r[s],s))}else if(Object.keys(o.values||tr).includes(s)){const u=o.up(s);i[u]=t(r[s],s)}else{const u=s;i[u]=r[u]}return i},{})}return t(r)}function ai(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,a)=>{const o=e.up(a);return n[o]={},n},{}))||{}}function oi(e,r){return e.reduce((t,n)=>{const a=t[n];return(!a||Object.keys(a).length===0)&&delete t[n],t},r)}function rr(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 nr(e,r,t,n=t){let a;return typeof e=="function"?a=e(t):Array.isArray(e)?a=e[t]||n:a=rr(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],u=i.theme,f=rr(u,n)||{};return rt(i,s,h=>{let m=nr(f,a,h);return h===m&&typeof h=="string"&&(m=nr(f,a,`${r}${h==="default"?"":tt(h)}`,h)),t===!1?m:{[t]:m}})};return o.propTypes=process.env.NODE_ENV!=="production"?{[r]:ct}:{},o.filterProps=[r],o}function ii(e){const r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}const si={m:"margin",p:"padding"},ci={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Xn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ui=ii(e=>{if(e.length>2)if(Xn[e])e=Xn[e];else return[e];const[r,t]=e.split(""),n=si[r],a=ci[t]||"";return Array.isArray(a)?a.map(o=>n+o):[n+a]}),ar=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],or=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],li=[...ar,...or];function Rt(e,r,t,n){const a=rr(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 Yr(e){return Dt(e,"spacing",8,"spacing")}function Rt(e,r){return typeof r=="string"||r==null?r:e(r)}function di(e,r){return t=>e.reduce((n,a)=>(n[a]=Rt(r,t),n),{})}function hi(e,r,t,n){if(!r.includes(t))return null;const a=li(t),o=di(a,n),i=e[t];return rt(e,i,o)}function Xn(e,r){const t=Yr(e.theme);return Object.keys(e).map(n=>hi(e,r,n,t)).reduce(Mt,{})}function xe(e){return Xn(e,nr)}xe.propTypes=process.env.NODE_ENV!=="production"?nr.reduce((e,r)=>(e[r]=st,e),{}):{},xe.filterProps=nr;function Te(e){return Xn(e,ar)}Te.propTypes=process.env.NODE_ENV!=="production"?ar.reduce((e,r)=>(e[r]=st,e),{}):{},Te.filterProps=ar,process.env.NODE_ENV!=="production"&&fi.reduce((e,r)=>(e[r]=st,e),{});function or(...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 He(e){return typeof e!="number"?e:`${e}px solid`}function qe(e,r){return Se({prop:e,themeKey:"borders",transform:r})}const mi=qe("border",He),pi=qe("borderTop",He),yi=qe("borderRight",He),gi=qe("borderBottom",He),bi=qe("borderLeft",He),vi=qe("borderColor"),wi=qe("borderTopColor"),xi=qe("borderRightColor"),Ti=qe("borderBottomColor"),Ei=qe("borderLeftColor"),Si=qe("outline",He),Ci=qe("outlineColor"),ir=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const r=Dt(e.theme,"shape.borderRadius",4,"borderRadius"),t=n=>({borderRadius:Rt(r,n)});return rt(e,e.borderRadius,t)}return null};ir.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:st}:{},ir.filterProps=["borderRadius"],or(mi,pi,yi,gi,bi,vi,wi,xi,Ti,Ei,ir,Si,Ci);const sr=e=>{if(e.gap!==void 0&&e.gap!==null){const r=Dt(e.theme,"spacing",8,"gap"),t=n=>({gap:Rt(r,n)});return rt(e,e.gap,t)}return null};sr.propTypes=process.env.NODE_ENV!=="production"?{gap:st}:{},sr.filterProps=["gap"];const cr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const r=Dt(e.theme,"spacing",8,"columnGap"),t=n=>({columnGap:Rt(r,n)});return rt(e,e.columnGap,t)}return null};cr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:st}:{},cr.filterProps=["columnGap"];const ur=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const r=Dt(e.theme,"spacing",8,"rowGap"),t=n=>({rowGap:Rt(r,n)});return rt(e,e.rowGap,t)}return null};ur.propTypes=process.env.NODE_ENV!=="production"?{rowGap:st}:{},ur.filterProps=["rowGap"];const Oi=Se({prop:"gridColumn"}),ki=Se({prop:"gridRow"}),Pi=Se({prop:"gridAutoFlow"}),_i=Se({prop:"gridAutoColumns"}),Mi=Se({prop:"gridAutoRows"}),Di=Se({prop:"gridTemplateColumns"}),Ri=Se({prop:"gridTemplateRows"}),Ai=Se({prop:"gridTemplateAreas"}),$i=Se({prop:"gridArea"});or(sr,cr,ur,Oi,ki,Pi,_i,Mi,Di,Ri,Ai,$i);function mt(e,r){return r==="grey"?r:e}const Ii=Se({prop:"color",themeKey:"palette",transform:mt}),Ni=Se({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:mt}),Fi=Se({prop:"backgroundColor",themeKey:"palette",transform:mt});or(Ii,Ni,Fi);function We(e){return e<=1&&e!==0?`${e*100}%`:e}const ji=Se({prop:"width",transform:We}),Wr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=t=>{var a,o,i,s,u;const n=((i=(o=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:o.values)==null?void 0:i[t])||er[t];return n?((u=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:We(t)}};return rt(e,e.maxWidth,r)}return null};Wr.filterProps=["maxWidth"];const Yi=Se({prop:"minWidth",transform:We}),Wi=Se({prop:"height",transform:We}),Li=Se({prop:"maxHeight",transform:We}),Bi=Se({prop:"minHeight",transform:We});Se({prop:"size",cssProperty:"width",transform:We}),Se({prop:"size",cssProperty:"height",transform:We});const Hi=Se({prop:"boxSizing"});or(ji,Wr,Yi,Wi,Li,Bi,Hi);const lr={border:{themeKey:"borders",transform:He},borderTop:{themeKey:"borders",transform:He},borderRight:{themeKey:"borders",transform:He},borderBottom:{themeKey:"borders",transform:He},borderLeft:{themeKey:"borders",transform:He},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:He},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ir},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:sr},rowGap:{style:ur},columnGap:{style:cr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:We},maxWidth:{style:Wr},minWidth:{transform:We},height:{transform:We},maxHeight:{transform:We},minHeight:{transform:We},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 Vi(e,r){return typeof e=="function"?e(r):e}function zi(){function e(t,n,a,o){const i={[t]:n,theme:a},s=o[t];if(!s)return{[t]:n};const{cssProperty:u=t,themeKey:f,transform:d,style:h}=s;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[t]:n};const m=tr(a,f)||{};return h?h(i):rt(i,n,v=>{let p=rr(m,d,v);return v===p&&typeof v=="string"&&(p=rr(m,d,`${t}${v==="default"?"":tt(v)}`,v)),u===!1?p:{[u]:p}})}function r(t){const{sx:n,theme:a={}}=t||{};if(!n)return null;const o=a.unstable_sxConfig??lr;function i(s){let u=s;if(typeof s=="function")u=s(a);else if(typeof s!="object")return s;if(!u)return null;const f=oi(a.breakpoints),d=Object.keys(f);let h=f;return Object.keys(u).forEach(m=>{const w=Vi(u[m],a);if(w!=null)if(typeof w=="object")if(o[m])h=Mt(h,e(m,w,a,o));else{const v=rt({theme:a},w,p=>({[m]:p}));qi(v,w)?h[m]=r({sx:w,theme:a}):h=Mt(h,v)}else h=Mt(h,e(m,w,a,o))}),ei(a,ii(d,h))}return Array.isArray(n)?n.map(i):i(n)}return r}const pt=zi();pt.filterProps=["sx"];function Lr(){return Lr=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},Lr.apply(null,arguments)}function Kn(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var Ui=/^((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)-.*))$/,Gi=Kn(function(e){return Ui.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Qi=!1;function Xi(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 Ki(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 Ji=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?!Qi: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(Ki(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Xi(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}(),Ae="-ms-",fr="-moz-",te="-webkit-",Jn="comm",Br="rule",Hr="decl",Zi="@import",Zn="@keyframes",es="@layer",ts=Math.abs,dr=String.fromCharCode,rs=Object.assign;function ns(e,r){return Re(e,0)^45?(((r<<2^Re(e,0))<<2^Re(e,1))<<2^Re(e,2))<<2^Re(e,3):0}function ea(e){return e.trim()}function as(e,r){return(e=r.exec(e))?e[0]:e}function re(e,r,t){return e.replace(r,t)}function qr(e,r){return e.indexOf(r)}function Re(e,r){return e.charCodeAt(r)|0}function At(e,r,t){return e.slice(r,t)}function Ue(e){return e.length}function Vr(e){return e.length}function hr(e,r){return r.push(e),e}function os(e,r){return e.map(r).join("")}var mr=1,yt=1,ta=0,Ne=0,Pe=0,gt="";function pr(e,r,t,n,a,o,i){return{value:e,root:r,parent:t,type:n,props:a,children:o,line:mr,column:yt,length:i,return:""}}function $t(e,r){return rs(pr("",null,null,"",null,null,0),e,{length:-e.length},r)}function is(){return Pe}function ss(){return Pe=Ne>0?Re(gt,--Ne):0,yt--,Pe===10&&(yt=1,mr--),Pe}function Le(){return Pe=Ne<ta?Re(gt,Ne++):0,yt++,Pe===10&&(yt=1,mr++),Pe}function Ge(){return Re(gt,Ne)}function yr(){return Ne}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 ra(e){return mr=yt=1,ta=Ue(gt=e),Ne=0,[]}function na(e){return gt="",e}function gr(e){return ea(It(Ne-1,zr(e===91?e+2:e===40?e+1:e)))}function cs(e){for(;(Pe=Ge())&&Pe<33;)Le();return Nt(e)>2||Nt(Pe)>3?"":" "}function us(e,r){for(;--r&&Le()&&!(Pe<48||Pe>102||Pe>57&&Pe<65||Pe>70&&Pe<97););return It(e,yr()+(r<6&&Ge()==32&&Le()==32))}function zr(e){for(;Le();)switch(Pe){case e:return Ne;case 34:case 39:e!==34&&e!==39&&zr(Pe);break;case 40:e===41&&zr(e);break;case 92:Le();break}return Ne}function ls(e,r){for(;Le()&&e+Pe!==57;)if(e+Pe===84&&Ge()===47)break;return"/*"+It(r,Ne-1)+"*"+dr(e===47?e:Le())}function fs(e){for(;!Nt(Ge());)Le();return It(e,Ne)}function ds(e){return na(br("",null,null,null,[""],e=ra(e),0,[0],e))}function br(e,r,t,n,a,o,i,s,u){for(var f=0,d=0,h=i,m=0,w=0,v=0,p=1,y=1,T=1,C=0,E="",O=a,g=o,F=n,$=E;y;)switch(v=C,C=Le()){case 40:if(v!=108&&Re($,h-1)==58){qr($+=re(gr(C),"&","&\f"),"&\f")!=-1&&(T=-1);break}case 34:case 39:case 91:$+=gr(C);break;case 9:case 10:case 13:case 32:$+=cs(v);break;case 92:$+=us(yr()-1,7);continue;case 47:switch(Ge()){case 42:case 47:hr(hs(ls(Le(),yr()),r,t),u);break;default:$+="/"}break;case 123*p:s[f++]=Ue($)*T;case 125*p:case 59:case 0:switch(C){case 0:case 125:y=0;case 59+d:T==-1&&($=re($,/\f/g,"")),w>0&&Ue($)-h&&hr(w>32?oa($+";",n,t,h-1):oa(re($," ","")+";",n,t,h-2),u);break;case 59:$+=";";default:if(hr(F=aa($,r,t,f,d,a,s,E,O=[],g=[],h),o),C===123)if(d===0)br($,r,F,F,O,o,h,s,g);else switch(m===99&&Re($,3)===110?100:m){case 100:case 108:case 109:case 115:br(e,F,F,n&&hr(aa(e,F,F,0,0,a,s,E,a,O=[],h),g),a,g,h,s,n?O:g);break;default:br($,F,F,F,[""],g,0,s,g)}}f=d=w=0,p=T=1,E=$="",h=i;break;case 58:h=1+Ue($),w=v;default:if(p<1){if(C==123)--p;else if(C==125&&p++==0&&ss()==125)continue}switch($+=dr(C),C*p){case 38:T=d>0?1:($+="\f",-1);break;case 44:s[f++]=(Ue($)-1)*T,T=1;break;case 64:Ge()===45&&($+=gr(Le())),m=Ge(),d=h=Ue(E=$+=fs(yr())),C++;break;case 45:v===45&&Ue($)==2&&(p=0)}}return o}function aa(e,r,t,n,a,o,i,s,u,f,d){for(var h=a-1,m=a===0?o:[""],w=Vr(m),v=0,p=0,y=0;v<n;++v)for(var T=0,C=At(e,h+1,h=ts(p=i[v])),E=e;T<w;++T)(E=ea(p>0?m[T]+" "+C:re(C,/&\f/g,m[T])))&&(u[y++]=E);return pr(e,r,t,a===0?Br:s,u,f,d)}function hs(e,r,t){return pr(e,r,t,Jn,dr(is()),At(e,2,-2),0)}function oa(e,r,t,n){return pr(e,r,t,Hr,At(e,0,n),At(e,n+1,-1),n)}function bt(e,r){for(var t="",n=Vr(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function ms(e,r,t,n){switch(e.type){case es:if(e.children.length)break;case Zi:case Hr:return e.return=e.return||e.value;case Jn:return"";case Zn:return e.return=e.value+"{"+bt(e.children,n)+"}";case Br:e.value=e.props.join(",")}return Ue(t=bt(e.children,n))?e.return=e.value+"{"+t+"}":""}function ps(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 ys(e){return function(r){r.root||(r=r.return)&&e(r)}}var gs=function(r,t,n){for(var a=0,o=0;a=o,o=Ge(),a===38&&o===12&&(t[n]=1),!Nt(o);)Le();return It(r,Ne)},bs=function(r,t){var n=-1,a=44;do switch(Nt(a)){case 0:a===38&&Ge()===12&&(t[n]=1),r[n]+=gs(Ne-1,t,n);break;case 2:r[n]+=gr(a);break;case 4:if(a===44){r[++n]=Ge()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=dr(a)}while(a=Le());return r},vs=function(r,t){return na(bs(ra(r),t))},ia=new WeakMap,ws=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&&!ia.get(n))&&!a){ia.set(r,!0);for(var o=[],i=vs(t,o),s=n.props,u=0,f=0;u<i.length;u++)for(var d=0;d<s.length;d++,f++)r.props[f]=o[u]?i[u].replace(/&\f/g,s[d]):s[d]+" "+i[u]}}},xs=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function sa(e,r){switch(ns(e,r)){case 5103:return te+"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 te+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return te+e+fr+e+Ae+e+e;case 6828:case 4268:return te+e+Ae+e+e;case 6165:return te+e+Ae+"flex-"+e+e;case 5187:return te+e+re(e,/(\w+).+(:[^]+)/,te+"box-$1$2"+Ae+"flex-$1$2")+e;case 5443:return te+e+Ae+"flex-item-"+re(e,/flex-|-self/,"")+e;case 4675:return te+e+Ae+"flex-line-pack"+re(e,/align-content|flex-|-self/,"")+e;case 5548:return te+e+Ae+re(e,"shrink","negative")+e;case 5292:return te+e+Ae+re(e,"basis","preferred-size")+e;case 6060:return te+"box-"+re(e,"-grow","")+te+e+Ae+re(e,"grow","positive")+e;case 4554:return te+re(e,/([^-])(transform)/g,"$1"+te+"$2")+e;case 6187:return re(re(re(e,/(zoom-|grab)/,te+"$1"),/(image-set)/,te+"$1"),e,"")+e;case 5495:case 3959:return re(e,/(image-set\([^]*)/,te+"$1$`$1");case 4968:return re(re(e,/(.+:)(flex-)?(.*)/,te+"box-pack:$3"+Ae+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+te+e+e;case 4095:case 3583:case 4068:case 2532:return re(e,/(.+)-inline(.+)/,te+"$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(Ue(e)-1-r>6)switch(Re(e,r+1)){case 109:if(Re(e,r+4)!==45)break;case 102:return re(e,/(.+:)(.+)-([^]+)/,"$1"+te+"$2-$3$1"+fr+(Re(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~qr(e,"stretch")?sa(re(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(Re(e,r+1)!==115)break;case 6444:switch(Re(e,Ue(e)-3-(~qr(e,"!important")&&10))){case 107:return re(e,":",":"+te)+e;case 101:return re(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+te+(Re(e,14)===45?"inline-":"")+"box$3$1"+te+"$2$3$1"+Ae+"$2box$3")+e}break;case 5936:switch(Re(e,r+11)){case 114:return te+e+Ae+re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return te+e+Ae+re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return te+e+Ae+re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return te+e+Ae+e+e}return e}var Ts=function(r,t,n,a){if(r.length>-1&&!r.return)switch(r.type){case Hr:r.return=sa(r.value,r.length);break;case Zn:return bt([$t(r,{value:re(r.value,"@","@"+te)})],a);case Br:if(r.length)return os(r.props,function(o){switch(as(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return bt([$t(r,{props:[re(o,/:(read-\w+)/,":"+fr+"$1")]})],a);case"::placeholder":return bt([$t(r,{props:[re(o,/:(plac\w+)/,":"+te+"input-$1")]}),$t(r,{props:[re(o,/:(plac\w+)/,":"+fr+"$1")]}),$t(r,{props:[re(o,/:(plac\w+)/,Ae+"input-$1")]})],a)}return""})}},Es=[Ts],Ss=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(p){var y=p.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var a=r.stylisPlugins||Es,o={},i,s=[];i=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(p){for(var y=p.getAttribute("data-emotion").split(" "),T=1;T<y.length;T++)o[y[T]]=!0;s.push(p)});var u,f=[ws,xs];{var d,h=[ms,ys(function(p){d.insert(p)})],m=ps(f.concat(a,h)),w=function(y){return bt(ds(y),m)};u=function(y,T,C,E){d=C,w(y?y+"{"+T.styles+"}":T.styles),E&&(v.inserted[T.name]=!0)}}var v={key:t,sheet:new Ji({key:t,container:i,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:o,registered:{},insert:u};return v.sheet.hydrate(s),v},Cs=!0;function Os(e,r,t){var n="";return t.split(" ").forEach(function(a){e[a]!==void 0?r.push(e[a]+";"):a&&(n+=a+" ")}),n}var ca=function(r,t,n){var a=r.key+"-"+t.name;(n===!1||Cs===!1)&&r.registered[a]===void 0&&(r.registered[a]=t.styles)},ks=function(r,t,n){ca(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 Ps(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 _s={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},Ms=!1,Ds=/[A-Z]|^ms/g,Rs=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ua=function(r){return r.charCodeAt(1)===45},la=function(r){return r!=null&&typeof r!="boolean"},Ur=Kn(function(e){return ua(e)?e:e.replace(Ds,"-$&").toLowerCase()}),fa=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(Rs,function(n,a,o){return Qe={name:a,styles:o,next:Qe},a})}return _s[r]!==1&&!ua(r)&&typeof t=="number"&&t!==0?t+"px":t},As="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 Qe={name:a.name,styles:a.styles,next:Qe},a.name;var o=t;if(o.styles!==void 0){var i=o.next;if(i!==void 0)for(;i!==void 0;)Qe={name:i.name,styles:i.styles,next:Qe},i=i.next;var s=o.styles+";";return s}return $s(e,r,t)}case"function":{if(e!==void 0){var u=Qe,f=t(e);return Qe=u,Ft(e,r,f)}break}}var d=t;if(r==null)return d;var h=r[d];return h!==void 0?h:d}function $s(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]+"}":la(s)&&(n+=Ur(o)+":"+fa(o,s)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&Ms)throw new Error(As);if(Array.isArray(i)&&typeof i[0]=="string"&&(r==null||r[i[0]]===void 0))for(var u=0;u<i.length;u++)la(i[u])&&(n+=Ur(o)+":"+fa(o,i[u])+";");else{var f=Ft(e,r,i);switch(o){case"animation":case"animationName":{n+=Ur(o)+":"+f+";";break}default:n+=o+"{"+f+"}"}}}}return n}var da=/label:\s*([^\s;{]+)\s*(;|$)/g,Qe;function ha(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="";Qe=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 u=o;a+=u[s]}da.lastIndex=0;for(var f="",d;(d=da.exec(a))!==null;)f+="-"+d[1];var h=Ps(a)+f;return{name:h,styles:a,next:Qe}}var Is=function(r){return r()},Ns=fe.useInsertionEffect?fe.useInsertionEffect:!1,Fs=Ns||Is,ma=fe.createContext(typeof HTMLElement<"u"?Ss({key:"css"}):null);ma.Provider;var js=function(r){return Me.forwardRef(function(t,n){var a=Me.useContext(ma);return r(t,a,n)})},Ys=fe.createContext({}),Ws=Gi,Ls=function(r){return r!=="theme"},pa=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?Ws:Ls},ya=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},Bs=!1,Hs=function(r){var t=r.cache,n=r.serialized,a=r.isStringTag;return ca(t,n,a),Fs(function(){return ks(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=ya(r,t,n),u=s||pa(a),f=!u("as");return function(){var d=arguments,h=n&&r.__emotion_styles!==void 0?r.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)h.push.apply(h,d);else{h.push(d[0][0]);for(var m=d.length,w=1;w<m;w++)h.push(d[w],d[0][w])}var v=js(function(p,y,T){var C=f&&p.as||a,E="",O=[],g=p;if(p.theme==null){g={};for(var F in p)g[F]=p[F];g.theme=fe.useContext(Ys)}typeof p.className=="string"?E=Os(y.registered,O,p.className):p.className!=null&&(E=p.className+" ");var $=ha(h.concat(O),y.registered,g);E+=y.key+"-"+$.name,i!==void 0&&(E+=" "+i);var R=f&&s===void 0?pa(C):u,j={};for(var c in p)f&&c==="as"||R(c)&&(j[c]=p[c]);return j.className=E,T&&(j.ref=T),fe.createElement(fe.Fragment,null,fe.createElement(Hs,{cache:y,serialized:$,isStringTag:typeof C=="string"}),fe.createElement(C,j))});return v.displayName=o!==void 0?o:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",v.defaultProps=r.defaultProps,v.__emotion_real=v,v.__emotion_base=a,v.__emotion_styles=h,v.__emotion_forwardProp=s,Object.defineProperty(v,"toString",{value:function(){return i===void 0&&Bs?"NO_COMPONENT_SELECTOR":"."+i}}),v.withComponent=function(p,y){return e(p,Lr({},t,y,{shouldForwardProp:ya(v,y,!0)})).apply(void 0,h)},v}},Vs=["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();Vs.forEach(function(e){Gr[e]=Gr(e)});/**
69
+ `)),()=>{})}function Yr(e){return Rt(e,"spacing",8,"spacing")}function At(e,r){return typeof r=="string"||r==null?r:e(r)}function fi(e,r){return t=>e.reduce((n,a)=>(n[a]=At(r,t),n),{})}function di(e,r,t,n){if(!r.includes(t))return null;const a=ui(t),o=fi(a,n),i=e[t];return rt(e,i,o)}function Kn(e,r){const t=Yr(e.theme);return Object.keys(e).map(n=>di(e,r,n,t)).reduce(Dt,{})}function xe(e){return Kn(e,ar)}xe.propTypes=process.env.NODE_ENV!=="production"?ar.reduce((e,r)=>(e[r]=ct,e),{}):{},xe.filterProps=ar;function Te(e){return Kn(e,or)}Te.propTypes=process.env.NODE_ENV!=="production"?or.reduce((e,r)=>(e[r]=ct,e),{}):{},Te.filterProps=or,process.env.NODE_ENV!=="production"&&li.reduce((e,r)=>(e[r]=ct,e),{});function ir(...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]?Dt(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 He(e){return typeof e!="number"?e:`${e}px solid`}function qe(e,r){return Se({prop:e,themeKey:"borders",transform:r})}const hi=qe("border",He),mi=qe("borderTop",He),pi=qe("borderRight",He),yi=qe("borderBottom",He),gi=qe("borderLeft",He),bi=qe("borderColor"),vi=qe("borderTopColor"),wi=qe("borderRightColor"),xi=qe("borderBottomColor"),Ti=qe("borderLeftColor"),Ei=qe("outline",He),Si=qe("outlineColor"),sr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const r=Rt(e.theme,"shape.borderRadius",4,"borderRadius"),t=n=>({borderRadius:At(r,n)});return rt(e,e.borderRadius,t)}return null};sr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:ct}:{},sr.filterProps=["borderRadius"],ir(hi,mi,pi,yi,gi,bi,vi,wi,xi,Ti,sr,Ei,Si);const cr=e=>{if(e.gap!==void 0&&e.gap!==null){const r=Rt(e.theme,"spacing",8,"gap"),t=n=>({gap:At(r,n)});return rt(e,e.gap,t)}return null};cr.propTypes=process.env.NODE_ENV!=="production"?{gap:ct}:{},cr.filterProps=["gap"];const ur=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const r=Rt(e.theme,"spacing",8,"columnGap"),t=n=>({columnGap:At(r,n)});return rt(e,e.columnGap,t)}return null};ur.propTypes=process.env.NODE_ENV!=="production"?{columnGap:ct}:{},ur.filterProps=["columnGap"];const lr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const r=Rt(e.theme,"spacing",8,"rowGap"),t=n=>({rowGap:At(r,n)});return rt(e,e.rowGap,t)}return null};lr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:ct}:{},lr.filterProps=["rowGap"];const Ci=Se({prop:"gridColumn"}),Oi=Se({prop:"gridRow"}),ki=Se({prop:"gridAutoFlow"}),Pi=Se({prop:"gridAutoColumns"}),_i=Se({prop:"gridAutoRows"}),Mi=Se({prop:"gridTemplateColumns"}),Di=Se({prop:"gridTemplateRows"}),Ri=Se({prop:"gridTemplateAreas"}),Ai=Se({prop:"gridArea"});ir(cr,ur,lr,Ci,Oi,ki,Pi,_i,Mi,Di,Ri,Ai);function pt(e,r){return r==="grey"?r:e}const $i=Se({prop:"color",themeKey:"palette",transform:pt}),Ii=Se({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:pt}),Ni=Se({prop:"backgroundColor",themeKey:"palette",transform:pt});ir($i,Ii,Ni);function We(e){return e<=1&&e!==0?`${e*100}%`:e}const Fi=Se({prop:"width",transform:We}),Wr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=t=>{var a,o,i,s,u;const n=((i=(o=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:o.values)==null?void 0:i[t])||tr[t];return n?((u=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:We(t)}};return rt(e,e.maxWidth,r)}return null};Wr.filterProps=["maxWidth"];const ji=Se({prop:"minWidth",transform:We}),Yi=Se({prop:"height",transform:We}),Wi=Se({prop:"maxHeight",transform:We}),Li=Se({prop:"minHeight",transform:We});Se({prop:"size",cssProperty:"width",transform:We}),Se({prop:"size",cssProperty:"height",transform:We});const Bi=Se({prop:"boxSizing"});ir(Fi,Wr,ji,Yi,Wi,Li,Bi);const fr={border:{themeKey:"borders",transform:He},borderTop:{themeKey:"borders",transform:He},borderRight:{themeKey:"borders",transform:He},borderBottom:{themeKey:"borders",transform:He},borderLeft:{themeKey:"borders",transform:He},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:He},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:sr},color:{themeKey:"palette",transform:pt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:pt},backgroundColor:{themeKey:"palette",transform:pt},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:cr},rowGap:{style:lr},columnGap:{style:ur},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:We},maxWidth:{style:Wr},minWidth:{transform:We},height:{transform:We},maxHeight:{transform:We},minHeight:{transform:We},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 Hi(...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 qi(e,r){return typeof e=="function"?e(r):e}function Vi(){function e(t,n,a,o){const i={[t]:n,theme:a},s=o[t];if(!s)return{[t]:n};const{cssProperty:u=t,themeKey:f,transform:d,style:h}=s;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[t]:n};const m=rr(a,f)||{};return h?h(i):rt(i,n,v=>{let p=nr(m,d,v);return v===p&&typeof v=="string"&&(p=nr(m,d,`${t}${v==="default"?"":tt(v)}`,v)),u===!1?p:{[u]:p}})}function r(t){const{sx:n,theme:a={}}=t||{};if(!n)return null;const o=a.unstable_sxConfig??fr;function i(s){let u=s;if(typeof s=="function")u=s(a);else if(typeof s!="object")return s;if(!u)return null;const f=ai(a.breakpoints),d=Object.keys(f);let h=f;return Object.keys(u).forEach(m=>{const w=qi(u[m],a);if(w!=null)if(typeof w=="object")if(o[m])h=Dt(h,e(m,w,a,o));else{const v=rt({theme:a},w,p=>({[m]:p}));Hi(v,w)?h[m]=r({sx:w,theme:a}):h=Dt(h,v)}else h=Dt(h,e(m,w,a,o))}),Zo(a,oi(d,h))}return Array.isArray(n)?n.map(i):i(n)}return r}const yt=Vi();yt.filterProps=["sx"];function Lr(){return Lr=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},Lr.apply(null,arguments)}function Jn(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var zi=/^((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)-.*))$/,Ui=Jn(function(e){return zi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Gi=!1;function Qi(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 Xi(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 Ki=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?!Gi: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(Xi(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Qi(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}(),Ae="-ms-",dr="-moz-",te="-webkit-",Zn="comm",Br="rule",Hr="decl",Ji="@import",ea="@keyframes",Zi="@layer",es=Math.abs,hr=String.fromCharCode,ts=Object.assign;function rs(e,r){return Re(e,0)^45?(((r<<2^Re(e,0))<<2^Re(e,1))<<2^Re(e,2))<<2^Re(e,3):0}function ta(e){return e.trim()}function ns(e,r){return(e=r.exec(e))?e[0]:e}function re(e,r,t){return e.replace(r,t)}function qr(e,r){return e.indexOf(r)}function Re(e,r){return e.charCodeAt(r)|0}function $t(e,r,t){return e.slice(r,t)}function Ue(e){return e.length}function Vr(e){return e.length}function mr(e,r){return r.push(e),e}function as(e,r){return e.map(r).join("")}var pr=1,gt=1,ra=0,Ne=0,Pe=0,bt="";function yr(e,r,t,n,a,o,i){return{value:e,root:r,parent:t,type:n,props:a,children:o,line:pr,column:gt,length:i,return:""}}function It(e,r){return ts(yr("",null,null,"",null,null,0),e,{length:-e.length},r)}function os(){return Pe}function is(){return Pe=Ne>0?Re(bt,--Ne):0,gt--,Pe===10&&(gt=1,pr--),Pe}function Le(){return Pe=Ne<ra?Re(bt,Ne++):0,gt++,Pe===10&&(gt=1,pr++),Pe}function Ge(){return Re(bt,Ne)}function gr(){return Ne}function Nt(e,r){return $t(bt,e,r)}function Ft(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 na(e){return pr=gt=1,ra=Ue(bt=e),Ne=0,[]}function aa(e){return bt="",e}function br(e){return ta(Nt(Ne-1,zr(e===91?e+2:e===40?e+1:e)))}function ss(e){for(;(Pe=Ge())&&Pe<33;)Le();return Ft(e)>2||Ft(Pe)>3?"":" "}function cs(e,r){for(;--r&&Le()&&!(Pe<48||Pe>102||Pe>57&&Pe<65||Pe>70&&Pe<97););return Nt(e,gr()+(r<6&&Ge()==32&&Le()==32))}function zr(e){for(;Le();)switch(Pe){case e:return Ne;case 34:case 39:e!==34&&e!==39&&zr(Pe);break;case 40:e===41&&zr(e);break;case 92:Le();break}return Ne}function us(e,r){for(;Le()&&e+Pe!==57;)if(e+Pe===84&&Ge()===47)break;return"/*"+Nt(r,Ne-1)+"*"+hr(e===47?e:Le())}function ls(e){for(;!Ft(Ge());)Le();return Nt(e,Ne)}function fs(e){return aa(vr("",null,null,null,[""],e=na(e),0,[0],e))}function vr(e,r,t,n,a,o,i,s,u){for(var f=0,d=0,h=i,m=0,w=0,v=0,p=1,y=1,T=1,C=0,E="",O=a,g=o,F=n,$=E;y;)switch(v=C,C=Le()){case 40:if(v!=108&&Re($,h-1)==58){qr($+=re(br(C),"&","&\f"),"&\f")!=-1&&(T=-1);break}case 34:case 39:case 91:$+=br(C);break;case 9:case 10:case 13:case 32:$+=ss(v);break;case 92:$+=cs(gr()-1,7);continue;case 47:switch(Ge()){case 42:case 47:mr(ds(us(Le(),gr()),r,t),u);break;default:$+="/"}break;case 123*p:s[f++]=Ue($)*T;case 125*p:case 59:case 0:switch(C){case 0:case 125:y=0;case 59+d:T==-1&&($=re($,/\f/g,"")),w>0&&Ue($)-h&&mr(w>32?ia($+";",n,t,h-1):ia(re($," ","")+";",n,t,h-2),u);break;case 59:$+=";";default:if(mr(F=oa($,r,t,f,d,a,s,E,O=[],g=[],h),o),C===123)if(d===0)vr($,r,F,F,O,o,h,s,g);else switch(m===99&&Re($,3)===110?100:m){case 100:case 108:case 109:case 115:vr(e,F,F,n&&mr(oa(e,F,F,0,0,a,s,E,a,O=[],h),g),a,g,h,s,n?O:g);break;default:vr($,F,F,F,[""],g,0,s,g)}}f=d=w=0,p=T=1,E=$="",h=i;break;case 58:h=1+Ue($),w=v;default:if(p<1){if(C==123)--p;else if(C==125&&p++==0&&is()==125)continue}switch($+=hr(C),C*p){case 38:T=d>0?1:($+="\f",-1);break;case 44:s[f++]=(Ue($)-1)*T,T=1;break;case 64:Ge()===45&&($+=br(Le())),m=Ge(),d=h=Ue(E=$+=ls(gr())),C++;break;case 45:v===45&&Ue($)==2&&(p=0)}}return o}function oa(e,r,t,n,a,o,i,s,u,f,d){for(var h=a-1,m=a===0?o:[""],w=Vr(m),v=0,p=0,y=0;v<n;++v)for(var T=0,C=$t(e,h+1,h=es(p=i[v])),E=e;T<w;++T)(E=ta(p>0?m[T]+" "+C:re(C,/&\f/g,m[T])))&&(u[y++]=E);return yr(e,r,t,a===0?Br:s,u,f,d)}function ds(e,r,t){return yr(e,r,t,Zn,hr(os()),$t(e,2,-2),0)}function ia(e,r,t,n){return yr(e,r,t,Hr,$t(e,0,n),$t(e,n+1,-1),n)}function vt(e,r){for(var t="",n=Vr(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function hs(e,r,t,n){switch(e.type){case Zi:if(e.children.length)break;case Ji:case Hr:return e.return=e.return||e.value;case Zn:return"";case ea:return e.return=e.value+"{"+vt(e.children,n)+"}";case Br:e.value=e.props.join(",")}return Ue(t=vt(e.children,n))?e.return=e.value+"{"+t+"}":""}function ms(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 ps(e){return function(r){r.root||(r=r.return)&&e(r)}}var ys=function(r,t,n){for(var a=0,o=0;a=o,o=Ge(),a===38&&o===12&&(t[n]=1),!Ft(o);)Le();return Nt(r,Ne)},gs=function(r,t){var n=-1,a=44;do switch(Ft(a)){case 0:a===38&&Ge()===12&&(t[n]=1),r[n]+=ys(Ne-1,t,n);break;case 2:r[n]+=br(a);break;case 4:if(a===44){r[++n]=Ge()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=hr(a)}while(a=Le());return r},bs=function(r,t){return aa(gs(na(r),t))},sa=new WeakMap,vs=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&&!sa.get(n))&&!a){sa.set(r,!0);for(var o=[],i=bs(t,o),s=n.props,u=0,f=0;u<i.length;u++)for(var d=0;d<s.length;d++,f++)r.props[f]=o[u]?i[u].replace(/&\f/g,s[d]):s[d]+" "+i[u]}}},ws=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function ca(e,r){switch(rs(e,r)){case 5103:return te+"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 te+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return te+e+dr+e+Ae+e+e;case 6828:case 4268:return te+e+Ae+e+e;case 6165:return te+e+Ae+"flex-"+e+e;case 5187:return te+e+re(e,/(\w+).+(:[^]+)/,te+"box-$1$2"+Ae+"flex-$1$2")+e;case 5443:return te+e+Ae+"flex-item-"+re(e,/flex-|-self/,"")+e;case 4675:return te+e+Ae+"flex-line-pack"+re(e,/align-content|flex-|-self/,"")+e;case 5548:return te+e+Ae+re(e,"shrink","negative")+e;case 5292:return te+e+Ae+re(e,"basis","preferred-size")+e;case 6060:return te+"box-"+re(e,"-grow","")+te+e+Ae+re(e,"grow","positive")+e;case 4554:return te+re(e,/([^-])(transform)/g,"$1"+te+"$2")+e;case 6187:return re(re(re(e,/(zoom-|grab)/,te+"$1"),/(image-set)/,te+"$1"),e,"")+e;case 5495:case 3959:return re(e,/(image-set\([^]*)/,te+"$1$`$1");case 4968:return re(re(e,/(.+:)(flex-)?(.*)/,te+"box-pack:$3"+Ae+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+te+e+e;case 4095:case 3583:case 4068:case 2532:return re(e,/(.+)-inline(.+)/,te+"$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(Ue(e)-1-r>6)switch(Re(e,r+1)){case 109:if(Re(e,r+4)!==45)break;case 102:return re(e,/(.+:)(.+)-([^]+)/,"$1"+te+"$2-$3$1"+dr+(Re(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~qr(e,"stretch")?ca(re(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(Re(e,r+1)!==115)break;case 6444:switch(Re(e,Ue(e)-3-(~qr(e,"!important")&&10))){case 107:return re(e,":",":"+te)+e;case 101:return re(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+te+(Re(e,14)===45?"inline-":"")+"box$3$1"+te+"$2$3$1"+Ae+"$2box$3")+e}break;case 5936:switch(Re(e,r+11)){case 114:return te+e+Ae+re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return te+e+Ae+re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return te+e+Ae+re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return te+e+Ae+e+e}return e}var xs=function(r,t,n,a){if(r.length>-1&&!r.return)switch(r.type){case Hr:r.return=ca(r.value,r.length);break;case ea:return vt([It(r,{value:re(r.value,"@","@"+te)})],a);case Br:if(r.length)return as(r.props,function(o){switch(ns(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return vt([It(r,{props:[re(o,/:(read-\w+)/,":"+dr+"$1")]})],a);case"::placeholder":return vt([It(r,{props:[re(o,/:(plac\w+)/,":"+te+"input-$1")]}),It(r,{props:[re(o,/:(plac\w+)/,":"+dr+"$1")]}),It(r,{props:[re(o,/:(plac\w+)/,Ae+"input-$1")]})],a)}return""})}},Ts=[xs],Es=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(p){var y=p.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var a=r.stylisPlugins||Ts,o={},i,s=[];i=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(p){for(var y=p.getAttribute("data-emotion").split(" "),T=1;T<y.length;T++)o[y[T]]=!0;s.push(p)});var u,f=[vs,ws];{var d,h=[hs,ps(function(p){d.insert(p)})],m=ms(f.concat(a,h)),w=function(y){return vt(fs(y),m)};u=function(y,T,C,E){d=C,w(y?y+"{"+T.styles+"}":T.styles),E&&(v.inserted[T.name]=!0)}}var v={key:t,sheet:new Ki({key:t,container:i,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:o,registered:{},insert:u};return v.sheet.hydrate(s),v},Ss=!0;function Cs(e,r,t){var n="";return t.split(" ").forEach(function(a){e[a]!==void 0?r.push(e[a]+";"):a&&(n+=a+" ")}),n}var ua=function(r,t,n){var a=r.key+"-"+t.name;(n===!1||Ss===!1)&&r.registered[a]===void 0&&(r.registered[a]=t.styles)},Os=function(r,t,n){ua(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 ks(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 Ps={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},_s=!1,Ms=/[A-Z]|^ms/g,Ds=/_EMO_([^_]+?)_([^]*?)_EMO_/g,la=function(r){return r.charCodeAt(1)===45},fa=function(r){return r!=null&&typeof r!="boolean"},Ur=Jn(function(e){return la(e)?e:e.replace(Ms,"-$&").toLowerCase()}),da=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(Ds,function(n,a,o){return Qe={name:a,styles:o,next:Qe},a})}return Ps[r]!==1&&!la(r)&&typeof t=="number"&&t!==0?t+"px":t},Rs="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function jt(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 Qe={name:a.name,styles:a.styles,next:Qe},a.name;var o=t;if(o.styles!==void 0){var i=o.next;if(i!==void 0)for(;i!==void 0;)Qe={name:i.name,styles:i.styles,next:Qe},i=i.next;var s=o.styles+";";return s}return As(e,r,t)}case"function":{if(e!==void 0){var u=Qe,f=t(e);return Qe=u,jt(e,r,f)}break}}var d=t;if(r==null)return d;var h=r[d];return h!==void 0?h:d}function As(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=jt(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]+"}":fa(s)&&(n+=Ur(o)+":"+da(o,s)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&_s)throw new Error(Rs);if(Array.isArray(i)&&typeof i[0]=="string"&&(r==null||r[i[0]]===void 0))for(var u=0;u<i.length;u++)fa(i[u])&&(n+=Ur(o)+":"+da(o,i[u])+";");else{var f=jt(e,r,i);switch(o){case"animation":case"animationName":{n+=Ur(o)+":"+f+";";break}default:n+=o+"{"+f+"}"}}}}return n}var ha=/label:\s*([^\s;{]+)\s*(;|$)/g,Qe;function ma(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="";Qe=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,a+=jt(t,r,o);else{var i=o;a+=i[0]}for(var s=1;s<e.length;s++)if(a+=jt(t,r,e[s]),n){var u=o;a+=u[s]}ha.lastIndex=0;for(var f="",d;(d=ha.exec(a))!==null;)f+="-"+d[1];var h=ks(a)+f;return{name:h,styles:a,next:Qe}}var $s=function(r){return r()},Is=de.useInsertionEffect?de.useInsertionEffect:!1,Ns=Is||$s,pa=de.createContext(typeof HTMLElement<"u"?Es({key:"css"}):null);pa.Provider;var Fs=function(r){return Me.forwardRef(function(t,n){var a=Me.useContext(pa);return r(t,a,n)})},js=de.createContext({}),Ys=Ui,Ws=function(r){return r!=="theme"},ya=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?Ys:Ws},ga=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},Ls=!1,Bs=function(r){var t=r.cache,n=r.serialized,a=r.isStringTag;return ua(t,n,a),Ns(function(){return Os(t,n,a)}),null},Hs=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=ga(r,t,n),u=s||ya(a),f=!u("as");return function(){var d=arguments,h=n&&r.__emotion_styles!==void 0?r.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)h.push.apply(h,d);else{h.push(d[0][0]);for(var m=d.length,w=1;w<m;w++)h.push(d[w],d[0][w])}var v=Fs(function(p,y,T){var C=f&&p.as||a,E="",O=[],g=p;if(p.theme==null){g={};for(var F in p)g[F]=p[F];g.theme=de.useContext(js)}typeof p.className=="string"?E=Cs(y.registered,O,p.className):p.className!=null&&(E=p.className+" ");var $=ma(h.concat(O),y.registered,g);E+=y.key+"-"+$.name,i!==void 0&&(E+=" "+i);var R=f&&s===void 0?ya(C):u,j={};for(var c in p)f&&c==="as"||R(c)&&(j[c]=p[c]);return j.className=E,T&&(j.ref=T),de.createElement(de.Fragment,null,de.createElement(Bs,{cache:y,serialized:$,isStringTag:typeof C=="string"}),de.createElement(C,j))});return v.displayName=o!==void 0?o:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",v.defaultProps=r.defaultProps,v.__emotion_real=v,v.__emotion_base=a,v.__emotion_styles=h,v.__emotion_forwardProp=s,Object.defineProperty(v,"toString",{value:function(){return i===void 0&&Ls?"NO_COMPONENT_SELECTOR":"."+i}}),v.withComponent=function(p,y){return e(p,Lr({},t,y,{shouldForwardProp:ga(v,y,!0)})).apply(void 0,h)},v}},qs=["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=Hs.bind();qs.forEach(function(e){Gr[e]=Gr(e)});/**
70
70
  * @mui/styled-engine v6.1.8
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 zs(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 Us(e,r){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))}const ga=[];function ba(e){return ga[0]=e,ha(ga)}const Gs=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 Qs(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:n=5,...a}=e,o=Gs(r),i=Object.keys(o);function s(m){return`@media (min-width:${typeof r[m]=="number"?r[m]:m}${t})`}function u(m){return`@media (max-width:${(typeof r[m]=="number"?r[m]:m)-n/100}${t})`}function f(m,w){const v=i.indexOf(w);return`@media (min-width:${typeof r[m]=="number"?r[m]:m}${t}) and (max-width:${(v!==-1&&typeof r[i[v]]=="number"?r[i[v]]:w)-n/100}${t})`}function d(m){return i.indexOf(m)+1<i.length?f(m,i[i.indexOf(m)+1]):s(m)}function h(m){const w=i.indexOf(m);return w===0?s(i[1]):w===i.length-1?u(i[w]):f(m,i[i.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:i,values:o,up:s,down:u,between:f,only:d,not:h,unit:t,...a}}const Xs={borderRadius:4};function va(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 Ks(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 wa(e={},...r){const{breakpoints:t={},palette:n={},spacing:a,shape:o={},...i}=e,s=Qs(t),u=va(a);let f=Ye({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...Xs,...o}},i);return f=ni(f),f.applyStyles=Ks,f=r.reduce((d,h)=>Ye(d,h),f),f.unstable_sxConfig={...lr,...i==null?void 0:i.unstable_sxConfig},f.unstable_sx=function(h){return pt({sx:h,theme:this})},f}function xa(e){const{variants:r,...t}=e,n={variants:r,style:ba(t),isProcessed:!0};return n.style===t||r&&r.forEach(a=>{typeof a.style!="function"&&(a.style=ba(a.style))}),n}const Js=wa();function Qr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Zs(e){return e?(r,t)=>t[e]:null}function ec(e,r,t){e.theme=ac(e.theme)?t:e.theme[r]||e.theme}function vr(e,r){const t=typeof r=="function"?r(e):r;if(Array.isArray(t))return t.flatMap(n=>vr(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 Ta(e,t.variants,[n])}return t!=null&&t.isProcessed?t.style:t}function Ta(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 tc(e={}){const{themeId:r,defaultTheme:t=Js,rootShouldForwardProp:n=Qr,slotShouldForwardProp:a=Qr}=e;function o(s){ec(s,r,t)}return(s,u={})=>{Us(s,g=>g.filter(F=>F!==pt));const{name:f,slot:d,skipVariantsResolver:h,skipSx:m,overridesResolver:w=Zs(Ea(d)),...v}=u,p=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,y=m||!1;let T=Qr;d==="Root"||d==="root"?T=n:d?T=a:oc(s)&&(T=void 0);const C=zs(s,{shouldForwardProp:T,label:nc(f,d),...v}),E=g=>{if(typeof g=="function"&&g.__emotion_real!==g)return function($){return vr($,g)};if(et(g)){const F=xa(g);return F.variants?function(R){return vr(R,F)}:F.style}return g},O=(...g)=>{const F=[],$=g.map(E),R=[];if(F.push(o),f&&w&&R.push(function(Y){var ve,$e;const V=($e=(ve=Y.theme.components)==null?void 0:ve[f])==null?void 0:$e.styleOverrides;if(!V)return null;const ae={};for(const Be in V)ae[Be]=vr(Y,V[Be]);return w(Y,ae)}),f&&!p&&R.push(function(Y){var ae,ve;const W=Y.theme,V=(ve=(ae=W==null?void 0:W.components)==null?void 0:ae[f])==null?void 0:ve.variants;return V?Ta(Y,V):null}),y||R.push(pt),Array.isArray($[0])){const P=$.shift(),Y=new Array(F.length).fill(""),W=new Array(R.length).fill("");let V;V=[...Y,...P,...W],V.raw=[...Y,...P.raw,...W],F.unshift(V)}const j=[...F,...$,...R],c=C(...j);return s.muiName&&(c.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(c.displayName=rc(f,d,s)),c};return C.withConfig&&(O.withConfig=C.withConfig),O}}function rc(e,r,t){return e?`${e}${tt(r||"")}`:`Styled(${Xo(t)})`}function nc(e,r){let t;return process.env.NODE_ENV!=="production"&&e&&(t=`${e}-${Ea(r||"Root")}`),t}function ac(e){for(const r in e)return!1;return!0}function oc(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ea(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}].`),Zo(e,r,t)}function ic(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)),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(ic(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 sc=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 sc(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function wr(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 Sa(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=(f,d=(f+t/30)%12)=>a-o*Math.max(Math.min(d-3,9-d,1),-1);let s="rgb";const u=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(s+="a",u.push(r[3])),wr({type:s,values:u})}function Kr(e){e=ct(e);let r=e.type==="hsl"||e.type==="hsla"?ct(Sa(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 Ca(e,r){const t=Kr(e),n=Kr(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)}function cc(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,wr(e)}function xr(e,r,t){try{return cc(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 wr(e)}function de(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 wr(e)}function he(e,r,t){try{return Zr(e,r)}catch{return e}}function uc(e,r=.15){return Kr(e)>.5?Jr(e,r):Zr(e,r)}function Tr(e,r,t){try{return uc(e,r)}catch{return e}}const lc=fe.createContext(void 0);process.env.NODE_ENV!=="production"&&(A.node,A.object);function fc(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 dc({props:e,name:r}){const t=fe.useContext(lc);return fc({props:e,name:r,theme:{components:t}})}const Oa={theme:void 0};function hc(e){let r,t;return function(a){let o=r;return(o===void 0||a.theme!==t)&&(Oa.theme=a.theme,o=xa(e(Oa)),r=o,t=a.theme),o}}function mc(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 ka=(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])})},pc=(e,r,t)=>{function n(a,o=[],i=[]){Object.entries(a).forEach(([s,u])=>{(!t||t&&!t([...o,s]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...o,s],Array.isArray(u)?[...i,s]:i):r([...o,s],u,i))})}n(e)},yc=(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 pc(e,(s,u,f)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(s,u))){const d=`--${t?`${t}-`:""}${s.join("-")}`,h=yc(s,u);Object.assign(a,{[d]:h}),ka(o,s,`var(${d})`,f),ka(i,s,`var(${d}, ${h})`,f)}},s=>s[0]==="vars"),{css:a,vars:o,varsWithDefaults:i}}function gc(e,r={}){const{getSelector:t=y,disableCssColorScheme:n,colorSchemeSelector:a}=r,{colorSchemes:o={},components:i,defaultColorScheme:s="light",...u}=e,{vars:f,css:d,varsWithDefaults:h}=en(u,r);let m=h;const w={},{[s]:v,...p}=o;if(Object.entries(p||{}).forEach(([E,O])=>{const{vars:g,css:F,varsWithDefaults:$}=en(O,r);m=Ye(m,$),w[E]={css:F,vars:g}}),v){const{css:E,vars:O,varsWithDefaults:g}=en(v,r);m=Ye(m,g),w[s]={css:E,vars:O}}function y(E,O){var F,$;let g=a;if(a==="class"&&(g=".%s"),a==="data"&&(g="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(g=`[${a}="%s"]`),E){if(g==="media")return e.defaultColorScheme===E?":root":{[`@media (prefers-color-scheme: ${(($=(F=o[E])==null?void 0:F.palette)==null?void 0:$.mode)||E})`]:{":root":O}};if(g)return e.defaultColorScheme===E?`:root, ${g.replace("%s",String(E))}`:g.replace("%s",String(E))}return":root"}return{vars:m,generateThemeVars:()=>{let E={...f};return Object.entries(w).forEach(([,{vars:O}])=>{E=Ye(E,O)}),E},generateStyleSheets:()=>{var R,j;const E=[],O=e.defaultColorScheme||"light";function g(c,P){Object.keys(P).length&&E.push(typeof c=="string"?{[c]:{...P}}:c)}g(t(void 0,{...d}),d);const{[O]:F,...$}=w;if(F){const{css:c}=F,P=(j=(R=o[O])==null?void 0:R.palette)==null?void 0:j.mode,Y=!n&&P?{colorScheme:P,...c}:{...c};g(t(O,{...Y}),Y)}return Object.entries($).forEach(([c,{css:P}])=>{var V,ae;const Y=(ae=(V=o[c])==null?void 0:V.palette)==null?void 0:ae.mode,W=!n&&Y?{colorScheme:Y,...P}:{...P};g(t(c,{...W}),W)}),E}}}function bc(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"},vc={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"},Wt={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 Pa(){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 wc=Pa();function _a(){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 Ma=_a();function Da(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 xc(e="light"){return e==="dark"?{main:xt[200],light:xt[50],dark:xt[400]}:{main:xt[700],light:xt[400],dark:xt[800]}}function Tc(e="light"){return e==="dark"?{main:vt[200],light:vt[50],dark:vt[400]}:{main:vt[500],light:vt[300],dark:vt[700]}}function Ec(e="light"){return e==="dark"?{main:wt[500],light:wt[300],dark:wt[700]}:{main:wt[700],light:wt[400],dark:wt[800]}}function Sc(e="light"){return e==="dark"?{main:Tt[400],light:Tt[300],dark:Tt[700]}:{main:Tt[700],light:Tt[500],dark:Tt[900]}}function Cc(e="light"){return e==="dark"?{main:Et[400],light:Et[300],dark:Et[700]}:{main:Et[800],light:Et[500],dark:Et[900]}}function Oc(e="light"){return e==="dark"?{main:Wt[400],light:Wt[300],dark:Wt[700]}:{main:"#ed6c02",light:Wt[500],dark:Wt[900]}}function tn(e){const{mode:r="light",contrastThreshold:t=3,tonalOffset:n=.2,...a}=e,o=e.primary||xc(r),i=e.secondary||Tc(r),s=e.error||Ec(r),u=e.info||Sc(r),f=e.success||Cc(r),d=e.warning||Oc(r);function h(p){const y=Ca(p,Ma.text.primary)>=t?Ma.text.primary:wc.text.primary;if(process.env.NODE_ENV!=="production"){const T=Ca(p,y);T<3&&console.error([`MUI: The contrast ratio of ${T}:1 for ${y} on ${p}`,"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(`
75
+ */function Vs(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 zs(e,r){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))}const ba=[];function va(e){return ba[0]=e,ma(ba)}const Us=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 Gs(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:n=5,...a}=e,o=Us(r),i=Object.keys(o);function s(m){return`@media (min-width:${typeof r[m]=="number"?r[m]:m}${t})`}function u(m){return`@media (max-width:${(typeof r[m]=="number"?r[m]:m)-n/100}${t})`}function f(m,w){const v=i.indexOf(w);return`@media (min-width:${typeof r[m]=="number"?r[m]:m}${t}) and (max-width:${(v!==-1&&typeof r[i[v]]=="number"?r[i[v]]:w)-n/100}${t})`}function d(m){return i.indexOf(m)+1<i.length?f(m,i[i.indexOf(m)+1]):s(m)}function h(m){const w=i.indexOf(m);return w===0?s(i[1]):w===i.length-1?u(i[w]):f(m,i[i.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:i,values:o,up:s,down:u,between:f,only:d,not:h,unit:t,...a}}const Qs={borderRadius:4};function wa(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 Xs(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 xa(e={},...r){const{breakpoints:t={},palette:n={},spacing:a,shape:o={},...i}=e,s=Gs(t),u=wa(a);let f=Ye({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...Qs,...o}},i);return f=ri(f),f.applyStyles=Xs,f=r.reduce((d,h)=>Ye(d,h),f),f.unstable_sxConfig={...fr,...i==null?void 0:i.unstable_sxConfig},f.unstable_sx=function(h){return yt({sx:h,theme:this})},f}function Ta(e){const{variants:r,...t}=e,n={variants:r,style:va(t),isProcessed:!0};return n.style===t||r&&r.forEach(a=>{typeof a.style!="function"&&(a.style=va(a.style))}),n}const Ks=xa();function Qr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Js(e){return e?(r,t)=>t[e]:null}function Zs(e,r,t){e.theme=nc(e.theme)?t:e.theme[r]||e.theme}function wr(e,r){const t=typeof r=="function"?r(e):r;if(Array.isArray(t))return t.flatMap(n=>wr(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 Ea(e,t.variants,[n])}return t!=null&&t.isProcessed?t.style:t}function Ea(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 ec(e={}){const{themeId:r,defaultTheme:t=Ks,rootShouldForwardProp:n=Qr,slotShouldForwardProp:a=Qr}=e;function o(s){Zs(s,r,t)}return(s,u={})=>{zs(s,g=>g.filter(F=>F!==yt));const{name:f,slot:d,skipVariantsResolver:h,skipSx:m,overridesResolver:w=Js(Sa(d)),...v}=u,p=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,y=m||!1;let T=Qr;d==="Root"||d==="root"?T=n:d?T=a:ac(s)&&(T=void 0);const C=Vs(s,{shouldForwardProp:T,label:rc(f,d),...v}),E=g=>{if(typeof g=="function"&&g.__emotion_real!==g)return function($){return wr($,g)};if(et(g)){const F=Ta(g);return F.variants?function(R){return wr(R,F)}:F.style}return g},O=(...g)=>{const F=[],$=g.map(E),R=[];if(F.push(o),f&&w&&R.push(function(Y){var ve,$e;const z=($e=(ve=Y.theme.components)==null?void 0:ve[f])==null?void 0:$e.styleOverrides;if(!z)return null;const ae={};for(const Be in z)ae[Be]=wr(Y,z[Be]);return w(Y,ae)}),f&&!p&&R.push(function(Y){var ae,ve;const W=Y.theme,z=(ve=(ae=W==null?void 0:W.components)==null?void 0:ae[f])==null?void 0:ve.variants;return z?Ea(Y,z):null}),y||R.push(yt),Array.isArray($[0])){const P=$.shift(),Y=new Array(F.length).fill(""),W=new Array(R.length).fill("");let z;z=[...Y,...P,...W],z.raw=[...Y,...P.raw,...W],F.unshift(z)}const j=[...F,...$,...R],c=C(...j);return s.muiName&&(c.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(c.displayName=tc(f,d,s)),c};return C.withConfig&&(O.withConfig=C.withConfig),O}}function tc(e,r,t){return e?`${e}${tt(r||"")}`:`Styled(${Qo(t)})`}function rc(e,r){let t;return process.env.NODE_ENV!=="production"&&e&&(t=`${e}-${Sa(r||"Root")}`),t}function nc(e){for(const r in e)return!1;return!0}function ac(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Sa(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}].`),Jo(e,r,t)}function oc(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)),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 ut(e){if(e.type)return e;if(e.charAt(0)==="#")return ut(oc(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().`:st(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.`:st(10,a))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:t,values:n,colorSpace:a}}const ic=e=>{const r=ut(e);return r.values.slice(0,3).map((t,n)=>r.type.includes("hsl")&&n!==0?`${t}%`:t).join(" ")},Yt=(e,r)=>{try{return ic(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function xr(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 Ca(e){e=ut(e);const{values:r}=e,t=r[0],n=r[1]/100,a=r[2]/100,o=n*Math.min(a,1-a),i=(f,d=(f+t/30)%12)=>a-o*Math.max(Math.min(d-3,9-d,1),-1);let s="rgb";const u=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(s+="a",u.push(r[3])),xr({type:s,values:u})}function Kr(e){e=ut(e);let r=e.type==="hsl"||e.type==="hsla"?ut(Ca(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 Oa(e,r){const t=Kr(e),n=Kr(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)}function sc(e,r){return e=ut(e),r=Xr(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,xr(e)}function Tr(e,r,t){try{return sc(e,r)}catch{return e}}function Jr(e,r){if(e=ut(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 xr(e)}function he(e,r,t){try{return Jr(e,r)}catch{return e}}function Zr(e,r){if(e=ut(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 xr(e)}function me(e,r,t){try{return Zr(e,r)}catch{return e}}function cc(e,r=.15){return Kr(e)>.5?Jr(e,r):Zr(e,r)}function Er(e,r,t){try{return cc(e,r)}catch{return e}}const uc=de.createContext(void 0);process.env.NODE_ENV!=="production"&&(A.node,A.object);function lc(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 fc({props:e,name:r}){const t=de.useContext(uc);return lc({props:e,name:r,theme:{components:t}})}const ka={theme:void 0};function dc(e){let r,t;return function(a){let o=r;return(o===void 0||a.theme!==t)&&(ka.theme=a.theme,o=Ta(e(ka)),r=o,t=a.theme),o}}function hc(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 Pa=(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])})},mc=(e,r,t)=>{function n(a,o=[],i=[]){Object.entries(a).forEach(([s,u])=>{(!t||t&&!t([...o,s]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...o,s],Array.isArray(u)?[...i,s]:i):r([...o,s],u,i))})}n(e)},pc=(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 mc(e,(s,u,f)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(s,u))){const d=`--${t?`${t}-`:""}${s.join("-")}`,h=pc(s,u);Object.assign(a,{[d]:h}),Pa(o,s,`var(${d})`,f),Pa(i,s,`var(${d}, ${h})`,f)}},s=>s[0]==="vars"),{css:a,vars:o,varsWithDefaults:i}}function yc(e,r={}){const{getSelector:t=y,disableCssColorScheme:n,colorSchemeSelector:a}=r,{colorSchemes:o={},components:i,defaultColorScheme:s="light",...u}=e,{vars:f,css:d,varsWithDefaults:h}=en(u,r);let m=h;const w={},{[s]:v,...p}=o;if(Object.entries(p||{}).forEach(([E,O])=>{const{vars:g,css:F,varsWithDefaults:$}=en(O,r);m=Ye(m,$),w[E]={css:F,vars:g}}),v){const{css:E,vars:O,varsWithDefaults:g}=en(v,r);m=Ye(m,g),w[s]={css:E,vars:O}}function y(E,O){var F,$;let g=a;if(a==="class"&&(g=".%s"),a==="data"&&(g="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(g=`[${a}="%s"]`),E){if(g==="media")return e.defaultColorScheme===E?":root":{[`@media (prefers-color-scheme: ${(($=(F=o[E])==null?void 0:F.palette)==null?void 0:$.mode)||E})`]:{":root":O}};if(g)return e.defaultColorScheme===E?`:root, ${g.replace("%s",String(E))}`:g.replace("%s",String(E))}return":root"}return{vars:m,generateThemeVars:()=>{let E={...f};return Object.entries(w).forEach(([,{vars:O}])=>{E=Ye(E,O)}),E},generateStyleSheets:()=>{var R,j;const E=[],O=e.defaultColorScheme||"light";function g(c,P){Object.keys(P).length&&E.push(typeof c=="string"?{[c]:{...P}}:c)}g(t(void 0,{...d}),d);const{[O]:F,...$}=w;if(F){const{css:c}=F,P=(j=(R=o[O])==null?void 0:R.palette)==null?void 0:j.mode,Y=!n&&P?{colorScheme:P,...c}:{...c};g(t(O,{...Y}),Y)}return Object.entries($).forEach(([c,{css:P}])=>{var z,ae;const Y=(ae=(z=o[c])==null?void 0:z.palette)==null?void 0:ae.mode,W=!n&&Y?{colorScheme:Y,...P}:{...P};g(t(c,{...W}),W)}),E}}}function gc(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 Wt={black:"#000",white:"#fff"},bc={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"},wt={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"},xt={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"},Tt={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"},Et={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"},St={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:Wt.white,default:Wt.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 vc=_a();function Ma(){return{text:{primary:Wt.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:Wt.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 Da=Ma();function Ra(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 wc(e="light"){return e==="dark"?{main:Tt[200],light:Tt[50],dark:Tt[400]}:{main:Tt[700],light:Tt[400],dark:Tt[800]}}function xc(e="light"){return e==="dark"?{main:wt[200],light:wt[50],dark:wt[400]}:{main:wt[500],light:wt[300],dark:wt[700]}}function Tc(e="light"){return e==="dark"?{main:xt[500],light:xt[300],dark:xt[700]}:{main:xt[700],light:xt[400],dark:xt[800]}}function Ec(e="light"){return e==="dark"?{main:Et[400],light:Et[300],dark:Et[700]}:{main:Et[700],light:Et[500],dark:Et[900]}}function Sc(e="light"){return e==="dark"?{main:St[400],light:St[300],dark:St[700]}:{main:St[800],light:St[500],dark:St[900]}}function Cc(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||wc(r),i=e.secondary||xc(r),s=e.error||Tc(r),u=e.info||Ec(r),f=e.success||Sc(r),d=e.warning||Cc(r);function h(p){const y=Oa(p,Da.text.primary)>=t?Da.text.primary:vc.text.primary;if(process.env.NODE_ENV!=="production"){const T=Oa(p,y);T<3&&console.error([`MUI: The contrast ratio of ${T}:1 for ${y} on ${p}`,"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
79
  `))}return y}const m=({color:p,name:y,mainShade:T=500,lightShade:C=300,darkShade:E=700})=>{if(p={...p},!p.main&&p[T]&&(p.main=p[T]),!p.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
80
- The color object needs to have a \`main\` property or a \`${T}\` property.`:it(11,y?` (${y})`:"",T));if(typeof p.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
80
+ The color object needs to have a \`main\` property or a \`${T}\` property.`:st(11,y?` (${y})`:"",T));if(typeof p.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
81
81
  \`color.main\` should be a string, but \`${JSON.stringify(p.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
- } });`:it(12,y?` (${y})`:"",JSON.stringify(p.main)));return Da(p,"light",C,n),Da(p,"dark",E,n),p.contrastText||(p.contrastText=h(p.main)),p};let w;return r==="light"?w=Pa():r==="dark"&&(w=_a()),process.env.NODE_ENV!=="production"&&(w||console.error(`MUI: The palette mode \`${r}\` is not supported.`)),Ye({common:{...Yt},mode:r,primary:m({color:o,name:"primary"}),secondary:m({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:s,name:"error"}),warning:m({color:d,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:f,name:"success"}),grey:vc,contrastThreshold:t,getContrastText:h,augmentColor:m,tonalOffset:n,...w},a)}function kc(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 Pc(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 Ra={textTransform:"uppercase"},Aa='"Roboto", "Helvetica", "Arial", sans-serif';function Mc(e,r){const{fontFamily:t=Aa,fontSize:n=14,fontWeightLight:a=300,fontWeightRegular:o=400,fontWeightMedium:i=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:f,pxToRem:d,...h}=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 u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const m=n/14,w=d||(y=>`${y/u*m}rem`),v=(y,T,C,E,O)=>({fontFamily:t,fontWeight:y,fontSize:w(T),lineHeight:C,...t===Aa?{letterSpacing:`${_c(E/T)}em`}:{},...O,...f}),p={h1:v(a,96,1.167,-1.5),h2:v(a,60,1.2,-.5),h3:v(o,48,1.167,0),h4:v(o,34,1.235,.25),h5:v(o,24,1.334,0),h6:v(i,20,1.6,.15),subtitle1:v(o,16,1.75,.15),subtitle2:v(i,14,1.57,.1),body1:v(o,16,1.5,.15),body2:v(o,14,1.43,.15),button:v(i,14,1.75,.4,Ra),caption:v(o,12,1.66,.4),overline:v(o,12,2.66,1,Ra),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ye({htmlFontSize:u,pxToRem:w,fontFamily:t,fontSize:n,fontWeightLight:a,fontWeightRegular:o,fontWeightMedium:i,fontWeightBold:s,...p},h,{clone:!1})}const Dc=.2,Rc=.14,Ac=.12;function ge(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Dc})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Rc})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ac})`].join(",")}const $c=["none",ge(0,2,1,-1,0,1,1,0,0,1,3,0),ge(0,3,1,-2,0,2,2,0,0,1,5,0),ge(0,3,3,-2,0,3,4,0,0,1,8,0),ge(0,2,4,-1,0,4,5,0,0,1,10,0),ge(0,3,5,-1,0,5,8,0,0,1,14,0),ge(0,3,5,-1,0,6,10,0,0,1,18,0),ge(0,4,5,-2,0,7,10,1,0,2,16,1),ge(0,5,5,-3,0,8,10,1,0,3,14,2),ge(0,5,6,-3,0,9,12,1,0,3,16,2),ge(0,6,6,-3,0,10,14,1,0,4,18,3),ge(0,6,7,-4,0,11,15,1,0,4,20,3),ge(0,7,8,-4,0,12,17,2,0,5,22,4),ge(0,7,8,-4,0,13,19,2,0,5,24,4),ge(0,7,9,-4,0,14,21,2,0,5,26,4),ge(0,8,9,-5,0,15,22,2,0,6,28,5),ge(0,8,10,-5,0,16,24,2,0,6,30,5),ge(0,8,11,-5,0,17,26,2,0,6,32,5),ge(0,9,11,-5,0,18,28,2,0,7,34,6),ge(0,9,12,-6,0,19,29,2,0,7,36,6),ge(0,10,13,-6,0,20,31,3,0,8,38,7),ge(0,10,13,-6,0,21,33,3,0,8,40,7),ge(0,10,14,-6,0,22,35,3,0,8,42,7),ge(0,11,14,-7,0,23,36,3,0,9,44,8),ge(0,11,15,-7,0,24,38,3,0,9,46,8)],Ic={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)"},Nc={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function $a(e){return`${Math.round(e)}ms`}function Fc(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function jc(e){const r={...Ic,...e.easing},t={...Nc,...e.duration};return{getAutoHeightDuration:Fc,create:(a=["all"],o={})=>{const{duration:i=t.standard,easing:s=r.easeInOut,delay:u=0,...f}=o;if(process.env.NODE_ENV!=="production"){const d=m=>typeof m=="string",h=m=>!Number.isNaN(parseFloat(m));!d(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(i)&&!d(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),d(s)||console.error('MUI: Argument "easing" must be a string.'),!h(u)&&!d(u)&&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(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(d=>`${d} ${typeof i=="string"?i:$a(i)} ${s} ${typeof u=="string"?u:$a(u)}`).join(",")},...e,easing:r,duration:t}}const Yc={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Wc(e){return et(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Ia(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];!Wc(s)||i.startsWith("unstable_")?delete n[i]:et(s)&&(n[i]={...s},t(n[i]))}}return t(r),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
93
+ } });`:st(12,y?` (${y})`:"",JSON.stringify(p.main)));return Ra(p,"light",C,n),Ra(p,"dark",E,n),p.contrastText||(p.contrastText=h(p.main)),p};let w;return r==="light"?w=_a():r==="dark"&&(w=Ma()),process.env.NODE_ENV!=="production"&&(w||console.error(`MUI: The palette mode \`${r}\` is not supported.`)),Ye({common:{...Wt},mode:r,primary:m({color:o,name:"primary"}),secondary:m({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:s,name:"error"}),warning:m({color:d,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:f,name:"success"}),grey:bc,contrastThreshold:t,getContrastText:h,augmentColor:m,tonalOffset:n,...w},a)}function Oc(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 kc(e,r){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...r}}function Pc(e){return Math.round(e*1e5)/1e5}const Aa={textTransform:"uppercase"},$a='"Roboto", "Helvetica", "Arial", sans-serif';function _c(e,r){const{fontFamily:t=$a,fontSize:n=14,fontWeightLight:a=300,fontWeightRegular:o=400,fontWeightMedium:i=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:f,pxToRem:d,...h}=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 u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const m=n/14,w=d||(y=>`${y/u*m}rem`),v=(y,T,C,E,O)=>({fontFamily:t,fontWeight:y,fontSize:w(T),lineHeight:C,...t===$a?{letterSpacing:`${Pc(E/T)}em`}:{},...O,...f}),p={h1:v(a,96,1.167,-1.5),h2:v(a,60,1.2,-.5),h3:v(o,48,1.167,0),h4:v(o,34,1.235,.25),h5:v(o,24,1.334,0),h6:v(i,20,1.6,.15),subtitle1:v(o,16,1.75,.15),subtitle2:v(i,14,1.57,.1),body1:v(o,16,1.5,.15),body2:v(o,14,1.43,.15),button:v(i,14,1.75,.4,Aa),caption:v(o,12,1.66,.4),overline:v(o,12,2.66,1,Aa),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ye({htmlFontSize:u,pxToRem:w,fontFamily:t,fontSize:n,fontWeightLight:a,fontWeightRegular:o,fontWeightMedium:i,fontWeightBold:s,...p},h,{clone:!1})}const Mc=.2,Dc=.14,Rc=.12;function ge(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Mc})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Dc})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Rc})`].join(",")}const Ac=["none",ge(0,2,1,-1,0,1,1,0,0,1,3,0),ge(0,3,1,-2,0,2,2,0,0,1,5,0),ge(0,3,3,-2,0,3,4,0,0,1,8,0),ge(0,2,4,-1,0,4,5,0,0,1,10,0),ge(0,3,5,-1,0,5,8,0,0,1,14,0),ge(0,3,5,-1,0,6,10,0,0,1,18,0),ge(0,4,5,-2,0,7,10,1,0,2,16,1),ge(0,5,5,-3,0,8,10,1,0,3,14,2),ge(0,5,6,-3,0,9,12,1,0,3,16,2),ge(0,6,6,-3,0,10,14,1,0,4,18,3),ge(0,6,7,-4,0,11,15,1,0,4,20,3),ge(0,7,8,-4,0,12,17,2,0,5,22,4),ge(0,7,8,-4,0,13,19,2,0,5,24,4),ge(0,7,9,-4,0,14,21,2,0,5,26,4),ge(0,8,9,-5,0,15,22,2,0,6,28,5),ge(0,8,10,-5,0,16,24,2,0,6,30,5),ge(0,8,11,-5,0,17,26,2,0,6,32,5),ge(0,9,11,-5,0,18,28,2,0,7,34,6),ge(0,9,12,-6,0,19,29,2,0,7,36,6),ge(0,10,13,-6,0,20,31,3,0,8,38,7),ge(0,10,13,-6,0,21,33,3,0,8,40,7),ge(0,10,14,-6,0,22,35,3,0,8,42,7),ge(0,11,14,-7,0,23,36,3,0,9,44,8),ge(0,11,15,-7,0,24,38,3,0,9,46,8)],$c={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)"},Ic={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ia(e){return`${Math.round(e)}ms`}function Nc(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function Fc(e){const r={...$c,...e.easing},t={...Ic,...e.duration};return{getAutoHeightDuration:Nc,create:(a=["all"],o={})=>{const{duration:i=t.standard,easing:s=r.easeInOut,delay:u=0,...f}=o;if(process.env.NODE_ENV!=="production"){const d=m=>typeof m=="string",h=m=>!Number.isNaN(parseFloat(m));!d(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(i)&&!d(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),d(s)||console.error('MUI: Argument "easing" must be a string.'),!h(u)&&!d(u)&&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(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(d=>`${d} ${typeof i=="string"?i:Ia(i)} ${s} ${typeof u=="string"?u:Ia(u)}`).join(",")},...e,easing:r,duration:t}}const jc={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Yc(e){return et(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Na(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];!Yc(s)||i.startsWith("unstable_")?delete n[i]:et(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:u,...f}=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 d=tn(o),h=wa(e);let m=Ye(h,{mixins:Pc(h.breakpoints,n),palette:d,shadows:$c.slice(),typography:Mc(d,s),transitions:jc(i),zIndex:{...Yc}});if(m=Ye(m,f),m=r.reduce((w,v)=>Ye(w,v),m),process.env.NODE_ENV!=="production"){const w=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],v=(p,y)=>{let T;for(T in p){const C=p[T];if(w.includes(T)&&Object.keys(C).length>0){if(process.env.NODE_ENV!=="production"){const E=Zt("",T);console.error([`MUI: The \`${y}\` component increases the CSS specificity of the \`${T}\` internal state.`,"You can not override it like this: ",JSON.stringify(p,null,2),"",`Instead, you need to use the '&.${E}' syntax:`,JSON.stringify({root:{[`&.${E}`]:C}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
102
- `))}p[T]={}}}};Object.keys(m.components).forEach(p=>{const y=m.components[p].styleOverrides;y&&p.startsWith("Mui")&&v(y,p)})}return m.unstable_sxConfig={...lr,...f==null?void 0:f.unstable_sxConfig},m.unstable_sx=function(v){return pt({sx:v,theme:this})},m.toRuntimeSource=Ia,m}function Lc(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 Bc=[...Array(25)].map((e,r)=>{if(r===0)return"none";const t=Lc(r);return`linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`});function Na(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Fa(e){return e==="dark"?Bc:[]}function Hc(e){const{palette:r={mode:"light"},opacity:t,overlays:n,...a}=e,o=tn(r);return{palette:o,opacity:{...Na(o.mode),...t},overlays:n||Fa(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 Vc=e=>[...[...Array(25)].map((r,t)=>`--${e?`${e}-`:""}overlays-${t}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],zc=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 Vc(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 Uc(e,r){r.forEach(t=>{e[t]||(e[t]={})})}function b(e,r,t){!e[r]&&t&&(e[r]=t)}function Lt(e){return!e||!e.startsWith("hsl")?e:Sa(e)}function nt(e,r){`${r}Channel`in e||(e[`${r}Channel`]=jt(Lt(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 Gc(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Xe=e=>{try{return e()}catch{}},Qc=(e="mui")=>mc(e);function nn(e,r,t,n){if(!r)return;r=r===!0?{}:r;const a=n==="dark"?"dark":"light";if(!t){e[n]=Hc({...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:{...Na(a),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||Fa(a)},i}function Xc(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:u=":root",...f}=e,d=Object.keys(t)[0],h=n||(t.light&&d!=="light"?"light":d),m=Qc(o),{[h]:w,light:v,dark:p,...y}=t,T={...y};let C=w;if((h==="dark"&&!("dark"in t)||h==="light"&&!("light"in t))&&(C=!0),!C)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${h}\` option is either missing or invalid.`:it(21,h));const E=nn(T,C,f,h);v&&!T.light&&nn(T,v,void 0,"light"),p&&!T.dark&&nn(T,p,void 0,"dark");let O={defaultColorScheme:h,...E,cssVarPrefix:o,colorSchemeSelector:s,rootSelector:u,getCssVar:m,colorSchemes:T,font:{...kc(E.typography),...E.font},spacing:Gc(f.spacing)};Object.keys(O.colorSchemes).forEach(j=>{const c=O.colorSchemes[j].palette,P=Y=>{const W=Y.split("-"),V=W[1],ae=W[2];return m(Y,c[V][ae])};if(c.mode==="light"&&(b(c.common,"background","#fff"),b(c.common,"onBackground","#000")),c.mode==="dark"&&(b(c.common,"background","#000"),b(c.common,"onBackground","#fff")),Uc(c,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),c.mode==="light"){b(c.Alert,"errorColor",de(c.error.light,.6)),b(c.Alert,"infoColor",de(c.info.light,.6)),b(c.Alert,"successColor",de(c.success.light,.6)),b(c.Alert,"warningColor",de(c.warning.light,.6)),b(c.Alert,"errorFilledBg",P("palette-error-main")),b(c.Alert,"infoFilledBg",P("palette-info-main")),b(c.Alert,"successFilledBg",P("palette-success-main")),b(c.Alert,"warningFilledBg",P("palette-warning-main")),b(c.Alert,"errorFilledColor",Xe(()=>c.getContrastText(c.error.main))),b(c.Alert,"infoFilledColor",Xe(()=>c.getContrastText(c.info.main))),b(c.Alert,"successFilledColor",Xe(()=>c.getContrastText(c.success.main))),b(c.Alert,"warningFilledColor",Xe(()=>c.getContrastText(c.warning.main))),b(c.Alert,"errorStandardBg",he(c.error.light,.9)),b(c.Alert,"infoStandardBg",he(c.info.light,.9)),b(c.Alert,"successStandardBg",he(c.success.light,.9)),b(c.Alert,"warningStandardBg",he(c.warning.light,.9)),b(c.Alert,"errorIconColor",P("palette-error-main")),b(c.Alert,"infoIconColor",P("palette-info-main")),b(c.Alert,"successIconColor",P("palette-success-main")),b(c.Alert,"warningIconColor",P("palette-warning-main")),b(c.AppBar,"defaultBg",P("palette-grey-100")),b(c.Avatar,"defaultBg",P("palette-grey-400")),b(c.Button,"inheritContainedBg",P("palette-grey-300")),b(c.Button,"inheritContainedHoverBg",P("palette-grey-A100")),b(c.Chip,"defaultBorder",P("palette-grey-400")),b(c.Chip,"defaultAvatarColor",P("palette-grey-700")),b(c.Chip,"defaultIconColor",P("palette-grey-700")),b(c.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),b(c.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),b(c.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),b(c.LinearProgress,"primaryBg",he(c.primary.main,.62)),b(c.LinearProgress,"secondaryBg",he(c.secondary.main,.62)),b(c.LinearProgress,"errorBg",he(c.error.main,.62)),b(c.LinearProgress,"infoBg",he(c.info.main,.62)),b(c.LinearProgress,"successBg",he(c.success.main,.62)),b(c.LinearProgress,"warningBg",he(c.warning.main,.62)),b(c.Skeleton,"bg",`rgba(${P("palette-text-primaryChannel")} / 0.11)`),b(c.Slider,"primaryTrack",he(c.primary.main,.62)),b(c.Slider,"secondaryTrack",he(c.secondary.main,.62)),b(c.Slider,"errorTrack",he(c.error.main,.62)),b(c.Slider,"infoTrack",he(c.info.main,.62)),b(c.Slider,"successTrack",he(c.success.main,.62)),b(c.Slider,"warningTrack",he(c.warning.main,.62));const Y=Tr(c.background.default,.8);b(c.SnackbarContent,"bg",Y),b(c.SnackbarContent,"color",Xe(()=>c.getContrastText(Y))),b(c.SpeedDialAction,"fabHoverBg",Tr(c.background.paper,.15)),b(c.StepConnector,"border",P("palette-grey-400")),b(c.StepContent,"border",P("palette-grey-400")),b(c.Switch,"defaultColor",P("palette-common-white")),b(c.Switch,"defaultDisabledColor",P("palette-grey-100")),b(c.Switch,"primaryDisabledColor",he(c.primary.main,.62)),b(c.Switch,"secondaryDisabledColor",he(c.secondary.main,.62)),b(c.Switch,"errorDisabledColor",he(c.error.main,.62)),b(c.Switch,"infoDisabledColor",he(c.info.main,.62)),b(c.Switch,"successDisabledColor",he(c.success.main,.62)),b(c.Switch,"warningDisabledColor",he(c.warning.main,.62)),b(c.TableCell,"border",he(xr(c.divider,1),.88)),b(c.Tooltip,"bg",xr(c.grey[700],.92))}if(c.mode==="dark"){b(c.Alert,"errorColor",he(c.error.light,.6)),b(c.Alert,"infoColor",he(c.info.light,.6)),b(c.Alert,"successColor",he(c.success.light,.6)),b(c.Alert,"warningColor",he(c.warning.light,.6)),b(c.Alert,"errorFilledBg",P("palette-error-dark")),b(c.Alert,"infoFilledBg",P("palette-info-dark")),b(c.Alert,"successFilledBg",P("palette-success-dark")),b(c.Alert,"warningFilledBg",P("palette-warning-dark")),b(c.Alert,"errorFilledColor",Xe(()=>c.getContrastText(c.error.dark))),b(c.Alert,"infoFilledColor",Xe(()=>c.getContrastText(c.info.dark))),b(c.Alert,"successFilledColor",Xe(()=>c.getContrastText(c.success.dark))),b(c.Alert,"warningFilledColor",Xe(()=>c.getContrastText(c.warning.dark))),b(c.Alert,"errorStandardBg",de(c.error.light,.9)),b(c.Alert,"infoStandardBg",de(c.info.light,.9)),b(c.Alert,"successStandardBg",de(c.success.light,.9)),b(c.Alert,"warningStandardBg",de(c.warning.light,.9)),b(c.Alert,"errorIconColor",P("palette-error-main")),b(c.Alert,"infoIconColor",P("palette-info-main")),b(c.Alert,"successIconColor",P("palette-success-main")),b(c.Alert,"warningIconColor",P("palette-warning-main")),b(c.AppBar,"defaultBg",P("palette-grey-900")),b(c.AppBar,"darkBg",P("palette-background-paper")),b(c.AppBar,"darkColor",P("palette-text-primary")),b(c.Avatar,"defaultBg",P("palette-grey-600")),b(c.Button,"inheritContainedBg",P("palette-grey-800")),b(c.Button,"inheritContainedHoverBg",P("palette-grey-700")),b(c.Chip,"defaultBorder",P("palette-grey-700")),b(c.Chip,"defaultAvatarColor",P("palette-grey-300")),b(c.Chip,"defaultIconColor",P("palette-grey-300")),b(c.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),b(c.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),b(c.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),b(c.LinearProgress,"primaryBg",de(c.primary.main,.5)),b(c.LinearProgress,"secondaryBg",de(c.secondary.main,.5)),b(c.LinearProgress,"errorBg",de(c.error.main,.5)),b(c.LinearProgress,"infoBg",de(c.info.main,.5)),b(c.LinearProgress,"successBg",de(c.success.main,.5)),b(c.LinearProgress,"warningBg",de(c.warning.main,.5)),b(c.Skeleton,"bg",`rgba(${P("palette-text-primaryChannel")} / 0.13)`),b(c.Slider,"primaryTrack",de(c.primary.main,.5)),b(c.Slider,"secondaryTrack",de(c.secondary.main,.5)),b(c.Slider,"errorTrack",de(c.error.main,.5)),b(c.Slider,"infoTrack",de(c.info.main,.5)),b(c.Slider,"successTrack",de(c.success.main,.5)),b(c.Slider,"warningTrack",de(c.warning.main,.5));const Y=Tr(c.background.default,.98);b(c.SnackbarContent,"bg",Y),b(c.SnackbarContent,"color",Xe(()=>c.getContrastText(Y))),b(c.SpeedDialAction,"fabHoverBg",Tr(c.background.paper,.15)),b(c.StepConnector,"border",P("palette-grey-600")),b(c.StepContent,"border",P("palette-grey-600")),b(c.Switch,"defaultColor",P("palette-grey-300")),b(c.Switch,"defaultDisabledColor",P("palette-grey-600")),b(c.Switch,"primaryDisabledColor",de(c.primary.main,.55)),b(c.Switch,"secondaryDisabledColor",de(c.secondary.main,.55)),b(c.Switch,"errorDisabledColor",de(c.error.main,.55)),b(c.Switch,"infoDisabledColor",de(c.info.main,.55)),b(c.Switch,"successDisabledColor",de(c.success.main,.55)),b(c.Switch,"warningDisabledColor",de(c.warning.main,.55)),b(c.TableCell,"border",de(xr(c.divider,1),.68)),b(c.Tooltip,"bg",xr(c.grey[700],.92))}nt(c.background,"default"),nt(c.background,"paper"),nt(c.common,"background"),nt(c.common,"onBackground"),nt(c,"divider"),Object.keys(c).forEach(Y=>{const W=c[Y];W&&typeof W=="object"&&(W.main&&b(c[Y],"mainChannel",jt(Lt(W.main))),W.light&&b(c[Y],"lightChannel",jt(Lt(W.light))),W.dark&&b(c[Y],"darkChannel",jt(Lt(W.dark))),W.contrastText&&b(c[Y],"contrastTextChannel",jt(Lt(W.contrastText))),Y==="text"&&(nt(c[Y],"primary"),nt(c[Y],"secondary")),Y==="action"&&(W.active&&nt(c[Y],"active"),W.selected&&nt(c[Y],"selected")))})}),O=r.reduce((j,c)=>Ye(j,c),O);const g={prefix:o,disableCssColorScheme:a,shouldSkipGeneratingVar:i,getSelector:zc(O)},{vars:F,generateThemeVars:$,generateStyleSheets:R}=gc(O,g);return O.vars=F,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([j,c])=>{O[j]=c}),O.generateThemeVars=$,O.generateStyleSheets=R,O.generateSpacing=function(){return va(f.spacing,Yr(this))},O.getColorSchemeSelector=bc(s),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=i,O.unstable_sxConfig={...lr,...f==null?void 0:f.unstable_sxConfig},O.unstable_sx=function(c){return pt({sx:c,theme:this})},O.toRuntimeSource=Ia,O}function ja(e,r,t){e.colorSchemes&&t&&(e.colorSchemes[r]={...t!==!0&&t,palette:tn({...t===!0?{}:t.palette,mode:r})})}function Kc(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",u=a==null?void 0:a[s],f={...a,...t?{[s]:{...typeof u!="boolean"&&u,palette:t}}:void 0};if(n===!1){if(!("colorSchemes"in e))return rn(e,...r);let d=t;"palette"in e||f[s]&&(f[s]!==!0?d=f[s].palette:s==="dark"&&(d={mode:"dark"}));const h=rn({...e,palette:d},...r);return h.defaultColorScheme=s,h.colorSchemes=f,h.palette.mode==="light"&&(h.colorSchemes.light={...f.light!==!0&&f.light,palette:h.palette},ja(h,"dark",f.dark)),h.palette.mode==="dark"&&(h.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:h.palette},ja(h,"light",f.light)),h}return!t&&!("light"in f)&&s==="light"&&(f.light=!0),Xc({...i,colorSchemes:f,defaultColorScheme:s,...typeof n!="boolean"&&n},...r)}const Jc=Kc(),Zc="$$material";function eu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ya=tc({themeId:Zc,defaultTheme:Jc,rootShouldForwardProp:e=>eu(e)&&e!=="classes"}),tu=hc;process.env.NODE_ENV!=="production"&&(A.node,A.object.isRequired);function Wa(e){return dc(e)}function ru(e){return Zt("MuiSvgIcon",e)}Vn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const nu=e=>{const{color:r,fontSize:t,classes:n}=e,a={root:["root",r!=="inherit"&&`color${tt(r)}`,`fontSize${tt(t)}`]};return Hn(a,ru,n)},au=Ya("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,t.color!=="inherit"&&r[`color${tt(t.color)}`],r[`fontSize${tt(t.fontSize)}`]]}})(tu(({theme:e})=>{var r,t,n,a,o,i,s,u,f,d,h,m,w,v;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:p=>!p.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:((u=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:u.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((d=(f=e.typography)==null?void 0:f.pxToRem)==null?void 0:d.call(f,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,p])=>p&&p.main).map(([p])=>{var y,T;return{props:{color:p},style:{color:(T=(y=(e.vars??e).palette)==null?void 0:y[p])==null?void 0:T.main}}}),{props:{color:"action"},style:{color:(m=(h=(e.vars??e).palette)==null?void 0:h.action)==null?void 0:m.active}},{props:{color:"disabled"},style:{color:(v=(w=(e.vars??e).palette)==null?void 0:w.action)==null?void 0:v.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Bt=fe.forwardRef(function(r,t){const n=Wa({props:r,name:"MuiSvgIcon"}),{children:a,className:o,color:i="inherit",component:s="svg",fontSize:u="medium",htmlColor:f,inheritViewBox:d=!1,titleAccess:h,viewBox:m="0 0 24 24",...w}=n,v=fe.isValidElement(a)&&a.type==="svg",p={...n,color:i,component:s,fontSize:u,instanceFontSize:r.fontSize,inheritViewBox:d,viewBox:m,hasSvgAsChild:v},y={};d||(y.viewBox=m);const T=nu(p);return G.jsxs(au,{as:s,className:Un(T.root,o),focusable:"false",color:f,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:t,...y,...w,...v&&a.props,ownerState:p,children:[v?a.props.children:a,h?G.jsx("title",{children:h}):null]})});process.env.NODE_ENV!=="production"&&(Bt.propTypes={children:A.node,classes:A.object,className:A.string,color:A.oneOfType([A.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),A.string]),component:A.elementType,fontSize:A.oneOfType([A.oneOf(["inherit","large","medium","small"]),A.string]),htmlColor:A.string,inheritViewBox:A.bool,shapeRendering:A.string,sx:A.oneOfType([A.arrayOf(A.oneOfType([A.func,A.object,A.bool])),A.func,A.object]),titleAccess:A.string,viewBox:A.string}),Bt&&(Bt.muiName="SvgIcon");function La(e,r){function t(n,a){return G.jsx(Bt,{"data-testid":`${r}Icon`,ref:a,...n,children:e})}return process.env.NODE_ENV!=="production"&&(t.displayName=`${r}Icon`),t.muiName=Bt.muiName,fe.memo(fe.forwardRef(t))}const ou=La([G.jsx("path",{d:"M17 11c.34 0 .67.04 1 .09V6.27L10.5 3 3 6.27v4.91c0 4.54 3.2 8.79 7.5 9.82.55-.13 1.08-.32 1.6-.55-.69-.98-1.1-2.17-1.1-3.45 0-3.31 2.69-6 6-6"},"0"),G.jsx("path",{d:"M17 13c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 1.38c.62 0 1.12.51 1.12 1.12s-.51 1.12-1.12 1.12-1.12-.51-1.12-1.12.5-1.12 1.12-1.12m0 5.37c-.93 0-1.74-.46-2.24-1.17.05-.72 1.51-1.08 2.24-1.08s2.19.36 2.24 1.08c-.5.71-1.31 1.17-2.24 1.17"},"1")],"AdminPanelSettings"),iu=La(G.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 su({children:e,internal:r,required:t,helpText:n}){return G.jsxs(ye.Box,{sx:{display:"flex",alignItems:"center",gap:.5},children:[r&&G.jsx(ye.Tooltip,{placement:"top",title:"This field is hidden from the public.",sx:{cursor:"default"},children:G.jsx(ou,{fontSize:"small",htmlColor:Kt.capitalDesignTokens.foundations.colors.gray600})}),G.jsxs(ye.Typography,{variant:"h4",children:[e,t&&"*"]}),n&&n!==""&&G.jsx(ye.Tooltip,{placement:"top",title:n,sx:{cursor:"default"},children:G.jsx(iu,{fontSize:"small",htmlColor:Kt.capitalDesignTokens.foundations.colors.gray600})})]})}function Ba(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ha(e,r=!1){return e&&(Ba(e.value)&&e.value!==""||r&&Ba(e.defaultValue)&&e.defaultValue!=="")}function cu(e){return e.startAdornment}const qa=fe.createContext(void 0);process.env.NODE_ENV!=="production"&&(qa.displayName="FormControlContext");function uu(e){return Zt("MuiFormControl",e)}Vn("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const lu=e=>{const{classes:r,margin:t,fullWidth:n}=e,a={root:["root",t!=="none"&&`margin${tt(t)}`,n&&"fullWidth"]};return Hn(a,uu,r)},fu=Ya("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},r)=>({...r.root,...r[`margin${tt(e.margin)}`],...e.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%"}}]}),Va=fe.forwardRef(function(r,t){const n=Wa({props:r,name:"MuiFormControl"}),{children:a,className:o,color:i="primary",component:s="div",disabled:u=!1,error:f=!1,focused:d,fullWidth:h=!1,hiddenLabel:m=!1,margin:w="none",required:v=!1,size:p="medium",variant:y="outlined",...T}=n,C={...n,color:i,component:s,disabled:u,error:f,fullWidth:h,hiddenLabel:m,margin:w,required:v,size:p,variant:y},E=lu(C),[O,g]=fe.useState(()=>{let V=!1;return a&&fe.Children.forEach(a,ae=>{if(!Fr(ae,["Input","Select"]))return;const ve=Fr(ae,["Select"])?ae.props.input:ae;ve&&cu(ve.props)&&(V=!0)}),V}),[F,$]=fe.useState(()=>{let V=!1;return a&&fe.Children.forEach(a,ae=>{Fr(ae,["Input","Select"])&&(Ha(ae.props,!0)||Ha(ae.props.inputProps,!0))&&(V=!0)}),V}),[R,j]=fe.useState(!1);u&&R&&j(!1);const c=d!==void 0&&!u?d:R;let P;const Y=fe.useRef(!1);process.env.NODE_ENV!=="production"&&(P=()=>(Y.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
104
- `)),Y.current=!0,()=>{Y.current=!1}));const W=fe.useMemo(()=>({adornedStart:O,setAdornedStart:g,color:i,disabled:u,error:f,filled:F,focused:c,fullWidth:h,hiddenLabel:m,size:p,onBlur:()=>{j(!1)},onEmpty:()=>{$(!1)},onFilled:()=>{$(!0)},onFocus:()=>{j(!0)},registerEffect:P,required:v,variant:y}),[O,i,u,f,F,c,h,m,P,v,p,y]);return G.jsx(qa.Provider,{value:W,children:G.jsx(fu,{as:s,ownerState:C,className:Un(E.root,o),ref:t,...T,children:a})})});process.env.NODE_ENV!=="production"&&(Va.propTypes={children:A.node,classes:A.object,className:A.string,color:A.oneOfType([A.oneOf(["primary","secondary","error","info","success","warning"]),A.string]),component:A.elementType,disabled:A.bool,error:A.bool,focused:A.bool,fullWidth:A.bool,hiddenLabel:A.bool,margin:A.oneOf(["dense","none","normal"]),required:A.bool,size:A.oneOfType([A.oneOf(["medium","small"]),A.string]),sx:A.oneOfType([A.arrayOf(A.oneOfType([A.func,A.object,A.bool])),A.func,A.object]),variant:A.oneOf(["filled","outlined","standard"])});const za=6048e5,du=864e5,Ua=6e4,Ga=36e5,hu=1e3,Qa=Symbol.for("constructDateFrom");function be(e,r){return typeof e=="function"?e(r):e&&typeof e=="object"&&Qa in e?e[Qa](r):e instanceof Date?new e.constructor(r):new Date(r)}function N(e,r){return be(r||e,e)}function Ht(e,r,t){const n=N(e,t==null?void 0:t.in);return isNaN(r)?be((t==null?void 0:t.in)||e,NaN):(r&&n.setDate(n.getDate()+r),n)}function Xa(e,r,t){return be(e,+N(e)+r)}function mu(e,r,t){return Xa(e,r*1e3)}function pu(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setTime(n.getTime()+r*Ua),n}function yu(e,r,t){return Xa(e,r*Ga)}function gu(e,r,t){return Ht(e,r*7,t)}function Ka(e,r,t){const n=N(e,t==null?void 0:t.in);if(isNaN(r))return be(e,NaN);if(!r)return n;const a=n.getDate(),o=be(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 bu(e,r,t){return Ka(e,r*12,t)}function Ja(e,r){const t=N(e,r==null?void 0:r.in);return t.setHours(23,59,59,999),t}let vu={};function lt(){return vu}function wu(e,r){var s,u,f,d;const t=lt(),n=(r==null?void 0:r.weekStartsOn)??((u=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:u.weekStartsOn)??t.weekStartsOn??((d=(f=t.locale)==null?void 0:f.options)==null?void 0:d.weekStartsOn)??0,a=N(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 Za(e,r){const t=N(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 xu={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"}},Tu=(e,r,t)=>{let n;const a=xu[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 an(e){return(r={})=>{const t=r.width?String(r.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const Eu={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Su={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Cu={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ou={date:an({formats:Eu,defaultWidth:"full"}),time:an({formats:Su,defaultWidth:"full"}),dateTime:an({formats:Cu,defaultWidth:"full"})},ku={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Pu=(e,r,t,n)=>ku[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 _u={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Mu={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Du={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"]},Ru={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"]},Au={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"}},$u={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"}},Iu={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:_u,defaultWidth:"wide"}),quarter:qt({values:Mu,defaultWidth:"wide",argumentCallback:e=>e-1}),month:qt({values:Du,defaultWidth:"wide"}),day:qt({values:Ru,defaultWidth:"wide"}),dayPeriod:qt({values:Au,defaultWidth:"wide",formattingValues:$u,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],u=Array.isArray(s)?Fu(s,h=>h.test(i)):Nu(s,h=>h.test(i));let f;f=e.valueCallback?e.valueCallback(u):u,f=t.valueCallback?t.valueCallback(f):f;const d=r.slice(i.length);return{value:f,rest:d}}}function Nu(e,r){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&r(e[t]))return t}function Fu(e,r){for(let t=0;t<e.length;t++)if(r(e[t]))return t}function ju(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 Yu=/^(\d+)(th|st|nd|rd)?/i,Wu=/\d+/i,Lu={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},Bu={any:[/^b/i,/^(a|c)/i]},Hu={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},qu={any:[/1/i,/2/i,/3/i,/4/i]},Vu={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},zu={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]},Uu={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},Gu={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]},Qu={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},Xu={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}},Ku={ordinalNumber:ju({matchPattern:Yu,parsePattern:Wu,valueCallback:e=>parseInt(e,10)}),era:Vt({matchPatterns:Lu,defaultMatchWidth:"wide",parsePatterns:Bu,defaultParseWidth:"any"}),quarter:Vt({matchPatterns:Hu,defaultMatchWidth:"wide",parsePatterns:qu,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Vt({matchPatterns:Vu,defaultMatchWidth:"wide",parsePatterns:zu,defaultParseWidth:"any"}),day:Vt({matchPatterns:Uu,defaultMatchWidth:"wide",parsePatterns:Gu,defaultParseWidth:"any"}),dayPeriod:Vt({matchPatterns:Qu,defaultMatchWidth:"any",parsePatterns:Xu,defaultParseWidth:"any"})},on={code:"en-US",formatDistance:Tu,formatLong:Ou,formatRelative:Pu,localize:Iu,match:Ku,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Er(e){const r=N(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 zt(e,...r){const t=be.bind(null,r.find(n=>typeof n=="object"));return r.map(t)}function Ut(e,r){const t=N(e,r==null?void 0:r.in);return t.setHours(0,0,0,0),t}function Ju(e,r,t){const[n,a]=zt(t==null?void 0:t.in,e,r),o=Ut(n),i=Ut(a),s=+o-Er(o),u=+i-Er(i);return Math.round((s-u)/du)}function eo(e,r){const t=N(e,r==null?void 0:r.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function Zu(e,r){const t=N(e,r==null?void 0:r.in);return Ju(t,eo(t))+1}function at(e,r){var s,u,f,d;const t=lt(),n=(r==null?void 0:r.weekStartsOn)??((u=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:u.weekStartsOn)??t.weekStartsOn??((d=(f=t.locale)==null?void 0:f.options)==null?void 0:d.weekStartsOn)??0,a=N(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 at(e,{...r,weekStartsOn:1})}function to(e,r){const t=N(e,r==null?void 0:r.in),n=t.getFullYear(),a=be(t,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const o=St(a),i=be(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 el(e,r){const t=to(e,r),n=be(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),St(n)}function ro(e,r){const t=N(e,r==null?void 0:r.in),n=+St(t)-+el(t);return Math.round(n/za)+1}function sn(e,r){var d,h,m,w;const t=N(e,r==null?void 0:r.in),n=t.getFullYear(),a=lt(),o=(r==null?void 0:r.firstWeekContainsDate)??((h=(d=r==null?void 0:r.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??a.firstWeekContainsDate??((w=(m=a.locale)==null?void 0:m.options)==null?void 0:w.firstWeekContainsDate)??1,i=be((r==null?void 0:r.in)||e,0);i.setFullYear(n+1,0,o),i.setHours(0,0,0,0);const s=at(i,r),u=be((r==null?void 0:r.in)||e,0);u.setFullYear(n,0,o),u.setHours(0,0,0,0);const f=at(u,r);return+t>=+s?n+1:+t>=+f?n:n-1}function tl(e,r){var s,u,f,d;const t=lt(),n=(r==null?void 0:r.firstWeekContainsDate)??((u=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:u.firstWeekContainsDate)??t.firstWeekContainsDate??((d=(f=t.locale)==null?void 0:f.options)==null?void 0:d.firstWeekContainsDate)??1,a=sn(e,r),o=be((r==null?void 0:r.in)||e,0);return o.setFullYear(a,0,n),o.setHours(0,0,0,0),at(o,r)}function cn(e,r){const t=N(e,r==null?void 0:r.in),n=+at(t,r)-+tl(t,r);return Math.round(n/za)+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)}},Ct={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},no={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=sn(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=to(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=cn(e,n);return r==="wo"?t.ordinalNumber(a,{unit:"week"}):le(a,r.length)},I:function(e,r,t){const n=ro(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=Zu(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=Ct.noon:n===0?a=Ct.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=Ct.evening:n>=12?a=Ct.afternoon:n>=4?a=Ct.morning:a=Ct.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 oo(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 oo(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"+ao(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"+ao(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 ao(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 oo(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 io=(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"})}},so=(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"})}},Gt={p:so,P:(e,r)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],a=t[2];if(!a)return io(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}}",io(n,r)).replace("{{time}}",so(a,r))}},rl=/^D+$/,nl=/^Y+$/,al=["D","DD","YY","YYYY"];function co(e){return rl.test(e)}function uo(e){return nl.test(e)}function un(e,r,t){const n=ol(e,r,t);if(console.warn(n),al.includes(e))throw new RangeError(n)}function ol(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 il(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function lo(e){return!(!il(e)&&typeof e!="number"||isNaN(+N(e)))}const sl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,cl=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ul=/^'([^]*?)'?$/,ll=/''/g,fl=/[a-zA-Z]/;function dl(e,r,t){var d,h,m,w,v,p,y,T;const n=lt(),a=(t==null?void 0:t.locale)??n.locale??on,o=(t==null?void 0:t.firstWeekContainsDate)??((h=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??n.firstWeekContainsDate??((w=(m=n.locale)==null?void 0:m.options)==null?void 0:w.firstWeekContainsDate)??1,i=(t==null?void 0:t.weekStartsOn)??((p=(v=t==null?void 0:t.locale)==null?void 0:v.options)==null?void 0:p.weekStartsOn)??n.weekStartsOn??((T=(y=n.locale)==null?void 0:y.options)==null?void 0:T.weekStartsOn)??0,s=N(e,t==null?void 0:t.in);if(!lo(s))throw new RangeError("Invalid time value");let u=r.match(cl).map(C=>{const E=C[0];if(E==="p"||E==="P"){const O=Gt[E];return O(C,a.formatLong)}return C}).join("").match(sl).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const E=C[0];if(E==="'")return{isToken:!1,value:hl(C)};if(no[E])return{isToken:!0,value:C};if(E.match(fl))throw new RangeError("Format string contains an unescaped latin alphabet character `"+E+"`");return{isToken:!1,value:C}});a.localize.preprocessor&&(u=a.localize.preprocessor(s,u));const f={firstWeekContainsDate:o,weekStartsOn:i,locale:a};return u.map(C=>{if(!C.isToken)return C.value;const E=C.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&uo(E)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&co(E))&&un(E,r,String(e));const O=no[E[0]];return O(s,E,a.localize,f)}).join("")}function hl(e){const r=e.match(ul);return r?r[1].replace(ll,"'"):e}function ml(e,r){return N(e,r==null?void 0:r.in).getDate()}function fo(e,r){const t=N(e,r==null?void 0:r.in),n=t.getFullYear(),a=t.getMonth(),o=be(t,0);return o.setFullYear(n,a+1,0),o.setHours(0,0,0,0),o.getDate()}function pl(e,r){return N(e,r==null?void 0:r.in).getHours()}function yl(e,r){return N(e,r==null?void 0:r.in).getMinutes()}function gl(e,r){return N(e,r==null?void 0:r.in).getMonth()}function bl(e){return N(e).getSeconds()}function vl(e){return N(e).getMilliseconds()}function wl(e,r){return N(e,r==null?void 0:r.in).getFullYear()}function ln(e,r){return+N(e)>+N(r)}function fn(e,r){return+N(e)<+N(r)}function xl(e,r){return+N(e)==+N(r)}function Tl(e,r,t){const[n,a]=zt(t==null?void 0:t.in,e,r);return+Ut(n)==+Ut(a)}function El(e,r,t){const[n,a]=zt(t==null?void 0:t.in,e,r);return n.getFullYear()===a.getFullYear()}function Sl(e,r,t){const[n,a]=zt(t==null?void 0:t.in,e,r);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()}function ho(e,r){const t=N(e,r==null?void 0:r.in);return t.setMinutes(0,0,0),t}function Cl(e,r,t){const[n,a]=zt(t==null?void 0:t.in,e,r);return+ho(n)==+ho(a)}function Ol(){return Object.assign({},lt())}function kl(e,r){const t=Pl(r)?new r(0):be(r,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}function Pl(e){var r;return typeof e=="function"&&((r=e.prototype)==null?void 0:r.constructor)===e}const _l=10;class mo{constructor(){M(this,"subPriority",0)}validate(r,t){return!0}}class Ml extends mo{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 Dl extends mo{constructor(t,n){super();M(this,"priority",_l);M(this,"subPriority",-1);this.context=t||(a=>be(n,a))}set(t,n){return n.timestampIsSet?t:be(t,kl(t,this.context))}}class ne{run(r,t,n,a){const o=this.parse(r,t,n,a);return o?{setter:new Ml(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(r,t,n){return!0}}class Rl extends ne{constructor(){super(...arguments);M(this,"priority",140);M(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}/},Ke={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 we(e,r){const t=r.match(e);return t?{value:parseInt(t[0],10),rest:r.slice(t[0].length)}:null}function Je(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*Ga+o*Ua+i*hu),rest:r.slice(t[0].length)}}function po(e){return we(Ce.anyDigitsSigned,e)}function Ee(e,r){switch(e){case 1:return we(Ce.singleDigit,r);case 2:return we(Ce.twoDigits,r);case 3:return we(Ce.threeDigits,r);case 4:return we(Ce.fourDigits,r);default:return we(new RegExp("^\\d{1,"+e+"}"),r)}}function Sr(e,r){switch(e){case 1:return we(Ce.singleDigitSigned,r);case 2:return we(Ce.twoDigitsSigned,r);case 3:return we(Ce.threeDigitsSigned,r);case 4:return we(Ce.fourDigitsSigned,r);default:return we(new RegExp("^-?\\d{1,"+e+"}"),r)}}function dn(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 yo(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 go(e){return e%400===0||e%4===0&&e%100!==0}class Al extends ne{constructor(){super(...arguments);M(this,"priority",130);M(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(Ee(4,t),o);case"yo":return Oe(a.ordinalNumber(t,{unit:"year"}),o);default:return Oe(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=yo(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 $l extends ne{constructor(){super(...arguments);M(this,"priority",130);M(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(Ee(4,t),o);case"Yo":return Oe(a.ordinalNumber(t,{unit:"year"}),o);default:return Oe(Ee(n.length,t),o)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,a,o){const i=sn(t,o);if(a.isTwoDigitYear){const u=yo(a.year,i);return t.setFullYear(u,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),at(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),at(t,o)}}class Il extends ne{constructor(){super(...arguments);M(this,"priority",130);M(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Sr(n==="R"?4:n.length,t)}set(t,n,a){const o=be(t,0);return o.setFullYear(a,0,4),o.setHours(0,0,0,0),St(o)}}class Nl extends ne{constructor(){super(...arguments);M(this,"priority",130);M(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Sr(n==="u"?4:n.length,t)}set(t,n,a){return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}}class Fl extends ne{constructor(){super(...arguments);M(this,"priority",120);M(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 jl extends ne{constructor(){super(...arguments);M(this,"priority",120);M(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 Yl extends ne{constructor(){super(...arguments);M(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);M(this,"priority",110)}parse(t,n,a){const o=i=>i-1;switch(n){case"M":return Oe(we(Ce.month,t),o);case"MM":return Oe(Ee(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 Wl extends ne{constructor(){super(...arguments);M(this,"priority",110);M(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(we(Ce.month,t),o);case"LL":return Oe(Ee(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 Ll(e,r,t){const n=N(e,t==null?void 0:t.in),a=cn(n,t)-r;return n.setDate(n.getDate()-a*7),N(n,t==null?void 0:t.in)}class Bl extends ne{constructor(){super(...arguments);M(this,"priority",100);M(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(Ce.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 at(Ll(t,a,o),o)}}function Hl(e,r,t){const n=N(e,t==null?void 0:t.in),a=ro(n,t)-r;return n.setDate(n.getDate()-a*7),n}class ql extends ne{constructor(){super(...arguments);M(this,"priority",100);M(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(Ce.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(Hl(t,a))}}const Vl=[31,28,31,30,31,30,31,31,30,31,30,31],zl=[31,29,31,30,31,30,31,31,30,31,30,31];class Ul extends ne{constructor(){super(...arguments);M(this,"priority",90);M(this,"subPriority",1);M(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"d":return we(Ce.date,t);case"do":return a.ordinalNumber(t,{unit:"date"});default:return Ee(n.length,t)}}validate(t,n){const a=t.getFullYear(),o=go(a),i=t.getMonth();return o?n>=1&&n<=zl[i]:n>=1&&n<=Vl[i]}set(t,n,a){return t.setDate(a),t.setHours(0,0,0,0),t}}class Gl extends ne{constructor(){super(...arguments);M(this,"priority",90);M(this,"subpriority",1);M(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(Ce.dayOfYear,t);case"Do":return a.ordinalNumber(t,{unit:"date"});default:return Ee(n.length,t)}}validate(t,n){const a=t.getFullYear();return go(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 hn(e,r,t){var h,m,w,v;const n=lt(),a=(t==null?void 0:t.weekStartsOn)??((m=(h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:m.weekStartsOn)??n.weekStartsOn??((v=(w=n.locale)==null?void 0:w.options)==null?void 0:v.weekStartsOn)??0,o=N(e,t==null?void 0:t.in),i=o.getDay(),u=(r%7+7)%7,f=7-a,d=r<0||r>6?r-(i+f)%7:(u+f)%7-(i+f)%7;return Ht(o,d,t)}class Ql extends ne{constructor(){super(...arguments);M(this,"priority",90);M(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=hn(t,a,o),t.setHours(0,0,0,0),t}}class Xl extends ne{constructor(){super(...arguments);M(this,"priority",90);M(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 u=Math.floor((s-1)/7)*7;return(s+o.weekStartsOn+6)%7+u};switch(n){case"e":case"ee":return Oe(Ee(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=hn(t,a,o),t.setHours(0,0,0,0),t}}class Kl extends ne{constructor(){super(...arguments);M(this,"priority",90);M(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 u=Math.floor((s-1)/7)*7;return(s+o.weekStartsOn+6)%7+u};switch(n){case"c":case"cc":return Oe(Ee(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=hn(t,a,o),t.setHours(0,0,0,0),t}}function Jl(e,r){const t=N(e,r==null?void 0:r.in).getDay();return t===0?7:t}function Zl(e,r,t){const n=N(e,t==null?void 0:t.in),a=Jl(n,t),o=r-a;return Ht(n,o,t)}class ef extends ne{constructor(){super(...arguments);M(this,"priority",90);M(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 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=Zl(t,a),t.setHours(0,0,0,0),t}}class tf extends ne{constructor(){super(...arguments);M(this,"priority",80);M(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(dn(a),0,0,0),t}}class rf extends ne{constructor(){super(...arguments);M(this,"priority",80);M(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(dn(a),0,0,0),t}}class nf extends ne{constructor(){super(...arguments);M(this,"priority",80);M(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(dn(a),0,0,0),t}}class af extends ne{constructor(){super(...arguments);M(this,"priority",70);M(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,a){switch(n){case"h":return we(Ce.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 of extends ne{constructor(){super(...arguments);M(this,"priority",70);M(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,a){switch(n){case"H":return we(Ce.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 sf extends ne{constructor(){super(...arguments);M(this,"priority",70);M(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,a){switch(n){case"K":return we(Ce.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 cf extends ne{constructor(){super(...arguments);M(this,"priority",70);M(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,a){switch(n){case"k":return we(Ce.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 uf extends ne{constructor(){super(...arguments);M(this,"priority",60);M(this,"incompatibleTokens",["t","T"])}parse(t,n,a){switch(n){case"m":return we(Ce.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 lf extends ne{constructor(){super(...arguments);M(this,"priority",50);M(this,"incompatibleTokens",["t","T"])}parse(t,n,a){switch(n){case"s":return we(Ce.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 ff extends ne{constructor(){super(...arguments);M(this,"priority",30);M(this,"incompatibleTokens",["t","T"])}parse(t,n){const a=o=>Math.trunc(o*Math.pow(10,-n.length+3));return Oe(Ee(n.length,t),a)}set(t,n,a){return t.setMilliseconds(a),t}}class df extends ne{constructor(){super(...arguments);M(this,"priority",10);M(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Je(Ke.basicOptionalMinutes,t);case"XX":return Je(Ke.basic,t);case"XXXX":return Je(Ke.basicOptionalSeconds,t);case"XXXXX":return Je(Ke.extendedOptionalSeconds,t);case"XXX":default:return Je(Ke.extended,t)}}set(t,n,a){return n.timestampIsSet?t:be(t,t.getTime()-Er(t)-a)}}class hf extends ne{constructor(){super(...arguments);M(this,"priority",10);M(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Je(Ke.basicOptionalMinutes,t);case"xx":return Je(Ke.basic,t);case"xxxx":return Je(Ke.basicOptionalSeconds,t);case"xxxxx":return Je(Ke.extendedOptionalSeconds,t);case"xxx":default:return Je(Ke.extended,t)}}set(t,n,a){return n.timestampIsSet?t:be(t,t.getTime()-Er(t)-a)}}class mf extends ne{constructor(){super(...arguments);M(this,"priority",40);M(this,"incompatibleTokens","*")}parse(t){return po(t)}set(t,n,a){return[be(t,a*1e3),{timestampIsSet:!0}]}}class pf extends ne{constructor(){super(...arguments);M(this,"priority",20);M(this,"incompatibleTokens","*")}parse(t){return po(t)}set(t,n,a){return[be(t,a),{timestampIsSet:!0}]}}const yf={G:new Rl,y:new Al,Y:new $l,R:new Il,u:new Nl,Q:new Fl,q:new jl,M:new Yl,L:new Wl,w:new Bl,I:new ql,d:new Ul,D:new Gl,E:new Ql,e:new Xl,c:new Kl,i:new ef,a:new tf,b:new rf,B:new nf,h:new af,H:new of,K:new sf,k:new cf,m:new uf,s:new lf,S:new ff,X:new df,x:new hf,t:new mf,T:new pf},gf=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,bf=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,vf=/^'([^]*?)'?$/,wf=/''/g,xf=/\S/,Tf=/[a-zA-Z]/;function Ef(e,r,t,n){var y,T,C,E,O,g,F,$;const a=()=>be((n==null?void 0:n.in)||t,NaN),o=Ol(),i=(n==null?void 0:n.locale)??o.locale??on,s=(n==null?void 0:n.firstWeekContainsDate)??((T=(y=n==null?void 0:n.locale)==null?void 0:y.options)==null?void 0:T.firstWeekContainsDate)??o.firstWeekContainsDate??((E=(C=o.locale)==null?void 0:C.options)==null?void 0:E.firstWeekContainsDate)??1,u=(n==null?void 0:n.weekStartsOn)??((g=(O=n==null?void 0:n.locale)==null?void 0:O.options)==null?void 0:g.weekStartsOn)??o.weekStartsOn??(($=(F=o.locale)==null?void 0:F.options)==null?void 0:$.weekStartsOn)??0;if(!r)return e?a():N(t,n==null?void 0:n.in);const f={firstWeekContainsDate:s,weekStartsOn:u,locale:i},d=[new Dl(n==null?void 0:n.in,t)],h=r.match(bf).map(R=>{const j=R[0];if(j in Gt){const c=Gt[j];return c(R,i.formatLong)}return R}).join("").match(gf),m=[];for(let R of h){!(n!=null&&n.useAdditionalWeekYearTokens)&&uo(R)&&un(R,r,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&co(R)&&un(R,r,e);const j=R[0],c=yf[j];if(c){const{incompatibleTokens:P}=c;if(Array.isArray(P)){const W=m.find(V=>P.includes(V.token)||V.token===j);if(W)throw new RangeError(`The format string mustn't contain \`${W.fullToken}\` and \`${R}\` at the same time`)}else if(c.incompatibleTokens==="*"&&m.length>0)throw new RangeError(`The format string mustn't contain \`${R}\` and any other token at the same time`);m.push({token:j,fullToken:R});const Y=c.run(e,R,i.match,f);if(!Y)return a();d.push(Y.setter),e=Y.rest}else{if(j.match(Tf))throw new RangeError("Format string contains an unescaped latin alphabet character `"+j+"`");if(R==="''"?R="'":j==="'"&&(R=Sf(R)),e.indexOf(R)===0)e=e.slice(R.length);else return a()}}if(e.length>0&&xf.test(e))return a();const w=d.map(R=>R.priority).sort((R,j)=>j-R).filter((R,j,c)=>c.indexOf(R)===j).map(R=>d.filter(j=>j.priority===R).sort((j,c)=>c.subPriority-j.subPriority)).map(R=>R[0]);let v=N(t,n==null?void 0:n.in);if(isNaN(+v))return a();const p={};for(const R of w){if(!R.validate(v,f))return a();const j=R.set(v,p,f);Array.isArray(j)?(v=j[0],Object.assign(p,j[1])):v=j}return v}function Sf(e){return e.match(vf)[1].replace(wf,"'")}function Cf(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setDate(r),n}function Of(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setHours(r),n}function kf(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setMinutes(r),n}function Pf(e,r,t){const n=N(e,t==null?void 0:t.in),a=n.getFullYear(),o=n.getDate(),i=be(e,0);i.setFullYear(a,r,15),i.setHours(0,0,0,0);const s=fo(i);return n.setMonth(r,Math.min(o,s)),n}function _f(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setSeconds(r),n}function Mf(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setMilliseconds(r),n}function Df(e,r,t){const n=N(e,t==null?void 0:t.in);return isNaN(+n)?be(e,NaN):(n.setFullYear(r),n)}function Rf(e,r){const t=N(e,r==null?void 0:r.in);return t.setDate(1),t.setHours(0,0,0,0),t}function Af(e,r){const t=N(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 $f(e,r,t){const n=+N(e,t==null?void 0:t.in),[a,o]=[+N(r.start,t==null?void 0:t.in),+N(r.end,t==null?void 0:t.in)].sort((i,s)=>i-s);return n>=a&&n<=o}function mn(){return mn=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},mn.apply(null,arguments)}const If={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"},Nf={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 Ff{constructor(r){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib=void 0,this.locale=void 0,this.formats=void 0,this.formatTokenMap=If,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(u=>{const f=u[0];if(f==="p"||f==="P"){const d=this.longFormatters[f];return d(u,this.locale.formatLong)}return u}).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=mn({},Nf,n),this.longFormatters=a,this.lib=o||"date-fns"}}class jf extends Ff{constructor({locale:r,formats:t}={}){if(process.env.NODE_ENV!=="production"){if(typeof Ht!="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(!Gt)throw new Error("MUI: The minimum supported `date-fns` package version compatible with this adapter is `3.2.x`.")}super({locale:r??on,formats:t,longFormatters:Gt}),this.parse=(n,a)=>n===""?null:Ef(n,a,new Date,{locale:this.locale}),this.isValid=n=>n==null?!1:lo(n),this.format=(n,a)=>this.formatByString(n,this.formats[a]),this.formatByString=(n,a)=>dl(n,a,{locale:this.locale}),this.isEqual=(n,a)=>n===null&&a===null?!0:n===null||a===null?!1:xl(n,a),this.isSameYear=(n,a)=>El(n,a),this.isSameMonth=(n,a)=>Sl(n,a),this.isSameDay=(n,a)=>Tl(n,a),this.isSameHour=(n,a)=>Cl(n,a),this.isAfter=(n,a)=>ln(n,a),this.isAfterYear=(n,a)=>ln(n,Za(a)),this.isAfterDay=(n,a)=>ln(n,Ja(a)),this.isBefore=(n,a)=>fn(n,a),this.isBeforeYear=(n,a)=>fn(n,this.startOfYear(a)),this.isBeforeDay=(n,a)=>fn(n,this.startOfDay(a)),this.isWithinRange=(n,[a,o])=>$f(n,{start:a,end:o}),this.startOfYear=n=>eo(n),this.startOfMonth=n=>Rf(n),this.startOfWeek=n=>at(n,{locale:this.locale}),this.startOfDay=n=>Ut(n),this.endOfYear=n=>Za(n),this.endOfMonth=n=>Af(n),this.endOfWeek=n=>wu(n,{locale:this.locale}),this.endOfDay=n=>Ja(n),this.addYears=(n,a)=>bu(n,a),this.addMonths=(n,a)=>Ka(n,a),this.addWeeks=(n,a)=>gu(n,a),this.addDays=(n,a)=>Ht(n,a),this.addHours=(n,a)=>yu(n,a),this.addMinutes=(n,a)=>pu(n,a),this.addSeconds=(n,a)=>mu(n,a),this.getYear=n=>wl(n),this.getMonth=n=>gl(n),this.getDate=n=>ml(n),this.getHours=n=>pl(n),this.getMinutes=n=>yl(n),this.getSeconds=n=>bl(n),this.getMilliseconds=n=>vl(n),this.setYear=(n,a)=>Df(n,a),this.setMonth=(n,a)=>Pf(n,a),this.setDate=(n,a)=>Cf(n,a),this.setHours=(n,a)=>Of(n,a),this.setMinutes=(n,a)=>kf(n,a),this.setSeconds=(n,a)=>_f(n,a),this.setMilliseconds=(n,a)=>Mf(n,a),this.getDaysInMonth=n=>fo(n),this.getWeekArray=n=>{const a=this.startOfWeek(this.startOfMonth(n)),o=this.endOfWeek(this.endOfMonth(n));let i=0,s=a;const u=[];for(;this.isBefore(s,o);){const f=Math.floor(i/7);u[f]=u[f]||[],u[f].push(s),s=this.addDays(s,1),i+=1}return u},this.getWeekNumber=n=>cn(n,{locale:this.locale}),this.getYearRange=([n,a])=>{const o=this.startOfYear(n),i=this.endOfYear(a),s=[];let u=o;for(;this.isBefore(u,i);)s.push(u),u=this.addYears(u,1);return s}}}function Yf({children:e,onSubmit:r,layout:t,sx:n}){return G.jsx(xn.LocalizationProvider,{dateAdapter:jf,adapterLocale:void 0,children:G.jsx($o,{layout:t,children:G.jsx(Va,{sx:n,children:G.jsx("form",{onSubmit:r,children:e})})})})}function Wf({children:e,onSubmit:r=()=>{},layout:t,formOptions:n={},sx:a}){const o=ht.useForm(n);return G.jsx(ht.FormProvider,{...o,children:G.jsx(Yf,{onSubmit:o.handleSubmit(r),layout:t,sx:a,children:e})})}function Lf(){return G.jsx("div",{children:"FormRenderer"})}pe.Checkbox=Io,pe.DateInput=No,pe.FormFieldLabel=su,pe.FormProvider=Wf,pe.NumberInput=Fo,pe.Select=jo,pe.TextInput=Cn,pe.default=Lf,Object.defineProperties(pe,{__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:u,...f}=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.":st(20));const d=tn(o),h=xa(e);let m=Ye(h,{mixins:kc(h.breakpoints,n),palette:d,shadows:Ac.slice(),typography:_c(d,s),transitions:Fc(i),zIndex:{...jc}});if(m=Ye(m,f),m=r.reduce((w,v)=>Ye(w,v),m),process.env.NODE_ENV!=="production"){const w=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],v=(p,y)=>{let T;for(T in p){const C=p[T];if(w.includes(T)&&Object.keys(C).length>0){if(process.env.NODE_ENV!=="production"){const E=er("",T);console.error([`MUI: The \`${y}\` component increases the CSS specificity of the \`${T}\` internal state.`,"You can not override it like this: ",JSON.stringify(p,null,2),"",`Instead, you need to use the '&.${E}' syntax:`,JSON.stringify({root:{[`&.${E}`]:C}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
102
+ `))}p[T]={}}}};Object.keys(m.components).forEach(p=>{const y=m.components[p].styleOverrides;y&&p.startsWith("Mui")&&v(y,p)})}return m.unstable_sxConfig={...fr,...f==null?void 0:f.unstable_sxConfig},m.unstable_sx=function(v){return yt({sx:v,theme:this})},m.toRuntimeSource=Na,m}function Wc(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 Lc=[...Array(25)].map((e,r)=>{if(r===0)return"none";const t=Wc(r);return`linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`});function Fa(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function ja(e){return e==="dark"?Lc:[]}function Bc(e){const{palette:r={mode:"light"},opacity:t,overlays:n,...a}=e,o=tn(r);return{palette:o,opacity:{...Fa(o.mode),...t},overlays:n||ja(o.mode),...a}}function Hc(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 qc=e=>[...[...Array(25)].map((r,t)=>`--${e?`${e}-`:""}overlays-${t}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Vc=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 qc(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 zc(e,r){r.forEach(t=>{e[t]||(e[t]={})})}function b(e,r,t){!e[r]&&t&&(e[r]=t)}function Bt(e){return!e||!e.startsWith("hsl")?e:Ca(e)}function nt(e,r){`${r}Channel`in e||(e[`${r}Channel`]=Yt(Bt(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 Uc(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Xe=e=>{try{return e()}catch{}},Gc=(e="mui")=>hc(e);function nn(e,r,t,n){if(!r)return;r=r===!0?{}:r;const a=n==="dark"?"dark":"light";if(!t){e[n]=Bc({...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:{...Fa(a),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||ja(a)},i}function Qc(e={},...r){const{colorSchemes:t={light:!0},defaultColorScheme:n,disableCssColorScheme:a=!1,cssVarPrefix:o="mui",shouldSkipGeneratingVar:i=Hc,colorSchemeSelector:s=t.light&&t.dark?"media":void 0,rootSelector:u=":root",...f}=e,d=Object.keys(t)[0],h=n||(t.light&&d!=="light"?"light":d),m=Gc(o),{[h]:w,light:v,dark:p,...y}=t,T={...y};let C=w;if((h==="dark"&&!("dark"in t)||h==="light"&&!("light"in t))&&(C=!0),!C)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${h}\` option is either missing or invalid.`:st(21,h));const E=nn(T,C,f,h);v&&!T.light&&nn(T,v,void 0,"light"),p&&!T.dark&&nn(T,p,void 0,"dark");let O={defaultColorScheme:h,...E,cssVarPrefix:o,colorSchemeSelector:s,rootSelector:u,getCssVar:m,colorSchemes:T,font:{...Oc(E.typography),...E.font},spacing:Uc(f.spacing)};Object.keys(O.colorSchemes).forEach(j=>{const c=O.colorSchemes[j].palette,P=Y=>{const W=Y.split("-"),z=W[1],ae=W[2];return m(Y,c[z][ae])};if(c.mode==="light"&&(b(c.common,"background","#fff"),b(c.common,"onBackground","#000")),c.mode==="dark"&&(b(c.common,"background","#000"),b(c.common,"onBackground","#fff")),zc(c,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),c.mode==="light"){b(c.Alert,"errorColor",he(c.error.light,.6)),b(c.Alert,"infoColor",he(c.info.light,.6)),b(c.Alert,"successColor",he(c.success.light,.6)),b(c.Alert,"warningColor",he(c.warning.light,.6)),b(c.Alert,"errorFilledBg",P("palette-error-main")),b(c.Alert,"infoFilledBg",P("palette-info-main")),b(c.Alert,"successFilledBg",P("palette-success-main")),b(c.Alert,"warningFilledBg",P("palette-warning-main")),b(c.Alert,"errorFilledColor",Xe(()=>c.getContrastText(c.error.main))),b(c.Alert,"infoFilledColor",Xe(()=>c.getContrastText(c.info.main))),b(c.Alert,"successFilledColor",Xe(()=>c.getContrastText(c.success.main))),b(c.Alert,"warningFilledColor",Xe(()=>c.getContrastText(c.warning.main))),b(c.Alert,"errorStandardBg",me(c.error.light,.9)),b(c.Alert,"infoStandardBg",me(c.info.light,.9)),b(c.Alert,"successStandardBg",me(c.success.light,.9)),b(c.Alert,"warningStandardBg",me(c.warning.light,.9)),b(c.Alert,"errorIconColor",P("palette-error-main")),b(c.Alert,"infoIconColor",P("palette-info-main")),b(c.Alert,"successIconColor",P("palette-success-main")),b(c.Alert,"warningIconColor",P("palette-warning-main")),b(c.AppBar,"defaultBg",P("palette-grey-100")),b(c.Avatar,"defaultBg",P("palette-grey-400")),b(c.Button,"inheritContainedBg",P("palette-grey-300")),b(c.Button,"inheritContainedHoverBg",P("palette-grey-A100")),b(c.Chip,"defaultBorder",P("palette-grey-400")),b(c.Chip,"defaultAvatarColor",P("palette-grey-700")),b(c.Chip,"defaultIconColor",P("palette-grey-700")),b(c.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),b(c.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),b(c.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),b(c.LinearProgress,"primaryBg",me(c.primary.main,.62)),b(c.LinearProgress,"secondaryBg",me(c.secondary.main,.62)),b(c.LinearProgress,"errorBg",me(c.error.main,.62)),b(c.LinearProgress,"infoBg",me(c.info.main,.62)),b(c.LinearProgress,"successBg",me(c.success.main,.62)),b(c.LinearProgress,"warningBg",me(c.warning.main,.62)),b(c.Skeleton,"bg",`rgba(${P("palette-text-primaryChannel")} / 0.11)`),b(c.Slider,"primaryTrack",me(c.primary.main,.62)),b(c.Slider,"secondaryTrack",me(c.secondary.main,.62)),b(c.Slider,"errorTrack",me(c.error.main,.62)),b(c.Slider,"infoTrack",me(c.info.main,.62)),b(c.Slider,"successTrack",me(c.success.main,.62)),b(c.Slider,"warningTrack",me(c.warning.main,.62));const Y=Er(c.background.default,.8);b(c.SnackbarContent,"bg",Y),b(c.SnackbarContent,"color",Xe(()=>c.getContrastText(Y))),b(c.SpeedDialAction,"fabHoverBg",Er(c.background.paper,.15)),b(c.StepConnector,"border",P("palette-grey-400")),b(c.StepContent,"border",P("palette-grey-400")),b(c.Switch,"defaultColor",P("palette-common-white")),b(c.Switch,"defaultDisabledColor",P("palette-grey-100")),b(c.Switch,"primaryDisabledColor",me(c.primary.main,.62)),b(c.Switch,"secondaryDisabledColor",me(c.secondary.main,.62)),b(c.Switch,"errorDisabledColor",me(c.error.main,.62)),b(c.Switch,"infoDisabledColor",me(c.info.main,.62)),b(c.Switch,"successDisabledColor",me(c.success.main,.62)),b(c.Switch,"warningDisabledColor",me(c.warning.main,.62)),b(c.TableCell,"border",me(Tr(c.divider,1),.88)),b(c.Tooltip,"bg",Tr(c.grey[700],.92))}if(c.mode==="dark"){b(c.Alert,"errorColor",me(c.error.light,.6)),b(c.Alert,"infoColor",me(c.info.light,.6)),b(c.Alert,"successColor",me(c.success.light,.6)),b(c.Alert,"warningColor",me(c.warning.light,.6)),b(c.Alert,"errorFilledBg",P("palette-error-dark")),b(c.Alert,"infoFilledBg",P("palette-info-dark")),b(c.Alert,"successFilledBg",P("palette-success-dark")),b(c.Alert,"warningFilledBg",P("palette-warning-dark")),b(c.Alert,"errorFilledColor",Xe(()=>c.getContrastText(c.error.dark))),b(c.Alert,"infoFilledColor",Xe(()=>c.getContrastText(c.info.dark))),b(c.Alert,"successFilledColor",Xe(()=>c.getContrastText(c.success.dark))),b(c.Alert,"warningFilledColor",Xe(()=>c.getContrastText(c.warning.dark))),b(c.Alert,"errorStandardBg",he(c.error.light,.9)),b(c.Alert,"infoStandardBg",he(c.info.light,.9)),b(c.Alert,"successStandardBg",he(c.success.light,.9)),b(c.Alert,"warningStandardBg",he(c.warning.light,.9)),b(c.Alert,"errorIconColor",P("palette-error-main")),b(c.Alert,"infoIconColor",P("palette-info-main")),b(c.Alert,"successIconColor",P("palette-success-main")),b(c.Alert,"warningIconColor",P("palette-warning-main")),b(c.AppBar,"defaultBg",P("palette-grey-900")),b(c.AppBar,"darkBg",P("palette-background-paper")),b(c.AppBar,"darkColor",P("palette-text-primary")),b(c.Avatar,"defaultBg",P("palette-grey-600")),b(c.Button,"inheritContainedBg",P("palette-grey-800")),b(c.Button,"inheritContainedHoverBg",P("palette-grey-700")),b(c.Chip,"defaultBorder",P("palette-grey-700")),b(c.Chip,"defaultAvatarColor",P("palette-grey-300")),b(c.Chip,"defaultIconColor",P("palette-grey-300")),b(c.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),b(c.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),b(c.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),b(c.LinearProgress,"primaryBg",he(c.primary.main,.5)),b(c.LinearProgress,"secondaryBg",he(c.secondary.main,.5)),b(c.LinearProgress,"errorBg",he(c.error.main,.5)),b(c.LinearProgress,"infoBg",he(c.info.main,.5)),b(c.LinearProgress,"successBg",he(c.success.main,.5)),b(c.LinearProgress,"warningBg",he(c.warning.main,.5)),b(c.Skeleton,"bg",`rgba(${P("palette-text-primaryChannel")} / 0.13)`),b(c.Slider,"primaryTrack",he(c.primary.main,.5)),b(c.Slider,"secondaryTrack",he(c.secondary.main,.5)),b(c.Slider,"errorTrack",he(c.error.main,.5)),b(c.Slider,"infoTrack",he(c.info.main,.5)),b(c.Slider,"successTrack",he(c.success.main,.5)),b(c.Slider,"warningTrack",he(c.warning.main,.5));const Y=Er(c.background.default,.98);b(c.SnackbarContent,"bg",Y),b(c.SnackbarContent,"color",Xe(()=>c.getContrastText(Y))),b(c.SpeedDialAction,"fabHoverBg",Er(c.background.paper,.15)),b(c.StepConnector,"border",P("palette-grey-600")),b(c.StepContent,"border",P("palette-grey-600")),b(c.Switch,"defaultColor",P("palette-grey-300")),b(c.Switch,"defaultDisabledColor",P("palette-grey-600")),b(c.Switch,"primaryDisabledColor",he(c.primary.main,.55)),b(c.Switch,"secondaryDisabledColor",he(c.secondary.main,.55)),b(c.Switch,"errorDisabledColor",he(c.error.main,.55)),b(c.Switch,"infoDisabledColor",he(c.info.main,.55)),b(c.Switch,"successDisabledColor",he(c.success.main,.55)),b(c.Switch,"warningDisabledColor",he(c.warning.main,.55)),b(c.TableCell,"border",he(Tr(c.divider,1),.68)),b(c.Tooltip,"bg",Tr(c.grey[700],.92))}nt(c.background,"default"),nt(c.background,"paper"),nt(c.common,"background"),nt(c.common,"onBackground"),nt(c,"divider"),Object.keys(c).forEach(Y=>{const W=c[Y];W&&typeof W=="object"&&(W.main&&b(c[Y],"mainChannel",Yt(Bt(W.main))),W.light&&b(c[Y],"lightChannel",Yt(Bt(W.light))),W.dark&&b(c[Y],"darkChannel",Yt(Bt(W.dark))),W.contrastText&&b(c[Y],"contrastTextChannel",Yt(Bt(W.contrastText))),Y==="text"&&(nt(c[Y],"primary"),nt(c[Y],"secondary")),Y==="action"&&(W.active&&nt(c[Y],"active"),W.selected&&nt(c[Y],"selected")))})}),O=r.reduce((j,c)=>Ye(j,c),O);const g={prefix:o,disableCssColorScheme:a,shouldSkipGeneratingVar:i,getSelector:Vc(O)},{vars:F,generateThemeVars:$,generateStyleSheets:R}=yc(O,g);return O.vars=F,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([j,c])=>{O[j]=c}),O.generateThemeVars=$,O.generateStyleSheets=R,O.generateSpacing=function(){return wa(f.spacing,Yr(this))},O.getColorSchemeSelector=gc(s),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=i,O.unstable_sxConfig={...fr,...f==null?void 0:f.unstable_sxConfig},O.unstable_sx=function(c){return yt({sx:c,theme:this})},O.toRuntimeSource=Na,O}function Ya(e,r,t){e.colorSchemes&&t&&(e.colorSchemes[r]={...t!==!0&&t,palette:tn({...t===!0?{}:t.palette,mode:r})})}function Xc(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",u=a==null?void 0:a[s],f={...a,...t?{[s]:{...typeof u!="boolean"&&u,palette:t}}:void 0};if(n===!1){if(!("colorSchemes"in e))return rn(e,...r);let d=t;"palette"in e||f[s]&&(f[s]!==!0?d=f[s].palette:s==="dark"&&(d={mode:"dark"}));const h=rn({...e,palette:d},...r);return h.defaultColorScheme=s,h.colorSchemes=f,h.palette.mode==="light"&&(h.colorSchemes.light={...f.light!==!0&&f.light,palette:h.palette},Ya(h,"dark",f.dark)),h.palette.mode==="dark"&&(h.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:h.palette},Ya(h,"light",f.light)),h}return!t&&!("light"in f)&&s==="light"&&(f.light=!0),Qc({...i,colorSchemes:f,defaultColorScheme:s,...typeof n!="boolean"&&n},...r)}const Kc=Xc(),Jc="$$material";function Zc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Wa=ec({themeId:Jc,defaultTheme:Kc,rootShouldForwardProp:e=>Zc(e)&&e!=="classes"}),eu=dc;process.env.NODE_ENV!=="production"&&(A.node,A.object.isRequired);function La(e){return fc(e)}function tu(e){return er("MuiSvgIcon",e)}zn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ru=e=>{const{color:r,fontSize:t,classes:n}=e,a={root:["root",r!=="inherit"&&`color${tt(r)}`,`fontSize${tt(t)}`]};return qn(a,tu,n)},nu=Wa("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,t.color!=="inherit"&&r[`color${tt(t.color)}`],r[`fontSize${tt(t.fontSize)}`]]}})(eu(({theme:e})=>{var r,t,n,a,o,i,s,u,f,d,h,m,w,v;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:p=>!p.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:((u=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:u.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((d=(f=e.typography)==null?void 0:f.pxToRem)==null?void 0:d.call(f,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,p])=>p&&p.main).map(([p])=>{var y,T;return{props:{color:p},style:{color:(T=(y=(e.vars??e).palette)==null?void 0:y[p])==null?void 0:T.main}}}),{props:{color:"action"},style:{color:(m=(h=(e.vars??e).palette)==null?void 0:h.action)==null?void 0:m.active}},{props:{color:"disabled"},style:{color:(v=(w=(e.vars??e).palette)==null?void 0:w.action)==null?void 0:v.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Ht=de.forwardRef(function(r,t){const n=La({props:r,name:"MuiSvgIcon"}),{children:a,className:o,color:i="inherit",component:s="svg",fontSize:u="medium",htmlColor:f,inheritViewBox:d=!1,titleAccess:h,viewBox:m="0 0 24 24",...w}=n,v=de.isValidElement(a)&&a.type==="svg",p={...n,color:i,component:s,fontSize:u,instanceFontSize:r.fontSize,inheritViewBox:d,viewBox:m,hasSvgAsChild:v},y={};d||(y.viewBox=m);const T=ru(p);return L.jsxs(nu,{as:s,className:Gn(T.root,o),focusable:"false",color:f,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:t,...y,...w,...v&&a.props,ownerState:p,children:[v?a.props.children:a,h?L.jsx("title",{children:h}):null]})});process.env.NODE_ENV!=="production"&&(Ht.propTypes={children:A.node,classes:A.object,className:A.string,color:A.oneOfType([A.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),A.string]),component:A.elementType,fontSize:A.oneOfType([A.oneOf(["inherit","large","medium","small"]),A.string]),htmlColor:A.string,inheritViewBox:A.bool,shapeRendering:A.string,sx:A.oneOfType([A.arrayOf(A.oneOfType([A.func,A.object,A.bool])),A.func,A.object]),titleAccess:A.string,viewBox:A.string}),Ht&&(Ht.muiName="SvgIcon");function an(e,r){function t(n,a){return L.jsx(Ht,{"data-testid":`${r}Icon`,ref:a,...n,children:e})}return process.env.NODE_ENV!=="production"&&(t.displayName=`${r}Icon`),t.muiName=Ht.muiName,de.memo(de.forwardRef(t))}const au=an(L.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 ou({name:e,label:r,sx:t={}}){const{control:n}=it.useFormContext(),o={...Jt(),...t};return L.jsx(it.Controller,{name:e,control:n,render:({field:i})=>L.jsxs(fe.FormControl,{sx:{marginY:.5,...o},children:[L.jsx(fe.FormLabel,{sx:{fontWeight:500,color:mt.capitalDesignTokens.foundations.colors.gray1000},children:r}),L.jsxs(fe.Typography,{sx:{display:"flex",flexDirection:"row",gap:.5,marginTop:.5},children:[L.jsx(au,{sx:{color:mt.capitalDesignTokens.foundations.colors.gray500}}),L.jsx("span",{children:i.value||0})]})]})})}function iu({name:e,label:r,options:t,sx:n={},disabled:a,rules:o={},...i}){const{field:s,fieldState:{error:u}}=it.useController({name:e,rules:o}),d={...Jt(),...n};return L.jsx(fe.Box,{sx:d,children:L.jsxs(fe.FormControl,{fullWidth:!0,error:!!u,disabled:a,children:[L.jsx(fe.FormLabel,{id:`${e}-label`,sx:{fontWeight:500,color:mt.capitalDesignTokens.foundations.colors.gray1000,marginBottom:1},children:r}),L.jsx(fe.Select,{labelId:`${e}-label`,id:`${e}-select`,...s,...i,displayEmpty:!0,variant:"outlined",fullWidth:!0,children:t.map(h=>L.jsx(fe.MenuItem,{value:h.key,children:h.displayValue},h.key))}),u&&L.jsx(fe.FormHelperText,{children:u.message})]})})}const su=an([L.jsx("path",{d:"M17 11c.34 0 .67.04 1 .09V6.27L10.5 3 3 6.27v4.91c0 4.54 3.2 8.79 7.5 9.82.55-.13 1.08-.32 1.6-.55-.69-.98-1.1-2.17-1.1-3.45 0-3.31 2.69-6 6-6"},"0"),L.jsx("path",{d:"M17 13c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 1.38c.62 0 1.12.51 1.12 1.12s-.51 1.12-1.12 1.12-1.12-.51-1.12-1.12.5-1.12 1.12-1.12m0 5.37c-.93 0-1.74-.46-2.24-1.17.05-.72 1.51-1.08 2.24-1.08s2.19.36 2.24 1.08c-.5.71-1.31 1.17-2.24 1.17"},"1")],"AdminPanelSettings"),cu=an(L.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 uu({children:e,internal:r,required:t,helpText:n}){return L.jsxs(fe.Box,{sx:{display:"flex",alignItems:"center",gap:.5},children:[r&&L.jsx(fe.Tooltip,{placement:"top",title:"This field is hidden from the public.",sx:{cursor:"default"},children:L.jsx(su,{fontSize:"small",htmlColor:mt.capitalDesignTokens.foundations.colors.gray600})}),L.jsxs(fe.Typography,{variant:"h4",children:[e,t&&"*"]}),n&&n!==""&&L.jsx(fe.Tooltip,{placement:"top",title:n,sx:{cursor:"default"},children:L.jsx(cu,{fontSize:"small",htmlColor:mt.capitalDesignTokens.foundations.colors.gray600})})]})}function Ba(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ha(e,r=!1){return e&&(Ba(e.value)&&e.value!==""||r&&Ba(e.defaultValue)&&e.defaultValue!=="")}function lu(e){return e.startAdornment}const qa=de.createContext(void 0);process.env.NODE_ENV!=="production"&&(qa.displayName="FormControlContext");function fu(e){return er("MuiFormControl",e)}zn("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const du=e=>{const{classes:r,margin:t,fullWidth:n}=e,a={root:["root",t!=="none"&&`margin${tt(t)}`,n&&"fullWidth"]};return qn(a,fu,r)},hu=Wa("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},r)=>({...r.root,...r[`margin${tt(e.margin)}`],...e.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%"}}]}),Va=de.forwardRef(function(r,t){const n=La({props:r,name:"MuiFormControl"}),{children:a,className:o,color:i="primary",component:s="div",disabled:u=!1,error:f=!1,focused:d,fullWidth:h=!1,hiddenLabel:m=!1,margin:w="none",required:v=!1,size:p="medium",variant:y="outlined",...T}=n,C={...n,color:i,component:s,disabled:u,error:f,fullWidth:h,hiddenLabel:m,margin:w,required:v,size:p,variant:y},E=du(C),[O,g]=de.useState(()=>{let z=!1;return a&&de.Children.forEach(a,ae=>{if(!Fr(ae,["Input","Select"]))return;const ve=Fr(ae,["Select"])?ae.props.input:ae;ve&&lu(ve.props)&&(z=!0)}),z}),[F,$]=de.useState(()=>{let z=!1;return a&&de.Children.forEach(a,ae=>{Fr(ae,["Input","Select"])&&(Ha(ae.props,!0)||Ha(ae.props.inputProps,!0))&&(z=!0)}),z}),[R,j]=de.useState(!1);u&&R&&j(!1);const c=d!==void 0&&!u?d:R;let P;const Y=de.useRef(!1);process.env.NODE_ENV!=="production"&&(P=()=>(Y.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
104
+ `)),Y.current=!0,()=>{Y.current=!1}));const W=de.useMemo(()=>({adornedStart:O,setAdornedStart:g,color:i,disabled:u,error:f,filled:F,focused:c,fullWidth:h,hiddenLabel:m,size:p,onBlur:()=>{j(!1)},onEmpty:()=>{$(!1)},onFilled:()=>{$(!0)},onFocus:()=>{j(!0)},registerEffect:P,required:v,variant:y}),[O,i,u,f,F,c,h,m,P,v,p,y]);return L.jsx(qa.Provider,{value:W,children:L.jsx(hu,{as:s,ownerState:C,className:Gn(E.root,o),ref:t,...T,children:a})})});process.env.NODE_ENV!=="production"&&(Va.propTypes={children:A.node,classes:A.object,className:A.string,color:A.oneOfType([A.oneOf(["primary","secondary","error","info","success","warning"]),A.string]),component:A.elementType,disabled:A.bool,error:A.bool,focused:A.bool,fullWidth:A.bool,hiddenLabel:A.bool,margin:A.oneOf(["dense","none","normal"]),required:A.bool,size:A.oneOfType([A.oneOf(["medium","small"]),A.string]),sx:A.oneOfType([A.arrayOf(A.oneOfType([A.func,A.object,A.bool])),A.func,A.object]),variant:A.oneOf(["filled","outlined","standard"])});const za=6048e5,mu=864e5,Ua=6e4,Ga=36e5,pu=1e3,Qa=Symbol.for("constructDateFrom");function be(e,r){return typeof e=="function"?e(r):e&&typeof e=="object"&&Qa in e?e[Qa](r):e instanceof Date?new e.constructor(r):new Date(r)}function N(e,r){return be(r||e,e)}function qt(e,r,t){const n=N(e,t==null?void 0:t.in);return isNaN(r)?be((t==null?void 0:t.in)||e,NaN):(r&&n.setDate(n.getDate()+r),n)}function Xa(e,r,t){return be(e,+N(e)+r)}function yu(e,r,t){return Xa(e,r*1e3)}function gu(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setTime(n.getTime()+r*Ua),n}function bu(e,r,t){return Xa(e,r*Ga)}function vu(e,r,t){return qt(e,r*7,t)}function Ka(e,r,t){const n=N(e,t==null?void 0:t.in);if(isNaN(r))return be(e,NaN);if(!r)return n;const a=n.getDate(),o=be(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 wu(e,r,t){return Ka(e,r*12,t)}function Ja(e,r){const t=N(e,r==null?void 0:r.in);return t.setHours(23,59,59,999),t}let xu={};function ft(){return xu}function Tu(e,r){var s,u,f,d;const t=ft(),n=(r==null?void 0:r.weekStartsOn)??((u=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:u.weekStartsOn)??t.weekStartsOn??((d=(f=t.locale)==null?void 0:f.options)==null?void 0:d.weekStartsOn)??0,a=N(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 Za(e,r){const t=N(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 Eu={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"}},Su=(e,r,t)=>{let n;const a=Eu[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 Cu={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ou={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ku={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Pu={date:on({formats:Cu,defaultWidth:"full"}),time:on({formats:Ou,defaultWidth:"full"}),dateTime:on({formats:ku,defaultWidth:"full"})},_u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Mu=(e,r,t,n)=>_u[e];function Vt(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 Du={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ru={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Au={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"]},$u={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"]},Iu={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"}},Nu={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"}},Fu={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:Vt({values:Du,defaultWidth:"wide"}),quarter:Vt({values:Ru,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Vt({values:Au,defaultWidth:"wide"}),day:Vt({values:$u,defaultWidth:"wide"}),dayPeriod:Vt({values:Iu,defaultWidth:"wide",formattingValues:Nu,defaultFormattingWidth:"wide"})};function zt(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],u=Array.isArray(s)?Yu(s,h=>h.test(i)):ju(s,h=>h.test(i));let f;f=e.valueCallback?e.valueCallback(u):u,f=t.valueCallback?t.valueCallback(f):f;const d=r.slice(i.length);return{value:f,rest:d}}}function ju(e,r){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&r(e[t]))return t}function Yu(e,r){for(let t=0;t<e.length;t++)if(r(e[t]))return t}function Wu(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 Lu=/^(\d+)(th|st|nd|rd)?/i,Bu=/\d+/i,Hu={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},qu={any:[/^b/i,/^(a|c)/i]},Vu={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},zu={any:[/1/i,/2/i,/3/i,/4/i]},Uu={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},Gu={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]},Qu={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},Xu={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]},Ku={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},Ju={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}},Zu={ordinalNumber:Wu({matchPattern:Lu,parsePattern:Bu,valueCallback:e=>parseInt(e,10)}),era:zt({matchPatterns:Hu,defaultMatchWidth:"wide",parsePatterns:qu,defaultParseWidth:"any"}),quarter:zt({matchPatterns:Vu,defaultMatchWidth:"wide",parsePatterns:zu,defaultParseWidth:"any",valueCallback:e=>e+1}),month:zt({matchPatterns:Uu,defaultMatchWidth:"wide",parsePatterns:Gu,defaultParseWidth:"any"}),day:zt({matchPatterns:Qu,defaultMatchWidth:"wide",parsePatterns:Xu,defaultParseWidth:"any"}),dayPeriod:zt({matchPatterns:Ku,defaultMatchWidth:"any",parsePatterns:Ju,defaultParseWidth:"any"})},sn={code:"en-US",formatDistance:Su,formatLong:Pu,formatRelative:Mu,localize:Fu,match:Zu,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Sr(e){const r=N(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 Ut(e,...r){const t=be.bind(null,r.find(n=>typeof n=="object"));return r.map(t)}function Gt(e,r){const t=N(e,r==null?void 0:r.in);return t.setHours(0,0,0,0),t}function el(e,r,t){const[n,a]=Ut(t==null?void 0:t.in,e,r),o=Gt(n),i=Gt(a),s=+o-Sr(o),u=+i-Sr(i);return Math.round((s-u)/mu)}function eo(e,r){const t=N(e,r==null?void 0:r.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function tl(e,r){const t=N(e,r==null?void 0:r.in);return el(t,eo(t))+1}function at(e,r){var s,u,f,d;const t=ft(),n=(r==null?void 0:r.weekStartsOn)??((u=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:u.weekStartsOn)??t.weekStartsOn??((d=(f=t.locale)==null?void 0:f.options)==null?void 0:d.weekStartsOn)??0,a=N(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 Ct(e,r){return at(e,{...r,weekStartsOn:1})}function to(e,r){const t=N(e,r==null?void 0:r.in),n=t.getFullYear(),a=be(t,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const o=Ct(a),i=be(t,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const s=Ct(i);return t.getTime()>=o.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function rl(e,r){const t=to(e,r),n=be(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),Ct(n)}function ro(e,r){const t=N(e,r==null?void 0:r.in),n=+Ct(t)-+rl(t);return Math.round(n/za)+1}function cn(e,r){var d,h,m,w;const t=N(e,r==null?void 0:r.in),n=t.getFullYear(),a=ft(),o=(r==null?void 0:r.firstWeekContainsDate)??((h=(d=r==null?void 0:r.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??a.firstWeekContainsDate??((w=(m=a.locale)==null?void 0:m.options)==null?void 0:w.firstWeekContainsDate)??1,i=be((r==null?void 0:r.in)||e,0);i.setFullYear(n+1,0,o),i.setHours(0,0,0,0);const s=at(i,r),u=be((r==null?void 0:r.in)||e,0);u.setFullYear(n,0,o),u.setHours(0,0,0,0);const f=at(u,r);return+t>=+s?n+1:+t>=+f?n:n-1}function nl(e,r){var s,u,f,d;const t=ft(),n=(r==null?void 0:r.firstWeekContainsDate)??((u=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:u.firstWeekContainsDate)??t.firstWeekContainsDate??((d=(f=t.locale)==null?void 0:f.options)==null?void 0:d.firstWeekContainsDate)??1,a=cn(e,r),o=be((r==null?void 0:r.in)||e,0);return o.setFullYear(a,0,n),o.setHours(0,0,0,0),at(o,r)}function un(e,r){const t=N(e,r==null?void 0:r.in),n=+at(t,r)-+nl(t,r);return Math.round(n/za)+1}function le(e,r){const t=e<0?"-":"",n=Math.abs(e).toString().padStart(r,"0");return t+n}const lt={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"},no={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 lt.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 le(i,2)}return r==="Yo"?t.ordinalNumber(o,{unit:"year"}):le(o,r.length)},R:function(e,r){const t=to(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 lt.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=un(e,n);return r==="wo"?t.ordinalNumber(a,{unit:"week"}):le(a,r.length)},I:function(e,r,t){const n=ro(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"}):lt.d(e,r)},D:function(e,r,t){const n=tl(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 lt.h(e,r)},H:function(e,r,t){return r==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):lt.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"}):lt.m(e,r)},s:function(e,r,t){return r==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):lt.s(e,r)},S:function(e,r){return lt.S(e,r)},X:function(e,r,t){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(r){case"X":return oo(n);case"XXXX":case"XX":return dt(n);case"XXXXX":case"XXX":default:return dt(n,":")}},x:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"x":return oo(n);case"xxxx":case"xx":return dt(n);case"xxxxx":case"xxx":default:return dt(n,":")}},O:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+ao(n,":");case"OOOO":default:return"GMT"+dt(n,":")}},z:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+ao(n,":");case"zzzz":default:return"GMT"+dt(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 ao(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 oo(e,r){return e%60===0?(e>0?"-":"+")+le(Math.abs(e)/60,2):dt(e,r)}function dt(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 io=(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"})}},so=(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"})}},Qt={p:so,P:(e,r)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],a=t[2];if(!a)return io(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}}",io(n,r)).replace("{{time}}",so(a,r))}},al=/^D+$/,ol=/^Y+$/,il=["D","DD","YY","YYYY"];function co(e){return al.test(e)}function uo(e){return ol.test(e)}function ln(e,r,t){const n=sl(e,r,t);if(console.warn(n),il.includes(e))throw new RangeError(n)}function sl(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 cl(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function lo(e){return!(!cl(e)&&typeof e!="number"||isNaN(+N(e)))}const ul=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ll=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,fl=/^'([^]*?)'?$/,dl=/''/g,hl=/[a-zA-Z]/;function ml(e,r,t){var d,h,m,w,v,p,y,T;const n=ft(),a=(t==null?void 0:t.locale)??n.locale??sn,o=(t==null?void 0:t.firstWeekContainsDate)??((h=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??n.firstWeekContainsDate??((w=(m=n.locale)==null?void 0:m.options)==null?void 0:w.firstWeekContainsDate)??1,i=(t==null?void 0:t.weekStartsOn)??((p=(v=t==null?void 0:t.locale)==null?void 0:v.options)==null?void 0:p.weekStartsOn)??n.weekStartsOn??((T=(y=n.locale)==null?void 0:y.options)==null?void 0:T.weekStartsOn)??0,s=N(e,t==null?void 0:t.in);if(!lo(s))throw new RangeError("Invalid time value");let u=r.match(ll).map(C=>{const E=C[0];if(E==="p"||E==="P"){const O=Qt[E];return O(C,a.formatLong)}return C}).join("").match(ul).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const E=C[0];if(E==="'")return{isToken:!1,value:pl(C)};if(no[E])return{isToken:!0,value:C};if(E.match(hl))throw new RangeError("Format string contains an unescaped latin alphabet character `"+E+"`");return{isToken:!1,value:C}});a.localize.preprocessor&&(u=a.localize.preprocessor(s,u));const f={firstWeekContainsDate:o,weekStartsOn:i,locale:a};return u.map(C=>{if(!C.isToken)return C.value;const E=C.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&uo(E)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&co(E))&&ln(E,r,String(e));const O=no[E[0]];return O(s,E,a.localize,f)}).join("")}function pl(e){const r=e.match(fl);return r?r[1].replace(dl,"'"):e}function yl(e,r){return N(e,r==null?void 0:r.in).getDate()}function fo(e,r){const t=N(e,r==null?void 0:r.in),n=t.getFullYear(),a=t.getMonth(),o=be(t,0);return o.setFullYear(n,a+1,0),o.setHours(0,0,0,0),o.getDate()}function gl(e,r){return N(e,r==null?void 0:r.in).getHours()}function bl(e,r){return N(e,r==null?void 0:r.in).getMinutes()}function vl(e,r){return N(e,r==null?void 0:r.in).getMonth()}function wl(e){return N(e).getSeconds()}function xl(e){return N(e).getMilliseconds()}function Tl(e,r){return N(e,r==null?void 0:r.in).getFullYear()}function fn(e,r){return+N(e)>+N(r)}function dn(e,r){return+N(e)<+N(r)}function El(e,r){return+N(e)==+N(r)}function Sl(e,r,t){const[n,a]=Ut(t==null?void 0:t.in,e,r);return+Gt(n)==+Gt(a)}function Cl(e,r,t){const[n,a]=Ut(t==null?void 0:t.in,e,r);return n.getFullYear()===a.getFullYear()}function Ol(e,r,t){const[n,a]=Ut(t==null?void 0:t.in,e,r);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()}function ho(e,r){const t=N(e,r==null?void 0:r.in);return t.setMinutes(0,0,0),t}function kl(e,r,t){const[n,a]=Ut(t==null?void 0:t.in,e,r);return+ho(n)==+ho(a)}function Pl(){return Object.assign({},ft())}function _l(e,r){const t=Ml(r)?new r(0):be(r,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}function Ml(e){var r;return typeof e=="function"&&((r=e.prototype)==null?void 0:r.constructor)===e}const Dl=10;class mo{constructor(){M(this,"subPriority",0)}validate(r,t){return!0}}class Rl extends mo{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 Al extends mo{constructor(t,n){super();M(this,"priority",Dl);M(this,"subPriority",-1);this.context=t||(a=>be(n,a))}set(t,n){return n.timestampIsSet?t:be(t,_l(t,this.context))}}class ne{run(r,t,n,a){const o=this.parse(r,t,n,a);return o?{setter:new Rl(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(r,t,n){return!0}}class $l extends ne{constructor(){super(...arguments);M(this,"priority",140);M(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}/},Ke={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 we(e,r){const t=r.match(e);return t?{value:parseInt(t[0],10),rest:r.slice(t[0].length)}:null}function Je(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*Ga+o*Ua+i*pu),rest:r.slice(t[0].length)}}function po(e){return we(Ce.anyDigitsSigned,e)}function Ee(e,r){switch(e){case 1:return we(Ce.singleDigit,r);case 2:return we(Ce.twoDigits,r);case 3:return we(Ce.threeDigits,r);case 4:return we(Ce.fourDigits,r);default:return we(new RegExp("^\\d{1,"+e+"}"),r)}}function Cr(e,r){switch(e){case 1:return we(Ce.singleDigitSigned,r);case 2:return we(Ce.twoDigitsSigned,r);case 3:return we(Ce.threeDigitsSigned,r);case 4:return we(Ce.fourDigitsSigned,r);default:return we(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 yo(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 go(e){return e%400===0||e%4===0&&e%100!==0}class Il extends ne{constructor(){super(...arguments);M(this,"priority",130);M(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(Ee(4,t),o);case"yo":return Oe(a.ordinalNumber(t,{unit:"year"}),o);default:return Oe(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=yo(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 Nl extends ne{constructor(){super(...arguments);M(this,"priority",130);M(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(Ee(4,t),o);case"Yo":return Oe(a.ordinalNumber(t,{unit:"year"}),o);default:return Oe(Ee(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 u=yo(a.year,i);return t.setFullYear(u,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),at(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),at(t,o)}}class Fl extends ne{constructor(){super(...arguments);M(this,"priority",130);M(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Cr(n==="R"?4:n.length,t)}set(t,n,a){const o=be(t,0);return o.setFullYear(a,0,4),o.setHours(0,0,0,0),Ct(o)}}class jl extends ne{constructor(){super(...arguments);M(this,"priority",130);M(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Cr(n==="u"?4:n.length,t)}set(t,n,a){return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}}class Yl extends ne{constructor(){super(...arguments);M(this,"priority",120);M(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 Wl extends ne{constructor(){super(...arguments);M(this,"priority",120);M(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 Ll extends ne{constructor(){super(...arguments);M(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);M(this,"priority",110)}parse(t,n,a){const o=i=>i-1;switch(n){case"M":return Oe(we(Ce.month,t),o);case"MM":return Oe(Ee(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 Bl extends ne{constructor(){super(...arguments);M(this,"priority",110);M(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(we(Ce.month,t),o);case"LL":return Oe(Ee(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 Hl(e,r,t){const n=N(e,t==null?void 0:t.in),a=un(n,t)-r;return n.setDate(n.getDate()-a*7),N(n,t==null?void 0:t.in)}class ql extends ne{constructor(){super(...arguments);M(this,"priority",100);M(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(Ce.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 at(Hl(t,a,o),o)}}function Vl(e,r,t){const n=N(e,t==null?void 0:t.in),a=ro(n,t)-r;return n.setDate(n.getDate()-a*7),n}class zl extends ne{constructor(){super(...arguments);M(this,"priority",100);M(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(Ce.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 Ct(Vl(t,a))}}const Ul=[31,28,31,30,31,30,31,31,30,31,30,31],Gl=[31,29,31,30,31,30,31,31,30,31,30,31];class Ql extends ne{constructor(){super(...arguments);M(this,"priority",90);M(this,"subPriority",1);M(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"d":return we(Ce.date,t);case"do":return a.ordinalNumber(t,{unit:"date"});default:return Ee(n.length,t)}}validate(t,n){const a=t.getFullYear(),o=go(a),i=t.getMonth();return o?n>=1&&n<=Gl[i]:n>=1&&n<=Ul[i]}set(t,n,a){return t.setDate(a),t.setHours(0,0,0,0),t}}class Xl extends ne{constructor(){super(...arguments);M(this,"priority",90);M(this,"subpriority",1);M(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(Ce.dayOfYear,t);case"Do":return a.ordinalNumber(t,{unit:"date"});default:return Ee(n.length,t)}}validate(t,n){const a=t.getFullYear();return go(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 h,m,w,v;const n=ft(),a=(t==null?void 0:t.weekStartsOn)??((m=(h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:m.weekStartsOn)??n.weekStartsOn??((v=(w=n.locale)==null?void 0:w.options)==null?void 0:v.weekStartsOn)??0,o=N(e,t==null?void 0:t.in),i=o.getDay(),u=(r%7+7)%7,f=7-a,d=r<0||r>6?r-(i+f)%7:(u+f)%7-(i+f)%7;return qt(o,d,t)}class Kl extends ne{constructor(){super(...arguments);M(this,"priority",90);M(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 Jl extends ne{constructor(){super(...arguments);M(this,"priority",90);M(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 u=Math.floor((s-1)/7)*7;return(s+o.weekStartsOn+6)%7+u};switch(n){case"e":case"ee":return Oe(Ee(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 Zl extends ne{constructor(){super(...arguments);M(this,"priority",90);M(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 u=Math.floor((s-1)/7)*7;return(s+o.weekStartsOn+6)%7+u};switch(n){case"c":case"cc":return Oe(Ee(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 ef(e,r){const t=N(e,r==null?void 0:r.in).getDay();return t===0?7:t}function tf(e,r,t){const n=N(e,t==null?void 0:t.in),a=ef(n,t),o=r-a;return qt(n,o,t)}class rf extends ne{constructor(){super(...arguments);M(this,"priority",90);M(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 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=tf(t,a),t.setHours(0,0,0,0),t}}class nf extends ne{constructor(){super(...arguments);M(this,"priority",80);M(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 af extends ne{constructor(){super(...arguments);M(this,"priority",80);M(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 of extends ne{constructor(){super(...arguments);M(this,"priority",80);M(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 sf extends ne{constructor(){super(...arguments);M(this,"priority",70);M(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,a){switch(n){case"h":return we(Ce.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 cf extends ne{constructor(){super(...arguments);M(this,"priority",70);M(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,a){switch(n){case"H":return we(Ce.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 uf extends ne{constructor(){super(...arguments);M(this,"priority",70);M(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,a){switch(n){case"K":return we(Ce.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 lf extends ne{constructor(){super(...arguments);M(this,"priority",70);M(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,a){switch(n){case"k":return we(Ce.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 ff extends ne{constructor(){super(...arguments);M(this,"priority",60);M(this,"incompatibleTokens",["t","T"])}parse(t,n,a){switch(n){case"m":return we(Ce.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 df extends ne{constructor(){super(...arguments);M(this,"priority",50);M(this,"incompatibleTokens",["t","T"])}parse(t,n,a){switch(n){case"s":return we(Ce.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 hf extends ne{constructor(){super(...arguments);M(this,"priority",30);M(this,"incompatibleTokens",["t","T"])}parse(t,n){const a=o=>Math.trunc(o*Math.pow(10,-n.length+3));return Oe(Ee(n.length,t),a)}set(t,n,a){return t.setMilliseconds(a),t}}class mf extends ne{constructor(){super(...arguments);M(this,"priority",10);M(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Je(Ke.basicOptionalMinutes,t);case"XX":return Je(Ke.basic,t);case"XXXX":return Je(Ke.basicOptionalSeconds,t);case"XXXXX":return Je(Ke.extendedOptionalSeconds,t);case"XXX":default:return Je(Ke.extended,t)}}set(t,n,a){return n.timestampIsSet?t:be(t,t.getTime()-Sr(t)-a)}}class pf extends ne{constructor(){super(...arguments);M(this,"priority",10);M(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Je(Ke.basicOptionalMinutes,t);case"xx":return Je(Ke.basic,t);case"xxxx":return Je(Ke.basicOptionalSeconds,t);case"xxxxx":return Je(Ke.extendedOptionalSeconds,t);case"xxx":default:return Je(Ke.extended,t)}}set(t,n,a){return n.timestampIsSet?t:be(t,t.getTime()-Sr(t)-a)}}class yf extends ne{constructor(){super(...arguments);M(this,"priority",40);M(this,"incompatibleTokens","*")}parse(t){return po(t)}set(t,n,a){return[be(t,a*1e3),{timestampIsSet:!0}]}}class gf extends ne{constructor(){super(...arguments);M(this,"priority",20);M(this,"incompatibleTokens","*")}parse(t){return po(t)}set(t,n,a){return[be(t,a),{timestampIsSet:!0}]}}const bf={G:new $l,y:new Il,Y:new Nl,R:new Fl,u:new jl,Q:new Yl,q:new Wl,M:new Ll,L:new Bl,w:new ql,I:new zl,d:new Ql,D:new Xl,E:new Kl,e:new Jl,c:new Zl,i:new rf,a:new nf,b:new af,B:new of,h:new sf,H:new cf,K:new uf,k:new lf,m:new ff,s:new df,S:new hf,X:new mf,x:new pf,t:new yf,T:new gf},vf=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,wf=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,xf=/^'([^]*?)'?$/,Tf=/''/g,Ef=/\S/,Sf=/[a-zA-Z]/;function Cf(e,r,t,n){var y,T,C,E,O,g,F,$;const a=()=>be((n==null?void 0:n.in)||t,NaN),o=Pl(),i=(n==null?void 0:n.locale)??o.locale??sn,s=(n==null?void 0:n.firstWeekContainsDate)??((T=(y=n==null?void 0:n.locale)==null?void 0:y.options)==null?void 0:T.firstWeekContainsDate)??o.firstWeekContainsDate??((E=(C=o.locale)==null?void 0:C.options)==null?void 0:E.firstWeekContainsDate)??1,u=(n==null?void 0:n.weekStartsOn)??((g=(O=n==null?void 0:n.locale)==null?void 0:O.options)==null?void 0:g.weekStartsOn)??o.weekStartsOn??(($=(F=o.locale)==null?void 0:F.options)==null?void 0:$.weekStartsOn)??0;if(!r)return e?a():N(t,n==null?void 0:n.in);const f={firstWeekContainsDate:s,weekStartsOn:u,locale:i},d=[new Al(n==null?void 0:n.in,t)],h=r.match(wf).map(R=>{const j=R[0];if(j in Qt){const c=Qt[j];return c(R,i.formatLong)}return R}).join("").match(vf),m=[];for(let R of h){!(n!=null&&n.useAdditionalWeekYearTokens)&&uo(R)&&ln(R,r,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&co(R)&&ln(R,r,e);const j=R[0],c=bf[j];if(c){const{incompatibleTokens:P}=c;if(Array.isArray(P)){const W=m.find(z=>P.includes(z.token)||z.token===j);if(W)throw new RangeError(`The format string mustn't contain \`${W.fullToken}\` and \`${R}\` at the same time`)}else if(c.incompatibleTokens==="*"&&m.length>0)throw new RangeError(`The format string mustn't contain \`${R}\` and any other token at the same time`);m.push({token:j,fullToken:R});const Y=c.run(e,R,i.match,f);if(!Y)return a();d.push(Y.setter),e=Y.rest}else{if(j.match(Sf))throw new RangeError("Format string contains an unescaped latin alphabet character `"+j+"`");if(R==="''"?R="'":j==="'"&&(R=Of(R)),e.indexOf(R)===0)e=e.slice(R.length);else return a()}}if(e.length>0&&Ef.test(e))return a();const w=d.map(R=>R.priority).sort((R,j)=>j-R).filter((R,j,c)=>c.indexOf(R)===j).map(R=>d.filter(j=>j.priority===R).sort((j,c)=>c.subPriority-j.subPriority)).map(R=>R[0]);let v=N(t,n==null?void 0:n.in);if(isNaN(+v))return a();const p={};for(const R of w){if(!R.validate(v,f))return a();const j=R.set(v,p,f);Array.isArray(j)?(v=j[0],Object.assign(p,j[1])):v=j}return v}function Of(e){return e.match(xf)[1].replace(Tf,"'")}function kf(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setDate(r),n}function Pf(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setHours(r),n}function _f(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setMinutes(r),n}function Mf(e,r,t){const n=N(e,t==null?void 0:t.in),a=n.getFullYear(),o=n.getDate(),i=be(e,0);i.setFullYear(a,r,15),i.setHours(0,0,0,0);const s=fo(i);return n.setMonth(r,Math.min(o,s)),n}function Df(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setSeconds(r),n}function Rf(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setMilliseconds(r),n}function Af(e,r,t){const n=N(e,t==null?void 0:t.in);return isNaN(+n)?be(e,NaN):(n.setFullYear(r),n)}function $f(e,r){const t=N(e,r==null?void 0:r.in);return t.setDate(1),t.setHours(0,0,0,0),t}function If(e,r){const t=N(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 Nf(e,r,t){const n=+N(e,t==null?void 0:t.in),[a,o]=[+N(r.start,t==null?void 0:t.in),+N(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 Ff={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"},jf={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 Yf{constructor(r){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib=void 0,this.locale=void 0,this.formats=void 0,this.formatTokenMap=Ff,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(u=>{const f=u[0];if(f==="p"||f==="P"){const d=this.longFormatters[f];return d(u,this.locale.formatLong)}return u}).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({},jf,n),this.longFormatters=a,this.lib=o||"date-fns"}}class Wf extends Yf{constructor({locale:r,formats:t}={}){if(process.env.NODE_ENV!=="production"){if(typeof qt!="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(!Qt)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:Qt}),this.parse=(n,a)=>n===""?null:Cf(n,a,new Date,{locale:this.locale}),this.isValid=n=>n==null?!1:lo(n),this.format=(n,a)=>this.formatByString(n,this.formats[a]),this.formatByString=(n,a)=>ml(n,a,{locale:this.locale}),this.isEqual=(n,a)=>n===null&&a===null?!0:n===null||a===null?!1:El(n,a),this.isSameYear=(n,a)=>Cl(n,a),this.isSameMonth=(n,a)=>Ol(n,a),this.isSameDay=(n,a)=>Sl(n,a),this.isSameHour=(n,a)=>kl(n,a),this.isAfter=(n,a)=>fn(n,a),this.isAfterYear=(n,a)=>fn(n,Za(a)),this.isAfterDay=(n,a)=>fn(n,Ja(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])=>Nf(n,{start:a,end:o}),this.startOfYear=n=>eo(n),this.startOfMonth=n=>$f(n),this.startOfWeek=n=>at(n,{locale:this.locale}),this.startOfDay=n=>Gt(n),this.endOfYear=n=>Za(n),this.endOfMonth=n=>If(n),this.endOfWeek=n=>Tu(n,{locale:this.locale}),this.endOfDay=n=>Ja(n),this.addYears=(n,a)=>wu(n,a),this.addMonths=(n,a)=>Ka(n,a),this.addWeeks=(n,a)=>vu(n,a),this.addDays=(n,a)=>qt(n,a),this.addHours=(n,a)=>bu(n,a),this.addMinutes=(n,a)=>gu(n,a),this.addSeconds=(n,a)=>yu(n,a),this.getYear=n=>Tl(n),this.getMonth=n=>vl(n),this.getDate=n=>yl(n),this.getHours=n=>gl(n),this.getMinutes=n=>bl(n),this.getSeconds=n=>wl(n),this.getMilliseconds=n=>xl(n),this.setYear=(n,a)=>Af(n,a),this.setMonth=(n,a)=>Mf(n,a),this.setDate=(n,a)=>kf(n,a),this.setHours=(n,a)=>Pf(n,a),this.setMinutes=(n,a)=>_f(n,a),this.setSeconds=(n,a)=>Df(n,a),this.setMilliseconds=(n,a)=>Rf(n,a),this.getDaysInMonth=n=>fo(n),this.getWeekArray=n=>{const a=this.startOfWeek(this.startOfMonth(n)),o=this.endOfWeek(this.endOfMonth(n));let i=0,s=a;const u=[];for(;this.isBefore(s,o);){const f=Math.floor(i/7);u[f]=u[f]||[],u[f].push(s),s=this.addDays(s,1),i+=1}return u},this.getWeekNumber=n=>un(n,{locale:this.locale}),this.getYearRange=([n,a])=>{const o=this.startOfYear(n),i=this.endOfYear(a),s=[];let u=o;for(;this.isBefore(u,i);)s.push(u),u=this.addYears(u,1);return s}}}function Lf({children:e,onSubmit:r,layout:t,sx:n}){return L.jsx(Tn.LocalizationProvider,{dateAdapter:Wf,adapterLocale:void 0,children:L.jsx($o,{layout:t,children:L.jsx(Va,{sx:n,children:L.jsx("form",{onSubmit:r,children:e})})})})}function Bf({children:e,onSubmit:r=()=>{},layout:t,formOptions:n={},sx:a}){const o=it.useForm(n);return L.jsx(it.FormProvider,{...o,children:L.jsx(Lf,{onSubmit:o.handleSubmit(r),layout:t,sx:a,children:e})})}function Hf(){return L.jsx("div",{children:"FormRenderer"})}ye.CalculatedNumberInput=ou,ye.Checkbox=Io,ye.DateInput=No,ye.FormFieldLabel=uu,ye.FormProvider=Bf,ye.NumberInput=Fo,ye.Select=iu,ye.TextInput=On,ye.default=Hf,Object.defineProperties(ye,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});