@opengov/form-renderer 0.0.1 → 0.0.4
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/FormProvider.d.ts +19 -0
- package/dist/LayoutContext.d.ts +14 -0
- package/dist/fields/Checkbox.d.ts +3 -0
- package/dist/fields/DateInput.d.ts +3 -0
- package/dist/fields/FormFieldLabel.d.ts +8 -0
- package/dist/fields/NumberInput.d.ts +3 -0
- package/dist/fields/Select.d.ts +7 -0
- package/dist/fields/TextInput.d.ts +4 -0
- package/dist/fields/types.d.ts +8 -0
- package/dist/index.d.ts +9 -0
- package/dist/lib.js +8502 -1862
- package/dist/lib.umd.cjs +77 -40
- package/dist/stories/Compound.d.ts +0 -0
- package/dist/stories/FormRenderer.stories.d.ts +5 -12
- package/dist/stories/WithDefaultValues.d.ts +0 -0
- package/package.json +26 -7
- package/dist/src/index.d.ts +0 -1
- /package/dist/{src/index.test.d.ts → index.test.d.ts} +0 -0
package/dist/lib.umd.cjs
CHANGED
|
@@ -1,68 +1,105 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(pe,Me){typeof exports=="object"&&typeof module<"u"?Me(exports,require("react"),require("@mui/material"),require("@opengov/capital-mui-theme"),require("react-hook-form"),require("@mui/x-date-pickers")):typeof define=="function"&&define.amd?define(["exports","react","@mui/material","@opengov/capital-mui-theme","react-hook-form","@mui/x-date-pickers"],Me):(pe=typeof globalThis<"u"?globalThis:pe||self,Me(pe.Lib={},pe.React,pe.MaterialUI,pe.CapitalMuiTheme,pe.ReactHookForm,pe.MuiDatePickers))})(this,function(pe,Me,ye,Kt,ht,xn){"use strict";var ld=Object.defineProperty;var fd=(pe,Me,ye)=>Me in pe?ld(pe,Me,{enumerable:!0,configurable:!0,writable:!0,value:ye}):pe[Me]=ye;var M=(pe,Me,ye)=>fd(pe,typeof Me!="symbol"?Me+"":Me,ye);function Mo(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const fe=Mo(Me);function Do(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Or={exports:{}},Pt={};/**
|
|
2
2
|
* @license React
|
|
3
|
-
* react.production.min.js
|
|
3
|
+
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
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
|
|
9
|
+
*/var Tn;function Ro(){if(Tn)return Pt;Tn=1;var e=Me,r=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(s,u,f){var d,h={},m=null,w=null;f!==void 0&&(m=""+f),u.key!==void 0&&(m=""+u.key),u.ref!==void 0&&(w=u.ref);for(d in u)n.call(u,d)&&!o.hasOwnProperty(d)&&(h[d]=u[d]);if(s&&s.defaultProps)for(d in u=s.defaultProps,u)h[d]===void 0&&(h[d]=u[d]);return{$$typeof:r,type:s,key:m,ref:w,props:h,_owner:a.current}}return Pt.Fragment=t,Pt.jsx=i,Pt.jsxs=i,Pt}var _t={};/**
|
|
10
10
|
* @license React
|
|
11
|
-
* react.development.js
|
|
11
|
+
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
13
13
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
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
|
-
*/ze.exports;var Br;function bt(){return Br||(Br=1,function(X,v){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var Se="18.3.1",Q=Symbol.for("react.element"),pe=Symbol.for("react.portal"),te=Symbol.for("react.fragment"),ne=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),$=Symbol.for("react.provider"),ee=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),re=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),se=Symbol.for("react.lazy"),Le=Symbol.for("react.offscreen"),ae=Symbol.iterator,oe="@@iterator";function x(e){if(e===null||typeof e!="object")return null;var r=ae&&e[ae]||e[oe];return typeof r=="function"?r:null}var ge={current:null},ue={transition:null},M={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},K={current:null},ce={},ve=null;function Te(e){ve=e}ce.setExtraStackFrame=function(e){ve=e},ce.getCurrentStack=null,ce.getStackAddendum=function(){var e="";ve&&(e+=ve);var r=ce.getCurrentStack;return r&&(e+=r()||""),e};var Oe=!1,Ke=!1,Pe=!1,z=!1,G=!1,U={ReactCurrentDispatcher:ge,ReactCurrentBatchConfig:ue,ReactCurrentOwner:K};U.ReactDebugCurrentFrame=ce,U.ReactCurrentActQueue=M;function ie(e){{for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];fe("warn",e,a)}}function l(e){{for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];fe("error",e,a)}}function fe(e,r,a){{var o=U.ReactDebugCurrentFrame,c=o.getStackAddendum();c!==""&&(r+="%s",a=a.concat([c]));var d=a.map(function(f){return String(f)});d.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,d)}}var ke={};function ye(e,r){{var a=e.constructor,o=a&&(a.displayName||a.name)||"ReactClass",c=o+"."+r;if(ke[c])return;l("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",r,o),ke[c]=!0}}var n={isMounted:function(e){return!1},enqueueForceUpdate:function(e,r,a){ye(e,"forceUpdate")},enqueueReplaceState:function(e,r,a,o){ye(e,"replaceState")},enqueueSetState:function(e,r,a,o){ye(e,"setState")}},i=Object.assign,g={};Object.freeze(g);function b(e,r,a){this.props=e,this.context=r,this.refs=g,this.updater=a||n}b.prototype.isReactComponent={},b.prototype.setState=function(e,r){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,r,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};{var R={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},k=function(e,r){Object.defineProperty(b.prototype,e,{get:function(){ie("%s(...) is deprecated in plain JavaScript React classes. %s",r[0],r[1])}})};for(var O in R)R.hasOwnProperty(O)&&k(O,R[O])}function T(){}T.prototype=b.prototype;function w(e,r,a){this.props=e,this.context=r,this.refs=g,this.updater=a||n}var W=w.prototype=new T;W.constructor=w,i(W,b.prototype),W.isPureReactComponent=!0;function br(){var e={current:null};return Object.seal(e),e}var er=Array.isArray;function Me(e){return er(e)}function Er(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,a=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function We(e){try{return _e(e),!1}catch{return!0}}function _e(e){return""+e}function je(e){if(We(e))return l("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Er(e)),_e(e)}function rr(e,r,a){var o=e.displayName;if(o)return o;var c=r.displayName||r.name||"";return c!==""?a+"("+c+")":a}function Ae(e){return e.displayName||"Context"}function le(e){if(e==null)return null;if(typeof e.tag=="number"&&l("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case te:return"Fragment";case pe:return"Portal";case Z:return"Profiler";case ne:return"StrictMode";case V:return"Suspense";case re:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ee:var r=e;return Ae(r)+".Consumer";case $:var a=e;return Ae(a._context)+".Provider";case L:return rr(e,e.render,"ForwardRef");case H:var o=e.displayName||null;return o!==null?o:le(e.type)||"Memo";case se:{var c=e,d=c._payload,f=c._init;try{return le(f(d))}catch{return null}}}return null}var xe=Object.prototype.hasOwnProperty,Ne={key:!0,ref:!0,__self:!0,__source:!0},tr,nr,Ve;Ve={};function He(e){if(xe.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function be(e){if(xe.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Rr(e,r){var a=function(){tr||(tr=!0,l("%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)",r))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}function ar(e,r){var a=function(){nr||(nr=!0,l("%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)",r))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}function or(e){if(typeof e.ref=="string"&&K.current&&e.__self&&K.current.stateNode!==e.__self){var r=le(K.current.type);Ve[r]||(l('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',r,e.ref),Ve[r]=!0)}}var De=function(e,r,a,o,c,d,f){var y={$$typeof:Q,type:e,key:r,ref:a,props:f,_owner:d};return y._store={},Object.defineProperty(y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:c}),Object.freeze&&(Object.freeze(y.props),Object.freeze(y)),y};function Cr(e,r,a){var o,c={},d=null,f=null,y=null,E=null;if(r!=null){He(r)&&(f=r.ref,or(r)),be(r)&&(je(r.key),d=""+r.key),y=r.__self===void 0?null:r.__self,E=r.__source===void 0?null:r.__source;for(o in r)xe.call(r,o)&&!Ne.hasOwnProperty(o)&&(c[o]=r[o])}var P=arguments.length-2;if(P===1)c.children=a;else if(P>1){for(var j=Array(P),A=0;A<P;A++)j[A]=arguments[A+2];Object.freeze&&Object.freeze(j),c.children=j}if(e&&e.defaultProps){var F=e.defaultProps;for(o in F)c[o]===void 0&&(c[o]=F[o])}if(d||f){var N=typeof e=="function"?e.displayName||e.name||"Unknown":e;d&&Rr(c,N),f&&ar(c,N)}return De(e,d,f,y,E,K.current,c)}function wr(e,r){var a=De(e.type,r,e.ref,e._self,e._source,e._owner,e.props);return a}function Sr(e,r,a){if(e==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o,c=i({},e.props),d=e.key,f=e.ref,y=e._self,E=e._source,P=e._owner;if(r!=null){He(r)&&(f=r.ref,P=K.current),be(r)&&(je(r.key),d=""+r.key);var j;e.type&&e.type.defaultProps&&(j=e.type.defaultProps);for(o in r)xe.call(r,o)&&!Ne.hasOwnProperty(o)&&(r[o]===void 0&&j!==void 0?c[o]=j[o]:c[o]=r[o])}var A=arguments.length-2;if(A===1)c.children=a;else if(A>1){for(var F=Array(A),N=0;N<A;N++)F[N]=arguments[N+2];c.children=F}return De(e.type,d,f,y,E,P,c)}function Ee(e){return typeof e=="object"&&e!==null&&e.$$typeof===Q}var ur=".",Tr=":";function Or(e){var r=/[=:]/g,a={"=":"=0",":":"=2"},o=e.replace(r,function(c){return a[c]});return"$"+o}var Ue=!1,ir=/\/+/g;function he(e){return e.replace(ir,"$&/")}function Fe(e,r){return typeof e=="object"&&e!==null&&e.key!=null?(je(e.key),Or(""+e.key)):r.toString(36)}function Re(e,r,a,o,c){var d=typeof e;(d==="undefined"||d==="boolean")&&(e=null);var f=!1;if(e===null)f=!0;else switch(d){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case Q:case pe:f=!0}}if(f){var y=e,E=c(y),P=o===""?ur+Fe(y,0):o;if(Me(E)){var j="";P!=null&&(j=he(P)+"/"),Re(E,r,j,"",function(zt){return zt})}else E!=null&&(Ee(E)&&(E.key&&(!y||y.key!==E.key)&&je(E.key),E=wr(E,a+(E.key&&(!y||y.key!==E.key)?he(""+E.key)+"/":"")+P)),r.push(E));return 1}var A,F,N=0,B=o===""?ur:o+Tr;if(Me(e))for(var _r=0;_r<e.length;_r++)A=e[_r],F=B+Fe(A,_r),N+=Re(A,r,a,F,c);else{var Ur=x(e);if(typeof Ur=="function"){var ht=e;Ur===ht.entries&&(Ue||ie("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ue=!0);for(var Yt=Ur.call(ht),mt,Bt=0;!(mt=Yt.next()).done;)A=mt.value,F=B+Fe(A,Bt++),N+=Re(A,r,a,F,c)}else if(d==="object"){var gt=String(e);throw new Error("Objects are not valid as a React child (found: "+(gt==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":gt)+"). If you meant to render a collection of children, use an array instead.")}}return N}function Ie(e,r,a){if(e==null)return e;var o=[],c=0;return Re(e,o,"","",function(d){return r.call(a,d,c++)}),o}function Pr(e){var r=0;return Ie(e,function(){r++}),r}function sr(e,r,a){Ie(e,function(){r.apply(this,arguments)},a)}function kr(e){return Ie(e,function(r){return r})||[]}function cr(e){if(!Ee(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}function fr(e){var r={$$typeof:ee,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};r.Provider={$$typeof:$,_context:r};var a=!1,o=!1,c=!1;{var d={$$typeof:ee,_context:r};Object.defineProperties(d,{Provider:{get:function(){return o||(o=!0,l("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),r.Provider},set:function(f){r.Provider=f}},_currentValue:{get:function(){return r._currentValue},set:function(f){r._currentValue=f}},_currentValue2:{get:function(){return r._currentValue2},set:function(f){r._currentValue2=f}},_threadCount:{get:function(){return r._threadCount},set:function(f){r._threadCount=f}},Consumer:{get:function(){return a||(a=!0,l("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),r.Consumer}},displayName:{get:function(){return r.displayName},set:function(f){c||(ie("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",f),c=!0)}}}),r.Consumer=d}return r._currentRenderer=null,r._currentRenderer2=null,r}var $e=-1,Ge=0,Je=1,lr=2;function jr(e){if(e._status===$e){var r=e._result,a=r();if(a.then(function(d){if(e._status===Ge||e._status===$e){var f=e;f._status=Je,f._result=d}},function(d){if(e._status===Ge||e._status===$e){var f=e;f._status=lr,f._result=d}}),e._status===$e){var o=e;o._status=Ge,o._result=a}}if(e._status===Je){var c=e._result;return c===void 0&&l(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Did you accidentally put curly braces around the import?`,c),"default"in c||l(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
23
|
-
|
|
24
|
-
Your code should look like:
|
|
25
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,c),c.default}else throw e._result}function Ar(e){var r={_status:$e,_result:e},a={$$typeof:se,_payload:r,_init:jr};{var o,c;Object.defineProperties(a,{defaultProps:{configurable:!0,get:function(){return o},set:function(d){l("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),o=d,Object.defineProperty(a,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return c},set:function(d){l("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),c=d,Object.defineProperty(a,"propTypes",{enumerable:!0})}}})}return a}function xr(e){e!=null&&e.$$typeof===H?l("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof e!="function"?l("forwardRef requires a render function but was given %s.",e===null?"null":typeof e):e.length!==0&&e.length!==2&&l("forwardRef render functions accept exactly two parameters: props and ref. %s",e.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),e!=null&&(e.defaultProps!=null||e.propTypes!=null)&&l("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var r={$$typeof:L,render:e};{var a;Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return a},set:function(o){a=o,!e.name&&!e.displayName&&(e.displayName=o)}})}return r}var dr;dr=Symbol.for("react.module.reference");function t(e){return!!(typeof e=="string"||typeof e=="function"||e===te||e===Z||G||e===ne||e===V||e===re||z||e===Le||Oe||Ke||Pe||typeof e=="object"&&e!==null&&(e.$$typeof===se||e.$$typeof===H||e.$$typeof===$||e.$$typeof===ee||e.$$typeof===L||e.$$typeof===dr||e.getModuleId!==void 0))}function u(e,r){t(e)||l("memo: The first argument must be a component. Instead received: %s",e===null?"null":typeof e);var a={$$typeof:H,type:e,compare:r===void 0?null:r};{var o;Object.defineProperty(a,"displayName",{enumerable:!1,configurable:!0,get:function(){return o},set:function(c){o=c,!e.name&&!e.displayName&&(e.displayName=c)}})}return a}function s(){var e=ge.current;return e===null&&l(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
26
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
27
|
-
2. You might be breaking the Rules of Hooks
|
|
28
|
-
3. You might have more than one copy of React in the same app
|
|
29
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}function p(e){var r=s();if(e._context!==void 0){var a=e._context;a.Consumer===e?l("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):a.Provider===e&&l("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return r.useContext(e)}function C(e){var r=s();return r.useState(e)}function S(e,r,a){var o=s();return o.useReducer(e,r,a)}function _(e){var r=s();return r.useRef(e)}function m(e,r){var a=s();return a.useEffect(e,r)}function Y(e,r){var a=s();return a.useInsertionEffect(e,r)}function D(e,r){var a=s();return a.useLayoutEffect(e,r)}function I(e,r){var a=s();return a.useCallback(e,r)}function J(e,r){var a=s();return a.useMemo(e,r)}function Ce(e,r,a){var o=s();return o.useImperativeHandle(e,r,a)}function me(e,r){{var a=s();return a.useDebugValue(e,r)}}function q(){var e=s();return e.useTransition()}function Xe(e){var r=s();return r.useDeferredValue(e)}function Dr(){var e=s();return e.useId()}function Fr(e,r,a){var o=s();return o.useSyncExternalStore(e,r,a)}var Qe=0,Gr,Jr,Xr,Qr,Zr,et,rt;function tt(){}tt.__reactDisabledLog=!0;function St(){{if(Qe===0){Gr=console.log,Jr=console.info,Xr=console.warn,Qr=console.error,Zr=console.group,et=console.groupCollapsed,rt=console.groupEnd;var e={configurable:!0,enumerable:!0,value:tt,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Qe++}}function Tt(){{if(Qe--,Qe===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:i({},e,{value:Gr}),info:i({},e,{value:Jr}),warn:i({},e,{value:Xr}),error:i({},e,{value:Qr}),group:i({},e,{value:Zr}),groupCollapsed:i({},e,{value:et}),groupEnd:i({},e,{value:rt})})}Qe<0&&l("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ir=U.ReactCurrentDispatcher,$r;function pr(e,r,a){{if($r===void 0)try{throw Error()}catch(c){var o=c.stack.trim().match(/\n( *(at )?)/);$r=o&&o[1]||""}return`
|
|
30
|
-
`+$r+e}}var Lr=!1,vr;{var Ot=typeof WeakMap=="function"?WeakMap:Map;vr=new Ot}function nt(e,r){if(!e||Lr)return"";{var a=vr.get(e);if(a!==void 0)return a}var o;Lr=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=Ir.current,Ir.current=null,St();try{if(r){var f=function(){throw Error()};if(Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(B){o=B}Reflect.construct(e,[],f)}else{try{f.call()}catch(B){o=B}e.call(f.prototype)}}else{try{throw Error()}catch(B){o=B}e()}}catch(B){if(B&&o&&typeof B.stack=="string"){for(var y=B.stack.split(`
|
|
31
|
-
`),E=o.stack.split(`
|
|
32
|
-
`),P=y.length-1,j=E.length-1;P>=1&&j>=0&&y[P]!==E[j];)j--;for(;P>=1&&j>=0;P--,j--)if(y[P]!==E[j]){if(P!==1||j!==1)do if(P--,j--,j<0||y[P]!==E[j]){var A=`
|
|
33
|
-
`+y[P].replace(" at new "," at ");return e.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",e.displayName)),typeof e=="function"&&vr.set(e,A),A}while(P>=1&&j>=0);break}}}finally{Lr=!1,Ir.current=d,Tt(),Error.prepareStackTrace=c}var F=e?e.displayName||e.name:"",N=F?pr(F):"";return typeof e=="function"&&vr.set(e,N),N}function Pt(e,r,a){return nt(e,!1)}function kt(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function yr(e,r,a){if(e==null)return"";if(typeof e=="function")return nt(e,kt(e));if(typeof e=="string")return pr(e);switch(e){case V:return pr("Suspense");case re:return pr("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case L:return Pt(e.render);case H:return yr(e.type,r,a);case se:{var o=e,c=o._payload,d=o._init;try{return yr(d(c),r,a)}catch{}}}return""}var at={},ot=U.ReactDebugCurrentFrame;function hr(e){if(e){var r=e._owner,a=yr(e.type,e._source,r?r.type:null);ot.setExtraStackFrame(a)}else ot.setExtraStackFrame(null)}function jt(e,r,a,o,c){{var d=Function.call.bind(xe);for(var f in e)if(d(e,f)){var y=void 0;try{if(typeof e[f]!="function"){var E=Error((o||"React class")+": "+a+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw E.name="Invariant Violation",E}y=e[f](r,f,o,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(P){y=P}y&&!(y instanceof Error)&&(hr(c),l("%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).",o||"React class",a,f,typeof y),hr(null)),y instanceof Error&&!(y.message in at)&&(at[y.message]=!0,hr(c),l("Failed %s type: %s",a,y.message),hr(null))}}}function Ye(e){if(e){var r=e._owner,a=yr(e.type,e._source,r?r.type:null);Te(a)}else Te(null)}var Mr;Mr=!1;function ut(){if(K.current){var e=le(K.current.type);if(e)return`
|
|
17
|
+
*/var En;function Ao(){return En||(En=1,process.env.NODE_ENV!=="production"&&function(){var e=Me,r=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),v=Symbol.iterator,p="@@iterator";function y(l){if(l===null||typeof l!="object")return null;var x=v&&l[v]||l[p];return typeof x=="function"?x:null}var T=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(l){{for(var x=arguments.length,_=new Array(x>1?x-1:0),L=1;L<x;L++)_[L-1]=arguments[L];E("error",l,_)}}function E(l,x,_){{var L=T.ReactDebugCurrentFrame,ue=L.getStackAddendum();ue!==""&&(x+="%s",_=_.concat([ue]));var me=_.map(function(ee){return String(ee)});me.unshift("Warning: "+x),Function.prototype.apply.call(console[l],console,me)}}var O=!1,g=!1,F=!1,$=!1,R=!1,j;j=Symbol.for("react.module.reference");function c(l){return!!(typeof l=="string"||typeof l=="function"||l===n||l===o||R||l===a||l===f||l===d||$||l===w||O||g||F||typeof l=="object"&&l!==null&&(l.$$typeof===m||l.$$typeof===h||l.$$typeof===i||l.$$typeof===s||l.$$typeof===u||l.$$typeof===j||l.getModuleId!==void 0))}function P(l,x,_){var L=l.displayName;if(L)return L;var ue=x.displayName||x.name||"";return ue!==""?_+"("+ue+")":_}function Y(l){return l.displayName||"Context"}function W(l){if(l==null)return null;if(typeof l.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case n:return"Fragment";case t:return"Portal";case o:return"Profiler";case a:return"StrictMode";case f:return"Suspense";case d:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case s:var x=l;return Y(x)+".Consumer";case i:var _=l;return Y(_._context)+".Provider";case u:return P(l,l.render,"ForwardRef");case h:var L=l.displayName||null;return L!==null?L:W(l.type)||"Memo";case m:{var ue=l,me=ue._payload,ee=ue._init;try{return W(ee(me))}catch{return null}}}return null}var V=Object.assign,ae=0,ve,$e,Be,ot,S,D,U;function z(){}z.__reactDisabledLog=!0;function B(){{if(ae===0){ve=console.log,$e=console.info,Be=console.warn,ot=console.error,S=console.group,D=console.groupCollapsed,U=console.groupEnd;var l={configurable:!0,enumerable:!0,value:z,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}ae++}}function K(){{if(ae--,ae===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:V({},l,{value:ve}),info:V({},l,{value:$e}),warn:V({},l,{value:Be}),error:V({},l,{value:ot}),group:V({},l,{value:S}),groupCollapsed:V({},l,{value:D}),groupEnd:V({},l,{value:U})})}ae<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var H=T.ReactCurrentDispatcher,q;function Q(l,x,_){{if(q===void 0)try{throw Error()}catch(ue){var L=ue.stack.trim().match(/\n( *(at )?)/);q=L&&L[1]||""}return`
|
|
18
|
+
`+q+l}}var Z=!1,X;{var De=typeof WeakMap=="function"?WeakMap:Map;X=new De}function k(l,x){if(!l||Z)return"";{var _=X.get(l);if(_!==void 0)return _}var L;Z=!0;var ue=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var me;me=H.current,H.current=null,B();try{if(x){var ee=function(){throw Error()};if(Object.defineProperty(ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ee,[])}catch(je){L=je}Reflect.construct(l,[],ee)}else{try{ee.call()}catch(je){L=je}l.call(ee.prototype)}}else{try{throw Error()}catch(je){L=je}l()}}catch(je){if(je&&L&&typeof je.stack=="string"){for(var J=je.stack.split(`
|
|
19
|
+
`),Ie=L.stack.split(`
|
|
20
|
+
`),ke=J.length-1,_e=Ie.length-1;ke>=1&&_e>=0&&J[ke]!==Ie[_e];)_e--;for(;ke>=1&&_e>=0;ke--,_e--)if(J[ke]!==Ie[_e]){if(ke!==1||_e!==1)do if(ke--,_e--,_e<0||J[ke]!==Ie[_e]){var Ve=`
|
|
21
|
+
`+J[ke].replace(" at new "," at ");return l.displayName&&Ve.includes("<anonymous>")&&(Ve=Ve.replace("<anonymous>",l.displayName)),typeof l=="function"&&X.set(l,Ve),Ve}while(ke>=1&&_e>=0);break}}}finally{Z=!1,H.current=me,K(),Error.prepareStackTrace=ue}var kt=l?l.displayName||l.name:"",dt=kt?Q(kt):"";return typeof l=="function"&&X.set(l,dt),dt}function Fe(l,x,_){return k(l,!1)}function I(l){var x=l.prototype;return!!(x&&x.isReactComponent)}function ze(l,x,_){if(l==null)return"";if(typeof l=="function")return k(l,I(l));if(typeof l=="string")return Q(l);switch(l){case f:return Q("Suspense");case d:return Q("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case u:return Fe(l.render);case h:return ze(l.type,x,_);case m:{var L=l,ue=L._payload,me=L._init;try{return ze(me(ue),x,_)}catch{}}}return""}var Ze=Object.prototype.hasOwnProperty,Qt={},bo=T.ReactDebugCurrentFrame;function Cr(l){if(l){var x=l._owner,_=ze(l.type,l._source,x?x.type:null);bo.setExtraStackFrame(_)}else bo.setExtraStackFrame(null)}function Bf(l,x,_,L,ue){{var me=Function.call.bind(Ze);for(var ee in l)if(me(l,ee)){var J=void 0;try{if(typeof l[ee]!="function"){var Ie=Error((L||"React class")+": "+_+" type `"+ee+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[ee]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ie.name="Invariant Violation",Ie}J=l[ee](x,ee,L,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ke){J=ke}J&&!(J instanceof Error)&&(Cr(ue),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",L||"React class",_,ee,typeof J),Cr(null)),J instanceof Error&&!(J.message in Qt)&&(Qt[J.message]=!0,Cr(ue),C("Failed %s type: %s",_,J.message),Cr(null))}}}var Hf=Array.isArray;function pn(l){return Hf(l)}function qf(l){{var x=typeof Symbol=="function"&&Symbol.toStringTag,_=x&&l[Symbol.toStringTag]||l.constructor.name||"Object";return _}}function Vf(l){try{return vo(l),!1}catch{return!0}}function vo(l){return""+l}function wo(l){if(Vf(l))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qf(l)),vo(l)}var Xt=T.ReactCurrentOwner,zf={key:!0,ref:!0,__self:!0,__source:!0},xo,To,yn;yn={};function Uf(l){if(Ze.call(l,"ref")){var x=Object.getOwnPropertyDescriptor(l,"ref").get;if(x&&x.isReactWarning)return!1}return l.ref!==void 0}function Gf(l){if(Ze.call(l,"key")){var x=Object.getOwnPropertyDescriptor(l,"key").get;if(x&&x.isReactWarning)return!1}return l.key!==void 0}function Qf(l,x){if(typeof l.ref=="string"&&Xt.current&&x&&Xt.current.stateNode!==x){var _=W(Xt.current.type);yn[_]||(C('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',W(Xt.current.type),l.ref),yn[_]=!0)}}function Xf(l,x){{var _=function(){xo||(xo=!0,C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",x))};_.isReactWarning=!0,Object.defineProperty(l,"key",{get:_,configurable:!0})}}function Kf(l,x){{var _=function(){To||(To=!0,C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",x))};_.isReactWarning=!0,Object.defineProperty(l,"ref",{get:_,configurable:!0})}}var Jf=function(l,x,_,L,ue,me,ee){var J={$$typeof:r,type:l,key:x,ref:_,props:ee,_owner:me};return J._store={},Object.defineProperty(J._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(J,"_self",{configurable:!1,enumerable:!1,writable:!1,value:L}),Object.defineProperty(J,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ue}),Object.freeze&&(Object.freeze(J.props),Object.freeze(J)),J};function Zf(l,x,_,L,ue){{var me,ee={},J=null,Ie=null;_!==void 0&&(wo(_),J=""+_),Gf(x)&&(wo(x.key),J=""+x.key),Uf(x)&&(Ie=x.ref,Qf(x,ue));for(me in x)Ze.call(x,me)&&!zf.hasOwnProperty(me)&&(ee[me]=x[me]);if(l&&l.defaultProps){var ke=l.defaultProps;for(me in ke)ee[me]===void 0&&(ee[me]=ke[me])}if(J||Ie){var _e=typeof l=="function"?l.displayName||l.name||"Unknown":l;J&&Xf(ee,_e),Ie&&Kf(ee,_e)}return Jf(l,J,Ie,ue,L,Xt.current,ee)}}var gn=T.ReactCurrentOwner,Eo=T.ReactDebugCurrentFrame;function Ot(l){if(l){var x=l._owner,_=ze(l.type,l._source,x?x.type:null);Eo.setExtraStackFrame(_)}else Eo.setExtraStackFrame(null)}var bn;bn=!1;function vn(l){return typeof l=="object"&&l!==null&&l.$$typeof===r}function So(){{if(gn.current){var l=W(gn.current.type);if(l)return`
|
|
34
22
|
|
|
35
|
-
Check the render method of \``+
|
|
23
|
+
Check the render method of \``+l+"`."}return""}}function ed(l){return""}var Co={};function td(l){{var x=So();if(!x){var _=typeof l=="string"?l:l.displayName||l.name;_&&(x=`
|
|
36
24
|
|
|
37
|
-
Check
|
|
38
|
-
|
|
39
|
-
|
|
25
|
+
Check the top-level render call using <`+_+">.")}return x}}function Oo(l,x){{if(!l._store||l._store.validated||l.key!=null)return;l._store.validated=!0;var _=td(x);if(Co[_])return;Co[_]=!0;var L="";l&&l._owner&&l._owner!==gn.current&&(L=" It was passed a child from "+W(l._owner.type)+"."),Ot(l),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,L),Ot(null)}}function ko(l,x){{if(typeof l!="object")return;if(pn(l))for(var _=0;_<l.length;_++){var L=l[_];vn(L)&&Oo(L,x)}else if(vn(l))l._store&&(l._store.validated=!0);else if(l){var ue=y(l);if(typeof ue=="function"&&ue!==l.entries)for(var me=ue.call(l),ee;!(ee=me.next()).done;)vn(ee.value)&&Oo(ee.value,x)}}}function rd(l){{var x=l.type;if(x==null||typeof x=="string")return;var _;if(typeof x=="function")_=x.propTypes;else if(typeof x=="object"&&(x.$$typeof===u||x.$$typeof===h))_=x.propTypes;else return;if(_){var L=W(x);Bf(_,l.props,"prop",L,l)}else if(x.PropTypes!==void 0&&!bn){bn=!0;var ue=W(x);C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ue||"Unknown")}typeof x.getDefaultProps=="function"&&!x.getDefaultProps.isReactClassApproved&&C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function nd(l){{for(var x=Object.keys(l.props),_=0;_<x.length;_++){var L=x[_];if(L!=="children"&&L!=="key"){Ot(l),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",L),Ot(null);break}}l.ref!==null&&(Ot(l),C("Invalid attribute `ref` supplied to `React.Fragment`."),Ot(null))}}var Po={};function _o(l,x,_,L,ue,me){{var ee=c(l);if(!ee){var J="";(l===void 0||typeof l=="object"&&l!==null&&Object.keys(l).length===0)&&(J+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ie=ed();Ie?J+=Ie:J+=So();var ke;l===null?ke="null":pn(l)?ke="array":l!==void 0&&l.$$typeof===r?(ke="<"+(W(l.type)||"Unknown")+" />",J=" Did you accidentally export a JSX literal instead of a component?"):ke=typeof l,C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ke,J)}var _e=Zf(l,x,_,ue,me);if(_e==null)return _e;if(ee){var Ve=x.children;if(Ve!==void 0)if(L)if(pn(Ve)){for(var kt=0;kt<Ve.length;kt++)ko(Ve[kt],l);Object.freeze&&Object.freeze(Ve)}else C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ko(Ve,l)}if(Ze.call(x,"key")){var dt=W(l),je=Object.keys(x).filter(function(ud){return ud!=="key"}),wn=je.length>0?"{key: someKey, "+je.join(": ..., ")+": ...}":"{key: someKey}";if(!Po[dt+wn]){var cd=je.length>0?"{"+je.join(": ..., ")+": ...}":"{}";C(`A props object containing a "key" prop is being spread into JSX:
|
|
26
|
+
let props = %s;
|
|
27
|
+
<%s {...props} />
|
|
28
|
+
React keys must be passed directly to JSX without using spread:
|
|
29
|
+
let props = %s;
|
|
30
|
+
<%s key={someKey} {...props} />`,wn,dt,cd,dt),Po[dt+wn]=!0}}return l===n?nd(_e):rd(_e),_e}}function ad(l,x,_){return _o(l,x,_,!0)}function od(l,x,_){return _o(l,x,_,!1)}var id=od,sd=ad;_t.Fragment=n,_t.jsx=id,_t.jsxs=sd}()),_t}process.env.NODE_ENV==="production"?Or.exports=Ro():Or.exports=Ao();var G=Or.exports;const Sn=Me.createContext(void 0),$o=({children:e,layout:r={}})=>G.jsx(Sn.Provider,{value:{layout:r},children:e}),kr=()=>{const e=Me.useContext(Sn);if(!e)throw new Error("useFormLayout must be used within a FormLayoutProvider");return e.layout};function Io({name:e,label:r,sx:t={},disabled:n,rules:a={},...o}){const{field:i,fieldState:{error:s}}=ht.useController({name:e,rules:a}),f={...kr(),...t};return G.jsx(ye.Box,{sx:f,children:G.jsxs(ye.FormControl,{error:!!s,component:"fieldset",children:[G.jsx(ye.FormControlLabel,{control:G.jsx(ye.Checkbox,{...i,checked:i.value,...o,disabled:n}),label:G.jsx(ye.FormLabel,{sx:{fontWeight:500,color:Kt.capitalDesignTokens.foundations.colors.gray1000},children:r})}),G.jsx(ye.FormHelperText,{children:!!s&&s.message})]})})}function No({name:e,rules:r={},sx:t={},...n}){const{field:a,fieldState:{error:o}}=ht.useController({name:e,rules:r});return G.jsx(ye.Box,{sx:t,children:G.jsx(xn.DatePicker,{...a,value:new Date(a.value),...n,sx:{width:"100%"},slotProps:{textField:{helperText:!!o&&o.message,error:!!o}}})})}function Cn({name:e,label:r,rules:t={},sx:n={},...a}){const{field:o,fieldState:{error:i}}=ht.useController({name:e,rules:t}),u={...kr(),...n};return G.jsx(ye.Box,{sx:u,children:G.jsx(ye.TextField,{...o,label:r,fullWidth:!0,...a,error:!!i,helperText:!!i&&i.message,onChange:f=>o.onChange(a.type==="number"?parseFloat(f.target.value):f.target.value)})})}function Fo(e){return G.jsx(Cn,{...e,type:"number"})}function jo({name:e,label:r,options:t,sx:n={},disabled:a,rules:o={},...i}){const{field:s,fieldState:{error:u}}=ht.useController({name:e,rules:o}),d={...kr(),...n};return G.jsx(ye.Box,{sx:d,children:G.jsxs(ye.FormControl,{fullWidth:!0,error:!!u,disabled:a,children:[G.jsx(ye.FormLabel,{id:`${e}-label`,sx:{fontWeight:500,color:Kt.capitalDesignTokens.foundations.colors.gray1000,marginBottom:1},children:r}),G.jsx(ye.Select,{labelId:`${e}-label`,id:`${e}-select`,...s,...i,displayEmpty:!0,variant:"outlined",fullWidth:!0,children:t.map(h=>G.jsx(ye.MenuItem,{value:h.key,children:h.displayValue},h.key))}),u&&G.jsx(ye.FormHelperText,{children:u.message})]})})}function et(e){if(typeof e!="object"||e===null)return!1;const r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function On(e){if(fe.isValidElement(e)||!et(e))return e;const r={};return Object.keys(e).forEach(t=>{r[t]=On(e[t])}),r}function Ye(e,r,t={clone:!0}){const n=t.clone?{...e}:e;return et(e)&&et(r)&&Object.keys(r).forEach(a=>{fe.isValidElement(r[a])?n[a]=r[a]:et(r[a])&&Object.prototype.hasOwnProperty.call(e,a)&&et(e[a])?n[a]=Ye(e[a],r[a],t):t.clone?n[a]=et(r[a])?On(r[a]):r[a]:n[a]=r[a]}),n}var Pr={exports:{}},Jt={exports:{}},oe={};/** @license React v16.13.1
|
|
31
|
+
* react-is.production.min.js
|
|
32
|
+
*
|
|
33
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
34
|
+
*
|
|
35
|
+
* This source code is licensed under the MIT license found in the
|
|
36
|
+
* LICENSE file in the root directory of this source tree.
|
|
37
|
+
*/var kn;function Yo(){if(kn)return oe;kn=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function E(g){if(typeof g=="object"&&g!==null){var F=g.$$typeof;switch(F){case r:switch(g=g.type,g){case u:case f:case n:case o:case a:case h:return g;default:switch(g=g&&g.$$typeof,g){case s:case d:case v:case w:case i:return g;default:return F}}case t:return F}}}function O(g){return E(g)===f}return oe.AsyncMode=u,oe.ConcurrentMode=f,oe.ContextConsumer=s,oe.ContextProvider=i,oe.Element=r,oe.ForwardRef=d,oe.Fragment=n,oe.Lazy=v,oe.Memo=w,oe.Portal=t,oe.Profiler=o,oe.StrictMode=a,oe.Suspense=h,oe.isAsyncMode=function(g){return O(g)||E(g)===u},oe.isConcurrentMode=O,oe.isContextConsumer=function(g){return E(g)===s},oe.isContextProvider=function(g){return E(g)===i},oe.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===r},oe.isForwardRef=function(g){return E(g)===d},oe.isFragment=function(g){return E(g)===n},oe.isLazy=function(g){return E(g)===v},oe.isMemo=function(g){return E(g)===w},oe.isPortal=function(g){return E(g)===t},oe.isProfiler=function(g){return E(g)===o},oe.isStrictMode=function(g){return E(g)===a},oe.isSuspense=function(g){return E(g)===h},oe.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===f||g===o||g===a||g===h||g===m||typeof g=="object"&&g!==null&&(g.$$typeof===v||g.$$typeof===w||g.$$typeof===i||g.$$typeof===s||g.$$typeof===d||g.$$typeof===y||g.$$typeof===T||g.$$typeof===C||g.$$typeof===p)},oe.typeOf=E,oe}var ie={};/** @license React v16.13.1
|
|
38
|
+
* react-is.development.js
|
|
39
|
+
*
|
|
40
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
41
|
+
*
|
|
42
|
+
* This source code is licensed under the MIT license found in the
|
|
43
|
+
* LICENSE file in the root directory of this source tree.
|
|
44
|
+
*/var Pn;function Wo(){return Pn||(Pn=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function E(k){return typeof k=="string"||typeof k=="function"||k===n||k===f||k===o||k===a||k===h||k===m||typeof k=="object"&&k!==null&&(k.$$typeof===v||k.$$typeof===w||k.$$typeof===i||k.$$typeof===s||k.$$typeof===d||k.$$typeof===y||k.$$typeof===T||k.$$typeof===C||k.$$typeof===p)}function O(k){if(typeof k=="object"&&k!==null){var Fe=k.$$typeof;switch(Fe){case r:var I=k.type;switch(I){case u:case f:case n:case o:case a:case h:return I;default:var ze=I&&I.$$typeof;switch(ze){case s:case d:case v:case w:case i:return ze;default:return Fe}}case t:return Fe}}}var g=u,F=f,$=s,R=i,j=r,c=d,P=n,Y=v,W=w,V=t,ae=o,ve=a,$e=h,Be=!1;function ot(k){return Be||(Be=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),S(k)||O(k)===u}function S(k){return O(k)===f}function D(k){return O(k)===s}function U(k){return O(k)===i}function z(k){return typeof k=="object"&&k!==null&&k.$$typeof===r}function B(k){return O(k)===d}function K(k){return O(k)===n}function H(k){return O(k)===v}function q(k){return O(k)===w}function Q(k){return O(k)===t}function Z(k){return O(k)===o}function X(k){return O(k)===a}function De(k){return O(k)===h}ie.AsyncMode=g,ie.ConcurrentMode=F,ie.ContextConsumer=$,ie.ContextProvider=R,ie.Element=j,ie.ForwardRef=c,ie.Fragment=P,ie.Lazy=Y,ie.Memo=W,ie.Portal=V,ie.Profiler=ae,ie.StrictMode=ve,ie.Suspense=$e,ie.isAsyncMode=ot,ie.isConcurrentMode=S,ie.isContextConsumer=D,ie.isContextProvider=U,ie.isElement=z,ie.isForwardRef=B,ie.isFragment=K,ie.isLazy=H,ie.isMemo=q,ie.isPortal=Q,ie.isProfiler=Z,ie.isStrictMode=X,ie.isSuspense=De,ie.isValidElementType=E,ie.typeOf=O}()),ie}var _n;function Mn(){return _n||(_n=1,process.env.NODE_ENV==="production"?Jt.exports=Yo():Jt.exports=Wo()),Jt.exports}/*
|
|
45
|
+
object-assign
|
|
46
|
+
(c) Sindre Sorhus
|
|
47
|
+
@license MIT
|
|
48
|
+
*/var _r,Dn;function Lo(){if(Dn)return _r;Dn=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function n(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function a(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var i={},s=0;s<10;s++)i["_"+String.fromCharCode(s)]=s;var u=Object.getOwnPropertyNames(i).map(function(d){return i[d]});if(u.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(d){f[d]=d}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return _r=a()?Object.assign:function(o,i){for(var s,u=n(o),f,d=1;d<arguments.length;d++){s=Object(arguments[d]);for(var h in s)r.call(s,h)&&(u[h]=s[h]);if(e){f=e(s);for(var m=0;m<f.length;m++)t.call(s,f[m])&&(u[f[m]]=s[f[m]])}}return u},_r}var Mr,Rn;function Dr(){if(Rn)return Mr;Rn=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Mr=e,Mr}var Rr,An;function $n(){return An||(An=1,Rr=Function.call.bind(Object.prototype.hasOwnProperty)),Rr}var Ar,In;function Bo(){if(In)return Ar;In=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=Dr(),t={},n=$n();e=function(o){var i="Warning: "+o;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function a(o,i,s,u,f){if(process.env.NODE_ENV!=="production"){for(var d in o)if(n(o,d)){var h;try{if(typeof o[d]!="function"){var m=Error((u||"React class")+": "+s+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}h=o[d](i,d,u,s,null,r)}catch(v){h=v}if(h&&!(h instanceof Error)&&e((u||"React class")+": type specification of "+s+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in t)){t[h.message]=!0;var w=f?f():"";e("Failed "+s+" type: "+h.message+(w??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},Ar=a,Ar}var $r,Nn;function Ho(){if(Nn)return $r;Nn=1;var e=Mn(),r=Lo(),t=Dr(),n=$n(),a=Bo(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(s){var u="Warning: "+s;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function i(){return null}return $r=function(s,u){var f=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function h(S){var D=S&&(f&&S[f]||S[d]);if(typeof D=="function")return D}var m="<<anonymous>>",w={array:T("array"),bigint:T("bigint"),bool:T("boolean"),func:T("function"),number:T("number"),object:T("object"),string:T("string"),symbol:T("symbol"),any:C(),arrayOf:E,element:O(),elementType:g(),instanceOf:F,node:c(),objectOf:R,oneOf:$,oneOfType:j,shape:Y,exact:W};function v(S,D){return S===D?S!==0||1/S===1/D:S!==S&&D!==D}function p(S,D){this.message=S,this.data=D&&typeof D=="object"?D:{},this.stack=""}p.prototype=Error.prototype;function y(S){if(process.env.NODE_ENV!=="production")var D={},U=0;function z(K,H,q,Q,Z,X,De){if(Q=Q||m,X=X||q,De!==t){if(u){var k=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw k.name="Invariant Violation",k}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Fe=Q+":"+q;!D[Fe]&&U<3&&(o("You are manually calling a React.PropTypes validation function for the `"+X+"` prop on `"+Q+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),D[Fe]=!0,U++)}}return H[q]==null?K?H[q]===null?new p("The "+Z+" `"+X+"` is marked as required "+("in `"+Q+"`, but its value is `null`.")):new p("The "+Z+" `"+X+"` is marked as required in "+("`"+Q+"`, but its value is `undefined`.")):null:S(H,q,Q,Z,X)}var B=z.bind(null,!1);return B.isRequired=z.bind(null,!0),B}function T(S){function D(U,z,B,K,H,q){var Q=U[z],Z=ve(Q);if(Z!==S){var X=$e(Q);return new p("Invalid "+K+" `"+H+"` of type "+("`"+X+"` supplied to `"+B+"`, expected ")+("`"+S+"`."),{expectedType:S})}return null}return y(D)}function C(){return y(i)}function E(S){function D(U,z,B,K,H){if(typeof S!="function")return new p("Property `"+H+"` of component `"+B+"` has invalid PropType notation inside arrayOf.");var q=U[z];if(!Array.isArray(q)){var Q=ve(q);return new p("Invalid "+K+" `"+H+"` of type "+("`"+Q+"` supplied to `"+B+"`, expected an array."))}for(var Z=0;Z<q.length;Z++){var X=S(q,Z,B,K,H+"["+Z+"]",t);if(X instanceof Error)return X}return null}return y(D)}function O(){function S(D,U,z,B,K){var H=D[U];if(!s(H)){var q=ve(H);return new p("Invalid "+B+" `"+K+"` of type "+("`"+q+"` supplied to `"+z+"`, expected a single ReactElement."))}return null}return y(S)}function g(){function S(D,U,z,B,K){var H=D[U];if(!e.isValidElementType(H)){var q=ve(H);return new p("Invalid "+B+" `"+K+"` of type "+("`"+q+"` supplied to `"+z+"`, expected a single ReactElement type."))}return null}return y(S)}function F(S){function D(U,z,B,K,H){if(!(U[z]instanceof S)){var q=S.name||m,Q=ot(U[z]);return new p("Invalid "+K+" `"+H+"` of type "+("`"+Q+"` supplied to `"+B+"`, expected ")+("instance of `"+q+"`."))}return null}return y(D)}function $(S){if(!Array.isArray(S))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):o("Invalid argument supplied to oneOf, expected an array.")),i;function D(U,z,B,K,H){for(var q=U[z],Q=0;Q<S.length;Q++)if(v(q,S[Q]))return null;var Z=JSON.stringify(S,function(De,k){var Fe=$e(k);return Fe==="symbol"?String(k):k});return new p("Invalid "+K+" `"+H+"` of value `"+String(q)+"` "+("supplied to `"+B+"`, expected one of "+Z+"."))}return y(D)}function R(S){function D(U,z,B,K,H){if(typeof S!="function")return new p("Property `"+H+"` of component `"+B+"` has invalid PropType notation inside objectOf.");var q=U[z],Q=ve(q);if(Q!=="object")return new p("Invalid "+K+" `"+H+"` of type "+("`"+Q+"` supplied to `"+B+"`, expected an object."));for(var Z in q)if(n(q,Z)){var X=S(q,Z,B,K,H+"."+Z,t);if(X instanceof Error)return X}return null}return y(D)}function j(S){if(!Array.isArray(S))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var D=0;D<S.length;D++){var U=S[D];if(typeof U!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Be(U)+" at index "+D+"."),i}function z(B,K,H,q,Q){for(var Z=[],X=0;X<S.length;X++){var De=S[X],k=De(B,K,H,q,Q,t);if(k==null)return null;k.data&&n(k.data,"expectedType")&&Z.push(k.data.expectedType)}var Fe=Z.length>0?", expected one of type ["+Z.join(", ")+"]":"";return new p("Invalid "+q+" `"+Q+"` supplied to "+("`"+H+"`"+Fe+"."))}return y(z)}function c(){function S(D,U,z,B,K){return V(D[U])?null:new p("Invalid "+B+" `"+K+"` supplied to "+("`"+z+"`, expected a ReactNode."))}return y(S)}function P(S,D,U,z,B){return new p((S||"React class")+": "+D+" type `"+U+"."+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+B+"`.")}function Y(S){function D(U,z,B,K,H){var q=U[z],Q=ve(q);if(Q!=="object")return new p("Invalid "+K+" `"+H+"` of type `"+Q+"` "+("supplied to `"+B+"`, expected `object`."));for(var Z in S){var X=S[Z];if(typeof X!="function")return P(B,K,H,Z,$e(X));var De=X(q,Z,B,K,H+"."+Z,t);if(De)return De}return null}return y(D)}function W(S){function D(U,z,B,K,H){var q=U[z],Q=ve(q);if(Q!=="object")return new p("Invalid "+K+" `"+H+"` of type `"+Q+"` "+("supplied to `"+B+"`, expected `object`."));var Z=r({},U[z],S);for(var X in Z){var De=S[X];if(n(S,X)&&typeof De!="function")return P(B,K,H,X,$e(De));if(!De)return new p("Invalid "+K+" `"+H+"` key `"+X+"` supplied to `"+B+"`.\nBad object: "+JSON.stringify(U[z],null," ")+`
|
|
49
|
+
Valid keys: `+JSON.stringify(Object.keys(S),null," "));var k=De(q,X,B,K,H+"."+X,t);if(k)return k}return null}return y(D)}function V(S){switch(typeof S){case"number":case"string":case"undefined":return!0;case"boolean":return!S;case"object":if(Array.isArray(S))return S.every(V);if(S===null||s(S))return!0;var D=h(S);if(D){var U=D.call(S),z;if(D!==S.entries){for(;!(z=U.next()).done;)if(!V(z.value))return!1}else for(;!(z=U.next()).done;){var B=z.value;if(B&&!V(B[1]))return!1}}else return!1;return!0;default:return!1}}function ae(S,D){return S==="symbol"?!0:D?D["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&D instanceof Symbol:!1}function ve(S){var D=typeof S;return Array.isArray(S)?"array":S instanceof RegExp?"object":ae(D,S)?"symbol":D}function $e(S){if(typeof S>"u"||S===null)return""+S;var D=ve(S);if(D==="object"){if(S instanceof Date)return"date";if(S instanceof RegExp)return"regexp"}return D}function Be(S){var D=$e(S);switch(D){case"array":case"object":return"an "+D;case"boolean":case"date":case"regexp":return"a "+D;default:return D}}function ot(S){return!S.constructor||!S.constructor.name?m:S.constructor.name}return w.checkPropTypes=a,w.resetWarningCache=a.resetWarningCache,w.PropTypes=w,w},$r}var Ir,Fn;function qo(){if(Fn)return Ir;Fn=1;var e=Dr();function r(){}function t(){}return t.resetWarningCache=r,Ir=function(){function n(i,s,u,f,d,h){if(h!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}n.isRequired=n;function a(){return n}var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:a,element:n,elementType:n,instanceOf:a,node:n,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:t,resetWarningCache:r};return o.PropTypes=o,o},Ir}if(process.env.NODE_ENV!=="production"){var Vo=Mn(),zo=!0;Pr.exports=Ho()(Vo.isElement,zo)}else Pr.exports=qo()();var Uo=Pr.exports;const A=Do(Uo);function it(e,...r){const t=new URL(`https://mui.com/production-error/?code=${e}`);return r.forEach(n=>t.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${t} for the full message.`}var Nr={exports:{}},se={};/**
|
|
40
50
|
* @license React
|
|
41
|
-
* react-
|
|
51
|
+
* react-is.production.min.js
|
|
42
52
|
*
|
|
43
53
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
44
54
|
*
|
|
45
55
|
* This source code is licensed under the MIT license found in the
|
|
46
56
|
* LICENSE file in the root directory of this source tree.
|
|
47
|
-
*/var
|
|
57
|
+
*/var jn;function Go(){if(jn)return se;jn=1;var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),v;v=Symbol.for("react.module.reference");function p(y){if(typeof y=="object"&&y!==null){var T=y.$$typeof;switch(T){case e:switch(y=y.type,y){case t:case a:case n:case f:case d:return y;default:switch(y=y&&y.$$typeof,y){case s:case i:case u:case m:case h:case o:return y;default:return T}}case r:return T}}}return se.ContextConsumer=i,se.ContextProvider=o,se.Element=e,se.ForwardRef=u,se.Fragment=t,se.Lazy=m,se.Memo=h,se.Portal=r,se.Profiler=a,se.StrictMode=n,se.Suspense=f,se.SuspenseList=d,se.isAsyncMode=function(){return!1},se.isConcurrentMode=function(){return!1},se.isContextConsumer=function(y){return p(y)===i},se.isContextProvider=function(y){return p(y)===o},se.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},se.isForwardRef=function(y){return p(y)===u},se.isFragment=function(y){return p(y)===t},se.isLazy=function(y){return p(y)===m},se.isMemo=function(y){return p(y)===h},se.isPortal=function(y){return p(y)===r},se.isProfiler=function(y){return p(y)===a},se.isStrictMode=function(y){return p(y)===n},se.isSuspense=function(y){return p(y)===f},se.isSuspenseList=function(y){return p(y)===d},se.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===t||y===a||y===n||y===f||y===d||y===w||typeof y=="object"&&y!==null&&(y.$$typeof===m||y.$$typeof===h||y.$$typeof===o||y.$$typeof===i||y.$$typeof===u||y.$$typeof===v||y.getModuleId!==void 0)},se.typeOf=p,se}var ce={};/**
|
|
48
58
|
* @license React
|
|
49
|
-
* react-
|
|
59
|
+
* react-is.development.js
|
|
50
60
|
*
|
|
51
61
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
52
62
|
*
|
|
53
63
|
* This source code is licensed under the MIT license found in the
|
|
54
64
|
* LICENSE file in the root directory of this source tree.
|
|
55
|
-
*/var
|
|
56
|
-
|
|
57
|
-
`),
|
|
58
|
-
`)
|
|
59
|
-
`+m[D].replace(" at new "," at ");return t.displayName&&J.includes("<anonymous>")&&(J=J.replace("<anonymous>",t.displayName)),typeof t=="function"&&W.set(t,J),J}while(D>=1&&I>=0);break}}}finally{w=!1,k.current=S,R(),Error.prepareStackTrace=C}var Ce=t?t.displayName||t.name:"",me=Ce?T(Ce):"";return typeof t=="function"&&W.set(t,me),me}function Me(t,u,s){return er(t,!1)}function Er(t){var u=t.prototype;return!!(u&&u.isReactComponent)}function We(t,u,s){if(t==null)return"";if(typeof t=="function")return er(t,Er(t));if(typeof t=="string")return T(t);switch(t){case ee:return T("Suspense");case L:return T("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case $:return Me(t.render);case V:return We(t.type,u,s);case re:{var p=t,C=p._payload,S=p._init;try{return We(S(C),u,s)}catch{}}}return""}var _e=Object.prototype.hasOwnProperty,je={},rr=oe.ReactDebugCurrentFrame;function Ae(t){if(t){var u=t._owner,s=We(t.type,t._source,u?u.type:null);rr.setExtraStackFrame(s)}else rr.setExtraStackFrame(null)}function le(t,u,s,p,C){{var S=Function.call.bind(_e);for(var _ in t)if(S(t,_)){var m=void 0;try{if(typeof t[_]!="function"){var Y=Error((p||"React class")+": "+s+" type `"+_+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[_]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Y.name="Invariant Violation",Y}m=t[_](u,_,p,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(D){m=D}m&&!(m instanceof Error)&&(Ae(C),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",p||"React class",s,_,typeof m),Ae(null)),m instanceof Error&&!(m.message in je)&&(je[m.message]=!0,Ae(C),x("Failed %s type: %s",s,m.message),Ae(null))}}}var xe=Array.isArray;function Ne(t){return xe(t)}function tr(t){{var u=typeof Symbol=="function"&&Symbol.toStringTag,s=u&&t[Symbol.toStringTag]||t.constructor.name||"Object";return s}}function nr(t){try{return Ve(t),!1}catch{return!0}}function Ve(t){return""+t}function He(t){if(nr(t))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",tr(t)),Ve(t)}var be=oe.ReactCurrentOwner,Rr={key:!0,ref:!0,__self:!0,__source:!0},ar,or,De;De={};function Cr(t){if(_e.call(t,"ref")){var u=Object.getOwnPropertyDescriptor(t,"ref").get;if(u&&u.isReactWarning)return!1}return t.ref!==void 0}function wr(t){if(_e.call(t,"key")){var u=Object.getOwnPropertyDescriptor(t,"key").get;if(u&&u.isReactWarning)return!1}return t.key!==void 0}function Sr(t,u){if(typeof t.ref=="string"&&be.current&&u&&be.current.stateNode!==u){var s=z(be.current.type);De[s]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',z(be.current.type),t.ref),De[s]=!0)}}function Ee(t,u){{var s=function(){ar||(ar=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",u))};s.isReactWarning=!0,Object.defineProperty(t,"key",{get:s,configurable:!0})}}function ur(t,u){{var s=function(){or||(or=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",u))};s.isReactWarning=!0,Object.defineProperty(t,"ref",{get:s,configurable:!0})}}var Tr=function(t,u,s,p,C,S,_){var m={$$typeof:v,type:t,key:u,ref:s,props:_,_owner:S};return m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(m,"_self",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.defineProperty(m,"_source",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m};function Or(t,u,s,p,C){{var S,_={},m=null,Y=null;s!==void 0&&(He(s),m=""+s),wr(u)&&(He(u.key),m=""+u.key),Cr(u)&&(Y=u.ref,Sr(u,C));for(S in u)_e.call(u,S)&&!Rr.hasOwnProperty(S)&&(_[S]=u[S]);if(t&&t.defaultProps){var D=t.defaultProps;for(S in D)_[S]===void 0&&(_[S]=D[S])}if(m||Y){var I=typeof t=="function"?t.displayName||t.name||"Unknown":t;m&&Ee(_,I),Y&&ur(_,I)}return Tr(t,m,Y,C,p,be.current,_)}}var Ue=oe.ReactCurrentOwner,ir=oe.ReactDebugCurrentFrame;function he(t){if(t){var u=t._owner,s=We(t.type,t._source,u?u.type:null);ir.setExtraStackFrame(s)}else ir.setExtraStackFrame(null)}var Fe;Fe=!1;function Re(t){return typeof t=="object"&&t!==null&&t.$$typeof===v}function Ie(){{if(Ue.current){var t=z(Ue.current.type);if(t)return`
|
|
65
|
+
*/var Yn;function Qo(){return Yn||(Yn=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),v=!1,p=!1,y=!1,T=!1,C=!1,E;E=Symbol.for("react.module.reference");function O(I){return!!(typeof I=="string"||typeof I=="function"||I===t||I===a||C||I===n||I===f||I===d||T||I===w||v||p||y||typeof I=="object"&&I!==null&&(I.$$typeof===m||I.$$typeof===h||I.$$typeof===o||I.$$typeof===i||I.$$typeof===u||I.$$typeof===E||I.getModuleId!==void 0))}function g(I){if(typeof I=="object"&&I!==null){var ze=I.$$typeof;switch(ze){case e:var Ze=I.type;switch(Ze){case t:case a:case n:case f:case d:return Ze;default:var Qt=Ze&&Ze.$$typeof;switch(Qt){case s:case i:case u:case m:case h:case o:return Qt;default:return ze}}case r:return ze}}}var F=i,$=o,R=e,j=u,c=t,P=m,Y=h,W=r,V=a,ae=n,ve=f,$e=d,Be=!1,ot=!1;function S(I){return Be||(Be=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function D(I){return ot||(ot=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function U(I){return g(I)===i}function z(I){return g(I)===o}function B(I){return typeof I=="object"&&I!==null&&I.$$typeof===e}function K(I){return g(I)===u}function H(I){return g(I)===t}function q(I){return g(I)===m}function Q(I){return g(I)===h}function Z(I){return g(I)===r}function X(I){return g(I)===a}function De(I){return g(I)===n}function k(I){return g(I)===f}function Fe(I){return g(I)===d}ce.ContextConsumer=F,ce.ContextProvider=$,ce.Element=R,ce.ForwardRef=j,ce.Fragment=c,ce.Lazy=P,ce.Memo=Y,ce.Portal=W,ce.Profiler=V,ce.StrictMode=ae,ce.Suspense=ve,ce.SuspenseList=$e,ce.isAsyncMode=S,ce.isConcurrentMode=D,ce.isContextConsumer=U,ce.isContextProvider=z,ce.isElement=B,ce.isForwardRef=K,ce.isFragment=H,ce.isLazy=q,ce.isMemo=Q,ce.isPortal=Z,ce.isProfiler=X,ce.isStrictMode=De,ce.isSuspense=k,ce.isSuspenseList=Fe,ce.isValidElementType=O,ce.typeOf=g}()),ce}process.env.NODE_ENV==="production"?Nr.exports=Go():Nr.exports=Qo();var Wn=Nr.exports;function Ln(e,r=""){return e.displayName||e.name||r}function Bn(e,r,t){const n=Ln(r);return e.displayName||(n!==""?`${t}(${n})`:t)}function Xo(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Ln(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Wn.ForwardRef:return Bn(e,e.render,"ForwardRef");case Wn.Memo:return Bn(e,e.type,"memo");default:return}}}function tt(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":it(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Fr(e,r){var t,n,a;return fe.isValidElement(e)&&r.indexOf(e.type.muiName??((a=(n=(t=e.type)==null?void 0:t._payload)==null?void 0:n.value)==null?void 0:a.muiName))!==-1}function jr(e,r){const t={...r};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const a=n;if(a==="components"||a==="slots")t[a]={...e[a],...t[a]};else if(a==="componentsProps"||a==="slotProps"){const o=e[a],i=r[a];if(!i)t[a]=o||{};else if(!o)t[a]=i;else{t[a]={...i};for(const s in o)if(Object.prototype.hasOwnProperty.call(o,s)){const u=s;t[a][u]=jr(o[u],i[u])}}}else t[a]===void 0&&(t[a]=e[a])}return t}function Hn(e,r,t=void 0){const n={};for(const a in e){const o=e[a];let i="",s=!0;for(let u=0;u<o.length;u+=1){const f=o[u];f&&(i+=(s===!0?"":" ")+r(f),s=!1,t&&t[f]&&(i+=" "+t[f]))}n[a]=i}return n}const qn=e=>e,Ko=(()=>{let e=qn;return{configure(r){e=r},generate(r){return e(r)},reset(){e=qn}}})(),Jo={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Zt(e,r,t="Mui"){const n=Jo[r];return n?`${t}-${n}`:`${Ko.generate(e)}-${r}`}function Vn(e,r,t="Mui"){const n={};return r.forEach(a=>{n[a]=Zt(e,a,t)}),n}function Zo(e,r=Number.MIN_SAFE_INTEGER,t=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,t))}function zn(e){var r,t,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=zn(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Un(){for(var e,r,t=0,n="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=zn(e))&&(n&&(n+=" "),n+=r);return n}function Mt(e,r){return r?Ye(e,r,{clone:!1}):e}const st=process.env.NODE_ENV!=="production"?A.oneOfType([A.number,A.string,A.object,A.array]):{};function ei(e,r){if(!e.containerQueries)return r;const t=Object.keys(r).filter(n=>n.startsWith("@container")).sort((n,a)=>{var i,s;const o=/min-width:\s*([0-9.]+)/;return+(((i=n.match(o))==null?void 0:i[1])||0)-+(((s=a.match(o))==null?void 0:s[1])||0)});return t.length?t.reduce((n,a)=>{const o=r[a];return delete n[a],n[a]=o,n},{...r}):r}function ti(e,r){return r==="@"||r.startsWith("@")&&(e.some(t=>r.startsWith(`@${t}`))||!!r.match(/^@\d/))}function ri(e,r){const t=r.match(/^@([^/]+)?\/?(.+)?$/);if(!t){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
66
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:it(18,`(${r})`));return null}const[,n,a]=t,o=Number.isNaN(+n)?n||0:+n;return e.containerQueries(a).up(o)}function ni(e){const r=(o,i)=>o.replace("@media",i?`@container ${i}`:"@container");function t(o,i){o.up=(...s)=>r(e.breakpoints.up(...s),i),o.down=(...s)=>r(e.breakpoints.down(...s),i),o.between=(...s)=>r(e.breakpoints.between(...s),i),o.only=(...s)=>r(e.breakpoints.only(...s),i),o.not=(...s)=>{const u=r(e.breakpoints.not(...s),i);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},a=o=>(t(n,o),n);return t(a),{...e,containerQueries:a}}const er={xs:0,sm:600,md:900,lg:1200,xl:1536},Gn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${er[e]}px)`},ai={containerQueries:e=>({up:r=>{let t=typeof r=="number"?r:er[r]||r;return typeof t=="number"&&(t=`${t}px`),e?`@container ${e} (min-width:${t})`:`@container (min-width:${t})`}})};function rt(e,r,t){const n=e.theme||{};if(Array.isArray(r)){const o=n.breakpoints||Gn;return r.reduce((i,s,u)=>(i[o.up(o.keys[u])]=t(r[u]),i),{})}if(typeof r=="object"){const o=n.breakpoints||Gn;return Object.keys(r).reduce((i,s)=>{if(ti(o.keys,s)){const u=ri(n.containerQueries?n:ai,s);u&&(i[u]=t(r[s],s))}else if(Object.keys(o.values||er).includes(s)){const u=o.up(s);i[u]=t(r[s],s)}else{const u=s;i[u]=r[u]}return i},{})}return t(r)}function oi(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,a)=>{const o=e.up(a);return n[o]={},n},{}))||{}}function ii(e,r){return e.reduce((t,n)=>{const a=t[n];return(!a||Object.keys(a).length===0)&&delete t[n],t},r)}function tr(e,r,t=!0){if(!r||typeof r!="string")return null;if(e&&e.vars&&t){const n=`vars.${r}`.split(".").reduce((a,o)=>a&&a[o]?a[o]:null,e);if(n!=null)return n}return r.split(".").reduce((n,a)=>n&&n[a]!=null?n[a]:null,e)}function rr(e,r,t,n=t){let a;return typeof e=="function"?a=e(t):Array.isArray(e)?a=e[t]||n:a=tr(e,t)||n,r&&(a=r(a,n,e)),a}function Se(e){const{prop:r,cssProperty:t=e.prop,themeKey:n,transform:a}=e,o=i=>{if(i[r]==null)return null;const s=i[r],u=i.theme,f=tr(u,n)||{};return rt(i,s,h=>{let m=rr(f,a,h);return h===m&&typeof h=="string"&&(m=rr(f,a,`${r}${h==="default"?"":tt(h)}`,h)),t===!1?m:{[t]:m}})};return o.propTypes=process.env.NODE_ENV!=="production"?{[r]:st}:{},o.filterProps=[r],o}function si(e){const r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}const ci={m:"margin",p:"padding"},ui={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Qn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},li=si(e=>{if(e.length>2)if(Qn[e])e=Qn[e];else return[e];const[r,t]=e.split(""),n=ci[r],a=ui[t]||"";return Array.isArray(a)?a.map(o=>n+o):[n+a]}),nr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ar=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],fi=[...nr,...ar];function Dt(e,r,t,n){const a=tr(e,r,!0)??t;return typeof a=="number"||typeof a=="string"?o=>typeof o=="string"?o:(process.env.NODE_ENV!=="production"&&typeof o!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${o}.`),typeof a=="string"?`calc(${o} * ${a})`:a*o):Array.isArray(a)?o=>{if(typeof o=="string")return o;const i=Math.abs(o);process.env.NODE_ENV!=="production"&&(Number.isInteger(i)?i>a.length-1&&console.error([`MUI: The value provided (${i}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${i} > ${a.length-1}, you need to add the missing values.`].join(`
|
|
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
|
+
`)));const s=a[i];return o>=0?s:typeof s=="number"?-s:`-${s}`}:typeof a=="function"?a:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${r}\` value (${a}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
69
|
+
`)),()=>{})}function Yr(e){return Dt(e,"spacing",8,"spacing")}function Rt(e,r){return typeof r=="string"||r==null?r:e(r)}function di(e,r){return t=>e.reduce((n,a)=>(n[a]=Rt(r,t),n),{})}function hi(e,r,t,n){if(!r.includes(t))return null;const a=li(t),o=di(a,n),i=e[t];return rt(e,i,o)}function Xn(e,r){const t=Yr(e.theme);return Object.keys(e).map(n=>hi(e,r,n,t)).reduce(Mt,{})}function xe(e){return Xn(e,nr)}xe.propTypes=process.env.NODE_ENV!=="production"?nr.reduce((e,r)=>(e[r]=st,e),{}):{},xe.filterProps=nr;function Te(e){return Xn(e,ar)}Te.propTypes=process.env.NODE_ENV!=="production"?ar.reduce((e,r)=>(e[r]=st,e),{}):{},Te.filterProps=ar,process.env.NODE_ENV!=="production"&&fi.reduce((e,r)=>(e[r]=st,e),{});function or(...e){const r=e.reduce((n,a)=>(a.filterProps.forEach(o=>{n[o]=a}),n),{}),t=n=>Object.keys(n).reduce((a,o)=>r[o]?Mt(a,r[o](n)):a,{});return t.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,a)=>Object.assign(n,a.propTypes),{}):{},t.filterProps=e.reduce((n,a)=>n.concat(a.filterProps),[]),t}function He(e){return typeof e!="number"?e:`${e}px solid`}function qe(e,r){return Se({prop:e,themeKey:"borders",transform:r})}const mi=qe("border",He),pi=qe("borderTop",He),yi=qe("borderRight",He),gi=qe("borderBottom",He),bi=qe("borderLeft",He),vi=qe("borderColor"),wi=qe("borderTopColor"),xi=qe("borderRightColor"),Ti=qe("borderBottomColor"),Ei=qe("borderLeftColor"),Si=qe("outline",He),Ci=qe("outlineColor"),ir=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const r=Dt(e.theme,"shape.borderRadius",4,"borderRadius"),t=n=>({borderRadius:Rt(r,n)});return rt(e,e.borderRadius,t)}return null};ir.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:st}:{},ir.filterProps=["borderRadius"],or(mi,pi,yi,gi,bi,vi,wi,xi,Ti,Ei,ir,Si,Ci);const sr=e=>{if(e.gap!==void 0&&e.gap!==null){const r=Dt(e.theme,"spacing",8,"gap"),t=n=>({gap:Rt(r,n)});return rt(e,e.gap,t)}return null};sr.propTypes=process.env.NODE_ENV!=="production"?{gap:st}:{},sr.filterProps=["gap"];const cr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const r=Dt(e.theme,"spacing",8,"columnGap"),t=n=>({columnGap:Rt(r,n)});return rt(e,e.columnGap,t)}return null};cr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:st}:{},cr.filterProps=["columnGap"];const ur=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const r=Dt(e.theme,"spacing",8,"rowGap"),t=n=>({rowGap:Rt(r,n)});return rt(e,e.rowGap,t)}return null};ur.propTypes=process.env.NODE_ENV!=="production"?{rowGap:st}:{},ur.filterProps=["rowGap"];const Oi=Se({prop:"gridColumn"}),ki=Se({prop:"gridRow"}),Pi=Se({prop:"gridAutoFlow"}),_i=Se({prop:"gridAutoColumns"}),Mi=Se({prop:"gridAutoRows"}),Di=Se({prop:"gridTemplateColumns"}),Ri=Se({prop:"gridTemplateRows"}),Ai=Se({prop:"gridTemplateAreas"}),$i=Se({prop:"gridArea"});or(sr,cr,ur,Oi,ki,Pi,_i,Mi,Di,Ri,Ai,$i);function mt(e,r){return r==="grey"?r:e}const Ii=Se({prop:"color",themeKey:"palette",transform:mt}),Ni=Se({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:mt}),Fi=Se({prop:"backgroundColor",themeKey:"palette",transform:mt});or(Ii,Ni,Fi);function We(e){return e<=1&&e!==0?`${e*100}%`:e}const ji=Se({prop:"width",transform:We}),Wr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=t=>{var a,o,i,s,u;const n=((i=(o=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:o.values)==null?void 0:i[t])||er[t];return n?((u=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:We(t)}};return rt(e,e.maxWidth,r)}return null};Wr.filterProps=["maxWidth"];const Yi=Se({prop:"minWidth",transform:We}),Wi=Se({prop:"height",transform:We}),Li=Se({prop:"maxHeight",transform:We}),Bi=Se({prop:"minHeight",transform:We});Se({prop:"size",cssProperty:"width",transform:We}),Se({prop:"size",cssProperty:"height",transform:We});const Hi=Se({prop:"boxSizing"});or(ji,Wr,Yi,Wi,Li,Bi,Hi);const lr={border:{themeKey:"borders",transform:He},borderTop:{themeKey:"borders",transform:He},borderRight:{themeKey:"borders",transform:He},borderBottom:{themeKey:"borders",transform:He},borderLeft:{themeKey:"borders",transform:He},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:He},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ir},color:{themeKey:"palette",transform:mt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:mt},backgroundColor:{themeKey:"palette",transform:mt},p:{style:Te},pt:{style:Te},pr:{style:Te},pb:{style:Te},pl:{style:Te},px:{style:Te},py:{style:Te},padding:{style:Te},paddingTop:{style:Te},paddingRight:{style:Te},paddingBottom:{style:Te},paddingLeft:{style:Te},paddingX:{style:Te},paddingY:{style:Te},paddingInline:{style:Te},paddingInlineStart:{style:Te},paddingInlineEnd:{style:Te},paddingBlock:{style:Te},paddingBlockStart:{style:Te},paddingBlockEnd:{style:Te},m:{style:xe},mt:{style:xe},mr:{style:xe},mb:{style:xe},ml:{style:xe},mx:{style:xe},my:{style:xe},margin:{style:xe},marginTop:{style:xe},marginRight:{style:xe},marginBottom:{style:xe},marginLeft:{style:xe},marginX:{style:xe},marginY:{style:xe},marginInline:{style:xe},marginInlineStart:{style:xe},marginInlineEnd:{style:xe},marginBlock:{style:xe},marginBlockStart:{style:xe},marginBlockEnd:{style:xe},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:sr},rowGap:{style:ur},columnGap:{style:cr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:We},maxWidth:{style:Wr},minWidth:{transform:We},height:{transform:We},maxHeight:{transform:We},minHeight:{transform:We},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function qi(...e){const r=e.reduce((n,a)=>n.concat(Object.keys(a)),[]),t=new Set(r);return e.every(n=>t.size===Object.keys(n).length)}function Vi(e,r){return typeof e=="function"?e(r):e}function zi(){function e(t,n,a,o){const i={[t]:n,theme:a},s=o[t];if(!s)return{[t]:n};const{cssProperty:u=t,themeKey:f,transform:d,style:h}=s;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[t]:n};const m=tr(a,f)||{};return h?h(i):rt(i,n,v=>{let p=rr(m,d,v);return v===p&&typeof v=="string"&&(p=rr(m,d,`${t}${v==="default"?"":tt(v)}`,v)),u===!1?p:{[u]:p}})}function r(t){const{sx:n,theme:a={}}=t||{};if(!n)return null;const o=a.unstable_sxConfig??lr;function i(s){let u=s;if(typeof s=="function")u=s(a);else if(typeof s!="object")return s;if(!u)return null;const f=oi(a.breakpoints),d=Object.keys(f);let h=f;return Object.keys(u).forEach(m=>{const w=Vi(u[m],a);if(w!=null)if(typeof w=="object")if(o[m])h=Mt(h,e(m,w,a,o));else{const v=rt({theme:a},w,p=>({[m]:p}));qi(v,w)?h[m]=r({sx:w,theme:a}):h=Mt(h,v)}else h=Mt(h,e(m,w,a,o))}),ei(a,ii(d,h))}return Array.isArray(n)?n.map(i):i(n)}return r}const pt=zi();pt.filterProps=["sx"];function Lr(){return Lr=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Lr.apply(null,arguments)}function Kn(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var Ui=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Gi=Kn(function(e){return Ui.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Qi=!1;function Xi(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function Ki(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var Ji=function(){function e(t){var n=this;this._insertTag=function(a){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(a,o),n.tags.push(a)},this.isSpeedy=t.speedy===void 0?!Qi:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(n){n.forEach(this._insertTag)},r.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ki(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Xi(a);try{o.insertRule(n,o.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(n));this.ctr++},r.flush=function(){this.tags.forEach(function(n){var a;return(a=n.parentNode)==null?void 0:a.removeChild(n)}),this.tags=[],this.ctr=0},e}(),Ae="-ms-",fr="-moz-",te="-webkit-",Jn="comm",Br="rule",Hr="decl",Zi="@import",Zn="@keyframes",es="@layer",ts=Math.abs,dr=String.fromCharCode,rs=Object.assign;function ns(e,r){return Re(e,0)^45?(((r<<2^Re(e,0))<<2^Re(e,1))<<2^Re(e,2))<<2^Re(e,3):0}function ea(e){return e.trim()}function as(e,r){return(e=r.exec(e))?e[0]:e}function re(e,r,t){return e.replace(r,t)}function qr(e,r){return e.indexOf(r)}function Re(e,r){return e.charCodeAt(r)|0}function At(e,r,t){return e.slice(r,t)}function Ue(e){return e.length}function Vr(e){return e.length}function hr(e,r){return r.push(e),e}function os(e,r){return e.map(r).join("")}var mr=1,yt=1,ta=0,Ne=0,Pe=0,gt="";function pr(e,r,t,n,a,o,i){return{value:e,root:r,parent:t,type:n,props:a,children:o,line:mr,column:yt,length:i,return:""}}function $t(e,r){return rs(pr("",null,null,"",null,null,0),e,{length:-e.length},r)}function is(){return Pe}function ss(){return Pe=Ne>0?Re(gt,--Ne):0,yt--,Pe===10&&(yt=1,mr--),Pe}function Le(){return Pe=Ne<ta?Re(gt,Ne++):0,yt++,Pe===10&&(yt=1,mr++),Pe}function Ge(){return Re(gt,Ne)}function yr(){return Ne}function It(e,r){return At(gt,e,r)}function Nt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ra(e){return mr=yt=1,ta=Ue(gt=e),Ne=0,[]}function na(e){return gt="",e}function gr(e){return ea(It(Ne-1,zr(e===91?e+2:e===40?e+1:e)))}function cs(e){for(;(Pe=Ge())&&Pe<33;)Le();return Nt(e)>2||Nt(Pe)>3?"":" "}function us(e,r){for(;--r&&Le()&&!(Pe<48||Pe>102||Pe>57&&Pe<65||Pe>70&&Pe<97););return It(e,yr()+(r<6&&Ge()==32&&Le()==32))}function zr(e){for(;Le();)switch(Pe){case e:return Ne;case 34:case 39:e!==34&&e!==39&&zr(Pe);break;case 40:e===41&&zr(e);break;case 92:Le();break}return Ne}function ls(e,r){for(;Le()&&e+Pe!==57;)if(e+Pe===84&&Ge()===47)break;return"/*"+It(r,Ne-1)+"*"+dr(e===47?e:Le())}function fs(e){for(;!Nt(Ge());)Le();return It(e,Ne)}function ds(e){return na(br("",null,null,null,[""],e=ra(e),0,[0],e))}function br(e,r,t,n,a,o,i,s,u){for(var f=0,d=0,h=i,m=0,w=0,v=0,p=1,y=1,T=1,C=0,E="",O=a,g=o,F=n,$=E;y;)switch(v=C,C=Le()){case 40:if(v!=108&&Re($,h-1)==58){qr($+=re(gr(C),"&","&\f"),"&\f")!=-1&&(T=-1);break}case 34:case 39:case 91:$+=gr(C);break;case 9:case 10:case 13:case 32:$+=cs(v);break;case 92:$+=us(yr()-1,7);continue;case 47:switch(Ge()){case 42:case 47:hr(hs(ls(Le(),yr()),r,t),u);break;default:$+="/"}break;case 123*p:s[f++]=Ue($)*T;case 125*p:case 59:case 0:switch(C){case 0:case 125:y=0;case 59+d:T==-1&&($=re($,/\f/g,"")),w>0&&Ue($)-h&&hr(w>32?oa($+";",n,t,h-1):oa(re($," ","")+";",n,t,h-2),u);break;case 59:$+=";";default:if(hr(F=aa($,r,t,f,d,a,s,E,O=[],g=[],h),o),C===123)if(d===0)br($,r,F,F,O,o,h,s,g);else switch(m===99&&Re($,3)===110?100:m){case 100:case 108:case 109:case 115:br(e,F,F,n&&hr(aa(e,F,F,0,0,a,s,E,a,O=[],h),g),a,g,h,s,n?O:g);break;default:br($,F,F,F,[""],g,0,s,g)}}f=d=w=0,p=T=1,E=$="",h=i;break;case 58:h=1+Ue($),w=v;default:if(p<1){if(C==123)--p;else if(C==125&&p++==0&&ss()==125)continue}switch($+=dr(C),C*p){case 38:T=d>0?1:($+="\f",-1);break;case 44:s[f++]=(Ue($)-1)*T,T=1;break;case 64:Ge()===45&&($+=gr(Le())),m=Ge(),d=h=Ue(E=$+=fs(yr())),C++;break;case 45:v===45&&Ue($)==2&&(p=0)}}return o}function aa(e,r,t,n,a,o,i,s,u,f,d){for(var h=a-1,m=a===0?o:[""],w=Vr(m),v=0,p=0,y=0;v<n;++v)for(var T=0,C=At(e,h+1,h=ts(p=i[v])),E=e;T<w;++T)(E=ea(p>0?m[T]+" "+C:re(C,/&\f/g,m[T])))&&(u[y++]=E);return pr(e,r,t,a===0?Br:s,u,f,d)}function hs(e,r,t){return pr(e,r,t,Jn,dr(is()),At(e,2,-2),0)}function oa(e,r,t,n){return pr(e,r,t,Hr,At(e,0,n),At(e,n+1,-1),n)}function bt(e,r){for(var t="",n=Vr(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function ms(e,r,t,n){switch(e.type){case es:if(e.children.length)break;case Zi:case Hr:return e.return=e.return||e.value;case Jn:return"";case Zn:return e.return=e.value+"{"+bt(e.children,n)+"}";case Br:e.value=e.props.join(",")}return Ue(t=bt(e.children,n))?e.return=e.value+"{"+t+"}":""}function ps(e){var r=Vr(e);return function(t,n,a,o){for(var i="",s=0;s<r;s++)i+=e[s](t,n,a,o)||"";return i}}function ys(e){return function(r){r.root||(r=r.return)&&e(r)}}var gs=function(r,t,n){for(var a=0,o=0;a=o,o=Ge(),a===38&&o===12&&(t[n]=1),!Nt(o);)Le();return It(r,Ne)},bs=function(r,t){var n=-1,a=44;do switch(Nt(a)){case 0:a===38&&Ge()===12&&(t[n]=1),r[n]+=gs(Ne-1,t,n);break;case 2:r[n]+=gr(a);break;case 4:if(a===44){r[++n]=Ge()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=dr(a)}while(a=Le());return r},vs=function(r,t){return na(bs(ra(r),t))},ia=new WeakMap,ws=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var t=r.value,n=r.parent,a=r.column===n.column&&r.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(r.props.length===1&&t.charCodeAt(0)!==58&&!ia.get(n))&&!a){ia.set(r,!0);for(var o=[],i=vs(t,o),s=n.props,u=0,f=0;u<i.length;u++)for(var d=0;d<s.length;d++,f++)r.props[f]=o[u]?i[u].replace(/&\f/g,s[d]):s[d]+" "+i[u]}}},xs=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function sa(e,r){switch(ns(e,r)){case 5103:return te+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return te+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return te+e+fr+e+Ae+e+e;case 6828:case 4268:return te+e+Ae+e+e;case 6165:return te+e+Ae+"flex-"+e+e;case 5187:return te+e+re(e,/(\w+).+(:[^]+)/,te+"box-$1$2"+Ae+"flex-$1$2")+e;case 5443:return te+e+Ae+"flex-item-"+re(e,/flex-|-self/,"")+e;case 4675:return te+e+Ae+"flex-line-pack"+re(e,/align-content|flex-|-self/,"")+e;case 5548:return te+e+Ae+re(e,"shrink","negative")+e;case 5292:return te+e+Ae+re(e,"basis","preferred-size")+e;case 6060:return te+"box-"+re(e,"-grow","")+te+e+Ae+re(e,"grow","positive")+e;case 4554:return te+re(e,/([^-])(transform)/g,"$1"+te+"$2")+e;case 6187:return re(re(re(e,/(zoom-|grab)/,te+"$1"),/(image-set)/,te+"$1"),e,"")+e;case 5495:case 3959:return re(e,/(image-set\([^]*)/,te+"$1$`$1");case 4968:return re(re(e,/(.+:)(flex-)?(.*)/,te+"box-pack:$3"+Ae+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+te+e+e;case 4095:case 3583:case 4068:case 2532:return re(e,/(.+)-inline(.+)/,te+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ue(e)-1-r>6)switch(Re(e,r+1)){case 109:if(Re(e,r+4)!==45)break;case 102:return re(e,/(.+:)(.+)-([^]+)/,"$1"+te+"$2-$3$1"+fr+(Re(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~qr(e,"stretch")?sa(re(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(Re(e,r+1)!==115)break;case 6444:switch(Re(e,Ue(e)-3-(~qr(e,"!important")&&10))){case 107:return re(e,":",":"+te)+e;case 101:return re(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+te+(Re(e,14)===45?"inline-":"")+"box$3$1"+te+"$2$3$1"+Ae+"$2box$3")+e}break;case 5936:switch(Re(e,r+11)){case 114:return te+e+Ae+re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return te+e+Ae+re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return te+e+Ae+re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return te+e+Ae+e+e}return e}var Ts=function(r,t,n,a){if(r.length>-1&&!r.return)switch(r.type){case Hr:r.return=sa(r.value,r.length);break;case Zn:return bt([$t(r,{value:re(r.value,"@","@"+te)})],a);case Br:if(r.length)return os(r.props,function(o){switch(as(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return bt([$t(r,{props:[re(o,/:(read-\w+)/,":"+fr+"$1")]})],a);case"::placeholder":return bt([$t(r,{props:[re(o,/:(plac\w+)/,":"+te+"input-$1")]}),$t(r,{props:[re(o,/:(plac\w+)/,":"+fr+"$1")]}),$t(r,{props:[re(o,/:(plac\w+)/,Ae+"input-$1")]})],a)}return""})}},Es=[Ts],Ss=function(r){var t=r.key;if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(p){var y=p.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var a=r.stylisPlugins||Es,o={},i,s=[];i=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(p){for(var y=p.getAttribute("data-emotion").split(" "),T=1;T<y.length;T++)o[y[T]]=!0;s.push(p)});var u,f=[ws,xs];{var d,h=[ms,ys(function(p){d.insert(p)})],m=ps(f.concat(a,h)),w=function(y){return bt(ds(y),m)};u=function(y,T,C,E){d=C,w(y?y+"{"+T.styles+"}":T.styles),E&&(v.inserted[T.name]=!0)}}var v={key:t,sheet:new Ji({key:t,container:i,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:o,registered:{},insert:u};return v.sheet.hydrate(s),v},Cs=!0;function Os(e,r,t){var n="";return t.split(" ").forEach(function(a){e[a]!==void 0?r.push(e[a]+";"):a&&(n+=a+" ")}),n}var ca=function(r,t,n){var a=r.key+"-"+t.name;(n===!1||Cs===!1)&&r.registered[a]===void 0&&(r.registered[a]=t.styles)},ks=function(r,t,n){ca(r,t,n);var a=r.key+"-"+t.name;if(r.inserted[t.name]===void 0){var o=t;do r.insert(t===o?"."+a:"",o,r.sheet,!0),o=o.next;while(o!==void 0)}};function Ps(e){for(var r=0,t,n=0,a=e.length;a>=4;++n,a-=4)t=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(a){case 3:r^=(e.charCodeAt(n+2)&255)<<16;case 2:r^=(e.charCodeAt(n+1)&255)<<8;case 1:r^=e.charCodeAt(n)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var _s={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ms=!1,Ds=/[A-Z]|^ms/g,Rs=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ua=function(r){return r.charCodeAt(1)===45},la=function(r){return r!=null&&typeof r!="boolean"},Ur=Kn(function(e){return ua(e)?e:e.replace(Ds,"-$&").toLowerCase()}),fa=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(Rs,function(n,a,o){return Qe={name:a,styles:o,next:Qe},a})}return _s[r]!==1&&!ua(r)&&typeof t=="number"&&t!==0?t+"px":t},As="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ft(e,r,t){if(t==null)return"";var n=t;if(n.__emotion_styles!==void 0)return n;switch(typeof t){case"boolean":return"";case"object":{var a=t;if(a.anim===1)return Qe={name:a.name,styles:a.styles,next:Qe},a.name;var o=t;if(o.styles!==void 0){var i=o.next;if(i!==void 0)for(;i!==void 0;)Qe={name:i.name,styles:i.styles,next:Qe},i=i.next;var s=o.styles+";";return s}return $s(e,r,t)}case"function":{if(e!==void 0){var u=Qe,f=t(e);return Qe=u,Ft(e,r,f)}break}}var d=t;if(r==null)return d;var h=r[d];return h!==void 0?h:d}function $s(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=Ft(e,r,t[a])+";";else for(var o in t){var i=t[o];if(typeof i!="object"){var s=i;r!=null&&r[s]!==void 0?n+=o+"{"+r[s]+"}":la(s)&&(n+=Ur(o)+":"+fa(o,s)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&Ms)throw new Error(As);if(Array.isArray(i)&&typeof i[0]=="string"&&(r==null||r[i[0]]===void 0))for(var u=0;u<i.length;u++)la(i[u])&&(n+=Ur(o)+":"+fa(o,i[u])+";");else{var f=Ft(e,r,i);switch(o){case"animation":case"animationName":{n+=Ur(o)+":"+f+";";break}default:n+=o+"{"+f+"}"}}}}return n}var da=/label:\s*([^\s;{]+)\s*(;|$)/g,Qe;function ha(e,r,t){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,a="";Qe=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,a+=Ft(t,r,o);else{var i=o;a+=i[0]}for(var s=1;s<e.length;s++)if(a+=Ft(t,r,e[s]),n){var u=o;a+=u[s]}da.lastIndex=0;for(var f="",d;(d=da.exec(a))!==null;)f+="-"+d[1];var h=Ps(a)+f;return{name:h,styles:a,next:Qe}}var Is=function(r){return r()},Ns=fe.useInsertionEffect?fe.useInsertionEffect:!1,Fs=Ns||Is,ma=fe.createContext(typeof HTMLElement<"u"?Ss({key:"css"}):null);ma.Provider;var js=function(r){return Me.forwardRef(function(t,n){var a=Me.useContext(ma);return r(t,a,n)})},Ys=fe.createContext({}),Ws=Gi,Ls=function(r){return r!=="theme"},pa=function(r){return typeof r=="string"&&r.charCodeAt(0)>96?Ws:Ls},ya=function(r,t,n){var a;if(t){var o=t.shouldForwardProp;a=r.__emotion_forwardProp&&o?function(i){return r.__emotion_forwardProp(i)&&o(i)}:o}return typeof a!="function"&&n&&(a=r.__emotion_forwardProp),a},Bs=!1,Hs=function(r){var t=r.cache,n=r.serialized,a=r.isStringTag;return ca(t,n,a),Fs(function(){return ks(t,n,a)}),null},qs=function e(r,t){var n=r.__emotion_real===r,a=n&&r.__emotion_base||r,o,i;t!==void 0&&(o=t.label,i=t.target);var s=ya(r,t,n),u=s||pa(a),f=!u("as");return function(){var d=arguments,h=n&&r.__emotion_styles!==void 0?r.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)h.push.apply(h,d);else{h.push(d[0][0]);for(var m=d.length,w=1;w<m;w++)h.push(d[w],d[0][w])}var v=js(function(p,y,T){var C=f&&p.as||a,E="",O=[],g=p;if(p.theme==null){g={};for(var F in p)g[F]=p[F];g.theme=fe.useContext(Ys)}typeof p.className=="string"?E=Os(y.registered,O,p.className):p.className!=null&&(E=p.className+" ");var $=ha(h.concat(O),y.registered,g);E+=y.key+"-"+$.name,i!==void 0&&(E+=" "+i);var R=f&&s===void 0?pa(C):u,j={};for(var c in p)f&&c==="as"||R(c)&&(j[c]=p[c]);return j.className=E,T&&(j.ref=T),fe.createElement(fe.Fragment,null,fe.createElement(Hs,{cache:y,serialized:$,isStringTag:typeof C=="string"}),fe.createElement(C,j))});return v.displayName=o!==void 0?o:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",v.defaultProps=r.defaultProps,v.__emotion_real=v,v.__emotion_base=a,v.__emotion_styles=h,v.__emotion_forwardProp=s,Object.defineProperty(v,"toString",{value:function(){return i===void 0&&Bs?"NO_COMPONENT_SELECTOR":"."+i}}),v.withComponent=function(p,y){return e(p,Lr({},t,y,{shouldForwardProp:ya(v,y,!0)})).apply(void 0,h)},v}},Vs=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Gr=qs.bind();Vs.forEach(function(e){Gr[e]=Gr(e)});/**
|
|
70
|
+
* @mui/styled-engine v6.1.8
|
|
71
|
+
*
|
|
72
|
+
* @license MIT
|
|
73
|
+
* This source code is licensed under the MIT license found in the
|
|
74
|
+
* LICENSE file in the root directory of this source tree.
|
|
75
|
+
*/function zs(e,r){const t=Gr(e,r);return process.env.NODE_ENV!=="production"?(...n)=>{const a=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${a})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
76
|
+
`)):n.some(o=>o===void 0)&&console.error(`MUI: the styled(${a})(...args) API requires all its args to be defined.`),t(...n)}:t}function Us(e,r){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))}const ga=[];function ba(e){return ga[0]=e,ha(ga)}const Gs=e=>{const r=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return r.sort((t,n)=>t.val-n.val),r.reduce((t,n)=>({...t,[n.key]:n.val}),{})};function Qs(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:n=5,...a}=e,o=Gs(r),i=Object.keys(o);function s(m){return`@media (min-width:${typeof r[m]=="number"?r[m]:m}${t})`}function u(m){return`@media (max-width:${(typeof r[m]=="number"?r[m]:m)-n/100}${t})`}function f(m,w){const v=i.indexOf(w);return`@media (min-width:${typeof r[m]=="number"?r[m]:m}${t}) and (max-width:${(v!==-1&&typeof r[i[v]]=="number"?r[i[v]]:w)-n/100}${t})`}function d(m){return i.indexOf(m)+1<i.length?f(m,i[i.indexOf(m)+1]):s(m)}function h(m){const w=i.indexOf(m);return w===0?s(i[1]):w===i.length-1?u(i[w]):f(m,i[i.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:i,values:o,up:s,down:u,between:f,only:d,not:h,unit:t,...a}}const Xs={borderRadius:4};function va(e=8,r=Yr({spacing:e})){if(e.mui)return e;const t=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(o=>{const i=r(o);return typeof i=="number"?`${i}px`:i}).join(" "));return t.mui=!0,t}function Ks(e,r){var n;const t=this;if(t.vars){if(!((n=t.colorSchemes)!=null&&n[e])||typeof t.getColorSchemeSelector!="function")return{};let a=t.getColorSchemeSelector(e);return a==="&"?r:((a.includes("data-")||a.includes("."))&&(a=`*:where(${a.replace(/\s*&$/,"")}) &`),{[a]:r})}return t.palette.mode===e?r:{}}function wa(e={},...r){const{breakpoints:t={},palette:n={},spacing:a,shape:o={},...i}=e,s=Qs(t),u=va(a);let f=Ye({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...Xs,...o}},i);return f=ni(f),f.applyStyles=Ks,f=r.reduce((d,h)=>Ye(d,h),f),f.unstable_sxConfig={...lr,...i==null?void 0:i.unstable_sxConfig},f.unstable_sx=function(h){return pt({sx:h,theme:this})},f}function xa(e){const{variants:r,...t}=e,n={variants:r,style:ba(t),isProcessed:!0};return n.style===t||r&&r.forEach(a=>{typeof a.style!="function"&&(a.style=ba(a.style))}),n}const Js=wa();function Qr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Zs(e){return e?(r,t)=>t[e]:null}function ec(e,r,t){e.theme=ac(e.theme)?t:e.theme[r]||e.theme}function vr(e,r){const t=typeof r=="function"?r(e):r;if(Array.isArray(t))return t.flatMap(n=>vr(e,n));if(Array.isArray(t==null?void 0:t.variants)){let n;if(t.isProcessed)n=t.style;else{const{variants:a,...o}=t;n=o}return Ta(e,t.variants,[n])}return t!=null&&t.isProcessed?t.style:t}function Ta(e,r,t=[]){var a;let n;e:for(let o=0;o<r.length;o+=1){const i=r[o];if(typeof i.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!i.props(n))continue}else for(const s in i.props)if(e[s]!==i.props[s]&&((a=e.ownerState)==null?void 0:a[s])!==i.props[s])continue e;typeof i.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),t.push(i.style(n))):t.push(i.style)}return t}function tc(e={}){const{themeId:r,defaultTheme:t=Js,rootShouldForwardProp:n=Qr,slotShouldForwardProp:a=Qr}=e;function o(s){ec(s,r,t)}return(s,u={})=>{Us(s,g=>g.filter(F=>F!==pt));const{name:f,slot:d,skipVariantsResolver:h,skipSx:m,overridesResolver:w=Zs(Ea(d)),...v}=u,p=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,y=m||!1;let T=Qr;d==="Root"||d==="root"?T=n:d?T=a:oc(s)&&(T=void 0);const C=zs(s,{shouldForwardProp:T,label:nc(f,d),...v}),E=g=>{if(typeof g=="function"&&g.__emotion_real!==g)return function($){return vr($,g)};if(et(g)){const F=xa(g);return F.variants?function(R){return vr(R,F)}:F.style}return g},O=(...g)=>{const F=[],$=g.map(E),R=[];if(F.push(o),f&&w&&R.push(function(Y){var ve,$e;const V=($e=(ve=Y.theme.components)==null?void 0:ve[f])==null?void 0:$e.styleOverrides;if(!V)return null;const ae={};for(const Be in V)ae[Be]=vr(Y,V[Be]);return w(Y,ae)}),f&&!p&&R.push(function(Y){var ae,ve;const W=Y.theme,V=(ve=(ae=W==null?void 0:W.components)==null?void 0:ae[f])==null?void 0:ve.variants;return V?Ta(Y,V):null}),y||R.push(pt),Array.isArray($[0])){const P=$.shift(),Y=new Array(F.length).fill(""),W=new Array(R.length).fill("");let V;V=[...Y,...P,...W],V.raw=[...Y,...P.raw,...W],F.unshift(V)}const j=[...F,...$,...R],c=C(...j);return s.muiName&&(c.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(c.displayName=rc(f,d,s)),c};return C.withConfig&&(O.withConfig=C.withConfig),O}}function rc(e,r,t){return e?`${e}${tt(r||"")}`:`Styled(${Xo(t)})`}function nc(e,r){let t;return process.env.NODE_ENV!=="production"&&e&&(t=`${e}-${Ea(r||"Root")}`),t}function ac(e){for(const r in e)return!1;return!0}function oc(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ea(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Xr(e,r=0,t=1){return process.env.NODE_ENV!=="production"&&(e<r||e>t)&&console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),Zo(e,r,t)}function ic(e){e=e.slice(1);const r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let t=e.match(r);return t&&t[0].length===1&&(t=t.map(n=>n+n)),t?`rgb${t.length===4?"a":""}(${t.map((n,a)=>a<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ct(e){if(e.type)return e;if(e.charAt(0)==="#")return ct(ic(e));const r=e.indexOf("("),t=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(t))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
77
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:it(9,e));let n=e.substring(r+1,e.length-1),a;if(t==="color"){if(n=n.split(" "),a=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(a))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${a}\` color space.
|
|
78
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:it(10,a))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:t,values:n,colorSpace:a}}const sc=e=>{const r=ct(e);return r.values.slice(0,3).map((t,n)=>r.type.includes("hsl")&&n!==0?`${t}%`:t).join(" ")},jt=(e,r)=>{try{return sc(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function wr(e){const{type:r,colorSpace:t}=e;let{values:n}=e;return r.includes("rgb")?n=n.map((a,o)=>o<3?parseInt(a,10):a):r.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),r.includes("color")?n=`${t} ${n.join(" ")}`:n=`${n.join(", ")}`,`${r}(${n})`}function Sa(e){e=ct(e);const{values:r}=e,t=r[0],n=r[1]/100,a=r[2]/100,o=n*Math.min(a,1-a),i=(f,d=(f+t/30)%12)=>a-o*Math.max(Math.min(d-3,9-d,1),-1);let s="rgb";const u=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(s+="a",u.push(r[3])),wr({type:s,values:u})}function Kr(e){e=ct(e);let r=e.type==="hsl"||e.type==="hsla"?ct(Sa(e)).values:e.values;return r=r.map(t=>(e.type!=="color"&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function Ca(e,r){const t=Kr(e),n=Kr(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)}function cc(e,r){return e=ct(e),r=Xr(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,wr(e)}function xr(e,r,t){try{return cc(e,r)}catch{return e}}function Jr(e,r){if(e=ct(e),r=Xr(r),e.type.includes("hsl"))e.values[2]*=1-r;else if(e.type.includes("rgb")||e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]*=1-r;return wr(e)}function de(e,r,t){try{return Jr(e,r)}catch{return e}}function Zr(e,r){if(e=ct(e),r=Xr(r),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*r;else if(e.type.includes("rgb"))for(let t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*r;else if(e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]+=(1-e.values[t])*r;return wr(e)}function he(e,r,t){try{return Zr(e,r)}catch{return e}}function uc(e,r=.15){return Kr(e)>.5?Jr(e,r):Zr(e,r)}function Tr(e,r,t){try{return uc(e,r)}catch{return e}}const lc=fe.createContext(void 0);process.env.NODE_ENV!=="production"&&(A.node,A.object);function fc(e){const{theme:r,name:t,props:n}=e;if(!r||!r.components||!r.components[t])return n;const a=r.components[t];return a.defaultProps?jr(a.defaultProps,n):!a.styleOverrides&&!a.variants?jr(a,n):n}function dc({props:e,name:r}){const t=fe.useContext(lc);return fc({props:e,name:r,theme:{components:t}})}const Oa={theme:void 0};function hc(e){let r,t;return function(a){let o=r;return(o===void 0||a.theme!==t)&&(Oa.theme=a.theme,o=xa(e(Oa)),r=o,t=a.theme),o}}function mc(e=""){function r(...n){if(!n.length)return"";const a=n[0];return typeof a=="string"&&!a.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${a}${r(...n.slice(1))})`:`, ${a}`}return(n,...a)=>`var(--${e?`${e}-`:""}${n}${r(...a)})`}const ka=(e,r,t,n=[])=>{let a=e;r.forEach((o,i)=>{i===r.length-1?Array.isArray(a)?a[Number(o)]=t:a&&typeof a=="object"&&(a[o]=t):a&&typeof a=="object"&&(a[o]||(a[o]=n.includes(o)?[]:{}),a=a[o])})},pc=(e,r,t)=>{function n(a,o=[],i=[]){Object.entries(a).forEach(([s,u])=>{(!t||t&&!t([...o,s]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...o,s],Array.isArray(u)?[...i,s]:i):r([...o,s],u,i))})}n(e)},yc=(e,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function en(e,r){const{prefix:t,shouldSkipGeneratingVar:n}=r||{},a={},o={},i={};return pc(e,(s,u,f)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(s,u))){const d=`--${t?`${t}-`:""}${s.join("-")}`,h=yc(s,u);Object.assign(a,{[d]:h}),ka(o,s,`var(${d})`,f),ka(i,s,`var(${d}, ${h})`,f)}},s=>s[0]==="vars"),{css:a,vars:o,varsWithDefaults:i}}function gc(e,r={}){const{getSelector:t=y,disableCssColorScheme:n,colorSchemeSelector:a}=r,{colorSchemes:o={},components:i,defaultColorScheme:s="light",...u}=e,{vars:f,css:d,varsWithDefaults:h}=en(u,r);let m=h;const w={},{[s]:v,...p}=o;if(Object.entries(p||{}).forEach(([E,O])=>{const{vars:g,css:F,varsWithDefaults:$}=en(O,r);m=Ye(m,$),w[E]={css:F,vars:g}}),v){const{css:E,vars:O,varsWithDefaults:g}=en(v,r);m=Ye(m,g),w[s]={css:E,vars:O}}function y(E,O){var F,$;let g=a;if(a==="class"&&(g=".%s"),a==="data"&&(g="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(g=`[${a}="%s"]`),E){if(g==="media")return e.defaultColorScheme===E?":root":{[`@media (prefers-color-scheme: ${(($=(F=o[E])==null?void 0:F.palette)==null?void 0:$.mode)||E})`]:{":root":O}};if(g)return e.defaultColorScheme===E?`:root, ${g.replace("%s",String(E))}`:g.replace("%s",String(E))}return":root"}return{vars:m,generateThemeVars:()=>{let E={...f};return Object.entries(w).forEach(([,{vars:O}])=>{E=Ye(E,O)}),E},generateStyleSheets:()=>{var R,j;const E=[],O=e.defaultColorScheme||"light";function g(c,P){Object.keys(P).length&&E.push(typeof c=="string"?{[c]:{...P}}:c)}g(t(void 0,{...d}),d);const{[O]:F,...$}=w;if(F){const{css:c}=F,P=(j=(R=o[O])==null?void 0:R.palette)==null?void 0:j.mode,Y=!n&&P?{colorScheme:P,...c}:{...c};g(t(O,{...Y}),Y)}return Object.entries($).forEach(([c,{css:P}])=>{var V,ae;const Y=(ae=(V=o[c])==null?void 0:V.palette)==null?void 0:ae.mode,W=!n&&Y?{colorScheme:Y,...P}:{...P};g(t(c,{...W}),W)}),E}}}function bc(e){return function(t){return e==="media"?(process.env.NODE_ENV!=="production"&&t!=="light"&&t!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`),`@media (prefers-color-scheme: ${t})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:e==="class"?`.${t} &`:e==="data"?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}const Yt={black:"#000",white:"#fff"},vc={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},vt={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},wt={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Wt={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},xt={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Tt={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Et={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function Pa(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Yt.white,default:Yt.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const wc=Pa();function _a(){return{text:{primary:Yt.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Yt.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Ma=_a();function Da(e,r,t,n){const a=n.light||n,o=n.dark||n*1.5;e[r]||(e.hasOwnProperty(t)?e[r]=e[t]:r==="light"?e.light=Zr(e.main,a):r==="dark"&&(e.dark=Jr(e.main,o)))}function xc(e="light"){return e==="dark"?{main:xt[200],light:xt[50],dark:xt[400]}:{main:xt[700],light:xt[400],dark:xt[800]}}function Tc(e="light"){return e==="dark"?{main:vt[200],light:vt[50],dark:vt[400]}:{main:vt[500],light:vt[300],dark:vt[700]}}function Ec(e="light"){return e==="dark"?{main:wt[500],light:wt[300],dark:wt[700]}:{main:wt[700],light:wt[400],dark:wt[800]}}function Sc(e="light"){return e==="dark"?{main:Tt[400],light:Tt[300],dark:Tt[700]}:{main:Tt[700],light:Tt[500],dark:Tt[900]}}function Cc(e="light"){return e==="dark"?{main:Et[400],light:Et[300],dark:Et[700]}:{main:Et[800],light:Et[500],dark:Et[900]}}function Oc(e="light"){return e==="dark"?{main:Wt[400],light:Wt[300],dark:Wt[700]}:{main:"#ed6c02",light:Wt[500],dark:Wt[900]}}function tn(e){const{mode:r="light",contrastThreshold:t=3,tonalOffset:n=.2,...a}=e,o=e.primary||xc(r),i=e.secondary||Tc(r),s=e.error||Ec(r),u=e.info||Sc(r),f=e.success||Cc(r),d=e.warning||Oc(r);function h(p){const y=Ca(p,Ma.text.primary)>=t?Ma.text.primary:wc.text.primary;if(process.env.NODE_ENV!=="production"){const T=Ca(p,y);T<3&&console.error([`MUI: The contrast ratio of ${T}:1 for ${y} on ${p}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
79
|
+
`))}return y}const m=({color:p,name:y,mainShade:T=500,lightShade:C=300,darkShade:E=700})=>{if(p={...p},!p.main&&p[T]&&(p.main=p[T]),!p.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
80
|
+
The color object needs to have a \`main\` property or a \`${T}\` property.`:it(11,y?` (${y})`:"",T));if(typeof p.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
81
|
+
\`color.main\` should be a string, but \`${JSON.stringify(p.main)}\` was provided instead.
|
|
60
82
|
|
|
61
|
-
|
|
83
|
+
Did you intend to use one of the following approaches?
|
|
62
84
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
85
|
+
import { green } from "@mui/material/colors";
|
|
86
|
+
|
|
87
|
+
const theme1 = createTheme({ palette: {
|
|
88
|
+
primary: green,
|
|
89
|
+
} });
|
|
90
|
+
|
|
91
|
+
const theme2 = createTheme({ palette: {
|
|
92
|
+
primary: { main: green[500] },
|
|
93
|
+
} });`:it(12,y?` (${y})`:"",JSON.stringify(p.main)));return Da(p,"light",C,n),Da(p,"dark",E,n),p.contrastText||(p.contrastText=h(p.main)),p};let w;return r==="light"?w=Pa():r==="dark"&&(w=_a()),process.env.NODE_ENV!=="production"&&(w||console.error(`MUI: The palette mode \`${r}\` is not supported.`)),Ye({common:{...Yt},mode:r,primary:m({color:o,name:"primary"}),secondary:m({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:s,name:"error"}),warning:m({color:d,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:f,name:"success"}),grey:vc,contrastThreshold:t,getContrastText:h,augmentColor:m,tonalOffset:n,...w},a)}function kc(e){const r={};return Object.entries(e).forEach(n=>{const[a,o]=n;typeof o=="object"&&(r[a]=`${o.fontStyle?`${o.fontStyle} `:""}${o.fontVariant?`${o.fontVariant} `:""}${o.fontWeight?`${o.fontWeight} `:""}${o.fontStretch?`${o.fontStretch} `:""}${o.fontSize||""}${o.lineHeight?`/${o.lineHeight} `:""}${o.fontFamily||""}`)}),r}function Pc(e,r){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...r}}function _c(e){return Math.round(e*1e5)/1e5}const Ra={textTransform:"uppercase"},Aa='"Roboto", "Helvetica", "Arial", sans-serif';function Mc(e,r){const{fontFamily:t=Aa,fontSize:n=14,fontWeightLight:a=300,fontWeightRegular:o=400,fontWeightMedium:i=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:f,pxToRem:d,...h}=typeof r=="function"?r(e):r;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const m=n/14,w=d||(y=>`${y/u*m}rem`),v=(y,T,C,E,O)=>({fontFamily:t,fontWeight:y,fontSize:w(T),lineHeight:C,...t===Aa?{letterSpacing:`${_c(E/T)}em`}:{},...O,...f}),p={h1:v(a,96,1.167,-1.5),h2:v(a,60,1.2,-.5),h3:v(o,48,1.167,0),h4:v(o,34,1.235,.25),h5:v(o,24,1.334,0),h6:v(i,20,1.6,.15),subtitle1:v(o,16,1.75,.15),subtitle2:v(i,14,1.57,.1),body1:v(o,16,1.5,.15),body2:v(o,14,1.43,.15),button:v(i,14,1.75,.4,Ra),caption:v(o,12,1.66,.4),overline:v(o,12,2.66,1,Ra),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ye({htmlFontSize:u,pxToRem:w,fontFamily:t,fontSize:n,fontWeightLight:a,fontWeightRegular:o,fontWeightMedium:i,fontWeightBold:s,...p},h,{clone:!1})}const Dc=.2,Rc=.14,Ac=.12;function ge(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Dc})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Rc})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ac})`].join(",")}const $c=["none",ge(0,2,1,-1,0,1,1,0,0,1,3,0),ge(0,3,1,-2,0,2,2,0,0,1,5,0),ge(0,3,3,-2,0,3,4,0,0,1,8,0),ge(0,2,4,-1,0,4,5,0,0,1,10,0),ge(0,3,5,-1,0,5,8,0,0,1,14,0),ge(0,3,5,-1,0,6,10,0,0,1,18,0),ge(0,4,5,-2,0,7,10,1,0,2,16,1),ge(0,5,5,-3,0,8,10,1,0,3,14,2),ge(0,5,6,-3,0,9,12,1,0,3,16,2),ge(0,6,6,-3,0,10,14,1,0,4,18,3),ge(0,6,7,-4,0,11,15,1,0,4,20,3),ge(0,7,8,-4,0,12,17,2,0,5,22,4),ge(0,7,8,-4,0,13,19,2,0,5,24,4),ge(0,7,9,-4,0,14,21,2,0,5,26,4),ge(0,8,9,-5,0,15,22,2,0,6,28,5),ge(0,8,10,-5,0,16,24,2,0,6,30,5),ge(0,8,11,-5,0,17,26,2,0,6,32,5),ge(0,9,11,-5,0,18,28,2,0,7,34,6),ge(0,9,12,-6,0,19,29,2,0,7,36,6),ge(0,10,13,-6,0,20,31,3,0,8,38,7),ge(0,10,13,-6,0,21,33,3,0,8,40,7),ge(0,10,14,-6,0,22,35,3,0,8,42,7),ge(0,11,14,-7,0,23,36,3,0,9,44,8),ge(0,11,15,-7,0,24,38,3,0,9,46,8)],Ic={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Nc={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function $a(e){return`${Math.round(e)}ms`}function Fc(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function jc(e){const r={...Ic,...e.easing},t={...Nc,...e.duration};return{getAutoHeightDuration:Fc,create:(a=["all"],o={})=>{const{duration:i=t.standard,easing:s=r.easeInOut,delay:u=0,...f}=o;if(process.env.NODE_ENV!=="production"){const d=m=>typeof m=="string",h=m=>!Number.isNaN(parseFloat(m));!d(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(i)&&!d(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),d(s)||console.error('MUI: Argument "easing" must be a string.'),!h(u)&&!d(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof o!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
94
|
+
`)),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(d=>`${d} ${typeof i=="string"?i:$a(i)} ${s} ${typeof u=="string"?u:$a(u)}`).join(",")},...e,easing:r,duration:t}}const Yc={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Wc(e){return et(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Ia(e={}){const r={...e};function t(n){const a=Object.entries(n);for(let o=0;o<a.length;o++){const[i,s]=a[o];!Wc(s)||i.startsWith("unstable_")?delete n[i]:et(s)&&(n[i]={...s},t(n[i]))}}return t(r),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
95
|
+
|
|
96
|
+
const theme = ${JSON.stringify(r,null,2)};
|
|
97
|
+
|
|
98
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
99
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
100
|
+
|
|
101
|
+
export default theme;`}function rn(e={},...r){const{breakpoints:t,mixins:n={},spacing:a,palette:o={},transitions:i={},typography:s={},shape:u,...f}=e;if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":it(20));const d=tn(o),h=wa(e);let m=Ye(h,{mixins:Pc(h.breakpoints,n),palette:d,shadows:$c.slice(),typography:Mc(d,s),transitions:jc(i),zIndex:{...Yc}});if(m=Ye(m,f),m=r.reduce((w,v)=>Ye(w,v),m),process.env.NODE_ENV!=="production"){const w=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],v=(p,y)=>{let T;for(T in p){const C=p[T];if(w.includes(T)&&Object.keys(C).length>0){if(process.env.NODE_ENV!=="production"){const E=Zt("",T);console.error([`MUI: The \`${y}\` component increases the CSS specificity of the \`${T}\` internal state.`,"You can not override it like this: ",JSON.stringify(p,null,2),"",`Instead, you need to use the '&.${E}' syntax:`,JSON.stringify({root:{[`&.${E}`]:C}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
102
|
+
`))}p[T]={}}}};Object.keys(m.components).forEach(p=>{const y=m.components[p].styleOverrides;y&&p.startsWith("Mui")&&v(y,p)})}return m.unstable_sxConfig={...lr,...f==null?void 0:f.unstable_sxConfig},m.unstable_sx=function(v){return pt({sx:v,theme:this})},m.toRuntimeSource=Ia,m}function Lc(e){let r;return e<1?r=5.11916*e**2:r=4.5*Math.log(e+1)+2,Math.round(r*10)/1e3}const Bc=[...Array(25)].map((e,r)=>{if(r===0)return"none";const t=Lc(r);return`linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`});function Na(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Fa(e){return e==="dark"?Bc:[]}function Hc(e){const{palette:r={mode:"light"},opacity:t,overlays:n,...a}=e,o=tn(r);return{palette:o,opacity:{...Na(o.mode),...t},overlays:n||Fa(o.mode),...a}}function qc(e){var r;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((r=e[1])!=null&&r.match(/(mode|contrastThreshold|tonalOffset)/))}const Vc=e=>[...[...Array(25)].map((r,t)=>`--${e?`${e}-`:""}overlays-${t}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],zc=e=>(r,t)=>{const n=e.rootSelector||":root",a=e.colorSchemeSelector;let o=a;if(a==="class"&&(o=".%s"),a==="data"&&(o="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(o=`[${a}="%s"]`),e.defaultColorScheme===r){if(r==="dark"){const i={};return Vc(e.cssVarPrefix).forEach(s=>{i[s]=t[s],delete t[s]}),o==="media"?{[n]:t,"@media (prefers-color-scheme: dark)":{[n]:i}}:o?{[o.replace("%s",r)]:i,[`${n}, ${o.replace("%s",r)}`]:t}:{[n]:{...t,...i}}}if(o&&o!=="media")return`${n}, ${o.replace("%s",String(r))}`}else if(r){if(o==="media")return{[`@media (prefers-color-scheme: ${String(r)})`]:{[n]:t}};if(o)return o.replace("%s",String(r))}return n};function Uc(e,r){r.forEach(t=>{e[t]||(e[t]={})})}function b(e,r,t){!e[r]&&t&&(e[r]=t)}function Lt(e){return!e||!e.startsWith("hsl")?e:Sa(e)}function nt(e,r){`${r}Channel`in e||(e[`${r}Channel`]=jt(Lt(e[r]),`MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
103
|
+
To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Gc(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Xe=e=>{try{return e()}catch{}},Qc=(e="mui")=>mc(e);function nn(e,r,t,n){if(!r)return;r=r===!0?{}:r;const a=n==="dark"?"dark":"light";if(!t){e[n]=Hc({...r,palette:{mode:a,...r==null?void 0:r.palette}});return}const{palette:o,...i}=rn({...t,palette:{mode:a,...r==null?void 0:r.palette}});return e[n]={...r,palette:o,opacity:{...Na(a),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||Fa(a)},i}function Xc(e={},...r){const{colorSchemes:t={light:!0},defaultColorScheme:n,disableCssColorScheme:a=!1,cssVarPrefix:o="mui",shouldSkipGeneratingVar:i=qc,colorSchemeSelector:s=t.light&&t.dark?"media":void 0,rootSelector:u=":root",...f}=e,d=Object.keys(t)[0],h=n||(t.light&&d!=="light"?"light":d),m=Qc(o),{[h]:w,light:v,dark:p,...y}=t,T={...y};let C=w;if((h==="dark"&&!("dark"in t)||h==="light"&&!("light"in t))&&(C=!0),!C)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${h}\` option is either missing or invalid.`:it(21,h));const E=nn(T,C,f,h);v&&!T.light&&nn(T,v,void 0,"light"),p&&!T.dark&&nn(T,p,void 0,"dark");let O={defaultColorScheme:h,...E,cssVarPrefix:o,colorSchemeSelector:s,rootSelector:u,getCssVar:m,colorSchemes:T,font:{...kc(E.typography),...E.font},spacing:Gc(f.spacing)};Object.keys(O.colorSchemes).forEach(j=>{const c=O.colorSchemes[j].palette,P=Y=>{const W=Y.split("-"),V=W[1],ae=W[2];return m(Y,c[V][ae])};if(c.mode==="light"&&(b(c.common,"background","#fff"),b(c.common,"onBackground","#000")),c.mode==="dark"&&(b(c.common,"background","#000"),b(c.common,"onBackground","#fff")),Uc(c,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),c.mode==="light"){b(c.Alert,"errorColor",de(c.error.light,.6)),b(c.Alert,"infoColor",de(c.info.light,.6)),b(c.Alert,"successColor",de(c.success.light,.6)),b(c.Alert,"warningColor",de(c.warning.light,.6)),b(c.Alert,"errorFilledBg",P("palette-error-main")),b(c.Alert,"infoFilledBg",P("palette-info-main")),b(c.Alert,"successFilledBg",P("palette-success-main")),b(c.Alert,"warningFilledBg",P("palette-warning-main")),b(c.Alert,"errorFilledColor",Xe(()=>c.getContrastText(c.error.main))),b(c.Alert,"infoFilledColor",Xe(()=>c.getContrastText(c.info.main))),b(c.Alert,"successFilledColor",Xe(()=>c.getContrastText(c.success.main))),b(c.Alert,"warningFilledColor",Xe(()=>c.getContrastText(c.warning.main))),b(c.Alert,"errorStandardBg",he(c.error.light,.9)),b(c.Alert,"infoStandardBg",he(c.info.light,.9)),b(c.Alert,"successStandardBg",he(c.success.light,.9)),b(c.Alert,"warningStandardBg",he(c.warning.light,.9)),b(c.Alert,"errorIconColor",P("palette-error-main")),b(c.Alert,"infoIconColor",P("palette-info-main")),b(c.Alert,"successIconColor",P("palette-success-main")),b(c.Alert,"warningIconColor",P("palette-warning-main")),b(c.AppBar,"defaultBg",P("palette-grey-100")),b(c.Avatar,"defaultBg",P("palette-grey-400")),b(c.Button,"inheritContainedBg",P("palette-grey-300")),b(c.Button,"inheritContainedHoverBg",P("palette-grey-A100")),b(c.Chip,"defaultBorder",P("palette-grey-400")),b(c.Chip,"defaultAvatarColor",P("palette-grey-700")),b(c.Chip,"defaultIconColor",P("palette-grey-700")),b(c.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),b(c.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),b(c.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),b(c.LinearProgress,"primaryBg",he(c.primary.main,.62)),b(c.LinearProgress,"secondaryBg",he(c.secondary.main,.62)),b(c.LinearProgress,"errorBg",he(c.error.main,.62)),b(c.LinearProgress,"infoBg",he(c.info.main,.62)),b(c.LinearProgress,"successBg",he(c.success.main,.62)),b(c.LinearProgress,"warningBg",he(c.warning.main,.62)),b(c.Skeleton,"bg",`rgba(${P("palette-text-primaryChannel")} / 0.11)`),b(c.Slider,"primaryTrack",he(c.primary.main,.62)),b(c.Slider,"secondaryTrack",he(c.secondary.main,.62)),b(c.Slider,"errorTrack",he(c.error.main,.62)),b(c.Slider,"infoTrack",he(c.info.main,.62)),b(c.Slider,"successTrack",he(c.success.main,.62)),b(c.Slider,"warningTrack",he(c.warning.main,.62));const Y=Tr(c.background.default,.8);b(c.SnackbarContent,"bg",Y),b(c.SnackbarContent,"color",Xe(()=>c.getContrastText(Y))),b(c.SpeedDialAction,"fabHoverBg",Tr(c.background.paper,.15)),b(c.StepConnector,"border",P("palette-grey-400")),b(c.StepContent,"border",P("palette-grey-400")),b(c.Switch,"defaultColor",P("palette-common-white")),b(c.Switch,"defaultDisabledColor",P("palette-grey-100")),b(c.Switch,"primaryDisabledColor",he(c.primary.main,.62)),b(c.Switch,"secondaryDisabledColor",he(c.secondary.main,.62)),b(c.Switch,"errorDisabledColor",he(c.error.main,.62)),b(c.Switch,"infoDisabledColor",he(c.info.main,.62)),b(c.Switch,"successDisabledColor",he(c.success.main,.62)),b(c.Switch,"warningDisabledColor",he(c.warning.main,.62)),b(c.TableCell,"border",he(xr(c.divider,1),.88)),b(c.Tooltip,"bg",xr(c.grey[700],.92))}if(c.mode==="dark"){b(c.Alert,"errorColor",he(c.error.light,.6)),b(c.Alert,"infoColor",he(c.info.light,.6)),b(c.Alert,"successColor",he(c.success.light,.6)),b(c.Alert,"warningColor",he(c.warning.light,.6)),b(c.Alert,"errorFilledBg",P("palette-error-dark")),b(c.Alert,"infoFilledBg",P("palette-info-dark")),b(c.Alert,"successFilledBg",P("palette-success-dark")),b(c.Alert,"warningFilledBg",P("palette-warning-dark")),b(c.Alert,"errorFilledColor",Xe(()=>c.getContrastText(c.error.dark))),b(c.Alert,"infoFilledColor",Xe(()=>c.getContrastText(c.info.dark))),b(c.Alert,"successFilledColor",Xe(()=>c.getContrastText(c.success.dark))),b(c.Alert,"warningFilledColor",Xe(()=>c.getContrastText(c.warning.dark))),b(c.Alert,"errorStandardBg",de(c.error.light,.9)),b(c.Alert,"infoStandardBg",de(c.info.light,.9)),b(c.Alert,"successStandardBg",de(c.success.light,.9)),b(c.Alert,"warningStandardBg",de(c.warning.light,.9)),b(c.Alert,"errorIconColor",P("palette-error-main")),b(c.Alert,"infoIconColor",P("palette-info-main")),b(c.Alert,"successIconColor",P("palette-success-main")),b(c.Alert,"warningIconColor",P("palette-warning-main")),b(c.AppBar,"defaultBg",P("palette-grey-900")),b(c.AppBar,"darkBg",P("palette-background-paper")),b(c.AppBar,"darkColor",P("palette-text-primary")),b(c.Avatar,"defaultBg",P("palette-grey-600")),b(c.Button,"inheritContainedBg",P("palette-grey-800")),b(c.Button,"inheritContainedHoverBg",P("palette-grey-700")),b(c.Chip,"defaultBorder",P("palette-grey-700")),b(c.Chip,"defaultAvatarColor",P("palette-grey-300")),b(c.Chip,"defaultIconColor",P("palette-grey-300")),b(c.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),b(c.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),b(c.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),b(c.LinearProgress,"primaryBg",de(c.primary.main,.5)),b(c.LinearProgress,"secondaryBg",de(c.secondary.main,.5)),b(c.LinearProgress,"errorBg",de(c.error.main,.5)),b(c.LinearProgress,"infoBg",de(c.info.main,.5)),b(c.LinearProgress,"successBg",de(c.success.main,.5)),b(c.LinearProgress,"warningBg",de(c.warning.main,.5)),b(c.Skeleton,"bg",`rgba(${P("palette-text-primaryChannel")} / 0.13)`),b(c.Slider,"primaryTrack",de(c.primary.main,.5)),b(c.Slider,"secondaryTrack",de(c.secondary.main,.5)),b(c.Slider,"errorTrack",de(c.error.main,.5)),b(c.Slider,"infoTrack",de(c.info.main,.5)),b(c.Slider,"successTrack",de(c.success.main,.5)),b(c.Slider,"warningTrack",de(c.warning.main,.5));const Y=Tr(c.background.default,.98);b(c.SnackbarContent,"bg",Y),b(c.SnackbarContent,"color",Xe(()=>c.getContrastText(Y))),b(c.SpeedDialAction,"fabHoverBg",Tr(c.background.paper,.15)),b(c.StepConnector,"border",P("palette-grey-600")),b(c.StepContent,"border",P("palette-grey-600")),b(c.Switch,"defaultColor",P("palette-grey-300")),b(c.Switch,"defaultDisabledColor",P("palette-grey-600")),b(c.Switch,"primaryDisabledColor",de(c.primary.main,.55)),b(c.Switch,"secondaryDisabledColor",de(c.secondary.main,.55)),b(c.Switch,"errorDisabledColor",de(c.error.main,.55)),b(c.Switch,"infoDisabledColor",de(c.info.main,.55)),b(c.Switch,"successDisabledColor",de(c.success.main,.55)),b(c.Switch,"warningDisabledColor",de(c.warning.main,.55)),b(c.TableCell,"border",de(xr(c.divider,1),.68)),b(c.Tooltip,"bg",xr(c.grey[700],.92))}nt(c.background,"default"),nt(c.background,"paper"),nt(c.common,"background"),nt(c.common,"onBackground"),nt(c,"divider"),Object.keys(c).forEach(Y=>{const W=c[Y];W&&typeof W=="object"&&(W.main&&b(c[Y],"mainChannel",jt(Lt(W.main))),W.light&&b(c[Y],"lightChannel",jt(Lt(W.light))),W.dark&&b(c[Y],"darkChannel",jt(Lt(W.dark))),W.contrastText&&b(c[Y],"contrastTextChannel",jt(Lt(W.contrastText))),Y==="text"&&(nt(c[Y],"primary"),nt(c[Y],"secondary")),Y==="action"&&(W.active&&nt(c[Y],"active"),W.selected&&nt(c[Y],"selected")))})}),O=r.reduce((j,c)=>Ye(j,c),O);const g={prefix:o,disableCssColorScheme:a,shouldSkipGeneratingVar:i,getSelector:zc(O)},{vars:F,generateThemeVars:$,generateStyleSheets:R}=gc(O,g);return O.vars=F,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([j,c])=>{O[j]=c}),O.generateThemeVars=$,O.generateStyleSheets=R,O.generateSpacing=function(){return va(f.spacing,Yr(this))},O.getColorSchemeSelector=bc(s),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=i,O.unstable_sxConfig={...lr,...f==null?void 0:f.unstable_sxConfig},O.unstable_sx=function(c){return pt({sx:c,theme:this})},O.toRuntimeSource=Ia,O}function ja(e,r,t){e.colorSchemes&&t&&(e.colorSchemes[r]={...t!==!0&&t,palette:tn({...t===!0?{}:t.palette,mode:r})})}function Kc(e={},...r){const{palette:t,cssVariables:n=!1,colorSchemes:a=t?void 0:{light:!0},defaultColorScheme:o=t==null?void 0:t.mode,...i}=e,s=o||"light",u=a==null?void 0:a[s],f={...a,...t?{[s]:{...typeof u!="boolean"&&u,palette:t}}:void 0};if(n===!1){if(!("colorSchemes"in e))return rn(e,...r);let d=t;"palette"in e||f[s]&&(f[s]!==!0?d=f[s].palette:s==="dark"&&(d={mode:"dark"}));const h=rn({...e,palette:d},...r);return h.defaultColorScheme=s,h.colorSchemes=f,h.palette.mode==="light"&&(h.colorSchemes.light={...f.light!==!0&&f.light,palette:h.palette},ja(h,"dark",f.dark)),h.palette.mode==="dark"&&(h.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:h.palette},ja(h,"light",f.light)),h}return!t&&!("light"in f)&&s==="light"&&(f.light=!0),Xc({...i,colorSchemes:f,defaultColorScheme:s,...typeof n!="boolean"&&n},...r)}const Jc=Kc(),Zc="$$material";function eu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ya=tc({themeId:Zc,defaultTheme:Jc,rootShouldForwardProp:e=>eu(e)&&e!=="classes"}),tu=hc;process.env.NODE_ENV!=="production"&&(A.node,A.object.isRequired);function Wa(e){return dc(e)}function ru(e){return Zt("MuiSvgIcon",e)}Vn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const nu=e=>{const{color:r,fontSize:t,classes:n}=e,a={root:["root",r!=="inherit"&&`color${tt(r)}`,`fontSize${tt(t)}`]};return Hn(a,ru,n)},au=Ya("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,t.color!=="inherit"&&r[`color${tt(t.color)}`],r[`fontSize${tt(t.fontSize)}`]]}})(tu(({theme:e})=>{var r,t,n,a,o,i,s,u,f,d,h,m,w,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(a=(r=e.transitions)==null?void 0:r.create)==null?void 0:a.call(r,"fill",{duration:(n=(t=(e.vars??e).transitions)==null?void 0:t.duration)==null?void 0:n.shorter}),variants:[{props:p=>!p.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((i=(o=e.typography)==null?void 0:o.pxToRem)==null?void 0:i.call(o,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((u=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:u.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((d=(f=e.typography)==null?void 0:f.pxToRem)==null?void 0:d.call(f,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,p])=>p&&p.main).map(([p])=>{var y,T;return{props:{color:p},style:{color:(T=(y=(e.vars??e).palette)==null?void 0:y[p])==null?void 0:T.main}}}),{props:{color:"action"},style:{color:(m=(h=(e.vars??e).palette)==null?void 0:h.action)==null?void 0:m.active}},{props:{color:"disabled"},style:{color:(v=(w=(e.vars??e).palette)==null?void 0:w.action)==null?void 0:v.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Bt=fe.forwardRef(function(r,t){const n=Wa({props:r,name:"MuiSvgIcon"}),{children:a,className:o,color:i="inherit",component:s="svg",fontSize:u="medium",htmlColor:f,inheritViewBox:d=!1,titleAccess:h,viewBox:m="0 0 24 24",...w}=n,v=fe.isValidElement(a)&&a.type==="svg",p={...n,color:i,component:s,fontSize:u,instanceFontSize:r.fontSize,inheritViewBox:d,viewBox:m,hasSvgAsChild:v},y={};d||(y.viewBox=m);const T=nu(p);return G.jsxs(au,{as:s,className:Un(T.root,o),focusable:"false",color:f,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:t,...y,...w,...v&&a.props,ownerState:p,children:[v?a.props.children:a,h?G.jsx("title",{children:h}):null]})});process.env.NODE_ENV!=="production"&&(Bt.propTypes={children:A.node,classes:A.object,className:A.string,color:A.oneOfType([A.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),A.string]),component:A.elementType,fontSize:A.oneOfType([A.oneOf(["inherit","large","medium","small"]),A.string]),htmlColor:A.string,inheritViewBox:A.bool,shapeRendering:A.string,sx:A.oneOfType([A.arrayOf(A.oneOfType([A.func,A.object,A.bool])),A.func,A.object]),titleAccess:A.string,viewBox:A.string}),Bt&&(Bt.muiName="SvgIcon");function La(e,r){function t(n,a){return G.jsx(Bt,{"data-testid":`${r}Icon`,ref:a,...n,children:e})}return process.env.NODE_ENV!=="production"&&(t.displayName=`${r}Icon`),t.muiName=Bt.muiName,fe.memo(fe.forwardRef(t))}const ou=La([G.jsx("path",{d:"M17 11c.34 0 .67.04 1 .09V6.27L10.5 3 3 6.27v4.91c0 4.54 3.2 8.79 7.5 9.82.55-.13 1.08-.32 1.6-.55-.69-.98-1.1-2.17-1.1-3.45 0-3.31 2.69-6 6-6"},"0"),G.jsx("path",{d:"M17 13c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 1.38c.62 0 1.12.51 1.12 1.12s-.51 1.12-1.12 1.12-1.12-.51-1.12-1.12.5-1.12 1.12-1.12m0 5.37c-.93 0-1.74-.46-2.24-1.17.05-.72 1.51-1.08 2.24-1.08s2.19.36 2.24 1.08c-.5.71-1.31 1.17-2.24 1.17"},"1")],"AdminPanelSettings"),iu=La(G.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"}),"Help");function su({children:e,internal:r,required:t,helpText:n}){return G.jsxs(ye.Box,{sx:{display:"flex",alignItems:"center",gap:.5},children:[r&&G.jsx(ye.Tooltip,{placement:"top",title:"This field is hidden from the public.",sx:{cursor:"default"},children:G.jsx(ou,{fontSize:"small",htmlColor:Kt.capitalDesignTokens.foundations.colors.gray600})}),G.jsxs(ye.Typography,{variant:"h4",children:[e,t&&"*"]}),n&&n!==""&&G.jsx(ye.Tooltip,{placement:"top",title:n,sx:{cursor:"default"},children:G.jsx(iu,{fontSize:"small",htmlColor:Kt.capitalDesignTokens.foundations.colors.gray600})})]})}function Ba(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ha(e,r=!1){return e&&(Ba(e.value)&&e.value!==""||r&&Ba(e.defaultValue)&&e.defaultValue!=="")}function cu(e){return e.startAdornment}const qa=fe.createContext(void 0);process.env.NODE_ENV!=="production"&&(qa.displayName="FormControlContext");function uu(e){return Zt("MuiFormControl",e)}Vn("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const lu=e=>{const{classes:r,margin:t,fullWidth:n}=e,a={root:["root",t!=="none"&&`margin${tt(t)}`,n&&"fullWidth"]};return Hn(a,uu,r)},fu=Ya("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},r)=>({...r.root,...r[`margin${tt(e.margin)}`],...e.fullWidth&&r.fullWidth})})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),Va=fe.forwardRef(function(r,t){const n=Wa({props:r,name:"MuiFormControl"}),{children:a,className:o,color:i="primary",component:s="div",disabled:u=!1,error:f=!1,focused:d,fullWidth:h=!1,hiddenLabel:m=!1,margin:w="none",required:v=!1,size:p="medium",variant:y="outlined",...T}=n,C={...n,color:i,component:s,disabled:u,error:f,fullWidth:h,hiddenLabel:m,margin:w,required:v,size:p,variant:y},E=lu(C),[O,g]=fe.useState(()=>{let V=!1;return a&&fe.Children.forEach(a,ae=>{if(!Fr(ae,["Input","Select"]))return;const ve=Fr(ae,["Select"])?ae.props.input:ae;ve&&cu(ve.props)&&(V=!0)}),V}),[F,$]=fe.useState(()=>{let V=!1;return a&&fe.Children.forEach(a,ae=>{Fr(ae,["Input","Select"])&&(Ha(ae.props,!0)||Ha(ae.props.inputProps,!0))&&(V=!0)}),V}),[R,j]=fe.useState(!1);u&&R&&j(!1);const c=d!==void 0&&!u?d:R;let P;const Y=fe.useRef(!1);process.env.NODE_ENV!=="production"&&(P=()=>(Y.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
|
|
104
|
+
`)),Y.current=!0,()=>{Y.current=!1}));const W=fe.useMemo(()=>({adornedStart:O,setAdornedStart:g,color:i,disabled:u,error:f,filled:F,focused:c,fullWidth:h,hiddenLabel:m,size:p,onBlur:()=>{j(!1)},onEmpty:()=>{$(!1)},onFilled:()=>{$(!0)},onFocus:()=>{j(!0)},registerEffect:P,required:v,variant:y}),[O,i,u,f,F,c,h,m,P,v,p,y]);return G.jsx(qa.Provider,{value:W,children:G.jsx(fu,{as:s,ownerState:C,className:Un(E.root,o),ref:t,...T,children:a})})});process.env.NODE_ENV!=="production"&&(Va.propTypes={children:A.node,classes:A.object,className:A.string,color:A.oneOfType([A.oneOf(["primary","secondary","error","info","success","warning"]),A.string]),component:A.elementType,disabled:A.bool,error:A.bool,focused:A.bool,fullWidth:A.bool,hiddenLabel:A.bool,margin:A.oneOf(["dense","none","normal"]),required:A.bool,size:A.oneOfType([A.oneOf(["medium","small"]),A.string]),sx:A.oneOfType([A.arrayOf(A.oneOfType([A.func,A.object,A.bool])),A.func,A.object]),variant:A.oneOf(["filled","outlined","standard"])});const za=6048e5,du=864e5,Ua=6e4,Ga=36e5,hu=1e3,Qa=Symbol.for("constructDateFrom");function be(e,r){return typeof e=="function"?e(r):e&&typeof e=="object"&&Qa in e?e[Qa](r):e instanceof Date?new e.constructor(r):new Date(r)}function N(e,r){return be(r||e,e)}function Ht(e,r,t){const n=N(e,t==null?void 0:t.in);return isNaN(r)?be((t==null?void 0:t.in)||e,NaN):(r&&n.setDate(n.getDate()+r),n)}function Xa(e,r,t){return be(e,+N(e)+r)}function mu(e,r,t){return Xa(e,r*1e3)}function pu(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setTime(n.getTime()+r*Ua),n}function yu(e,r,t){return Xa(e,r*Ga)}function gu(e,r,t){return Ht(e,r*7,t)}function Ka(e,r,t){const n=N(e,t==null?void 0:t.in);if(isNaN(r))return be(e,NaN);if(!r)return n;const a=n.getDate(),o=be(e,n.getTime());o.setMonth(n.getMonth()+r+1,0);const i=o.getDate();return a>=i?o:(n.setFullYear(o.getFullYear(),o.getMonth(),a),n)}function bu(e,r,t){return Ka(e,r*12,t)}function Ja(e,r){const t=N(e,r==null?void 0:r.in);return t.setHours(23,59,59,999),t}let vu={};function lt(){return vu}function wu(e,r){var s,u,f,d;const t=lt(),n=(r==null?void 0:r.weekStartsOn)??((u=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:u.weekStartsOn)??t.weekStartsOn??((d=(f=t.locale)==null?void 0:f.options)==null?void 0:d.weekStartsOn)??0,a=N(e,r==null?void 0:r.in),o=a.getDay(),i=(o<n?-7:0)+6-(o-n);return a.setDate(a.getDate()+i),a.setHours(23,59,59,999),a}function Za(e,r){const t=N(e,r==null?void 0:r.in),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}const xu={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Tu=(e,r,t)=>{let n;const a=xu[e];return typeof a=="string"?n=a:r===1?n=a.one:n=a.other.replace("{{count}}",r.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n};function an(e){return(r={})=>{const t=r.width?String(r.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const Eu={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Su={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Cu={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ou={date:an({formats:Eu,defaultWidth:"full"}),time:an({formats:Su,defaultWidth:"full"}),dateTime:an({formats:Cu,defaultWidth:"full"})},ku={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Pu=(e,r,t,n)=>ku[e];function qt(e){return(r,t)=>{const n=t!=null&&t.context?String(t.context):"standalone";let a;if(n==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=t!=null&&t.width?String(t.width):i;a=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=t!=null&&t.width?String(t.width):e.defaultWidth;a=e.values[s]||e.values[i]}const o=e.argumentCallback?e.argumentCallback(r):r;return a[o]}}const _u={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Mu={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Du={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ru={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Au={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},$u={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Iu={ordinalNumber:(e,r)=>{const t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:qt({values:_u,defaultWidth:"wide"}),quarter:qt({values:Mu,defaultWidth:"wide",argumentCallback:e=>e-1}),month:qt({values:Du,defaultWidth:"wide"}),day:qt({values:Ru,defaultWidth:"wide"}),dayPeriod:qt({values:Au,defaultWidth:"wide",formattingValues:$u,defaultFormattingWidth:"wide"})};function Vt(e){return(r,t={})=>{const n=t.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=r.match(a);if(!o)return null;const i=o[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?Fu(s,h=>h.test(i)):Nu(s,h=>h.test(i));let f;f=e.valueCallback?e.valueCallback(u):u,f=t.valueCallback?t.valueCallback(f):f;const d=r.slice(i.length);return{value:f,rest:d}}}function Nu(e,r){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&r(e[t]))return t}function Fu(e,r){for(let t=0;t<e.length;t++)if(r(e[t]))return t}function ju(e){return(r,t={})=>{const n=r.match(e.matchPattern);if(!n)return null;const a=n[0],o=r.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=t.valueCallback?t.valueCallback(i):i;const s=r.slice(a.length);return{value:i,rest:s}}}const Yu=/^(\d+)(th|st|nd|rd)?/i,Wu=/\d+/i,Lu={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Bu={any:[/^b/i,/^(a|c)/i]},Hu={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},qu={any:[/1/i,/2/i,/3/i,/4/i]},Vu={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},zu={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Uu={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Gu={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Qu={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Xu={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ku={ordinalNumber:ju({matchPattern:Yu,parsePattern:Wu,valueCallback:e=>parseInt(e,10)}),era:Vt({matchPatterns:Lu,defaultMatchWidth:"wide",parsePatterns:Bu,defaultParseWidth:"any"}),quarter:Vt({matchPatterns:Hu,defaultMatchWidth:"wide",parsePatterns:qu,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Vt({matchPatterns:Vu,defaultMatchWidth:"wide",parsePatterns:zu,defaultParseWidth:"any"}),day:Vt({matchPatterns:Uu,defaultMatchWidth:"wide",parsePatterns:Gu,defaultParseWidth:"any"}),dayPeriod:Vt({matchPatterns:Qu,defaultMatchWidth:"any",parsePatterns:Xu,defaultParseWidth:"any"})},on={code:"en-US",formatDistance:Tu,formatLong:Ou,formatRelative:Pu,localize:Iu,match:Ku,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Er(e){const r=N(e),t=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return t.setUTCFullYear(r.getFullYear()),+e-+t}function zt(e,...r){const t=be.bind(null,r.find(n=>typeof n=="object"));return r.map(t)}function Ut(e,r){const t=N(e,r==null?void 0:r.in);return t.setHours(0,0,0,0),t}function Ju(e,r,t){const[n,a]=zt(t==null?void 0:t.in,e,r),o=Ut(n),i=Ut(a),s=+o-Er(o),u=+i-Er(i);return Math.round((s-u)/du)}function eo(e,r){const t=N(e,r==null?void 0:r.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function Zu(e,r){const t=N(e,r==null?void 0:r.in);return Ju(t,eo(t))+1}function at(e,r){var s,u,f,d;const t=lt(),n=(r==null?void 0:r.weekStartsOn)??((u=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:u.weekStartsOn)??t.weekStartsOn??((d=(f=t.locale)==null?void 0:f.options)==null?void 0:d.weekStartsOn)??0,a=N(e,r==null?void 0:r.in),o=a.getDay(),i=(o<n?7:0)+o-n;return a.setDate(a.getDate()-i),a.setHours(0,0,0,0),a}function St(e,r){return at(e,{...r,weekStartsOn:1})}function to(e,r){const t=N(e,r==null?void 0:r.in),n=t.getFullYear(),a=be(t,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const o=St(a),i=be(t,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const s=St(i);return t.getTime()>=o.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function el(e,r){const t=to(e,r),n=be(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),St(n)}function ro(e,r){const t=N(e,r==null?void 0:r.in),n=+St(t)-+el(t);return Math.round(n/za)+1}function sn(e,r){var d,h,m,w;const t=N(e,r==null?void 0:r.in),n=t.getFullYear(),a=lt(),o=(r==null?void 0:r.firstWeekContainsDate)??((h=(d=r==null?void 0:r.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??a.firstWeekContainsDate??((w=(m=a.locale)==null?void 0:m.options)==null?void 0:w.firstWeekContainsDate)??1,i=be((r==null?void 0:r.in)||e,0);i.setFullYear(n+1,0,o),i.setHours(0,0,0,0);const s=at(i,r),u=be((r==null?void 0:r.in)||e,0);u.setFullYear(n,0,o),u.setHours(0,0,0,0);const f=at(u,r);return+t>=+s?n+1:+t>=+f?n:n-1}function tl(e,r){var s,u,f,d;const t=lt(),n=(r==null?void 0:r.firstWeekContainsDate)??((u=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:u.firstWeekContainsDate)??t.firstWeekContainsDate??((d=(f=t.locale)==null?void 0:f.options)==null?void 0:d.firstWeekContainsDate)??1,a=sn(e,r),o=be((r==null?void 0:r.in)||e,0);return o.setFullYear(a,0,n),o.setHours(0,0,0,0),at(o,r)}function cn(e,r){const t=N(e,r==null?void 0:r.in),n=+at(t,r)-+tl(t,r);return Math.round(n/za)+1}function le(e,r){const t=e<0?"-":"",n=Math.abs(e).toString().padStart(r,"0");return t+n}const ut={y(e,r){const t=e.getFullYear(),n=t>0?t:1-t;return le(r==="yy"?n%100:n,r.length)},M(e,r){const t=e.getMonth();return r==="M"?String(t+1):le(t+1,2)},d(e,r){return le(e.getDate(),r.length)},a(e,r){const t=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(e,r){return le(e.getHours()%12||12,r.length)},H(e,r){return le(e.getHours(),r.length)},m(e,r){return le(e.getMinutes(),r.length)},s(e,r){return le(e.getSeconds(),r.length)},S(e,r){const t=r.length,n=e.getMilliseconds(),a=Math.trunc(n*Math.pow(10,t-3));return le(a,r.length)}},Ct={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},no={G:function(e,r,t){const n=e.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return t.era(n,{width:"abbreviated"});case"GGGGG":return t.era(n,{width:"narrow"});case"GGGG":default:return t.era(n,{width:"wide"})}},y:function(e,r,t){if(r==="yo"){const n=e.getFullYear(),a=n>0?n:1-n;return t.ordinalNumber(a,{unit:"year"})}return ut.y(e,r)},Y:function(e,r,t,n){const a=sn(e,n),o=a>0?a:1-a;if(r==="YY"){const i=o%100;return le(i,2)}return r==="Yo"?t.ordinalNumber(o,{unit:"year"}):le(o,r.length)},R:function(e,r){const t=to(e);return le(t,r.length)},u:function(e,r){const t=e.getFullYear();return le(t,r.length)},Q:function(e,r,t){const n=Math.ceil((e.getMonth()+1)/3);switch(r){case"Q":return String(n);case"QQ":return le(n,2);case"Qo":return t.ordinalNumber(n,{unit:"quarter"});case"QQQ":return t.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,r,t){const n=Math.ceil((e.getMonth()+1)/3);switch(r){case"q":return String(n);case"qq":return le(n,2);case"qo":return t.ordinalNumber(n,{unit:"quarter"});case"qqq":return t.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,r,t){const n=e.getMonth();switch(r){case"M":case"MM":return ut.M(e,r);case"Mo":return t.ordinalNumber(n+1,{unit:"month"});case"MMM":return t.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(n,{width:"wide",context:"formatting"})}},L:function(e,r,t){const n=e.getMonth();switch(r){case"L":return String(n+1);case"LL":return le(n+1,2);case"Lo":return t.ordinalNumber(n+1,{unit:"month"});case"LLL":return t.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(n,{width:"wide",context:"standalone"})}},w:function(e,r,t,n){const a=cn(e,n);return r==="wo"?t.ordinalNumber(a,{unit:"week"}):le(a,r.length)},I:function(e,r,t){const n=ro(e);return r==="Io"?t.ordinalNumber(n,{unit:"week"}):le(n,r.length)},d:function(e,r,t){return r==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):ut.d(e,r)},D:function(e,r,t){const n=Zu(e);return r==="Do"?t.ordinalNumber(n,{unit:"dayOfYear"}):le(n,r.length)},E:function(e,r,t){const n=e.getDay();switch(r){case"E":case"EE":case"EEE":return t.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(n,{width:"short",context:"formatting"});case"EEEE":default:return t.day(n,{width:"wide",context:"formatting"})}},e:function(e,r,t,n){const a=e.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return le(o,2);case"eo":return t.ordinalNumber(o,{unit:"day"});case"eee":return t.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(a,{width:"short",context:"formatting"});case"eeee":default:return t.day(a,{width:"wide",context:"formatting"})}},c:function(e,r,t,n){const a=e.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return le(o,r.length);case"co":return t.ordinalNumber(o,{unit:"day"});case"ccc":return t.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(a,{width:"narrow",context:"standalone"});case"cccccc":return t.day(a,{width:"short",context:"standalone"});case"cccc":default:return t.day(a,{width:"wide",context:"standalone"})}},i:function(e,r,t){const n=e.getDay(),a=n===0?7:n;switch(r){case"i":return String(a);case"ii":return le(a,r.length);case"io":return t.ordinalNumber(a,{unit:"day"});case"iii":return t.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(n,{width:"short",context:"formatting"});case"iiii":default:return t.day(n,{width:"wide",context:"formatting"})}},a:function(e,r,t){const a=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,r,t){const n=e.getHours();let a;switch(n===12?a=Ct.noon:n===0?a=Ct.midnight:a=n/12>=1?"pm":"am",r){case"b":case"bb":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,r,t){const n=e.getHours();let a;switch(n>=17?a=Ct.evening:n>=12?a=Ct.afternoon:n>=4?a=Ct.morning:a=Ct.night,r){case"B":case"BB":case"BBB":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,r,t){if(r==="ho"){let n=e.getHours()%12;return n===0&&(n=12),t.ordinalNumber(n,{unit:"hour"})}return ut.h(e,r)},H:function(e,r,t){return r==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):ut.H(e,r)},K:function(e,r,t){const n=e.getHours()%12;return r==="Ko"?t.ordinalNumber(n,{unit:"hour"}):le(n,r.length)},k:function(e,r,t){let n=e.getHours();return n===0&&(n=24),r==="ko"?t.ordinalNumber(n,{unit:"hour"}):le(n,r.length)},m:function(e,r,t){return r==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):ut.m(e,r)},s:function(e,r,t){return r==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):ut.s(e,r)},S:function(e,r){return ut.S(e,r)},X:function(e,r,t){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(r){case"X":return oo(n);case"XXXX":case"XX":return ft(n);case"XXXXX":case"XXX":default:return ft(n,":")}},x:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"x":return oo(n);case"xxxx":case"xx":return ft(n);case"xxxxx":case"xxx":default:return ft(n,":")}},O:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+ao(n,":");case"OOOO":default:return"GMT"+ft(n,":")}},z:function(e,r,t){const n=e.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+ao(n,":");case"zzzz":default:return"GMT"+ft(n,":")}},t:function(e,r,t){const n=Math.trunc(+e/1e3);return le(n,r.length)},T:function(e,r,t){return le(+e,r.length)}};function ao(e,r=""){const t=e>0?"-":"+",n=Math.abs(e),a=Math.trunc(n/60),o=n%60;return o===0?t+String(a):t+String(a)+r+le(o,2)}function oo(e,r){return e%60===0?(e>0?"-":"+")+le(Math.abs(e)/60,2):ft(e,r)}function ft(e,r=""){const t=e>0?"-":"+",n=Math.abs(e),a=le(Math.trunc(n/60),2),o=le(n%60,2);return t+a+r+o}const io=(e,r)=>{switch(e){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},so=(e,r)=>{switch(e){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},Gt={p:so,P:(e,r)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],a=t[2];if(!a)return io(e,r);let o;switch(n){case"P":o=r.dateTime({width:"short"});break;case"PP":o=r.dateTime({width:"medium"});break;case"PPP":o=r.dateTime({width:"long"});break;case"PPPP":default:o=r.dateTime({width:"full"});break}return o.replace("{{date}}",io(n,r)).replace("{{time}}",so(a,r))}},rl=/^D+$/,nl=/^Y+$/,al=["D","DD","YY","YYYY"];function co(e){return rl.test(e)}function uo(e){return nl.test(e)}function un(e,r,t){const n=ol(e,r,t);if(console.warn(n),al.includes(e))throw new RangeError(n)}function ol(e,r,t){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${r}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function il(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function lo(e){return!(!il(e)&&typeof e!="number"||isNaN(+N(e)))}const sl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,cl=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ul=/^'([^]*?)'?$/,ll=/''/g,fl=/[a-zA-Z]/;function dl(e,r,t){var d,h,m,w,v,p,y,T;const n=lt(),a=(t==null?void 0:t.locale)??n.locale??on,o=(t==null?void 0:t.firstWeekContainsDate)??((h=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??n.firstWeekContainsDate??((w=(m=n.locale)==null?void 0:m.options)==null?void 0:w.firstWeekContainsDate)??1,i=(t==null?void 0:t.weekStartsOn)??((p=(v=t==null?void 0:t.locale)==null?void 0:v.options)==null?void 0:p.weekStartsOn)??n.weekStartsOn??((T=(y=n.locale)==null?void 0:y.options)==null?void 0:T.weekStartsOn)??0,s=N(e,t==null?void 0:t.in);if(!lo(s))throw new RangeError("Invalid time value");let u=r.match(cl).map(C=>{const E=C[0];if(E==="p"||E==="P"){const O=Gt[E];return O(C,a.formatLong)}return C}).join("").match(sl).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const E=C[0];if(E==="'")return{isToken:!1,value:hl(C)};if(no[E])return{isToken:!0,value:C};if(E.match(fl))throw new RangeError("Format string contains an unescaped latin alphabet character `"+E+"`");return{isToken:!1,value:C}});a.localize.preprocessor&&(u=a.localize.preprocessor(s,u));const f={firstWeekContainsDate:o,weekStartsOn:i,locale:a};return u.map(C=>{if(!C.isToken)return C.value;const E=C.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&uo(E)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&co(E))&&un(E,r,String(e));const O=no[E[0]];return O(s,E,a.localize,f)}).join("")}function hl(e){const r=e.match(ul);return r?r[1].replace(ll,"'"):e}function ml(e,r){return N(e,r==null?void 0:r.in).getDate()}function fo(e,r){const t=N(e,r==null?void 0:r.in),n=t.getFullYear(),a=t.getMonth(),o=be(t,0);return o.setFullYear(n,a+1,0),o.setHours(0,0,0,0),o.getDate()}function pl(e,r){return N(e,r==null?void 0:r.in).getHours()}function yl(e,r){return N(e,r==null?void 0:r.in).getMinutes()}function gl(e,r){return N(e,r==null?void 0:r.in).getMonth()}function bl(e){return N(e).getSeconds()}function vl(e){return N(e).getMilliseconds()}function wl(e,r){return N(e,r==null?void 0:r.in).getFullYear()}function ln(e,r){return+N(e)>+N(r)}function fn(e,r){return+N(e)<+N(r)}function xl(e,r){return+N(e)==+N(r)}function Tl(e,r,t){const[n,a]=zt(t==null?void 0:t.in,e,r);return+Ut(n)==+Ut(a)}function El(e,r,t){const[n,a]=zt(t==null?void 0:t.in,e,r);return n.getFullYear()===a.getFullYear()}function Sl(e,r,t){const[n,a]=zt(t==null?void 0:t.in,e,r);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()}function ho(e,r){const t=N(e,r==null?void 0:r.in);return t.setMinutes(0,0,0),t}function Cl(e,r,t){const[n,a]=zt(t==null?void 0:t.in,e,r);return+ho(n)==+ho(a)}function Ol(){return Object.assign({},lt())}function kl(e,r){const t=Pl(r)?new r(0):be(r,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}function Pl(e){var r;return typeof e=="function"&&((r=e.prototype)==null?void 0:r.constructor)===e}const _l=10;class mo{constructor(){M(this,"subPriority",0)}validate(r,t){return!0}}class Ml extends mo{constructor(r,t,n,a,o){super(),this.value=r,this.validateValue=t,this.setValue=n,this.priority=a,o&&(this.subPriority=o)}validate(r,t){return this.validateValue(r,this.value,t)}set(r,t,n){return this.setValue(r,t,this.value,n)}}class Dl extends mo{constructor(t,n){super();M(this,"priority",_l);M(this,"subPriority",-1);this.context=t||(a=>be(n,a))}set(t,n){return n.timestampIsSet?t:be(t,kl(t,this.context))}}class ne{run(r,t,n,a){const o=this.parse(r,t,n,a);return o?{setter:new Ml(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(r,t,n){return!0}}class Rl extends ne{constructor(){super(...arguments);M(this,"priority",140);M(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,a){switch(n){case"G":case"GG":case"GGG":return a.era(t,{width:"abbreviated"})||a.era(t,{width:"narrow"});case"GGGGG":return a.era(t,{width:"narrow"});case"GGGG":default:return a.era(t,{width:"wide"})||a.era(t,{width:"abbreviated"})||a.era(t,{width:"narrow"})}}set(t,n,a){return n.era=a,t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}}const Ce={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ke={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Oe(e,r){return e&&{value:r(e.value),rest:e.rest}}function we(e,r){const t=r.match(e);return t?{value:parseInt(t[0],10),rest:r.slice(t[0].length)}:null}function Je(e,r){const t=r.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:r.slice(1)};const n=t[1]==="+"?1:-1,a=t[2]?parseInt(t[2],10):0,o=t[3]?parseInt(t[3],10):0,i=t[5]?parseInt(t[5],10):0;return{value:n*(a*Ga+o*Ua+i*hu),rest:r.slice(t[0].length)}}function po(e){return we(Ce.anyDigitsSigned,e)}function Ee(e,r){switch(e){case 1:return we(Ce.singleDigit,r);case 2:return we(Ce.twoDigits,r);case 3:return we(Ce.threeDigits,r);case 4:return we(Ce.fourDigits,r);default:return we(new RegExp("^\\d{1,"+e+"}"),r)}}function Sr(e,r){switch(e){case 1:return we(Ce.singleDigitSigned,r);case 2:return we(Ce.twoDigitsSigned,r);case 3:return we(Ce.threeDigitsSigned,r);case 4:return we(Ce.fourDigitsSigned,r);default:return we(new RegExp("^-?\\d{1,"+e+"}"),r)}}function dn(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function yo(e,r){const t=r>0,n=t?r:1-r;let a;if(n<=50)a=e||100;else{const o=n+50,i=Math.trunc(o/100)*100,s=e>=o%100;a=e+i-(s?100:0)}return t?a:1-a}function go(e){return e%400===0||e%4===0&&e%100!==0}class Al extends ne{constructor(){super(...arguments);M(this,"priority",130);M(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,a){const o=i=>({year:i,isTwoDigitYear:n==="yy"});switch(n){case"y":return Oe(Ee(4,t),o);case"yo":return Oe(a.ordinalNumber(t,{unit:"year"}),o);default:return Oe(Ee(n.length,t),o)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,a){const o=t.getFullYear();if(a.isTwoDigitYear){const s=yo(a.year,o);return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}const i=!("era"in n)||n.era===1?a.year:1-a.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}}class $l extends ne{constructor(){super(...arguments);M(this,"priority",130);M(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,a){const o=i=>({year:i,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Oe(Ee(4,t),o);case"Yo":return Oe(a.ordinalNumber(t,{unit:"year"}),o);default:return Oe(Ee(n.length,t),o)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,a,o){const i=sn(t,o);if(a.isTwoDigitYear){const u=yo(a.year,i);return t.setFullYear(u,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),at(t,o)}const s=!("era"in n)||n.era===1?a.year:1-a.year;return t.setFullYear(s,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),at(t,o)}}class Il extends ne{constructor(){super(...arguments);M(this,"priority",130);M(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Sr(n==="R"?4:n.length,t)}set(t,n,a){const o=be(t,0);return o.setFullYear(a,0,4),o.setHours(0,0,0,0),St(o)}}class Nl extends ne{constructor(){super(...arguments);M(this,"priority",130);M(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Sr(n==="u"?4:n.length,t)}set(t,n,a){return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}}class Fl extends ne{constructor(){super(...arguments);M(this,"priority",120);M(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"Q":case"QQ":return Ee(n.length,t);case"Qo":return a.ordinalNumber(t,{unit:"quarter"});case"QQQ":return a.quarter(t,{width:"abbreviated",context:"formatting"})||a.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(t,{width:"wide",context:"formatting"})||a.quarter(t,{width:"abbreviated",context:"formatting"})||a.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,a){return t.setMonth((a-1)*3,1),t.setHours(0,0,0,0),t}}class jl extends ne{constructor(){super(...arguments);M(this,"priority",120);M(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"q":case"qq":return Ee(n.length,t);case"qo":return a.ordinalNumber(t,{unit:"quarter"});case"qqq":return a.quarter(t,{width:"abbreviated",context:"standalone"})||a.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(t,{width:"wide",context:"standalone"})||a.quarter(t,{width:"abbreviated",context:"standalone"})||a.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,a){return t.setMonth((a-1)*3,1),t.setHours(0,0,0,0),t}}class Yl extends ne{constructor(){super(...arguments);M(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);M(this,"priority",110)}parse(t,n,a){const o=i=>i-1;switch(n){case"M":return Oe(we(Ce.month,t),o);case"MM":return Oe(Ee(2,t),o);case"Mo":return Oe(a.ordinalNumber(t,{unit:"month"}),o);case"MMM":return a.month(t,{width:"abbreviated",context:"formatting"})||a.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(t,{width:"wide",context:"formatting"})||a.month(t,{width:"abbreviated",context:"formatting"})||a.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.setMonth(a,1),t.setHours(0,0,0,0),t}}class Wl extends ne{constructor(){super(...arguments);M(this,"priority",110);M(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,a){const o=i=>i-1;switch(n){case"L":return Oe(we(Ce.month,t),o);case"LL":return Oe(Ee(2,t),o);case"Lo":return Oe(a.ordinalNumber(t,{unit:"month"}),o);case"LLL":return a.month(t,{width:"abbreviated",context:"standalone"})||a.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(t,{width:"wide",context:"standalone"})||a.month(t,{width:"abbreviated",context:"standalone"})||a.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.setMonth(a,1),t.setHours(0,0,0,0),t}}function Ll(e,r,t){const n=N(e,t==null?void 0:t.in),a=cn(n,t)-r;return n.setDate(n.getDate()-a*7),N(n,t==null?void 0:t.in)}class Bl extends ne{constructor(){super(...arguments);M(this,"priority",100);M(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,a){switch(n){case"w":return we(Ce.week,t);case"wo":return a.ordinalNumber(t,{unit:"week"});default:return Ee(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,a,o){return at(Ll(t,a,o),o)}}function Hl(e,r,t){const n=N(e,t==null?void 0:t.in),a=ro(n,t)-r;return n.setDate(n.getDate()-a*7),n}class ql extends ne{constructor(){super(...arguments);M(this,"priority",100);M(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,a){switch(n){case"I":return we(Ce.week,t);case"Io":return a.ordinalNumber(t,{unit:"week"});default:return Ee(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,a){return St(Hl(t,a))}}const Vl=[31,28,31,30,31,30,31,31,30,31,30,31],zl=[31,29,31,30,31,30,31,31,30,31,30,31];class Ul extends ne{constructor(){super(...arguments);M(this,"priority",90);M(this,"subPriority",1);M(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"d":return we(Ce.date,t);case"do":return a.ordinalNumber(t,{unit:"date"});default:return Ee(n.length,t)}}validate(t,n){const a=t.getFullYear(),o=go(a),i=t.getMonth();return o?n>=1&&n<=zl[i]:n>=1&&n<=Vl[i]}set(t,n,a){return t.setDate(a),t.setHours(0,0,0,0),t}}class Gl extends ne{constructor(){super(...arguments);M(this,"priority",90);M(this,"subpriority",1);M(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,a){switch(n){case"D":case"DD":return we(Ce.dayOfYear,t);case"Do":return a.ordinalNumber(t,{unit:"date"});default:return Ee(n.length,t)}}validate(t,n){const a=t.getFullYear();return go(a)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,a){return t.setMonth(0,a),t.setHours(0,0,0,0),t}}function hn(e,r,t){var h,m,w,v;const n=lt(),a=(t==null?void 0:t.weekStartsOn)??((m=(h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:m.weekStartsOn)??n.weekStartsOn??((v=(w=n.locale)==null?void 0:w.options)==null?void 0:v.weekStartsOn)??0,o=N(e,t==null?void 0:t.in),i=o.getDay(),u=(r%7+7)%7,f=7-a,d=r<0||r>6?r-(i+f)%7:(u+f)%7-(i+f)%7;return Ht(o,d,t)}class Ql extends ne{constructor(){super(...arguments);M(this,"priority",90);M(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,a){switch(n){case"E":case"EE":case"EEE":return a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,o){return t=hn(t,a,o),t.setHours(0,0,0,0),t}}class Xl extends ne{constructor(){super(...arguments);M(this,"priority",90);M(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,a,o){const i=s=>{const u=Math.floor((s-1)/7)*7;return(s+o.weekStartsOn+6)%7+u};switch(n){case"e":case"ee":return Oe(Ee(n.length,t),i);case"eo":return Oe(a.ordinalNumber(t,{unit:"day"}),i);case"eee":return a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"eeeee":return a.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,o){return t=hn(t,a,o),t.setHours(0,0,0,0),t}}class Kl extends ne{constructor(){super(...arguments);M(this,"priority",90);M(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,a,o){const i=s=>{const u=Math.floor((s-1)/7)*7;return(s+o.weekStartsOn+6)%7+u};switch(n){case"c":case"cc":return Oe(Ee(n.length,t),i);case"co":return Oe(a.ordinalNumber(t,{unit:"day"}),i);case"ccc":return a.day(t,{width:"abbreviated",context:"standalone"})||a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"});case"ccccc":return a.day(t,{width:"narrow",context:"standalone"});case"cccccc":return a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(t,{width:"wide",context:"standalone"})||a.day(t,{width:"abbreviated",context:"standalone"})||a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,o){return t=hn(t,a,o),t.setHours(0,0,0,0),t}}function Jl(e,r){const t=N(e,r==null?void 0:r.in).getDay();return t===0?7:t}function Zl(e,r,t){const n=N(e,t==null?void 0:t.in),a=Jl(n,t),o=r-a;return Ht(n,o,t)}class ef extends ne{constructor(){super(...arguments);M(this,"priority",90);M(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,a){const o=i=>i===0?7:i;switch(n){case"i":case"ii":return Ee(n.length,t);case"io":return a.ordinalNumber(t,{unit:"day"});case"iii":return Oe(a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),o);case"iiiii":return Oe(a.day(t,{width:"narrow",context:"formatting"}),o);case"iiiiii":return Oe(a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),o);case"iiii":default:return Oe(a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),o)}}validate(t,n){return n>=1&&n<=7}set(t,n,a){return t=Zl(t,a),t.setHours(0,0,0,0),t}}class tf extends ne{constructor(){super(...arguments);M(this,"priority",80);M(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,a){switch(n){case"a":case"aa":case"aaa":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(dn(a),0,0,0),t}}class rf extends ne{constructor(){super(...arguments);M(this,"priority",80);M(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,a){switch(n){case"b":case"bb":case"bbb":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(dn(a),0,0,0),t}}class nf extends ne{constructor(){super(...arguments);M(this,"priority",80);M(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,a){switch(n){case"B":case"BB":case"BBB":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(dn(a),0,0,0),t}}class af extends ne{constructor(){super(...arguments);M(this,"priority",70);M(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,a){switch(n){case"h":return we(Ce.hour12h,t);case"ho":return a.ordinalNumber(t,{unit:"hour"});default:return Ee(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,a){const o=t.getHours()>=12;return o&&a<12?t.setHours(a+12,0,0,0):!o&&a===12?t.setHours(0,0,0,0):t.setHours(a,0,0,0),t}}class of extends ne{constructor(){super(...arguments);M(this,"priority",70);M(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,a){switch(n){case"H":return we(Ce.hour23h,t);case"Ho":return a.ordinalNumber(t,{unit:"hour"});default:return Ee(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,a){return t.setHours(a,0,0,0),t}}class sf extends ne{constructor(){super(...arguments);M(this,"priority",70);M(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,a){switch(n){case"K":return we(Ce.hour11h,t);case"Ko":return a.ordinalNumber(t,{unit:"hour"});default:return Ee(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.getHours()>=12&&a<12?t.setHours(a+12,0,0,0):t.setHours(a,0,0,0),t}}class cf extends ne{constructor(){super(...arguments);M(this,"priority",70);M(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,a){switch(n){case"k":return we(Ce.hour24h,t);case"ko":return a.ordinalNumber(t,{unit:"hour"});default:return Ee(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,a){const o=a<=24?a%24:a;return t.setHours(o,0,0,0),t}}class uf extends ne{constructor(){super(...arguments);M(this,"priority",60);M(this,"incompatibleTokens",["t","T"])}parse(t,n,a){switch(n){case"m":return we(Ce.minute,t);case"mo":return a.ordinalNumber(t,{unit:"minute"});default:return Ee(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,a){return t.setMinutes(a,0,0),t}}class lf extends ne{constructor(){super(...arguments);M(this,"priority",50);M(this,"incompatibleTokens",["t","T"])}parse(t,n,a){switch(n){case"s":return we(Ce.second,t);case"so":return a.ordinalNumber(t,{unit:"second"});default:return Ee(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,a){return t.setSeconds(a,0),t}}class ff extends ne{constructor(){super(...arguments);M(this,"priority",30);M(this,"incompatibleTokens",["t","T"])}parse(t,n){const a=o=>Math.trunc(o*Math.pow(10,-n.length+3));return Oe(Ee(n.length,t),a)}set(t,n,a){return t.setMilliseconds(a),t}}class df extends ne{constructor(){super(...arguments);M(this,"priority",10);M(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Je(Ke.basicOptionalMinutes,t);case"XX":return Je(Ke.basic,t);case"XXXX":return Je(Ke.basicOptionalSeconds,t);case"XXXXX":return Je(Ke.extendedOptionalSeconds,t);case"XXX":default:return Je(Ke.extended,t)}}set(t,n,a){return n.timestampIsSet?t:be(t,t.getTime()-Er(t)-a)}}class hf extends ne{constructor(){super(...arguments);M(this,"priority",10);M(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Je(Ke.basicOptionalMinutes,t);case"xx":return Je(Ke.basic,t);case"xxxx":return Je(Ke.basicOptionalSeconds,t);case"xxxxx":return Je(Ke.extendedOptionalSeconds,t);case"xxx":default:return Je(Ke.extended,t)}}set(t,n,a){return n.timestampIsSet?t:be(t,t.getTime()-Er(t)-a)}}class mf extends ne{constructor(){super(...arguments);M(this,"priority",40);M(this,"incompatibleTokens","*")}parse(t){return po(t)}set(t,n,a){return[be(t,a*1e3),{timestampIsSet:!0}]}}class pf extends ne{constructor(){super(...arguments);M(this,"priority",20);M(this,"incompatibleTokens","*")}parse(t){return po(t)}set(t,n,a){return[be(t,a),{timestampIsSet:!0}]}}const yf={G:new Rl,y:new Al,Y:new $l,R:new Il,u:new Nl,Q:new Fl,q:new jl,M:new Yl,L:new Wl,w:new Bl,I:new ql,d:new Ul,D:new Gl,E:new Ql,e:new Xl,c:new Kl,i:new ef,a:new tf,b:new rf,B:new nf,h:new af,H:new of,K:new sf,k:new cf,m:new uf,s:new lf,S:new ff,X:new df,x:new hf,t:new mf,T:new pf},gf=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,bf=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,vf=/^'([^]*?)'?$/,wf=/''/g,xf=/\S/,Tf=/[a-zA-Z]/;function Ef(e,r,t,n){var y,T,C,E,O,g,F,$;const a=()=>be((n==null?void 0:n.in)||t,NaN),o=Ol(),i=(n==null?void 0:n.locale)??o.locale??on,s=(n==null?void 0:n.firstWeekContainsDate)??((T=(y=n==null?void 0:n.locale)==null?void 0:y.options)==null?void 0:T.firstWeekContainsDate)??o.firstWeekContainsDate??((E=(C=o.locale)==null?void 0:C.options)==null?void 0:E.firstWeekContainsDate)??1,u=(n==null?void 0:n.weekStartsOn)??((g=(O=n==null?void 0:n.locale)==null?void 0:O.options)==null?void 0:g.weekStartsOn)??o.weekStartsOn??(($=(F=o.locale)==null?void 0:F.options)==null?void 0:$.weekStartsOn)??0;if(!r)return e?a():N(t,n==null?void 0:n.in);const f={firstWeekContainsDate:s,weekStartsOn:u,locale:i},d=[new Dl(n==null?void 0:n.in,t)],h=r.match(bf).map(R=>{const j=R[0];if(j in Gt){const c=Gt[j];return c(R,i.formatLong)}return R}).join("").match(gf),m=[];for(let R of h){!(n!=null&&n.useAdditionalWeekYearTokens)&&uo(R)&&un(R,r,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&co(R)&&un(R,r,e);const j=R[0],c=yf[j];if(c){const{incompatibleTokens:P}=c;if(Array.isArray(P)){const W=m.find(V=>P.includes(V.token)||V.token===j);if(W)throw new RangeError(`The format string mustn't contain \`${W.fullToken}\` and \`${R}\` at the same time`)}else if(c.incompatibleTokens==="*"&&m.length>0)throw new RangeError(`The format string mustn't contain \`${R}\` and any other token at the same time`);m.push({token:j,fullToken:R});const Y=c.run(e,R,i.match,f);if(!Y)return a();d.push(Y.setter),e=Y.rest}else{if(j.match(Tf))throw new RangeError("Format string contains an unescaped latin alphabet character `"+j+"`");if(R==="''"?R="'":j==="'"&&(R=Sf(R)),e.indexOf(R)===0)e=e.slice(R.length);else return a()}}if(e.length>0&&xf.test(e))return a();const w=d.map(R=>R.priority).sort((R,j)=>j-R).filter((R,j,c)=>c.indexOf(R)===j).map(R=>d.filter(j=>j.priority===R).sort((j,c)=>c.subPriority-j.subPriority)).map(R=>R[0]);let v=N(t,n==null?void 0:n.in);if(isNaN(+v))return a();const p={};for(const R of w){if(!R.validate(v,f))return a();const j=R.set(v,p,f);Array.isArray(j)?(v=j[0],Object.assign(p,j[1])):v=j}return v}function Sf(e){return e.match(vf)[1].replace(wf,"'")}function Cf(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setDate(r),n}function Of(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setHours(r),n}function kf(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setMinutes(r),n}function Pf(e,r,t){const n=N(e,t==null?void 0:t.in),a=n.getFullYear(),o=n.getDate(),i=be(e,0);i.setFullYear(a,r,15),i.setHours(0,0,0,0);const s=fo(i);return n.setMonth(r,Math.min(o,s)),n}function _f(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setSeconds(r),n}function Mf(e,r,t){const n=N(e,t==null?void 0:t.in);return n.setMilliseconds(r),n}function Df(e,r,t){const n=N(e,t==null?void 0:t.in);return isNaN(+n)?be(e,NaN):(n.setFullYear(r),n)}function Rf(e,r){const t=N(e,r==null?void 0:r.in);return t.setDate(1),t.setHours(0,0,0,0),t}function Af(e,r){const t=N(e,r==null?void 0:r.in),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function $f(e,r,t){const n=+N(e,t==null?void 0:t.in),[a,o]=[+N(r.start,t==null?void 0:t.in),+N(r.end,t==null?void 0:t.in)].sort((i,s)=>i-s);return n>=a&&n<=o}function mn(){return mn=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},mn.apply(null,arguments)}const If={y:{sectionType:"year",contentType:"digit",maxLength:4},yy:"year",yyy:{sectionType:"year",contentType:"digit",maxLength:4},yyyy:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMMM:{sectionType:"month",contentType:"letter"},MMM:{sectionType:"month",contentType:"letter"},L:{sectionType:"month",contentType:"digit",maxLength:2},LL:"month",LLL:{sectionType:"month",contentType:"letter"},LLLL:{sectionType:"month",contentType:"letter"},d:{sectionType:"day",contentType:"digit",maxLength:2},dd:"day",do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"letter"},EE:{sectionType:"weekDay",contentType:"letter"},EEE:{sectionType:"weekDay",contentType:"letter"},EEEE:{sectionType:"weekDay",contentType:"letter"},EEEEE:{sectionType:"weekDay",contentType:"letter"},i:{sectionType:"weekDay",contentType:"digit",maxLength:1},ii:"weekDay",iii:{sectionType:"weekDay",contentType:"letter"},iiii:{sectionType:"weekDay",contentType:"letter"},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},ee:"weekDay",eee:{sectionType:"weekDay",contentType:"letter"},eeee:{sectionType:"weekDay",contentType:"letter"},eeeee:{sectionType:"weekDay",contentType:"letter"},eeeeee:{sectionType:"weekDay",contentType:"letter"},c:{sectionType:"weekDay",contentType:"digit",maxLength:1},cc:"weekDay",ccc:{sectionType:"weekDay",contentType:"letter"},cccc:{sectionType:"weekDay",contentType:"letter"},ccccc:{sectionType:"weekDay",contentType:"letter"},cccccc:{sectionType:"weekDay",contentType:"letter"},a:"meridiem",aa:"meridiem",aaa:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},Nf={year:"yyyy",month:"LLLL",monthShort:"MMM",dayOfMonth:"d",dayOfMonthFull:"do",weekday:"EEEE",weekdayShort:"EEEEEE",hours24h:"HH",hours12h:"hh",meridiem:"aa",minutes:"mm",seconds:"ss",fullDate:"PP",keyboardDate:"P",shortDate:"MMM d",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",fullTime:"p",fullTime12h:"hh:mm aa",fullTime24h:"HH:mm",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aa",keyboardDateTime24h:"P HH:mm"};class Ff{constructor(r){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib=void 0,this.locale=void 0,this.formats=void 0,this.formatTokenMap=If,this.escapedCharacters={start:"'",end:"'"},this.longFormatters=void 0,this.date=i=>typeof i>"u"?new Date:i===null?null:new Date(i),this.getInvalidDate=()=>new Date("Invalid Date"),this.getTimezone=()=>"default",this.setTimezone=i=>i,this.toJsDate=i=>i,this.getCurrentLocaleCode=()=>this.locale.code,this.is12HourCycleInCurrentLocale=()=>/a/.test(this.locale.formatLong.time({width:"short"})),this.expandFormat=i=>{const s=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return i.match(s).map(u=>{const f=u[0];if(f==="p"||f==="P"){const d=this.longFormatters[f];return d(u,this.locale.formatLong)}return u}).join("")},this.formatNumber=i=>i,this.getDayOfWeek=i=>i.getDay()+1;const{locale:t,formats:n,longFormatters:a,lib:o}=r;this.locale=t,this.formats=mn({},Nf,n),this.longFormatters=a,this.lib=o||"date-fns"}}class jf extends Ff{constructor({locale:r,formats:t}={}){if(process.env.NODE_ENV!=="production"){if(typeof Ht!="function")throw new Error(["MUI: The `date-fns` package v2.x is not compatible with this adapter.","Please, install v3.x or v4.x of the package or use the `AdapterDateFns` instead."].join(`
|
|
105
|
+
`));if(!Gt)throw new Error("MUI: The minimum supported `date-fns` package version compatible with this adapter is `3.2.x`.")}super({locale:r??on,formats:t,longFormatters:Gt}),this.parse=(n,a)=>n===""?null:Ef(n,a,new Date,{locale:this.locale}),this.isValid=n=>n==null?!1:lo(n),this.format=(n,a)=>this.formatByString(n,this.formats[a]),this.formatByString=(n,a)=>dl(n,a,{locale:this.locale}),this.isEqual=(n,a)=>n===null&&a===null?!0:n===null||a===null?!1:xl(n,a),this.isSameYear=(n,a)=>El(n,a),this.isSameMonth=(n,a)=>Sl(n,a),this.isSameDay=(n,a)=>Tl(n,a),this.isSameHour=(n,a)=>Cl(n,a),this.isAfter=(n,a)=>ln(n,a),this.isAfterYear=(n,a)=>ln(n,Za(a)),this.isAfterDay=(n,a)=>ln(n,Ja(a)),this.isBefore=(n,a)=>fn(n,a),this.isBeforeYear=(n,a)=>fn(n,this.startOfYear(a)),this.isBeforeDay=(n,a)=>fn(n,this.startOfDay(a)),this.isWithinRange=(n,[a,o])=>$f(n,{start:a,end:o}),this.startOfYear=n=>eo(n),this.startOfMonth=n=>Rf(n),this.startOfWeek=n=>at(n,{locale:this.locale}),this.startOfDay=n=>Ut(n),this.endOfYear=n=>Za(n),this.endOfMonth=n=>Af(n),this.endOfWeek=n=>wu(n,{locale:this.locale}),this.endOfDay=n=>Ja(n),this.addYears=(n,a)=>bu(n,a),this.addMonths=(n,a)=>Ka(n,a),this.addWeeks=(n,a)=>gu(n,a),this.addDays=(n,a)=>Ht(n,a),this.addHours=(n,a)=>yu(n,a),this.addMinutes=(n,a)=>pu(n,a),this.addSeconds=(n,a)=>mu(n,a),this.getYear=n=>wl(n),this.getMonth=n=>gl(n),this.getDate=n=>ml(n),this.getHours=n=>pl(n),this.getMinutes=n=>yl(n),this.getSeconds=n=>bl(n),this.getMilliseconds=n=>vl(n),this.setYear=(n,a)=>Df(n,a),this.setMonth=(n,a)=>Pf(n,a),this.setDate=(n,a)=>Cf(n,a),this.setHours=(n,a)=>Of(n,a),this.setMinutes=(n,a)=>kf(n,a),this.setSeconds=(n,a)=>_f(n,a),this.setMilliseconds=(n,a)=>Mf(n,a),this.getDaysInMonth=n=>fo(n),this.getWeekArray=n=>{const a=this.startOfWeek(this.startOfMonth(n)),o=this.endOfWeek(this.endOfMonth(n));let i=0,s=a;const u=[];for(;this.isBefore(s,o);){const f=Math.floor(i/7);u[f]=u[f]||[],u[f].push(s),s=this.addDays(s,1),i+=1}return u},this.getWeekNumber=n=>cn(n,{locale:this.locale}),this.getYearRange=([n,a])=>{const o=this.startOfYear(n),i=this.endOfYear(a),s=[];let u=o;for(;this.isBefore(u,i);)s.push(u),u=this.addYears(u,1);return s}}}function Yf({children:e,onSubmit:r,layout:t,sx:n}){return G.jsx(xn.LocalizationProvider,{dateAdapter:jf,adapterLocale:void 0,children:G.jsx($o,{layout:t,children:G.jsx(Va,{sx:n,children:G.jsx("form",{onSubmit:r,children:e})})})})}function Wf({children:e,onSubmit:r=()=>{},layout:t,formOptions:n={},sx:a}){const o=ht.useForm(n);return G.jsx(ht.FormProvider,{...o,children:G.jsx(Yf,{onSubmit:o.handleSubmit(r),layout:t,sx:a,children:e})})}function Lf(){return G.jsx("div",{children:"FormRenderer"})}pe.Checkbox=Io,pe.DateInput=No,pe.FormFieldLabel=su,pe.FormProvider=Wf,pe.NumberInput=Fo,pe.Select=jo,pe.TextInput=Cn,pe.default=Lf,Object.defineProperties(pe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|