@opengov/form-renderer 0.0.13 → 0.0.14
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.js +1367 -1180
- package/dist/lib.umd.cjs +26 -26
- package/package.json +1 -1
package/dist/lib.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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
|
|
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 yd=Object.defineProperty;var gd=(ye,Me,fe)=>Me in ye?yd(ye,Me,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ye[Me]=fe;var M=(ye,Me,fe)=>gd(ye,typeof Me!="symbol"?Me+"":Me,fe);function Ao(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const de=Ao(Me);function $o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jt={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 En;function
|
|
9
|
+
*/var En;function Io(){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 Sn;function
|
|
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=
|
|
17
|
+
*/var Sn;function No(){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 q(){{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 H=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=H.current,H.current=null,q();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
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,
|
|
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=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={},xo=T.ReactDebugCurrentFrame;function _r(l){if(l){var x=l._owner,_=ze(l.type,l._source,x?x.type:null);xo.setExtraStackFrame(_)}else xo.setExtraStackFrame(null)}function Gf(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)&&(_r(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),_r(null)),J instanceof Error&&!(J.message in Xt)&&(Xt[J.message]=!0,_r(ue),C("Failed %s type: %s",_,J.message),_r(null))}}}var Qf=Array.isArray;function yn(l){return Qf(l)}function Xf(l){{var x=typeof Symbol=="function"&&Symbol.toStringTag,_=x&&l[Symbol.toStringTag]||l.constructor.name||"Object";return _}}function Kf(l){try{return To(l),!1}catch{return!0}}function To(l){return""+l}function Eo(l){if(Kf(l))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Xf(l)),To(l)}var Kt=T.ReactCurrentOwner,Jf={key:!0,ref:!0,__self:!0,__source:!0},So,Co,gn;gn={};function Zf(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 ed(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 td(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 rd(l,x){{var _=function(){So||(So=!0,C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",x))};_.isReactWarning=!0,Object.defineProperty(l,"key",{get:_,configurable:!0})}}function nd(l,x){{var _=function(){Co||(Co=!0,C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",x))};_.isReactWarning=!0,Object.defineProperty(l,"ref",{get:_,configurable:!0})}}var ad=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 od(l,x,_,B,ue){{var pe,ee={},J=null,Ie=null;_!==void 0&&(Eo(_),J=""+_),ed(x)&&(Eo(x.key),J=""+x.key),Zf(x)&&(Ie=x.ref,td(x,ue));for(pe in x)Ze.call(x,pe)&&!Jf.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&&rd(ee,_e),Ie&&nd(ee,_e)}return ad(l,J,Ie,ue,B,Kt.current,ee)}}var bn=T.ReactCurrentOwner,Oo=T.ReactDebugCurrentFrame;function kt(l){if(l){var x=l._owner,_=ze(l.type,l._source,x?x.type:null);Oo.setExtraStackFrame(_)}else Oo.setExtraStackFrame(null)}var vn;vn=!1;function wn(l){return typeof l=="object"&&l!==null&&l.$$typeof===r}function ko(){{if(bn.current){var l=W(bn.current.type);if(l)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+l+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+l+"`."}return""}}function id(l){return""}var Po={};function sd(l){{var x=ko();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
|
|
25
|
+
Check the top-level render call using <`+_+">.")}return x}}function _o(l,x){{if(!l._store||l._store.validated||l.key!=null)return;l._store.validated=!0;var _=sd(x);if(Po[_])return;Po[_]=!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 Mo(l,x){{if(typeof l!="object")return;if(yn(l))for(var _=0;_<l.length;_++){var B=l[_];wn(B)&&_o(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)&&_o(ee.value,x)}}}function cd(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);Gf(_,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 ud(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 Do={};function Ro(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=id();Ie?J+=Ie:J+=ko();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=od(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++)Mo(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 Mo(Ve,l)}if(Ze.call(x,"key")){var ht=W(l),je=Object.keys(x).filter(function(pd){return pd!=="key"}),xn=je.length>0?"{key: someKey, "+je.join(": ..., ")+": ...}":"{key: someKey}";if(!Do[ht+xn]){var md=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} />`,xn,ht,
|
|
30
|
+
<%s key={someKey} {...props} />`,xn,ht,md,ht),Do[ht+xn]=!0}}return l===n?ud(_e):cd(_e),_e}}function ld(l,x,_){return Ro(l,x,_,!0)}function fd(l,x,_){return Ro(l,x,_,!1)}var dd=fd,hd=ld;Mt.Fragment=n,Mt.jsx=dd,Mt.jsxs=hd}()),Mt}var Cn;function Fo(){return Cn||(Cn=1,process.env.NODE_ENV==="production"?Jt.exports=Io():Jt.exports=No()),Jt.exports}var L=Fo();const On=Me.createContext(void 0),jo=({children:e,layout:r={}})=>L.jsx(On.Provider,{value:{layout:r},children:e}),Zt=()=>{const e=Me.useContext(On);if(!e)throw new Error("useFormLayout must be used within a FormLayoutProvider");return e.layout};function Yo({name:e,label:r,sx:t={},disabled:n,rules:a={},...o}){const{field:i,fieldState:{error:s}}=it.useController({name:e,rules:a}),f={...Zt(),...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 Wo({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 kn({name:e,label:r,rules:t={},sx:n={},...a}){const{field:o,fieldState:{error:i}}=it.useController({name:e,rules:t}),u={...Zt(),...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 Lo(e){return L.jsx(kn,{...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 Pn(e){if(de.isValidElement(e)||!et(e))return e;const r={};return Object.keys(e).forEach(t=>{r[t]=Pn(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])?Pn(r[a]):r[a]:n[a]=r[a]}),n}var er={exports:{}},tr={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
|
|
37
|
+
*/var _n;function Bo(){if(_n)return oe;_n=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,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
|
|
44
|
+
*/var Mn;function qo(){return Mn||(Mn=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 q(k){return O(k)===d}function K(k){return O(k)===n}function H(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=q,ie.isFragment=K,ie.isLazy=H,ie.isMemo=V,ie.isPortal=Q,ie.isProfiler=Z,ie.isStrictMode=X,ie.isSuspense=De,ie.isValidElementType=E,ie.typeOf=O}()),ie}var Dn;function Rn(){return Dn||(Dn=1,process.env.NODE_ENV==="production"?tr.exports=Bo():tr.exports=qo()),tr.exports}/*
|
|
45
45
|
object-assign
|
|
46
46
|
(c) Sindre Sorhus
|
|
47
47
|
@license MIT
|
|
48
|
-
*/var
|
|
49
|
-
Valid keys: `+JSON.stringify(Object.keys(S),null," "));var k=De(V,X,
|
|
48
|
+
*/var Mr,An;function Ho(){if(An)return Mr;An=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 Mr=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},Mr}var Dr,$n;function Rr(){if($n)return Dr;$n=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Dr=e,Dr}var Ar,In;function Nn(){return In||(In=1,Ar=Function.call.bind(Object.prototype.hasOwnProperty)),Ar}var $r,Fn;function Vo(){if(Fn)return $r;Fn=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=Rr(),t={},n=Nn();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={})},$r=a,$r}var Ir,jn;function zo(){if(jn)return Ir;jn=1;var e=Rn(),r=Ho(),t=Rr(),n=Nn(),a=Vo(),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 Ir=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,H,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 H[V]==null?K?H[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(H,V,Q,Z,X)}var q=U.bind(null,!1);return q.isRequired=U.bind(null,!0),q}function T(S){function D(G,U,q,K,H,V){var Q=G[U],Z=ve(Q);if(Z!==S){var X=$e(Q);return new p("Invalid "+K+" `"+H+"` of type "+("`"+X+"` supplied to `"+q+"`, expected ")+("`"+S+"`."),{expectedType:S})}return null}return y(D)}function C(){return y(i)}function E(S){function D(G,U,q,K,H){if(typeof S!="function")return new p("Property `"+H+"` of component `"+q+"` has invalid PropType notation inside arrayOf.");var V=G[U];if(!Array.isArray(V)){var Q=ve(V);return new p("Invalid "+K+" `"+H+"` of type "+("`"+Q+"` supplied to `"+q+"`, expected an array."))}for(var Z=0;Z<V.length;Z++){var X=S(V,Z,q,K,H+"["+Z+"]",t);if(X instanceof Error)return X}return null}return y(D)}function O(){function S(D,G,U,q,K){var H=D[G];if(!s(H)){var V=ve(H);return new p("Invalid "+q+" `"+K+"` of type "+("`"+V+"` supplied to `"+U+"`, expected a single ReactElement."))}return null}return y(S)}function g(){function S(D,G,U,q,K){var H=D[G];if(!e.isValidElementType(H)){var V=ve(H);return new p("Invalid "+q+" `"+K+"` of type "+("`"+V+"` supplied to `"+U+"`, expected a single ReactElement type."))}return null}return y(S)}function F(S){function D(G,U,q,K,H){if(!(G[U]instanceof S)){var V=S.name||m,Q=ot(G[U]);return new p("Invalid "+K+" `"+H+"` of type "+("`"+Q+"` supplied to `"+q+"`, 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,q,K,H){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+" `"+H+"` of value `"+String(V)+"` "+("supplied to `"+q+"`, expected one of "+Z+"."))}return y(D)}function R(S){function D(G,U,q,K,H){if(typeof S!="function")return new p("Property `"+H+"` of component `"+q+"` has invalid PropType notation inside objectOf.");var V=G[U],Q=ve(V);if(Q!=="object")return new p("Invalid "+K+" `"+H+"` of type "+("`"+Q+"` supplied to `"+q+"`, expected an object."));for(var Z in V)if(n(V,Z)){var X=S(V,Z,q,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 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(q,K,H,V,Q){for(var Z=[],X=0;X<S.length;X++){var De=S[X],k=De(q,K,H,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 "+("`"+H+"`"+Fe+"."))}return y(U)}function c(){function S(D,G,U,q,K){return z(D[G])?null:new p("Invalid "+q+" `"+K+"` supplied to "+("`"+U+"`, expected a ReactNode."))}return y(S)}function P(S,D,G,U,q){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 `"+q+"`.")}function Y(S){function D(G,U,q,K,H){var V=G[U],Q=ve(V);if(Q!=="object")return new p("Invalid "+K+" `"+H+"` of type `"+Q+"` "+("supplied to `"+q+"`, expected `object`."));for(var Z in S){var X=S[Z];if(typeof X!="function")return P(q,K,H,Z,$e(X));var De=X(V,Z,q,K,H+"."+Z,t);if(De)return De}return null}return y(D)}function W(S){function D(G,U,q,K,H){var V=G[U],Q=ve(V);if(Q!=="object")return new p("Invalid "+K+" `"+H+"` of type `"+Q+"` "+("supplied to `"+q+"`, 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(q,K,H,X,$e(De));if(!De)return new p("Invalid "+K+" `"+H+"` key `"+X+"` supplied to `"+q+"`.\nBad object: "+JSON.stringify(G[U],null," ")+`
|
|
49
|
+
Valid keys: `+JSON.stringify(Object.keys(S),null," "));var k=De(V,X,q,K,H+"."+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 q=U.value;if(q&&!z(q[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},Ir}var Nr,Yn;function Uo(){if(Yn)return Nr;Yn=1;var e=Rr();function r(){}function t(){}return t.resetWarningCache=r,Nr=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},Nr}var Wn;function Go(){if(Wn)return er.exports;if(Wn=1,process.env.NODE_ENV!=="production"){var e=Rn(),r=!0;er.exports=zo()(e.isElement,r)}else er.exports=Uo()();return er.exports}var Qo=Go();const A=$o(Qo);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 rr={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(V,X,H,K,q+"."+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
|
|
57
|
+
*/var Ln;function Xo(){if(Ln)return se;Ln=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,20 +62,20 @@ Valid keys: `+JSON.stringify(Object.keys(S),null," "));var k=De(V,X,H,K,q+"."+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
|
|
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
|
|
65
|
+
*/var Bn;function Ko(){return Bn||(Bn=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 q(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 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=q,ce.isForwardRef=K,ce.isFragment=H,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}var qn;function Jo(){return qn||(qn=1,process.env.NODE_ENV==="production"?rr.exports=Xo():rr.exports=Ko()),rr.exports}var Hn=Jo();function Vn(e,r=""){return e.displayName||e.name||r}function zn(e,r,t){const n=Vn(r);return e.displayName||(n!==""?`${t}(${n})`:t)}function Zo(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Vn(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Hn.ForwardRef:return zn(e,e.render,"ForwardRef");case Hn.Memo:return zn(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 Un(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 Gn=e=>e,ei=(()=>{let e=Gn;return{configure(r){e=r},generate(r){return e(r)},reset(){e=Gn}}})(),ti={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function nr(e,r,t="Mui"){const n=ti[r];return n?`${t}-${n}`:`${ei.generate(e)}-${r}`}function Qn(e,r,t="Mui"){const n={};return r.forEach(a=>{n[a]=nr(e,a,t)}),n}function ri(e,r=Number.MIN_SAFE_INTEGER,t=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,t))}function Xn(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=Xn(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Kn(){for(var e,r,t=0,n="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=Xn(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 ni(e,r){if(!e.containerQueries)return r;const t=Object.keys(r).filter(n=>n.startsWith("@container")).sort((n,a)=>{var i,s;const o=/min-width:\s*([0-9.]+)/;return+(((i=n.match(o))==null?void 0:i[1])||0)-+(((s=a.match(o))==null?void 0:s[1])||0)});return t.length?t.reduce((n,a)=>{const o=r[a];return delete n[a],n[a]=o,n},{...r}):r}function ai(e,r){return r==="@"||r.startsWith("@")&&(e.some(t=>r.startsWith(`@${t}`))||!!r.match(/^@\d/))}function oi(e,r){const t=r.match(/^@([^/]+)?\/?(.+)?$/);if(!t){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
66
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:st(18,`(${r})`));return null}const[,n,a]=t,o=Number.isNaN(+n)?n||0:+n;return e.containerQueries(a).up(o)}function ii(e){const r=(o,i)=>o.replace("@media",i?`@container ${i}`:"@container");function t(o,i){o.up=(...s)=>r(e.breakpoints.up(...s),i),o.down=(...s)=>r(e.breakpoints.down(...s),i),o.between=(...s)=>r(e.breakpoints.between(...s),i),o.only=(...s)=>r(e.breakpoints.only(...s),i),o.not=(...s)=>{const 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 ar={xs:0,sm:600,md:900,lg:1200,xl:1536},Jn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${ar[e]}px)`},si={containerQueries:e=>({up:r=>{let t=typeof r=="number"?r:ar[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||Jn;return r.reduce((i,s,u)=>(i[o.up(o.keys[u])]=t(r[u]),i),{})}if(typeof r=="object"){const o=n.breakpoints||Jn;return Object.keys(r).reduce((i,s)=>{if(ai(o.keys,s)){const u=oi(n.containerQueries?n:si,s);u&&(i[u]=t(r[s],s))}else if(Object.keys(o.values||ar).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 ci(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,a)=>{const o=e.up(a);return n[o]={},n},{}))||{}}function ui(e,r){return e.reduce((t,n)=>{const a=t[n];return(!a||Object.keys(a).length===0)&&delete t[n],t},r)}function or(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 ir(e,r,t,n=t){let a;return typeof e=="function"?a=e(t):Array.isArray(e)?a=e[t]||n:a=or(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=or(u,n)||{};return rt(i,s,h=>{let m=ir(f,a,h);return h===m&&typeof h=="string"&&(m=ir(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 li(e){const r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}const fi={m:"margin",p:"padding"},di={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Zn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},hi=li(e=>{if(e.length>2)if(Zn[e])e=Zn[e];else return[e];const[r,t]=e.split(""),n=fi[r],a=di[t]||"";return Array.isArray(a)?a.map(o=>n+o):[n+a]}),sr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],cr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],mi=[...sr,...cr];function Rt(e,r,t,n){const a=or(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 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)});/**
|
|
69
|
+
`)),()=>{})}function Yr(e){return Rt(e,"spacing",8,"spacing")}function At(e,r){return typeof r=="string"||r==null?r:e(r)}function pi(e,r){return t=>e.reduce((n,a)=>(n[a]=At(r,t),n),{})}function yi(e,r,t,n){if(!r.includes(t))return null;const a=hi(t),o=pi(a,n),i=e[t];return rt(e,i,o)}function ea(e,r){const t=Yr(e.theme);return Object.keys(e).map(n=>yi(e,r,n,t)).reduce(Dt,{})}function xe(e){return ea(e,sr)}xe.propTypes=process.env.NODE_ENV!=="production"?sr.reduce((e,r)=>(e[r]=ct,e),{}):{},xe.filterProps=sr;function Te(e){return ea(e,cr)}Te.propTypes=process.env.NODE_ENV!=="production"?cr.reduce((e,r)=>(e[r]=ct,e),{}):{},Te.filterProps=cr,process.env.NODE_ENV!=="production"&&mi.reduce((e,r)=>(e[r]=ct,e),{});function ur(...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 qe(e){return typeof e!="number"?e:`${e}px solid`}function He(e,r){return Se({prop:e,themeKey:"borders",transform:r})}const gi=He("border",qe),bi=He("borderTop",qe),vi=He("borderRight",qe),wi=He("borderBottom",qe),xi=He("borderLeft",qe),Ti=He("borderColor"),Ei=He("borderTopColor"),Si=He("borderRightColor"),Ci=He("borderBottomColor"),Oi=He("borderLeftColor"),ki=He("outline",qe),Pi=He("outlineColor"),lr=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};lr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:ct}:{},lr.filterProps=["borderRadius"],ur(gi,bi,vi,wi,xi,Ti,Ei,Si,Ci,Oi,lr,ki,Pi);const fr=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};fr.propTypes=process.env.NODE_ENV!=="production"?{gap:ct}:{},fr.filterProps=["gap"];const dr=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};dr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:ct}:{},dr.filterProps=["columnGap"];const hr=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};hr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:ct}:{},hr.filterProps=["rowGap"];const _i=Se({prop:"gridColumn"}),Mi=Se({prop:"gridRow"}),Di=Se({prop:"gridAutoFlow"}),Ri=Se({prop:"gridAutoColumns"}),Ai=Se({prop:"gridAutoRows"}),$i=Se({prop:"gridTemplateColumns"}),Ii=Se({prop:"gridTemplateRows"}),Ni=Se({prop:"gridTemplateAreas"}),Fi=Se({prop:"gridArea"});ur(fr,dr,hr,_i,Mi,Di,Ri,Ai,$i,Ii,Ni,Fi);function pt(e,r){return r==="grey"?r:e}const ji=Se({prop:"color",themeKey:"palette",transform:pt}),Yi=Se({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:pt}),Wi=Se({prop:"backgroundColor",themeKey:"palette",transform:pt});ur(ji,Yi,Wi);function We(e){return e<=1&&e!==0?`${e*100}%`:e}const Li=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])||ar[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 Bi=Se({prop:"minWidth",transform:We}),qi=Se({prop:"height",transform:We}),Hi=Se({prop:"maxHeight",transform:We}),Vi=Se({prop:"minHeight",transform:We});Se({prop:"size",cssProperty:"width",transform:We}),Se({prop:"size",cssProperty:"height",transform:We});const zi=Se({prop:"boxSizing"});ur(Li,Wr,Bi,qi,Hi,Vi,zi);const mr={border:{themeKey:"borders",transform:qe},borderTop:{themeKey:"borders",transform:qe},borderRight:{themeKey:"borders",transform:qe},borderBottom:{themeKey:"borders",transform:qe},borderLeft:{themeKey:"borders",transform:qe},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:qe},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:lr},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:fr},rowGap:{style:hr},columnGap:{style:dr},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 Ui(...e){const r=e.reduce((n,a)=>n.concat(Object.keys(a)),[]),t=new Set(r);return e.every(n=>t.size===Object.keys(n).length)}function Gi(e,r){return typeof e=="function"?e(r):e}function Qi(){function e(t,n,a,o){const i={[t]:n,theme:a},s=o[t];if(!s)return{[t]:n};const{cssProperty:u=t,themeKey:f,transform:d,style:h}=s;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[t]:n};const m=or(a,f)||{};return h?h(i):rt(i,n,v=>{let p=ir(m,d,v);return v===p&&typeof v=="string"&&(p=ir(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??mr;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=ci(a.breakpoints),d=Object.keys(f);let h=f;return Object.keys(u).forEach(m=>{const w=Gi(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}));Ui(v,w)?h[m]=r({sx:w,theme:a}):h=Dt(h,v)}else h=Dt(h,e(m,w,a,o))}),ni(a,ui(d,h))}return Array.isArray(n)?n.map(i):i(n)}return r}const yt=Qi();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 ta(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var Xi=/^((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)-.*))$/,Ki=ta(function(e){return Xi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Ji=!1;function Zi(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function es(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var ts=function(){function e(t){var n=this;this._insertTag=function(a){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(a,o),n.tags.push(a)},this.isSpeedy=t.speedy===void 0?!Ji:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(n){n.forEach(this._insertTag)},r.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(es(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Zi(a);try{o.insertRule(n,o.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(n));this.ctr++},r.flush=function(){this.tags.forEach(function(n){var a;return(a=n.parentNode)==null?void 0:a.removeChild(n)}),this.tags=[],this.ctr=0},e}(),Ae="-ms-",pr="-moz-",te="-webkit-",ra="comm",Br="rule",qr="decl",rs="@import",na="@keyframes",ns="@layer",as=Math.abs,yr=String.fromCharCode,os=Object.assign;function is(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 aa(e){return e.trim()}function ss(e,r){return(e=r.exec(e))?e[0]:e}function re(e,r,t){return e.replace(r,t)}function Hr(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 gr(e,r){return r.push(e),e}function cs(e,r){return e.map(r).join("")}var br=1,gt=1,oa=0,Ne=0,Pe=0,bt="";function vr(e,r,t,n,a,o,i){return{value:e,root:r,parent:t,type:n,props:a,children:o,line:br,column:gt,length:i,return:""}}function It(e,r){return os(vr("",null,null,"",null,null,0),e,{length:-e.length},r)}function us(){return Pe}function ls(){return Pe=Ne>0?Re(bt,--Ne):0,gt--,Pe===10&&(gt=1,br--),Pe}function Le(){return Pe=Ne<oa?Re(bt,Ne++):0,gt++,Pe===10&&(gt=1,br++),Pe}function Ge(){return Re(bt,Ne)}function wr(){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 ia(e){return br=gt=1,oa=Ue(bt=e),Ne=0,[]}function sa(e){return bt="",e}function xr(e){return aa(Nt(Ne-1,zr(e===91?e+2:e===40?e+1:e)))}function fs(e){for(;(Pe=Ge())&&Pe<33;)Le();return Ft(e)>2||Ft(Pe)>3?"":" "}function ds(e,r){for(;--r&&Le()&&!(Pe<48||Pe>102||Pe>57&&Pe<65||Pe>70&&Pe<97););return Nt(e,wr()+(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 hs(e,r){for(;Le()&&e+Pe!==57;)if(e+Pe===84&&Ge()===47)break;return"/*"+Nt(r,Ne-1)+"*"+yr(e===47?e:Le())}function ms(e){for(;!Ft(Ge());)Le();return Nt(e,Ne)}function ps(e){return sa(Tr("",null,null,null,[""],e=ia(e),0,[0],e))}function Tr(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){Hr($+=re(xr(C),"&","&\f"),"&\f")!=-1&&(T=-1);break}case 34:case 39:case 91:$+=xr(C);break;case 9:case 10:case 13:case 32:$+=fs(v);break;case 92:$+=ds(wr()-1,7);continue;case 47:switch(Ge()){case 42:case 47:gr(ys(hs(Le(),wr()),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&&gr(w>32?ua($+";",n,t,h-1):ua(re($," ","")+";",n,t,h-2),u);break;case 59:$+=";";default:if(gr(F=ca($,r,t,f,d,a,s,E,O=[],g=[],h),o),C===123)if(d===0)Tr($,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:Tr(e,F,F,n&&gr(ca(e,F,F,0,0,a,s,E,a,O=[],h),g),a,g,h,s,n?O:g);break;default:Tr($,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&&ls()==125)continue}switch($+=yr(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&&($+=xr(Le())),m=Ge(),d=h=Ue(E=$+=ms(wr())),C++;break;case 45:v===45&&Ue($)==2&&(p=0)}}return o}function ca(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=as(p=i[v])),E=e;T<w;++T)(E=aa(p>0?m[T]+" "+C:re(C,/&\f/g,m[T])))&&(u[y++]=E);return vr(e,r,t,a===0?Br:s,u,f,d)}function ys(e,r,t){return vr(e,r,t,ra,yr(us()),$t(e,2,-2),0)}function ua(e,r,t,n){return vr(e,r,t,qr,$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 gs(e,r,t,n){switch(e.type){case ns:if(e.children.length)break;case rs:case qr:return e.return=e.return||e.value;case ra:return"";case na: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 bs(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 vs(e){return function(r){r.root||(r=r.return)&&e(r)}}var ws=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)},xs=function(r,t){var n=-1,a=44;do switch(Ft(a)){case 0:a===38&&Ge()===12&&(t[n]=1),r[n]+=ws(Ne-1,t,n);break;case 2:r[n]+=xr(a);break;case 4:if(a===44){r[++n]=Ge()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=yr(a)}while(a=Le());return r},Ts=function(r,t){return sa(xs(ia(r),t))},la=new WeakMap,Es=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var t=r.value,n=r.parent,a=r.column===n.column&&r.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(r.props.length===1&&t.charCodeAt(0)!==58&&!la.get(n))&&!a){la.set(r,!0);for(var o=[],i=Ts(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]}}},Ss=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function fa(e,r){switch(is(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+pr+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"+pr+(Re(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Hr(e,"stretch")?fa(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-(~Hr(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 Cs=function(r,t,n,a){if(r.length>-1&&!r.return)switch(r.type){case qr:r.return=fa(r.value,r.length);break;case na:return vt([It(r,{value:re(r.value,"@","@"+te)})],a);case Br:if(r.length)return cs(r.props,function(o){switch(ss(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return vt([It(r,{props:[re(o,/:(read-\w+)/,":"+pr+"$1")]})],a);case"::placeholder":return vt([It(r,{props:[re(o,/:(plac\w+)/,":"+te+"input-$1")]}),It(r,{props:[re(o,/:(plac\w+)/,":"+pr+"$1")]}),It(r,{props:[re(o,/:(plac\w+)/,Ae+"input-$1")]})],a)}return""})}},Os=[Cs],ks=function(r){var t=r.key;if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(p){var y=p.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var a=r.stylisPlugins||Os,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=[Es,Ss];{var d,h=[gs,vs(function(p){d.insert(p)})],m=bs(f.concat(a,h)),w=function(y){return vt(ps(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 ts({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},Ps=!0;function _s(e,r,t){var n="";return t.split(" ").forEach(function(a){e[a]!==void 0?r.push(e[a]+";"):a&&(n+=a+" ")}),n}var da=function(r,t,n){var a=r.key+"-"+t.name;(n===!1||Ps===!1)&&r.registered[a]===void 0&&(r.registered[a]=t.styles)},Ms=function(r,t,n){da(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 Ds(e){for(var r=0,t,n=0,a=e.length;a>=4;++n,a-=4)t=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(a){case 3:r^=(e.charCodeAt(n+2)&255)<<16;case 2:r^=(e.charCodeAt(n+1)&255)<<8;case 1:r^=e.charCodeAt(n)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var Rs={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},As=!1,$s=/[A-Z]|^ms/g,Is=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ha=function(r){return r.charCodeAt(1)===45},ma=function(r){return r!=null&&typeof r!="boolean"},Ur=ta(function(e){return ha(e)?e:e.replace($s,"-$&").toLowerCase()}),pa=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(Is,function(n,a,o){return Qe={name:a,styles:o,next:Qe},a})}return Rs[r]!==1&&!ha(r)&&typeof t=="number"&&t!==0?t+"px":t},Ns="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function 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 Fs(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 Fs(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]+"}":ma(s)&&(n+=Ur(o)+":"+pa(o,s)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&As)throw new Error(Ns);if(Array.isArray(i)&&typeof i[0]=="string"&&(r==null||r[i[0]]===void 0))for(var u=0;u<i.length;u++)ma(i[u])&&(n+=Ur(o)+":"+pa(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 ya=/label:\s*([^\s;{]+)\s*(;|$)/g,Qe;function ga(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]}ya.lastIndex=0;for(var f="",d;(d=ya.exec(a))!==null;)f+="-"+d[1];var h=Ds(a)+f;return{name:h,styles:a,next:Qe}}var js=function(r){return r()},Ys=de.useInsertionEffect?de.useInsertionEffect:!1,Ws=Ys||js,ba=de.createContext(typeof HTMLElement<"u"?ks({key:"css"}):null);ba.Provider;var Ls=function(r){return Me.forwardRef(function(t,n){var a=Me.useContext(ba);return r(t,a,n)})},Bs=de.createContext({}),qs=Ki,Hs=function(r){return r!=="theme"},va=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?qs:Hs},wa=function(r,t,n){var a;if(t){var o=t.shouldForwardProp;a=r.__emotion_forwardProp&&o?function(i){return r.__emotion_forwardProp(i)&&o(i)}:o}return typeof a!="function"&&n&&(a=r.__emotion_forwardProp),a},Vs=!1,zs=function(r){var t=r.cache,n=r.serialized,a=r.isStringTag;return da(t,n,a),Ws(function(){return Ms(t,n,a)}),null},Us=function e(r,t){var n=r.__emotion_real===r,a=n&&r.__emotion_base||r,o,i;t!==void 0&&(o=t.label,i=t.target);var s=wa(r,t,n),u=s||va(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=Ls(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(Bs)}typeof p.className=="string"?E=_s(y.registered,O,p.className):p.className!=null&&(E=p.className+" ");var $=ga(h.concat(O),y.registered,g);E+=y.key+"-"+$.name,i!==void 0&&(E+=" "+i);var R=f&&s===void 0?va(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(zs,{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&&Vs?"NO_COMPONENT_SELECTOR":"."+i}}),v.withComponent=function(p,y){return e(p,Lr({},t,y,{shouldForwardProp:wa(v,y,!0)})).apply(void 0,h)},v}},Gs=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Gr=Us.bind();Gs.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
|
|
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
|
|
75
|
+
*/function Qs(e,r){const t=Gr(e,r);return process.env.NODE_ENV!=="production"?(...n)=>{const a=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${a})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
76
|
+
`)):n.some(o=>o===void 0)&&console.error(`MUI: the styled(${a})(...args) API requires all its args to be defined.`),t(...n)}:t}function Xs(e,r){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))}const xa=[];function Ta(e){return xa[0]=e,ga(xa)}const Ks=e=>{const r=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return r.sort((t,n)=>t.val-n.val),r.reduce((t,n)=>({...t,[n.key]:n.val}),{})};function Js(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:n=5,...a}=e,o=Ks(r),i=Object.keys(o);function s(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 Zs={borderRadius:4};function Ea(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 ec(e,r){var n;const t=this;if(t.vars){if(!((n=t.colorSchemes)!=null&&n[e])||typeof t.getColorSchemeSelector!="function")return{};let a=t.getColorSchemeSelector(e);return a==="&"?r:((a.includes("data-")||a.includes("."))&&(a=`*:where(${a.replace(/\s*&$/,"")}) &`),{[a]:r})}return t.palette.mode===e?r:{}}function Sa(e={},...r){const{breakpoints:t={},palette:n={},spacing:a,shape:o={},...i}=e,s=Js(t),u=Ea(a);let f=Ye({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...Zs,...o}},i);return f=ii(f),f.applyStyles=ec,f=r.reduce((d,h)=>Ye(d,h),f),f.unstable_sxConfig={...mr,...i==null?void 0:i.unstable_sxConfig},f.unstable_sx=function(h){return yt({sx:h,theme:this})},f}function Ca(e){const{variants:r,...t}=e,n={variants:r,style:Ta(t),isProcessed:!0};return n.style===t||r&&r.forEach(a=>{typeof a.style!="function"&&(a.style=Ta(a.style))}),n}const tc=Sa();function Qr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function rc(e){return e?(r,t)=>t[e]:null}function nc(e,r,t){e.theme=sc(e.theme)?t:e.theme[r]||e.theme}function Er(e,r){const t=typeof r=="function"?r(e):r;if(Array.isArray(t))return t.flatMap(n=>Er(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 Oa(e,t.variants,[n])}return t!=null&&t.isProcessed?t.style:t}function Oa(e,r,t=[]){var a;let n;e:for(let o=0;o<r.length;o+=1){const i=r[o];if(typeof i.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!i.props(n))continue}else for(const s in i.props)if(e[s]!==i.props[s]&&((a=e.ownerState)==null?void 0:a[s])!==i.props[s])continue e;typeof i.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),t.push(i.style(n))):t.push(i.style)}return t}function ac(e={}){const{themeId:r,defaultTheme:t=tc,rootShouldForwardProp:n=Qr,slotShouldForwardProp:a=Qr}=e;function o(s){nc(s,r,t)}return(s,u={})=>{Xs(s,g=>g.filter(F=>F!==yt));const{name:f,slot:d,skipVariantsResolver:h,skipSx:m,overridesResolver:w=rc(ka(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:cc(s)&&(T=void 0);const C=Qs(s,{shouldForwardProp:T,label:ic(f,d),...v}),E=g=>{if(typeof g=="function"&&g.__emotion_real!==g)return function($){return Er($,g)};if(et(g)){const F=Ca(g);return F.variants?function(R){return Er(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]=Er(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?Oa(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=oc(f,d,s)),c};return C.withConfig&&(O.withConfig=C.withConfig),O}}function oc(e,r,t){return e?`${e}${tt(r||"")}`:`Styled(${Zo(t)})`}function ic(e,r){let t;return process.env.NODE_ENV!=="production"&&e&&(t=`${e}-${ka(r||"Root")}`),t}function sc(e){for(const r in e)return!1;return!0}function cc(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ka(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Xr(e,r=0,t=1){return process.env.NODE_ENV!=="production"&&(e<r||e>t)&&console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),ri(e,r,t)}function uc(e){e=e.slice(1);const r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let t=e.match(r);return t&&t[0].length===1&&(t=t.map(n=>n+n)),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(uc(e));const r=e.indexOf("("),t=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(t))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
77
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
|
|
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 lc=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 lc(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function Sr(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 Pa(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])),Sr({type:s,values:u})}function Kr(e){e=ut(e);let r=e.type==="hsl"||e.type==="hsla"?ut(Pa(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 _a(e,r){const t=Kr(e),n=Kr(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)}function fc(e,r){return e=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,Sr(e)}function Cr(e,r,t){try{return fc(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 Sr(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 Sr(e)}function me(e,r,t){try{return Zr(e,r)}catch{return e}}function dc(e,r=.15){return Kr(e)>.5?Jr(e,r):Zr(e,r)}function Or(e,r,t){try{return dc(e,r)}catch{return e}}const hc=de.createContext(void 0);process.env.NODE_ENV!=="production"&&(A.node,A.object);function mc(e){const{theme:r,name:t,props:n}=e;if(!r||!r.components||!r.components[t])return n;const a=r.components[t];return a.defaultProps?jr(a.defaultProps,n):!a.styleOverrides&&!a.variants?jr(a,n):n}function pc({props:e,name:r}){const t=de.useContext(hc);return mc({props:e,name:r,theme:{components:t}})}const Ma={theme:void 0};function yc(e){let r,t;return function(a){let o=r;return(o===void 0||a.theme!==t)&&(Ma.theme=a.theme,o=Ca(e(Ma)),r=o,t=a.theme),o}}function gc(e=""){function r(...n){if(!n.length)return"";const a=n[0];return typeof a=="string"&&!a.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${a}${r(...n.slice(1))})`:`, ${a}`}return(n,...a)=>`var(--${e?`${e}-`:""}${n}${r(...a)})`}const Da=(e,r,t,n=[])=>{let a=e;r.forEach((o,i)=>{i===r.length-1?Array.isArray(a)?a[Number(o)]=t:a&&typeof a=="object"&&(a[o]=t):a&&typeof a=="object"&&(a[o]||(a[o]=n.includes(o)?[]:{}),a=a[o])})},bc=(e,r,t)=>{function n(a,o=[],i=[]){Object.entries(a).forEach(([s,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)},vc=(e,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function en(e,r){const{prefix:t,shouldSkipGeneratingVar:n}=r||{},a={},o={},i={};return bc(e,(s,u,f)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(s,u))){const d=`--${t?`${t}-`:""}${s.join("-")}`,h=vc(s,u);Object.assign(a,{[d]:h}),Da(o,s,`var(${d})`,f),Da(i,s,`var(${d}, ${h})`,f)}},s=>s[0]==="vars"),{css:a,vars:o,varsWithDefaults:i}}function wc(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 xc(e){return function(t){return e==="media"?(process.env.NODE_ENV!=="production"&&t!=="light"&&t!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`),`@media (prefers-color-scheme: ${t})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:e==="class"?`.${t} &`:e==="data"?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}const Wt={black:"#000",white:"#fff"},Tc={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},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 Ra(){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 Ec=Ra();function Aa(){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 $a=Aa();function Ia(e,r,t,n){const a=n.light||n,o=n.dark||n*1.5;e[r]||(e.hasOwnProperty(t)?e[r]=e[t]:r==="light"?e.light=Zr(e.main,a):r==="dark"&&(e.dark=Jr(e.main,o)))}function Sc(e="light"){return e==="dark"?{main:Tt[200],light:Tt[50],dark:Tt[400]}:{main:Tt[700],light:Tt[400],dark:Tt[800]}}function Cc(e="light"){return e==="dark"?{main:wt[200],light:wt[50],dark:wt[400]}:{main:wt[500],light:wt[300],dark:wt[700]}}function Oc(e="light"){return e==="dark"?{main:xt[500],light:xt[300],dark:xt[700]}:{main:xt[700],light:xt[400],dark:xt[800]}}function kc(e="light"){return e==="dark"?{main:Et[400],light:Et[300],dark:Et[700]}:{main:Et[700],light:Et[500],dark:Et[900]}}function Pc(e="light"){return e==="dark"?{main:St[400],light:St[300],dark:St[700]}:{main:St[800],light:St[500],dark:St[900]}}function _c(e="light"){return e==="dark"?{main:Lt[400],light:Lt[300],dark:Lt[700]}:{main:"#ed6c02",light:Lt[500],dark:Lt[900]}}function tn(e){const{mode:r="light",contrastThreshold:t=3,tonalOffset:n=.2,...a}=e,o=e.primary||Sc(r),i=e.secondary||Cc(r),s=e.error||Oc(r),u=e.info||kc(r),f=e.success||Pc(r),d=e.warning||_c(r);function h(p){const y=_a(p,$a.text.primary)>=t?$a.text.primary:Ec.text.primary;if(process.env.NODE_ENV!=="production"){const T=_a(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
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.
|
|
@@ -90,16 +90,16 @@ const theme1 = createTheme({ palette: {
|
|
|
90
90
|
|
|
91
91
|
const theme2 = createTheme({ palette: {
|
|
92
92
|
primary: { main: green[500] },
|
|
93
|
-
} });`:st(12,y?` (${y})`:"",JSON.stringify(p.main)));return
|
|
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:
|
|
93
|
+
} });`:st(12,y?` (${y})`:"",JSON.stringify(p.main)));return Ia(p,"light",C,n),Ia(p,"dark",E,n),p.contrastText||(p.contrastText=h(p.main)),p};let w;return r==="light"?w=Ra():r==="dark"&&(w=Aa()),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:Tc,contrastThreshold:t,getContrastText:h,augmentColor:m,tonalOffset:n,...w},a)}function Mc(e){const r={};return Object.entries(e).forEach(n=>{const[a,o]=n;typeof o=="object"&&(r[a]=`${o.fontStyle?`${o.fontStyle} `:""}${o.fontVariant?`${o.fontVariant} `:""}${o.fontWeight?`${o.fontWeight} `:""}${o.fontStretch?`${o.fontStretch} `:""}${o.fontSize||""}${o.lineHeight?`/${o.lineHeight} `:""}${o.fontFamily||""}`)}),r}function Dc(e,r){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...r}}function Rc(e){return Math.round(e*1e5)/1e5}const Na={textTransform:"uppercase"},Fa='"Roboto", "Helvetica", "Arial", sans-serif';function Ac(e,r){const{fontFamily:t=Fa,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===Fa?{letterSpacing:`${Rc(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,Na),caption:v(o,12,1.66,.4),overline:v(o,12,2.66,1,Na),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 $c=.2,Ic=.14,Nc=.12;function ge(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${$c})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ic})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Nc})`].join(",")}const Fc=["none",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)],jc={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)"},Yc={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ja(e){return`${Math.round(e)}ms`}function Wc(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function Lc(e){const r={...jc,...e.easing},t={...Yc,...e.duration};return{getAutoHeightDuration:Wc,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:ja(i)} ${s} ${typeof u=="string"?u:ja(u)}`).join(",")},...e,easing:r,duration:t}}const Bc={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function qc(e){return et(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Ya(e={}){const r={...e};function t(n){const a=Object.entries(n);for(let o=0;o<a.length;o++){const[i,s]=a[o];!qc(s)||i.startsWith("unstable_")?delete n[i]: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.":st(20));const d=tn(o),h=
|
|
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={...
|
|
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",color:"black",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:
|
|
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=Sa(e);let m=Ye(h,{mixins:Dc(h.breakpoints,n),palette:d,shadows:Fc.slice(),typography:Ac(d,s),transitions:Lc(i),zIndex:{...Bc}});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=nr("",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={...mr,...f==null?void 0:f.unstable_sxConfig},m.unstable_sx=function(v){return yt({sx:v,theme:this})},m.toRuntimeSource=Ya,m}function Hc(e){let r;return e<1?r=5.11916*e**2:r=4.5*Math.log(e+1)+2,Math.round(r*10)/1e3}const Vc=[...Array(25)].map((e,r)=>{if(r===0)return"none";const t=Hc(r);return`linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`});function Wa(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function La(e){return e==="dark"?Vc:[]}function zc(e){const{palette:r={mode:"light"},opacity:t,overlays:n,...a}=e,o=tn(r);return{palette:o,opacity:{...Wa(o.mode),...t},overlays:n||La(o.mode),...a}}function Uc(e){var r;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((r=e[1])!=null&&r.match(/(mode|contrastThreshold|tonalOffset)/))}const Gc=e=>[...[...Array(25)].map((r,t)=>`--${e?`${e}-`:""}overlays-${t}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Qc=e=>(r,t)=>{const n=e.rootSelector||":root",a=e.colorSchemeSelector;let o=a;if(a==="class"&&(o=".%s"),a==="data"&&(o="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(o=`[${a}="%s"]`),e.defaultColorScheme===r){if(r==="dark"){const i={};return Gc(e.cssVarPrefix).forEach(s=>{i[s]=t[s],delete t[s]}),o==="media"?{[n]:t,"@media (prefers-color-scheme: dark)":{[n]:i}}:o?{[o.replace("%s",r)]:i,[`${n}, ${o.replace("%s",r)}`]:t}:{[n]:{...t,...i}}}if(o&&o!=="media")return`${n}, ${o.replace("%s",String(r))}`}else if(r){if(o==="media")return{[`@media (prefers-color-scheme: ${String(r)})`]:{[n]:t}};if(o)return o.replace("%s",String(r))}return n};function Xc(e,r){r.forEach(t=>{e[t]||(e[t]={})})}function b(e,r,t){!e[r]&&t&&(e[r]=t)}function Bt(e){return!e||!e.startsWith("hsl")?e:Pa(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 Kc(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{}},Jc=(e="mui")=>gc(e);function nn(e,r,t,n){if(!r)return;r=r===!0?{}:r;const a=n==="dark"?"dark":"light";if(!t){e[n]=zc({...r,palette:{mode:a,...r==null?void 0:r.palette}});return}const{palette:o,...i}=rn({...t,palette:{mode:a,...r==null?void 0:r.palette}});return e[n]={...r,palette:o,opacity:{...Wa(a),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||La(a)},i}function Zc(e={},...r){const{colorSchemes:t={light:!0},defaultColorScheme:n,disableCssColorScheme:a=!1,cssVarPrefix:o="mui",shouldSkipGeneratingVar:i=Uc,colorSchemeSelector:s=t.light&&t.dark?"media":void 0,rootSelector:u=":root",...f}=e,d=Object.keys(t)[0],h=n||(t.light&&d!=="light"?"light":d),m=Jc(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:{...Mc(E.typography),...E.font},spacing:Kc(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")),Xc(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=Or(c.background.default,.8);b(c.SnackbarContent,"bg",Y),b(c.SnackbarContent,"color",Xe(()=>c.getContrastText(Y))),b(c.SpeedDialAction,"fabHoverBg",Or(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(Cr(c.divider,1),.88)),b(c.Tooltip,"bg",Cr(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=Or(c.background.default,.98);b(c.SnackbarContent,"bg",Y),b(c.SnackbarContent,"color",Xe(()=>c.getContrastText(Y))),b(c.SpeedDialAction,"fabHoverBg",Or(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(Cr(c.divider,1),.68)),b(c.Tooltip,"bg",Cr(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:Qc(O)},{vars:F,generateThemeVars:$,generateStyleSheets:R}=wc(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 Ea(f.spacing,Yr(this))},O.getColorSchemeSelector=xc(s),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=i,O.unstable_sxConfig={...mr,...f==null?void 0:f.unstable_sxConfig},O.unstable_sx=function(c){return yt({sx:c,theme:this})},O.toRuntimeSource=Ya,O}function Ba(e,r,t){e.colorSchemes&&t&&(e.colorSchemes[r]={...t!==!0&&t,palette:tn({...t===!0?{}:t.palette,mode:r})})}function eu(e={},...r){const{palette:t,cssVariables:n=!1,colorSchemes:a=t?void 0:{light:!0},defaultColorScheme:o=t==null?void 0:t.mode,...i}=e,s=o||"light",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},Ba(h,"dark",f.dark)),h.palette.mode==="dark"&&(h.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:h.palette},Ba(h,"light",f.light)),h}return!t&&!("light"in f)&&s==="light"&&(f.light=!0),Zc({...i,colorSchemes:f,defaultColorScheme:s,...typeof n!="boolean"&&n},...r)}const tu=eu(),ru="$$material";function nu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const qa=ac({themeId:ru,defaultTheme:tu,rootShouldForwardProp:e=>nu(e)&&e!=="classes"}),au=yc;process.env.NODE_ENV!=="production"&&(A.node,A.object.isRequired);function Ha(e){return pc(e)}function ou(e){return nr("MuiSvgIcon",e)}Qn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const iu=e=>{const{color:r,fontSize:t,classes:n}=e,a={root:["root",r!=="inherit"&&`color${tt(r)}`,`fontSize${tt(t)}`]};return Un(a,ou,n)},su=qa("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)}`]]}})(au(({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}}]}})),qt=de.forwardRef(function(r,t){const n=Ha({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=iu(p);return L.jsxs(su,{as:s,className:Kn(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"&&(qt.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}),qt&&(qt.muiName="SvgIcon");function an(e,r){function t(n,a){return L.jsx(qt,{"data-testid":`${r}Icon`,ref:a,...n,children:e})}return process.env.NODE_ENV!=="production"&&(t.displayName=`${r}Icon`),t.muiName=qt.muiName,de.memo(de.forwardRef(t))}const cu=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 uu({name:e,label:r,sx:t={}}){const{control:n}=it.useFormContext(),o={...Zt(),...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(cu,{sx:{color:mt.capitalDesignTokens.foundations.colors.gray500}}),L.jsx("span",{children:i.value||0})]})]})})}function lu({name:e,label:r,options:t,sx:n={},disabled:a,rules:o={},...i}){const{field:s,fieldState:{error:u}}=it.useController({name:e,rules:o}),d={...Zt(),...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 fu=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"),du=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 hu({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(fu,{fontSize:"small",htmlColor:mt.capitalDesignTokens.foundations.colors.gray600})}),L.jsxs(fe.Typography,{variant:"h4",color:"black",children:[e,t&&"*"]}),n&&n!==""&&L.jsx(fe.Tooltip,{placement:"top",title:n,sx:{cursor:"default"},children:L.jsx(du,{fontSize:"small",htmlColor:mt.capitalDesignTokens.foundations.colors.gray600})})]})}function Va(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function za(e,r=!1){return e&&(Va(e.value)&&e.value!==""||r&&Va(e.defaultValue)&&e.defaultValue!=="")}function mu(e){return e.startAdornment}const Ua=de.createContext(void 0);process.env.NODE_ENV!=="production"&&(Ua.displayName="FormControlContext");function pu(e){return nr("MuiFormControl",e)}Qn("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const yu=e=>{const{classes:r,margin:t,fullWidth:n}=e,a={root:["root",t!=="none"&&`margin${tt(t)}`,n&&"fullWidth"]};return Un(a,pu,r)},gu=qa("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%"}}]}),Ga=de.forwardRef(function(r,t){const n=Ha({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=yu(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&&mu(ve.props)&&(z=!0)}),z}),[F,$]=de.useState(()=>{let z=!1;return a&&de.Children.forEach(a,ae=>{Fr(ae,["Input","Select"])&&(za(ae.props,!0)||za(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(Ua.Provider,{value:W,children:L.jsx(gu,{as:s,ownerState:C,className:Kn(E.root,o),ref:t,...T,children:a})})});process.env.NODE_ENV!=="production"&&(Ga.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 Qa=6048e5,bu=864e5,Xa=6e4,Ka=36e5,vu=1e3,Ja=Symbol.for("constructDateFrom");function be(e,r){return typeof e=="function"?e(r):e&&typeof e=="object"&&Ja in e?e[Ja](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 Za(e,r,t){return be(e,+N(e)+r)}function wu(e,r,t){return Za(e,r*1e3)}function xu(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setTime(n.getTime()+r*Xa),n}function Tu(e,r,t){return Za(e,r*Ka)}function Eu(e,r,t){return Ht(e,r*7,t)}function eo(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 Su(e,r,t){return eo(e,r*12,t)}function to(e,r){const t=N(e,r==null?void 0:r.in);return t.setHours(23,59,59,999),t}let Cu={};function ft(){return Cu}function Ou(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 ro(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 ku={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Pu=(e,r,t)=>{let n;const a=ku[e];return typeof a=="string"?n=a:r===1?n=a.one:n=a.other.replace("{{count}}",r.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n};function on(e){return(r={})=>{const t=r.width?String(r.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const _u={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Mu={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Du={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ru={date:on({formats:_u,defaultWidth:"full"}),time:on({formats:Mu,defaultWidth:"full"}),dateTime:on({formats:Du,defaultWidth:"full"})},Au={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},$u=(e,r,t,n)=>Au[e];function 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 Iu={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Nu={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Fu={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ju={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"]},Yu={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"}},Wu={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"}},Lu={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:Iu,defaultWidth:"wide"}),quarter:Vt({values:Nu,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Vt({values:Fu,defaultWidth:"wide"}),day:Vt({values:ju,defaultWidth:"wide"}),dayPeriod:Vt({values:Yu,defaultWidth:"wide",formattingValues:Wu,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)?qu(s,h=>h.test(i)):Bu(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 Bu(e,r){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&r(e[t]))return t}function qu(e,r){for(let t=0;t<e.length;t++)if(r(e[t]))return t}function Hu(e){return(r,t={})=>{const n=r.match(e.matchPattern);if(!n)return null;const a=n[0],o=r.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=t.valueCallback?t.valueCallback(i):i;const s=r.slice(a.length);return{value:i,rest:s}}}const Vu=/^(\d+)(th|st|nd|rd)?/i,zu=/\d+/i,Uu={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Gu={any:[/^b/i,/^(a|c)/i]},Qu={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Xu={any:[/1/i,/2/i,/3/i,/4/i]},Ku={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ju={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Zu={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},el={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},tl={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},rl={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},nl={ordinalNumber:Hu({matchPattern:Vu,parsePattern:zu,valueCallback:e=>parseInt(e,10)}),era:zt({matchPatterns:Uu,defaultMatchWidth:"wide",parsePatterns:Gu,defaultParseWidth:"any"}),quarter:zt({matchPatterns:Qu,defaultMatchWidth:"wide",parsePatterns:Xu,defaultParseWidth:"any",valueCallback:e=>e+1}),month:zt({matchPatterns:Ku,defaultMatchWidth:"wide",parsePatterns:Ju,defaultParseWidth:"any"}),day:zt({matchPatterns:Zu,defaultMatchWidth:"wide",parsePatterns:el,defaultParseWidth:"any"}),dayPeriod:zt({matchPatterns:tl,defaultMatchWidth:"any",parsePatterns:rl,defaultParseWidth:"any"})},sn={code:"en-US",formatDistance:Pu,formatLong:Ru,formatRelative:$u,localize:Lu,match:nl,options:{weekStartsOn:0,firstWeekContainsDate:1}};function kr(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 al(e,r,t){const[n,a]=Ut(t==null?void 0:t.in,e,r),o=Gt(n),i=Gt(a),s=+o-kr(o),u=+i-kr(i);return Math.round((s-u)/bu)}function no(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 ol(e,r){const t=N(e,r==null?void 0:r.in);return al(t,no(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 ao(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 il(e,r){const t=ao(e,r),n=be(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),Ct(n)}function oo(e,r){const t=N(e,r==null?void 0:r.in),n=+Ct(t)-+il(t);return Math.round(n/Qa)+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 sl(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)-+sl(t,r);return Math.round(n/Qa)+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"},io={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=ao(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=oo(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=ol(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 co(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 co(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"+so(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"+so(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 so(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 co(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 uo=(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"})}},lo=(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:lo,P:(e,r)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],a=t[2];if(!a)return uo(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}}",uo(n,r)).replace("{{time}}",lo(a,r))}},cl=/^D+$/,ul=/^Y+$/,ll=["D","DD","YY","YYYY"];function fo(e){return cl.test(e)}function ho(e){return ul.test(e)}function ln(e,r,t){const n=fl(e,r,t);if(console.warn(n),ll.includes(e))throw new RangeError(n)}function fl(e,r,t){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${r}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function dl(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function mo(e){return!(!dl(e)&&typeof e!="number"||isNaN(+N(e)))}const hl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ml=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,pl=/^'([^]*?)'?$/,yl=/''/g,gl=/[a-zA-Z]/;function bl(e,r,t){var 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(!mo(s))throw new RangeError("Invalid time value");let u=r.match(ml).map(C=>{const E=C[0];if(E==="p"||E==="P"){const O=Qt[E];return O(C,a.formatLong)}return C}).join("").match(hl).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const E=C[0];if(E==="'")return{isToken:!1,value:vl(C)};if(io[E])return{isToken:!0,value:C};if(E.match(gl))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)&&ho(E)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&fo(E))&&ln(E,r,String(e));const O=io[E[0]];return O(s,E,a.localize,f)}).join("")}function vl(e){const r=e.match(pl);return r?r[1].replace(yl,"'"):e}function wl(e,r){return N(e,r==null?void 0:r.in).getDate()}function po(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 xl(e,r){return N(e,r==null?void 0:r.in).getHours()}function Tl(e,r){return N(e,r==null?void 0:r.in).getMinutes()}function El(e,r){return N(e,r==null?void 0:r.in).getMonth()}function Sl(e){return N(e).getSeconds()}function Cl(e){return N(e).getMilliseconds()}function Ol(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 kl(e,r){return+N(e)==+N(r)}function Pl(e,r,t){const[n,a]=Ut(t==null?void 0:t.in,e,r);return+Gt(n)==+Gt(a)}function _l(e,r,t){const[n,a]=Ut(t==null?void 0:t.in,e,r);return n.getFullYear()===a.getFullYear()}function Ml(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 yo(e,r){const t=N(e,r==null?void 0:r.in);return t.setMinutes(0,0,0),t}function Dl(e,r,t){const[n,a]=Ut(t==null?void 0:t.in,e,r);return+yo(n)==+yo(a)}function Rl(){return Object.assign({},ft())}function Al(e,r){const t=$l(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 $l(e){var r;return typeof e=="function"&&((r=e.prototype)==null?void 0:r.constructor)===e}const Il=10;class go{constructor(){M(this,"subPriority",0)}validate(r,t){return!0}}class Nl extends go{constructor(r,t,n,a,o){super(),this.value=r,this.validateValue=t,this.setValue=n,this.priority=a,o&&(this.subPriority=o)}validate(r,t){return this.validateValue(r,this.value,t)}set(r,t,n){return this.setValue(r,t,this.value,n)}}class Fl extends go{constructor(t,n){super();M(this,"priority",Il);M(this,"subPriority",-1);this.context=t||(a=>be(n,a))}set(t,n){return n.timestampIsSet?t:be(t,Al(t,this.context))}}class ne{run(r,t,n,a){const o=this.parse(r,t,n,a);return o?{setter:new Nl(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(r,t,n){return!0}}class jl 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*Ka+o*Xa+i*vu),rest:r.slice(t[0].length)}}function bo(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 Pr(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 vo(e,r){const t=r>0,n=t?r:1-r;let a;if(n<=50)a=e||100;else{const o=n+50,i=Math.trunc(o/100)*100,s=e>=o%100;a=e+i-(s?100:0)}return t?a:1-a}function wo(e){return e%400===0||e%4===0&&e%100!==0}class Yl 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=vo(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 Wl 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=vo(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 Ll 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 Pr(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 Bl 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 Pr(n==="u"?4:n.length,t)}set(t,n,a){return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}}class ql extends 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 Hl 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 Vl 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 zl 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 Ul(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 Gl 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(Ul(t,a,o),o)}}function Ql(e,r,t){const n=N(e,t==null?void 0:t.in),a=oo(n,t)-r;return n.setDate(n.getDate()-a*7),n}class Xl 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(Ql(t,a))}}const Kl=[31,28,31,30,31,30,31,31,30,31,30,31],Jl=[31,29,31,30,31,30,31,31,30,31,30,31];class Zl extends 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=wo(a),i=t.getMonth();return o?n>=1&&n<=Jl[i]:n>=1&&n<=Kl[i]}set(t,n,a){return t.setDate(a),t.setHours(0,0,0,0),t}}class ef extends 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 wo(a)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,a){return t.setMonth(0,a),t.setHours(0,0,0,0),t}}function mn(e,r,t){var 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 Ht(o,d,t)}class tf 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 rf 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 nf 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 af(e,r){const t=N(e,r==null?void 0:r.in).getDay();return t===0?7:t}function of(e,r,t){const n=N(e,t==null?void 0:t.in),a=af(n,t),o=r-a;return Ht(n,o,t)}class sf 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=of(t,a),t.setHours(0,0,0,0),t}}class cf 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 uf 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 lf 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 ff 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 df 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 hf 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 mf 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 pf 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 yf 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 gf 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 bf 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()-kr(t)-a)}}class vf 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()-kr(t)-a)}}class wf extends ne{constructor(){super(...arguments);M(this,"priority",40);M(this,"incompatibleTokens","*")}parse(t){return bo(t)}set(t,n,a){return[be(t,a*1e3),{timestampIsSet:!0}]}}class xf extends ne{constructor(){super(...arguments);M(this,"priority",20);M(this,"incompatibleTokens","*")}parse(t){return bo(t)}set(t,n,a){return[be(t,a),{timestampIsSet:!0}]}}const Tf={G:new jl,y:new Yl,Y:new Wl,R:new Ll,u:new Bl,Q:new ql,q:new Hl,M:new Vl,L:new zl,w:new Gl,I:new Xl,d:new Zl,D:new ef,E:new tf,e:new rf,c:new nf,i:new sf,a:new cf,b:new uf,B:new lf,h:new ff,H:new df,K:new hf,k:new mf,m:new pf,s:new yf,S:new gf,X:new bf,x:new vf,t:new wf,T:new xf},Ef=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Sf=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Cf=/^'([^]*?)'?$/,Of=/''/g,kf=/\S/,Pf=/[a-zA-Z]/;function _f(e,r,t,n){var y,T,C,E,O,g,F,$;const a=()=>be((n==null?void 0:n.in)||t,NaN),o=Rl(),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 Fl(n==null?void 0:n.in,t)],h=r.match(Sf).map(R=>{const j=R[0];if(j in Qt){const c=Qt[j];return c(R,i.formatLong)}return R}).join("").match(Ef),m=[];for(let R of h){!(n!=null&&n.useAdditionalWeekYearTokens)&&ho(R)&&ln(R,r,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&fo(R)&&ln(R,r,e);const j=R[0],c=Tf[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(Pf))throw new RangeError("Format string contains an unescaped latin alphabet character `"+j+"`");if(R==="''"?R="'":j==="'"&&(R=Mf(R)),e.indexOf(R)===0)e=e.slice(R.length);else return a()}}if(e.length>0&&kf.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 Mf(e){return e.match(Cf)[1].replace(Of,"'")}function Df(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setDate(r),n}function Rf(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setHours(r),n}function Af(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setMinutes(r),n}function $f(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=po(i);return n.setMonth(r,Math.min(o,s)),n}function If(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setSeconds(r),n}function Nf(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setMilliseconds(r),n}function Ff(e,r,t){const n=N(e,t==null?void 0:t.in);return isNaN(+n)?be(e,NaN):(n.setFullYear(r),n)}function jf(e,r){const t=N(e,r==null?void 0:r.in);return t.setDate(1),t.setHours(0,0,0,0),t}function Yf(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 Wf(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 Lf={y:{sectionType:"year",contentType:"digit",maxLength:4},yy:"year",yyy:{sectionType:"year",contentType:"digit",maxLength:4},yyyy:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMMM:{sectionType:"month",contentType:"letter"},MMM:{sectionType:"month",contentType:"letter"},L:{sectionType:"month",contentType:"digit",maxLength:2},LL:"month",LLL:{sectionType:"month",contentType:"letter"},LLLL:{sectionType:"month",contentType:"letter"},d:{sectionType:"day",contentType:"digit",maxLength:2},dd:"day",do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"letter"},EE:{sectionType:"weekDay",contentType:"letter"},EEE:{sectionType:"weekDay",contentType:"letter"},EEEE:{sectionType:"weekDay",contentType:"letter"},EEEEE:{sectionType:"weekDay",contentType:"letter"},i:{sectionType:"weekDay",contentType:"digit",maxLength:1},ii:"weekDay",iii:{sectionType:"weekDay",contentType:"letter"},iiii:{sectionType:"weekDay",contentType:"letter"},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},ee:"weekDay",eee:{sectionType:"weekDay",contentType:"letter"},eeee:{sectionType:"weekDay",contentType:"letter"},eeeee:{sectionType:"weekDay",contentType:"letter"},eeeeee:{sectionType:"weekDay",contentType:"letter"},c:{sectionType:"weekDay",contentType:"digit",maxLength:1},cc:"weekDay",ccc:{sectionType:"weekDay",contentType:"letter"},cccc:{sectionType:"weekDay",contentType:"letter"},ccccc:{sectionType:"weekDay",contentType:"letter"},cccccc:{sectionType:"weekDay",contentType:"letter"},a:"meridiem",aa:"meridiem",aaa:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},Bf={year:"yyyy",month:"LLLL",monthShort:"MMM",dayOfMonth:"d",dayOfMonthFull:"do",weekday:"EEEE",weekdayShort:"EEEEEE",hours24h:"HH",hours12h:"hh",meridiem:"aa",minutes:"mm",seconds:"ss",fullDate:"PP",keyboardDate:"P",shortDate:"MMM d",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",fullTime:"p",fullTime12h:"hh:mm aa",fullTime24h:"HH:mm",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aa",keyboardDateTime24h:"P HH:mm"};class qf{constructor(r){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib=void 0,this.locale=void 0,this.formats=void 0,this.formatTokenMap=Lf,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({},Bf,n),this.longFormatters=a,this.lib=o||"date-fns"}}class Hf extends qf{constructor({locale:r,formats:t}={}){if(process.env.NODE_ENV!=="production"){if(typeof 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(!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:_f(n,a,new Date,{locale:this.locale}),this.isValid=n=>n==null?!1:mo(n),this.format=(n,a)=>this.formatByString(n,this.formats[a]),this.formatByString=(n,a)=>bl(n,a,{locale:this.locale}),this.isEqual=(n,a)=>n===null&&a===null?!0:n===null||a===null?!1:kl(n,a),this.isSameYear=(n,a)=>_l(n,a),this.isSameMonth=(n,a)=>Ml(n,a),this.isSameDay=(n,a)=>Pl(n,a),this.isSameHour=(n,a)=>Dl(n,a),this.isAfter=(n,a)=>fn(n,a),this.isAfterYear=(n,a)=>fn(n,ro(a)),this.isAfterDay=(n,a)=>fn(n,to(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])=>Wf(n,{start:a,end:o}),this.startOfYear=n=>no(n),this.startOfMonth=n=>jf(n),this.startOfWeek=n=>at(n,{locale:this.locale}),this.startOfDay=n=>Gt(n),this.endOfYear=n=>ro(n),this.endOfMonth=n=>Yf(n),this.endOfWeek=n=>Ou(n,{locale:this.locale}),this.endOfDay=n=>to(n),this.addYears=(n,a)=>Su(n,a),this.addMonths=(n,a)=>eo(n,a),this.addWeeks=(n,a)=>Eu(n,a),this.addDays=(n,a)=>Ht(n,a),this.addHours=(n,a)=>Tu(n,a),this.addMinutes=(n,a)=>xu(n,a),this.addSeconds=(n,a)=>wu(n,a),this.getYear=n=>Ol(n),this.getMonth=n=>El(n),this.getDate=n=>wl(n),this.getHours=n=>xl(n),this.getMinutes=n=>Tl(n),this.getSeconds=n=>Sl(n),this.getMilliseconds=n=>Cl(n),this.setYear=(n,a)=>Ff(n,a),this.setMonth=(n,a)=>$f(n,a),this.setDate=(n,a)=>Df(n,a),this.setHours=(n,a)=>Rf(n,a),this.setMinutes=(n,a)=>Af(n,a),this.setSeconds=(n,a)=>If(n,a),this.setMilliseconds=(n,a)=>Nf(n,a),this.getDaysInMonth=n=>po(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 Vf({children:e,onSubmit:r,layout:t,sx:n}){return L.jsx(Tn.LocalizationProvider,{dateAdapter:Hf,adapterLocale:void 0,children:L.jsx(jo,{layout:t,children:L.jsx(Ga,{sx:n,children:L.jsx("form",{onSubmit:r,children:e})})})})}function zf({children:e,onSubmit:r=()=>{},layout:t,formOptions:n={},sx:a}){const o=it.useForm(n);return L.jsx(it.FormProvider,{...o,children:L.jsx(Vf,{onSubmit:o.handleSubmit(r),layout:t,sx:a,children:e})})}function Uf(){return L.jsx("div",{children:"FormRenderer"})}ye.CalculatedNumberInput=uu,ye.Checkbox=Yo,ye.DateInput=Wo,ye.FormFieldLabel=hu,ye.FormProvider=zf,ye.NumberInput=Lo,ye.Select=lu,ye.TextInput=kn,ye.default=Uf,Object.defineProperties(ye,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|