@opengov/form-renderer 0.0.1-beta1
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/index.test.d.ts +0 -0
- package/dist/lib.js +55355 -0
- package/dist/lib.umd.cjs +442 -0
- package/dist/stories/Compound.d.ts +0 -0
- package/dist/stories/FormRenderer.stories.d.ts +7 -0
- package/dist/stories/WithDefaultValues.d.ts +0 -0
- package/package.json +49 -0
package/dist/lib.umd.cjs
ADDED
|
@@ -0,0 +1,442 @@
|
|
|
1
|
+
(function(Eo,Ci){typeof exports=="object"&&typeof module<"u"?Ci(exports):typeof define=="function"&&define.amd?define(["exports"],Ci):(Eo=typeof globalThis<"u"?globalThis:Eo||self,Ci(Eo.Lib={}))})(this,function(Eo){"use strict";var HQ=Object.defineProperty;var WQ=(Eo,Ci,Qu)=>Ci in Eo?HQ(Eo,Ci,{enumerable:!0,configurable:!0,writable:!0,value:Qu}):Eo[Ci]=Qu;var xt=(Eo,Ci,Qu)=>WQ(Eo,typeof Ci!="symbol"?Ci+"":Ci,Qu);function Ci(e,n){for(var o=0;o<n.length;o++){const i=n[o];if(typeof i!="string"&&!Array.isArray(i)){for(const u in i)if(u!=="default"&&!(u in e)){const d=Object.getOwnPropertyDescriptor(i,u);d&&Object.defineProperty(e,u,d.get?d:{enumerable:!0,get:()=>i[u]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function Qu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cw={exports:{}},yh={},zg={exports:{}},bn={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var BR;function qF(){if(BR)return bn;BR=1;var e=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),m=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),S=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),E=Symbol.iterator;function R(U){return U===null||typeof U!="object"?null:(U=E&&U[E]||U["@@iterator"],typeof U=="function"?U:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,_={};function M(U,fe,Pe){this.props=U,this.context=fe,this.refs=_,this.updater=Pe||k}M.prototype.isReactComponent={},M.prototype.setState=function(U,fe){if(typeof U!="object"&&typeof U!="function"&&U!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,U,fe,"setState")},M.prototype.forceUpdate=function(U){this.updater.enqueueForceUpdate(this,U,"forceUpdate")};function V(){}V.prototype=M.prototype;function j(U,fe,Pe){this.props=U,this.context=fe,this.refs=_,this.updater=Pe||k}var A=j.prototype=new V;A.constructor=j,O(A,M.prototype),A.isPureReactComponent=!0;var $=Array.isArray,P=Object.prototype.hasOwnProperty,H={current:null},W={key:!0,ref:!0,__self:!0,__source:!0};function Y(U,fe,Pe){var Te,ue={},we=null,Ee=null;if(fe!=null)for(Te in fe.ref!==void 0&&(Ee=fe.ref),fe.key!==void 0&&(we=""+fe.key),fe)P.call(fe,Te)&&!W.hasOwnProperty(Te)&&(ue[Te]=fe[Te]);var me=arguments.length-2;if(me===1)ue.children=Pe;else if(1<me){for(var De=Array(me),Ne=0;Ne<me;Ne++)De[Ne]=arguments[Ne+2];ue.children=De}if(U&&U.defaultProps)for(Te in me=U.defaultProps,me)ue[Te]===void 0&&(ue[Te]=me[Te]);return{$$typeof:e,type:U,key:we,ref:Ee,props:ue,_owner:H.current}}function N(U,fe){return{$$typeof:e,type:U.type,key:fe,ref:U.ref,props:U.props,_owner:U._owner}}function K(U){return typeof U=="object"&&U!==null&&U.$$typeof===e}function Z(U){var fe={"=":"=0",":":"=2"};return"$"+U.replace(/[=:]/g,function(Pe){return fe[Pe]})}var J=/\/+/g;function X(U,fe){return typeof U=="object"&&U!==null&&U.key!=null?Z(""+U.key):fe.toString(36)}function ee(U,fe,Pe,Te,ue){var we=typeof U;(we==="undefined"||we==="boolean")&&(U=null);var Ee=!1;if(U===null)Ee=!0;else switch(we){case"string":case"number":Ee=!0;break;case"object":switch(U.$$typeof){case e:case n:Ee=!0}}if(Ee)return Ee=U,ue=ue(Ee),U=Te===""?"."+X(Ee,0):Te,$(ue)?(Pe="",U!=null&&(Pe=U.replace(J,"$&/")+"/"),ee(ue,fe,Pe,"",function(Ne){return Ne})):ue!=null&&(K(ue)&&(ue=N(ue,Pe+(!ue.key||Ee&&Ee.key===ue.key?"":(""+ue.key).replace(J,"$&/")+"/")+U)),fe.push(ue)),1;if(Ee=0,Te=Te===""?".":Te+":",$(U))for(var me=0;me<U.length;me++){we=U[me];var De=Te+X(we,me);Ee+=ee(we,fe,Pe,De,ue)}else if(De=R(U),typeof De=="function")for(U=De.call(U),me=0;!(we=U.next()).done;)we=we.value,De=Te+X(we,me++),Ee+=ee(we,fe,Pe,De,ue);else if(we==="object")throw fe=String(U),Error("Objects are not valid as a React child (found: "+(fe==="[object Object]"?"object with keys {"+Object.keys(U).join(", ")+"}":fe)+"). If you meant to render a collection of children, use an array instead.");return Ee}function ne(U,fe,Pe){if(U==null)return U;var Te=[],ue=0;return ee(U,Te,"","",function(we){return fe.call(Pe,we,ue++)}),Te}function te(U){if(U._status===-1){var fe=U._result;fe=fe(),fe.then(function(Pe){(U._status===0||U._status===-1)&&(U._status=1,U._result=Pe)},function(Pe){(U._status===0||U._status===-1)&&(U._status=2,U._result=Pe)}),U._status===-1&&(U._status=0,U._result=fe)}if(U._status===1)return U._result.default;throw U._result}var se={current:null},ae={transition:null},xe={ReactCurrentDispatcher:se,ReactCurrentBatchConfig:ae,ReactCurrentOwner:H};function oe(){throw Error("act(...) is not supported in production builds of React.")}return bn.Children={map:ne,forEach:function(U,fe,Pe){ne(U,function(){fe.apply(this,arguments)},Pe)},count:function(U){var fe=0;return ne(U,function(){fe++}),fe},toArray:function(U){return ne(U,function(fe){return fe})||[]},only:function(U){if(!K(U))throw Error("React.Children.only expected to receive a single React element child.");return U}},bn.Component=M,bn.Fragment=o,bn.Profiler=u,bn.PureComponent=j,bn.StrictMode=i,bn.Suspense=g,bn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=xe,bn.act=oe,bn.cloneElement=function(U,fe,Pe){if(U==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+U+".");var Te=O({},U.props),ue=U.key,we=U.ref,Ee=U._owner;if(fe!=null){if(fe.ref!==void 0&&(we=fe.ref,Ee=H.current),fe.key!==void 0&&(ue=""+fe.key),U.type&&U.type.defaultProps)var me=U.type.defaultProps;for(De in fe)P.call(fe,De)&&!W.hasOwnProperty(De)&&(Te[De]=fe[De]===void 0&&me!==void 0?me[De]:fe[De])}var De=arguments.length-2;if(De===1)Te.children=Pe;else if(1<De){me=Array(De);for(var Ne=0;Ne<De;Ne++)me[Ne]=arguments[Ne+2];Te.children=me}return{$$typeof:e,type:U.type,key:ue,ref:we,props:Te,_owner:Ee}},bn.createContext=function(U){return U={$$typeof:m,_currentValue:U,_currentValue2:U,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},U.Provider={$$typeof:d,_context:U},U.Consumer=U},bn.createElement=Y,bn.createFactory=function(U){var fe=Y.bind(null,U);return fe.type=U,fe},bn.createRef=function(){return{current:null}},bn.forwardRef=function(U){return{$$typeof:v,render:U}},bn.isValidElement=K,bn.lazy=function(U){return{$$typeof:w,_payload:{_status:-1,_result:U},_init:te}},bn.memo=function(U,fe){return{$$typeof:S,type:U,compare:fe===void 0?null:fe}},bn.startTransition=function(U){var fe=ae.transition;ae.transition={};try{U()}finally{ae.transition=fe}},bn.unstable_act=oe,bn.useCallback=function(U,fe){return se.current.useCallback(U,fe)},bn.useContext=function(U){return se.current.useContext(U)},bn.useDebugValue=function(){},bn.useDeferredValue=function(U){return se.current.useDeferredValue(U)},bn.useEffect=function(U,fe){return se.current.useEffect(U,fe)},bn.useId=function(){return se.current.useId()},bn.useImperativeHandle=function(U,fe,Pe){return se.current.useImperativeHandle(U,fe,Pe)},bn.useInsertionEffect=function(U,fe){return se.current.useInsertionEffect(U,fe)},bn.useLayoutEffect=function(U,fe){return se.current.useLayoutEffect(U,fe)},bn.useMemo=function(U,fe){return se.current.useMemo(U,fe)},bn.useReducer=function(U,fe,Pe){return se.current.useReducer(U,fe,Pe)},bn.useRef=function(U){return se.current.useRef(U)},bn.useState=function(U){return se.current.useState(U)},bn.useSyncExternalStore=function(U,fe,Pe){return se.current.useSyncExternalStore(U,fe,Pe)},bn.useTransition=function(){return se.current.useTransition()},bn.version="18.3.1",bn}var gh={exports:{}};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/gh.exports;var zR;function GF(){return zR||(zR=1,function(e,n){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 o="18.3.1",i=Symbol.for("react.element"),u=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),S=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),M=Symbol.iterator,V="@@iterator";function j(I){if(I===null||typeof I!="object")return null;var le=M&&I[M]||I[V];return typeof le=="function"?le:null}var A={current:null},$={transition:null},P={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},H={current:null},W={},Y=null;function N(I){Y=I}W.setExtraStackFrame=function(I){Y=I},W.getCurrentStack=null,W.getStackAddendum=function(){var I="";Y&&(I+=Y);var le=W.getCurrentStack;return le&&(I+=le()||""),I};var K=!1,Z=!1,J=!1,X=!1,ee=!1,ne={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:$,ReactCurrentOwner:H};ne.ReactDebugCurrentFrame=W,ne.ReactCurrentActQueue=P;function te(I){{for(var le=arguments.length,Fe=new Array(le>1?le-1:0),$e=1;$e<le;$e++)Fe[$e-1]=arguments[$e];ae("warn",I,Fe)}}function se(I){{for(var le=arguments.length,Fe=new Array(le>1?le-1:0),$e=1;$e<le;$e++)Fe[$e-1]=arguments[$e];ae("error",I,Fe)}}function ae(I,le,Fe){{var $e=ne.ReactDebugCurrentFrame,st=$e.getStackAddendum();st!==""&&(le+="%s",Fe=Fe.concat([st]));var Ut=Fe.map(function(mt){return String(mt)});Ut.unshift("Warning: "+le),Function.prototype.apply.call(console[I],console,Ut)}}var xe={};function oe(I,le){{var Fe=I.constructor,$e=Fe&&(Fe.displayName||Fe.name)||"ReactClass",st=$e+"."+le;if(xe[st])return;se("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.",le,$e),xe[st]=!0}}var U={isMounted:function(I){return!1},enqueueForceUpdate:function(I,le,Fe){oe(I,"forceUpdate")},enqueueReplaceState:function(I,le,Fe,$e){oe(I,"replaceState")},enqueueSetState:function(I,le,Fe,$e){oe(I,"setState")}},fe=Object.assign,Pe={};Object.freeze(Pe);function Te(I,le,Fe){this.props=I,this.context=le,this.refs=Pe,this.updater=Fe||U}Te.prototype.isReactComponent={},Te.prototype.setState=function(I,le){if(typeof I!="object"&&typeof I!="function"&&I!=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,I,le,"setState")},Te.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};{var ue={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)."]},we=function(I,le){Object.defineProperty(Te.prototype,I,{get:function(){te("%s(...) is deprecated in plain JavaScript React classes. %s",le[0],le[1])}})};for(var Ee in ue)ue.hasOwnProperty(Ee)&&we(Ee,ue[Ee])}function me(){}me.prototype=Te.prototype;function De(I,le,Fe){this.props=I,this.context=le,this.refs=Pe,this.updater=Fe||U}var Ne=De.prototype=new me;Ne.constructor=De,fe(Ne,Te.prototype),Ne.isPureReactComponent=!0;function je(){var I={current:null};return Object.seal(I),I}var re=Array.isArray;function Se(I){return re(I)}function he(I){{var le=typeof Symbol=="function"&&Symbol.toStringTag,Fe=le&&I[Symbol.toStringTag]||I.constructor.name||"Object";return Fe}}function We(I){try{return qe(I),!1}catch{return!0}}function qe(I){return""+I}function tt(I){if(We(I))return se("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",he(I)),qe(I)}function q(I,le,Fe){var $e=I.displayName;if($e)return $e;var st=le.displayName||le.name||"";return st!==""?Fe+"("+st+")":Fe}function ce(I){return I.displayName||"Context"}function be(I){if(I==null)return null;if(typeof I.tag=="number"&&se("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof I=="function")return I.displayName||I.name||null;if(typeof I=="string")return I;switch(I){case d:return"Fragment";case u:return"Portal";case v:return"Profiler";case m:return"StrictMode";case E:return"Suspense";case R:return"SuspenseList"}if(typeof I=="object")switch(I.$$typeof){case S:var le=I;return ce(le)+".Consumer";case g:var Fe=I;return ce(Fe._context)+".Provider";case w:return q(I,I.render,"ForwardRef");case k:var $e=I.displayName||null;return $e!==null?$e:be(I.type)||"Memo";case O:{var st=I,Ut=st._payload,mt=st._init;try{return be(mt(Ut))}catch{return null}}}return null}var Ve=Object.prototype.hasOwnProperty,Ke={key:!0,ref:!0,__self:!0,__source:!0},Oe,it,gt;gt={};function qt(I){if(Ve.call(I,"ref")){var le=Object.getOwnPropertyDescriptor(I,"ref").get;if(le&&le.isReactWarning)return!1}return I.ref!==void 0}function Mt(I){if(Ve.call(I,"key")){var le=Object.getOwnPropertyDescriptor(I,"key").get;if(le&&le.isReactWarning)return!1}return I.key!==void 0}function mn(I,le){var Fe=function(){Oe||(Oe=!0,se("%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)",le))};Fe.isReactWarning=!0,Object.defineProperty(I,"key",{get:Fe,configurable:!0})}function or(I,le){var Fe=function(){it||(it=!0,se("%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)",le))};Fe.isReactWarning=!0,Object.defineProperty(I,"ref",{get:Fe,configurable:!0})}function Ln(I){if(typeof I.ref=="string"&&H.current&&I.__self&&H.current.stateNode!==I.__self){var le=be(H.current.type);gt[le]||(se('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',le,I.ref),gt[le]=!0)}}var Be=function(I,le,Fe,$e,st,Ut,mt){var Bt={$$typeof:i,type:I,key:le,ref:Fe,props:mt,_owner:Ut};return Bt._store={},Object.defineProperty(Bt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Bt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:$e}),Object.defineProperty(Bt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:st}),Object.freeze&&(Object.freeze(Bt.props),Object.freeze(Bt)),Bt};function ht(I,le,Fe){var $e,st={},Ut=null,mt=null,Bt=null,fn=null;if(le!=null){qt(le)&&(mt=le.ref,Ln(le)),Mt(le)&&(tt(le.key),Ut=""+le.key),Bt=le.__self===void 0?null:le.__self,fn=le.__source===void 0?null:le.__source;for($e in le)Ve.call(le,$e)&&!Ke.hasOwnProperty($e)&&(st[$e]=le[$e])}var On=arguments.length-2;if(On===1)st.children=Fe;else if(On>1){for(var ir=Array(On),Wn=0;Wn<On;Wn++)ir[Wn]=arguments[Wn+2];Object.freeze&&Object.freeze(ir),st.children=ir}if(I&&I.defaultProps){var sr=I.defaultProps;for($e in sr)st[$e]===void 0&&(st[$e]=sr[$e])}if(Ut||mt){var ur=typeof I=="function"?I.displayName||I.name||"Unknown":I;Ut&&mn(st,ur),mt&&or(st,ur)}return Be(I,Ut,mt,Bt,fn,H.current,st)}function $t(I,le){var Fe=Be(I.type,le,I.ref,I._self,I._source,I._owner,I.props);return Fe}function tn(I,le,Fe){if(I==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+I+".");var $e,st=fe({},I.props),Ut=I.key,mt=I.ref,Bt=I._self,fn=I._source,On=I._owner;if(le!=null){qt(le)&&(mt=le.ref,On=H.current),Mt(le)&&(tt(le.key),Ut=""+le.key);var ir;I.type&&I.type.defaultProps&&(ir=I.type.defaultProps);for($e in le)Ve.call(le,$e)&&!Ke.hasOwnProperty($e)&&(le[$e]===void 0&&ir!==void 0?st[$e]=ir[$e]:st[$e]=le[$e])}var Wn=arguments.length-2;if(Wn===1)st.children=Fe;else if(Wn>1){for(var sr=Array(Wn),ur=0;ur<Wn;ur++)sr[ur]=arguments[ur+2];st.children=sr}return Be(I.type,Ut,mt,Bt,fn,On,st)}function at(I){return typeof I=="object"&&I!==null&&I.$$typeof===i}var kt=".",Kt=":";function Zn(I){var le=/[=:]/g,Fe={"=":"=0",":":"=2"},$e=I.replace(le,function(st){return Fe[st]});return"$"+$e}var Nt=!1,Jn=/\/+/g;function hn(I){return I.replace(Jn,"$&/")}function an(I,le){return typeof I=="object"&&I!==null&&I.key!=null?(tt(I.key),Zn(""+I.key)):le.toString(36)}function Ma(I,le,Fe,$e,st){var Ut=typeof I;(Ut==="undefined"||Ut==="boolean")&&(I=null);var mt=!1;if(I===null)mt=!0;else switch(Ut){case"string":case"number":mt=!0;break;case"object":switch(I.$$typeof){case i:case u:mt=!0}}if(mt){var Bt=I,fn=st(Bt),On=$e===""?kt+an(Bt,0):$e;if(Se(fn)){var ir="";On!=null&&(ir=hn(On)+"/"),Ma(fn,le,ir,"",function(Bv){return Bv})}else fn!=null&&(at(fn)&&(fn.key&&(!Bt||Bt.key!==fn.key)&&tt(fn.key),fn=$t(fn,Fe+(fn.key&&(!Bt||Bt.key!==fn.key)?hn(""+fn.key)+"/":"")+On)),le.push(fn));return 1}var Wn,sr,ur=0,wn=$e===""?kt:$e+Kt;if(Se(I))for(var Ms=0;Ms<I.length;Ms++)Wn=I[Ms],sr=wn+an(Wn,Ms),ur+=Ma(Wn,le,Fe,sr,st);else{var yc=j(I);if(typeof yc=="function"){var Ud=I;yc===Ud.entries&&(Nt||te("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Nt=!0);for(var Vv=yc.call(Ud),Fi,Hd=0;!(Fi=Vv.next()).done;)Wn=Fi.value,sr=wn+an(Wn,Hd++),ur+=Ma(Wn,le,Fe,sr,st)}else if(Ut==="object"){var Wd=String(I);throw new Error("Objects are not valid as a React child (found: "+(Wd==="[object Object]"?"object with keys {"+Object.keys(I).join(", ")+"}":Wd)+"). If you meant to render a collection of children, use an array instead.")}}return ur}function Ho(I,le,Fe){if(I==null)return I;var $e=[],st=0;return Ma(I,$e,"","",function(Ut){return le.call(Fe,Ut,st++)}),$e}function Pi(I){var le=0;return Ho(I,function(){le++}),le}function ns(I,le,Fe){Ho(I,function(){le.apply(this,arguments)},Fe)}function Zt(I){return Ho(I,function(le){return le})||[]}function Lr(I){if(!at(I))throw new Error("React.Children.only expected to receive a single React element child.");return I}function vl(I){var le={$$typeof:S,_currentValue:I,_currentValue2:I,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};le.Provider={$$typeof:g,_context:le};var Fe=!1,$e=!1,st=!1;{var Ut={$$typeof:S,_context:le};Object.defineProperties(Ut,{Provider:{get:function(){return $e||($e=!0,se("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),le.Provider},set:function(mt){le.Provider=mt}},_currentValue:{get:function(){return le._currentValue},set:function(mt){le._currentValue=mt}},_currentValue2:{get:function(){return le._currentValue2},set:function(mt){le._currentValue2=mt}},_threadCount:{get:function(){return le._threadCount},set:function(mt){le._threadCount=mt}},Consumer:{get:function(){return Fe||(Fe=!0,se("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),le.Consumer}},displayName:{get:function(){return le.displayName},set:function(mt){st||(te("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",mt),st=!0)}}}),le.Consumer=Ut}return le._currentRenderer=null,le._currentRenderer2=null,le}var Pa=-1,rs=0,_a=1,_i=2;function Wo(I){if(I._status===Pa){var le=I._result,Fe=le();if(Fe.then(function(Ut){if(I._status===rs||I._status===Pa){var mt=I;mt._status=_a,mt._result=Ut}},function(Ut){if(I._status===rs||I._status===Pa){var mt=I;mt._status=_i,mt._result=Ut}}),I._status===Pa){var $e=I;$e._status=rs,$e._result=Fe}}if(I._status===_a){var st=I._result;return st===void 0&&se(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
18
|
+
|
|
19
|
+
Your code should look like:
|
|
20
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
21
|
+
|
|
22
|
+
Did you accidentally put curly braces around the import?`,st),"default"in st||se(`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'))`,st),st.default}else throw I._result}function Na(I){var le={_status:Pa,_result:I},Fe={$$typeof:O,_payload:le,_init:Wo};{var $e,st;Object.defineProperties(Fe,{defaultProps:{configurable:!0,get:function(){return $e},set:function(Ut){se("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."),$e=Ut,Object.defineProperty(Fe,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return st},set:function(Ut){se("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."),st=Ut,Object.defineProperty(Fe,"propTypes",{enumerable:!0})}}})}return Fe}function os(I){I!=null&&I.$$typeof===k?se("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof I!="function"?se("forwardRef requires a render function but was given %s.",I===null?"null":typeof I):I.length!==0&&I.length!==2&&se("forwardRef render functions accept exactly two parameters: props and ref. %s",I.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),I!=null&&(I.defaultProps!=null||I.propTypes!=null)&&se("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var le={$$typeof:w,render:I};{var Fe;Object.defineProperty(le,"displayName",{enumerable:!1,configurable:!0,get:function(){return Fe},set:function($e){Fe=$e,!I.name&&!I.displayName&&(I.displayName=$e)}})}return le}var as;as=Symbol.for("react.module.reference");function de(I){return!!(typeof I=="string"||typeof I=="function"||I===d||I===v||ee||I===m||I===E||I===R||X||I===_||K||Z||J||typeof I=="object"&&I!==null&&(I.$$typeof===O||I.$$typeof===k||I.$$typeof===g||I.$$typeof===S||I.$$typeof===w||I.$$typeof===as||I.getModuleId!==void 0))}function Ze(I,le){de(I)||se("memo: The first argument must be a component. Instead received: %s",I===null?"null":typeof I);var Fe={$$typeof:k,type:I,compare:le===void 0?null:le};{var $e;Object.defineProperty(Fe,"displayName",{enumerable:!1,configurable:!0,get:function(){return $e},set:function(st){$e=st,!I.name&&!I.displayName&&(I.displayName=st)}})}return Fe}function ot(){var I=A.current;return I===null&&se(`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.`),I}function At(I){var le=ot();if(I._context!==void 0){var Fe=I._context;Fe.Consumer===I?se("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?"):Fe.Provider===I&&se("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return le.useContext(I)}function vn(I){var le=ot();return le.useState(I)}function Sn(I,le,Fe){var $e=ot();return $e.useReducer(I,le,Fe)}function zt(I){var le=ot();return le.useRef(I)}function sn(I,le){var Fe=ot();return Fe.useEffect(I,le)}function Xr(I,le){var Fe=ot();return Fe.useInsertionEffect(I,le)}function ar(I,le){var Fe=ot();return Fe.useLayoutEffect(I,le)}function mr(I,le){var Fe=ot();return Fe.useCallback(I,le)}function Io(I,le){var Fe=ot();return Fe.useMemo(I,le)}function is(I,le,Fe){var $e=ot();return $e.useImperativeHandle(I,le,Fe)}function Mn(I,le){{var Fe=ot();return Fe.useDebugValue(I,le)}}function vo(){var I=ot();return I.useTransition()}function Yo(I){var le=ot();return le.useDeferredValue(I)}function ln(){var I=ot();return I.useId()}function ti(I,le,Fe){var $e=ot();return $e.useSyncExternalStore(I,le,Fe)}var yl=0,sc,gl,la,jd,qo,Vd,Bd;function Op(){}Op.__reactDisabledLog=!0;function lc(){{if(yl===0){sc=console.log,gl=console.info,la=console.warn,jd=console.error,qo=console.group,Vd=console.groupCollapsed,Bd=console.groupEnd;var I={configurable:!0,enumerable:!0,value:Op,writable:!0};Object.defineProperties(console,{info:I,log:I,warn:I,error:I,group:I,groupCollapsed:I,groupEnd:I})}yl++}}function bl(){{if(yl--,yl===0){var I={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:fe({},I,{value:sc}),info:fe({},I,{value:gl}),warn:fe({},I,{value:la}),error:fe({},I,{value:jd}),group:fe({},I,{value:qo}),groupCollapsed:fe({},I,{value:Vd}),groupEnd:fe({},I,{value:Bd})})}yl<0&&se("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ni=ne.ReactCurrentDispatcher,Go;function Sl(I,le,Fe){{if(Go===void 0)try{throw Error()}catch(st){var $e=st.stack.trim().match(/\n( *(at )?)/);Go=$e&&$e[1]||""}return`
|
|
30
|
+
`+Go+I}}var xl=!1,wl;{var uc=typeof WeakMap=="function"?WeakMap:Map;wl=new uc}function cc(I,le){if(!I||xl)return"";{var Fe=wl.get(I);if(Fe!==void 0)return Fe}var $e;xl=!0;var st=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ut;Ut=Ni.current,Ni.current=null,lc();try{if(le){var mt=function(){throw Error()};if(Object.defineProperty(mt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(mt,[])}catch(wn){$e=wn}Reflect.construct(I,[],mt)}else{try{mt.call()}catch(wn){$e=wn}I.call(mt.prototype)}}else{try{throw Error()}catch(wn){$e=wn}I()}}catch(wn){if(wn&&$e&&typeof wn.stack=="string"){for(var Bt=wn.stack.split(`
|
|
31
|
+
`),fn=$e.stack.split(`
|
|
32
|
+
`),On=Bt.length-1,ir=fn.length-1;On>=1&&ir>=0&&Bt[On]!==fn[ir];)ir--;for(;On>=1&&ir>=0;On--,ir--)if(Bt[On]!==fn[ir]){if(On!==1||ir!==1)do if(On--,ir--,ir<0||Bt[On]!==fn[ir]){var Wn=`
|
|
33
|
+
`+Bt[On].replace(" at new "," at ");return I.displayName&&Wn.includes("<anonymous>")&&(Wn=Wn.replace("<anonymous>",I.displayName)),typeof I=="function"&&wl.set(I,Wn),Wn}while(On>=1&&ir>=0);break}}}finally{xl=!1,Ni.current=Ut,bl(),Error.prepareStackTrace=st}var sr=I?I.displayName||I.name:"",ur=sr?Sl(sr):"";return typeof I=="function"&&wl.set(I,ur),ur}function Os(I,le,Fe){return cc(I,!1)}function jv(I){var le=I.prototype;return!!(le&&le.isReactComponent)}function ss(I,le,Fe){if(I==null)return"";if(typeof I=="function")return cc(I,jv(I));if(typeof I=="string")return Sl(I);switch(I){case E:return Sl("Suspense");case R:return Sl("SuspenseList")}if(typeof I=="object")switch(I.$$typeof){case w:return Os(I.render);case k:return ss(I.type,le,Fe);case O:{var $e=I,st=$e._payload,Ut=$e._init;try{return ss(Ut(st),le,Fe)}catch{}}}return""}var Pn={},dc=ne.ReactDebugCurrentFrame;function du(I){if(I){var le=I._owner,Fe=ss(I.type,I._source,le?le.type:null);dc.setExtraStackFrame(Fe)}else dc.setExtraStackFrame(null)}function fc(I,le,Fe,$e,st){{var Ut=Function.call.bind(Ve);for(var mt in I)if(Ut(I,mt)){var Bt=void 0;try{if(typeof I[mt]!="function"){var fn=Error(($e||"React class")+": "+Fe+" type `"+mt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof I[mt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw fn.name="Invariant Violation",fn}Bt=I[mt](le,mt,$e,Fe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(On){Bt=On}Bt&&!(Bt instanceof Error)&&(du(st),se("%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).",$e||"React class",Fe,mt,typeof Bt),du(null)),Bt instanceof Error&&!(Bt.message in Pn)&&(Pn[Bt.message]=!0,du(st),se("Failed %s type: %s",Fe,Bt.message),du(null))}}}function xn(I){if(I){var le=I._owner,Fe=ss(I.type,I._source,le?le.type:null);N(Fe)}else N(null)}var pc;pc=!1;function mc(){if(H.current){var I=be(H.current.type);if(I)return`
|
|
34
|
+
|
|
35
|
+
Check the render method of \``+I+"`."}return""}function Jt(I){if(I!==void 0){var le=I.fileName.replace(/^.*[\\\/]/,""),Fe=I.lineNumber;return`
|
|
36
|
+
|
|
37
|
+
Check your code at `+le+":"+Fe+"."}return""}function fu(I){return I!=null?Jt(I.__source):""}var Er={};function ua(I){var le=mc();if(!le){var Fe=typeof I=="string"?I:I.displayName||I.name;Fe&&(le=`
|
|
38
|
+
|
|
39
|
+
Check the top-level render call using <`+Fe+">.")}return le}function Ko(I,le){if(!(!I._store||I._store.validated||I.key!=null)){I._store.validated=!0;var Fe=ua(le);if(!Er[Fe]){Er[Fe]=!0;var $e="";I&&I._owner&&I._owner!==H.current&&($e=" It was passed a child from "+be(I._owner.type)+"."),xn(I),se('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Fe,$e),xn(null)}}}function Cl(I,le){if(typeof I=="object"){if(Se(I))for(var Fe=0;Fe<I.length;Fe++){var $e=I[Fe];at($e)&&Ko($e,le)}else if(at(I))I._store&&(I._store.validated=!0);else if(I){var st=j(I);if(typeof st=="function"&&st!==I.entries)for(var Ut=st.call(I),mt;!(mt=Ut.next()).done;)at(mt.value)&&Ko(mt.value,le)}}}function Mr(I){{var le=I.type;if(le==null||typeof le=="string")return;var Fe;if(typeof le=="function")Fe=le.propTypes;else if(typeof le=="object"&&(le.$$typeof===w||le.$$typeof===k))Fe=le.propTypes;else return;if(Fe){var $e=be(le);fc(Fe,I.props,"prop",$e,I)}else if(le.PropTypes!==void 0&&!pc){pc=!0;var st=be(le);se("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",st||"Unknown")}typeof le.getDefaultProps=="function"&&!le.getDefaultProps.isReactClassApproved&&se("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function jn(I){{for(var le=Object.keys(I.props),Fe=0;Fe<le.length;Fe++){var $e=le[Fe];if($e!=="children"&&$e!=="key"){xn(I),se("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",$e),xn(null);break}}I.ref!==null&&(xn(I),se("Invalid attribute `ref` supplied to `React.Fragment`."),xn(null))}}function Dp(I,le,Fe){var $e=de(I);if(!$e){var st="";(I===void 0||typeof I=="object"&&I!==null&&Object.keys(I).length===0)&&(st+=" 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 Ut=fu(le);Ut?st+=Ut:st+=mc();var mt;I===null?mt="null":Se(I)?mt="array":I!==void 0&&I.$$typeof===i?(mt="<"+(be(I.type)||"Unknown")+" />",st=" Did you accidentally export a JSX literal instead of a component?"):mt=typeof I,se("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",mt,st)}var Bt=ht.apply(this,arguments);if(Bt==null)return Bt;if($e)for(var fn=2;fn<arguments.length;fn++)Cl(arguments[fn],I);return I===d?jn(Bt):Mr(Bt),Bt}var ca=!1;function yo(I){var le=Dp.bind(null,I);return le.type=I,ca||(ca=!0,te("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(le,"type",{enumerable:!1,get:function(){return te("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:I}),I}}),le}function ls(I,le,Fe){for(var $e=tn.apply(this,arguments),st=2;st<arguments.length;st++)Cl(arguments[st],$e.type);return Mr($e),$e}function kp(I,le){var Fe=$.transition;$.transition={};var $e=$.transition;$.transition._updatedFibers=new Set;try{I()}finally{if($.transition=Fe,Fe===null&&$e._updatedFibers){var st=$e._updatedFibers.size;st>10&&te("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),$e._updatedFibers.clear()}}}var Ds=!1,El=null;function Mp(I){if(El===null)try{var le=("require"+Math.random()).slice(0,7),Fe=e&&e[le];El=Fe.call(e,"timers").setImmediate}catch{El=function(st){Ds===!1&&(Ds=!0,typeof MessageChannel>"u"&&se("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Ut=new MessageChannel;Ut.port1.onmessage=st,Ut.port2.postMessage(void 0)}}return El(I)}var ni=0,Tl=!1;function ks(I){{var le=ni;ni++,P.current===null&&(P.current=[]);var Fe=P.isBatchingLegacy,$e;try{if(P.isBatchingLegacy=!0,$e=I(),!Fe&&P.didScheduleLegacyUpdate){var st=P.current;st!==null&&(P.didScheduleLegacyUpdate=!1,Ol(st))}}catch(sr){throw ri(le),sr}finally{P.isBatchingLegacy=Fe}if($e!==null&&typeof $e=="object"&&typeof $e.then=="function"){var Ut=$e,mt=!1,Bt={then:function(sr,ur){mt=!0,Ut.then(function(wn){ri(le),ni===0?hc(wn,sr,ur):sr(wn)},function(wn){ri(le),ur(wn)})}};return!Tl&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){mt||(Tl=!0,se("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Bt}else{var fn=$e;if(ri(le),ni===0){var On=P.current;On!==null&&(Ol(On),P.current=null);var ir={then:function(sr,ur){P.current===null?(P.current=[],hc(fn,sr,ur)):sr(fn)}};return ir}else{var Wn={then:function(sr,ur){sr(fn)}};return Wn}}}}function ri(I){I!==ni-1&&se("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ni=I}function hc(I,le,Fe){{var $e=P.current;if($e!==null)try{Ol($e),Mp(function(){$e.length===0?(P.current=null,le(I)):hc(I,le,Fe)})}catch(st){Fe(st)}else le(I)}}var Rl=!1;function Ol(I){if(!Rl){Rl=!0;var le=0;try{for(;le<I.length;le++){var Fe=I[le];do Fe=Fe(!0);while(Fe!==null)}I.length=0}catch($e){throw I=I.slice(le+1),$e}finally{Rl=!1}}}var pu=Dp,vc=ls,zd=yo,Ai={map:Ho,forEach:ns,count:Pi,toArray:Zt,only:Lr};n.Children=Ai,n.Component=Te,n.Fragment=d,n.Profiler=v,n.PureComponent=De,n.StrictMode=m,n.Suspense=E,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ne,n.act=ks,n.cloneElement=vc,n.createContext=vl,n.createElement=pu,n.createFactory=zd,n.createRef=je,n.forwardRef=os,n.isValidElement=at,n.lazy=Na,n.memo=Ze,n.startTransition=kp,n.unstable_act=ks,n.useCallback=mr,n.useContext=At,n.useDebugValue=Mn,n.useDeferredValue=Yo,n.useEffect=sn,n.useId=ln,n.useImperativeHandle=is,n.useInsertionEffect=Xr,n.useLayoutEffect=ar,n.useMemo=Io,n.useReducer=Sn,n.useRef=zt,n.useState=vn,n.useSyncExternalStore=ti,n.useTransition=vo,n.version=o,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(gh,gh.exports)),gh.exports}var UR;function bh(){return UR||(UR=1,process.env.NODE_ENV==="production"?zg.exports=qF():zg.exports=GF()),zg.exports}/**
|
|
40
|
+
* @license React
|
|
41
|
+
* react-jsx-runtime.production.min.js
|
|
42
|
+
*
|
|
43
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
44
|
+
*
|
|
45
|
+
* This source code is licensed under the MIT license found in the
|
|
46
|
+
* LICENSE file in the root directory of this source tree.
|
|
47
|
+
*/var HR;function KF(){if(HR)return yh;HR=1;var e=bh(),n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,u=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function m(v,g,S){var w,E={},R=null,k=null;S!==void 0&&(R=""+S),g.key!==void 0&&(R=""+g.key),g.ref!==void 0&&(k=g.ref);for(w in g)i.call(g,w)&&!d.hasOwnProperty(w)&&(E[w]=g[w]);if(v&&v.defaultProps)for(w in g=v.defaultProps,g)E[w]===void 0&&(E[w]=g[w]);return{$$typeof:n,type:v,key:R,ref:k,props:E,_owner:u.current}}return yh.Fragment=o,yh.jsx=m,yh.jsxs=m,yh}var Sh={};/**
|
|
48
|
+
* @license React
|
|
49
|
+
* react-jsx-runtime.development.js
|
|
50
|
+
*
|
|
51
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
52
|
+
*
|
|
53
|
+
* This source code is licensed under the MIT license found in the
|
|
54
|
+
* LICENSE file in the root directory of this source tree.
|
|
55
|
+
*/var WR;function QF(){return WR||(WR=1,process.env.NODE_ENV!=="production"&&function(){var e=bh(),n=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),v=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),k=Symbol.for("react.offscreen"),O=Symbol.iterator,_="@@iterator";function M(de){if(de===null||typeof de!="object")return null;var Ze=O&&de[O]||de[_];return typeof Ze=="function"?Ze:null}var V=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function j(de){{for(var Ze=arguments.length,ot=new Array(Ze>1?Ze-1:0),At=1;At<Ze;At++)ot[At-1]=arguments[At];A("error",de,ot)}}function A(de,Ze,ot){{var At=V.ReactDebugCurrentFrame,vn=At.getStackAddendum();vn!==""&&(Ze+="%s",ot=ot.concat([vn]));var Sn=ot.map(function(zt){return String(zt)});Sn.unshift("Warning: "+Ze),Function.prototype.apply.call(console[de],console,Sn)}}var $=!1,P=!1,H=!1,W=!1,Y=!1,N;N=Symbol.for("react.module.reference");function K(de){return!!(typeof de=="string"||typeof de=="function"||de===i||de===d||Y||de===u||de===S||de===w||W||de===k||$||P||H||typeof de=="object"&&de!==null&&(de.$$typeof===R||de.$$typeof===E||de.$$typeof===m||de.$$typeof===v||de.$$typeof===g||de.$$typeof===N||de.getModuleId!==void 0))}function Z(de,Ze,ot){var At=de.displayName;if(At)return At;var vn=Ze.displayName||Ze.name||"";return vn!==""?ot+"("+vn+")":ot}function J(de){return de.displayName||"Context"}function X(de){if(de==null)return null;if(typeof de.tag=="number"&&j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof de=="function")return de.displayName||de.name||null;if(typeof de=="string")return de;switch(de){case i:return"Fragment";case o:return"Portal";case d:return"Profiler";case u:return"StrictMode";case S:return"Suspense";case w:return"SuspenseList"}if(typeof de=="object")switch(de.$$typeof){case v:var Ze=de;return J(Ze)+".Consumer";case m:var ot=de;return J(ot._context)+".Provider";case g:return Z(de,de.render,"ForwardRef");case E:var At=de.displayName||null;return At!==null?At:X(de.type)||"Memo";case R:{var vn=de,Sn=vn._payload,zt=vn._init;try{return X(zt(Sn))}catch{return null}}}return null}var ee=Object.assign,ne=0,te,se,ae,xe,oe,U,fe;function Pe(){}Pe.__reactDisabledLog=!0;function Te(){{if(ne===0){te=console.log,se=console.info,ae=console.warn,xe=console.error,oe=console.group,U=console.groupCollapsed,fe=console.groupEnd;var de={configurable:!0,enumerable:!0,value:Pe,writable:!0};Object.defineProperties(console,{info:de,log:de,warn:de,error:de,group:de,groupCollapsed:de,groupEnd:de})}ne++}}function ue(){{if(ne--,ne===0){var de={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ee({},de,{value:te}),info:ee({},de,{value:se}),warn:ee({},de,{value:ae}),error:ee({},de,{value:xe}),group:ee({},de,{value:oe}),groupCollapsed:ee({},de,{value:U}),groupEnd:ee({},de,{value:fe})})}ne<0&&j("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var we=V.ReactCurrentDispatcher,Ee;function me(de,Ze,ot){{if(Ee===void 0)try{throw Error()}catch(vn){var At=vn.stack.trim().match(/\n( *(at )?)/);Ee=At&&At[1]||""}return`
|
|
56
|
+
`+Ee+de}}var De=!1,Ne;{var je=typeof WeakMap=="function"?WeakMap:Map;Ne=new je}function re(de,Ze){if(!de||De)return"";{var ot=Ne.get(de);if(ot!==void 0)return ot}var At;De=!0;var vn=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Sn;Sn=we.current,we.current=null,Te();try{if(Ze){var zt=function(){throw Error()};if(Object.defineProperty(zt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(zt,[])}catch(vo){At=vo}Reflect.construct(de,[],zt)}else{try{zt.call()}catch(vo){At=vo}de.call(zt.prototype)}}else{try{throw Error()}catch(vo){At=vo}de()}}catch(vo){if(vo&&At&&typeof vo.stack=="string"){for(var sn=vo.stack.split(`
|
|
57
|
+
`),Xr=At.stack.split(`
|
|
58
|
+
`),ar=sn.length-1,mr=Xr.length-1;ar>=1&&mr>=0&&sn[ar]!==Xr[mr];)mr--;for(;ar>=1&&mr>=0;ar--,mr--)if(sn[ar]!==Xr[mr]){if(ar!==1||mr!==1)do if(ar--,mr--,mr<0||sn[ar]!==Xr[mr]){var Io=`
|
|
59
|
+
`+sn[ar].replace(" at new "," at ");return de.displayName&&Io.includes("<anonymous>")&&(Io=Io.replace("<anonymous>",de.displayName)),typeof de=="function"&&Ne.set(de,Io),Io}while(ar>=1&&mr>=0);break}}}finally{De=!1,we.current=Sn,ue(),Error.prepareStackTrace=vn}var is=de?de.displayName||de.name:"",Mn=is?me(is):"";return typeof de=="function"&&Ne.set(de,Mn),Mn}function Se(de,Ze,ot){return re(de,!1)}function he(de){var Ze=de.prototype;return!!(Ze&&Ze.isReactComponent)}function We(de,Ze,ot){if(de==null)return"";if(typeof de=="function")return re(de,he(de));if(typeof de=="string")return me(de);switch(de){case S:return me("Suspense");case w:return me("SuspenseList")}if(typeof de=="object")switch(de.$$typeof){case g:return Se(de.render);case E:return We(de.type,Ze,ot);case R:{var At=de,vn=At._payload,Sn=At._init;try{return We(Sn(vn),Ze,ot)}catch{}}}return""}var qe=Object.prototype.hasOwnProperty,tt={},q=V.ReactDebugCurrentFrame;function ce(de){if(de){var Ze=de._owner,ot=We(de.type,de._source,Ze?Ze.type:null);q.setExtraStackFrame(ot)}else q.setExtraStackFrame(null)}function be(de,Ze,ot,At,vn){{var Sn=Function.call.bind(qe);for(var zt in de)if(Sn(de,zt)){var sn=void 0;try{if(typeof de[zt]!="function"){var Xr=Error((At||"React class")+": "+ot+" type `"+zt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof de[zt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Xr.name="Invariant Violation",Xr}sn=de[zt](Ze,zt,At,ot,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ar){sn=ar}sn&&!(sn instanceof Error)&&(ce(vn),j("%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).",At||"React class",ot,zt,typeof sn),ce(null)),sn instanceof Error&&!(sn.message in tt)&&(tt[sn.message]=!0,ce(vn),j("Failed %s type: %s",ot,sn.message),ce(null))}}}var Ve=Array.isArray;function Ke(de){return Ve(de)}function Oe(de){{var Ze=typeof Symbol=="function"&&Symbol.toStringTag,ot=Ze&&de[Symbol.toStringTag]||de.constructor.name||"Object";return ot}}function it(de){try{return gt(de),!1}catch{return!0}}function gt(de){return""+de}function qt(de){if(it(de))return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Oe(de)),gt(de)}var Mt=V.ReactCurrentOwner,mn={key:!0,ref:!0,__self:!0,__source:!0},or,Ln,Be;Be={};function ht(de){if(qe.call(de,"ref")){var Ze=Object.getOwnPropertyDescriptor(de,"ref").get;if(Ze&&Ze.isReactWarning)return!1}return de.ref!==void 0}function $t(de){if(qe.call(de,"key")){var Ze=Object.getOwnPropertyDescriptor(de,"key").get;if(Ze&&Ze.isReactWarning)return!1}return de.key!==void 0}function tn(de,Ze){if(typeof de.ref=="string"&&Mt.current&&Ze&&Mt.current.stateNode!==Ze){var ot=X(Mt.current.type);Be[ot]||(j('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',X(Mt.current.type),de.ref),Be[ot]=!0)}}function at(de,Ze){{var ot=function(){or||(or=!0,j("%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)",Ze))};ot.isReactWarning=!0,Object.defineProperty(de,"key",{get:ot,configurable:!0})}}function kt(de,Ze){{var ot=function(){Ln||(Ln=!0,j("%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)",Ze))};ot.isReactWarning=!0,Object.defineProperty(de,"ref",{get:ot,configurable:!0})}}var Kt=function(de,Ze,ot,At,vn,Sn,zt){var sn={$$typeof:n,type:de,key:Ze,ref:ot,props:zt,_owner:Sn};return sn._store={},Object.defineProperty(sn._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(sn,"_self",{configurable:!1,enumerable:!1,writable:!1,value:At}),Object.defineProperty(sn,"_source",{configurable:!1,enumerable:!1,writable:!1,value:vn}),Object.freeze&&(Object.freeze(sn.props),Object.freeze(sn)),sn};function Zn(de,Ze,ot,At,vn){{var Sn,zt={},sn=null,Xr=null;ot!==void 0&&(qt(ot),sn=""+ot),$t(Ze)&&(qt(Ze.key),sn=""+Ze.key),ht(Ze)&&(Xr=Ze.ref,tn(Ze,vn));for(Sn in Ze)qe.call(Ze,Sn)&&!mn.hasOwnProperty(Sn)&&(zt[Sn]=Ze[Sn]);if(de&&de.defaultProps){var ar=de.defaultProps;for(Sn in ar)zt[Sn]===void 0&&(zt[Sn]=ar[Sn])}if(sn||Xr){var mr=typeof de=="function"?de.displayName||de.name||"Unknown":de;sn&&at(zt,mr),Xr&&kt(zt,mr)}return Kt(de,sn,Xr,vn,At,Mt.current,zt)}}var Nt=V.ReactCurrentOwner,Jn=V.ReactDebugCurrentFrame;function hn(de){if(de){var Ze=de._owner,ot=We(de.type,de._source,Ze?Ze.type:null);Jn.setExtraStackFrame(ot)}else Jn.setExtraStackFrame(null)}var an;an=!1;function Ma(de){return typeof de=="object"&&de!==null&&de.$$typeof===n}function Ho(){{if(Nt.current){var de=X(Nt.current.type);if(de)return`
|
|
60
|
+
|
|
61
|
+
Check the render method of \``+de+"`."}return""}}function Pi(de){return""}var ns={};function Zt(de){{var Ze=Ho();if(!Ze){var ot=typeof de=="string"?de:de.displayName||de.name;ot&&(Ze=`
|
|
62
|
+
|
|
63
|
+
Check the top-level render call using <`+ot+">.")}return Ze}}function Lr(de,Ze){{if(!de._store||de._store.validated||de.key!=null)return;de._store.validated=!0;var ot=Zt(Ze);if(ns[ot])return;ns[ot]=!0;var At="";de&&de._owner&&de._owner!==Nt.current&&(At=" It was passed a child from "+X(de._owner.type)+"."),hn(de),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ot,At),hn(null)}}function vl(de,Ze){{if(typeof de!="object")return;if(Ke(de))for(var ot=0;ot<de.length;ot++){var At=de[ot];Ma(At)&&Lr(At,Ze)}else if(Ma(de))de._store&&(de._store.validated=!0);else if(de){var vn=M(de);if(typeof vn=="function"&&vn!==de.entries)for(var Sn=vn.call(de),zt;!(zt=Sn.next()).done;)Ma(zt.value)&&Lr(zt.value,Ze)}}}function Pa(de){{var Ze=de.type;if(Ze==null||typeof Ze=="string")return;var ot;if(typeof Ze=="function")ot=Ze.propTypes;else if(typeof Ze=="object"&&(Ze.$$typeof===g||Ze.$$typeof===E))ot=Ze.propTypes;else return;if(ot){var At=X(Ze);be(ot,de.props,"prop",At,de)}else if(Ze.PropTypes!==void 0&&!an){an=!0;var vn=X(Ze);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",vn||"Unknown")}typeof Ze.getDefaultProps=="function"&&!Ze.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function rs(de){{for(var Ze=Object.keys(de.props),ot=0;ot<Ze.length;ot++){var At=Ze[ot];if(At!=="children"&&At!=="key"){hn(de),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",At),hn(null);break}}de.ref!==null&&(hn(de),j("Invalid attribute `ref` supplied to `React.Fragment`."),hn(null))}}var _a={};function _i(de,Ze,ot,At,vn,Sn){{var zt=K(de);if(!zt){var sn="";(de===void 0||typeof de=="object"&&de!==null&&Object.keys(de).length===0)&&(sn+=" 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 Xr=Pi();Xr?sn+=Xr:sn+=Ho();var ar;de===null?ar="null":Ke(de)?ar="array":de!==void 0&&de.$$typeof===n?(ar="<"+(X(de.type)||"Unknown")+" />",sn=" Did you accidentally export a JSX literal instead of a component?"):ar=typeof de,j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ar,sn)}var mr=Zn(de,Ze,ot,vn,Sn);if(mr==null)return mr;if(zt){var Io=Ze.children;if(Io!==void 0)if(At)if(Ke(Io)){for(var is=0;is<Io.length;is++)vl(Io[is],de);Object.freeze&&Object.freeze(Io)}else j("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 vl(Io,de)}if(qe.call(Ze,"key")){var Mn=X(de),vo=Object.keys(Ze).filter(function(ti){return ti!=="key"}),Yo=vo.length>0?"{key: someKey, "+vo.join(": ..., ")+": ...}":"{key: someKey}";if(!_a[Mn+Yo]){var ln=vo.length>0?"{"+vo.join(": ..., ")+": ...}":"{}";j(`A props object containing a "key" prop is being spread into JSX:
|
|
64
|
+
let props = %s;
|
|
65
|
+
<%s {...props} />
|
|
66
|
+
React keys must be passed directly to JSX without using spread:
|
|
67
|
+
let props = %s;
|
|
68
|
+
<%s key={someKey} {...props} />`,Yo,Mn,ln,Mn),_a[Mn+Yo]=!0}}return de===i?rs(mr):Pa(mr),mr}}function Wo(de,Ze,ot){return _i(de,Ze,ot,!0)}function Na(de,Ze,ot){return _i(de,Ze,ot,!1)}var os=Na,as=Wo;Sh.Fragment=i,Sh.jsx=os,Sh.jsxs=as}()),Sh}process.env.NODE_ENV==="production"?cw.exports=KF():cw.exports=QF();var G=cw.exports;const xh={black:"#000",white:"#fff"},Yf={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"},qf={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"},Gf={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"},Kf={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"},Qf={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"},wh={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"},XF={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"};function nl(e){let n="https://mui.com/production-error/?code="+e;for(let o=1;o<arguments.length;o+=1)n+="&args[]="+encodeURIComponent(arguments[o]);return"Minified MUI error #"+e+"; visit "+n+" for the full message."}const Ch="$$material";function Xf(){return Xf=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var i in o)({}).hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e},Xf.apply(null,arguments)}var F=bh();const cn=Qu(F),Eh=Ci({__proto__:null,default:cn},[F]);function YR(e){var n=Object.create(null);return function(o){return n[o]===void 0&&(n[o]=e(o)),n[o]}}var ZF=/^((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)-.*))$/,JF=YR(function(e){return ZF.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),e2=!1;function t2(e){if(e.sheet)return e.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===e)return document.styleSheets[n]}function n2(e){var n=document.createElement("style");return n.setAttribute("data-emotion",e.key),e.nonce!==void 0&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}var r2=function(){function e(o){var i=this;this._insertTag=function(u){var d;i.tags.length===0?i.insertionPoint?d=i.insertionPoint.nextSibling:i.prepend?d=i.container.firstChild:d=i.before:d=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(u,d),i.tags.push(u)},this.isSpeedy=o.speedy===void 0?!e2:o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.prepend=o.prepend,this.insertionPoint=o.insertionPoint,this.before=null}var n=e.prototype;return n.hydrate=function(i){i.forEach(this._insertTag)},n.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(n2(this));var u=this.tags[this.tags.length-1];if(this.isSpeedy){var d=t2(u);try{d.insertRule(i,d.cssRules.length)}catch{}}else u.appendChild(document.createTextNode(i));this.ctr++},n.flush=function(){this.tags.forEach(function(i){var u;return(u=i.parentNode)==null?void 0:u.removeChild(i)}),this.tags=[],this.ctr=0},e}(),ia="-ms-",Ug="-moz-",zn="-webkit-",qR="comm",dw="rule",fw="decl",o2="@import",GR="@keyframes",a2="@layer",i2=Math.abs,Hg=String.fromCharCode,s2=Object.assign;function l2(e,n){return Uo(e,0)^45?(((n<<2^Uo(e,0))<<2^Uo(e,1))<<2^Uo(e,2))<<2^Uo(e,3):0}function KR(e){return e.trim()}function u2(e,n){return(e=n.exec(e))?e[0]:e}function Un(e,n,o){return e.replace(n,o)}function pw(e,n){return e.indexOf(n)}function Uo(e,n){return e.charCodeAt(n)|0}function Th(e,n,o){return e.slice(n,o)}function rl(e){return e.length}function mw(e){return e.length}function Wg(e,n){return n.push(e),e}function c2(e,n){return e.map(n).join("")}var Yg=1,Zf=1,QR=0,Wa=0,ho=0,Jf="";function qg(e,n,o,i,u,d,m){return{value:e,root:n,parent:o,type:i,props:u,children:d,line:Yg,column:Zf,length:m,return:""}}function Rh(e,n){return s2(qg("",null,null,"",null,null,0),e,{length:-e.length},n)}function d2(){return ho}function f2(){return ho=Wa>0?Uo(Jf,--Wa):0,Zf--,ho===10&&(Zf=1,Yg--),ho}function Ei(){return ho=Wa<QR?Uo(Jf,Wa++):0,Zf++,ho===10&&(Zf=1,Yg++),ho}function ol(){return Uo(Jf,Wa)}function Gg(){return Wa}function Oh(e,n){return Th(Jf,e,n)}function Dh(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 XR(e){return Yg=Zf=1,QR=rl(Jf=e),Wa=0,[]}function ZR(e){return Jf="",e}function Kg(e){return KR(Oh(Wa-1,hw(e===91?e+2:e===40?e+1:e)))}function p2(e){for(;(ho=ol())&&ho<33;)Ei();return Dh(e)>2||Dh(ho)>3?"":" "}function m2(e,n){for(;--n&&Ei()&&!(ho<48||ho>102||ho>57&&ho<65||ho>70&&ho<97););return Oh(e,Gg()+(n<6&&ol()==32&&Ei()==32))}function hw(e){for(;Ei();)switch(ho){case e:return Wa;case 34:case 39:e!==34&&e!==39&&hw(ho);break;case 40:e===41&&hw(e);break;case 92:Ei();break}return Wa}function h2(e,n){for(;Ei()&&e+ho!==57;)if(e+ho===84&&ol()===47)break;return"/*"+Oh(n,Wa-1)+"*"+Hg(e===47?e:Ei())}function v2(e){for(;!Dh(ol());)Ei();return Oh(e,Wa)}function y2(e){return ZR(Qg("",null,null,null,[""],e=XR(e),0,[0],e))}function Qg(e,n,o,i,u,d,m,v,g){for(var S=0,w=0,E=m,R=0,k=0,O=0,_=1,M=1,V=1,j=0,A="",$=u,P=d,H=i,W=A;M;)switch(O=j,j=Ei()){case 40:if(O!=108&&Uo(W,E-1)==58){pw(W+=Un(Kg(j),"&","&\f"),"&\f")!=-1&&(V=-1);break}case 34:case 39:case 91:W+=Kg(j);break;case 9:case 10:case 13:case 32:W+=p2(O);break;case 92:W+=m2(Gg()-1,7);continue;case 47:switch(ol()){case 42:case 47:Wg(g2(h2(Ei(),Gg()),n,o),g);break;default:W+="/"}break;case 123*_:v[S++]=rl(W)*V;case 125*_:case 59:case 0:switch(j){case 0:case 125:M=0;case 59+w:V==-1&&(W=Un(W,/\f/g,"")),k>0&&rl(W)-E&&Wg(k>32?eO(W+";",i,o,E-1):eO(Un(W," ","")+";",i,o,E-2),g);break;case 59:W+=";";default:if(Wg(H=JR(W,n,o,S,w,u,v,A,$=[],P=[],E),d),j===123)if(w===0)Qg(W,n,H,H,$,d,E,v,P);else switch(R===99&&Uo(W,3)===110?100:R){case 100:case 108:case 109:case 115:Qg(e,H,H,i&&Wg(JR(e,H,H,0,0,u,v,A,u,$=[],E),P),u,P,E,v,i?$:P);break;default:Qg(W,H,H,H,[""],P,0,v,P)}}S=w=k=0,_=V=1,A=W="",E=m;break;case 58:E=1+rl(W),k=O;default:if(_<1){if(j==123)--_;else if(j==125&&_++==0&&f2()==125)continue}switch(W+=Hg(j),j*_){case 38:V=w>0?1:(W+="\f",-1);break;case 44:v[S++]=(rl(W)-1)*V,V=1;break;case 64:ol()===45&&(W+=Kg(Ei())),R=ol(),w=E=rl(A=W+=v2(Gg())),j++;break;case 45:O===45&&rl(W)==2&&(_=0)}}return d}function JR(e,n,o,i,u,d,m,v,g,S,w){for(var E=u-1,R=u===0?d:[""],k=mw(R),O=0,_=0,M=0;O<i;++O)for(var V=0,j=Th(e,E+1,E=i2(_=m[O])),A=e;V<k;++V)(A=KR(_>0?R[V]+" "+j:Un(j,/&\f/g,R[V])))&&(g[M++]=A);return qg(e,n,o,u===0?dw:v,g,S,w)}function g2(e,n,o){return qg(e,n,o,qR,Hg(d2()),Th(e,2,-2),0)}function eO(e,n,o,i){return qg(e,n,o,fw,Th(e,0,i),Th(e,i+1,-1),i)}function ep(e,n){for(var o="",i=mw(e),u=0;u<i;u++)o+=n(e[u],u,e,n)||"";return o}function b2(e,n,o,i){switch(e.type){case a2:if(e.children.length)break;case o2:case fw:return e.return=e.return||e.value;case qR:return"";case GR:return e.return=e.value+"{"+ep(e.children,i)+"}";case dw:e.value=e.props.join(",")}return rl(o=ep(e.children,i))?e.return=e.value+"{"+o+"}":""}function S2(e){var n=mw(e);return function(o,i,u,d){for(var m="",v=0;v<n;v++)m+=e[v](o,i,u,d)||"";return m}}function x2(e){return function(n){n.root||(n=n.return)&&e(n)}}var w2=function(n,o,i){for(var u=0,d=0;u=d,d=ol(),u===38&&d===12&&(o[i]=1),!Dh(d);)Ei();return Oh(n,Wa)},C2=function(n,o){var i=-1,u=44;do switch(Dh(u)){case 0:u===38&&ol()===12&&(o[i]=1),n[i]+=w2(Wa-1,o,i);break;case 2:n[i]+=Kg(u);break;case 4:if(u===44){n[++i]=ol()===58?"&\f":"",o[i]=n[i].length;break}default:n[i]+=Hg(u)}while(u=Ei());return n},E2=function(n,o){return ZR(C2(XR(n),o))},tO=new WeakMap,T2=function(n){if(!(n.type!=="rule"||!n.parent||n.length<1)){for(var o=n.value,i=n.parent,u=n.column===i.column&&n.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(n.props.length===1&&o.charCodeAt(0)!==58&&!tO.get(i))&&!u){tO.set(n,!0);for(var d=[],m=E2(o,d),v=i.props,g=0,S=0;g<m.length;g++)for(var w=0;w<v.length;w++,S++)n.props[S]=d[g]?m[g].replace(/&\f/g,v[w]):v[w]+" "+m[g]}}},R2=function(n){if(n.type==="decl"){var o=n.value;o.charCodeAt(0)===108&&o.charCodeAt(2)===98&&(n.return="",n.value="")}};function nO(e,n){switch(l2(e,n)){case 5103:return zn+"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 zn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return zn+e+Ug+e+ia+e+e;case 6828:case 4268:return zn+e+ia+e+e;case 6165:return zn+e+ia+"flex-"+e+e;case 5187:return zn+e+Un(e,/(\w+).+(:[^]+)/,zn+"box-$1$2"+ia+"flex-$1$2")+e;case 5443:return zn+e+ia+"flex-item-"+Un(e,/flex-|-self/,"")+e;case 4675:return zn+e+ia+"flex-line-pack"+Un(e,/align-content|flex-|-self/,"")+e;case 5548:return zn+e+ia+Un(e,"shrink","negative")+e;case 5292:return zn+e+ia+Un(e,"basis","preferred-size")+e;case 6060:return zn+"box-"+Un(e,"-grow","")+zn+e+ia+Un(e,"grow","positive")+e;case 4554:return zn+Un(e,/([^-])(transform)/g,"$1"+zn+"$2")+e;case 6187:return Un(Un(Un(e,/(zoom-|grab)/,zn+"$1"),/(image-set)/,zn+"$1"),e,"")+e;case 5495:case 3959:return Un(e,/(image-set\([^]*)/,zn+"$1$`$1");case 4968:return Un(Un(e,/(.+:)(flex-)?(.*)/,zn+"box-pack:$3"+ia+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+zn+e+e;case 4095:case 3583:case 4068:case 2532:return Un(e,/(.+)-inline(.+)/,zn+"$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(rl(e)-1-n>6)switch(Uo(e,n+1)){case 109:if(Uo(e,n+4)!==45)break;case 102:return Un(e,/(.+:)(.+)-([^]+)/,"$1"+zn+"$2-$3$1"+Ug+(Uo(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~pw(e,"stretch")?nO(Un(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(Uo(e,n+1)!==115)break;case 6444:switch(Uo(e,rl(e)-3-(~pw(e,"!important")&&10))){case 107:return Un(e,":",":"+zn)+e;case 101:return Un(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+zn+(Uo(e,14)===45?"inline-":"")+"box$3$1"+zn+"$2$3$1"+ia+"$2box$3")+e}break;case 5936:switch(Uo(e,n+11)){case 114:return zn+e+ia+Un(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return zn+e+ia+Un(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return zn+e+ia+Un(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return zn+e+ia+e+e}return e}var O2=function(n,o,i,u){if(n.length>-1&&!n.return)switch(n.type){case fw:n.return=nO(n.value,n.length);break;case GR:return ep([Rh(n,{value:Un(n.value,"@","@"+zn)})],u);case dw:if(n.length)return c2(n.props,function(d){switch(u2(d,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ep([Rh(n,{props:[Un(d,/:(read-\w+)/,":"+Ug+"$1")]})],u);case"::placeholder":return ep([Rh(n,{props:[Un(d,/:(plac\w+)/,":"+zn+"input-$1")]}),Rh(n,{props:[Un(d,/:(plac\w+)/,":"+Ug+"$1")]}),Rh(n,{props:[Un(d,/:(plac\w+)/,ia+"input-$1")]})],u)}return""})}},D2=[O2],k2=function(n){var o=n.key;if(o==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(_){var M=_.getAttribute("data-emotion");M.indexOf(" ")!==-1&&(document.head.appendChild(_),_.setAttribute("data-s",""))})}var u=n.stylisPlugins||D2,d={},m,v=[];m=n.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(_){for(var M=_.getAttribute("data-emotion").split(" "),V=1;V<M.length;V++)d[M[V]]=!0;v.push(_)});var g,S=[T2,R2];{var w,E=[b2,x2(function(_){w.insert(_)})],R=S2(S.concat(u,E)),k=function(M){return ep(y2(M),R)};g=function(M,V,j,A){w=j,k(M?M+"{"+V.styles+"}":V.styles),A&&(O.inserted[V.name]=!0)}}var O={key:o,sheet:new r2({key:o,container:m,nonce:n.nonce,speedy:n.speedy,prepend:n.prepend,insertionPoint:n.insertionPoint}),nonce:n.nonce,inserted:d,registered:{},insert:g};return O.sheet.hydrate(v),O},vw={exports:{}},Yn={};/** @license React v16.13.1
|
|
69
|
+
* react-is.production.min.js
|
|
70
|
+
*
|
|
71
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
72
|
+
*
|
|
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
|
+
*/var rO;function M2(){if(rO)return Yn;rO=1;var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,u=e?Symbol.for("react.strict_mode"):60108,d=e?Symbol.for("react.profiler"):60114,m=e?Symbol.for("react.provider"):60109,v=e?Symbol.for("react.context"):60110,g=e?Symbol.for("react.async_mode"):60111,S=e?Symbol.for("react.concurrent_mode"):60111,w=e?Symbol.for("react.forward_ref"):60112,E=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,O=e?Symbol.for("react.lazy"):60116,_=e?Symbol.for("react.block"):60121,M=e?Symbol.for("react.fundamental"):60117,V=e?Symbol.for("react.responder"):60118,j=e?Symbol.for("react.scope"):60119;function A(P){if(typeof P=="object"&&P!==null){var H=P.$$typeof;switch(H){case n:switch(P=P.type,P){case g:case S:case i:case d:case u:case E:return P;default:switch(P=P&&P.$$typeof,P){case v:case w:case O:case k:case m:return P;default:return H}}case o:return H}}}function $(P){return A(P)===S}return Yn.AsyncMode=g,Yn.ConcurrentMode=S,Yn.ContextConsumer=v,Yn.ContextProvider=m,Yn.Element=n,Yn.ForwardRef=w,Yn.Fragment=i,Yn.Lazy=O,Yn.Memo=k,Yn.Portal=o,Yn.Profiler=d,Yn.StrictMode=u,Yn.Suspense=E,Yn.isAsyncMode=function(P){return $(P)||A(P)===g},Yn.isConcurrentMode=$,Yn.isContextConsumer=function(P){return A(P)===v},Yn.isContextProvider=function(P){return A(P)===m},Yn.isElement=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===n},Yn.isForwardRef=function(P){return A(P)===w},Yn.isFragment=function(P){return A(P)===i},Yn.isLazy=function(P){return A(P)===O},Yn.isMemo=function(P){return A(P)===k},Yn.isPortal=function(P){return A(P)===o},Yn.isProfiler=function(P){return A(P)===d},Yn.isStrictMode=function(P){return A(P)===u},Yn.isSuspense=function(P){return A(P)===E},Yn.isValidElementType=function(P){return typeof P=="string"||typeof P=="function"||P===i||P===S||P===d||P===u||P===E||P===R||typeof P=="object"&&P!==null&&(P.$$typeof===O||P.$$typeof===k||P.$$typeof===m||P.$$typeof===v||P.$$typeof===w||P.$$typeof===M||P.$$typeof===V||P.$$typeof===j||P.$$typeof===_)},Yn.typeOf=A,Yn}var qn={};/** @license React v16.13.1
|
|
76
|
+
* react-is.development.js
|
|
77
|
+
*
|
|
78
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
79
|
+
*
|
|
80
|
+
* This source code is licensed under the MIT license found in the
|
|
81
|
+
* LICENSE file in the root directory of this source tree.
|
|
82
|
+
*/var oO;function P2(){return oO||(oO=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,u=e?Symbol.for("react.strict_mode"):60108,d=e?Symbol.for("react.profiler"):60114,m=e?Symbol.for("react.provider"):60109,v=e?Symbol.for("react.context"):60110,g=e?Symbol.for("react.async_mode"):60111,S=e?Symbol.for("react.concurrent_mode"):60111,w=e?Symbol.for("react.forward_ref"):60112,E=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,O=e?Symbol.for("react.lazy"):60116,_=e?Symbol.for("react.block"):60121,M=e?Symbol.for("react.fundamental"):60117,V=e?Symbol.for("react.responder"):60118,j=e?Symbol.for("react.scope"):60119;function A(re){return typeof re=="string"||typeof re=="function"||re===i||re===S||re===d||re===u||re===E||re===R||typeof re=="object"&&re!==null&&(re.$$typeof===O||re.$$typeof===k||re.$$typeof===m||re.$$typeof===v||re.$$typeof===w||re.$$typeof===M||re.$$typeof===V||re.$$typeof===j||re.$$typeof===_)}function $(re){if(typeof re=="object"&&re!==null){var Se=re.$$typeof;switch(Se){case n:var he=re.type;switch(he){case g:case S:case i:case d:case u:case E:return he;default:var We=he&&he.$$typeof;switch(We){case v:case w:case O:case k:case m:return We;default:return Se}}case o:return Se}}}var P=g,H=S,W=v,Y=m,N=n,K=w,Z=i,J=O,X=k,ee=o,ne=d,te=u,se=E,ae=!1;function xe(re){return ae||(ae=!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.")),oe(re)||$(re)===g}function oe(re){return $(re)===S}function U(re){return $(re)===v}function fe(re){return $(re)===m}function Pe(re){return typeof re=="object"&&re!==null&&re.$$typeof===n}function Te(re){return $(re)===w}function ue(re){return $(re)===i}function we(re){return $(re)===O}function Ee(re){return $(re)===k}function me(re){return $(re)===o}function De(re){return $(re)===d}function Ne(re){return $(re)===u}function je(re){return $(re)===E}qn.AsyncMode=P,qn.ConcurrentMode=H,qn.ContextConsumer=W,qn.ContextProvider=Y,qn.Element=N,qn.ForwardRef=K,qn.Fragment=Z,qn.Lazy=J,qn.Memo=X,qn.Portal=ee,qn.Profiler=ne,qn.StrictMode=te,qn.Suspense=se,qn.isAsyncMode=xe,qn.isConcurrentMode=oe,qn.isContextConsumer=U,qn.isContextProvider=fe,qn.isElement=Pe,qn.isForwardRef=Te,qn.isFragment=ue,qn.isLazy=we,qn.isMemo=Ee,qn.isPortal=me,qn.isProfiler=De,qn.isStrictMode=Ne,qn.isSuspense=je,qn.isValidElementType=A,qn.typeOf=$}()),qn}process.env.NODE_ENV==="production"?vw.exports=M2():vw.exports=P2();var _2=vw.exports,aO=_2,N2={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},A2={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},iO={};iO[aO.ForwardRef]=N2,iO[aO.Memo]=A2;var F2=!0;function L2(e,n,o){var i="";return o.split(" ").forEach(function(u){e[u]!==void 0?n.push(e[u]+";"):u&&(i+=u+" ")}),i}var sO=function(n,o,i){var u=n.key+"-"+o.name;(i===!1||F2===!1)&&n.registered[u]===void 0&&(n.registered[u]=o.styles)},lO=function(n,o,i){sO(n,o,i);var u=n.key+"-"+o.name;if(n.inserted[o.name]===void 0){var d=o;do n.insert(o===d?"."+u:"",d,n.sheet,!0),d=d.next;while(d!==void 0)}};function I2(e){for(var n=0,o,i=0,u=e.length;u>=4;++i,u-=4)o=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,n=(o&65535)*1540483477+((o>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(u){case 3:n^=(e.charCodeAt(i+2)&255)<<16;case 2:n^=(e.charCodeAt(i+1)&255)<<8;case 1:n^=e.charCodeAt(i)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}var $2={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},j2=!1,V2=/[A-Z]|^ms/g,B2=/_EMO_([^_]+?)_([^]*?)_EMO_/g,uO=function(n){return n.charCodeAt(1)===45},cO=function(n){return n!=null&&typeof n!="boolean"},yw=YR(function(e){return uO(e)?e:e.replace(V2,"-$&").toLowerCase()}),dO=function(n,o){switch(n){case"animation":case"animationName":if(typeof o=="string")return o.replace(B2,function(i,u,d){return al={name:u,styles:d,next:al},u})}return $2[n]!==1&&!uO(n)&&typeof o=="number"&&o!==0?o+"px":o},z2="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function kh(e,n,o){if(o==null)return"";var i=o;if(i.__emotion_styles!==void 0)return i;switch(typeof o){case"boolean":return"";case"object":{var u=o;if(u.anim===1)return al={name:u.name,styles:u.styles,next:al},u.name;var d=o;if(d.styles!==void 0){var m=d.next;if(m!==void 0)for(;m!==void 0;)al={name:m.name,styles:m.styles,next:al},m=m.next;var v=d.styles+";";return v}return U2(e,n,o)}case"function":{if(e!==void 0){var g=al,S=o(e);return al=g,kh(e,n,S)}break}}var w=o;if(n==null)return w;var E=n[w];return E!==void 0?E:w}function U2(e,n,o){var i="";if(Array.isArray(o))for(var u=0;u<o.length;u++)i+=kh(e,n,o[u])+";";else for(var d in o){var m=o[d];if(typeof m!="object"){var v=m;n!=null&&n[v]!==void 0?i+=d+"{"+n[v]+"}":cO(v)&&(i+=yw(d)+":"+dO(d,v)+";")}else{if(d==="NO_COMPONENT_SELECTOR"&&j2)throw new Error(z2);if(Array.isArray(m)&&typeof m[0]=="string"&&(n==null||n[m[0]]===void 0))for(var g=0;g<m.length;g++)cO(m[g])&&(i+=yw(d)+":"+dO(d,m[g])+";");else{var S=kh(e,n,m);switch(d){case"animation":case"animationName":{i+=yw(d)+":"+S+";";break}default:i+=d+"{"+S+"}"}}}}return i}var fO=/label:\s*([^\s;{]+)\s*(;|$)/g,al;function gw(e,n,o){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,u="";al=void 0;var d=e[0];if(d==null||d.raw===void 0)i=!1,u+=kh(o,n,d);else{var m=d;u+=m[0]}for(var v=1;v<e.length;v++)if(u+=kh(o,n,e[v]),i){var g=d;u+=g[v]}fO.lastIndex=0;for(var S="",w;(w=fO.exec(u))!==null;)S+="-"+w[1];var E=I2(u)+S;return{name:E,styles:u,next:al}}var H2=function(n){return n()},pO=Eh.useInsertionEffect?Eh.useInsertionEffect:!1,W2=pO||H2,mO=pO||F.useLayoutEffect,hO=F.createContext(typeof HTMLElement<"u"?k2({key:"css"}):null);hO.Provider;var vO=function(n){return F.forwardRef(function(o,i){var u=F.useContext(hO);return n(o,u,i)})},bw=F.createContext({}),Y2=vO(function(e,n){var o=e.styles,i=gw([o],void 0,F.useContext(bw)),u=F.useRef();return mO(function(){var d=n.key+"-global",m=new n.sheet.constructor({key:d,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),v=!1,g=document.querySelector('style[data-emotion="'+d+" "+i.name+'"]');return n.sheet.tags.length&&(m.before=n.sheet.tags[0]),g!==null&&(v=!0,g.setAttribute("data-emotion",d),m.hydrate([g])),u.current=[m,v],function(){m.flush()}},[n]),mO(function(){var d=u.current,m=d[0],v=d[1];if(v){d[1]=!1;return}if(i.next!==void 0&&lO(n,i.next,!0),m.tags.length){var g=m.tags[m.tags.length-1].nextElementSibling;m.before=g,m.flush()}n.insert("",i,m,!1)},[n,i.name]),null});function q2(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return gw(n)}var Sw=function(){var n=q2.apply(void 0,arguments),o="animation-"+n.name;return{name:o,styles:"@keyframes "+o+"{"+n.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},G2=JF,K2=function(n){return n!=="theme"},yO=function(n){return typeof n=="string"&&n.charCodeAt(0)>96?G2:K2},gO=function(n,o,i){var u;if(o){var d=o.shouldForwardProp;u=n.__emotion_forwardProp&&d?function(m){return n.__emotion_forwardProp(m)&&d(m)}:d}return typeof u!="function"&&i&&(u=n.__emotion_forwardProp),u},Q2=!1,X2=function(n){var o=n.cache,i=n.serialized,u=n.isStringTag;return sO(o,i,u),W2(function(){return lO(o,i,u)}),null},Z2=function e(n,o){var i=n.__emotion_real===n,u=i&&n.__emotion_base||n,d,m;o!==void 0&&(d=o.label,m=o.target);var v=gO(n,o,i),g=v||yO(u),S=!g("as");return function(){var w=arguments,E=i&&n.__emotion_styles!==void 0?n.__emotion_styles.slice(0):[];if(d!==void 0&&E.push("label:"+d+";"),w[0]==null||w[0].raw===void 0)E.push.apply(E,w);else{E.push(w[0][0]);for(var R=w.length,k=1;k<R;k++)E.push(w[k],w[0][k])}var O=vO(function(_,M,V){var j=S&&_.as||u,A="",$=[],P=_;if(_.theme==null){P={};for(var H in _)P[H]=_[H];P.theme=F.useContext(bw)}typeof _.className=="string"?A=L2(M.registered,$,_.className):_.className!=null&&(A=_.className+" ");var W=gw(E.concat($),M.registered,P);A+=M.key+"-"+W.name,m!==void 0&&(A+=" "+m);var Y=S&&v===void 0?yO(j):g,N={};for(var K in _)S&&K==="as"||Y(K)&&(N[K]=_[K]);return N.className=A,V&&(N.ref=V),F.createElement(F.Fragment,null,F.createElement(X2,{cache:M,serialized:W,isStringTag:typeof j=="string"}),F.createElement(j,N))});return O.displayName=d!==void 0?d:"Styled("+(typeof u=="string"?u:u.displayName||u.name||"Component")+")",O.defaultProps=n.defaultProps,O.__emotion_real=O,O.__emotion_base=u,O.__emotion_styles=E,O.__emotion_forwardProp=v,Object.defineProperty(O,"toString",{value:function(){return m===void 0&&Q2?"NO_COMPONENT_SELECTOR":"."+m}}),O.withComponent=function(_,M){return e(_,Xf({},o,M,{shouldForwardProp:gO(O,M,!0)})).apply(void 0,E)},O}},J2=["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"],xw=Z2.bind();J2.forEach(function(e){xw[e]=xw(e)});var ww={exports:{}},Xg={exports:{}},Gn={};/** @license React v16.13.1
|
|
83
|
+
* react-is.production.min.js
|
|
84
|
+
*
|
|
85
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
86
|
+
*
|
|
87
|
+
* This source code is licensed under the MIT license found in the
|
|
88
|
+
* LICENSE file in the root directory of this source tree.
|
|
89
|
+
*/var bO;function eL(){if(bO)return Gn;bO=1;var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,u=e?Symbol.for("react.strict_mode"):60108,d=e?Symbol.for("react.profiler"):60114,m=e?Symbol.for("react.provider"):60109,v=e?Symbol.for("react.context"):60110,g=e?Symbol.for("react.async_mode"):60111,S=e?Symbol.for("react.concurrent_mode"):60111,w=e?Symbol.for("react.forward_ref"):60112,E=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,O=e?Symbol.for("react.lazy"):60116,_=e?Symbol.for("react.block"):60121,M=e?Symbol.for("react.fundamental"):60117,V=e?Symbol.for("react.responder"):60118,j=e?Symbol.for("react.scope"):60119;function A(P){if(typeof P=="object"&&P!==null){var H=P.$$typeof;switch(H){case n:switch(P=P.type,P){case g:case S:case i:case d:case u:case E:return P;default:switch(P=P&&P.$$typeof,P){case v:case w:case O:case k:case m:return P;default:return H}}case o:return H}}}function $(P){return A(P)===S}return Gn.AsyncMode=g,Gn.ConcurrentMode=S,Gn.ContextConsumer=v,Gn.ContextProvider=m,Gn.Element=n,Gn.ForwardRef=w,Gn.Fragment=i,Gn.Lazy=O,Gn.Memo=k,Gn.Portal=o,Gn.Profiler=d,Gn.StrictMode=u,Gn.Suspense=E,Gn.isAsyncMode=function(P){return $(P)||A(P)===g},Gn.isConcurrentMode=$,Gn.isContextConsumer=function(P){return A(P)===v},Gn.isContextProvider=function(P){return A(P)===m},Gn.isElement=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===n},Gn.isForwardRef=function(P){return A(P)===w},Gn.isFragment=function(P){return A(P)===i},Gn.isLazy=function(P){return A(P)===O},Gn.isMemo=function(P){return A(P)===k},Gn.isPortal=function(P){return A(P)===o},Gn.isProfiler=function(P){return A(P)===d},Gn.isStrictMode=function(P){return A(P)===u},Gn.isSuspense=function(P){return A(P)===E},Gn.isValidElementType=function(P){return typeof P=="string"||typeof P=="function"||P===i||P===S||P===d||P===u||P===E||P===R||typeof P=="object"&&P!==null&&(P.$$typeof===O||P.$$typeof===k||P.$$typeof===m||P.$$typeof===v||P.$$typeof===w||P.$$typeof===M||P.$$typeof===V||P.$$typeof===j||P.$$typeof===_)},Gn.typeOf=A,Gn}var Kn={};/** @license React v16.13.1
|
|
90
|
+
* react-is.development.js
|
|
91
|
+
*
|
|
92
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
93
|
+
*
|
|
94
|
+
* This source code is licensed under the MIT license found in the
|
|
95
|
+
* LICENSE file in the root directory of this source tree.
|
|
96
|
+
*/var SO;function tL(){return SO||(SO=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,u=e?Symbol.for("react.strict_mode"):60108,d=e?Symbol.for("react.profiler"):60114,m=e?Symbol.for("react.provider"):60109,v=e?Symbol.for("react.context"):60110,g=e?Symbol.for("react.async_mode"):60111,S=e?Symbol.for("react.concurrent_mode"):60111,w=e?Symbol.for("react.forward_ref"):60112,E=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,O=e?Symbol.for("react.lazy"):60116,_=e?Symbol.for("react.block"):60121,M=e?Symbol.for("react.fundamental"):60117,V=e?Symbol.for("react.responder"):60118,j=e?Symbol.for("react.scope"):60119;function A(re){return typeof re=="string"||typeof re=="function"||re===i||re===S||re===d||re===u||re===E||re===R||typeof re=="object"&&re!==null&&(re.$$typeof===O||re.$$typeof===k||re.$$typeof===m||re.$$typeof===v||re.$$typeof===w||re.$$typeof===M||re.$$typeof===V||re.$$typeof===j||re.$$typeof===_)}function $(re){if(typeof re=="object"&&re!==null){var Se=re.$$typeof;switch(Se){case n:var he=re.type;switch(he){case g:case S:case i:case d:case u:case E:return he;default:var We=he&&he.$$typeof;switch(We){case v:case w:case O:case k:case m:return We;default:return Se}}case o:return Se}}}var P=g,H=S,W=v,Y=m,N=n,K=w,Z=i,J=O,X=k,ee=o,ne=d,te=u,se=E,ae=!1;function xe(re){return ae||(ae=!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.")),oe(re)||$(re)===g}function oe(re){return $(re)===S}function U(re){return $(re)===v}function fe(re){return $(re)===m}function Pe(re){return typeof re=="object"&&re!==null&&re.$$typeof===n}function Te(re){return $(re)===w}function ue(re){return $(re)===i}function we(re){return $(re)===O}function Ee(re){return $(re)===k}function me(re){return $(re)===o}function De(re){return $(re)===d}function Ne(re){return $(re)===u}function je(re){return $(re)===E}Kn.AsyncMode=P,Kn.ConcurrentMode=H,Kn.ContextConsumer=W,Kn.ContextProvider=Y,Kn.Element=N,Kn.ForwardRef=K,Kn.Fragment=Z,Kn.Lazy=J,Kn.Memo=X,Kn.Portal=ee,Kn.Profiler=ne,Kn.StrictMode=te,Kn.Suspense=se,Kn.isAsyncMode=xe,Kn.isConcurrentMode=oe,Kn.isContextConsumer=U,Kn.isContextProvider=fe,Kn.isElement=Pe,Kn.isForwardRef=Te,Kn.isFragment=ue,Kn.isLazy=we,Kn.isMemo=Ee,Kn.isPortal=me,Kn.isProfiler=De,Kn.isStrictMode=Ne,Kn.isSuspense=je,Kn.isValidElementType=A,Kn.typeOf=$}()),Kn}var xO;function wO(){return xO||(xO=1,process.env.NODE_ENV==="production"?Xg.exports=eL():Xg.exports=tL()),Xg.exports}/*
|
|
97
|
+
object-assign
|
|
98
|
+
(c) Sindre Sorhus
|
|
99
|
+
@license MIT
|
|
100
|
+
*/var Cw,CO;function nL(){if(CO)return Cw;CO=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(d){if(d==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(d)}function u(){try{if(!Object.assign)return!1;var d=new String("abc");if(d[5]="de",Object.getOwnPropertyNames(d)[0]==="5")return!1;for(var m={},v=0;v<10;v++)m["_"+String.fromCharCode(v)]=v;var g=Object.getOwnPropertyNames(m).map(function(w){return m[w]});if(g.join("")!=="0123456789")return!1;var S={};return"abcdefghijklmnopqrst".split("").forEach(function(w){S[w]=w}),Object.keys(Object.assign({},S)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Cw=u()?Object.assign:function(d,m){for(var v,g=i(d),S,w=1;w<arguments.length;w++){v=Object(arguments[w]);for(var E in v)n.call(v,E)&&(g[E]=v[E]);if(e){S=e(v);for(var R=0;R<S.length;R++)o.call(v,S[R])&&(g[S[R]]=v[S[R]])}}return g},Cw}var Ew,EO;function Tw(){if(EO)return Ew;EO=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ew=e,Ew}var Rw,TO;function RO(){return TO||(TO=1,Rw=Function.call.bind(Object.prototype.hasOwnProperty)),Rw}var Ow,OO;function rL(){if(OO)return Ow;OO=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var n=Tw(),o={},i=RO();e=function(d){var m="Warning: "+d;typeof console<"u"&&console.error(m);try{throw new Error(m)}catch{}}}function u(d,m,v,g,S){if(process.env.NODE_ENV!=="production"){for(var w in d)if(i(d,w)){var E;try{if(typeof d[w]!="function"){var R=Error((g||"React class")+": "+v+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw R.name="Invariant Violation",R}E=d[w](m,w,g,v,null,n)}catch(O){E=O}if(E&&!(E instanceof Error)&&e((g||"React class")+": type specification of "+v+" `"+w+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof E+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),E instanceof Error&&!(E.message in o)){o[E.message]=!0;var k=S?S():"";e("Failed "+v+" type: "+E.message+(k??""))}}}}return u.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(o={})},Ow=u,Ow}var Dw,DO;function oL(){if(DO)return Dw;DO=1;var e=wO(),n=nL(),o=Tw(),i=RO(),u=rL(),d=function(){};process.env.NODE_ENV!=="production"&&(d=function(v){var g="Warning: "+v;typeof console<"u"&&console.error(g);try{throw new Error(g)}catch{}});function m(){return null}return Dw=function(v,g){var S=typeof Symbol=="function"&&Symbol.iterator,w="@@iterator";function E(oe){var U=oe&&(S&&oe[S]||oe[w]);if(typeof U=="function")return U}var R="<<anonymous>>",k={array:V("array"),bigint:V("bigint"),bool:V("boolean"),func:V("function"),number:V("number"),object:V("object"),string:V("string"),symbol:V("symbol"),any:j(),arrayOf:A,element:$(),elementType:P(),instanceOf:H,node:K(),objectOf:Y,oneOf:W,oneOfType:N,shape:J,exact:X};function O(oe,U){return oe===U?oe!==0||1/oe===1/U:oe!==oe&&U!==U}function _(oe,U){this.message=oe,this.data=U&&typeof U=="object"?U:{},this.stack=""}_.prototype=Error.prototype;function M(oe){if(process.env.NODE_ENV!=="production")var U={},fe=0;function Pe(ue,we,Ee,me,De,Ne,je){if(me=me||R,Ne=Ne||Ee,je!==o){if(g){var re=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 re.name="Invariant Violation",re}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Se=me+":"+Ee;!U[Se]&&fe<3&&(d("You are manually calling a React.PropTypes validation function for the `"+Ne+"` prop on `"+me+"`. 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."),U[Se]=!0,fe++)}}return we[Ee]==null?ue?we[Ee]===null?new _("The "+De+" `"+Ne+"` is marked as required "+("in `"+me+"`, but its value is `null`.")):new _("The "+De+" `"+Ne+"` is marked as required in "+("`"+me+"`, but its value is `undefined`.")):null:oe(we,Ee,me,De,Ne)}var Te=Pe.bind(null,!1);return Te.isRequired=Pe.bind(null,!0),Te}function V(oe){function U(fe,Pe,Te,ue,we,Ee){var me=fe[Pe],De=te(me);if(De!==oe){var Ne=se(me);return new _("Invalid "+ue+" `"+we+"` of type "+("`"+Ne+"` supplied to `"+Te+"`, expected ")+("`"+oe+"`."),{expectedType:oe})}return null}return M(U)}function j(){return M(m)}function A(oe){function U(fe,Pe,Te,ue,we){if(typeof oe!="function")return new _("Property `"+we+"` of component `"+Te+"` has invalid PropType notation inside arrayOf.");var Ee=fe[Pe];if(!Array.isArray(Ee)){var me=te(Ee);return new _("Invalid "+ue+" `"+we+"` of type "+("`"+me+"` supplied to `"+Te+"`, expected an array."))}for(var De=0;De<Ee.length;De++){var Ne=oe(Ee,De,Te,ue,we+"["+De+"]",o);if(Ne instanceof Error)return Ne}return null}return M(U)}function $(){function oe(U,fe,Pe,Te,ue){var we=U[fe];if(!v(we)){var Ee=te(we);return new _("Invalid "+Te+" `"+ue+"` of type "+("`"+Ee+"` supplied to `"+Pe+"`, expected a single ReactElement."))}return null}return M(oe)}function P(){function oe(U,fe,Pe,Te,ue){var we=U[fe];if(!e.isValidElementType(we)){var Ee=te(we);return new _("Invalid "+Te+" `"+ue+"` of type "+("`"+Ee+"` supplied to `"+Pe+"`, expected a single ReactElement type."))}return null}return M(oe)}function H(oe){function U(fe,Pe,Te,ue,we){if(!(fe[Pe]instanceof oe)){var Ee=oe.name||R,me=xe(fe[Pe]);return new _("Invalid "+ue+" `"+we+"` of type "+("`"+me+"` supplied to `"+Te+"`, expected ")+("instance of `"+Ee+"`."))}return null}return M(U)}function W(oe){if(!Array.isArray(oe))return process.env.NODE_ENV!=="production"&&(arguments.length>1?d("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])."):d("Invalid argument supplied to oneOf, expected an array.")),m;function U(fe,Pe,Te,ue,we){for(var Ee=fe[Pe],me=0;me<oe.length;me++)if(O(Ee,oe[me]))return null;var De=JSON.stringify(oe,function(je,re){var Se=se(re);return Se==="symbol"?String(re):re});return new _("Invalid "+ue+" `"+we+"` of value `"+String(Ee)+"` "+("supplied to `"+Te+"`, expected one of "+De+"."))}return M(U)}function Y(oe){function U(fe,Pe,Te,ue,we){if(typeof oe!="function")return new _("Property `"+we+"` of component `"+Te+"` has invalid PropType notation inside objectOf.");var Ee=fe[Pe],me=te(Ee);if(me!=="object")return new _("Invalid "+ue+" `"+we+"` of type "+("`"+me+"` supplied to `"+Te+"`, expected an object."));for(var De in Ee)if(i(Ee,De)){var Ne=oe(Ee,De,Te,ue,we+"."+De,o);if(Ne instanceof Error)return Ne}return null}return M(U)}function N(oe){if(!Array.isArray(oe))return process.env.NODE_ENV!=="production"&&d("Invalid argument supplied to oneOfType, expected an instance of array."),m;for(var U=0;U<oe.length;U++){var fe=oe[U];if(typeof fe!="function")return d("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ae(fe)+" at index "+U+"."),m}function Pe(Te,ue,we,Ee,me){for(var De=[],Ne=0;Ne<oe.length;Ne++){var je=oe[Ne],re=je(Te,ue,we,Ee,me,o);if(re==null)return null;re.data&&i(re.data,"expectedType")&&De.push(re.data.expectedType)}var Se=De.length>0?", expected one of type ["+De.join(", ")+"]":"";return new _("Invalid "+Ee+" `"+me+"` supplied to "+("`"+we+"`"+Se+"."))}return M(Pe)}function K(){function oe(U,fe,Pe,Te,ue){return ee(U[fe])?null:new _("Invalid "+Te+" `"+ue+"` supplied to "+("`"+Pe+"`, expected a ReactNode."))}return M(oe)}function Z(oe,U,fe,Pe,Te){return new _((oe||"React class")+": "+U+" type `"+fe+"."+Pe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Te+"`.")}function J(oe){function U(fe,Pe,Te,ue,we){var Ee=fe[Pe],me=te(Ee);if(me!=="object")return new _("Invalid "+ue+" `"+we+"` of type `"+me+"` "+("supplied to `"+Te+"`, expected `object`."));for(var De in oe){var Ne=oe[De];if(typeof Ne!="function")return Z(Te,ue,we,De,se(Ne));var je=Ne(Ee,De,Te,ue,we+"."+De,o);if(je)return je}return null}return M(U)}function X(oe){function U(fe,Pe,Te,ue,we){var Ee=fe[Pe],me=te(Ee);if(me!=="object")return new _("Invalid "+ue+" `"+we+"` of type `"+me+"` "+("supplied to `"+Te+"`, expected `object`."));var De=n({},fe[Pe],oe);for(var Ne in De){var je=oe[Ne];if(i(oe,Ne)&&typeof je!="function")return Z(Te,ue,we,Ne,se(je));if(!je)return new _("Invalid "+ue+" `"+we+"` key `"+Ne+"` supplied to `"+Te+"`.\nBad object: "+JSON.stringify(fe[Pe],null," ")+`
|
|
101
|
+
Valid keys: `+JSON.stringify(Object.keys(oe),null," "));var re=je(Ee,Ne,Te,ue,we+"."+Ne,o);if(re)return re}return null}return M(U)}function ee(oe){switch(typeof oe){case"number":case"string":case"undefined":return!0;case"boolean":return!oe;case"object":if(Array.isArray(oe))return oe.every(ee);if(oe===null||v(oe))return!0;var U=E(oe);if(U){var fe=U.call(oe),Pe;if(U!==oe.entries){for(;!(Pe=fe.next()).done;)if(!ee(Pe.value))return!1}else for(;!(Pe=fe.next()).done;){var Te=Pe.value;if(Te&&!ee(Te[1]))return!1}}else return!1;return!0;default:return!1}}function ne(oe,U){return oe==="symbol"?!0:U?U["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&U instanceof Symbol:!1}function te(oe){var U=typeof oe;return Array.isArray(oe)?"array":oe instanceof RegExp?"object":ne(U,oe)?"symbol":U}function se(oe){if(typeof oe>"u"||oe===null)return""+oe;var U=te(oe);if(U==="object"){if(oe instanceof Date)return"date";if(oe instanceof RegExp)return"regexp"}return U}function ae(oe){var U=se(oe);switch(U){case"array":case"object":return"an "+U;case"boolean":case"date":case"regexp":return"a "+U;default:return U}}function xe(oe){return!oe.constructor||!oe.constructor.name?R:oe.constructor.name}return k.checkPropTypes=u,k.resetWarningCache=u.resetWarningCache,k.PropTypes=k,k},Dw}var kw,kO;function aL(){if(kO)return kw;kO=1;var e=Tw();function n(){}function o(){}return o.resetWarningCache=n,kw=function(){function i(m,v,g,S,w,E){if(E!==e){var R=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 R.name="Invariant Violation",R}}i.isRequired=i;function u(){return i}var d={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:u,element:i,elementType:i,instanceOf:u,node:i,objectOf:u,oneOf:u,oneOfType:u,shape:u,exact:u,checkPropTypes:o,resetWarningCache:n};return d.PropTypes=d,d},kw}if(process.env.NODE_ENV!=="production"){var iL=wO(),sL=!0;ww.exports=oL()(iL.isElement,sL)}else ww.exports=aL()();var lL=ww.exports;const s=Qu(lL);function uL(e){return e==null||Object.keys(e).length===0}function MO(e){const{styles:n,defaultTheme:o={}}=e,i=typeof n=="function"?u=>n(uL(u)?o:u):n;return G.jsx(Y2,{styles:i})}process.env.NODE_ENV!=="production"&&(MO.propTypes={defaultTheme:s.object,styles:s.oneOfType([s.array,s.string,s.object,s.func])});/**
|
|
102
|
+
* @mui/styled-engine v6.1.1
|
|
103
|
+
*
|
|
104
|
+
* @license MIT
|
|
105
|
+
* This source code is licensed under the MIT license found in the
|
|
106
|
+
* LICENSE file in the root directory of this source tree.
|
|
107
|
+
*/function PO(e,n){const o=xw(e,n);return process.env.NODE_ENV!=="production"?(...i)=>{const u=typeof e=="string"?`"${e}"`:"component";return i.length===0?console.error([`MUI: Seems like you called \`styled(${u})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
108
|
+
`)):i.some(d=>d===void 0)&&console.error(`MUI: the styled(${u})(...args) API requires all its args to be defined.`),o(...i)}:o}const cL=(e,n)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=n(e.__emotion_styles))};function il(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function _O(e){if(!il(e))return e;const n={};return Object.keys(e).forEach(o=>{n[o]=_O(e[o])}),n}function sa(e,n,o={clone:!0}){const i=o.clone?{...e}:e;return il(e)&&il(n)&&Object.keys(n).forEach(u=>{il(n[u])&&Object.prototype.hasOwnProperty.call(e,u)&&il(e[u])?i[u]=sa(e[u],n[u],o):o.clone?i[u]=il(n[u])?_O(n[u]):n[u]:i[u]=n[u]}),i}const dL=e=>{const n=Object.keys(e).map(o=>({key:o,val:e[o]}))||[];return n.sort((o,i)=>o.val-i.val),n.reduce((o,i)=>({...o,[i.key]:i.val}),{})};function fL(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:i=5,...u}=e,d=dL(n),m=Object.keys(d);function v(R){return`@media (min-width:${typeof n[R]=="number"?n[R]:R}${o})`}function g(R){return`@media (max-width:${(typeof n[R]=="number"?n[R]:R)-i/100}${o})`}function S(R,k){const O=m.indexOf(k);return`@media (min-width:${typeof n[R]=="number"?n[R]:R}${o}) and (max-width:${(O!==-1&&typeof n[m[O]]=="number"?n[m[O]]:k)-i/100}${o})`}function w(R){return m.indexOf(R)+1<m.length?S(R,m[m.indexOf(R)+1]):v(R)}function E(R){const k=m.indexOf(R);return k===0?v(m[1]):k===m.length-1?g(m[k]):S(R,m[m.indexOf(R)+1]).replace("@media","@media not all and")}return{keys:m,values:d,up:v,down:g,between:S,only:w,not:E,unit:o,...u}}function pL(e,n){if(!e.containerQueries)return n;const o=Object.keys(n).filter(i=>i.startsWith("@container")).sort((i,u)=>{var m,v;const d=/min-width:\s*([0-9.]+)/;return+(((m=i.match(d))==null?void 0:m[1])||0)-+(((v=u.match(d))==null?void 0:v[1])||0)});return o.length?o.reduce((i,u)=>{const d=n[u];return delete i[u],i[u]=d,i},{...n}):n}function mL(e,n){return n==="@"||n.startsWith("@")&&(e.some(o=>n.startsWith(`@${o}`))||!!n.match(/^@\d/))}function hL(e,n){const o=n.match(/^@([^/]+)?\/?(.+)?$/);if(!o){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${n})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
109
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:nl(18,`(${n})`));return null}const[,i,u]=o,d=Number.isNaN(+i)?i||0:+i;return e.containerQueries(u).up(d)}function vL(e){const n=(d,m)=>d.replace("@media",m?`@container ${m}`:"@container");function o(d,m){d.up=(...v)=>n(e.breakpoints.up(...v),m),d.down=(...v)=>n(e.breakpoints.down(...v),m),d.between=(...v)=>n(e.breakpoints.between(...v),m),d.only=(...v)=>n(e.breakpoints.only(...v),m),d.not=(...v)=>{const g=n(e.breakpoints.not(...v),m);return g.includes("not all and")?g.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):g}}const i={},u=d=>(o(i,d),i);return o(u),{...e,containerQueries:u}}const yL={borderRadius:4},Xu=process.env.NODE_ENV!=="production"?s.oneOfType([s.number,s.string,s.object,s.array]):{};function Mh(e,n){return n?sa(e,n,{clone:!1}):e}const Zg={xs:0,sm:600,md:900,lg:1200,xl:1536},NO={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Zg[e]}px)`},gL={containerQueries:e=>({up:n=>{let o=typeof n=="number"?n:Zg[n]||n;return typeof o=="number"&&(o=`${o}px`),e?`@container ${e} (min-width:${o})`:`@container (min-width:${o})`}})};function Jl(e,n,o){const i=e.theme||{};if(Array.isArray(n)){const d=i.breakpoints||NO;return n.reduce((m,v,g)=>(m[d.up(d.keys[g])]=o(n[g]),m),{})}if(typeof n=="object"){const d=i.breakpoints||NO;return Object.keys(n).reduce((m,v)=>{if(mL(d.keys,v)){const g=hL(i.containerQueries?i:gL,v);g&&(m[g]=o(n[v],v))}else if(Object.keys(d.values||Zg).includes(v)){const g=d.up(v);m[g]=o(n[v],v)}else{const g=v;m[g]=n[g]}return m},{})}return o(n)}function bL(e={}){var o;return((o=e.keys)==null?void 0:o.reduce((i,u)=>{const d=e.up(u);return i[d]={},i},{}))||{}}function SL(e,n){return e.reduce((o,i)=>{const u=o[i];return(!u||Object.keys(u).length===0)&&delete o[i],o},n)}function ut(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":nl(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Jg(e,n,o=!0){if(!n||typeof n!="string")return null;if(e&&e.vars&&o){const i=`vars.${n}`.split(".").reduce((u,d)=>u&&u[d]?u[d]:null,e);if(i!=null)return i}return n.split(".").reduce((i,u)=>i&&i[u]!=null?i[u]:null,e)}function eb(e,n,o,i=o){let u;return typeof e=="function"?u=e(o):Array.isArray(e)?u=e[o]||i:u=Jg(e,o)||i,n&&(u=n(u,i,e)),u}function no(e){const{prop:n,cssProperty:o=e.prop,themeKey:i,transform:u}=e,d=m=>{if(m[n]==null)return null;const v=m[n],g=m.theme,S=Jg(g,i)||{};return Jl(m,v,E=>{let R=eb(S,u,E);return E===R&&typeof E=="string"&&(R=eb(S,u,`${n}${E==="default"?"":ut(E)}`,E)),o===!1?R:{[o]:R}})};return d.propTypes=process.env.NODE_ENV!=="production"?{[n]:Xu}:{},d.filterProps=[n],d}function xL(e){const n={};return o=>(n[o]===void 0&&(n[o]=e(o)),n[o])}const wL={m:"margin",p:"padding"},CL={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},AO={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},EL=xL(e=>{if(e.length>2)if(AO[e])e=AO[e];else return[e];const[n,o]=e.split(""),i=wL[n],u=CL[o]||"";return Array.isArray(u)?u.map(d=>i+d):[i+u]}),tb=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],nb=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],TL=[...tb,...nb];function Ph(e,n,o,i){const u=Jg(e,n,!0)??o;return typeof u=="number"||typeof u=="string"?d=>typeof d=="string"?d:(process.env.NODE_ENV!=="production"&&typeof d!="number"&&console.error(`MUI: Expected ${i} argument to be a number or a string, got ${d}.`),typeof u=="string"?`calc(${d} * ${u})`:u*d):Array.isArray(u)?d=>{if(typeof d=="string")return d;const m=Math.abs(d);process.env.NODE_ENV!=="production"&&(Number.isInteger(m)?m>u.length-1&&console.error([`MUI: The value provided (${m}) overflows.`,`The supported values are: ${JSON.stringify(u)}.`,`${m} > ${u.length-1}, you need to add the missing values.`].join(`
|
|
110
|
+
`)):console.error([`MUI: The \`theme.${n}\` 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.${n}\` as a number.`].join(`
|
|
111
|
+
`)));const v=u[m];return d>=0?v:typeof v=="number"?-v:`-${v}`}:typeof u=="function"?u:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${n}\` value (${u}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
112
|
+
`)),()=>{})}function Mw(e){return Ph(e,"spacing",8,"spacing")}function _h(e,n){return typeof n=="string"||n==null?n:e(n)}function RL(e,n){return o=>e.reduce((i,u)=>(i[u]=_h(n,o),i),{})}function OL(e,n,o,i){if(!n.includes(o))return null;const u=EL(o),d=RL(u,i),m=e[o];return Jl(e,m,d)}function FO(e,n){const o=Mw(e.theme);return Object.keys(e).map(i=>OL(e,n,i,o)).reduce(Mh,{})}function Br(e){return FO(e,tb)}Br.propTypes=process.env.NODE_ENV!=="production"?tb.reduce((e,n)=>(e[n]=Xu,e),{}):{},Br.filterProps=tb;function zr(e){return FO(e,nb)}zr.propTypes=process.env.NODE_ENV!=="production"?nb.reduce((e,n)=>(e[n]=Xu,e),{}):{},zr.filterProps=nb,process.env.NODE_ENV!=="production"&&TL.reduce((e,n)=>(e[n]=Xu,e),{});function LO(e=8,n=Mw({spacing:e})){if(e.mui)return e;const o=(...i)=>(process.env.NODE_ENV!=="production"&&(i.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${i.length}`)),(i.length===0?[1]:i).map(d=>{const m=n(d);return typeof m=="number"?`${m}px`:m}).join(" "));return o.mui=!0,o}function rb(...e){const n=e.reduce((i,u)=>(u.filterProps.forEach(d=>{i[d]=u}),i),{}),o=i=>Object.keys(i).reduce((u,d)=>n[d]?Mh(u,n[d](i)):u,{});return o.propTypes=process.env.NODE_ENV!=="production"?e.reduce((i,u)=>Object.assign(i,u.propTypes),{}):{},o.filterProps=e.reduce((i,u)=>i.concat(u.filterProps),[]),o}function Ui(e){return typeof e!="number"?e:`${e}px solid`}function Hi(e,n){return no({prop:e,themeKey:"borders",transform:n})}const DL=Hi("border",Ui),kL=Hi("borderTop",Ui),ML=Hi("borderRight",Ui),PL=Hi("borderBottom",Ui),_L=Hi("borderLeft",Ui),NL=Hi("borderColor"),AL=Hi("borderTopColor"),FL=Hi("borderRightColor"),LL=Hi("borderBottomColor"),IL=Hi("borderLeftColor"),$L=Hi("outline",Ui),jL=Hi("outlineColor"),ob=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const n=Ph(e.theme,"shape.borderRadius",4,"borderRadius"),o=i=>({borderRadius:_h(n,i)});return Jl(e,e.borderRadius,o)}return null};ob.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Xu}:{},ob.filterProps=["borderRadius"],rb(DL,kL,ML,PL,_L,NL,AL,FL,LL,IL,ob,$L,jL);const ab=e=>{if(e.gap!==void 0&&e.gap!==null){const n=Ph(e.theme,"spacing",8,"gap"),o=i=>({gap:_h(n,i)});return Jl(e,e.gap,o)}return null};ab.propTypes=process.env.NODE_ENV!=="production"?{gap:Xu}:{},ab.filterProps=["gap"];const ib=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const n=Ph(e.theme,"spacing",8,"columnGap"),o=i=>({columnGap:_h(n,i)});return Jl(e,e.columnGap,o)}return null};ib.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Xu}:{},ib.filterProps=["columnGap"];const sb=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const n=Ph(e.theme,"spacing",8,"rowGap"),o=i=>({rowGap:_h(n,i)});return Jl(e,e.rowGap,o)}return null};sb.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Xu}:{},sb.filterProps=["rowGap"];const VL=no({prop:"gridColumn"}),BL=no({prop:"gridRow"}),zL=no({prop:"gridAutoFlow"}),UL=no({prop:"gridAutoColumns"}),HL=no({prop:"gridAutoRows"}),WL=no({prop:"gridTemplateColumns"}),YL=no({prop:"gridTemplateRows"}),qL=no({prop:"gridTemplateAreas"}),GL=no({prop:"gridArea"});rb(ab,ib,sb,VL,BL,zL,UL,HL,WL,YL,qL,GL);function tp(e,n){return n==="grey"?n:e}const KL=no({prop:"color",themeKey:"palette",transform:tp}),QL=no({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:tp}),XL=no({prop:"backgroundColor",themeKey:"palette",transform:tp});rb(KL,QL,XL);function Ti(e){return e<=1&&e!==0?`${e*100}%`:e}const ZL=no({prop:"width",transform:Ti}),Pw=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const n=o=>{var u,d,m,v,g;const i=((m=(d=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:d.values)==null?void 0:m[o])||Zg[o];return i?((g=(v=e.theme)==null?void 0:v.breakpoints)==null?void 0:g.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Ti(o)}};return Jl(e,e.maxWidth,n)}return null};Pw.filterProps=["maxWidth"];const JL=no({prop:"minWidth",transform:Ti}),eI=no({prop:"height",transform:Ti}),tI=no({prop:"maxHeight",transform:Ti}),nI=no({prop:"minHeight",transform:Ti});no({prop:"size",cssProperty:"width",transform:Ti}),no({prop:"size",cssProperty:"height",transform:Ti});const rI=no({prop:"boxSizing"});rb(ZL,Pw,JL,eI,tI,nI,rI);const Nh={border:{themeKey:"borders",transform:Ui},borderTop:{themeKey:"borders",transform:Ui},borderRight:{themeKey:"borders",transform:Ui},borderBottom:{themeKey:"borders",transform:Ui},borderLeft:{themeKey:"borders",transform:Ui},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ui},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ob},color:{themeKey:"palette",transform:tp},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:tp},backgroundColor:{themeKey:"palette",transform:tp},p:{style:zr},pt:{style:zr},pr:{style:zr},pb:{style:zr},pl:{style:zr},px:{style:zr},py:{style:zr},padding:{style:zr},paddingTop:{style:zr},paddingRight:{style:zr},paddingBottom:{style:zr},paddingLeft:{style:zr},paddingX:{style:zr},paddingY:{style:zr},paddingInline:{style:zr},paddingInlineStart:{style:zr},paddingInlineEnd:{style:zr},paddingBlock:{style:zr},paddingBlockStart:{style:zr},paddingBlockEnd:{style:zr},m:{style:Br},mt:{style:Br},mr:{style:Br},mb:{style:Br},ml:{style:Br},mx:{style:Br},my:{style:Br},margin:{style:Br},marginTop:{style:Br},marginRight:{style:Br},marginBottom:{style:Br},marginLeft:{style:Br},marginX:{style:Br},marginY:{style:Br},marginInline:{style:Br},marginInlineStart:{style:Br},marginInlineEnd:{style:Br},marginBlock:{style:Br},marginBlockStart:{style:Br},marginBlockEnd:{style:Br},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:ab},rowGap:{style:sb},columnGap:{style:ib},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ti},maxWidth:{style:Pw},minWidth:{transform:Ti},height:{transform:Ti},maxHeight:{transform:Ti},minHeight:{transform:Ti},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 oI(...e){const n=e.reduce((i,u)=>i.concat(Object.keys(u)),[]),o=new Set(n);return e.every(i=>o.size===Object.keys(i).length)}function aI(e,n){return typeof e=="function"?e(n):e}function iI(){function e(o,i,u,d){const m={[o]:i,theme:u},v=d[o];if(!v)return{[o]:i};const{cssProperty:g=o,themeKey:S,transform:w,style:E}=v;if(i==null)return null;if(S==="typography"&&i==="inherit")return{[o]:i};const R=Jg(u,S)||{};return E?E(m):Jl(m,i,O=>{let _=eb(R,w,O);return O===_&&typeof O=="string"&&(_=eb(R,w,`${o}${O==="default"?"":ut(O)}`,O)),g===!1?_:{[g]:_}})}function n(o){const{sx:i,theme:u={}}=o||{};if(!i)return null;const d=u.unstable_sxConfig??Nh;function m(v){let g=v;if(typeof v=="function")g=v(u);else if(typeof v!="object")return v;if(!g)return null;const S=bL(u.breakpoints),w=Object.keys(S);let E=S;return Object.keys(g).forEach(R=>{const k=aI(g[R],u);if(k!=null)if(typeof k=="object")if(d[R])E=Mh(E,e(R,k,u,d));else{const O=Jl({theme:u},k,_=>({[R]:_}));oI(O,k)?E[R]=n({sx:k,theme:u}):E=Mh(E,O)}else E=Mh(E,e(R,k,u,d))}),pL(u,SL(w,E))}return Array.isArray(i)?i.map(m):m(i)}return n}const np=iI();np.filterProps=["sx"];function sI(e,n){var i;const o=this;if(o.vars){if(!((i=o.colorSchemes)!=null&&i[e])||typeof o.getColorSchemeSelector!="function")return{};let u=o.getColorSchemeSelector(e);return u==="&"?n:((u.includes("data-")||u.includes("."))&&(u=`*:where(${u.replace(/\s*&$/,"")}) &`),{[u]:n})}return o.palette.mode===e?n:{}}function _w(e={},...n){const{breakpoints:o={},palette:i={},spacing:u,shape:d={},...m}=e,v=fL(o),g=LO(u);let S=sa({breakpoints:v,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:g,shape:{...yL,...d}},m);return S=vL(S),S.applyStyles=sI,S=n.reduce((w,E)=>sa(w,E),S),S.unstable_sxConfig={...Nh,...m==null?void 0:m.unstable_sxConfig},S.unstable_sx=function(E){return np({sx:E,theme:this})},S}function lI(e){return Object.keys(e).length===0}function IO(e=null){const n=F.useContext(bw);return!n||lI(n)?e:n}const uI=_w();function lb(e=uI){return IO(e)}function $O({styles:e,themeId:n,defaultTheme:o={}}){const i=lb(o),u=typeof e=="function"?e(n&&i[n]||i):e;return G.jsx(MO,{styles:u})}process.env.NODE_ENV!=="production"&&($O.propTypes={defaultTheme:s.object,styles:s.oneOfType([s.array,s.func,s.number,s.object,s.string,s.bool]),themeId:s.string});const cI=e=>{var i;const n={systemProps:{},otherProps:{}},o=((i=e==null?void 0:e.theme)==null?void 0:i.unstable_sxConfig)??Nh;return Object.keys(e).forEach(u=>{o[u]?n.systemProps[u]=e[u]:n.otherProps[u]=e[u]}),n};function jO(e){const{sx:n,...o}=e,{systemProps:i,otherProps:u}=cI(o);let d;return Array.isArray(n)?d=[i,...n]:typeof n=="function"?d=(...m)=>{const v=n(...m);return il(v)?{...i,...v}:i}:d={...i,...n},{...u,sx:d}}const VO=e=>e,BO=(()=>{let e=VO;return{configure(n){e=n},generate(n){return e(n)},reset(){e=VO}}})();function zO(e){var n,o,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var u=e.length;for(n=0;n<u;n++)e[n]&&(o=zO(e[n]))&&(i&&(i+=" "),i+=o)}else for(o in e)e[o]&&(i&&(i+=" "),i+=o);return i}function ct(){for(var e,n,o=0,i="",u=arguments.length;o<u;o++)(e=arguments[o])&&(n=zO(e))&&(i&&(i+=" "),i+=n);return i}function dI(e={}){const{themeId:n,defaultTheme:o,defaultClassName:i="MuiBox-root",generateClassName:u}=e,d=PO("div",{shouldForwardProp:v=>v!=="theme"&&v!=="sx"&&v!=="as"})(np);return F.forwardRef(function(g,S){const w=lb(o),{className:E,component:R="div",...k}=jO(g);return G.jsx(d,{as:R,ref:S,className:ct(E,u?u(i):i),theme:n&&w[n]||w,...k})})}const fI={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 Cn(e,n,o="Mui"){const i=fI[n];return i?`${o}-${i}`:`${BO.generate(e)}-${n}`}function un(e,n,o="Mui"){const i={};return n.forEach(u=>{i[u]=Cn(e,u,o)}),i}var Nw={exports:{}},Qn={};/**
|
|
113
|
+
* @license React
|
|
114
|
+
* react-is.production.min.js
|
|
115
|
+
*
|
|
116
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
117
|
+
*
|
|
118
|
+
* This source code is licensed under the MIT license found in the
|
|
119
|
+
* LICENSE file in the root directory of this source tree.
|
|
120
|
+
*/var UO;function pI(){if(UO)return Qn;UO=1;var e=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),m=Symbol.for("react.context"),v=Symbol.for("react.server_context"),g=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),k=Symbol.for("react.offscreen"),O;O=Symbol.for("react.module.reference");function _(M){if(typeof M=="object"&&M!==null){var V=M.$$typeof;switch(V){case e:switch(M=M.type,M){case o:case u:case i:case S:case w:return M;default:switch(M=M&&M.$$typeof,M){case v:case m:case g:case R:case E:case d:return M;default:return V}}case n:return V}}}return Qn.ContextConsumer=m,Qn.ContextProvider=d,Qn.Element=e,Qn.ForwardRef=g,Qn.Fragment=o,Qn.Lazy=R,Qn.Memo=E,Qn.Portal=n,Qn.Profiler=u,Qn.StrictMode=i,Qn.Suspense=S,Qn.SuspenseList=w,Qn.isAsyncMode=function(){return!1},Qn.isConcurrentMode=function(){return!1},Qn.isContextConsumer=function(M){return _(M)===m},Qn.isContextProvider=function(M){return _(M)===d},Qn.isElement=function(M){return typeof M=="object"&&M!==null&&M.$$typeof===e},Qn.isForwardRef=function(M){return _(M)===g},Qn.isFragment=function(M){return _(M)===o},Qn.isLazy=function(M){return _(M)===R},Qn.isMemo=function(M){return _(M)===E},Qn.isPortal=function(M){return _(M)===n},Qn.isProfiler=function(M){return _(M)===u},Qn.isStrictMode=function(M){return _(M)===i},Qn.isSuspense=function(M){return _(M)===S},Qn.isSuspenseList=function(M){return _(M)===w},Qn.isValidElementType=function(M){return typeof M=="string"||typeof M=="function"||M===o||M===u||M===i||M===S||M===w||M===k||typeof M=="object"&&M!==null&&(M.$$typeof===R||M.$$typeof===E||M.$$typeof===d||M.$$typeof===m||M.$$typeof===g||M.$$typeof===O||M.getModuleId!==void 0)},Qn.typeOf=_,Qn}var Xn={};/**
|
|
121
|
+
* @license React
|
|
122
|
+
* react-is.development.js
|
|
123
|
+
*
|
|
124
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
125
|
+
*
|
|
126
|
+
* This source code is licensed under the MIT license found in the
|
|
127
|
+
* LICENSE file in the root directory of this source tree.
|
|
128
|
+
*/var HO;function mI(){return HO||(HO=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),m=Symbol.for("react.context"),v=Symbol.for("react.server_context"),g=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),k=Symbol.for("react.offscreen"),O=!1,_=!1,M=!1,V=!1,j=!1,A;A=Symbol.for("react.module.reference");function $(he){return!!(typeof he=="string"||typeof he=="function"||he===o||he===u||j||he===i||he===S||he===w||V||he===k||O||_||M||typeof he=="object"&&he!==null&&(he.$$typeof===R||he.$$typeof===E||he.$$typeof===d||he.$$typeof===m||he.$$typeof===g||he.$$typeof===A||he.getModuleId!==void 0))}function P(he){if(typeof he=="object"&&he!==null){var We=he.$$typeof;switch(We){case e:var qe=he.type;switch(qe){case o:case u:case i:case S:case w:return qe;default:var tt=qe&&qe.$$typeof;switch(tt){case v:case m:case g:case R:case E:case d:return tt;default:return We}}case n:return We}}}var H=m,W=d,Y=e,N=g,K=o,Z=R,J=E,X=n,ee=u,ne=i,te=S,se=w,ae=!1,xe=!1;function oe(he){return ae||(ae=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function U(he){return xe||(xe=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function fe(he){return P(he)===m}function Pe(he){return P(he)===d}function Te(he){return typeof he=="object"&&he!==null&&he.$$typeof===e}function ue(he){return P(he)===g}function we(he){return P(he)===o}function Ee(he){return P(he)===R}function me(he){return P(he)===E}function De(he){return P(he)===n}function Ne(he){return P(he)===u}function je(he){return P(he)===i}function re(he){return P(he)===S}function Se(he){return P(he)===w}Xn.ContextConsumer=H,Xn.ContextProvider=W,Xn.Element=Y,Xn.ForwardRef=N,Xn.Fragment=K,Xn.Lazy=Z,Xn.Memo=J,Xn.Portal=X,Xn.Profiler=ee,Xn.StrictMode=ne,Xn.Suspense=te,Xn.SuspenseList=se,Xn.isAsyncMode=oe,Xn.isConcurrentMode=U,Xn.isContextConsumer=fe,Xn.isContextProvider=Pe,Xn.isElement=Te,Xn.isForwardRef=ue,Xn.isFragment=we,Xn.isLazy=Ee,Xn.isMemo=me,Xn.isPortal=De,Xn.isProfiler=Ne,Xn.isStrictMode=je,Xn.isSuspense=re,Xn.isSuspenseList=Se,Xn.isValidElementType=$,Xn.typeOf=P}()),Xn}process.env.NODE_ENV==="production"?Nw.exports=pI():Nw.exports=mI();var Ah=Nw.exports;function WO(e,n=""){return e.displayName||e.name||n}function YO(e,n,o){const i=WO(n);return e.displayName||(i!==""?`${o}(${i})`:o)}function hI(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return WO(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Ah.ForwardRef:return YO(e,e.render,"ForwardRef");case Ah.Memo:return YO(e,e.type,"memo");default:return}}}const vI=_w();function Aw(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Fw(e,n,o){return bI(n)?o:n[e]||n}const ub=Symbol("mui.processed_props");function cb(e,n,o){if(ub in e)return e[ub];const i={...e,theme:Fw(n,e.theme,o)};return e[ub]=i,i[ub]=i,i}function yI(e){return e?(n,o)=>o[e]:null}function db(e,n){var i;const o=typeof e=="function"?e(n):e;if(Array.isArray(o))return o.flatMap(u=>db(u,n));if(Array.isArray(o==null?void 0:o.variants)){const{variants:u,...d}=o;let m=d,v;e:for(let g=0;g<u.length;g+=1){const S=u[g];if(typeof S.props=="function"){if(v??(v={...n,...n.ownerState,ownerState:n.ownerState}),!S.props(v))continue}else for(const w in S.props)if(n[w]!==S.props[w]&&((i=n.ownerState)==null?void 0:i[w])!==S.props[w])continue e;Array.isArray(m)||(m=[m]),typeof S.style=="function"?(v??(v={...n,...n.ownerState,ownerState:n.ownerState}),m.push(S.style(v))):m.push(S.style)}return m}return o}function gI(e={}){const{themeId:n,defaultTheme:o=vI,rootShouldForwardProp:i=Aw,slotShouldForwardProp:u=Aw}=e,d=v=>np(cb(v,n,o));return d.__mui_systemSx=!0,(v,g={})=>{cL(v,H=>H.filter(W=>!(W!=null&&W.__mui_systemSx)));const{name:S,slot:w,skipVariantsResolver:E,skipSx:R,overridesResolver:k=yI(qO(w)),...O}=g,_=E!==void 0?E:w&&w!=="Root"&&w!=="root"||!1,M=R||!1;let V;process.env.NODE_ENV!=="production"&&S&&(V=`${S}-${qO(w||"Root")}`);let j=Aw;w==="Root"||w==="root"?j=i:w?j=u:SI(v)&&(j=void 0);const A=PO(v,{shouldForwardProp:j,label:V,...O}),$=H=>typeof H=="function"&&H.__emotion_real!==H||il(H)?W=>db(H,cb(W,n,o)):H,P=(H,...W)=>{let Y=$(H);const N=W?W.map($):[];S&&k&&N.push(J=>{const X=Fw(n,J.theme,o);if(!X.components||!X.components[S]||!X.components[S].styleOverrides)return null;const ee=X.components[S].styleOverrides,ne={},te=cb(J,n,o);for(const se in ee)ne[se]=db(ee[se],te);return k(J,ne)}),S&&!_&&N.push(J=>{var ne,te;const X=Fw(n,J.theme,o),ee=(te=(ne=X==null?void 0:X.components)==null?void 0:ne[S])==null?void 0:te.variants;return ee?db({variants:ee},cb(J,n,o)):null}),M||N.push(d);const K=N.length-W.length;if(Array.isArray(H)&&K>0){const J=new Array(K).fill("");Y=[...H,...J],Y.raw=[...H.raw,...J]}const Z=A(Y,...N);if(process.env.NODE_ENV!=="production"){let J;S&&(J=`${S}${ut(w||"")}`),J===void 0&&(J=`Styled(${hI(v)})`),Z.displayName=J}return v.muiName&&(Z.muiName=v.muiName),Z};return A.withConfig&&(P.withConfig=A.withConfig),P}}function bI(e){for(const n in e)return!1;return!0}function SI(e){return typeof e=="string"&&e.charCodeAt(0)>96}function qO(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Fh(e,n){const o={...n};for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const u=i;if(u==="components"||u==="slots")o[u]={...e[u],...o[u]};else if(u==="componentsProps"||u==="slotProps"){const d=e[u],m=n[u];if(!m)o[u]=d||{};else if(!d)o[u]=m;else{o[u]={...m};for(const v in d)if(Object.prototype.hasOwnProperty.call(d,v)){const g=v;o[u][g]=Fh(d[g],m[g])}}}else o[u]===void 0&&(o[u]=e[u])}return o}function GO(e){const{theme:n,name:o,props:i}=e;return!n||!n.components||!n.components[o]||!n.components[o].defaultProps?i:Fh(n.components[o].defaultProps,i)}function xI({props:e,name:n,defaultTheme:o,themeId:i}){let u=lb(o);return i&&(u=u[i]||u),GO({theme:u,name:n,props:e})}const Cs=typeof window<"u"?F.useLayoutEffect:F.useEffect;function wI(e,n,o,i,u){const[d,m]=F.useState(()=>u&&o?o(e).matches:i?i(e).matches:n);return Cs(()=>{if(!o)return;const v=o(e),g=()=>{m(v.matches)};return g(),v.addEventListener("change",g),()=>{v.removeEventListener("change",g)}},[e,o]),d}const KO={...Eh}.useSyncExternalStore;function CI(e,n,o,i,u){const d=F.useCallback(()=>n,[n]),m=F.useMemo(()=>{if(u&&o)return()=>o(e).matches;if(i!==null){const{matches:w}=i(e);return()=>w}return d},[d,e,i,u,o]),[v,g]=F.useMemo(()=>{if(o===null)return[d,()=>()=>{}];const w=o(e);return[()=>w.matches,E=>(w.addEventListener("change",E),()=>{w.removeEventListener("change",E)})]},[d,o,e]);return KO(g,v,m)}function QO(e,n={}){const o=IO(),i=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:u=!1,matchMedia:d=i?window.matchMedia:null,ssrMatchMedia:m=null,noSsr:v=!1}=GO({name:"MuiUseMediaQuery",props:n,theme:o});process.env.NODE_ENV!=="production"&&typeof e=="function"&&o===null&&console.error(["MUI: The `query` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
|
|
129
|
+
`));let g=typeof e=="function"?e(o):e;g=g.replace(/^@media( ?)/m,"");const w=(KO!==void 0?CI:wI)(g,u,d,m,v);return process.env.NODE_ENV!=="production"&&F.useDebugValue({query:g,match:w}),w}function EI(e,n=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(n,Math.min(e,o))}function Lw(e,n=0,o=1){return process.env.NODE_ENV!=="production"&&(e<n||e>o)&&console.error(`MUI: The value provided ${e} is out of range [${n}, ${o}].`),EI(e,n,o)}function TI(e){e=e.slice(1);const n=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let o=e.match(n);return o&&o[0].length===1&&(o=o.map(i=>i+i)),o?`rgb${o.length===4?"a":""}(${o.map((i,u)=>u<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function Zu(e){if(e.type)return e;if(e.charAt(0)==="#")return Zu(TI(e));const n=e.indexOf("("),o=e.substring(0,n);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
130
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:nl(9,e));let i=e.substring(n+1,e.length-1),u;if(o==="color"){if(i=i.split(" "),u=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(u))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${u}\` color space.
|
|
131
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:nl(10,u))}else i=i.split(",");return i=i.map(d=>parseFloat(d)),{type:o,values:i,colorSpace:u}}const RI=e=>{const n=Zu(e);return n.values.slice(0,3).map((o,i)=>n.type.includes("hsl")&&i!==0?`${o}%`:o).join(" ")},Lh=(e,n)=>{try{return RI(e)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}};function fb(e){const{type:n,colorSpace:o}=e;let{values:i}=e;return n.includes("rgb")?i=i.map((u,d)=>d<3?parseInt(u,10):u):n.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),n.includes("color")?i=`${o} ${i.join(" ")}`:i=`${i.join(", ")}`,`${n}(${i})`}function XO(e){e=Zu(e);const{values:n}=e,o=n[0],i=n[1]/100,u=n[2]/100,d=i*Math.min(u,1-u),m=(S,w=(S+o/30)%12)=>u-d*Math.max(Math.min(w-3,9-w,1),-1);let v="rgb";const g=[Math.round(m(0)*255),Math.round(m(8)*255),Math.round(m(4)*255)];return e.type==="hsla"&&(v+="a",g.push(n[3])),fb({type:v,values:g})}function Iw(e){e=Zu(e);let n=e.type==="hsl"||e.type==="hsla"?Zu(XO(e)).values:e.values;return n=n.map(o=>(e.type!=="color"&&(o/=255),o<=.03928?o/12.92:((o+.055)/1.055)**2.4)),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function ZO(e,n){const o=Iw(e),i=Iw(n);return(Math.max(o,i)+.05)/(Math.min(o,i)+.05)}function kn(e,n){return e=Zu(e),n=Lw(n),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${n}`:e.values[3]=n,fb(e)}function pb(e,n,o){try{return kn(e,n)}catch{return e}}function $w(e,n){if(e=Zu(e),n=Lw(n),e.type.includes("hsl"))e.values[2]*=1-n;else if(e.type.includes("rgb")||e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-n;return fb(e)}function dr(e,n,o){try{return $w(e,n)}catch{return e}}function jw(e,n){if(e=Zu(e),n=Lw(n),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*n;else if(e.type.includes("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*n;else if(e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*n;return fb(e)}function fr(e,n,o){try{return jw(e,n)}catch{return e}}function OI(e,n=.15){return Iw(e)>.5?$w(e,n):jw(e,n)}function mb(e,n,o){try{return OI(e,n)}catch{return e}}function Ju(e,n){return process.env.NODE_ENV==="production"?()=>null:function(...i){return e(...i)||n(...i)}}function DI(e){const{prototype:n={}}=e;return!!n.isReactComponent}function JO(e,n,o,i,u){const d=e[n],m=u||n;if(d==null||typeof window>"u")return null;let v;const g=d.type;return typeof g=="function"&&!DI(g)&&(v="Did you accidentally use a plain function component for an element instead?"),v!==void 0?new Error(`Invalid ${i} \`${m}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${v} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const rp=Ju(s.element,JO);rp.isRequired=Ju(s.element.isRequired,JO);function kI(e){const{prototype:n={}}=e;return!!n.isReactComponent}function MI(e,n,o,i,u){const d=e[n],m=u||n;if(d==null||typeof window>"u")return null;let v;return typeof d=="function"&&!kI(d)&&(v="Did you accidentally provide a plain function component instead?"),v!==void 0?new Error(`Invalid ${i} \`${m}\` supplied to \`${o}\`. Expected an element type that can hold a ref. ${v} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const hb=Ju(s.elementType,MI),PI="exact-prop: ";function eD(e){return process.env.NODE_ENV==="production"?e:{...e,[PI]:n=>{const o=Object.keys(n).filter(i=>!e.hasOwnProperty(i));return o.length>0?new Error(`The following props are not supported: ${o.map(i=>`\`${i}\``).join(", ")}. Please remove them.`):null}}}function eu(e,n,o,i,u){if(process.env.NODE_ENV==="production")return null;const d=e[n],m=u||n;return d==null?null:d&&d.nodeType!==1?new Error(`Invalid ${i} \`${m}\` supplied to \`${o}\`. Expected an HTMLElement.`):null}const Ya=s.oneOfType([s.func,s.object]);function tD(...e){return e.reduce((n,o)=>o==null?n:function(...u){n.apply(this,u),o.apply(this,u)},()=>{})}function nD(e,n=166){let o;function i(...u){const d=()=>{e.apply(this,u)};clearTimeout(o),o=setTimeout(d,n)}return i.clear=()=>{clearTimeout(o)},i}function Ih(e,n){var o,i,u;return F.isValidElement(e)&&n.indexOf(e.type.muiName??((u=(i=(o=e.type)==null?void 0:o._payload)==null?void 0:i.value)==null?void 0:u.muiName))!==-1}function Oa(e){return e&&e.ownerDocument||document}function gd(e){return Oa(e).defaultView||window}function Vw(e,n){typeof e=="function"?e(n):e&&(e.current=n)}let rD=0;function _I(e){const[n,o]=F.useState(e),i=e||n;return F.useEffect(()=>{n==null&&(rD+=1,o(`mui-${rD}`))},[n]),i}const oD={...Eh}.useId;function vb(e){if(oD!==void 0){const n=oD();return e??n}return _I(e)}function NI(e,n,o,i,u){if(process.env.NODE_ENV==="production")return null;const d=u||n;return typeof e[n]<"u"?new Error(`The prop \`${d}\` is not supported. Please remove it.`):null}function yb({controlled:e,default:n,name:o,state:i="value"}){const{current:u}=F.useRef(e!==void 0),[d,m]=F.useState(n),v=u?e:d;if(process.env.NODE_ENV!=="production"){F.useEffect(()=>{u!==(e!==void 0)&&console.error([`MUI: A component is changing the ${u?"":"un"}controlled ${i} state of ${o} to be ${u?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${o} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
132
|
+
`))},[i,o,e]);const{current:S}=F.useRef(n);F.useEffect(()=>{!u&&!Object.is(S,n)&&console.error([`MUI: A component is changing the default ${i} state of an uncontrolled ${o} after being initialized. To suppress this warning opt to use a controlled ${o}.`].join(`
|
|
133
|
+
`))},[JSON.stringify(n)])}const g=F.useCallback(S=>{u||m(S)},[]);return[v,g]}function ec(e){const n=F.useRef(e);return Cs(()=>{n.current=e}),F.useRef((...o)=>(0,n.current)(...o)).current}function Ur(...e){return F.useMemo(()=>e.every(n=>n==null)?null:n=>{e.forEach(o=>{Vw(o,n)})},e)}const aD={};function iD(e,n){const o=F.useRef(aD);return o.current===aD&&(o.current=e(n)),o}const AI=[];function FI(e){F.useEffect(e,AI)}class gb{constructor(){xt(this,"currentId",null);xt(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});xt(this,"disposeEffect",()=>this.clear)}static create(){return new gb}start(n,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},n)}}function op(){const e=iD(gb.create).current;return FI(e.disposeEffect),e}function bb(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
|
|
134
|
+
`))}return!1}function sD(e){const n=e.documentElement.clientWidth;return Math.abs(window.innerWidth-n)}function LI(e){const n=typeof e;switch(n){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return n}}function lD(e,n,o,i){const u=e[n];if(u==null||!Number.isInteger(u)){const d=LI(u);return new RangeError(`Invalid ${i} \`${n}\` of type \`${d}\` supplied to \`${o}\`, expected \`integer\`.`)}return null}function uD(e,n,...o){return e[n]===void 0?null:lD(e,n,...o)}function Bw(){return null}uD.isRequired=lD,Bw.isRequired=Bw;const cD=process.env.NODE_ENV==="production"?Bw:uD;function Dn(e,n,o=void 0){const i={};for(const u in e){const d=e[u];let m="",v=!0;for(let g=0;g<d.length;g+=1){const S=d[g];S&&(m+=(v===!0?"":" ")+n(S),v=!1,o&&o[S]&&(m+=" "+o[S]))}i[u]=m}return i}function II(e){return typeof e=="string"}function ap(e,n,o){return e===void 0||II(e)?n:{...n,ownerState:{...n.ownerState,...o}}}function dD(e,n=[]){if(e===void 0)return{};const o={};return Object.keys(e).filter(i=>i.match(/^on[A-Z]/)&&typeof e[i]=="function"&&!n.includes(i)).forEach(i=>{o[i]=e[i]}),o}function fD(e){if(e===void 0)return{};const n={};return Object.keys(e).filter(o=>!(o.match(/^on[A-Z]/)&&typeof e[o]=="function")).forEach(o=>{n[o]=e[o]}),n}function pD(e){const{getSlotProps:n,additionalProps:o,externalSlotProps:i,externalForwardedProps:u,className:d}=e;if(!n){const k=ct(o==null?void 0:o.className,d,u==null?void 0:u.className,i==null?void 0:i.className),O={...o==null?void 0:o.style,...u==null?void 0:u.style,...i==null?void 0:i.style},_={...o,...u,...i};return k.length>0&&(_.className=k),Object.keys(O).length>0&&(_.style=O),{props:_,internalRef:void 0}}const m=dD({...u,...i}),v=fD(i),g=fD(u),S=n(m),w=ct(S==null?void 0:S.className,o==null?void 0:o.className,d,u==null?void 0:u.className,i==null?void 0:i.className),E={...S==null?void 0:S.style,...o==null?void 0:o.style,...u==null?void 0:u.style,...i==null?void 0:i.style},R={...S,...o,...g,...v};return w.length>0&&(R.className=w),Object.keys(E).length>0&&(R.style=E),{props:R,internalRef:S.ref}}function mD(e,n,o){return typeof e=="function"?e(n,o):e}function zw(e){var E;const{elementType:n,externalSlotProps:o,ownerState:i,skipResolvingSlotProps:u=!1,...d}=e,m=u?{}:mD(o,i),{props:v,internalRef:g}=pD({...d,externalSlotProps:m}),S=Ur(g,m==null?void 0:m.ref,(E=e.additionalProps)==null?void 0:E.ref);return ap(n,{...v,ref:S},i)}function ip(e){return!e||!F.isValidElement(e)?null:e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref}const $I=F.createContext();process.env.NODE_ENV!=="production"&&(s.node,s.bool);const Uw=()=>F.useContext($I)??!1,jI=F.createContext(void 0);process.env.NODE_ENV!=="production"&&(s.node,s.object);function VI(e){const{theme:n,name:o,props:i}=e;if(!n||!n.components||!n.components[o])return i;const u=n.components[o];return u.defaultProps?Fh(u.defaultProps,i):!u.styleOverrides&&!u.variants?Fh(u,i):i}function BI({props:e,name:n}){const o=F.useContext(jI);return VI({props:e,name:n,theme:{components:o}})}function zI(e=""){function n(...i){if(!i.length)return"";const u=i[0];return typeof u=="string"&&!u.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}-`:""}${u}${n(...i.slice(1))})`:`, ${u}`}return(i,...u)=>`var(--${e?`${e}-`:""}${i}${n(...u)})`}const hD=(e,n,o,i=[])=>{let u=e;n.forEach((d,m)=>{m===n.length-1?Array.isArray(u)?u[Number(d)]=o:u&&typeof u=="object"&&(u[d]=o):u&&typeof u=="object"&&(u[d]||(u[d]=i.includes(d)?[]:{}),u=u[d])})},UI=(e,n,o)=>{function i(u,d=[],m=[]){Object.entries(u).forEach(([v,g])=>{(!o||o&&!o([...d,v]))&&g!=null&&(typeof g=="object"&&Object.keys(g).length>0?i(g,[...d,v],Array.isArray(g)?[...m,v]:m):n([...d,v],g,m))})}i(e)},HI=(e,n)=>typeof n=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(i=>e.includes(i))||e[e.length-1].toLowerCase().includes("opacity")?n:`${n}px`:n;function Hw(e,n){const{prefix:o,shouldSkipGeneratingVar:i}=n||{},u={},d={},m={};return UI(e,(v,g,S)=>{if((typeof g=="string"||typeof g=="number")&&(!i||!i(v,g))){const w=`--${o?`${o}-`:""}${v.join("-")}`,E=HI(v,g);Object.assign(u,{[w]:E}),hD(d,v,`var(${w})`,S),hD(m,v,`var(${w}, ${E})`,S)}},v=>v[0]==="vars"),{css:u,vars:d,varsWithDefaults:m}}function WI(e,n={}){const{getSelector:o=M,disableCssColorScheme:i,colorSchemeSelector:u}=n,{colorSchemes:d={},components:m,defaultColorScheme:v="light",...g}=e,{vars:S,css:w,varsWithDefaults:E}=Hw(g,n);let R=E;const k={},{[v]:O,..._}=d;if(Object.entries(_||{}).forEach(([A,$])=>{const{vars:P,css:H,varsWithDefaults:W}=Hw($,n);R=sa(R,W),k[A]={css:H,vars:P}}),O){const{css:A,vars:$,varsWithDefaults:P}=Hw(O,n);R=sa(R,P),k[v]={css:A,vars:$}}function M(A,$){var H,W;let P=u;if(u==="class"&&(P=".%s"),u==="data"&&(P="[data-%s]"),u!=null&&u.startsWith("data-")&&!u.includes("%s")&&(P=`[${u}="%s"]`),A){if(P==="media")return e.defaultColorScheme===A?":root":{[`@media (prefers-color-scheme: ${((W=(H=d[A])==null?void 0:H.palette)==null?void 0:W.mode)||A})`]:{":root":$}};if(P)return e.defaultColorScheme===A?`:root, ${P.replace("%s",String(A))}`:P.replace("%s",String(A))}return":root"}return{vars:R,generateThemeVars:()=>{let A={...S};return Object.entries(k).forEach(([,{vars:$}])=>{A=sa(A,$)}),A},generateStyleSheets:()=>{var Y,N;const A=[],$=e.defaultColorScheme||"light";function P(K,Z){Object.keys(Z).length&&A.push(typeof K=="string"?{[K]:{...Z}}:K)}P(o(void 0,{...w}),w);const{[$]:H,...W}=k;if(H){const{css:K}=H,Z=(N=(Y=d[$])==null?void 0:Y.palette)==null?void 0:N.mode,J=!i&&Z?{colorScheme:Z,...K}:{...K};P(o($,{...J}),J)}return Object.entries(W).forEach(([K,{css:Z}])=>{var ee,ne;const J=(ne=(ee=d[K])==null?void 0:ee.palette)==null?void 0:ne.mode,X=!i&&J?{colorScheme:J,...Z}:{...Z};P(o(K,{...X}),X)}),A}}}function YI(e){return function(o){return e==="media"?(process.env.NODE_ENV!=="production"&&o!=="light"&&o!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${o}'.`),`@media (prefers-color-scheme: ${o})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${o}"] &`:e==="class"?`.${o} &`:e==="data"?`[data-${o}] &`:`${e.replace("%s",o)} &`:"&"}}const vD={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:xh.white,default:xh.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}},Ww={text:{primary:xh.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:xh.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}};function yD(e,n,o,i){const u=i.light||i,d=i.dark||i*1.5;e[n]||(e.hasOwnProperty(o)?e[n]=e[o]:n==="light"?e.light=jw(e.main,u):n==="dark"&&(e.dark=$w(e.main,d)))}function qI(e="light"){return e==="dark"?{main:Gf[200],light:Gf[50],dark:Gf[400]}:{main:Gf[700],light:Gf[400],dark:Gf[800]}}function GI(e="light"){return e==="dark"?{main:qf[200],light:qf[50],dark:qf[400]}:{main:qf[500],light:qf[300],dark:qf[700]}}function KI(e="light"){return e==="dark"?{main:Yf[500],light:Yf[300],dark:Yf[700]}:{main:Yf[700],light:Yf[400],dark:Yf[800]}}function QI(e="light"){return e==="dark"?{main:Kf[400],light:Kf[300],dark:Kf[700]}:{main:Kf[700],light:Kf[500],dark:Kf[900]}}function XI(e="light"){return e==="dark"?{main:Qf[400],light:Qf[300],dark:Qf[700]}:{main:Qf[800],light:Qf[500],dark:Qf[900]}}function ZI(e="light"){return e==="dark"?{main:wh[400],light:wh[300],dark:wh[700]}:{main:"#ed6c02",light:wh[500],dark:wh[900]}}function Yw(e){const{mode:n="light",contrastThreshold:o=3,tonalOffset:i=.2,...u}=e,d=e.primary||qI(n),m=e.secondary||GI(n),v=e.error||KI(n),g=e.info||QI(n),S=e.success||XI(n),w=e.warning||ZI(n);function E(_){const M=ZO(_,Ww.text.primary)>=o?Ww.text.primary:vD.text.primary;if(process.env.NODE_ENV!=="production"){const V=ZO(_,M);V<3&&console.error([`MUI: The contrast ratio of ${V}:1 for ${M} on ${_}`,"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(`
|
|
135
|
+
`))}return M}const R=({color:_,name:M,mainShade:V=500,lightShade:j=300,darkShade:A=700})=>{if(_={..._},!_.main&&_[V]&&(_.main=_[V]),!_.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${M?` (${M})`:""} provided to augmentColor(color) is invalid.
|
|
136
|
+
The color object needs to have a \`main\` property or a \`${V}\` property.`:nl(11,M?` (${M})`:"",V));if(typeof _.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${M?` (${M})`:""} provided to augmentColor(color) is invalid.
|
|
137
|
+
\`color.main\` should be a string, but \`${JSON.stringify(_.main)}\` was provided instead.
|
|
138
|
+
|
|
139
|
+
Did you intend to use one of the following approaches?
|
|
140
|
+
|
|
141
|
+
import { green } from "@mui/material/colors";
|
|
142
|
+
|
|
143
|
+
const theme1 = createTheme({ palette: {
|
|
144
|
+
primary: green,
|
|
145
|
+
} });
|
|
146
|
+
|
|
147
|
+
const theme2 = createTheme({ palette: {
|
|
148
|
+
primary: { main: green[500] },
|
|
149
|
+
} });`:nl(12,M?` (${M})`:"",JSON.stringify(_.main)));return yD(_,"light",j,i),yD(_,"dark",A,i),_.contrastText||(_.contrastText=E(_.main)),_},k={dark:Ww,light:vD};return process.env.NODE_ENV!=="production"&&(k[n]||console.error(`MUI: The palette mode \`${n}\` is not supported.`)),sa({common:{...xh},mode:n,primary:R({color:d,name:"primary"}),secondary:R({color:m,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:R({color:v,name:"error"}),warning:R({color:w,name:"warning"}),info:R({color:g,name:"info"}),success:R({color:S,name:"success"}),grey:XF,contrastThreshold:o,getContrastText:E,augmentColor:R,tonalOffset:i,...k[n]},u)}function JI(e){const n={};return Object.entries(e).forEach(i=>{const[u,d]=i;typeof d=="object"&&(n[u]=`${d.fontStyle?`${d.fontStyle} `:""}${d.fontVariant?`${d.fontVariant} `:""}${d.fontWeight?`${d.fontWeight} `:""}${d.fontStretch?`${d.fontStretch} `:""}${d.fontSize||""}${d.lineHeight?`/${d.lineHeight} `:""}${d.fontFamily||""}`)}),n}function e$(e,n){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...n}}function t$(e){return Math.round(e*1e5)/1e5}const gD={textTransform:"uppercase"},bD='"Roboto", "Helvetica", "Arial", sans-serif';function n$(e,n){const{fontFamily:o=bD,fontSize:i=14,fontWeightLight:u=300,fontWeightRegular:d=400,fontWeightMedium:m=500,fontWeightBold:v=700,htmlFontSize:g=16,allVariants:S,pxToRem:w,...E}=typeof n=="function"?n(e):n;process.env.NODE_ENV!=="production"&&(typeof i!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof g!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const R=i/14,k=w||(M=>`${M/g*R}rem`),O=(M,V,j,A,$)=>({fontFamily:o,fontWeight:M,fontSize:k(V),lineHeight:j,...o===bD?{letterSpacing:`${t$(A/V)}em`}:{},...$,...S}),_={h1:O(u,96,1.167,-1.5),h2:O(u,60,1.2,-.5),h3:O(d,48,1.167,0),h4:O(d,34,1.235,.25),h5:O(d,24,1.334,0),h6:O(m,20,1.6,.15),subtitle1:O(d,16,1.75,.15),subtitle2:O(m,14,1.57,.1),body1:O(d,16,1.5,.15),body2:O(d,14,1.43,.15),button:O(m,14,1.75,.4,gD),caption:O(d,12,1.66,.4),overline:O(d,12,2.66,1,gD),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return sa({htmlFontSize:g,pxToRem:k,fontFamily:o,fontSize:i,fontWeightLight:u,fontWeightRegular:d,fontWeightMedium:m,fontWeightBold:v,..._},E,{clone:!1})}const r$=.2,o$=.14,a$=.12;function Dr(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${r$})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${o$})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${a$})`].join(",")}const i$=["none",Dr(0,2,1,-1,0,1,1,0,0,1,3,0),Dr(0,3,1,-2,0,2,2,0,0,1,5,0),Dr(0,3,3,-2,0,3,4,0,0,1,8,0),Dr(0,2,4,-1,0,4,5,0,0,1,10,0),Dr(0,3,5,-1,0,5,8,0,0,1,14,0),Dr(0,3,5,-1,0,6,10,0,0,1,18,0),Dr(0,4,5,-2,0,7,10,1,0,2,16,1),Dr(0,5,5,-3,0,8,10,1,0,3,14,2),Dr(0,5,6,-3,0,9,12,1,0,3,16,2),Dr(0,6,6,-3,0,10,14,1,0,4,18,3),Dr(0,6,7,-4,0,11,15,1,0,4,20,3),Dr(0,7,8,-4,0,12,17,2,0,5,22,4),Dr(0,7,8,-4,0,13,19,2,0,5,24,4),Dr(0,7,9,-4,0,14,21,2,0,5,26,4),Dr(0,8,9,-5,0,15,22,2,0,6,28,5),Dr(0,8,10,-5,0,16,24,2,0,6,30,5),Dr(0,8,11,-5,0,17,26,2,0,6,32,5),Dr(0,9,11,-5,0,18,28,2,0,7,34,6),Dr(0,9,12,-6,0,19,29,2,0,7,36,6),Dr(0,10,13,-6,0,20,31,3,0,8,38,7),Dr(0,10,13,-6,0,21,33,3,0,8,40,7),Dr(0,10,14,-6,0,22,35,3,0,8,42,7),Dr(0,11,14,-7,0,23,36,3,0,9,44,8),Dr(0,11,15,-7,0,24,38,3,0,9,46,8)],s$={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)"},l$={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function SD(e){return`${Math.round(e)}ms`}function u$(e){if(!e)return 0;const n=e/36;return Math.min(Math.round((4+15*n**.25+n/5)*10),3e3)}function c$(e){const n={...s$,...e.easing},o={...l$,...e.duration};return{getAutoHeightDuration:u$,create:(u=["all"],d={})=>{const{duration:m=o.standard,easing:v=n.easeInOut,delay:g=0,...S}=d;if(process.env.NODE_ENV!=="production"){const w=R=>typeof R=="string",E=R=>!Number.isNaN(parseFloat(R));!w(u)&&!Array.isArray(u)&&console.error('MUI: Argument "props" must be a string or Array.'),!E(m)&&!w(m)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${m}.`),w(v)||console.error('MUI: Argument "easing" must be a string.'),!E(g)&&!w(g)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof d!="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(`
|
|
150
|
+
`)),Object.keys(S).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(S).join(",")}].`)}return(Array.isArray(u)?u:[u]).map(w=>`${w} ${typeof m=="string"?m:SD(m)} ${v} ${typeof g=="string"?g:SD(g)}`).join(",")},...e,easing:n,duration:o}}const d$={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function qw(e={},...n){const{breakpoints:o,mixins:i={},spacing:u,palette:d={},transitions:m={},typography:v={},shape:g,...S}=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.":nl(20));const w=Yw(d),E=_w(e);let R=sa(E,{mixins:e$(E.breakpoints,i),palette:w,shadows:i$.slice(),typography:n$(w,v),transitions:c$(m),zIndex:{...d$}});if(R=sa(R,S),R=n.reduce((k,O)=>sa(k,O),R),process.env.NODE_ENV!=="production"){const k=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],O=(_,M)=>{let V;for(V in _){const j=_[V];if(k.includes(V)&&Object.keys(j).length>0){if(process.env.NODE_ENV!=="production"){const A=Cn("",V);console.error([`MUI: The \`${M}\` component increases the CSS specificity of the \`${V}\` internal state.`,"You can not override it like this: ",JSON.stringify(_,null,2),"",`Instead, you need to use the '&.${A}' syntax:`,JSON.stringify({root:{[`&.${A}`]:j}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
151
|
+
`))}_[V]={}}}};Object.keys(R.components).forEach(_=>{const M=R.components[_].styleOverrides;M&&_.startsWith("Mui")&&O(M,_)})}return R.unstable_sxConfig={...Nh,...S==null?void 0:S.unstable_sxConfig},R.unstable_sx=function(O){return np({sx:O,theme:this})},R}function Gw(e){let n;return e<1?n=5.11916*e**2:n=4.5*Math.log(e+1)+2,Math.round(n*10)/1e3}const f$=[...Array(25)].map((e,n)=>{if(n===0)return"none";const o=Gw(n);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`});function xD(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function wD(e){return e==="dark"?f$:[]}function p$(e){const{palette:n={mode:"light"},opacity:o,overlays:i,...u}=e,d=Yw(n);return{palette:d,opacity:{...xD(d.mode),...o},overlays:i||wD(d.mode),...u}}function m$(e){var n;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((n=e[1])!=null&&n.match(/(mode|contrastThreshold|tonalOffset)/))}const h$=e=>[...[...Array(25)].map((n,o)=>`--${e?`${e}-`:""}overlays-${o}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],v$=e=>(n,o)=>{const i=e.colorSchemeSelector;let u=i;if(i==="class"&&(u=".%s"),i==="data"&&(u="[data-%s]"),i!=null&&i.startsWith("data-")&&!i.includes("%s")&&(u=`[${i}="%s"]`),e.defaultColorScheme===n){if(n==="dark"){const d={};return h$(e.cssVarPrefix).forEach(m=>{d[m]=o[m],delete o[m]}),u==="media"?{":root":o,"@media (prefers-color-scheme: dark)":{":root":d}}:u?{[u.replace("%s",n)]:d,[`:root, ${u.replace("%s",n)}`]:o}:{":root":{...o,...d}}}if(u&&u!=="media")return`:root, ${u.replace("%s",String(n))}`}else if(n){if(u==="media")return{[`@media (prefers-color-scheme: ${String(n)})`]:{":root":o}};if(u)return u.replace("%s",String(n))}return":root"};function y$(e){return il(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function g$(e={}){const n={...e};function o(i){const u=Object.entries(i);for(let d=0;d<u.length;d++){const[m,v]=u[d];!y$(v)||m.startsWith("unstable_")?delete i[m]:il(v)&&(i[m]={...v},o(i[m]))}}return o(n),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
152
|
+
|
|
153
|
+
const theme = ${JSON.stringify(n,null,2)};
|
|
154
|
+
|
|
155
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
156
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
157
|
+
|
|
158
|
+
export default theme;`}function b$(e,n){n.forEach(o=>{e[o]||(e[o]={})})}function Ye(e,n,o){!e[n]&&o&&(e[n]=o)}function $h(e){return!e||!e.startsWith("hsl")?e:XO(e)}function tu(e,n){`${n}Channel`in e||(e[`${n}Channel`]=Lh($h(e[n]),`MUI: Can't create \`palette.${n}Channel\` because \`palette.${n}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
159
|
+
To suppress this warning, you need to explicitly provide the \`palette.${n}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function S$(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const sl=e=>{try{return e()}catch{}},x$=(e="mui")=>zI(e);function Kw(e,n,o,i){if(!n)return;n=n===!0?{}:n;const u=i==="dark"?"dark":"light";if(!o){e[i]=p$({...n,palette:{mode:u,...n==null?void 0:n.palette}});return}const{palette:d,...m}=qw({...o,palette:{mode:u,...n==null?void 0:n.palette}});return e[i]={...n,palette:d,opacity:{...xD(u),...n==null?void 0:n.opacity},overlays:(n==null?void 0:n.overlays)||wD(u)},m}function w$(e={},...n){const{colorSchemes:o={light:!0},defaultColorScheme:i,disableCssColorScheme:u=!1,cssVarPrefix:d="mui",shouldSkipGeneratingVar:m=m$,colorSchemeSelector:v=o.light&&o.dark?"media":void 0,...g}=e,S=Object.keys(o)[0],w=i||(o.light&&S!=="light"?"light":S),E=x$(d),{[w]:R,light:k,dark:O,..._}=o,M={..._};let V=R;if((w==="dark"&&!("dark"in o)||w==="light"&&!("light"in o))&&(V=!0),!V)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${w}\` option is either missing or invalid.`:nl(21,w));const j=Kw(M,V,g,w);k&&!M.light&&Kw(M,k,void 0,"light"),O&&!M.dark&&Kw(M,O,void 0,"dark");let A={defaultColorScheme:w,...j,cssVarPrefix:d,colorSchemeSelector:v,getCssVar:E,colorSchemes:M,font:{...JI(j.typography),...j.font},spacing:S$(g.spacing)};Object.keys(A.colorSchemes).forEach(Y=>{const N=A.colorSchemes[Y].palette,K=Z=>{const J=Z.split("-"),X=J[1],ee=J[2];return E(Z,N[X][ee])};if(N.mode==="light"&&(Ye(N.common,"background","#fff"),Ye(N.common,"onBackground","#000")),N.mode==="dark"&&(Ye(N.common,"background","#000"),Ye(N.common,"onBackground","#fff")),b$(N,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),N.mode==="light"){Ye(N.Alert,"errorColor",dr(N.error.light,.6)),Ye(N.Alert,"infoColor",dr(N.info.light,.6)),Ye(N.Alert,"successColor",dr(N.success.light,.6)),Ye(N.Alert,"warningColor",dr(N.warning.light,.6)),Ye(N.Alert,"errorFilledBg",K("palette-error-main")),Ye(N.Alert,"infoFilledBg",K("palette-info-main")),Ye(N.Alert,"successFilledBg",K("palette-success-main")),Ye(N.Alert,"warningFilledBg",K("palette-warning-main")),Ye(N.Alert,"errorFilledColor",sl(()=>N.getContrastText(N.error.main))),Ye(N.Alert,"infoFilledColor",sl(()=>N.getContrastText(N.info.main))),Ye(N.Alert,"successFilledColor",sl(()=>N.getContrastText(N.success.main))),Ye(N.Alert,"warningFilledColor",sl(()=>N.getContrastText(N.warning.main))),Ye(N.Alert,"errorStandardBg",fr(N.error.light,.9)),Ye(N.Alert,"infoStandardBg",fr(N.info.light,.9)),Ye(N.Alert,"successStandardBg",fr(N.success.light,.9)),Ye(N.Alert,"warningStandardBg",fr(N.warning.light,.9)),Ye(N.Alert,"errorIconColor",K("palette-error-main")),Ye(N.Alert,"infoIconColor",K("palette-info-main")),Ye(N.Alert,"successIconColor",K("palette-success-main")),Ye(N.Alert,"warningIconColor",K("palette-warning-main")),Ye(N.AppBar,"defaultBg",K("palette-grey-100")),Ye(N.Avatar,"defaultBg",K("palette-grey-400")),Ye(N.Button,"inheritContainedBg",K("palette-grey-300")),Ye(N.Button,"inheritContainedHoverBg",K("palette-grey-A100")),Ye(N.Chip,"defaultBorder",K("palette-grey-400")),Ye(N.Chip,"defaultAvatarColor",K("palette-grey-700")),Ye(N.Chip,"defaultIconColor",K("palette-grey-700")),Ye(N.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Ye(N.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Ye(N.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Ye(N.LinearProgress,"primaryBg",fr(N.primary.main,.62)),Ye(N.LinearProgress,"secondaryBg",fr(N.secondary.main,.62)),Ye(N.LinearProgress,"errorBg",fr(N.error.main,.62)),Ye(N.LinearProgress,"infoBg",fr(N.info.main,.62)),Ye(N.LinearProgress,"successBg",fr(N.success.main,.62)),Ye(N.LinearProgress,"warningBg",fr(N.warning.main,.62)),Ye(N.Skeleton,"bg",`rgba(${K("palette-text-primaryChannel")} / 0.11)`),Ye(N.Slider,"primaryTrack",fr(N.primary.main,.62)),Ye(N.Slider,"secondaryTrack",fr(N.secondary.main,.62)),Ye(N.Slider,"errorTrack",fr(N.error.main,.62)),Ye(N.Slider,"infoTrack",fr(N.info.main,.62)),Ye(N.Slider,"successTrack",fr(N.success.main,.62)),Ye(N.Slider,"warningTrack",fr(N.warning.main,.62));const Z=mb(N.background.default,.8);Ye(N.SnackbarContent,"bg",Z),Ye(N.SnackbarContent,"color",sl(()=>N.getContrastText(Z))),Ye(N.SpeedDialAction,"fabHoverBg",mb(N.background.paper,.15)),Ye(N.StepConnector,"border",K("palette-grey-400")),Ye(N.StepContent,"border",K("palette-grey-400")),Ye(N.Switch,"defaultColor",K("palette-common-white")),Ye(N.Switch,"defaultDisabledColor",K("palette-grey-100")),Ye(N.Switch,"primaryDisabledColor",fr(N.primary.main,.62)),Ye(N.Switch,"secondaryDisabledColor",fr(N.secondary.main,.62)),Ye(N.Switch,"errorDisabledColor",fr(N.error.main,.62)),Ye(N.Switch,"infoDisabledColor",fr(N.info.main,.62)),Ye(N.Switch,"successDisabledColor",fr(N.success.main,.62)),Ye(N.Switch,"warningDisabledColor",fr(N.warning.main,.62)),Ye(N.TableCell,"border",fr(pb(N.divider,1),.88)),Ye(N.Tooltip,"bg",pb(N.grey[700],.92))}if(N.mode==="dark"){Ye(N.Alert,"errorColor",fr(N.error.light,.6)),Ye(N.Alert,"infoColor",fr(N.info.light,.6)),Ye(N.Alert,"successColor",fr(N.success.light,.6)),Ye(N.Alert,"warningColor",fr(N.warning.light,.6)),Ye(N.Alert,"errorFilledBg",K("palette-error-dark")),Ye(N.Alert,"infoFilledBg",K("palette-info-dark")),Ye(N.Alert,"successFilledBg",K("palette-success-dark")),Ye(N.Alert,"warningFilledBg",K("palette-warning-dark")),Ye(N.Alert,"errorFilledColor",sl(()=>N.getContrastText(N.error.dark))),Ye(N.Alert,"infoFilledColor",sl(()=>N.getContrastText(N.info.dark))),Ye(N.Alert,"successFilledColor",sl(()=>N.getContrastText(N.success.dark))),Ye(N.Alert,"warningFilledColor",sl(()=>N.getContrastText(N.warning.dark))),Ye(N.Alert,"errorStandardBg",dr(N.error.light,.9)),Ye(N.Alert,"infoStandardBg",dr(N.info.light,.9)),Ye(N.Alert,"successStandardBg",dr(N.success.light,.9)),Ye(N.Alert,"warningStandardBg",dr(N.warning.light,.9)),Ye(N.Alert,"errorIconColor",K("palette-error-main")),Ye(N.Alert,"infoIconColor",K("palette-info-main")),Ye(N.Alert,"successIconColor",K("palette-success-main")),Ye(N.Alert,"warningIconColor",K("palette-warning-main")),Ye(N.AppBar,"defaultBg",K("palette-grey-900")),Ye(N.AppBar,"darkBg",K("palette-background-paper")),Ye(N.AppBar,"darkColor",K("palette-text-primary")),Ye(N.Avatar,"defaultBg",K("palette-grey-600")),Ye(N.Button,"inheritContainedBg",K("palette-grey-800")),Ye(N.Button,"inheritContainedHoverBg",K("palette-grey-700")),Ye(N.Chip,"defaultBorder",K("palette-grey-700")),Ye(N.Chip,"defaultAvatarColor",K("palette-grey-300")),Ye(N.Chip,"defaultIconColor",K("palette-grey-300")),Ye(N.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Ye(N.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Ye(N.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Ye(N.LinearProgress,"primaryBg",dr(N.primary.main,.5)),Ye(N.LinearProgress,"secondaryBg",dr(N.secondary.main,.5)),Ye(N.LinearProgress,"errorBg",dr(N.error.main,.5)),Ye(N.LinearProgress,"infoBg",dr(N.info.main,.5)),Ye(N.LinearProgress,"successBg",dr(N.success.main,.5)),Ye(N.LinearProgress,"warningBg",dr(N.warning.main,.5)),Ye(N.Skeleton,"bg",`rgba(${K("palette-text-primaryChannel")} / 0.13)`),Ye(N.Slider,"primaryTrack",dr(N.primary.main,.5)),Ye(N.Slider,"secondaryTrack",dr(N.secondary.main,.5)),Ye(N.Slider,"errorTrack",dr(N.error.main,.5)),Ye(N.Slider,"infoTrack",dr(N.info.main,.5)),Ye(N.Slider,"successTrack",dr(N.success.main,.5)),Ye(N.Slider,"warningTrack",dr(N.warning.main,.5));const Z=mb(N.background.default,.98);Ye(N.SnackbarContent,"bg",Z),Ye(N.SnackbarContent,"color",sl(()=>N.getContrastText(Z))),Ye(N.SpeedDialAction,"fabHoverBg",mb(N.background.paper,.15)),Ye(N.StepConnector,"border",K("palette-grey-600")),Ye(N.StepContent,"border",K("palette-grey-600")),Ye(N.Switch,"defaultColor",K("palette-grey-300")),Ye(N.Switch,"defaultDisabledColor",K("palette-grey-600")),Ye(N.Switch,"primaryDisabledColor",dr(N.primary.main,.55)),Ye(N.Switch,"secondaryDisabledColor",dr(N.secondary.main,.55)),Ye(N.Switch,"errorDisabledColor",dr(N.error.main,.55)),Ye(N.Switch,"infoDisabledColor",dr(N.info.main,.55)),Ye(N.Switch,"successDisabledColor",dr(N.success.main,.55)),Ye(N.Switch,"warningDisabledColor",dr(N.warning.main,.55)),Ye(N.TableCell,"border",dr(pb(N.divider,1),.68)),Ye(N.Tooltip,"bg",pb(N.grey[700],.92))}tu(N.background,"default"),tu(N.background,"paper"),tu(N.common,"background"),tu(N.common,"onBackground"),tu(N,"divider"),Object.keys(N).forEach(Z=>{const J=N[Z];J&&typeof J=="object"&&(J.main&&Ye(N[Z],"mainChannel",Lh($h(J.main))),J.light&&Ye(N[Z],"lightChannel",Lh($h(J.light))),J.dark&&Ye(N[Z],"darkChannel",Lh($h(J.dark))),J.contrastText&&Ye(N[Z],"contrastTextChannel",Lh($h(J.contrastText))),Z==="text"&&(tu(N[Z],"primary"),tu(N[Z],"secondary")),Z==="action"&&(J.active&&tu(N[Z],"active"),J.selected&&tu(N[Z],"selected")))})}),A=n.reduce((Y,N)=>sa(Y,N),A);const $={prefix:d,disableCssColorScheme:u,shouldSkipGeneratingVar:m,getSelector:v$(A)},{vars:P,generateThemeVars:H,generateStyleSheets:W}=WI(A,$);return A.vars=P,Object.entries(A.colorSchemes[A.defaultColorScheme]).forEach(([Y,N])=>{A[Y]=N}),A.generateThemeVars=H,A.generateStyleSheets=W,A.generateSpacing=function(){return LO(g.spacing,Mw(this))},A.getColorSchemeSelector=YI(v),A.spacing=A.generateSpacing(),A.shouldSkipGeneratingVar=m,A.unstable_sxConfig={...Nh,...g==null?void 0:g.unstable_sxConfig},A.unstable_sx=function(N){return np({sx:N,theme:this})},A.toRuntimeSource=g$,A}function CD(e,n,o){e.colorSchemes&&o&&(e.colorSchemes[n]={...o!==!0&&o,palette:Yw({...o===!0?{}:o.palette,mode:n})})}function ED(e={},...n){const{palette:o,cssVariables:i=!1,colorSchemes:u=o?void 0:{light:!0},defaultColorScheme:d=o==null?void 0:o.mode,...m}=e,v=d||"light",g=u==null?void 0:u[v],S={...u,...o?{[v]:{...typeof g!="boolean"&&g,palette:o}}:void 0};if(i===!1){if(!("colorSchemes"in e))return qw(e,...n);let w=o;"palette"in e||S[v]&&(S[v]!==!0?w=S[v].palette:v==="dark"&&(w={mode:"dark"}));const E=qw({...e,palette:w},...n);return E.defaultColorScheme=v,E.colorSchemes=S,E.palette.mode==="light"&&(E.colorSchemes.light={...S.light!==!0&&S.light,palette:E.palette},CD(E,"dark",S.dark)),E.palette.mode==="dark"&&(E.colorSchemes.dark={...S.dark!==!0&&S.dark,palette:E.palette},CD(E,"light",S.light)),E}return!o&&!("light"in S)&&v==="light"&&(S.light=!0),w$({...m,colorSchemes:S,defaultColorScheme:v,...typeof i!="boolean"&&i},...n)}const Sb=ED();function bd(){const e=lb(Sb);return process.env.NODE_ENV!=="production"&&F.useDebugValue(e),e[Ch]||e}function br({props:e,name:n}){return xI({props:e,name:n,defaultTheme:Sb,themeId:Ch})}function TD(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const qa=e=>TD(e)&&e!=="classes",He=gI({themeId:Ch,defaultTheme:Sb,rootShouldForwardProp:qa});function RD(e){return G.jsx($O,{...e,defaultTheme:Sb,themeId:Ch})}process.env.NODE_ENV!=="production"&&(RD.propTypes={styles:s.oneOfType([s.array,s.func,s.number,s.object,s.string,s.bool])});function C$(e){return function(o){return G.jsx(RD,{styles:typeof e=="function"?i=>e({theme:i,...o}):e})}}function E$(){return jO}const OD={theme:void 0};function $n(e){let n,o;return i=>{let u=n;return(u===void 0||i.theme!==o)&&(OD.theme=i.theme,u=e(OD),n=u,o=i.theme),u}}process.env.NODE_ENV!=="production"&&(s.node,s.object.isRequired);function Fn(e){return BI(e)}function T$(e){return Cn("MuiSvgIcon",e)}un("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const R$=e=>{const{color:n,fontSize:o,classes:i}=e,u={root:["root",n!=="inherit"&&`color${ut(n)}`,`fontSize${ut(o)}`]};return Dn(u,T$,i)},O$=He("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.color!=="inherit"&&n[`color${ut(o.color)}`],n[`fontSize${ut(o.fontSize)}`]]}})($n(({theme:e})=>{var n,o,i,u,d,m,v,g,S,w,E,R,k,O;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(u=(n=e.transitions)==null?void 0:n.create)==null?void 0:u.call(n,"fill",{duration:(i=(o=(e.vars??e).transitions)==null?void 0:o.duration)==null?void 0:i.shorter}),variants:[{props:_=>!_.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((m=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:m.call(d,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((g=(v=e.typography)==null?void 0:v.pxToRem)==null?void 0:g.call(v,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((w=(S=e.typography)==null?void 0:S.pxToRem)==null?void 0:w.call(S,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,_])=>_&&_.main).map(([_])=>{var M,V;return{props:{color:_},style:{color:(V=(M=(e.vars??e).palette)==null?void 0:M[_])==null?void 0:V.main}}}),{props:{color:"action"},style:{color:(R=(E=(e.vars??e).palette)==null?void 0:E.action)==null?void 0:R.active}},{props:{color:"disabled"},style:{color:(O=(k=(e.vars??e).palette)==null?void 0:k.action)==null?void 0:O.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),jh=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiSvgIcon"}),{children:u,className:d,color:m="inherit",component:v="svg",fontSize:g="medium",htmlColor:S,inheritViewBox:w=!1,titleAccess:E,viewBox:R="0 0 24 24",...k}=i,O=F.isValidElement(u)&&u.type==="svg",_={...i,color:m,component:v,fontSize:g,instanceFontSize:n.fontSize,inheritViewBox:w,viewBox:R,hasSvgAsChild:O},M={};w||(M.viewBox=R);const V=R$(_);return G.jsxs(O$,{as:v,className:ct(V.root,d),focusable:"false",color:S,"aria-hidden":E?void 0:!0,role:E?"img":void 0,ref:o,...M,...k,...O&&u.props,ownerState:_,children:[O?u.props.children:u,E?G.jsx("title",{children:E}):null]})});process.env.NODE_ENV!=="production"&&(jh.propTypes={children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),s.string]),component:s.elementType,fontSize:s.oneOfType([s.oneOf(["inherit","large","medium","small"]),s.string]),htmlColor:s.string,inheritViewBox:s.bool,shapeRendering:s.string,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),titleAccess:s.string,viewBox:s.string}),jh&&(jh.muiName="SvgIcon");function Da(e,n){function o(i,u){return G.jsx(jh,{"data-testid":`${n}Icon`,ref:u,...i,children:e})}return process.env.NODE_ENV!=="production"&&(o.displayName=`${n}Icon`),o.muiName=jh.muiName,F.memo(F.forwardRef(o))}function Qw(e,n){if(e==null)return{};var o={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(n.includes(i))continue;o[i]=e[i]}return o}function Xw(e,n){return Xw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,i){return o.__proto__=i,o},Xw(e,n)}function Zw(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,Xw(e,n)}function D$(e,n){return e.classList?!!n&&e.classList.contains(n):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+n+" ")!==-1}function k$(e,n){e.classList?e.classList.add(n):D$(e,n)||(typeof e.className=="string"?e.className=e.className+" "+n:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+n))}function DD(e,n){return e.replace(new RegExp("(^|\\s)"+n+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function M$(e,n){e.classList?e.classList.remove(n):typeof e.className=="string"?e.className=DD(e.className,n):e.setAttribute("class",DD(e.className&&e.className.baseVal||"",n))}var Jw={exports:{}},Ga={},xb={exports:{}},eC={};/**
|
|
160
|
+
* @license React
|
|
161
|
+
* scheduler.production.min.js
|
|
162
|
+
*
|
|
163
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
164
|
+
*
|
|
165
|
+
* This source code is licensed under the MIT license found in the
|
|
166
|
+
* LICENSE file in the root directory of this source tree.
|
|
167
|
+
*/var kD;function P$(){return kD||(kD=1,function(e){function n(ae,xe){var oe=ae.length;ae.push(xe);e:for(;0<oe;){var U=oe-1>>>1,fe=ae[U];if(0<u(fe,xe))ae[U]=xe,ae[oe]=fe,oe=U;else break e}}function o(ae){return ae.length===0?null:ae[0]}function i(ae){if(ae.length===0)return null;var xe=ae[0],oe=ae.pop();if(oe!==xe){ae[0]=oe;e:for(var U=0,fe=ae.length,Pe=fe>>>1;U<Pe;){var Te=2*(U+1)-1,ue=ae[Te],we=Te+1,Ee=ae[we];if(0>u(ue,oe))we<fe&&0>u(Ee,ue)?(ae[U]=Ee,ae[we]=oe,U=we):(ae[U]=ue,ae[Te]=oe,U=Te);else if(we<fe&&0>u(Ee,oe))ae[U]=Ee,ae[we]=oe,U=we;else break e}}return xe}function u(ae,xe){var oe=ae.sortIndex-xe.sortIndex;return oe!==0?oe:ae.id-xe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var d=performance;e.unstable_now=function(){return d.now()}}else{var m=Date,v=m.now();e.unstable_now=function(){return m.now()-v}}var g=[],S=[],w=1,E=null,R=3,k=!1,O=!1,_=!1,M=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function A(ae){for(var xe=o(S);xe!==null;){if(xe.callback===null)i(S);else if(xe.startTime<=ae)i(S),xe.sortIndex=xe.expirationTime,n(g,xe);else break;xe=o(S)}}function $(ae){if(_=!1,A(ae),!O)if(o(g)!==null)O=!0,te(P);else{var xe=o(S);xe!==null&&se($,xe.startTime-ae)}}function P(ae,xe){O=!1,_&&(_=!1,V(Y),Y=-1),k=!0;var oe=R;try{for(A(xe),E=o(g);E!==null&&(!(E.expirationTime>xe)||ae&&!Z());){var U=E.callback;if(typeof U=="function"){E.callback=null,R=E.priorityLevel;var fe=U(E.expirationTime<=xe);xe=e.unstable_now(),typeof fe=="function"?E.callback=fe:E===o(g)&&i(g),A(xe)}else i(g);E=o(g)}if(E!==null)var Pe=!0;else{var Te=o(S);Te!==null&&se($,Te.startTime-xe),Pe=!1}return Pe}finally{E=null,R=oe,k=!1}}var H=!1,W=null,Y=-1,N=5,K=-1;function Z(){return!(e.unstable_now()-K<N)}function J(){if(W!==null){var ae=e.unstable_now();K=ae;var xe=!0;try{xe=W(!0,ae)}finally{xe?X():(H=!1,W=null)}}else H=!1}var X;if(typeof j=="function")X=function(){j(J)};else if(typeof MessageChannel<"u"){var ee=new MessageChannel,ne=ee.port2;ee.port1.onmessage=J,X=function(){ne.postMessage(null)}}else X=function(){M(J,0)};function te(ae){W=ae,H||(H=!0,X())}function se(ae,xe){Y=M(function(){ae(e.unstable_now())},xe)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(ae){ae.callback=null},e.unstable_continueExecution=function(){O||k||(O=!0,te(P))},e.unstable_forceFrameRate=function(ae){0>ae||125<ae?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<ae?Math.floor(1e3/ae):5},e.unstable_getCurrentPriorityLevel=function(){return R},e.unstable_getFirstCallbackNode=function(){return o(g)},e.unstable_next=function(ae){switch(R){case 1:case 2:case 3:var xe=3;break;default:xe=R}var oe=R;R=xe;try{return ae()}finally{R=oe}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(ae,xe){switch(ae){case 1:case 2:case 3:case 4:case 5:break;default:ae=3}var oe=R;R=ae;try{return xe()}finally{R=oe}},e.unstable_scheduleCallback=function(ae,xe,oe){var U=e.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?U+oe:U):oe=U,ae){case 1:var fe=-1;break;case 2:fe=250;break;case 5:fe=1073741823;break;case 4:fe=1e4;break;default:fe=5e3}return fe=oe+fe,ae={id:w++,callback:xe,priorityLevel:ae,startTime:oe,expirationTime:fe,sortIndex:-1},oe>U?(ae.sortIndex=oe,n(S,ae),o(g)===null&&ae===o(S)&&(_?(V(Y),Y=-1):_=!0,se($,oe-U))):(ae.sortIndex=fe,n(g,ae),O||k||(O=!0,te(P))),ae},e.unstable_shouldYield=Z,e.unstable_wrapCallback=function(ae){var xe=R;return function(){var oe=R;R=xe;try{return ae.apply(this,arguments)}finally{R=oe}}}}(eC)),eC}var tC={};/**
|
|
168
|
+
* @license React
|
|
169
|
+
* scheduler.development.js
|
|
170
|
+
*
|
|
171
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
172
|
+
*
|
|
173
|
+
* This source code is licensed under the MIT license found in the
|
|
174
|
+
* LICENSE file in the root directory of this source tree.
|
|
175
|
+
*/var MD;function _$(){return MD||(MD=1,function(e){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 n=!1,o=!1,i=5;function u(Be,ht){var $t=Be.length;Be.push(ht),v(Be,ht,$t)}function d(Be){return Be.length===0?null:Be[0]}function m(Be){if(Be.length===0)return null;var ht=Be[0],$t=Be.pop();return $t!==ht&&(Be[0]=$t,g(Be,$t,0)),ht}function v(Be,ht,$t){for(var tn=$t;tn>0;){var at=tn-1>>>1,kt=Be[at];if(S(kt,ht)>0)Be[at]=ht,Be[tn]=kt,tn=at;else return}}function g(Be,ht,$t){for(var tn=$t,at=Be.length,kt=at>>>1;tn<kt;){var Kt=(tn+1)*2-1,Zn=Be[Kt],Nt=Kt+1,Jn=Be[Nt];if(S(Zn,ht)<0)Nt<at&&S(Jn,Zn)<0?(Be[tn]=Jn,Be[Nt]=ht,tn=Nt):(Be[tn]=Zn,Be[Kt]=ht,tn=Kt);else if(Nt<at&&S(Jn,ht)<0)Be[tn]=Jn,Be[Nt]=ht,tn=Nt;else return}}function S(Be,ht){var $t=Be.sortIndex-ht.sortIndex;return $t!==0?$t:Be.id-ht.id}var w=1,E=2,R=3,k=4,O=5;function _(Be,ht){}var M=typeof performance=="object"&&typeof performance.now=="function";if(M){var V=performance;e.unstable_now=function(){return V.now()}}else{var j=Date,A=j.now();e.unstable_now=function(){return j.now()-A}}var $=1073741823,P=-1,H=250,W=5e3,Y=1e4,N=$,K=[],Z=[],J=1,X=null,ee=R,ne=!1,te=!1,se=!1,ae=typeof setTimeout=="function"?setTimeout:null,xe=typeof clearTimeout=="function"?clearTimeout:null,oe=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function U(Be){for(var ht=d(Z);ht!==null;){if(ht.callback===null)m(Z);else if(ht.startTime<=Be)m(Z),ht.sortIndex=ht.expirationTime,u(K,ht);else return;ht=d(Z)}}function fe(Be){if(se=!1,U(Be),!te)if(d(K)!==null)te=!0,qt(Pe);else{var ht=d(Z);ht!==null&&Mt(fe,ht.startTime-Be)}}function Pe(Be,ht){te=!1,se&&(se=!1,mn()),ne=!0;var $t=ee;try{var tn;if(!o)return Te(Be,ht)}finally{X=null,ee=$t,ne=!1}}function Te(Be,ht){var $t=ht;for(U($t),X=d(K);X!==null&&!n&&!(X.expirationTime>$t&&(!Be||ce()));){var tn=X.callback;if(typeof tn=="function"){X.callback=null,ee=X.priorityLevel;var at=X.expirationTime<=$t,kt=tn(at);$t=e.unstable_now(),typeof kt=="function"?X.callback=kt:X===d(K)&&m(K),U($t)}else m(K);X=d(K)}if(X!==null)return!0;var Kt=d(Z);return Kt!==null&&Mt(fe,Kt.startTime-$t),!1}function ue(Be,ht){switch(Be){case w:case E:case R:case k:case O:break;default:Be=R}var $t=ee;ee=Be;try{return ht()}finally{ee=$t}}function we(Be){var ht;switch(ee){case w:case E:case R:ht=R;break;default:ht=ee;break}var $t=ee;ee=ht;try{return Be()}finally{ee=$t}}function Ee(Be){var ht=ee;return function(){var $t=ee;ee=ht;try{return Be.apply(this,arguments)}finally{ee=$t}}}function me(Be,ht,$t){var tn=e.unstable_now(),at;if(typeof $t=="object"&&$t!==null){var kt=$t.delay;typeof kt=="number"&&kt>0?at=tn+kt:at=tn}else at=tn;var Kt;switch(Be){case w:Kt=P;break;case E:Kt=H;break;case O:Kt=N;break;case k:Kt=Y;break;case R:default:Kt=W;break}var Zn=at+Kt,Nt={id:J++,callback:ht,priorityLevel:Be,startTime:at,expirationTime:Zn,sortIndex:-1};return at>tn?(Nt.sortIndex=at,u(Z,Nt),d(K)===null&&Nt===d(Z)&&(se?mn():se=!0,Mt(fe,at-tn))):(Nt.sortIndex=Zn,u(K,Nt),!te&&!ne&&(te=!0,qt(Pe))),Nt}function De(){}function Ne(){!te&&!ne&&(te=!0,qt(Pe))}function je(){return d(K)}function re(Be){Be.callback=null}function Se(){return ee}var he=!1,We=null,qe=-1,tt=i,q=-1;function ce(){var Be=e.unstable_now()-q;return!(Be<tt)}function be(){}function Ve(Be){if(Be<0||Be>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Be>0?tt=Math.floor(1e3/Be):tt=i}var Ke=function(){if(We!==null){var Be=e.unstable_now();q=Be;var ht=!0,$t=!0;try{$t=We(ht,Be)}finally{$t?Oe():(he=!1,We=null)}}else he=!1},Oe;if(typeof oe=="function")Oe=function(){oe(Ke)};else if(typeof MessageChannel<"u"){var it=new MessageChannel,gt=it.port2;it.port1.onmessage=Ke,Oe=function(){gt.postMessage(null)}}else Oe=function(){ae(Ke,0)};function qt(Be){We=Be,he||(he=!0,Oe())}function Mt(Be,ht){qe=ae(function(){Be(e.unstable_now())},ht)}function mn(){xe(qe),qe=-1}var or=be,Ln=null;e.unstable_IdlePriority=O,e.unstable_ImmediatePriority=w,e.unstable_LowPriority=k,e.unstable_NormalPriority=R,e.unstable_Profiling=Ln,e.unstable_UserBlockingPriority=E,e.unstable_cancelCallback=re,e.unstable_continueExecution=Ne,e.unstable_forceFrameRate=Ve,e.unstable_getCurrentPriorityLevel=Se,e.unstable_getFirstCallbackNode=je,e.unstable_next=we,e.unstable_pauseExecution=De,e.unstable_requestPaint=or,e.unstable_runWithPriority=ue,e.unstable_scheduleCallback=me,e.unstable_shouldYield=ce,e.unstable_wrapCallback=Ee,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(tC)),tC}var PD;function _D(){return PD||(PD=1,process.env.NODE_ENV==="production"?xb.exports=P$():xb.exports=_$()),xb.exports}/**
|
|
176
|
+
* @license React
|
|
177
|
+
* react-dom.production.min.js
|
|
178
|
+
*
|
|
179
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
180
|
+
*
|
|
181
|
+
* This source code is licensed under the MIT license found in the
|
|
182
|
+
* LICENSE file in the root directory of this source tree.
|
|
183
|
+
*/var ND;function N$(){if(ND)return Ga;ND=1;var e=bh(),n=_D();function o(a){for(var l="https://reactjs.org/docs/error-decoder.html?invariant="+a,p=1;p<arguments.length;p++)l+="&args[]="+encodeURIComponent(arguments[p]);return"Minified React error #"+a+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,u={};function d(a,l){m(a,l),m(a+"Capture",l)}function m(a,l){for(u[a]=l,a=0;a<l.length;a++)i.add(l[a])}var v=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),g=Object.prototype.hasOwnProperty,S=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,w={},E={};function R(a){return g.call(E,a)?!0:g.call(w,a)?!1:S.test(a)?E[a]=!0:(w[a]=!0,!1)}function k(a,l,p,y){if(p!==null&&p.type===0)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":return y?!1:p!==null?!p.acceptsBooleans:(a=a.toLowerCase().slice(0,5),a!=="data-"&&a!=="aria-");default:return!1}}function O(a,l,p,y){if(l===null||typeof l>"u"||k(a,l,p,y))return!0;if(y)return!1;if(p!==null)switch(p.type){case 3:return!l;case 4:return l===!1;case 5:return isNaN(l);case 6:return isNaN(l)||1>l}return!1}function _(a,l,p,y,x,T,B){this.acceptsBooleans=l===2||l===3||l===4,this.attributeName=y,this.attributeNamespace=x,this.mustUseProperty=p,this.propertyName=a,this.type=l,this.sanitizeURL=T,this.removeEmptyString=B}var M={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){M[a]=new _(a,0,!1,a,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var l=a[0];M[l]=new _(l,1,!1,a[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(a){M[a]=new _(a,2,!1,a.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){M[a]=new _(a,2,!1,a,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){M[a]=new _(a,3,!1,a.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(a){M[a]=new _(a,3,!0,a,null,!1,!1)}),["capture","download"].forEach(function(a){M[a]=new _(a,4,!1,a,null,!1,!1)}),["cols","rows","size","span"].forEach(function(a){M[a]=new _(a,6,!1,a,null,!1,!1)}),["rowSpan","start"].forEach(function(a){M[a]=new _(a,5,!1,a.toLowerCase(),null,!1,!1)});var V=/[\-:]([a-z])/g;function j(a){return a[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var l=a.replace(V,j);M[l]=new _(l,1,!1,a,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var l=a.replace(V,j);M[l]=new _(l,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(a){var l=a.replace(V,j);M[l]=new _(l,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(a){M[a]=new _(a,1,!1,a.toLowerCase(),null,!1,!1)}),M.xlinkHref=new _("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(a){M[a]=new _(a,1,!1,a.toLowerCase(),null,!0,!0)});function A(a,l,p,y){var x=M.hasOwnProperty(l)?M[l]:null;(x!==null?x.type!==0:y||!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(O(l,p,x,y)&&(p=null),y||x===null?R(l)&&(p===null?a.removeAttribute(l):a.setAttribute(l,""+p)):x.mustUseProperty?a[x.propertyName]=p===null?x.type===3?!1:"":p:(l=x.attributeName,y=x.attributeNamespace,p===null?a.removeAttribute(l):(x=x.type,p=x===3||x===4&&p===!0?"":""+p,y?a.setAttributeNS(y,l,p):a.setAttribute(l,p))))}var $=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,P=Symbol.for("react.element"),H=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),K=Symbol.for("react.provider"),Z=Symbol.for("react.context"),J=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),ee=Symbol.for("react.suspense_list"),ne=Symbol.for("react.memo"),te=Symbol.for("react.lazy"),se=Symbol.for("react.offscreen"),ae=Symbol.iterator;function xe(a){return a===null||typeof a!="object"?null:(a=ae&&a[ae]||a["@@iterator"],typeof a=="function"?a:null)}var oe=Object.assign,U;function fe(a){if(U===void 0)try{throw Error()}catch(p){var l=p.stack.trim().match(/\n( *(at )?)/);U=l&&l[1]||""}return`
|
|
184
|
+
`+U+a}var Pe=!1;function Te(a,l){if(!a||Pe)return"";Pe=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(l)if(l=function(){throw Error()},Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(l,[])}catch(Le){var y=Le}Reflect.construct(a,[],l)}else{try{l.call()}catch(Le){y=Le}a.call(l.prototype)}else{try{throw Error()}catch(Le){y=Le}a()}}catch(Le){if(Le&&y&&typeof Le.stack=="string"){for(var x=Le.stack.split(`
|
|
185
|
+
`),T=y.stack.split(`
|
|
186
|
+
`),B=x.length-1,ie=T.length-1;1<=B&&0<=ie&&x[B]!==T[ie];)ie--;for(;1<=B&&0<=ie;B--,ie--)if(x[B]!==T[ie]){if(B!==1||ie!==1)do if(B--,ie--,0>ie||x[B]!==T[ie]){var pe=`
|
|
187
|
+
`+x[B].replace(" at new "," at ");return a.displayName&&pe.includes("<anonymous>")&&(pe=pe.replace("<anonymous>",a.displayName)),pe}while(1<=B&&0<=ie);break}}}finally{Pe=!1,Error.prepareStackTrace=p}return(a=a?a.displayName||a.name:"")?fe(a):""}function ue(a){switch(a.tag){case 5:return fe(a.type);case 16:return fe("Lazy");case 13:return fe("Suspense");case 19:return fe("SuspenseList");case 0:case 2:case 15:return a=Te(a.type,!1),a;case 11:return a=Te(a.type.render,!1),a;case 1:return a=Te(a.type,!0),a;default:return""}}function we(a){if(a==null)return null;if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case W:return"Fragment";case H:return"Portal";case N:return"Profiler";case Y:return"StrictMode";case X:return"Suspense";case ee:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case Z:return(a.displayName||"Context")+".Consumer";case K:return(a._context.displayName||"Context")+".Provider";case J:var l=a.render;return a=a.displayName,a||(a=l.displayName||l.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case ne:return l=a.displayName||null,l!==null?l:we(a.type)||"Memo";case te:l=a._payload,a=a._init;try{return we(a(l))}catch{}}return null}function Ee(a){var l=a.type;switch(a.tag){case 24:return"Cache";case 9:return(l.displayName||"Context")+".Consumer";case 10:return(l._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=l.render,a=a.displayName||a.name||"",l.displayName||(a!==""?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 5:return l;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return we(l);case 8:return l===Y?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l}return null}function me(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function De(a){var l=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Ne(a){var l=De(a)?"checked":"value",p=Object.getOwnPropertyDescriptor(a.constructor.prototype,l),y=""+a[l];if(!a.hasOwnProperty(l)&&typeof p<"u"&&typeof p.get=="function"&&typeof p.set=="function"){var x=p.get,T=p.set;return Object.defineProperty(a,l,{configurable:!0,get:function(){return x.call(this)},set:function(B){y=""+B,T.call(this,B)}}),Object.defineProperty(a,l,{enumerable:p.enumerable}),{getValue:function(){return y},setValue:function(B){y=""+B},stopTracking:function(){a._valueTracker=null,delete a[l]}}}}function je(a){a._valueTracker||(a._valueTracker=Ne(a))}function re(a){if(!a)return!1;var l=a._valueTracker;if(!l)return!0;var p=l.getValue(),y="";return a&&(y=De(a)?a.checked?"true":"false":a.value),a=y,a!==p?(l.setValue(a),!0):!1}function Se(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}function he(a,l){var p=l.checked;return oe({},l,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:p??a._wrapperState.initialChecked})}function We(a,l){var p=l.defaultValue==null?"":l.defaultValue,y=l.checked!=null?l.checked:l.defaultChecked;p=me(l.value!=null?l.value:p),a._wrapperState={initialChecked:y,initialValue:p,controlled:l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null}}function qe(a,l){l=l.checked,l!=null&&A(a,"checked",l,!1)}function tt(a,l){qe(a,l);var p=me(l.value),y=l.type;if(p!=null)y==="number"?(p===0&&a.value===""||a.value!=p)&&(a.value=""+p):a.value!==""+p&&(a.value=""+p);else if(y==="submit"||y==="reset"){a.removeAttribute("value");return}l.hasOwnProperty("value")?ce(a,l.type,p):l.hasOwnProperty("defaultValue")&&ce(a,l.type,me(l.defaultValue)),l.checked==null&&l.defaultChecked!=null&&(a.defaultChecked=!!l.defaultChecked)}function q(a,l,p){if(l.hasOwnProperty("value")||l.hasOwnProperty("defaultValue")){var y=l.type;if(!(y!=="submit"&&y!=="reset"||l.value!==void 0&&l.value!==null))return;l=""+a._wrapperState.initialValue,p||l===a.value||(a.value=l),a.defaultValue=l}p=a.name,p!==""&&(a.name=""),a.defaultChecked=!!a._wrapperState.initialChecked,p!==""&&(a.name=p)}function ce(a,l,p){(l!=="number"||Se(a.ownerDocument)!==a)&&(p==null?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+p&&(a.defaultValue=""+p))}var be=Array.isArray;function Ve(a,l,p,y){if(a=a.options,l){l={};for(var x=0;x<p.length;x++)l["$"+p[x]]=!0;for(p=0;p<a.length;p++)x=l.hasOwnProperty("$"+a[p].value),a[p].selected!==x&&(a[p].selected=x),x&&y&&(a[p].defaultSelected=!0)}else{for(p=""+me(p),l=null,x=0;x<a.length;x++){if(a[x].value===p){a[x].selected=!0,y&&(a[x].defaultSelected=!0);return}l!==null||a[x].disabled||(l=a[x])}l!==null&&(l.selected=!0)}}function Ke(a,l){if(l.dangerouslySetInnerHTML!=null)throw Error(o(91));return oe({},l,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function Oe(a,l){var p=l.value;if(p==null){if(p=l.children,l=l.defaultValue,p!=null){if(l!=null)throw Error(o(92));if(be(p)){if(1<p.length)throw Error(o(93));p=p[0]}l=p}l==null&&(l=""),p=l}a._wrapperState={initialValue:me(p)}}function it(a,l){var p=me(l.value),y=me(l.defaultValue);p!=null&&(p=""+p,p!==a.value&&(a.value=p),l.defaultValue==null&&a.defaultValue!==p&&(a.defaultValue=p)),y!=null&&(a.defaultValue=""+y)}function gt(a){var l=a.textContent;l===a._wrapperState.initialValue&&l!==""&&l!==null&&(a.value=l)}function qt(a){switch(a){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Mt(a,l){return a==null||a==="http://www.w3.org/1999/xhtml"?qt(l):a==="http://www.w3.org/2000/svg"&&l==="foreignObject"?"http://www.w3.org/1999/xhtml":a}var mn,or=function(a){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(l,p,y,x){MSApp.execUnsafeLocalFunction(function(){return a(l,p,y,x)})}:a}(function(a,l){if(a.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in a)a.innerHTML=l;else{for(mn=mn||document.createElement("div"),mn.innerHTML="<svg>"+l.valueOf().toString()+"</svg>",l=mn.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}});function Ln(a,l){if(l){var p=a.firstChild;if(p&&p===a.lastChild&&p.nodeType===3){p.nodeValue=l;return}}a.textContent=l}var Be={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ht=["Webkit","ms","Moz","O"];Object.keys(Be).forEach(function(a){ht.forEach(function(l){l=l+a.charAt(0).toUpperCase()+a.substring(1),Be[l]=Be[a]})});function $t(a,l,p){return l==null||typeof l=="boolean"||l===""?"":p||typeof l!="number"||l===0||Be.hasOwnProperty(a)&&Be[a]?(""+l).trim():l+"px"}function tn(a,l){a=a.style;for(var p in l)if(l.hasOwnProperty(p)){var y=p.indexOf("--")===0,x=$t(p,l[p],y);p==="float"&&(p="cssFloat"),y?a.setProperty(p,x):a[p]=x}}var at=oe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function kt(a,l){if(l){if(at[a]&&(l.children!=null||l.dangerouslySetInnerHTML!=null))throw Error(o(137,a));if(l.dangerouslySetInnerHTML!=null){if(l.children!=null)throw Error(o(60));if(typeof l.dangerouslySetInnerHTML!="object"||!("__html"in l.dangerouslySetInnerHTML))throw Error(o(61))}if(l.style!=null&&typeof l.style!="object")throw Error(o(62))}}function Kt(a,l){if(a.indexOf("-")===-1)return typeof l.is=="string";switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Zn=null;function Nt(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var Jn=null,hn=null,an=null;function Ma(a){if(a=nf(a)){if(typeof Jn!="function")throw Error(o(280));var l=a.stateNode;l&&(l=jt(l),Jn(a.stateNode,a.type,l))}}function Ho(a){hn?an?an.push(a):an=[a]:hn=a}function Pi(){if(hn){var a=hn,l=an;if(an=hn=null,Ma(a),l)for(a=0;a<l.length;a++)Ma(l[a])}}function ns(a,l){return a(l)}function Zt(){}var Lr=!1;function vl(a,l,p){if(Lr)return a(l,p);Lr=!0;try{return ns(a,l,p)}finally{Lr=!1,(hn!==null||an!==null)&&(Zt(),Pi())}}function Pa(a,l){var p=a.stateNode;if(p===null)return null;var y=jt(p);if(y===null)return null;p=y[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(y=!y.disabled)||(a=a.type,y=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!y;break e;default:a=!1}if(a)return null;if(p&&typeof p!="function")throw Error(o(231,l,typeof p));return p}var rs=!1;if(v)try{var _a={};Object.defineProperty(_a,"passive",{get:function(){rs=!0}}),window.addEventListener("test",_a,_a),window.removeEventListener("test",_a,_a)}catch{rs=!1}function _i(a,l,p,y,x,T,B,ie,pe){var Le=Array.prototype.slice.call(arguments,3);try{l.apply(p,Le)}catch(Je){this.onError(Je)}}var Wo=!1,Na=null,os=!1,as=null,de={onError:function(a){Wo=!0,Na=a}};function Ze(a,l,p,y,x,T,B,ie,pe){Wo=!1,Na=null,_i.apply(de,arguments)}function ot(a,l,p,y,x,T,B,ie,pe){if(Ze.apply(this,arguments),Wo){if(Wo){var Le=Na;Wo=!1,Na=null}else throw Error(o(198));os||(os=!0,as=Le)}}function At(a){var l=a,p=a;if(a.alternate)for(;l.return;)l=l.return;else{a=l;do l=a,l.flags&4098&&(p=l.return),a=l.return;while(a)}return l.tag===3?p:null}function vn(a){if(a.tag===13){var l=a.memoizedState;if(l===null&&(a=a.alternate,a!==null&&(l=a.memoizedState)),l!==null)return l.dehydrated}return null}function Sn(a){if(At(a)!==a)throw Error(o(188))}function zt(a){var l=a.alternate;if(!l){if(l=At(a),l===null)throw Error(o(188));return l!==a?null:a}for(var p=a,y=l;;){var x=p.return;if(x===null)break;var T=x.alternate;if(T===null){if(y=x.return,y!==null){p=y;continue}break}if(x.child===T.child){for(T=x.child;T;){if(T===p)return Sn(x),a;if(T===y)return Sn(x),l;T=T.sibling}throw Error(o(188))}if(p.return!==y.return)p=x,y=T;else{for(var B=!1,ie=x.child;ie;){if(ie===p){B=!0,p=x,y=T;break}if(ie===y){B=!0,y=x,p=T;break}ie=ie.sibling}if(!B){for(ie=T.child;ie;){if(ie===p){B=!0,p=T,y=x;break}if(ie===y){B=!0,y=T,p=x;break}ie=ie.sibling}if(!B)throw Error(o(189))}}if(p.alternate!==y)throw Error(o(190))}if(p.tag!==3)throw Error(o(188));return p.stateNode.current===p?a:l}function sn(a){return a=zt(a),a!==null?Xr(a):null}function Xr(a){if(a.tag===5||a.tag===6)return a;for(a=a.child;a!==null;){var l=Xr(a);if(l!==null)return l;a=a.sibling}return null}var ar=n.unstable_scheduleCallback,mr=n.unstable_cancelCallback,Io=n.unstable_shouldYield,is=n.unstable_requestPaint,Mn=n.unstable_now,vo=n.unstable_getCurrentPriorityLevel,Yo=n.unstable_ImmediatePriority,ln=n.unstable_UserBlockingPriority,ti=n.unstable_NormalPriority,yl=n.unstable_LowPriority,sc=n.unstable_IdlePriority,gl=null,la=null;function jd(a){if(la&&typeof la.onCommitFiberRoot=="function")try{la.onCommitFiberRoot(gl,a,void 0,(a.current.flags&128)===128)}catch{}}var qo=Math.clz32?Math.clz32:Op,Vd=Math.log,Bd=Math.LN2;function Op(a){return a>>>=0,a===0?32:31-(Vd(a)/Bd|0)|0}var lc=64,bl=4194304;function Ni(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}}function Go(a,l){var p=a.pendingLanes;if(p===0)return 0;var y=0,x=a.suspendedLanes,T=a.pingedLanes,B=p&268435455;if(B!==0){var ie=B&~x;ie!==0?y=Ni(ie):(T&=B,T!==0&&(y=Ni(T)))}else B=p&~x,B!==0?y=Ni(B):T!==0&&(y=Ni(T));if(y===0)return 0;if(l!==0&&l!==y&&!(l&x)&&(x=y&-y,T=l&-l,x>=T||x===16&&(T&4194240)!==0))return l;if(y&4&&(y|=p&16),l=a.entangledLanes,l!==0)for(a=a.entanglements,l&=y;0<l;)p=31-qo(l),x=1<<p,y|=a[p],l&=~x;return y}function Sl(a,l){switch(a){case 1:case 2:case 4:return l+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function xl(a,l){for(var p=a.suspendedLanes,y=a.pingedLanes,x=a.expirationTimes,T=a.pendingLanes;0<T;){var B=31-qo(T),ie=1<<B,pe=x[B];pe===-1?(!(ie&p)||ie&y)&&(x[B]=Sl(ie,l)):pe<=l&&(a.expiredLanes|=ie),T&=~ie}}function wl(a){return a=a.pendingLanes&-1073741825,a!==0?a:a&1073741824?1073741824:0}function uc(){var a=lc;return lc<<=1,!(lc&4194240)&&(lc=64),a}function cc(a){for(var l=[],p=0;31>p;p++)l.push(a);return l}function Os(a,l,p){a.pendingLanes|=l,l!==536870912&&(a.suspendedLanes=0,a.pingedLanes=0),a=a.eventTimes,l=31-qo(l),a[l]=p}function jv(a,l){var p=a.pendingLanes&~l;a.pendingLanes=l,a.suspendedLanes=0,a.pingedLanes=0,a.expiredLanes&=l,a.mutableReadLanes&=l,a.entangledLanes&=l,l=a.entanglements;var y=a.eventTimes;for(a=a.expirationTimes;0<p;){var x=31-qo(p),T=1<<x;l[x]=0,y[x]=-1,a[x]=-1,p&=~T}}function ss(a,l){var p=a.entangledLanes|=l;for(a=a.entanglements;p;){var y=31-qo(p),x=1<<y;x&l|a[y]&l&&(a[y]|=l),p&=~x}}var Pn=0;function dc(a){return a&=-a,1<a?4<a?a&268435455?16:536870912:4:1}var du,fc,xn,pc,mc,Jt=!1,fu=[],Er=null,ua=null,Ko=null,Cl=new Map,Mr=new Map,jn=[],Dp="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ca(a,l){switch(a){case"focusin":case"focusout":Er=null;break;case"dragenter":case"dragleave":ua=null;break;case"mouseover":case"mouseout":Ko=null;break;case"pointerover":case"pointerout":Cl.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mr.delete(l.pointerId)}}function yo(a,l,p,y,x,T){return a===null||a.nativeEvent!==T?(a={blockedOn:l,domEventName:p,eventSystemFlags:y,nativeEvent:T,targetContainers:[x]},l!==null&&(l=nf(l),l!==null&&fc(l)),a):(a.eventSystemFlags|=y,l=a.targetContainers,x!==null&&l.indexOf(x)===-1&&l.push(x),a)}function ls(a,l,p,y,x){switch(l){case"focusin":return Er=yo(Er,a,l,p,y,x),!0;case"dragenter":return ua=yo(ua,a,l,p,y,x),!0;case"mouseover":return Ko=yo(Ko,a,l,p,y,x),!0;case"pointerover":var T=x.pointerId;return Cl.set(T,yo(Cl.get(T)||null,a,l,p,y,x)),!0;case"gotpointercapture":return T=x.pointerId,Mr.set(T,yo(Mr.get(T)||null,a,l,p,y,x)),!0}return!1}function kp(a){var l=ai(a.target);if(l!==null){var p=At(l);if(p!==null){if(l=p.tag,l===13){if(l=vn(p),l!==null){a.blockedOn=l,mc(a.priority,function(){xn(p)});return}}else if(l===3&&p.stateNode.current.memoizedState.isDehydrated){a.blockedOn=p.tag===3?p.stateNode.containerInfo:null;return}}}a.blockedOn=null}function Ds(a){if(a.blockedOn!==null)return!1;for(var l=a.targetContainers;0<l.length;){var p=vc(a.domEventName,a.eventSystemFlags,l[0],a.nativeEvent);if(p===null){p=a.nativeEvent;var y=new p.constructor(p.type,p);Zn=y,p.target.dispatchEvent(y),Zn=null}else return l=nf(p),l!==null&&fc(l),a.blockedOn=p,!1;l.shift()}return!0}function El(a,l,p){Ds(a)&&p.delete(l)}function Mp(){Jt=!1,Er!==null&&Ds(Er)&&(Er=null),ua!==null&&Ds(ua)&&(ua=null),Ko!==null&&Ds(Ko)&&(Ko=null),Cl.forEach(El),Mr.forEach(El)}function ni(a,l){a.blockedOn===l&&(a.blockedOn=null,Jt||(Jt=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Mp)))}function Tl(a){function l(x){return ni(x,a)}if(0<fu.length){ni(fu[0],a);for(var p=1;p<fu.length;p++){var y=fu[p];y.blockedOn===a&&(y.blockedOn=null)}}for(Er!==null&&ni(Er,a),ua!==null&&ni(ua,a),Ko!==null&&ni(Ko,a),Cl.forEach(l),Mr.forEach(l),p=0;p<jn.length;p++)y=jn[p],y.blockedOn===a&&(y.blockedOn=null);for(;0<jn.length&&(p=jn[0],p.blockedOn===null);)kp(p),p.blockedOn===null&&jn.shift()}var ks=$.ReactCurrentBatchConfig,ri=!0;function hc(a,l,p,y){var x=Pn,T=ks.transition;ks.transition=null;try{Pn=1,Ol(a,l,p,y)}finally{Pn=x,ks.transition=T}}function Rl(a,l,p,y){var x=Pn,T=ks.transition;ks.transition=null;try{Pn=4,Ol(a,l,p,y)}finally{Pn=x,ks.transition=T}}function Ol(a,l,p,y){if(ri){var x=vc(a,l,p,y);if(x===null)jp(a,l,y,pu,p),ca(a,y);else if(ls(x,a,l,p,y))y.stopPropagation();else if(ca(a,y),l&4&&-1<Dp.indexOf(a)){for(;x!==null;){var T=nf(x);if(T!==null&&du(T),T=vc(a,l,p,y),T===null&&jp(a,l,y,pu,p),T===x)break;x=T}x!==null&&y.stopPropagation()}else jp(a,l,y,null,p)}}var pu=null;function vc(a,l,p,y){if(pu=null,a=Nt(y),a=ai(a),a!==null)if(l=At(a),l===null)a=null;else if(p=l.tag,p===13){if(a=vn(l),a!==null)return a;a=null}else if(p===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;a=null}else l!==a&&(a=null);return pu=a,null}function zd(a){switch(a){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(vo()){case Yo:return 1;case ln:return 4;case ti:case yl:return 16;case sc:return 536870912;default:return 16}default:return 16}}var Ai=null,I=null,le=null;function Fe(){if(le)return le;var a,l=I,p=l.length,y,x="value"in Ai?Ai.value:Ai.textContent,T=x.length;for(a=0;a<p&&l[a]===x[a];a++);var B=p-a;for(y=1;y<=B&&l[p-y]===x[T-y];y++);return le=x.slice(a,1<y?1-y:void 0)}function $e(a){var l=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&l===13&&(a=13)):a=l,a===10&&(a=13),32<=a||a===13?a:0}function st(){return!0}function Ut(){return!1}function mt(a){function l(p,y,x,T,B){this._reactName=p,this._targetInst=x,this.type=y,this.nativeEvent=T,this.target=B,this.currentTarget=null;for(var ie in a)a.hasOwnProperty(ie)&&(p=a[ie],this[ie]=p?p(T):T[ie]);return this.isDefaultPrevented=(T.defaultPrevented!=null?T.defaultPrevented:T.returnValue===!1)?st:Ut,this.isPropagationStopped=Ut,this}return oe(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var p=this.nativeEvent;p&&(p.preventDefault?p.preventDefault():typeof p.returnValue!="unknown"&&(p.returnValue=!1),this.isDefaultPrevented=st)},stopPropagation:function(){var p=this.nativeEvent;p&&(p.stopPropagation?p.stopPropagation():typeof p.cancelBubble!="unknown"&&(p.cancelBubble=!0),this.isPropagationStopped=st)},persist:function(){},isPersistent:st}),l}var Bt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fn=mt(Bt),On=oe({},Bt,{view:0,detail:0}),ir=mt(On),Wn,sr,ur,wn=oe({},On,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Hv,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==ur&&(ur&&a.type==="mousemove"?(Wn=a.screenX-ur.screenX,sr=a.screenY-ur.screenY):sr=Wn=0,ur=a),Wn)},movementY:function(a){return"movementY"in a?a.movementY:sr}}),Ms=mt(wn),yc=oe({},wn,{dataTransfer:0}),Ud=mt(yc),Vv=oe({},On,{relatedTarget:0}),Fi=mt(Vv),Hd=oe({},Bt,{animationName:0,elapsedTime:0,pseudoElement:0}),Wd=mt(Hd),Bv=oe({},Bt,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),gE=mt(Bv),bE=oe({},Bt,{data:0}),zv=mt(bE),Uv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},x0={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},w0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function C0(a){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(a):(a=w0[a])?!!l[a]:!1}function Hv(){return C0}var Ps=oe({},On,{key:function(a){if(a.key){var l=Uv[a.key]||a.key;if(l!=="Unidentified")return l}return a.type==="keypress"?(a=$e(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?x0[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Hv,charCode:function(a){return a.type==="keypress"?$e(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?$e(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),SE=mt(Ps),Wv=oe({},wn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Pp=mt(Wv),Yv=oe({},On,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Hv}),xE=mt(Yv),_p=oe({},Bt,{propertyName:0,elapsedTime:0,pseudoElement:0}),E0=mt(_p),da=oe({},wn,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),_s=mt(da),Zr=[9,13,27,32],Li=v&&"CompositionEvent"in window,mu=null;v&&"documentMode"in document&&(mu=document.documentMode);var Np=v&&"TextEvent"in window&&!mu,T0=v&&(!Li||mu&&8<mu&&11>=mu),gc=" ",R0=!1;function O0(a,l){switch(a){case"keyup":return Zr.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ap(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var bc=!1;function wE(a,l){switch(a){case"compositionend":return Ap(l);case"keypress":return l.which!==32?null:(R0=!0,gc);case"textInput":return a=l.data,a===gc&&R0?null:a;default:return null}}function CE(a,l){if(bc)return a==="compositionend"||!Li&&O0(a,l)?(a=Fe(),le=I=Ai=null,bc=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return T0&&l.locale!=="ko"?null:l.data;default:return null}}var D0={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function k0(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l==="input"?!!D0[a.type]:l==="textarea"}function M0(a,l,p,y){Ho(y),l=Jd(l,"onChange"),0<l.length&&(p=new fn("onChange","change",null,p,y),a.push({event:p,listeners:l}))}var Yd=null,Sc=null;function xc(a){$p(a,0)}function wc(a){var l=Ec(a);if(re(l))return a}function P0(a,l){if(a==="change")return l}var qv=!1;if(v){var Gv;if(v){var Kv="oninput"in document;if(!Kv){var _0=document.createElement("div");_0.setAttribute("oninput","return;"),Kv=typeof _0.oninput=="function"}Gv=Kv}else Gv=!1;qv=Gv&&(!document.documentMode||9<document.documentMode)}function N0(){Yd&&(Yd.detachEvent("onpropertychange",A0),Sc=Yd=null)}function A0(a){if(a.propertyName==="value"&&wc(Sc)){var l=[];M0(l,Sc,a,Nt(a)),vl(xc,l)}}function EE(a,l,p){a==="focusin"?(N0(),Yd=l,Sc=p,Yd.attachEvent("onpropertychange",A0)):a==="focusout"&&N0()}function TE(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return wc(Sc)}function RE(a,l){if(a==="click")return wc(l)}function F0(a,l){if(a==="input"||a==="change")return wc(l)}function OE(a,l){return a===l&&(a!==0||1/a===1/l)||a!==a&&l!==l}var oi=typeof Object.is=="function"?Object.is:OE;function qd(a,l){if(oi(a,l))return!0;if(typeof a!="object"||a===null||typeof l!="object"||l===null)return!1;var p=Object.keys(a),y=Object.keys(l);if(p.length!==y.length)return!1;for(y=0;y<p.length;y++){var x=p[y];if(!g.call(l,x)||!oi(a[x],l[x]))return!1}return!0}function L0(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function I0(a,l){var p=L0(a);a=0;for(var y;p;){if(p.nodeType===3){if(y=a+p.textContent.length,a<=l&&y>=l)return{node:p,offset:l-a};a=y}e:{for(;p;){if(p.nextSibling){p=p.nextSibling;break e}p=p.parentNode}p=void 0}p=L0(p)}}function $0(a,l){return a&&l?a===l?!0:a&&a.nodeType===3?!1:l&&l.nodeType===3?$0(a,l.parentNode):"contains"in a?a.contains(l):a.compareDocumentPosition?!!(a.compareDocumentPosition(l)&16):!1:!1}function Fp(){for(var a=window,l=Se();l instanceof a.HTMLIFrameElement;){try{var p=typeof l.contentWindow.location.href=="string"}catch{p=!1}if(p)a=l.contentWindow;else break;l=Se(a.document)}return l}function Ns(a){var l=a&&a.nodeName&&a.nodeName.toLowerCase();return l&&(l==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||l==="textarea"||a.contentEditable==="true")}function Lp(a){var l=Fp(),p=a.focusedElem,y=a.selectionRange;if(l!==p&&p&&p.ownerDocument&&$0(p.ownerDocument.documentElement,p)){if(y!==null&&Ns(p)){if(l=y.start,a=y.end,a===void 0&&(a=l),"selectionStart"in p)p.selectionStart=l,p.selectionEnd=Math.min(a,p.value.length);else if(a=(l=p.ownerDocument||document)&&l.defaultView||window,a.getSelection){a=a.getSelection();var x=p.textContent.length,T=Math.min(y.start,x);y=y.end===void 0?T:Math.min(y.end,x),!a.extend&&T>y&&(x=y,y=T,T=x),x=I0(p,T);var B=I0(p,y);x&&B&&(a.rangeCount!==1||a.anchorNode!==x.node||a.anchorOffset!==x.offset||a.focusNode!==B.node||a.focusOffset!==B.offset)&&(l=l.createRange(),l.setStart(x.node,x.offset),a.removeAllRanges(),T>y?(a.addRange(l),a.extend(B.node,B.offset)):(l.setEnd(B.node,B.offset),a.addRange(l)))}}for(l=[],a=p;a=a.parentNode;)a.nodeType===1&&l.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof p.focus=="function"&&p.focus(),p=0;p<l.length;p++)a=l[p],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}var j0=v&&"documentMode"in document&&11>=document.documentMode,Ii=null,Qv=null,Gd=null,Xv=!1;function V0(a,l,p){var y=p.window===p?p.document:p.nodeType===9?p:p.ownerDocument;Xv||Ii==null||Ii!==Se(y)||(y=Ii,"selectionStart"in y&&Ns(y)?y={start:y.selectionStart,end:y.selectionEnd}:(y=(y.ownerDocument&&y.ownerDocument.defaultView||window).getSelection(),y={anchorNode:y.anchorNode,anchorOffset:y.anchorOffset,focusNode:y.focusNode,focusOffset:y.focusOffset}),Gd&&qd(Gd,y)||(Gd=y,y=Jd(Qv,"onSelect"),0<y.length&&(l=new fn("onSelect","select",null,l,p),a.push({event:l,listeners:y}),l.target=Ii)))}function Ip(a,l){var p={};return p[a.toLowerCase()]=l.toLowerCase(),p["Webkit"+a]="webkit"+l,p["Moz"+a]="moz"+l,p}var hu={animationend:Ip("Animation","AnimationEnd"),animationiteration:Ip("Animation","AnimationIteration"),animationstart:Ip("Animation","AnimationStart"),transitionend:Ip("Transition","TransitionEnd")},Zv={},Jv={};v&&(Jv=document.createElement("div").style,"AnimationEvent"in window||(delete hu.animationend.animation,delete hu.animationiteration.animation,delete hu.animationstart.animation),"TransitionEvent"in window||delete hu.transitionend.transition);function go(a){if(Zv[a])return Zv[a];if(!hu[a])return a;var l=hu[a],p;for(p in l)if(l.hasOwnProperty(p)&&p in Jv)return Zv[a]=l[p];return a}var ey=go("animationend"),B0=go("animationiteration"),z0=go("animationstart"),U0=go("transitionend"),H0=new Map,W0="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function As(a,l){H0.set(a,l),d(l,[a])}for(var Kd=0;Kd<W0.length;Kd++){var vu=W0[Kd],DE=vu.toLowerCase(),Qd=vu[0].toUpperCase()+vu.slice(1);As(DE,"on"+Qd)}As(ey,"onAnimationEnd"),As(B0,"onAnimationIteration"),As(z0,"onAnimationStart"),As("dblclick","onDoubleClick"),As("focusin","onFocus"),As("focusout","onBlur"),As(U0,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),d("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),d("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),d("onBeforeInput",["compositionend","keypress","textInput","paste"]),d("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xd="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),kE=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xd));function Y0(a,l,p){var y=a.type||"unknown-event";a.currentTarget=p,ot(y,l,void 0,a),a.currentTarget=null}function $p(a,l){l=(l&4)!==0;for(var p=0;p<a.length;p++){var y=a[p],x=y.event;y=y.listeners;e:{var T=void 0;if(l)for(var B=y.length-1;0<=B;B--){var ie=y[B],pe=ie.instance,Le=ie.currentTarget;if(ie=ie.listener,pe!==T&&x.isPropagationStopped())break e;Y0(x,ie,Le),T=pe}else for(B=0;B<y.length;B++){if(ie=y[B],pe=ie.instance,Le=ie.currentTarget,ie=ie.listener,pe!==T&&x.isPropagationStopped())break e;Y0(x,ie,Le),T=pe}}}if(os)throw a=as,os=!1,as=null,a}function lr(a,l){var p=l[sy];p===void 0&&(p=l[sy]=new Set);var y=a+"__bubble";p.has(y)||(q0(l,a,2,!1),p.add(y))}function Dl(a,l,p){var y=0;l&&(y|=4),q0(p,a,y,l)}var Fs="_reactListening"+Math.random().toString(36).slice(2);function Cc(a){if(!a[Fs]){a[Fs]=!0,i.forEach(function(p){p!=="selectionchange"&&(kE.has(p)||Dl(p,!1,a),Dl(p,!0,a))});var l=a.nodeType===9?a:a.ownerDocument;l===null||l[Fs]||(l[Fs]=!0,Dl("selectionchange",!1,l))}}function q0(a,l,p,y){switch(zd(l)){case 1:var x=hc;break;case 4:x=Rl;break;default:x=Ol}p=x.bind(null,l,p,a),x=void 0,!rs||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(x=!0),y?x!==void 0?a.addEventListener(l,p,{capture:!0,passive:x}):a.addEventListener(l,p,!0):x!==void 0?a.addEventListener(l,p,{passive:x}):a.addEventListener(l,p,!1)}function jp(a,l,p,y,x){var T=y;if(!(l&1)&&!(l&2)&&y!==null)e:for(;;){if(y===null)return;var B=y.tag;if(B===3||B===4){var ie=y.stateNode.containerInfo;if(ie===x||ie.nodeType===8&&ie.parentNode===x)break;if(B===4)for(B=y.return;B!==null;){var pe=B.tag;if((pe===3||pe===4)&&(pe=B.stateNode.containerInfo,pe===x||pe.nodeType===8&&pe.parentNode===x))return;B=B.return}for(;ie!==null;){if(B=ai(ie),B===null)return;if(pe=B.tag,pe===5||pe===6){y=T=B;continue e}ie=ie.parentNode}}y=y.return}vl(function(){var Le=T,Je=Nt(p),nt=[];e:{var Xe=H0.get(a);if(Xe!==void 0){var bt=fn,Et=a;switch(a){case"keypress":if($e(p)===0)break e;case"keydown":case"keyup":bt=SE;break;case"focusin":Et="focus",bt=Fi;break;case"focusout":Et="blur",bt=Fi;break;case"beforeblur":case"afterblur":bt=Fi;break;case"click":if(p.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":bt=Ms;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":bt=Ud;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":bt=xE;break;case ey:case B0:case z0:bt=Wd;break;case U0:bt=E0;break;case"scroll":bt=ir;break;case"wheel":bt=_s;break;case"copy":case"cut":case"paste":bt=gE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":bt=Pp}var Ot=(l&4)!==0,jr=!Ot&&a==="scroll",Re=Ot?Xe!==null?Xe+"Capture":null:Xe;Ot=[];for(var ye=Le,_e;ye!==null;){_e=ye;var lt=_e.stateNode;if(_e.tag===5&<!==null&&(_e=lt,Re!==null&&(lt=Pa(ye,Re),lt!=null&&Ot.push(Zd(ye,lt,_e)))),jr)break;ye=ye.return}0<Ot.length&&(Xe=new bt(Xe,Et,null,p,Je),nt.push({event:Xe,listeners:Ot}))}}if(!(l&7)){e:{if(Xe=a==="mouseover"||a==="pointerover",bt=a==="mouseout"||a==="pointerout",Xe&&p!==Zn&&(Et=p.relatedTarget||p.fromElement)&&(ai(Et)||Et[Ls]))break e;if((bt||Xe)&&(Xe=Je.window===Je?Je:(Xe=Je.ownerDocument)?Xe.defaultView||Xe.parentWindow:window,bt?(Et=p.relatedTarget||p.toElement,bt=Le,Et=Et?ai(Et):null,Et!==null&&(jr=At(Et),Et!==jr||Et.tag!==5&&Et.tag!==6)&&(Et=null)):(bt=null,Et=Le),bt!==Et)){if(Ot=Ms,lt="onMouseLeave",Re="onMouseEnter",ye="mouse",(a==="pointerout"||a==="pointerover")&&(Ot=Pp,lt="onPointerLeave",Re="onPointerEnter",ye="pointer"),jr=bt==null?Xe:Ec(bt),_e=Et==null?Xe:Ec(Et),Xe=new Ot(lt,ye+"leave",bt,p,Je),Xe.target=jr,Xe.relatedTarget=_e,lt=null,ai(Je)===Le&&(Ot=new Ot(Re,ye+"enter",Et,p,Je),Ot.target=_e,Ot.relatedTarget=jr,lt=Ot),jr=lt,bt&&Et)t:{for(Ot=bt,Re=Et,ye=0,_e=Ot;_e;_e=yu(_e))ye++;for(_e=0,lt=Re;lt;lt=yu(lt))_e++;for(;0<ye-_e;)Ot=yu(Ot),ye--;for(;0<_e-ye;)Re=yu(Re),_e--;for(;ye--;){if(Ot===Re||Re!==null&&Ot===Re.alternate)break t;Ot=yu(Ot),Re=yu(Re)}Ot=null}else Ot=null;bt!==null&&ty(nt,Xe,bt,Ot,!1),Et!==null&&jr!==null&&ty(nt,jr,Et,Ot,!0)}}e:{if(Xe=Le?Ec(Le):window,bt=Xe.nodeName&&Xe.nodeName.toLowerCase(),bt==="select"||bt==="input"&&Xe.type==="file")var _t=P0;else if(k0(Xe))if(qv)_t=F0;else{_t=TE;var Ht=EE}else(bt=Xe.nodeName)&&bt.toLowerCase()==="input"&&(Xe.type==="checkbox"||Xe.type==="radio")&&(_t=RE);if(_t&&(_t=_t(a,Le))){M0(nt,_t,p,Je);break e}Ht&&Ht(a,Xe,Le),a==="focusout"&&(Ht=Xe._wrapperState)&&Ht.controlled&&Xe.type==="number"&&ce(Xe,"number",Xe.value)}switch(Ht=Le?Ec(Le):window,a){case"focusin":(k0(Ht)||Ht.contentEditable==="true")&&(Ii=Ht,Qv=Le,Gd=null);break;case"focusout":Gd=Qv=Ii=null;break;case"mousedown":Xv=!0;break;case"contextmenu":case"mouseup":case"dragend":Xv=!1,V0(nt,p,Je);break;case"selectionchange":if(j0)break;case"keydown":case"keyup":V0(nt,p,Je)}var Tt;if(Li)e:{switch(a){case"compositionstart":var Yt="onCompositionStart";break e;case"compositionend":Yt="onCompositionEnd";break e;case"compositionupdate":Yt="onCompositionUpdate";break e}Yt=void 0}else bc?O0(a,p)&&(Yt="onCompositionEnd"):a==="keydown"&&p.keyCode===229&&(Yt="onCompositionStart");Yt&&(T0&&p.locale!=="ko"&&(bc||Yt!=="onCompositionStart"?Yt==="onCompositionEnd"&&bc&&(Tt=Fe()):(Ai=Je,I="value"in Ai?Ai.value:Ai.textContent,bc=!0)),Ht=Jd(Le,Yt),0<Ht.length&&(Yt=new zv(Yt,a,null,p,Je),nt.push({event:Yt,listeners:Ht}),Tt?Yt.data=Tt:(Tt=Ap(p),Tt!==null&&(Yt.data=Tt)))),(Tt=Np?wE(a,p):CE(a,p))&&(Le=Jd(Le,"onBeforeInput"),0<Le.length&&(Je=new zv("onBeforeInput","beforeinput",null,p,Je),nt.push({event:Je,listeners:Le}),Je.data=Tt))}$p(nt,l)})}function Zd(a,l,p){return{instance:a,listener:l,currentTarget:p}}function Jd(a,l){for(var p=l+"Capture",y=[];a!==null;){var x=a,T=x.stateNode;x.tag===5&&T!==null&&(x=T,T=Pa(a,p),T!=null&&y.unshift(Zd(a,T,x)),T=Pa(a,l),T!=null&&y.push(Zd(a,T,x))),a=a.return}return y}function yu(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5);return a||null}function ty(a,l,p,y,x){for(var T=l._reactName,B=[];p!==null&&p!==y;){var ie=p,pe=ie.alternate,Le=ie.stateNode;if(pe!==null&&pe===y)break;ie.tag===5&&Le!==null&&(ie=Le,x?(pe=Pa(p,T),pe!=null&&B.unshift(Zd(p,pe,ie))):x||(pe=Pa(p,T),pe!=null&&B.push(Zd(p,pe,ie)))),p=p.return}B.length!==0&&a.push({event:l,listeners:B})}var ny=/\r\n?/g,ME=/\u0000|\uFFFD/g;function ry(a){return(typeof a=="string"?a:""+a).replace(ny,`
|
|
188
|
+
`).replace(ME,"")}function Vp(a,l,p){if(l=ry(l),ry(a)!==l&&p)throw Error(o(425))}function Bp(){}var oy=null,gu=null;function ef(a,l){return a==="textarea"||a==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var bu=typeof setTimeout=="function"?setTimeout:void 0,G0=typeof clearTimeout=="function"?clearTimeout:void 0,ay=typeof Promise=="function"?Promise:void 0,iy=typeof queueMicrotask=="function"?queueMicrotask:typeof ay<"u"?function(a){return ay.resolve(null).then(a).catch(PE)}:bu;function PE(a){setTimeout(function(){throw a})}function kl(a,l){var p=l,y=0;do{var x=p.nextSibling;if(a.removeChild(p),x&&x.nodeType===8)if(p=x.data,p==="/$"){if(y===0){a.removeChild(x),Tl(l);return}y--}else p!=="$"&&p!=="$?"&&p!=="$!"||y++;p=x}while(p);Tl(l)}function $i(a){for(;a!=null;a=a.nextSibling){var l=a.nodeType;if(l===1||l===3)break;if(l===8){if(l=a.data,l==="$"||l==="$!"||l==="$?")break;if(l==="/$")return null}}return a}function tf(a){a=a.previousSibling;for(var l=0;a;){if(a.nodeType===8){var p=a.data;if(p==="$"||p==="$!"||p==="$?"){if(l===0)return a;l--}else p==="/$"&&l++}a=a.previousSibling}return null}var Ml=Math.random().toString(36).slice(2),us="__reactFiber$"+Ml,Su="__reactProps$"+Ml,Ls="__reactContainer$"+Ml,sy="__reactEvents$"+Ml,_E="__reactListeners$"+Ml,ly="__reactHandles$"+Ml;function ai(a){var l=a[us];if(l)return l;for(var p=a.parentNode;p;){if(l=p[Ls]||p[us]){if(p=l.alternate,l.child!==null||p!==null&&p.child!==null)for(a=tf(a);a!==null;){if(p=a[us])return p;a=tf(a)}return l}a=p,p=a.parentNode}return null}function nf(a){return a=a[us]||a[Ls],!a||a.tag!==5&&a.tag!==6&&a.tag!==13&&a.tag!==3?null:a}function Ec(a){if(a.tag===5||a.tag===6)return a.stateNode;throw Error(o(33))}function jt(a){return a[Su]||null}var Pl=[],hr=-1;function on(a){return{current:a}}function In(a){0>hr||(a.current=Pl[hr],Pl[hr]=null,hr--)}function Vn(a,l){hr++,Pl[hr]=a.current,a.current=l}var cs={},Qt=on(cs),Pr=on(!1),fa=cs;function ii(a,l){var p=a.type.contextTypes;if(!p)return cs;var y=a.stateNode;if(y&&y.__reactInternalMemoizedUnmaskedChildContext===l)return y.__reactInternalMemoizedMaskedChildContext;var x={},T;for(T in p)x[T]=l[T];return y&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=l,a.__reactInternalMemoizedMaskedChildContext=x),x}function Sr(a){return a=a.childContextTypes,a!=null}function si(){In(Pr),In(Qt)}function _l(a,l,p){if(Qt.current!==cs)throw Error(o(168));Vn(Qt,l),Vn(Pr,p)}function rf(a,l,p){var y=a.stateNode;if(l=l.childContextTypes,typeof y.getChildContext!="function")return p;y=y.getChildContext();for(var x in y)if(!(x in l))throw Error(o(108,Ee(a)||"Unknown",x));return oe({},p,y)}function zp(a){return a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||cs,fa=Qt.current,Vn(Qt,a),Vn(Pr,Pr.current),!0}function K0(a,l,p){var y=a.stateNode;if(!y)throw Error(o(169));p?(a=rf(a,l,fa),y.__reactInternalMemoizedMergedChildContext=a,In(Pr),In(Qt),Vn(Qt,a)):In(Pr),Vn(Pr,p)}var Aa=null,bo=!1,of=!1;function uy(a){Aa===null?Aa=[a]:Aa.push(a)}function cy(a){bo=!0,uy(a)}function pa(){if(!of&&Aa!==null){of=!0;var a=0,l=Pn;try{var p=Aa;for(Pn=1;a<p.length;a++){var y=p[a];do y=y(!0);while(y!==null)}Aa=null,bo=!1}catch(x){throw Aa!==null&&(Aa=Aa.slice(a+1)),ar(Yo,pa),x}finally{Pn=l,of=!1}}return null}var Nl=[],ma=0,xu=null,Tc=0,ha=[],$o=0,li=null,Ro=1,Is="";function Fa(a,l){Nl[ma++]=Tc,Nl[ma++]=xu,xu=a,Tc=l}function dy(a,l,p){ha[$o++]=Ro,ha[$o++]=Is,ha[$o++]=li,li=a;var y=Ro;a=Is;var x=32-qo(y)-1;y&=~(1<<x),p+=1;var T=32-qo(l)+x;if(30<T){var B=x-x%5;T=(y&(1<<B)-1).toString(32),y>>=B,x-=B,Ro=1<<32-qo(l)+x|p<<x|y,Is=T+a}else Ro=1<<T|p<<x|y,Is=a}function Up(a){a.return!==null&&(Fa(a,1),dy(a,1,0))}function fy(a){for(;a===xu;)xu=Nl[--ma],Nl[ma]=null,Tc=Nl[--ma],Nl[ma]=null;for(;a===li;)li=ha[--$o],ha[$o]=null,Is=ha[--$o],ha[$o]=null,Ro=ha[--$o],ha[$o]=null}var La=null,va=null,vr=!1,ui=null;function py(a,l){var p=yi(5,null,null,0);p.elementType="DELETED",p.stateNode=l,p.return=a,l=a.deletions,l===null?(a.deletions=[p],a.flags|=16):l.push(p)}function Q0(a,l){switch(a.tag){case 5:var p=a.type;return l=l.nodeType!==1||p.toLowerCase()!==l.nodeName.toLowerCase()?null:l,l!==null?(a.stateNode=l,La=a,va=$i(l.firstChild),!0):!1;case 6:return l=a.pendingProps===""||l.nodeType!==3?null:l,l!==null?(a.stateNode=l,La=a,va=null,!0):!1;case 13:return l=l.nodeType!==8?null:l,l!==null?(p=li!==null?{id:Ro,overflow:Is}:null,a.memoizedState={dehydrated:l,treeContext:p,retryLane:1073741824},p=yi(18,null,null,0),p.stateNode=l,p.return=a,a.child=p,La=a,va=null,!0):!1;default:return!1}}function Hp(a){return(a.mode&1)!==0&&(a.flags&128)===0}function Wp(a){if(vr){var l=va;if(l){var p=l;if(!Q0(a,l)){if(Hp(a))throw Error(o(418));l=$i(p.nextSibling);var y=La;l&&Q0(a,l)?py(y,p):(a.flags=a.flags&-4097|2,vr=!1,La=a)}}else{if(Hp(a))throw Error(o(418));a.flags=a.flags&-4097|2,vr=!1,La=a}}}function X0(a){for(a=a.return;a!==null&&a.tag!==5&&a.tag!==3&&a.tag!==13;)a=a.return;La=a}function Yp(a){if(a!==La)return!1;if(!vr)return X0(a),vr=!0,!1;var l;if((l=a.tag!==3)&&!(l=a.tag!==5)&&(l=a.type,l=l!=="head"&&l!=="body"&&!ef(a.type,a.memoizedProps)),l&&(l=va)){if(Hp(a))throw Z0(),Error(o(418));for(;l;)py(a,l),l=$i(l.nextSibling)}if(X0(a),a.tag===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(o(317));e:{for(a=a.nextSibling,l=0;a;){if(a.nodeType===8){var p=a.data;if(p==="/$"){if(l===0){va=$i(a.nextSibling);break e}l--}else p!=="$"&&p!=="$!"&&p!=="$?"||l++}a=a.nextSibling}va=null}}else va=La?$i(a.stateNode.nextSibling):null;return!0}function Z0(){for(var a=va;a;)a=$i(a.nextSibling)}function Tr(){va=La=null,vr=!1}function my(a){ui===null?ui=[a]:ui.push(a)}var qp=$.ReactCurrentBatchConfig;function wu(a,l,p){if(a=p.ref,a!==null&&typeof a!="function"&&typeof a!="object"){if(p._owner){if(p=p._owner,p){if(p.tag!==1)throw Error(o(309));var y=p.stateNode}if(!y)throw Error(o(147,a));var x=y,T=""+a;return l!==null&&l.ref!==null&&typeof l.ref=="function"&&l.ref._stringRef===T?l.ref:(l=function(B){var ie=x.refs;B===null?delete ie[T]:ie[T]=B},l._stringRef=T,l)}if(typeof a!="string")throw Error(o(284));if(!p._owner)throw Error(o(290,a))}return a}function ds(a,l){throw a=Object.prototype.toString.call(l),Error(o(31,a==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":a))}function J0(a){var l=a._init;return l(a._payload)}function Gp(a){function l(Re,ye){if(a){var _e=Re.deletions;_e===null?(Re.deletions=[ye],Re.flags|=16):_e.push(ye)}}function p(Re,ye){if(!a)return null;for(;ye!==null;)l(Re,ye),ye=ye.sibling;return null}function y(Re,ye){for(Re=new Map;ye!==null;)ye.key!==null?Re.set(ye.key,ye):Re.set(ye.index,ye),ye=ye.sibling;return Re}function x(Re,ye){return Re=Bl(Re,ye),Re.index=0,Re.sibling=null,Re}function T(Re,ye,_e){return Re.index=_e,a?(_e=Re.alternate,_e!==null?(_e=_e.index,_e<ye?(Re.flags|=2,ye):_e):(Re.flags|=2,ye)):(Re.flags|=1048576,ye)}function B(Re){return a&&Re.alternate===null&&(Re.flags|=2),Re}function ie(Re,ye,_e,lt){return ye===null||ye.tag!==6?(ye=Fm(_e,Re.mode,lt),ye.return=Re,ye):(ye=x(ye,_e),ye.return=Re,ye)}function pe(Re,ye,_e,lt){var _t=_e.type;return _t===W?Je(Re,ye,_e.props.children,lt,_e.key):ye!==null&&(ye.elementType===_t||typeof _t=="object"&&_t!==null&&_t.$$typeof===te&&J0(_t)===ye.type)?(lt=x(ye,_e.props),lt.ref=wu(Re,ye,_e),lt.return=Re,lt):(lt=Nm(_e.type,_e.key,_e.props,null,Re.mode,lt),lt.ref=wu(Re,ye,_e),lt.return=Re,lt)}function Le(Re,ye,_e,lt){return ye===null||ye.tag!==4||ye.stateNode.containerInfo!==_e.containerInfo||ye.stateNode.implementation!==_e.implementation?(ye=Cf(_e,Re.mode,lt),ye.return=Re,ye):(ye=x(ye,_e.children||[]),ye.return=Re,ye)}function Je(Re,ye,_e,lt,_t){return ye===null||ye.tag!==7?(ye=Iu(_e,Re.mode,lt,_t),ye.return=Re,ye):(ye=x(ye,_e),ye.return=Re,ye)}function nt(Re,ye,_e){if(typeof ye=="string"&&ye!==""||typeof ye=="number")return ye=Fm(""+ye,Re.mode,_e),ye.return=Re,ye;if(typeof ye=="object"&&ye!==null){switch(ye.$$typeof){case P:return _e=Nm(ye.type,ye.key,ye.props,null,Re.mode,_e),_e.ref=wu(Re,null,ye),_e.return=Re,_e;case H:return ye=Cf(ye,Re.mode,_e),ye.return=Re,ye;case te:var lt=ye._init;return nt(Re,lt(ye._payload),_e)}if(be(ye)||xe(ye))return ye=Iu(ye,Re.mode,_e,null),ye.return=Re,ye;ds(Re,ye)}return null}function Xe(Re,ye,_e,lt){var _t=ye!==null?ye.key:null;if(typeof _e=="string"&&_e!==""||typeof _e=="number")return _t!==null?null:ie(Re,ye,""+_e,lt);if(typeof _e=="object"&&_e!==null){switch(_e.$$typeof){case P:return _e.key===_t?pe(Re,ye,_e,lt):null;case H:return _e.key===_t?Le(Re,ye,_e,lt):null;case te:return _t=_e._init,Xe(Re,ye,_t(_e._payload),lt)}if(be(_e)||xe(_e))return _t!==null?null:Je(Re,ye,_e,lt,null);ds(Re,_e)}return null}function bt(Re,ye,_e,lt,_t){if(typeof lt=="string"&<!==""||typeof lt=="number")return Re=Re.get(_e)||null,ie(ye,Re,""+lt,_t);if(typeof lt=="object"&<!==null){switch(lt.$$typeof){case P:return Re=Re.get(lt.key===null?_e:lt.key)||null,pe(ye,Re,lt,_t);case H:return Re=Re.get(lt.key===null?_e:lt.key)||null,Le(ye,Re,lt,_t);case te:var Ht=lt._init;return bt(Re,ye,_e,Ht(lt._payload),_t)}if(be(lt)||xe(lt))return Re=Re.get(_e)||null,Je(ye,Re,lt,_t,null);ds(ye,lt)}return null}function Et(Re,ye,_e,lt){for(var _t=null,Ht=null,Tt=ye,Yt=ye=0,po=null;Tt!==null&&Yt<_e.length;Yt++){Tt.index>Yt?(po=Tt,Tt=null):po=Tt.sibling;var _n=Xe(Re,Tt,_e[Yt],lt);if(_n===null){Tt===null&&(Tt=po);break}a&&Tt&&_n.alternate===null&&l(Re,Tt),ye=T(_n,ye,Yt),Ht===null?_t=_n:Ht.sibling=_n,Ht=_n,Tt=po}if(Yt===_e.length)return p(Re,Tt),vr&&Fa(Re,Yt),_t;if(Tt===null){for(;Yt<_e.length;Yt++)Tt=nt(Re,_e[Yt],lt),Tt!==null&&(ye=T(Tt,ye,Yt),Ht===null?_t=Tt:Ht.sibling=Tt,Ht=Tt);return vr&&Fa(Re,Yt),_t}for(Tt=y(Re,Tt);Yt<_e.length;Yt++)po=bt(Tt,Re,Yt,_e[Yt],lt),po!==null&&(a&&po.alternate!==null&&Tt.delete(po.key===null?Yt:po.key),ye=T(po,ye,Yt),Ht===null?_t=po:Ht.sibling=po,Ht=po);return a&&Tt.forEach(function(Hs){return l(Re,Hs)}),vr&&Fa(Re,Yt),_t}function Ot(Re,ye,_e,lt){var _t=xe(_e);if(typeof _t!="function")throw Error(o(150));if(_e=_t.call(_e),_e==null)throw Error(o(151));for(var Ht=_t=null,Tt=ye,Yt=ye=0,po=null,_n=_e.next();Tt!==null&&!_n.done;Yt++,_n=_e.next()){Tt.index>Yt?(po=Tt,Tt=null):po=Tt.sibling;var Hs=Xe(Re,Tt,_n.value,lt);if(Hs===null){Tt===null&&(Tt=po);break}a&&Tt&&Hs.alternate===null&&l(Re,Tt),ye=T(Hs,ye,Yt),Ht===null?_t=Hs:Ht.sibling=Hs,Ht=Hs,Tt=po}if(_n.done)return p(Re,Tt),vr&&Fa(Re,Yt),_t;if(Tt===null){for(;!_n.done;Yt++,_n=_e.next())_n=nt(Re,_n.value,lt),_n!==null&&(ye=T(_n,ye,Yt),Ht===null?_t=_n:Ht.sibling=_n,Ht=_n);return vr&&Fa(Re,Yt),_t}for(Tt=y(Re,Tt);!_n.done;Yt++,_n=_e.next())_n=bt(Tt,Re,Yt,_n.value,lt),_n!==null&&(a&&_n.alternate!==null&&Tt.delete(_n.key===null?Yt:_n.key),ye=T(_n,ye,Yt),Ht===null?_t=_n:Ht.sibling=_n,Ht=_n);return a&&Tt.forEach(function(QE){return l(Re,QE)}),vr&&Fa(Re,Yt),_t}function jr(Re,ye,_e,lt){if(typeof _e=="object"&&_e!==null&&_e.type===W&&_e.key===null&&(_e=_e.props.children),typeof _e=="object"&&_e!==null){switch(_e.$$typeof){case P:e:{for(var _t=_e.key,Ht=ye;Ht!==null;){if(Ht.key===_t){if(_t=_e.type,_t===W){if(Ht.tag===7){p(Re,Ht.sibling),ye=x(Ht,_e.props.children),ye.return=Re,Re=ye;break e}}else if(Ht.elementType===_t||typeof _t=="object"&&_t!==null&&_t.$$typeof===te&&J0(_t)===Ht.type){p(Re,Ht.sibling),ye=x(Ht,_e.props),ye.ref=wu(Re,Ht,_e),ye.return=Re,Re=ye;break e}p(Re,Ht);break}else l(Re,Ht);Ht=Ht.sibling}_e.type===W?(ye=Iu(_e.props.children,Re.mode,lt,_e.key),ye.return=Re,Re=ye):(lt=Nm(_e.type,_e.key,_e.props,null,Re.mode,lt),lt.ref=wu(Re,ye,_e),lt.return=Re,Re=lt)}return B(Re);case H:e:{for(Ht=_e.key;ye!==null;){if(ye.key===Ht)if(ye.tag===4&&ye.stateNode.containerInfo===_e.containerInfo&&ye.stateNode.implementation===_e.implementation){p(Re,ye.sibling),ye=x(ye,_e.children||[]),ye.return=Re,Re=ye;break e}else{p(Re,ye);break}else l(Re,ye);ye=ye.sibling}ye=Cf(_e,Re.mode,lt),ye.return=Re,Re=ye}return B(Re);case te:return Ht=_e._init,jr(Re,ye,Ht(_e._payload),lt)}if(be(_e))return Et(Re,ye,_e,lt);if(xe(_e))return Ot(Re,ye,_e,lt);ds(Re,_e)}return typeof _e=="string"&&_e!==""||typeof _e=="number"?(_e=""+_e,ye!==null&&ye.tag===6?(p(Re,ye.sibling),ye=x(ye,_e),ye.return=Re,Re=ye):(p(Re,ye),ye=Fm(_e,Re.mode,lt),ye.return=Re,Re=ye),B(Re)):p(Re,ye)}return jr}var Rc=Gp(!0),eS=Gp(!1),$s=on(null),lo=null,dt=null,ci=null;function Ia(){ci=dt=lo=null}function hy(a){var l=$s.current;In($s),a._currentValue=l}function vy(a,l,p){for(;a!==null;){var y=a.alternate;if((a.childLanes&l)!==l?(a.childLanes|=l,y!==null&&(y.childLanes|=l)):y!==null&&(y.childLanes&l)!==l&&(y.childLanes|=l),a===p)break;a=a.return}}function Oc(a,l){lo=a,ci=dt=null,a=a.dependencies,a!==null&&a.firstContext!==null&&(a.lanes&l&&(ba=!0),a.firstContext=null)}function di(a){var l=a._currentValue;if(ci!==a)if(a={context:a,memoizedValue:l,next:null},dt===null){if(lo===null)throw Error(o(308));dt=a,lo.dependencies={lanes:0,firstContext:a}}else dt=dt.next=a;return l}var Cu=null;function Jr(a){Cu===null?Cu=[a]:Cu.push(a)}function tS(a,l,p,y){var x=l.interleaved;return x===null?(p.next=p,Jr(l)):(p.next=x.next,x.next=p),l.interleaved=p,js(a,y)}function js(a,l){a.lanes|=l;var p=a.alternate;for(p!==null&&(p.lanes|=l),p=a,a=a.return;a!==null;)a.childLanes|=l,p=a.alternate,p!==null&&(p.childLanes|=l),p=a,a=a.return;return p.tag===3?p.stateNode:null}var Al=!1;function Kp(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Dc(a,l){a=a.updateQueue,l.updateQueue===a&&(l.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function ya(a,l){return{eventTime:a,lane:l,tag:0,payload:null,callback:null,next:null}}function Fl(a,l,p){var y=a.updateQueue;if(y===null)return null;if(y=y.shared,yn&2){var x=y.pending;return x===null?l.next=l:(l.next=x.next,x.next=l),y.pending=l,js(a,p)}return x=y.interleaved,x===null?(l.next=l,Jr(y)):(l.next=x.next,x.next=l),y.interleaved=l,js(a,p)}function Qp(a,l,p){if(l=l.updateQueue,l!==null&&(l=l.shared,(p&4194240)!==0)){var y=l.lanes;y&=a.pendingLanes,p|=y,l.lanes=p,ss(a,p)}}function nS(a,l){var p=a.updateQueue,y=a.alternate;if(y!==null&&(y=y.updateQueue,p===y)){var x=null,T=null;if(p=p.firstBaseUpdate,p!==null){do{var B={eventTime:p.eventTime,lane:p.lane,tag:p.tag,payload:p.payload,callback:p.callback,next:null};T===null?x=T=B:T=T.next=B,p=p.next}while(p!==null);T===null?x=T=l:T=T.next=l}else x=T=l;p={baseState:y.baseState,firstBaseUpdate:x,lastBaseUpdate:T,shared:y.shared,effects:y.effects},a.updateQueue=p;return}a=p.lastBaseUpdate,a===null?p.firstBaseUpdate=l:a.next=l,p.lastBaseUpdate=l}function Xp(a,l,p,y){var x=a.updateQueue;Al=!1;var T=x.firstBaseUpdate,B=x.lastBaseUpdate,ie=x.shared.pending;if(ie!==null){x.shared.pending=null;var pe=ie,Le=pe.next;pe.next=null,B===null?T=Le:B.next=Le,B=pe;var Je=a.alternate;Je!==null&&(Je=Je.updateQueue,ie=Je.lastBaseUpdate,ie!==B&&(ie===null?Je.firstBaseUpdate=Le:ie.next=Le,Je.lastBaseUpdate=pe))}if(T!==null){var nt=x.baseState;B=0,Je=Le=pe=null,ie=T;do{var Xe=ie.lane,bt=ie.eventTime;if((y&Xe)===Xe){Je!==null&&(Je=Je.next={eventTime:bt,lane:0,tag:ie.tag,payload:ie.payload,callback:ie.callback,next:null});e:{var Et=a,Ot=ie;switch(Xe=l,bt=p,Ot.tag){case 1:if(Et=Ot.payload,typeof Et=="function"){nt=Et.call(bt,nt,Xe);break e}nt=Et;break e;case 3:Et.flags=Et.flags&-65537|128;case 0:if(Et=Ot.payload,Xe=typeof Et=="function"?Et.call(bt,nt,Xe):Et,Xe==null)break e;nt=oe({},nt,Xe);break e;case 2:Al=!0}}ie.callback!==null&&ie.lane!==0&&(a.flags|=64,Xe=x.effects,Xe===null?x.effects=[ie]:Xe.push(ie))}else bt={eventTime:bt,lane:Xe,tag:ie.tag,payload:ie.payload,callback:ie.callback,next:null},Je===null?(Le=Je=bt,pe=nt):Je=Je.next=bt,B|=Xe;if(ie=ie.next,ie===null){if(ie=x.shared.pending,ie===null)break;Xe=ie,ie=Xe.next,Xe.next=null,x.lastBaseUpdate=Xe,x.shared.pending=null}}while(!0);if(Je===null&&(pe=nt),x.baseState=pe,x.firstBaseUpdate=Le,x.lastBaseUpdate=Je,l=x.shared.interleaved,l!==null){x=l;do B|=x.lane,x=x.next;while(x!==l)}else T===null&&(x.shared.lanes=0);Nu|=B,a.lanes=B,a.memoizedState=nt}}function rS(a,l,p){if(a=l.effects,l.effects=null,a!==null)for(l=0;l<a.length;l++){var y=a[l],x=y.callback;if(x!==null){if(y.callback=null,y=p,typeof x!="function")throw Error(o(191,x));x.call(y)}}}var af={},ji=on(af),kc=on(af),sf=on(af);function Eu(a){if(a===af)throw Error(o(174));return a}function yy(a,l){switch(Vn(sf,l),Vn(kc,a),Vn(ji,af),a=l.nodeType,a){case 9:case 11:l=(l=l.documentElement)?l.namespaceURI:Mt(null,"");break;default:a=a===8?l.parentNode:l,l=a.namespaceURI||null,a=a.tagName,l=Mt(l,a)}In(ji),Vn(ji,l)}function Mc(){In(ji),In(kc),In(sf)}function oS(a){Eu(sf.current);var l=Eu(ji.current),p=Mt(l,a.type);l!==p&&(Vn(kc,a),Vn(ji,p))}function gy(a){kc.current===a&&(In(ji),In(kc))}var xr=on(0);function Zp(a){for(var l=a;l!==null;){if(l.tag===13){var p=l.memoizedState;if(p!==null&&(p=p.dehydrated,p===null||p.data==="$?"||p.data==="$!"))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if(l.flags&128)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Jp=[];function by(){for(var a=0;a<Jp.length;a++)Jp[a]._workInProgressVersionPrimary=null;Jp.length=0}var em=$.ReactCurrentDispatcher,lf=$.ReactCurrentBatchConfig,Pt=0,Ft=null,Xt=null,pn=null,$a=!1,Pc=!1,uf=0,NE=0;function jo(){throw Error(o(321))}function cf(a,l){if(l===null)return!1;for(var p=0;p<l.length&&p<a.length;p++)if(!oi(a[p],l[p]))return!1;return!0}function Qe(a,l,p,y,x,T){if(Pt=T,Ft=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,em.current=a===null||a.memoizedState===null?AE:cr,a=p(y,x),Pc){T=0;do{if(Pc=!1,uf=0,25<=T)throw Error(o(301));T+=1,pn=Xt=null,l.updateQueue=null,em.current=hm,a=p(y,x)}while(Pc)}if(em.current=Vo,l=Xt!==null&&Xt.next!==null,Pt=0,pn=Xt=Ft=null,$a=!1,l)throw Error(o(300));return a}function eo(){var a=uf!==0;return uf=0,a}function It(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return pn===null?Ft.memoizedState=pn=a:pn=pn.next=a,pn}function Oo(){if(Xt===null){var a=Ft.alternate;a=a!==null?a.memoizedState:null}else a=Xt.next;var l=pn===null?Ft.memoizedState:pn.next;if(l!==null)pn=l,Xt=a;else{if(a===null)throw Error(o(310));Xt=a,a={memoizedState:Xt.memoizedState,baseState:Xt.baseState,baseQueue:Xt.baseQueue,queue:Xt.queue,next:null},pn===null?Ft.memoizedState=pn=a:pn=pn.next=a}return pn}function ja(a,l){return typeof l=="function"?l(a):l}function Vs(a){var l=Oo(),p=l.queue;if(p===null)throw Error(o(311));p.lastRenderedReducer=a;var y=Xt,x=y.baseQueue,T=p.pending;if(T!==null){if(x!==null){var B=x.next;x.next=T.next,T.next=B}y.baseQueue=x=T,p.pending=null}if(x!==null){T=x.next,y=y.baseState;var ie=B=null,pe=null,Le=T;do{var Je=Le.lane;if((Pt&Je)===Je)pe!==null&&(pe=pe.next={lane:0,action:Le.action,hasEagerState:Le.hasEagerState,eagerState:Le.eagerState,next:null}),y=Le.hasEagerState?Le.eagerState:a(y,Le.action);else{var nt={lane:Je,action:Le.action,hasEagerState:Le.hasEagerState,eagerState:Le.eagerState,next:null};pe===null?(ie=pe=nt,B=y):pe=pe.next=nt,Ft.lanes|=Je,Nu|=Je}Le=Le.next}while(Le!==null&&Le!==T);pe===null?B=y:pe.next=ie,oi(y,l.memoizedState)||(ba=!0),l.memoizedState=y,l.baseState=B,l.baseQueue=pe,p.lastRenderedState=y}if(a=p.interleaved,a!==null){x=a;do T=x.lane,Ft.lanes|=T,Nu|=T,x=x.next;while(x!==a)}else x===null&&(p.lanes=0);return[l.memoizedState,p.dispatch]}function fi(a){var l=Oo(),p=l.queue;if(p===null)throw Error(o(311));p.lastRenderedReducer=a;var y=p.dispatch,x=p.pending,T=l.memoizedState;if(x!==null){p.pending=null;var B=x=x.next;do T=a(T,B.action),B=B.next;while(B!==x);oi(T,l.memoizedState)||(ba=!0),l.memoizedState=T,l.baseQueue===null&&(l.baseState=T),p.lastRenderedState=T}return[T,y]}function _c(){}function Tu(a,l){var p=Ft,y=Oo(),x=l(),T=!oi(y.memoizedState,x);if(T&&(y.memoizedState=x,ba=!0),y=y.queue,df(nm.bind(null,p,y,a),[a]),y.getSnapshot!==l||T||pn!==null&&pn.memoizedState.tag&1){if(p.flags|=2048,Ru(9,tm.bind(null,p,y,x,l),void 0,null),Nr===null)throw Error(o(349));Pt&30||Nc(p,l,x)}return x}function Nc(a,l,p){a.flags|=16384,a={getSnapshot:l,value:p},l=Ft.updateQueue,l===null?(l={lastEffect:null,stores:null},Ft.updateQueue=l,l.stores=[a]):(p=l.stores,p===null?l.stores=[a]:p.push(a))}function tm(a,l,p,y){l.value=p,l.getSnapshot=y,rm(l)&&om(a)}function nm(a,l,p){return p(function(){rm(l)&&om(a)})}function rm(a){var l=a.getSnapshot;a=a.value;try{var p=l();return!oi(a,p)}catch{return!0}}function om(a){var l=js(a,1);l!==null&&Rr(l,a,1,-1)}function am(a){var l=It();return typeof a=="function"&&(a=a()),l.memoizedState=l.baseState=a,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ja,lastRenderedState:a},l.queue=a,a=a.dispatch=ff.bind(null,Ft,a),[l.memoizedState,a]}function Ru(a,l,p,y){return a={tag:a,create:l,destroy:p,deps:y,next:null},l=Ft.updateQueue,l===null?(l={lastEffect:null,stores:null},Ft.updateQueue=l,l.lastEffect=a.next=a):(p=l.lastEffect,p===null?l.lastEffect=a.next=a:(y=p.next,p.next=a,a.next=y,l.lastEffect=a)),a}function im(){return Oo().memoizedState}function Ac(a,l,p,y){var x=It();Ft.flags|=a,x.memoizedState=Ru(1|l,p,void 0,y===void 0?null:y)}function Fc(a,l,p,y){var x=Oo();y=y===void 0?null:y;var T=void 0;if(Xt!==null){var B=Xt.memoizedState;if(T=B.destroy,y!==null&&cf(y,B.deps)){x.memoizedState=Ru(l,p,T,y);return}}Ft.flags|=a,x.memoizedState=Ru(1|l,p,T,y)}function sm(a,l){return Ac(8390656,8,a,l)}function df(a,l){return Fc(2048,8,a,l)}function lm(a,l){return Fc(4,2,a,l)}function um(a,l){return Fc(4,4,a,l)}function cm(a,l){if(typeof l=="function")return a=a(),l(a),function(){l(null)};if(l!=null)return a=a(),l.current=a,function(){l.current=null}}function dm(a,l,p){return p=p!=null?p.concat([a]):null,Fc(4,4,cm.bind(null,l,a),p)}function Lc(){}function Ou(a,l){var p=Oo();l=l===void 0?null:l;var y=p.memoizedState;return y!==null&&l!==null&&cf(l,y[1])?y[0]:(p.memoizedState=[a,l],a)}function fm(a,l){var p=Oo();l=l===void 0?null:l;var y=p.memoizedState;return y!==null&&l!==null&&cf(l,y[1])?y[0]:(a=a(),p.memoizedState=[a,l],a)}function pm(a,l,p){return Pt&21?(oi(p,l)||(p=uc(),Ft.lanes|=p,Nu|=p,a.baseState=!0),l):(a.baseState&&(a.baseState=!1,ba=!0),a.memoizedState=p)}function Sy(a,l){var p=Pn;Pn=p!==0&&4>p?p:4,a(!0);var y=lf.transition;lf.transition={};try{a(!1),l()}finally{Pn=p,lf.transition=y}}function mm(){return Oo().memoizedState}function aS(a,l,p){var y=Us(a);if(p={lane:y,action:p,hasEagerState:!1,eagerState:null,next:null},xy(a))Ic(l,p);else if(p=tS(a,l,p,y),p!==null){var x=wo();Rr(p,a,y,x),Ll(p,l,y)}}function ff(a,l,p){var y=Us(a),x={lane:y,action:p,hasEagerState:!1,eagerState:null,next:null};if(xy(a))Ic(l,x);else{var T=a.alternate;if(a.lanes===0&&(T===null||T.lanes===0)&&(T=l.lastRenderedReducer,T!==null))try{var B=l.lastRenderedState,ie=T(B,p);if(x.hasEagerState=!0,x.eagerState=ie,oi(ie,B)){var pe=l.interleaved;pe===null?(x.next=x,Jr(l)):(x.next=pe.next,pe.next=x),l.interleaved=x;return}}catch{}finally{}p=tS(a,l,x,y),p!==null&&(x=wo(),Rr(p,a,y,x),Ll(p,l,y))}}function xy(a){var l=a.alternate;return a===Ft||l!==null&&l===Ft}function Ic(a,l){Pc=$a=!0;var p=a.pending;p===null?l.next=l:(l.next=p.next,p.next=l),a.pending=l}function Ll(a,l,p){if(p&4194240){var y=l.lanes;y&=a.pendingLanes,p|=y,l.lanes=p,ss(a,p)}}var Vo={readContext:di,useCallback:jo,useContext:jo,useEffect:jo,useImperativeHandle:jo,useInsertionEffect:jo,useLayoutEffect:jo,useMemo:jo,useReducer:jo,useRef:jo,useState:jo,useDebugValue:jo,useDeferredValue:jo,useTransition:jo,useMutableSource:jo,useSyncExternalStore:jo,useId:jo,unstable_isNewReconciler:!1},AE={readContext:di,useCallback:function(a,l){return It().memoizedState=[a,l===void 0?null:l],a},useContext:di,useEffect:sm,useImperativeHandle:function(a,l,p){return p=p!=null?p.concat([a]):null,Ac(4194308,4,cm.bind(null,l,a),p)},useLayoutEffect:function(a,l){return Ac(4194308,4,a,l)},useInsertionEffect:function(a,l){return Ac(4,2,a,l)},useMemo:function(a,l){var p=It();return l=l===void 0?null:l,a=a(),p.memoizedState=[a,l],a},useReducer:function(a,l,p){var y=It();return l=p!==void 0?p(l):l,y.memoizedState=y.baseState=l,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:l},y.queue=a,a=a.dispatch=aS.bind(null,Ft,a),[y.memoizedState,a]},useRef:function(a){var l=It();return a={current:a},l.memoizedState=a},useState:am,useDebugValue:Lc,useDeferredValue:function(a){return It().memoizedState=a},useTransition:function(){var a=am(!1),l=a[0];return a=Sy.bind(null,a[1]),It().memoizedState=a,[l,a]},useMutableSource:function(){},useSyncExternalStore:function(a,l,p){var y=Ft,x=It();if(vr){if(p===void 0)throw Error(o(407));p=p()}else{if(p=l(),Nr===null)throw Error(o(349));Pt&30||Nc(y,l,p)}x.memoizedState=p;var T={value:p,getSnapshot:l};return x.queue=T,sm(nm.bind(null,y,T,a),[a]),y.flags|=2048,Ru(9,tm.bind(null,y,T,p,l),void 0,null),p},useId:function(){var a=It(),l=Nr.identifierPrefix;if(vr){var p=Is,y=Ro;p=(y&~(1<<32-qo(y)-1)).toString(32)+p,l=":"+l+"R"+p,p=uf++,0<p&&(l+="H"+p.toString(32)),l+=":"}else p=NE++,l=":"+l+"r"+p.toString(32)+":";return a.memoizedState=l},unstable_isNewReconciler:!1},cr={readContext:di,useCallback:Ou,useContext:di,useEffect:df,useImperativeHandle:dm,useInsertionEffect:lm,useLayoutEffect:um,useMemo:fm,useReducer:Vs,useRef:im,useState:function(){return Vs(ja)},useDebugValue:Lc,useDeferredValue:function(a){var l=Oo();return pm(l,Xt.memoizedState,a)},useTransition:function(){var a=Vs(ja)[0],l=Oo().memoizedState;return[a,l]},useMutableSource:_c,useSyncExternalStore:Tu,useId:mm,unstable_isNewReconciler:!1},hm={readContext:di,useCallback:Ou,useContext:di,useEffect:df,useImperativeHandle:dm,useInsertionEffect:lm,useLayoutEffect:um,useMemo:fm,useReducer:fi,useRef:im,useState:function(){return fi(ja)},useDebugValue:Lc,useDeferredValue:function(a){var l=Oo();return Xt===null?l.memoizedState=a:pm(l,Xt.memoizedState,a)},useTransition:function(){var a=fi(ja)[0],l=Oo().memoizedState;return[a,l]},useMutableSource:_c,useSyncExternalStore:Tu,useId:mm,unstable_isNewReconciler:!1};function ga(a,l){if(a&&a.defaultProps){l=oe({},l),a=a.defaultProps;for(var p in a)l[p]===void 0&&(l[p]=a[p]);return l}return l}function Du(a,l,p,y){l=a.memoizedState,p=p(y,l),p=p==null?l:oe({},l,p),a.memoizedState=p,a.lanes===0&&(a.updateQueue.baseState=p)}var ku={isMounted:function(a){return(a=a._reactInternals)?At(a)===a:!1},enqueueSetState:function(a,l,p){a=a._reactInternals;var y=wo(),x=Us(a),T=ya(y,x);T.payload=l,p!=null&&(T.callback=p),l=Fl(a,T,x),l!==null&&(Rr(l,a,x,y),Qp(l,a,x))},enqueueReplaceState:function(a,l,p){a=a._reactInternals;var y=wo(),x=Us(a),T=ya(y,x);T.tag=1,T.payload=l,p!=null&&(T.callback=p),l=Fl(a,T,x),l!==null&&(Rr(l,a,x,y),Qp(l,a,x))},enqueueForceUpdate:function(a,l){a=a._reactInternals;var p=wo(),y=Us(a),x=ya(p,y);x.tag=2,l!=null&&(x.callback=l),l=Fl(a,x,y),l!==null&&(Rr(l,a,y,p),Qp(l,a,y))}};function iS(a,l,p,y,x,T,B){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(y,T,B):l.prototype&&l.prototype.isPureReactComponent?!qd(p,y)||!qd(x,T):!0}function sS(a,l,p){var y=!1,x=cs,T=l.contextType;return typeof T=="object"&&T!==null?T=di(T):(x=Sr(l)?fa:Qt.current,y=l.contextTypes,T=(y=y!=null)?ii(a,x):cs),l=new l(p,T),a.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,l.updater=ku,a.stateNode=l,l._reactInternals=a,y&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=x,a.__reactInternalMemoizedMaskedChildContext=T),l}function lS(a,l,p,y){a=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(p,y),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(p,y),l.state!==a&&ku.enqueueReplaceState(l,l.state,null)}function wy(a,l,p,y){var x=a.stateNode;x.props=p,x.state=a.memoizedState,x.refs={},Kp(a);var T=l.contextType;typeof T=="object"&&T!==null?x.context=di(T):(T=Sr(l)?fa:Qt.current,x.context=ii(a,T)),x.state=a.memoizedState,T=l.getDerivedStateFromProps,typeof T=="function"&&(Du(a,l,T,p),x.state=a.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(l=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),l!==x.state&&ku.enqueueReplaceState(x,x.state,null),Xp(a,p,x,y),x.state=a.memoizedState),typeof x.componentDidMount=="function"&&(a.flags|=4194308)}function Il(a,l){try{var p="",y=l;do p+=ue(y),y=y.return;while(y);var x=p}catch(T){x=`
|
|
189
|
+
Error generating stack: `+T.message+`
|
|
190
|
+
`+T.stack}return{value:a,source:l,stack:x,digest:null}}function Cy(a,l,p){return{value:a,source:null,stack:p??null,digest:l??null}}function pf(a,l){try{console.error(l.value)}catch(p){setTimeout(function(){throw p})}}var uS=typeof WeakMap=="function"?WeakMap:Map;function cS(a,l,p){p=ya(-1,p),p.tag=3,p.payload={element:null};var y=l.value;return p.callback=function(){Om||(Om=!0,_y=y),pf(a,l)},p}function dS(a,l,p){p=ya(-1,p),p.tag=3;var y=a.type.getDerivedStateFromError;if(typeof y=="function"){var x=l.value;p.payload=function(){return y(x)},p.callback=function(){pf(a,l)}}var T=a.stateNode;return T!==null&&typeof T.componentDidCatch=="function"&&(p.callback=function(){pf(a,l),typeof y!="function"&&(hi===null?hi=new Set([this]):hi.add(this));var B=l.stack;this.componentDidCatch(l.value,{componentStack:B!==null?B:""})}),p}function mf(a,l,p){var y=a.pingCache;if(y===null){y=a.pingCache=new uS;var x=new Set;y.set(l,x)}else x=y.get(l),x===void 0&&(x=new Set,y.set(l,x));x.has(p)||(x.add(p),a=HE.bind(null,a,l,p),l.then(a,a))}function fS(a){do{var l;if((l=a.tag===13)&&(l=a.memoizedState,l=l!==null?l.dehydrated!==null:!0),l)return a;a=a.return}while(a!==null);return null}function Ey(a,l,p,y,x){return a.mode&1?(a.flags|=65536,a.lanes=x,a):(a===l?a.flags|=65536:(a.flags|=128,p.flags|=131072,p.flags&=-52805,p.tag===1&&(p.alternate===null?p.tag=17:(l=ya(-1,1),l.tag=2,Fl(p,l,1))),p.lanes|=1),a)}var pS=$.ReactCurrentOwner,ba=!1;function Ir(a,l,p,y){l.child=a===null?eS(l,null,p,y):Rc(l,a.child,p,y)}function $c(a,l,p,y,x){p=p.render;var T=l.ref;return Oc(l,x),y=Qe(a,l,p,y,T,x),p=eo(),a!==null&&!ba?(l.updateQueue=a.updateQueue,l.flags&=-2053,a.lanes&=~x,$r(a,l,x)):(vr&&p&&Up(l),l.flags|=1,Ir(a,l,y,x),l.child)}function $l(a,l,p,y,x){if(a===null){var T=p.type;return typeof T=="function"&&!Iy(T)&&T.defaultProps===void 0&&p.compare===null&&p.defaultProps===void 0?(l.tag=15,l.type=T,vm(a,l,T,y,x)):(a=Nm(p.type,null,y,l,l.mode,x),a.ref=l.ref,a.return=l,l.child=a)}if(T=a.child,!(a.lanes&x)){var B=T.memoizedProps;if(p=p.compare,p=p!==null?p:qd,p(B,y)&&a.ref===l.ref)return $r(a,l,x)}return l.flags|=1,a=Bl(T,y),a.ref=l.ref,a.return=l,l.child=a}function vm(a,l,p,y,x){if(a!==null){var T=a.memoizedProps;if(qd(T,y)&&a.ref===l.ref)if(ba=!1,l.pendingProps=y=T,(a.lanes&x)!==0)a.flags&131072&&(ba=!0);else return l.lanes=a.lanes,$r(a,l,x)}return rn(a,l,p,y,x)}function Sa(a,l,p){var y=l.pendingProps,x=y.children,T=a!==null?a.memoizedState:null;if(y.mode==="hidden")if(!(l.mode&1))l.memoizedState={baseLanes:0,cachePool:null,transitions:null},Vn(Gc,xa),xa|=p;else{if(!(p&1073741824))return a=T!==null?T.baseLanes|p:p,l.lanes=l.childLanes=1073741824,l.memoizedState={baseLanes:a,cachePool:null,transitions:null},l.updateQueue=null,Vn(Gc,xa),xa|=a,null;l.memoizedState={baseLanes:0,cachePool:null,transitions:null},y=T!==null?T.baseLanes:p,Vn(Gc,xa),xa|=y}else T!==null?(y=T.baseLanes|p,l.memoizedState=null):y=p,Vn(Gc,xa),xa|=y;return Ir(a,l,x,p),l.child}function Mu(a,l){var p=l.ref;(a===null&&p!==null||a!==null&&a.ref!==p)&&(l.flags|=512,l.flags|=2097152)}function rn(a,l,p,y,x){var T=Sr(p)?fa:Qt.current;return T=ii(l,T),Oc(l,x),p=Qe(a,l,p,y,T,x),y=eo(),a!==null&&!ba?(l.updateQueue=a.updateQueue,l.flags&=-2053,a.lanes&=~x,$r(a,l,x)):(vr&&y&&Up(l),l.flags|=1,Ir(a,l,p,x),l.child)}function hf(a,l,p,y,x){if(Sr(p)){var T=!0;zp(l)}else T=!1;if(Oc(l,x),l.stateNode===null)yf(a,l),sS(l,p,y),wy(l,p,y,x),y=!0;else if(a===null){var B=l.stateNode,ie=l.memoizedProps;B.props=ie;var pe=B.context,Le=p.contextType;typeof Le=="object"&&Le!==null?Le=di(Le):(Le=Sr(p)?fa:Qt.current,Le=ii(l,Le));var Je=p.getDerivedStateFromProps,nt=typeof Je=="function"||typeof B.getSnapshotBeforeUpdate=="function";nt||typeof B.UNSAFE_componentWillReceiveProps!="function"&&typeof B.componentWillReceiveProps!="function"||(ie!==y||pe!==Le)&&lS(l,B,y,Le),Al=!1;var Xe=l.memoizedState;B.state=Xe,Xp(l,y,B,x),pe=l.memoizedState,ie!==y||Xe!==pe||Pr.current||Al?(typeof Je=="function"&&(Du(l,p,Je,y),pe=l.memoizedState),(ie=Al||iS(l,p,ie,y,Xe,pe,Le))?(nt||typeof B.UNSAFE_componentWillMount!="function"&&typeof B.componentWillMount!="function"||(typeof B.componentWillMount=="function"&&B.componentWillMount(),typeof B.UNSAFE_componentWillMount=="function"&&B.UNSAFE_componentWillMount()),typeof B.componentDidMount=="function"&&(l.flags|=4194308)):(typeof B.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=y,l.memoizedState=pe),B.props=y,B.state=pe,B.context=Le,y=ie):(typeof B.componentDidMount=="function"&&(l.flags|=4194308),y=!1)}else{B=l.stateNode,Dc(a,l),ie=l.memoizedProps,Le=l.type===l.elementType?ie:ga(l.type,ie),B.props=Le,nt=l.pendingProps,Xe=B.context,pe=p.contextType,typeof pe=="object"&&pe!==null?pe=di(pe):(pe=Sr(p)?fa:Qt.current,pe=ii(l,pe));var bt=p.getDerivedStateFromProps;(Je=typeof bt=="function"||typeof B.getSnapshotBeforeUpdate=="function")||typeof B.UNSAFE_componentWillReceiveProps!="function"&&typeof B.componentWillReceiveProps!="function"||(ie!==nt||Xe!==pe)&&lS(l,B,y,pe),Al=!1,Xe=l.memoizedState,B.state=Xe,Xp(l,y,B,x);var Et=l.memoizedState;ie!==nt||Xe!==Et||Pr.current||Al?(typeof bt=="function"&&(Du(l,p,bt,y),Et=l.memoizedState),(Le=Al||iS(l,p,Le,y,Xe,Et,pe)||!1)?(Je||typeof B.UNSAFE_componentWillUpdate!="function"&&typeof B.componentWillUpdate!="function"||(typeof B.componentWillUpdate=="function"&&B.componentWillUpdate(y,Et,pe),typeof B.UNSAFE_componentWillUpdate=="function"&&B.UNSAFE_componentWillUpdate(y,Et,pe)),typeof B.componentDidUpdate=="function"&&(l.flags|=4),typeof B.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof B.componentDidUpdate!="function"||ie===a.memoizedProps&&Xe===a.memoizedState||(l.flags|=4),typeof B.getSnapshotBeforeUpdate!="function"||ie===a.memoizedProps&&Xe===a.memoizedState||(l.flags|=1024),l.memoizedProps=y,l.memoizedState=Et),B.props=y,B.state=Et,B.context=pe,y=Le):(typeof B.componentDidUpdate!="function"||ie===a.memoizedProps&&Xe===a.memoizedState||(l.flags|=4),typeof B.getSnapshotBeforeUpdate!="function"||ie===a.memoizedProps&&Xe===a.memoizedState||(l.flags|=1024),y=!1)}return ym(a,l,p,y,T,x)}function ym(a,l,p,y,x,T){Mu(a,l);var B=(l.flags&128)!==0;if(!y&&!B)return x&&K0(l,p,!1),$r(a,l,T);y=l.stateNode,pS.current=l;var ie=B&&typeof p.getDerivedStateFromError!="function"?null:y.render();return l.flags|=1,a!==null&&B?(l.child=Rc(l,a.child,null,T),l.child=Rc(l,null,ie,T)):Ir(a,l,ie,T),l.memoizedState=y.state,x&&K0(l,p,!0),l.child}function FE(a){var l=a.stateNode;l.pendingContext?_l(a,l.pendingContext,l.pendingContext!==l.context):l.context&&_l(a,l.context,!1),yy(a,l.containerInfo)}function mS(a,l,p,y,x){return Tr(),my(x),l.flags|=256,Ir(a,l,p,y),l.child}var vf={dehydrated:null,treeContext:null,retryLane:0};function Pu(a){return{baseLanes:a,cachePool:null,transitions:null}}function hS(a,l,p){var y=l.pendingProps,x=xr.current,T=!1,B=(l.flags&128)!==0,ie;if((ie=B)||(ie=a!==null&&a.memoizedState===null?!1:(x&2)!==0),ie?(T=!0,l.flags&=-129):(a===null||a.memoizedState!==null)&&(x|=1),Vn(xr,x&1),a===null)return Wp(l),a=l.memoizedState,a!==null&&(a=a.dehydrated,a!==null)?(l.mode&1?a.data==="$!"?l.lanes=8:l.lanes=1073741824:l.lanes=1,null):(B=y.children,a=y.fallback,T?(y=l.mode,T=l.child,B={mode:"hidden",children:B},!(y&1)&&T!==null?(T.childLanes=0,T.pendingProps=B):T=Am(B,y,0,null),a=Iu(a,y,p,null),T.return=l,a.return=l,T.sibling=a,l.child=T,l.child.memoizedState=Pu(p),l.memoizedState=vf,a):gm(l,B));if(x=a.memoizedState,x!==null&&(ie=x.dehydrated,ie!==null))return Ty(a,l,B,y,ie,x,p);if(T){T=y.fallback,B=l.mode,x=a.child,ie=x.sibling;var pe={mode:"hidden",children:y.children};return!(B&1)&&l.child!==x?(y=l.child,y.childLanes=0,y.pendingProps=pe,l.deletions=null):(y=Bl(x,pe),y.subtreeFlags=x.subtreeFlags&14680064),ie!==null?T=Bl(ie,T):(T=Iu(T,B,p,null),T.flags|=2),T.return=l,y.return=l,y.sibling=T,l.child=y,y=T,T=l.child,B=a.child.memoizedState,B=B===null?Pu(p):{baseLanes:B.baseLanes|p,cachePool:null,transitions:B.transitions},T.memoizedState=B,T.childLanes=a.childLanes&~p,l.memoizedState=vf,y}return T=a.child,a=T.sibling,y=Bl(T,{mode:"visible",children:y.children}),!(l.mode&1)&&(y.lanes=p),y.return=l,y.sibling=null,a!==null&&(p=l.deletions,p===null?(l.deletions=[a],l.flags|=16):p.push(a)),l.child=y,l.memoizedState=null,y}function gm(a,l){return l=Am({mode:"visible",children:l},a.mode,0,null),l.return=a,a.child=l}function bm(a,l,p,y){return y!==null&&my(y),Rc(l,a.child,null,p),a=gm(l,l.pendingProps.children),a.flags|=2,l.memoizedState=null,a}function Ty(a,l,p,y,x,T,B){if(p)return l.flags&256?(l.flags&=-257,y=Cy(Error(o(422))),bm(a,l,B,y)):l.memoizedState!==null?(l.child=a.child,l.flags|=128,null):(T=y.fallback,x=l.mode,y=Am({mode:"visible",children:y.children},x,0,null),T=Iu(T,x,B,null),T.flags|=2,y.return=l,T.return=l,y.sibling=T,l.child=y,l.mode&1&&Rc(l,a.child,null,B),l.child.memoizedState=Pu(B),l.memoizedState=vf,T);if(!(l.mode&1))return bm(a,l,B,null);if(x.data==="$!"){if(y=x.nextSibling&&x.nextSibling.dataset,y)var ie=y.dgst;return y=ie,T=Error(o(419)),y=Cy(T,y,void 0),bm(a,l,B,y)}if(ie=(B&a.childLanes)!==0,ba||ie){if(y=Nr,y!==null){switch(B&-B){case 4:x=2;break;case 16:x=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:x=32;break;case 536870912:x=268435456;break;default:x=0}x=x&(y.suspendedLanes|B)?0:x,x!==0&&x!==T.retryLane&&(T.retryLane=x,js(a,x),Rr(y,a,x,-1))}return wf(),y=Cy(Error(o(421))),bm(a,l,B,y)}return x.data==="$?"?(l.flags|=128,l.child=a.child,l=Ly.bind(null,a),x._reactRetry=l,null):(a=T.treeContext,va=$i(x.nextSibling),La=l,vr=!0,ui=null,a!==null&&(ha[$o++]=Ro,ha[$o++]=Is,ha[$o++]=li,Ro=a.id,Is=a.overflow,li=l),l=gm(l,y.children),l.flags|=4096,l)}function vS(a,l,p){a.lanes|=l;var y=a.alternate;y!==null&&(y.lanes|=l),vy(a.return,l,p)}function Sm(a,l,p,y,x){var T=a.memoizedState;T===null?a.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:y,tail:p,tailMode:x}:(T.isBackwards=l,T.rendering=null,T.renderingStartTime=0,T.last=y,T.tail=p,T.tailMode=x)}function Ry(a,l,p){var y=l.pendingProps,x=y.revealOrder,T=y.tail;if(Ir(a,l,y.children,p),y=xr.current,y&2)y=y&1|2,l.flags|=128;else{if(a!==null&&a.flags&128)e:for(a=l.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&vS(a,p,l);else if(a.tag===19)vS(a,p,l);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===l)break e;for(;a.sibling===null;){if(a.return===null||a.return===l)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}y&=1}if(Vn(xr,y),!(l.mode&1))l.memoizedState=null;else switch(x){case"forwards":for(p=l.child,x=null;p!==null;)a=p.alternate,a!==null&&Zp(a)===null&&(x=p),p=p.sibling;p=x,p===null?(x=l.child,l.child=null):(x=p.sibling,p.sibling=null),Sm(l,!1,x,p,T);break;case"backwards":for(p=null,x=l.child,l.child=null;x!==null;){if(a=x.alternate,a!==null&&Zp(a)===null){l.child=x;break}a=x.sibling,x.sibling=p,p=x,x=a}Sm(l,!0,p,null,T);break;case"together":Sm(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function yf(a,l){!(l.mode&1)&&a!==null&&(a.alternate=null,l.alternate=null,l.flags|=2)}function $r(a,l,p){if(a!==null&&(l.dependencies=a.dependencies),Nu|=l.lanes,!(p&l.childLanes))return null;if(a!==null&&l.child!==a.child)throw Error(o(153));if(l.child!==null){for(a=l.child,p=Bl(a,a.pendingProps),l.child=p,p.return=l;a.sibling!==null;)a=a.sibling,p=p.sibling=Bl(a,a.pendingProps),p.return=l;p.sibling=null}return l.child}function Bs(a,l,p){switch(l.tag){case 3:FE(l),Tr();break;case 5:oS(l);break;case 1:Sr(l.type)&&zp(l);break;case 4:yy(l,l.stateNode.containerInfo);break;case 10:var y=l.type._context,x=l.memoizedProps.value;Vn($s,y._currentValue),y._currentValue=x;break;case 13:if(y=l.memoizedState,y!==null)return y.dehydrated!==null?(Vn(xr,xr.current&1),l.flags|=128,null):p&l.child.childLanes?hS(a,l,p):(Vn(xr,xr.current&1),a=$r(a,l,p),a!==null?a.sibling:null);Vn(xr,xr.current&1);break;case 19:if(y=(p&l.childLanes)!==0,a.flags&128){if(y)return Ry(a,l,p);l.flags|=128}if(x=l.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),Vn(xr,xr.current),y)break;return null;case 22:case 23:return l.lanes=0,Sa(a,l,p)}return $r(a,l,p)}var fs,jc,Vc,pi;fs=function(a,l){for(var p=l.child;p!==null;){if(p.tag===5||p.tag===6)a.appendChild(p.stateNode);else if(p.tag!==4&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===l)break;for(;p.sibling===null;){if(p.return===null||p.return===l)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},jc=function(){},Vc=function(a,l,p,y){var x=a.memoizedProps;if(x!==y){a=l.stateNode,Eu(ji.current);var T=null;switch(p){case"input":x=he(a,x),y=he(a,y),T=[];break;case"select":x=oe({},x,{value:void 0}),y=oe({},y,{value:void 0}),T=[];break;case"textarea":x=Ke(a,x),y=Ke(a,y),T=[];break;default:typeof x.onClick!="function"&&typeof y.onClick=="function"&&(a.onclick=Bp)}kt(p,y);var B;p=null;for(Le in x)if(!y.hasOwnProperty(Le)&&x.hasOwnProperty(Le)&&x[Le]!=null)if(Le==="style"){var ie=x[Le];for(B in ie)ie.hasOwnProperty(B)&&(p||(p={}),p[B]="")}else Le!=="dangerouslySetInnerHTML"&&Le!=="children"&&Le!=="suppressContentEditableWarning"&&Le!=="suppressHydrationWarning"&&Le!=="autoFocus"&&(u.hasOwnProperty(Le)?T||(T=[]):(T=T||[]).push(Le,null));for(Le in y){var pe=y[Le];if(ie=x!=null?x[Le]:void 0,y.hasOwnProperty(Le)&&pe!==ie&&(pe!=null||ie!=null))if(Le==="style")if(ie){for(B in ie)!ie.hasOwnProperty(B)||pe&&pe.hasOwnProperty(B)||(p||(p={}),p[B]="");for(B in pe)pe.hasOwnProperty(B)&&ie[B]!==pe[B]&&(p||(p={}),p[B]=pe[B])}else p||(T||(T=[]),T.push(Le,p)),p=pe;else Le==="dangerouslySetInnerHTML"?(pe=pe?pe.__html:void 0,ie=ie?ie.__html:void 0,pe!=null&&ie!==pe&&(T=T||[]).push(Le,pe)):Le==="children"?typeof pe!="string"&&typeof pe!="number"||(T=T||[]).push(Le,""+pe):Le!=="suppressContentEditableWarning"&&Le!=="suppressHydrationWarning"&&(u.hasOwnProperty(Le)?(pe!=null&&Le==="onScroll"&&lr("scroll",a),T||ie===pe||(T=[])):(T=T||[]).push(Le,pe))}p&&(T=T||[]).push("style",p);var Le=T;(l.updateQueue=Le)&&(l.flags|=4)}},pi=function(a,l,p,y){p!==y&&(l.flags|=4)};function _r(a,l){if(!vr)switch(a.tailMode){case"hidden":l=a.tail;for(var p=null;l!==null;)l.alternate!==null&&(p=l),l=l.sibling;p===null?a.tail=null:p.sibling=null;break;case"collapsed":p=a.tail;for(var y=null;p!==null;)p.alternate!==null&&(y=p),p=p.sibling;y===null?l||a.tail===null?a.tail=null:a.tail.sibling=null:y.sibling=null}}function Bo(a){var l=a.alternate!==null&&a.alternate.child===a.child,p=0,y=0;if(l)for(var x=a.child;x!==null;)p|=x.lanes|x.childLanes,y|=x.subtreeFlags&14680064,y|=x.flags&14680064,x.return=a,x=x.sibling;else for(x=a.child;x!==null;)p|=x.lanes|x.childLanes,y|=x.subtreeFlags,y|=x.flags,x.return=a,x=x.sibling;return a.subtreeFlags|=y,a.childLanes=p,l}function LE(a,l,p){var y=l.pendingProps;switch(fy(l),l.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bo(l),null;case 1:return Sr(l.type)&&si(),Bo(l),null;case 3:return y=l.stateNode,Mc(),In(Pr),In(Qt),by(),y.pendingContext&&(y.context=y.pendingContext,y.pendingContext=null),(a===null||a.child===null)&&(Yp(l)?l.flags|=4:a===null||a.memoizedState.isDehydrated&&!(l.flags&256)||(l.flags|=1024,ui!==null&&(Ny(ui),ui=null))),jc(a,l),Bo(l),null;case 5:gy(l);var x=Eu(sf.current);if(p=l.type,a!==null&&l.stateNode!=null)Vc(a,l,p,y,x),a.ref!==l.ref&&(l.flags|=512,l.flags|=2097152);else{if(!y){if(l.stateNode===null)throw Error(o(166));return Bo(l),null}if(a=Eu(ji.current),Yp(l)){y=l.stateNode,p=l.type;var T=l.memoizedProps;switch(y[us]=l,y[Su]=T,a=(l.mode&1)!==0,p){case"dialog":lr("cancel",y),lr("close",y);break;case"iframe":case"object":case"embed":lr("load",y);break;case"video":case"audio":for(x=0;x<Xd.length;x++)lr(Xd[x],y);break;case"source":lr("error",y);break;case"img":case"image":case"link":lr("error",y),lr("load",y);break;case"details":lr("toggle",y);break;case"input":We(y,T),lr("invalid",y);break;case"select":y._wrapperState={wasMultiple:!!T.multiple},lr("invalid",y);break;case"textarea":Oe(y,T),lr("invalid",y)}kt(p,T),x=null;for(var B in T)if(T.hasOwnProperty(B)){var ie=T[B];B==="children"?typeof ie=="string"?y.textContent!==ie&&(T.suppressHydrationWarning!==!0&&Vp(y.textContent,ie,a),x=["children",ie]):typeof ie=="number"&&y.textContent!==""+ie&&(T.suppressHydrationWarning!==!0&&Vp(y.textContent,ie,a),x=["children",""+ie]):u.hasOwnProperty(B)&&ie!=null&&B==="onScroll"&&lr("scroll",y)}switch(p){case"input":je(y),q(y,T,!0);break;case"textarea":je(y),gt(y);break;case"select":case"option":break;default:typeof T.onClick=="function"&&(y.onclick=Bp)}y=x,l.updateQueue=y,y!==null&&(l.flags|=4)}else{B=x.nodeType===9?x:x.ownerDocument,a==="http://www.w3.org/1999/xhtml"&&(a=qt(p)),a==="http://www.w3.org/1999/xhtml"?p==="script"?(a=B.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild)):typeof y.is=="string"?a=B.createElement(p,{is:y.is}):(a=B.createElement(p),p==="select"&&(B=a,y.multiple?B.multiple=!0:y.size&&(B.size=y.size))):a=B.createElementNS(a,p),a[us]=l,a[Su]=y,fs(a,l,!1,!1),l.stateNode=a;e:{switch(B=Kt(p,y),p){case"dialog":lr("cancel",a),lr("close",a),x=y;break;case"iframe":case"object":case"embed":lr("load",a),x=y;break;case"video":case"audio":for(x=0;x<Xd.length;x++)lr(Xd[x],a);x=y;break;case"source":lr("error",a),x=y;break;case"img":case"image":case"link":lr("error",a),lr("load",a),x=y;break;case"details":lr("toggle",a),x=y;break;case"input":We(a,y),x=he(a,y),lr("invalid",a);break;case"option":x=y;break;case"select":a._wrapperState={wasMultiple:!!y.multiple},x=oe({},y,{value:void 0}),lr("invalid",a);break;case"textarea":Oe(a,y),x=Ke(a,y),lr("invalid",a);break;default:x=y}kt(p,x),ie=x;for(T in ie)if(ie.hasOwnProperty(T)){var pe=ie[T];T==="style"?tn(a,pe):T==="dangerouslySetInnerHTML"?(pe=pe?pe.__html:void 0,pe!=null&&or(a,pe)):T==="children"?typeof pe=="string"?(p!=="textarea"||pe!=="")&&Ln(a,pe):typeof pe=="number"&&Ln(a,""+pe):T!=="suppressContentEditableWarning"&&T!=="suppressHydrationWarning"&&T!=="autoFocus"&&(u.hasOwnProperty(T)?pe!=null&&T==="onScroll"&&lr("scroll",a):pe!=null&&A(a,T,pe,B))}switch(p){case"input":je(a),q(a,y,!1);break;case"textarea":je(a),gt(a);break;case"option":y.value!=null&&a.setAttribute("value",""+me(y.value));break;case"select":a.multiple=!!y.multiple,T=y.value,T!=null?Ve(a,!!y.multiple,T,!1):y.defaultValue!=null&&Ve(a,!!y.multiple,y.defaultValue,!0);break;default:typeof x.onClick=="function"&&(a.onclick=Bp)}switch(p){case"button":case"input":case"select":case"textarea":y=!!y.autoFocus;break e;case"img":y=!0;break e;default:y=!1}}y&&(l.flags|=4)}l.ref!==null&&(l.flags|=512,l.flags|=2097152)}return Bo(l),null;case 6:if(a&&l.stateNode!=null)pi(a,l,a.memoizedProps,y);else{if(typeof y!="string"&&l.stateNode===null)throw Error(o(166));if(p=Eu(sf.current),Eu(ji.current),Yp(l)){if(y=l.stateNode,p=l.memoizedProps,y[us]=l,(T=y.nodeValue!==p)&&(a=La,a!==null))switch(a.tag){case 3:Vp(y.nodeValue,p,(a.mode&1)!==0);break;case 5:a.memoizedProps.suppressHydrationWarning!==!0&&Vp(y.nodeValue,p,(a.mode&1)!==0)}T&&(l.flags|=4)}else y=(p.nodeType===9?p:p.ownerDocument).createTextNode(y),y[us]=l,l.stateNode=y}return Bo(l),null;case 13:if(In(xr),y=l.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(vr&&va!==null&&l.mode&1&&!(l.flags&128))Z0(),Tr(),l.flags|=98560,T=!1;else if(T=Yp(l),y!==null&&y.dehydrated!==null){if(a===null){if(!T)throw Error(o(318));if(T=l.memoizedState,T=T!==null?T.dehydrated:null,!T)throw Error(o(317));T[us]=l}else Tr(),!(l.flags&128)&&(l.memoizedState=null),l.flags|=4;Bo(l),T=!1}else ui!==null&&(Ny(ui),ui=null),T=!0;if(!T)return l.flags&65536?l:null}return l.flags&128?(l.lanes=p,l):(y=y!==null,y!==(a!==null&&a.memoizedState!==null)&&y&&(l.child.flags|=8192,l.mode&1&&(a===null||xr.current&1?co===0&&(co=3):wf())),l.updateQueue!==null&&(l.flags|=4),Bo(l),null);case 4:return Mc(),jc(a,l),a===null&&Cc(l.stateNode.containerInfo),Bo(l),null;case 10:return hy(l.type._context),Bo(l),null;case 17:return Sr(l.type)&&si(),Bo(l),null;case 19:if(In(xr),T=l.memoizedState,T===null)return Bo(l),null;if(y=(l.flags&128)!==0,B=T.rendering,B===null)if(y)_r(T,!1);else{if(co!==0||a!==null&&a.flags&128)for(a=l.child;a!==null;){if(B=Zp(a),B!==null){for(l.flags|=128,_r(T,!1),y=B.updateQueue,y!==null&&(l.updateQueue=y,l.flags|=4),l.subtreeFlags=0,y=p,p=l.child;p!==null;)T=p,a=y,T.flags&=14680066,B=T.alternate,B===null?(T.childLanes=0,T.lanes=a,T.child=null,T.subtreeFlags=0,T.memoizedProps=null,T.memoizedState=null,T.updateQueue=null,T.dependencies=null,T.stateNode=null):(T.childLanes=B.childLanes,T.lanes=B.lanes,T.child=B.child,T.subtreeFlags=0,T.deletions=null,T.memoizedProps=B.memoizedProps,T.memoizedState=B.memoizedState,T.updateQueue=B.updateQueue,T.type=B.type,a=B.dependencies,T.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),p=p.sibling;return Vn(xr,xr.current&1|2),l.child}a=a.sibling}T.tail!==null&&Mn()>Qc&&(l.flags|=128,y=!0,_r(T,!1),l.lanes=4194304)}else{if(!y)if(a=Zp(B),a!==null){if(l.flags|=128,y=!0,p=a.updateQueue,p!==null&&(l.updateQueue=p,l.flags|=4),_r(T,!0),T.tail===null&&T.tailMode==="hidden"&&!B.alternate&&!vr)return Bo(l),null}else 2*Mn()-T.renderingStartTime>Qc&&p!==1073741824&&(l.flags|=128,y=!0,_r(T,!1),l.lanes=4194304);T.isBackwards?(B.sibling=l.child,l.child=B):(p=T.last,p!==null?p.sibling=B:l.child=B,T.last=B)}return T.tail!==null?(l=T.tail,T.rendering=l,T.tail=l.sibling,T.renderingStartTime=Mn(),l.sibling=null,p=xr.current,Vn(xr,y?p&1|2:p&1),l):(Bo(l),null);case 22:case 23:return Pm(),y=l.memoizedState!==null,a!==null&&a.memoizedState!==null!==y&&(l.flags|=8192),y&&l.mode&1?xa&1073741824&&(Bo(l),l.subtreeFlags&6&&(l.flags|=8192)):Bo(l),null;case 24:return null;case 25:return null}throw Error(o(156,l.tag))}function IE(a,l){switch(fy(l),l.tag){case 1:return Sr(l.type)&&si(),a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 3:return Mc(),In(Pr),In(Qt),by(),a=l.flags,a&65536&&!(a&128)?(l.flags=a&-65537|128,l):null;case 5:return gy(l),null;case 13:if(In(xr),a=l.memoizedState,a!==null&&a.dehydrated!==null){if(l.alternate===null)throw Error(o(340));Tr()}return a=l.flags,a&65536?(l.flags=a&-65537|128,l):null;case 19:return In(xr),null;case 4:return Mc(),null;case 10:return hy(l.type._context),null;case 22:case 23:return Pm(),null;case 24:return null;default:return null}}var Bc=!1,Do=!1,xm=typeof WeakSet=="function"?WeakSet:Set,Ct=null;function zc(a,l){var p=a.ref;if(p!==null)if(typeof p=="function")try{p(null)}catch(y){Ar(a,l,y)}else p.current=null}function Oy(a,l,p){try{p()}catch(y){Ar(a,l,y)}}var wm=!1;function $E(a,l){if(oy=ri,a=Fp(),Ns(a)){if("selectionStart"in a)var p={start:a.selectionStart,end:a.selectionEnd};else e:{p=(p=a.ownerDocument)&&p.defaultView||window;var y=p.getSelection&&p.getSelection();if(y&&y.rangeCount!==0){p=y.anchorNode;var x=y.anchorOffset,T=y.focusNode;y=y.focusOffset;try{p.nodeType,T.nodeType}catch{p=null;break e}var B=0,ie=-1,pe=-1,Le=0,Je=0,nt=a,Xe=null;t:for(;;){for(var bt;nt!==p||x!==0&&nt.nodeType!==3||(ie=B+x),nt!==T||y!==0&&nt.nodeType!==3||(pe=B+y),nt.nodeType===3&&(B+=nt.nodeValue.length),(bt=nt.firstChild)!==null;)Xe=nt,nt=bt;for(;;){if(nt===a)break t;if(Xe===p&&++Le===x&&(ie=B),Xe===T&&++Je===y&&(pe=B),(bt=nt.nextSibling)!==null)break;nt=Xe,Xe=nt.parentNode}nt=bt}p=ie===-1||pe===-1?null:{start:ie,end:pe}}else p=null}p=p||{start:0,end:0}}else p=null;for(gu={focusedElem:a,selectionRange:p},ri=!1,Ct=l;Ct!==null;)if(l=Ct,a=l.child,(l.subtreeFlags&1028)!==0&&a!==null)a.return=l,Ct=a;else for(;Ct!==null;){l=Ct;try{var Et=l.alternate;if(l.flags&1024)switch(l.tag){case 0:case 11:case 15:break;case 1:if(Et!==null){var Ot=Et.memoizedProps,jr=Et.memoizedState,Re=l.stateNode,ye=Re.getSnapshotBeforeUpdate(l.elementType===l.type?Ot:ga(l.type,Ot),jr);Re.__reactInternalSnapshotBeforeUpdate=ye}break;case 3:var _e=l.stateNode.containerInfo;_e.nodeType===1?_e.textContent="":_e.nodeType===9&&_e.documentElement&&_e.removeChild(_e.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(lt){Ar(l,l.return,lt)}if(a=l.sibling,a!==null){a.return=l.return,Ct=a;break}Ct=l.return}return Et=wm,wm=!1,Et}function Uc(a,l,p){var y=l.updateQueue;if(y=y!==null?y.lastEffect:null,y!==null){var x=y=y.next;do{if((x.tag&a)===a){var T=x.destroy;x.destroy=void 0,T!==void 0&&Oy(l,p,T)}x=x.next}while(x!==y)}}function Cm(a,l){if(l=l.updateQueue,l=l!==null?l.lastEffect:null,l!==null){var p=l=l.next;do{if((p.tag&a)===a){var y=p.create;p.destroy=y()}p=p.next}while(p!==l)}}function Em(a){var l=a.ref;if(l!==null){var p=a.stateNode;switch(a.tag){case 5:a=p;break;default:a=p}typeof l=="function"?l(a):l.current=a}}function yS(a){var l=a.alternate;l!==null&&(a.alternate=null,yS(l)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(l=a.stateNode,l!==null&&(delete l[us],delete l[Su],delete l[sy],delete l[_E],delete l[ly])),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}function Dy(a){return a.tag===5||a.tag===3||a.tag===4}function gS(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||Dy(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function gf(a,l,p){var y=a.tag;if(y===5||y===6)a=a.stateNode,l?p.nodeType===8?p.parentNode.insertBefore(a,l):p.insertBefore(a,l):(p.nodeType===8?(l=p.parentNode,l.insertBefore(a,p)):(l=p,l.appendChild(a)),p=p._reactRootContainer,p!=null||l.onclick!==null||(l.onclick=Bp));else if(y!==4&&(a=a.child,a!==null))for(gf(a,l,p),a=a.sibling;a!==null;)gf(a,l,p),a=a.sibling}function Hc(a,l,p){var y=a.tag;if(y===5||y===6)a=a.stateNode,l?p.insertBefore(a,l):p.appendChild(a);else if(y!==4&&(a=a.child,a!==null))for(Hc(a,l,p),a=a.sibling;a!==null;)Hc(a,l,p),a=a.sibling}var wr=null,So=!1;function Qo(a,l,p){for(p=p.child;p!==null;)Wc(a,l,p),p=p.sibling}function Wc(a,l,p){if(la&&typeof la.onCommitFiberUnmount=="function")try{la.onCommitFiberUnmount(gl,p)}catch{}switch(p.tag){case 5:Do||zc(p,l);case 6:var y=wr,x=So;wr=null,Qo(a,l,p),wr=y,So=x,wr!==null&&(So?(a=wr,p=p.stateNode,a.nodeType===8?a.parentNode.removeChild(p):a.removeChild(p)):wr.removeChild(p.stateNode));break;case 18:wr!==null&&(So?(a=wr,p=p.stateNode,a.nodeType===8?kl(a.parentNode,p):a.nodeType===1&&kl(a,p),Tl(a)):kl(wr,p.stateNode));break;case 4:y=wr,x=So,wr=p.stateNode.containerInfo,So=!0,Qo(a,l,p),wr=y,So=x;break;case 0:case 11:case 14:case 15:if(!Do&&(y=p.updateQueue,y!==null&&(y=y.lastEffect,y!==null))){x=y=y.next;do{var T=x,B=T.destroy;T=T.tag,B!==void 0&&(T&2||T&4)&&Oy(p,l,B),x=x.next}while(x!==y)}Qo(a,l,p);break;case 1:if(!Do&&(zc(p,l),y=p.stateNode,typeof y.componentWillUnmount=="function"))try{y.props=p.memoizedProps,y.state=p.memoizedState,y.componentWillUnmount()}catch(ie){Ar(p,l,ie)}Qo(a,l,p);break;case 21:Qo(a,l,p);break;case 22:p.mode&1?(Do=(y=Do)||p.memoizedState!==null,Qo(a,l,p),Do=y):Qo(a,l,p);break;default:Qo(a,l,p)}}function Yc(a){var l=a.updateQueue;if(l!==null){a.updateQueue=null;var p=a.stateNode;p===null&&(p=a.stateNode=new xm),l.forEach(function(y){var x=WE.bind(null,a,y);p.has(y)||(p.add(y),y.then(x,x))})}}function xo(a,l){var p=l.deletions;if(p!==null)for(var y=0;y<p.length;y++){var x=p[y];try{var T=a,B=l,ie=B;e:for(;ie!==null;){switch(ie.tag){case 5:wr=ie.stateNode,So=!1;break e;case 3:wr=ie.stateNode.containerInfo,So=!0;break e;case 4:wr=ie.stateNode.containerInfo,So=!0;break e}ie=ie.return}if(wr===null)throw Error(o(160));Wc(T,B,x),wr=null,So=!1;var pe=x.alternate;pe!==null&&(pe.return=null),x.return=null}catch(Le){Ar(x,l,Le)}}if(l.subtreeFlags&12854)for(l=l.child;l!==null;)bS(l,a),l=l.sibling}function bS(a,l){var p=a.alternate,y=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:if(xo(l,a),ps(a),y&4){try{Uc(3,a,a.return),Cm(3,a)}catch(Ot){Ar(a,a.return,Ot)}try{Uc(5,a,a.return)}catch(Ot){Ar(a,a.return,Ot)}}break;case 1:xo(l,a),ps(a),y&512&&p!==null&&zc(p,p.return);break;case 5:if(xo(l,a),ps(a),y&512&&p!==null&&zc(p,p.return),a.flags&32){var x=a.stateNode;try{Ln(x,"")}catch(Ot){Ar(a,a.return,Ot)}}if(y&4&&(x=a.stateNode,x!=null)){var T=a.memoizedProps,B=p!==null?p.memoizedProps:T,ie=a.type,pe=a.updateQueue;if(a.updateQueue=null,pe!==null)try{ie==="input"&&T.type==="radio"&&T.name!=null&&qe(x,T),Kt(ie,B);var Le=Kt(ie,T);for(B=0;B<pe.length;B+=2){var Je=pe[B],nt=pe[B+1];Je==="style"?tn(x,nt):Je==="dangerouslySetInnerHTML"?or(x,nt):Je==="children"?Ln(x,nt):A(x,Je,nt,Le)}switch(ie){case"input":tt(x,T);break;case"textarea":it(x,T);break;case"select":var Xe=x._wrapperState.wasMultiple;x._wrapperState.wasMultiple=!!T.multiple;var bt=T.value;bt!=null?Ve(x,!!T.multiple,bt,!1):Xe!==!!T.multiple&&(T.defaultValue!=null?Ve(x,!!T.multiple,T.defaultValue,!0):Ve(x,!!T.multiple,T.multiple?[]:"",!1))}x[Su]=T}catch(Ot){Ar(a,a.return,Ot)}}break;case 6:if(xo(l,a),ps(a),y&4){if(a.stateNode===null)throw Error(o(162));x=a.stateNode,T=a.memoizedProps;try{x.nodeValue=T}catch(Ot){Ar(a,a.return,Ot)}}break;case 3:if(xo(l,a),ps(a),y&4&&p!==null&&p.memoizedState.isDehydrated)try{Tl(l.containerInfo)}catch(Ot){Ar(a,a.return,Ot)}break;case 4:xo(l,a),ps(a);break;case 13:xo(l,a),ps(a),x=a.child,x.flags&8192&&(T=x.memoizedState!==null,x.stateNode.isHidden=T,!T||x.alternate!==null&&x.alternate.memoizedState!==null||(Rm=Mn())),y&4&&Yc(a);break;case 22:if(Je=p!==null&&p.memoizedState!==null,a.mode&1?(Do=(Le=Do)||Je,xo(l,a),Do=Le):xo(l,a),ps(a),y&8192){if(Le=a.memoizedState!==null,(a.stateNode.isHidden=Le)&&!Je&&a.mode&1)for(Ct=a,Je=a.child;Je!==null;){for(nt=Ct=Je;Ct!==null;){switch(Xe=Ct,bt=Xe.child,Xe.tag){case 0:case 11:case 14:case 15:Uc(4,Xe,Xe.return);break;case 1:zc(Xe,Xe.return);var Et=Xe.stateNode;if(typeof Et.componentWillUnmount=="function"){y=Xe,p=Xe.return;try{l=y,Et.props=l.memoizedProps,Et.state=l.memoizedState,Et.componentWillUnmount()}catch(Ot){Ar(y,p,Ot)}}break;case 5:zc(Xe,Xe.return);break;case 22:if(Xe.memoizedState!==null){SS(nt);continue}}bt!==null?(bt.return=Xe,Ct=bt):SS(nt)}Je=Je.sibling}e:for(Je=null,nt=a;;){if(nt.tag===5){if(Je===null){Je=nt;try{x=nt.stateNode,Le?(T=x.style,typeof T.setProperty=="function"?T.setProperty("display","none","important"):T.display="none"):(ie=nt.stateNode,pe=nt.memoizedProps.style,B=pe!=null&&pe.hasOwnProperty("display")?pe.display:null,ie.style.display=$t("display",B))}catch(Ot){Ar(a,a.return,Ot)}}}else if(nt.tag===6){if(Je===null)try{nt.stateNode.nodeValue=Le?"":nt.memoizedProps}catch(Ot){Ar(a,a.return,Ot)}}else if((nt.tag!==22&&nt.tag!==23||nt.memoizedState===null||nt===a)&&nt.child!==null){nt.child.return=nt,nt=nt.child;continue}if(nt===a)break e;for(;nt.sibling===null;){if(nt.return===null||nt.return===a)break e;Je===nt&&(Je=null),nt=nt.return}Je===nt&&(Je=null),nt.sibling.return=nt.return,nt=nt.sibling}}break;case 19:xo(l,a),ps(a),y&4&&Yc(a);break;case 21:break;default:xo(l,a),ps(a)}}function ps(a){var l=a.flags;if(l&2){try{e:{for(var p=a.return;p!==null;){if(Dy(p)){var y=p;break e}p=p.return}throw Error(o(160))}switch(y.tag){case 5:var x=y.stateNode;y.flags&32&&(Ln(x,""),y.flags&=-33);var T=gS(a);Hc(a,T,x);break;case 3:case 4:var B=y.stateNode.containerInfo,ie=gS(a);gf(a,ie,B);break;default:throw Error(o(161))}}catch(pe){Ar(a,a.return,pe)}a.flags&=-3}l&4096&&(a.flags&=-4097)}function jE(a,l,p){Ct=a,ky(a)}function ky(a,l,p){for(var y=(a.mode&1)!==0;Ct!==null;){var x=Ct,T=x.child;if(x.tag===22&&y){var B=x.memoizedState!==null||Bc;if(!B){var ie=x.alternate,pe=ie!==null&&ie.memoizedState!==null||Do;ie=Bc;var Le=Do;if(Bc=B,(Do=pe)&&!Le)for(Ct=x;Ct!==null;)B=Ct,pe=B.child,B.tag===22&&B.memoizedState!==null?My(x):pe!==null?(pe.return=B,Ct=pe):My(x);for(;T!==null;)Ct=T,ky(T),T=T.sibling;Ct=x,Bc=ie,Do=Le}qc(a)}else x.subtreeFlags&8772&&T!==null?(T.return=x,Ct=T):qc(a)}}function qc(a){for(;Ct!==null;){var l=Ct;if(l.flags&8772){var p=l.alternate;try{if(l.flags&8772)switch(l.tag){case 0:case 11:case 15:Do||Cm(5,l);break;case 1:var y=l.stateNode;if(l.flags&4&&!Do)if(p===null)y.componentDidMount();else{var x=l.elementType===l.type?p.memoizedProps:ga(l.type,p.memoizedProps);y.componentDidUpdate(x,p.memoizedState,y.__reactInternalSnapshotBeforeUpdate)}var T=l.updateQueue;T!==null&&rS(l,T,y);break;case 3:var B=l.updateQueue;if(B!==null){if(p=null,l.child!==null)switch(l.child.tag){case 5:p=l.child.stateNode;break;case 1:p=l.child.stateNode}rS(l,B,p)}break;case 5:var ie=l.stateNode;if(p===null&&l.flags&4){p=ie;var pe=l.memoizedProps;switch(l.type){case"button":case"input":case"select":case"textarea":pe.autoFocus&&p.focus();break;case"img":pe.src&&(p.src=pe.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(l.memoizedState===null){var Le=l.alternate;if(Le!==null){var Je=Le.memoizedState;if(Je!==null){var nt=Je.dehydrated;nt!==null&&Tl(nt)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}Do||l.flags&512&&Em(l)}catch(Xe){Ar(l,l.return,Xe)}}if(l===a){Ct=null;break}if(p=l.sibling,p!==null){p.return=l.return,Ct=p;break}Ct=l.return}}function SS(a){for(;Ct!==null;){var l=Ct;if(l===a){Ct=null;break}var p=l.sibling;if(p!==null){p.return=l.return,Ct=p;break}Ct=l.return}}function My(a){for(;Ct!==null;){var l=Ct;try{switch(l.tag){case 0:case 11:case 15:var p=l.return;try{Cm(4,l)}catch(pe){Ar(l,p,pe)}break;case 1:var y=l.stateNode;if(typeof y.componentDidMount=="function"){var x=l.return;try{y.componentDidMount()}catch(pe){Ar(l,x,pe)}}var T=l.return;try{Em(l)}catch(pe){Ar(l,T,pe)}break;case 5:var B=l.return;try{Em(l)}catch(pe){Ar(l,B,pe)}}}catch(pe){Ar(l,l.return,pe)}if(l===a){Ct=null;break}var ie=l.sibling;if(ie!==null){ie.return=l.return,Ct=ie;break}Ct=l.return}}var VE=Math.ceil,_u=$.ReactCurrentDispatcher,Tm=$.ReactCurrentOwner,mi=$.ReactCurrentBatchConfig,yn=0,Nr=null,yr=null,uo=0,xa=0,Gc=on(0),co=0,bf=null,Nu=0,Kc=0,Py=0,jl=null,zo=null,Rm=0,Qc=1/0,zs=null,Om=!1,_y=null,hi=null,Xc=!1,vi=null,Dm=0,Sf=0,km=null,xf=-1,Au=0;function wo(){return yn&6?Mn():xf!==-1?xf:xf=Mn()}function Us(a){return a.mode&1?yn&2&&uo!==0?uo&-uo:qp.transition!==null?(Au===0&&(Au=uc()),Au):(a=Pn,a!==0||(a=window.event,a=a===void 0?16:zd(a.type)),a):1}function Rr(a,l,p,y){if(50<Sf)throw Sf=0,km=null,Error(o(185));Os(a,p,y),(!(yn&2)||a!==Nr)&&(a===Nr&&(!(yn&2)&&(Kc|=p),co===4&&ms(a,uo)),fo(a,y),p===1&&yn===0&&!(l.mode&1)&&(Qc=Mn()+500,bo&&pa()))}function fo(a,l){var p=a.callbackNode;xl(a,l);var y=Go(a,a===Nr?uo:0);if(y===0)p!==null&&mr(p),a.callbackNode=null,a.callbackPriority=0;else if(l=y&-y,a.callbackPriority!==l){if(p!=null&&mr(p),l===1)a.tag===0?cy(Zc.bind(null,a)):uy(Zc.bind(null,a)),iy(function(){!(yn&6)&&pa()}),p=null;else{switch(dc(y)){case 1:p=Yo;break;case 4:p=ln;break;case 16:p=ti;break;case 536870912:p=sc;break;default:p=ti}p=DS(p,Mm.bind(null,a))}a.callbackPriority=l,a.callbackNode=p}}function Mm(a,l){if(xf=-1,Au=0,yn&6)throw Error(o(327));var p=a.callbackNode;if(Jc()&&a.callbackNode!==p)return null;var y=Go(a,a===Nr?uo:0);if(y===0)return null;if(y&30||y&a.expiredLanes||l)l=_m(a,y);else{l=y;var x=yn;yn|=2;var T=wS();(Nr!==a||uo!==l)&&(zs=null,Qc=Mn()+500,Lu(a,l));do try{zE();break}catch(ie){xS(a,ie)}while(!0);Ia(),_u.current=T,yn=x,yr!==null?l=0:(Nr=null,uo=0,l=co)}if(l!==0){if(l===2&&(x=wl(a),x!==0&&(y=x,l=Fu(a,x))),l===1)throw p=bf,Lu(a,0),ms(a,y),fo(a,Mn()),p;if(l===6)ms(a,y);else{if(x=a.current.alternate,!(y&30)&&!Ay(x)&&(l=_m(a,y),l===2&&(T=wl(a),T!==0&&(y=T,l=Fu(a,T))),l===1))throw p=bf,Lu(a,0),ms(a,y),fo(a,Mn()),p;switch(a.finishedWork=x,a.finishedLanes=y,l){case 0:case 1:throw Error(o(345));case 2:Vl(a,zo,zs);break;case 3:if(ms(a,y),(y&130023424)===y&&(l=Rm+500-Mn(),10<l)){if(Go(a,0)!==0)break;if(x=a.suspendedLanes,(x&y)!==y){wo(),a.pingedLanes|=a.suspendedLanes&x;break}a.timeoutHandle=bu(Vl.bind(null,a,zo,zs),l);break}Vl(a,zo,zs);break;case 4:if(ms(a,y),(y&4194240)===y)break;for(l=a.eventTimes,x=-1;0<y;){var B=31-qo(y);T=1<<B,B=l[B],B>x&&(x=B),y&=~T}if(y=x,y=Mn()-y,y=(120>y?120:480>y?480:1080>y?1080:1920>y?1920:3e3>y?3e3:4320>y?4320:1960*VE(y/1960))-y,10<y){a.timeoutHandle=bu(Vl.bind(null,a,zo,zs),y);break}Vl(a,zo,zs);break;case 5:Vl(a,zo,zs);break;default:throw Error(o(329))}}}return fo(a,Mn()),a.callbackNode===p?Mm.bind(null,a):null}function Fu(a,l){var p=jl;return a.current.memoizedState.isDehydrated&&(Lu(a,l).flags|=256),a=_m(a,l),a!==2&&(l=zo,zo=p,l!==null&&Ny(l)),a}function Ny(a){zo===null?zo=a:zo.push.apply(zo,a)}function Ay(a){for(var l=a;;){if(l.flags&16384){var p=l.updateQueue;if(p!==null&&(p=p.stores,p!==null))for(var y=0;y<p.length;y++){var x=p[y],T=x.getSnapshot;x=x.value;try{if(!oi(T(),x))return!1}catch{return!1}}}if(p=l.child,l.subtreeFlags&16384&&p!==null)p.return=l,l=p;else{if(l===a)break;for(;l.sibling===null;){if(l.return===null||l.return===a)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function ms(a,l){for(l&=~Py,l&=~Kc,a.suspendedLanes|=l,a.pingedLanes&=~l,a=a.expirationTimes;0<l;){var p=31-qo(l),y=1<<p;a[p]=-1,l&=~y}}function Zc(a){if(yn&6)throw Error(o(327));Jc();var l=Go(a,0);if(!(l&1))return fo(a,Mn()),null;var p=_m(a,l);if(a.tag!==0&&p===2){var y=wl(a);y!==0&&(l=y,p=Fu(a,y))}if(p===1)throw p=bf,Lu(a,0),ms(a,l),fo(a,Mn()),p;if(p===6)throw Error(o(345));return a.finishedWork=a.current.alternate,a.finishedLanes=l,Vl(a,zo,zs),fo(a,Mn()),null}function Fy(a,l){var p=yn;yn|=1;try{return a(l)}finally{yn=p,yn===0&&(Qc=Mn()+500,bo&&pa())}}function hs(a){vi!==null&&vi.tag===0&&!(yn&6)&&Jc();var l=yn;yn|=1;var p=mi.transition,y=Pn;try{if(mi.transition=null,Pn=1,a)return a()}finally{Pn=y,mi.transition=p,yn=l,!(yn&6)&&pa()}}function Pm(){xa=Gc.current,In(Gc)}function Lu(a,l){a.finishedWork=null,a.finishedLanes=0;var p=a.timeoutHandle;if(p!==-1&&(a.timeoutHandle=-1,G0(p)),yr!==null)for(p=yr.return;p!==null;){var y=p;switch(fy(y),y.tag){case 1:y=y.type.childContextTypes,y!=null&&si();break;case 3:Mc(),In(Pr),In(Qt),by();break;case 5:gy(y);break;case 4:Mc();break;case 13:In(xr);break;case 19:In(xr);break;case 10:hy(y.type._context);break;case 22:case 23:Pm()}p=p.return}if(Nr=a,yr=a=Bl(a.current,null),uo=xa=l,co=0,bf=null,Py=Kc=Nu=0,zo=jl=null,Cu!==null){for(l=0;l<Cu.length;l++)if(p=Cu[l],y=p.interleaved,y!==null){p.interleaved=null;var x=y.next,T=p.pending;if(T!==null){var B=T.next;T.next=x,y.next=B}p.pending=y}Cu=null}return a}function xS(a,l){do{var p=yr;try{if(Ia(),em.current=Vo,$a){for(var y=Ft.memoizedState;y!==null;){var x=y.queue;x!==null&&(x.pending=null),y=y.next}$a=!1}if(Pt=0,pn=Xt=Ft=null,Pc=!1,uf=0,Tm.current=null,p===null||p.return===null){co=1,bf=l,yr=null;break}e:{var T=a,B=p.return,ie=p,pe=l;if(l=uo,ie.flags|=32768,pe!==null&&typeof pe=="object"&&typeof pe.then=="function"){var Le=pe,Je=ie,nt=Je.tag;if(!(Je.mode&1)&&(nt===0||nt===11||nt===15)){var Xe=Je.alternate;Xe?(Je.updateQueue=Xe.updateQueue,Je.memoizedState=Xe.memoizedState,Je.lanes=Xe.lanes):(Je.updateQueue=null,Je.memoizedState=null)}var bt=fS(B);if(bt!==null){bt.flags&=-257,Ey(bt,B,ie,T,l),bt.mode&1&&mf(T,Le,l),l=bt,pe=Le;var Et=l.updateQueue;if(Et===null){var Ot=new Set;Ot.add(pe),l.updateQueue=Ot}else Et.add(pe);break e}else{if(!(l&1)){mf(T,Le,l),wf();break e}pe=Error(o(426))}}else if(vr&&ie.mode&1){var jr=fS(B);if(jr!==null){!(jr.flags&65536)&&(jr.flags|=256),Ey(jr,B,ie,T,l),my(Il(pe,ie));break e}}T=pe=Il(pe,ie),co!==4&&(co=2),jl===null?jl=[T]:jl.push(T),T=B;do{switch(T.tag){case 3:T.flags|=65536,l&=-l,T.lanes|=l;var Re=cS(T,pe,l);nS(T,Re);break e;case 1:ie=pe;var ye=T.type,_e=T.stateNode;if(!(T.flags&128)&&(typeof ye.getDerivedStateFromError=="function"||_e!==null&&typeof _e.componentDidCatch=="function"&&(hi===null||!hi.has(_e)))){T.flags|=65536,l&=-l,T.lanes|=l;var lt=dS(T,ie,l);nS(T,lt);break e}}T=T.return}while(T!==null)}ES(p)}catch(_t){l=_t,yr===p&&p!==null&&(yr=p=p.return);continue}break}while(!0)}function wS(){var a=_u.current;return _u.current=Vo,a===null?Vo:a}function wf(){(co===0||co===3||co===2)&&(co=4),Nr===null||!(Nu&268435455)&&!(Kc&268435455)||ms(Nr,uo)}function _m(a,l){var p=yn;yn|=2;var y=wS();(Nr!==a||uo!==l)&&(zs=null,Lu(a,l));do try{BE();break}catch(x){xS(a,x)}while(!0);if(Ia(),yn=p,_u.current=y,yr!==null)throw Error(o(261));return Nr=null,uo=0,co}function BE(){for(;yr!==null;)CS(yr)}function zE(){for(;yr!==null&&!Io();)CS(yr)}function CS(a){var l=OS(a.alternate,a,xa);a.memoizedProps=a.pendingProps,l===null?ES(a):yr=l,Tm.current=null}function ES(a){var l=a;do{var p=l.alternate;if(a=l.return,l.flags&32768){if(p=IE(p,l),p!==null){p.flags&=32767,yr=p;return}if(a!==null)a.flags|=32768,a.subtreeFlags=0,a.deletions=null;else{co=6,yr=null;return}}else if(p=LE(p,l,xa),p!==null){yr=p;return}if(l=l.sibling,l!==null){yr=l;return}yr=l=a}while(l!==null);co===0&&(co=5)}function Vl(a,l,p){var y=Pn,x=mi.transition;try{mi.transition=null,Pn=1,UE(a,l,p,y)}finally{mi.transition=x,Pn=y}return null}function UE(a,l,p,y){do Jc();while(vi!==null);if(yn&6)throw Error(o(327));p=a.finishedWork;var x=a.finishedLanes;if(p===null)return null;if(a.finishedWork=null,a.finishedLanes=0,p===a.current)throw Error(o(177));a.callbackNode=null,a.callbackPriority=0;var T=p.lanes|p.childLanes;if(jv(a,T),a===Nr&&(yr=Nr=null,uo=0),!(p.subtreeFlags&2064)&&!(p.flags&2064)||Xc||(Xc=!0,DS(ti,function(){return Jc(),null})),T=(p.flags&15990)!==0,p.subtreeFlags&15990||T){T=mi.transition,mi.transition=null;var B=Pn;Pn=1;var ie=yn;yn|=4,Tm.current=null,$E(a,p),bS(p,a),Lp(gu),ri=!!oy,gu=oy=null,a.current=p,jE(p),is(),yn=ie,Pn=B,mi.transition=T}else a.current=p;if(Xc&&(Xc=!1,vi=a,Dm=x),T=a.pendingLanes,T===0&&(hi=null),jd(p.stateNode),fo(a,Mn()),l!==null)for(y=a.onRecoverableError,p=0;p<l.length;p++)x=l[p],y(x.value,{componentStack:x.stack,digest:x.digest});if(Om)throw Om=!1,a=_y,_y=null,a;return Dm&1&&a.tag!==0&&Jc(),T=a.pendingLanes,T&1?a===km?Sf++:(Sf=0,km=a):Sf=0,pa(),null}function Jc(){if(vi!==null){var a=dc(Dm),l=mi.transition,p=Pn;try{if(mi.transition=null,Pn=16>a?16:a,vi===null)var y=!1;else{if(a=vi,vi=null,Dm=0,yn&6)throw Error(o(331));var x=yn;for(yn|=4,Ct=a.current;Ct!==null;){var T=Ct,B=T.child;if(Ct.flags&16){var ie=T.deletions;if(ie!==null){for(var pe=0;pe<ie.length;pe++){var Le=ie[pe];for(Ct=Le;Ct!==null;){var Je=Ct;switch(Je.tag){case 0:case 11:case 15:Uc(8,Je,T)}var nt=Je.child;if(nt!==null)nt.return=Je,Ct=nt;else for(;Ct!==null;){Je=Ct;var Xe=Je.sibling,bt=Je.return;if(yS(Je),Je===Le){Ct=null;break}if(Xe!==null){Xe.return=bt,Ct=Xe;break}Ct=bt}}}var Et=T.alternate;if(Et!==null){var Ot=Et.child;if(Ot!==null){Et.child=null;do{var jr=Ot.sibling;Ot.sibling=null,Ot=jr}while(Ot!==null)}}Ct=T}}if(T.subtreeFlags&2064&&B!==null)B.return=T,Ct=B;else e:for(;Ct!==null;){if(T=Ct,T.flags&2048)switch(T.tag){case 0:case 11:case 15:Uc(9,T,T.return)}var Re=T.sibling;if(Re!==null){Re.return=T.return,Ct=Re;break e}Ct=T.return}}var ye=a.current;for(Ct=ye;Ct!==null;){B=Ct;var _e=B.child;if(B.subtreeFlags&2064&&_e!==null)_e.return=B,Ct=_e;else e:for(B=ye;Ct!==null;){if(ie=Ct,ie.flags&2048)try{switch(ie.tag){case 0:case 11:case 15:Cm(9,ie)}}catch(_t){Ar(ie,ie.return,_t)}if(ie===B){Ct=null;break e}var lt=ie.sibling;if(lt!==null){lt.return=ie.return,Ct=lt;break e}Ct=ie.return}}if(yn=x,pa(),la&&typeof la.onPostCommitFiberRoot=="function")try{la.onPostCommitFiberRoot(gl,a)}catch{}y=!0}return y}finally{Pn=p,mi.transition=l}}return!1}function TS(a,l,p){l=Il(p,l),l=cS(a,l,1),a=Fl(a,l,1),l=wo(),a!==null&&(Os(a,1,l),fo(a,l))}function Ar(a,l,p){if(a.tag===3)TS(a,a,p);else for(;l!==null;){if(l.tag===3){TS(l,a,p);break}else if(l.tag===1){var y=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof y.componentDidCatch=="function"&&(hi===null||!hi.has(y))){a=Il(p,a),a=dS(l,a,1),l=Fl(l,a,1),a=wo(),l!==null&&(Os(l,1,a),fo(l,a));break}}l=l.return}}function HE(a,l,p){var y=a.pingCache;y!==null&&y.delete(l),l=wo(),a.pingedLanes|=a.suspendedLanes&p,Nr===a&&(uo&p)===p&&(co===4||co===3&&(uo&130023424)===uo&&500>Mn()-Rm?Lu(a,0):Py|=p),fo(a,l)}function RS(a,l){l===0&&(a.mode&1?(l=bl,bl<<=1,!(bl&130023424)&&(bl=4194304)):l=1);var p=wo();a=js(a,l),a!==null&&(Os(a,l,p),fo(a,p))}function Ly(a){var l=a.memoizedState,p=0;l!==null&&(p=l.retryLane),RS(a,p)}function WE(a,l){var p=0;switch(a.tag){case 13:var y=a.stateNode,x=a.memoizedState;x!==null&&(p=x.retryLane);break;case 19:y=a.stateNode;break;default:throw Error(o(314))}y!==null&&y.delete(l),RS(a,p)}var OS;OS=function(a,l,p){if(a!==null)if(a.memoizedProps!==l.pendingProps||Pr.current)ba=!0;else{if(!(a.lanes&p)&&!(l.flags&128))return ba=!1,Bs(a,l,p);ba=!!(a.flags&131072)}else ba=!1,vr&&l.flags&1048576&&dy(l,Tc,l.index);switch(l.lanes=0,l.tag){case 2:var y=l.type;yf(a,l),a=l.pendingProps;var x=ii(l,Qt.current);Oc(l,p),x=Qe(null,l,y,a,x,p);var T=eo();return l.flags|=1,typeof x=="object"&&x!==null&&typeof x.render=="function"&&x.$$typeof===void 0?(l.tag=1,l.memoizedState=null,l.updateQueue=null,Sr(y)?(T=!0,zp(l)):T=!1,l.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,Kp(l),x.updater=ku,l.stateNode=x,x._reactInternals=l,wy(l,y,a,p),l=ym(null,l,y,!0,T,p)):(l.tag=0,vr&&T&&Up(l),Ir(null,l,x,p),l=l.child),l;case 16:y=l.elementType;e:{switch(yf(a,l),a=l.pendingProps,x=y._init,y=x(y._payload),l.type=y,x=l.tag=YE(y),a=ga(y,a),x){case 0:l=rn(null,l,y,a,p);break e;case 1:l=hf(null,l,y,a,p);break e;case 11:l=$c(null,l,y,a,p);break e;case 14:l=$l(null,l,y,ga(y.type,a),p);break e}throw Error(o(306,y,""))}return l;case 0:return y=l.type,x=l.pendingProps,x=l.elementType===y?x:ga(y,x),rn(a,l,y,x,p);case 1:return y=l.type,x=l.pendingProps,x=l.elementType===y?x:ga(y,x),hf(a,l,y,x,p);case 3:e:{if(FE(l),a===null)throw Error(o(387));y=l.pendingProps,T=l.memoizedState,x=T.element,Dc(a,l),Xp(l,y,null,p);var B=l.memoizedState;if(y=B.element,T.isDehydrated)if(T={element:y,isDehydrated:!1,cache:B.cache,pendingSuspenseBoundaries:B.pendingSuspenseBoundaries,transitions:B.transitions},l.updateQueue.baseState=T,l.memoizedState=T,l.flags&256){x=Il(Error(o(423)),l),l=mS(a,l,y,p,x);break e}else if(y!==x){x=Il(Error(o(424)),l),l=mS(a,l,y,p,x);break e}else for(va=$i(l.stateNode.containerInfo.firstChild),La=l,vr=!0,ui=null,p=eS(l,null,y,p),l.child=p;p;)p.flags=p.flags&-3|4096,p=p.sibling;else{if(Tr(),y===x){l=$r(a,l,p);break e}Ir(a,l,y,p)}l=l.child}return l;case 5:return oS(l),a===null&&Wp(l),y=l.type,x=l.pendingProps,T=a!==null?a.memoizedProps:null,B=x.children,ef(y,x)?B=null:T!==null&&ef(y,T)&&(l.flags|=32),Mu(a,l),Ir(a,l,B,p),l.child;case 6:return a===null&&Wp(l),null;case 13:return hS(a,l,p);case 4:return yy(l,l.stateNode.containerInfo),y=l.pendingProps,a===null?l.child=Rc(l,null,y,p):Ir(a,l,y,p),l.child;case 11:return y=l.type,x=l.pendingProps,x=l.elementType===y?x:ga(y,x),$c(a,l,y,x,p);case 7:return Ir(a,l,l.pendingProps,p),l.child;case 8:return Ir(a,l,l.pendingProps.children,p),l.child;case 12:return Ir(a,l,l.pendingProps.children,p),l.child;case 10:e:{if(y=l.type._context,x=l.pendingProps,T=l.memoizedProps,B=x.value,Vn($s,y._currentValue),y._currentValue=B,T!==null)if(oi(T.value,B)){if(T.children===x.children&&!Pr.current){l=$r(a,l,p);break e}}else for(T=l.child,T!==null&&(T.return=l);T!==null;){var ie=T.dependencies;if(ie!==null){B=T.child;for(var pe=ie.firstContext;pe!==null;){if(pe.context===y){if(T.tag===1){pe=ya(-1,p&-p),pe.tag=2;var Le=T.updateQueue;if(Le!==null){Le=Le.shared;var Je=Le.pending;Je===null?pe.next=pe:(pe.next=Je.next,Je.next=pe),Le.pending=pe}}T.lanes|=p,pe=T.alternate,pe!==null&&(pe.lanes|=p),vy(T.return,p,l),ie.lanes|=p;break}pe=pe.next}}else if(T.tag===10)B=T.type===l.type?null:T.child;else if(T.tag===18){if(B=T.return,B===null)throw Error(o(341));B.lanes|=p,ie=B.alternate,ie!==null&&(ie.lanes|=p),vy(B,p,l),B=T.sibling}else B=T.child;if(B!==null)B.return=T;else for(B=T;B!==null;){if(B===l){B=null;break}if(T=B.sibling,T!==null){T.return=B.return,B=T;break}B=B.return}T=B}Ir(a,l,x.children,p),l=l.child}return l;case 9:return x=l.type,y=l.pendingProps.children,Oc(l,p),x=di(x),y=y(x),l.flags|=1,Ir(a,l,y,p),l.child;case 14:return y=l.type,x=ga(y,l.pendingProps),x=ga(y.type,x),$l(a,l,y,x,p);case 15:return vm(a,l,l.type,l.pendingProps,p);case 17:return y=l.type,x=l.pendingProps,x=l.elementType===y?x:ga(y,x),yf(a,l),l.tag=1,Sr(y)?(a=!0,zp(l)):a=!1,Oc(l,p),sS(l,y,x),wy(l,y,x,p),ym(null,l,y,!0,a,p);case 19:return Ry(a,l,p);case 22:return Sa(a,l,p)}throw Error(o(156,l.tag))};function DS(a,l){return ar(a,l)}function kS(a,l,p,y){this.tag=a,this.key=p,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=y,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yi(a,l,p,y){return new kS(a,l,p,y)}function Iy(a){return a=a.prototype,!(!a||!a.isReactComponent)}function YE(a){if(typeof a=="function")return Iy(a)?1:0;if(a!=null){if(a=a.$$typeof,a===J)return 11;if(a===ne)return 14}return 2}function Bl(a,l){var p=a.alternate;return p===null?(p=yi(a.tag,l,a.key,a.mode),p.elementType=a.elementType,p.type=a.type,p.stateNode=a.stateNode,p.alternate=a,a.alternate=p):(p.pendingProps=l,p.type=a.type,p.flags=0,p.subtreeFlags=0,p.deletions=null),p.flags=a.flags&14680064,p.childLanes=a.childLanes,p.lanes=a.lanes,p.child=a.child,p.memoizedProps=a.memoizedProps,p.memoizedState=a.memoizedState,p.updateQueue=a.updateQueue,l=a.dependencies,p.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},p.sibling=a.sibling,p.index=a.index,p.ref=a.ref,p}function Nm(a,l,p,y,x,T){var B=2;if(y=a,typeof a=="function")Iy(a)&&(B=1);else if(typeof a=="string")B=5;else e:switch(a){case W:return Iu(p.children,x,T,l);case Y:B=8,x|=8;break;case N:return a=yi(12,p,l,x|2),a.elementType=N,a.lanes=T,a;case X:return a=yi(13,p,l,x),a.elementType=X,a.lanes=T,a;case ee:return a=yi(19,p,l,x),a.elementType=ee,a.lanes=T,a;case se:return Am(p,x,T,l);default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case K:B=10;break e;case Z:B=9;break e;case J:B=11;break e;case ne:B=14;break e;case te:B=16,y=null;break e}throw Error(o(130,a==null?a:typeof a,""))}return l=yi(B,p,l,x),l.elementType=a,l.type=y,l.lanes=T,l}function Iu(a,l,p,y){return a=yi(7,a,y,l),a.lanes=p,a}function Am(a,l,p,y){return a=yi(22,a,y,l),a.elementType=se,a.lanes=p,a.stateNode={isHidden:!1},a}function Fm(a,l,p){return a=yi(6,a,null,l),a.lanes=p,a}function Cf(a,l,p){return l=yi(4,a.children!==null?a.children:[],a.key,l),l.lanes=p,l.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},l}function Ef(a,l,p,y,x){this.tag=l,this.containerInfo=a,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=cc(0),this.expirationTimes=cc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=cc(0),this.identifierPrefix=y,this.onRecoverableError=x,this.mutableSourceEagerHydrationData=null}function $y(a,l,p,y,x,T,B,ie,pe){return a=new Ef(a,l,p,ie,pe),l===1?(l=1,T===!0&&(l|=8)):l=0,T=yi(3,null,null,l),a.current=T,T.stateNode=a,T.memoizedState={element:y,isDehydrated:p,cache:null,transitions:null,pendingSuspenseBoundaries:null},Kp(T),a}function MS(a,l,p){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:H,key:y==null?null:""+y,children:a,containerInfo:l,implementation:p}}function jy(a){if(!a)return cs;a=a._reactInternals;e:{if(At(a)!==a||a.tag!==1)throw Error(o(170));var l=a;do{switch(l.tag){case 3:l=l.stateNode.context;break e;case 1:if(Sr(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}}l=l.return}while(l!==null);throw Error(o(171))}if(a.tag===1){var p=a.type;if(Sr(p))return rf(a,p,l)}return l}function Vy(a,l,p,y,x,T,B,ie,pe){return a=$y(p,y,!0,a,x,T,B,ie,pe),a.context=jy(null),p=a.current,y=wo(),x=Us(p),T=ya(y,x),T.callback=l??null,Fl(p,T,x),a.current.lanes=x,Os(a,x,y),fo(a,y),a}function Lm(a,l,p,y){var x=l.current,T=wo(),B=Us(x);return p=jy(p),l.context===null?l.context=p:l.pendingContext=p,l=ya(T,B),l.payload={element:a},y=y===void 0?null:y,y!==null&&(l.callback=y),a=Fl(x,l,B),a!==null&&(Rr(a,x,B,T),Qp(a,x,B)),B}function Tf(a){if(a=a.current,!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function PS(a,l){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var p=a.retryLane;a.retryLane=p!==0&&p<l?p:l}}function By(a,l){PS(a,l),(a=a.alternate)&&PS(a,l)}function qE(){return null}var zy=typeof reportError=="function"?reportError:function(a){console.error(a)};function Im(a){this._internalRoot=a}Rf.prototype.render=Im.prototype.render=function(a){var l=this._internalRoot;if(l===null)throw Error(o(409));Lm(a,l,null,null)},Rf.prototype.unmount=Im.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var l=a.containerInfo;hs(function(){Lm(null,a,null,null)}),l[Ls]=null}};function Rf(a){this._internalRoot=a}Rf.prototype.unstable_scheduleHydration=function(a){if(a){var l=pc();a={blockedOn:null,target:a,priority:l};for(var p=0;p<jn.length&&l!==0&&l<jn[p].priority;p++);jn.splice(p,0,a),p===0&&kp(a)}};function zl(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function $m(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11&&(a.nodeType!==8||a.nodeValue!==" react-mount-point-unstable "))}function _S(){}function GE(a,l,p,y,x){if(x){if(typeof y=="function"){var T=y;y=function(){var Le=Tf(B);T.call(Le)}}var B=Vy(l,y,a,0,null,!1,!1,"",_S);return a._reactRootContainer=B,a[Ls]=B.current,Cc(a.nodeType===8?a.parentNode:a),hs(),B}for(;x=a.lastChild;)a.removeChild(x);if(typeof y=="function"){var ie=y;y=function(){var Le=Tf(pe);ie.call(Le)}}var pe=$y(a,0,!1,null,null,!1,!1,"",_S);return a._reactRootContainer=pe,a[Ls]=pe.current,Cc(a.nodeType===8?a.parentNode:a),hs(function(){Lm(l,pe,p,y)}),pe}function jm(a,l,p,y,x){var T=p._reactRootContainer;if(T){var B=T;if(typeof x=="function"){var ie=x;x=function(){var pe=Tf(B);ie.call(pe)}}Lm(l,B,a,x)}else B=GE(p,l,a,x,y);return Tf(B)}du=function(a){switch(a.tag){case 3:var l=a.stateNode;if(l.current.memoizedState.isDehydrated){var p=Ni(l.pendingLanes);p!==0&&(ss(l,p|1),fo(l,Mn()),!(yn&6)&&(Qc=Mn()+500,pa()))}break;case 13:hs(function(){var y=js(a,1);if(y!==null){var x=wo();Rr(y,a,1,x)}}),By(a,1)}},fc=function(a){if(a.tag===13){var l=js(a,134217728);if(l!==null){var p=wo();Rr(l,a,134217728,p)}By(a,134217728)}},xn=function(a){if(a.tag===13){var l=Us(a),p=js(a,l);if(p!==null){var y=wo();Rr(p,a,l,y)}By(a,l)}},pc=function(){return Pn},mc=function(a,l){var p=Pn;try{return Pn=a,l()}finally{Pn=p}},Jn=function(a,l,p){switch(l){case"input":if(tt(a,p),l=p.name,p.type==="radio"&&l!=null){for(p=a;p.parentNode;)p=p.parentNode;for(p=p.querySelectorAll("input[name="+JSON.stringify(""+l)+'][type="radio"]'),l=0;l<p.length;l++){var y=p[l];if(y!==a&&y.form===a.form){var x=jt(y);if(!x)throw Error(o(90));re(y),tt(y,x)}}}break;case"textarea":it(a,p);break;case"select":l=p.value,l!=null&&Ve(a,!!p.multiple,l,!1)}},ns=Fy,Zt=hs;var KE={usingClientEntryPoint:!1,Events:[nf,Ec,jt,Ho,Pi,Fy]},Of={findFiberByHostInstance:ai,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},NS={bundleType:Of.bundleType,version:Of.version,rendererPackageName:Of.rendererPackageName,rendererConfig:Of.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:$.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){return a=sn(a),a===null?null:a.stateNode},findFiberByHostInstance:Of.findFiberByHostInstance||qE,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Vm=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vm.isDisabled&&Vm.supportsFiber)try{gl=Vm.inject(NS),la=Vm}catch{}}return Ga.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=KE,Ga.createPortal=function(a,l){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!zl(l))throw Error(o(200));return MS(a,l,null,p)},Ga.createRoot=function(a,l){if(!zl(a))throw Error(o(299));var p=!1,y="",x=zy;return l!=null&&(l.unstable_strictMode===!0&&(p=!0),l.identifierPrefix!==void 0&&(y=l.identifierPrefix),l.onRecoverableError!==void 0&&(x=l.onRecoverableError)),l=$y(a,1,!1,null,null,p,!1,y,x),a[Ls]=l.current,Cc(a.nodeType===8?a.parentNode:a),new Im(l)},Ga.findDOMNode=function(a){if(a==null)return null;if(a.nodeType===1)return a;var l=a._reactInternals;if(l===void 0)throw typeof a.render=="function"?Error(o(188)):(a=Object.keys(a).join(","),Error(o(268,a)));return a=sn(l),a=a===null?null:a.stateNode,a},Ga.flushSync=function(a){return hs(a)},Ga.hydrate=function(a,l,p){if(!$m(l))throw Error(o(200));return jm(null,a,l,!0,p)},Ga.hydrateRoot=function(a,l,p){if(!zl(a))throw Error(o(405));var y=p!=null&&p.hydratedSources||null,x=!1,T="",B=zy;if(p!=null&&(p.unstable_strictMode===!0&&(x=!0),p.identifierPrefix!==void 0&&(T=p.identifierPrefix),p.onRecoverableError!==void 0&&(B=p.onRecoverableError)),l=Vy(l,null,a,1,p??null,x,!1,T,B),a[Ls]=l.current,Cc(a),y)for(a=0;a<y.length;a++)p=y[a],x=p._getVersion,x=x(p._source),l.mutableSourceEagerHydrationData==null?l.mutableSourceEagerHydrationData=[p,x]:l.mutableSourceEagerHydrationData.push(p,x);return new Rf(l)},Ga.render=function(a,l,p){if(!$m(l))throw Error(o(200));return jm(null,a,l,!1,p)},Ga.unmountComponentAtNode=function(a){if(!$m(a))throw Error(o(40));return a._reactRootContainer?(hs(function(){jm(null,null,a,!1,function(){a._reactRootContainer=null,a[Ls]=null})}),!0):!1},Ga.unstable_batchedUpdates=Fy,Ga.unstable_renderSubtreeIntoContainer=function(a,l,p,y){if(!$m(p))throw Error(o(200));if(a==null||a._reactInternals===void 0)throw Error(o(38));return jm(a,l,p,!1,y)},Ga.version="18.3.1-next-f1338f8080-20240426",Ga}var Ka={};/**
|
|
191
|
+
* @license React
|
|
192
|
+
* react-dom.development.js
|
|
193
|
+
*
|
|
194
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
195
|
+
*
|
|
196
|
+
* This source code is licensed under the MIT license found in the
|
|
197
|
+
* LICENSE file in the root directory of this source tree.
|
|
198
|
+
*/var AD;function A$(){return AD||(AD=1,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 e=bh(),n=_D(),o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,i=!1;function u(t){i=t}function d(t){if(!i){for(var r=arguments.length,c=new Array(r>1?r-1:0),f=1;f<r;f++)c[f-1]=arguments[f];v("warn",t,c)}}function m(t){if(!i){for(var r=arguments.length,c=new Array(r>1?r-1:0),f=1;f<r;f++)c[f-1]=arguments[f];v("error",t,c)}}function v(t,r,c){{var f=o.ReactDebugCurrentFrame,h=f.getStackAddendum();h!==""&&(r+="%s",c=c.concat([h]));var b=c.map(function(C){return String(C)});b.unshift("Warning: "+r),Function.prototype.apply.call(console[t],console,b)}}var g=0,S=1,w=2,E=3,R=4,k=5,O=6,_=7,M=8,V=9,j=10,A=11,$=12,P=13,H=14,W=15,Y=16,N=17,K=18,Z=19,J=21,X=22,ee=23,ne=24,te=25,se=!0,ae=!1,xe=!1,oe=!1,U=!1,fe=!0,Pe=!1,Te=!0,ue=!0,we=!0,Ee=!0,me=new Set,De={},Ne={};function je(t,r){re(t,r),re(t+"Capture",r)}function re(t,r){De[t]&&m("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",t),De[t]=r;{var c=t.toLowerCase();Ne[c]=t,t==="onDoubleClick"&&(Ne.ondblclick=t)}for(var f=0;f<r.length;f++)me.add(r[f])}var Se=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",he=Object.prototype.hasOwnProperty;function We(t){{var r=typeof Symbol=="function"&&Symbol.toStringTag,c=r&&t[Symbol.toStringTag]||t.constructor.name||"Object";return c}}function qe(t){try{return tt(t),!1}catch{return!0}}function tt(t){return""+t}function q(t,r){if(qe(t))return m("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",r,We(t)),tt(t)}function ce(t){if(qe(t))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",We(t)),tt(t)}function be(t,r){if(qe(t))return m("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",r,We(t)),tt(t)}function Ve(t,r){if(qe(t))return m("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",r,We(t)),tt(t)}function Ke(t){if(qe(t))return m("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",We(t)),tt(t)}function Oe(t){if(qe(t))return m("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",We(t)),tt(t)}var it=0,gt=1,qt=2,Mt=3,mn=4,or=5,Ln=6,Be=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ht=Be+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",$t=new RegExp("^["+Be+"]["+ht+"]*$"),tn={},at={};function kt(t){return he.call(at,t)?!0:he.call(tn,t)?!1:$t.test(t)?(at[t]=!0,!0):(tn[t]=!0,m("Invalid attribute name: `%s`",t),!1)}function Kt(t,r,c){return r!==null?r.type===it:c?!1:t.length>2&&(t[0]==="o"||t[0]==="O")&&(t[1]==="n"||t[1]==="N")}function Zn(t,r,c,f){if(c!==null&&c.type===it)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":{if(f)return!1;if(c!==null)return!c.acceptsBooleans;var h=t.toLowerCase().slice(0,5);return h!=="data-"&&h!=="aria-"}default:return!1}}function Nt(t,r,c,f){if(r===null||typeof r>"u"||Zn(t,r,c,f))return!0;if(f)return!1;if(c!==null)switch(c.type){case Mt:return!r;case mn:return r===!1;case or:return isNaN(r);case Ln:return isNaN(r)||r<1}return!1}function Jn(t){return an.hasOwnProperty(t)?an[t]:null}function hn(t,r,c,f,h,b,C){this.acceptsBooleans=r===qt||r===Mt||r===mn,this.attributeName=f,this.attributeNamespace=h,this.mustUseProperty=c,this.propertyName=t,this.type=r,this.sanitizeURL=b,this.removeEmptyString=C}var an={},Ma=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ma.forEach(function(t){an[t]=new hn(t,it,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var r=t[0],c=t[1];an[r]=new hn(r,gt,!1,c,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){an[t]=new hn(t,qt,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){an[t]=new hn(t,qt,!1,t,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(t){an[t]=new hn(t,Mt,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){an[t]=new hn(t,Mt,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){an[t]=new hn(t,mn,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){an[t]=new hn(t,Ln,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){an[t]=new hn(t,or,!1,t.toLowerCase(),null,!1,!1)});var Ho=/[\-\:]([a-z])/g,Pi=function(t){return t[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(t){var r=t.replace(Ho,Pi);an[r]=new hn(r,gt,!1,t,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(t){var r=t.replace(Ho,Pi);an[r]=new hn(r,gt,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var r=t.replace(Ho,Pi);an[r]=new hn(r,gt,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){an[t]=new hn(t,gt,!1,t.toLowerCase(),null,!1,!1)});var ns="xlinkHref";an[ns]=new hn("xlinkHref",gt,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){an[t]=new hn(t,gt,!1,t.toLowerCase(),null,!0,!0)});var Zt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Lr=!1;function vl(t){!Lr&&Zt.test(t)&&(Lr=!0,m("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(t)))}function Pa(t,r,c,f){if(f.mustUseProperty){var h=f.propertyName;return t[h]}else{q(c,r),f.sanitizeURL&&vl(""+c);var b=f.attributeName,C=null;if(f.type===mn){if(t.hasAttribute(b)){var D=t.getAttribute(b);return D===""?!0:Nt(r,c,f,!1)?D:D===""+c?c:D}}else if(t.hasAttribute(b)){if(Nt(r,c,f,!1))return t.getAttribute(b);if(f.type===Mt)return c;C=t.getAttribute(b)}return Nt(r,c,f,!1)?C===null?c:C:C===""+c?c:C}}function rs(t,r,c,f){{if(!kt(r))return;if(!t.hasAttribute(r))return c===void 0?void 0:null;var h=t.getAttribute(r);return q(c,r),h===""+c?c:h}}function _a(t,r,c,f){var h=Jn(r);if(!Kt(r,h,f)){if(Nt(r,c,h,f)&&(c=null),f||h===null){if(kt(r)){var b=r;c===null?t.removeAttribute(b):(q(c,r),t.setAttribute(b,""+c))}return}var C=h.mustUseProperty;if(C){var D=h.propertyName;if(c===null){var L=h.type;t[D]=L===Mt?!1:""}else t[D]=c;return}var z=h.attributeName,Q=h.attributeNamespace;if(c===null)t.removeAttribute(z);else{var ge=h.type,ve;ge===Mt||ge===mn&&c===!0?ve="":(q(c,z),ve=""+c,h.sanitizeURL&&vl(ve.toString())),Q?t.setAttributeNS(Q,z,ve):t.setAttribute(z,ve)}}}var _i=Symbol.for("react.element"),Wo=Symbol.for("react.portal"),Na=Symbol.for("react.fragment"),os=Symbol.for("react.strict_mode"),as=Symbol.for("react.profiler"),de=Symbol.for("react.provider"),Ze=Symbol.for("react.context"),ot=Symbol.for("react.forward_ref"),At=Symbol.for("react.suspense"),vn=Symbol.for("react.suspense_list"),Sn=Symbol.for("react.memo"),zt=Symbol.for("react.lazy"),sn=Symbol.for("react.scope"),Xr=Symbol.for("react.debug_trace_mode"),ar=Symbol.for("react.offscreen"),mr=Symbol.for("react.legacy_hidden"),Io=Symbol.for("react.cache"),is=Symbol.for("react.tracing_marker"),Mn=Symbol.iterator,vo="@@iterator";function Yo(t){if(t===null||typeof t!="object")return null;var r=Mn&&t[Mn]||t[vo];return typeof r=="function"?r:null}var ln=Object.assign,ti=0,yl,sc,gl,la,jd,qo,Vd;function Bd(){}Bd.__reactDisabledLog=!0;function Op(){{if(ti===0){yl=console.log,sc=console.info,gl=console.warn,la=console.error,jd=console.group,qo=console.groupCollapsed,Vd=console.groupEnd;var t={configurable:!0,enumerable:!0,value:Bd,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}ti++}}function lc(){{if(ti--,ti===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ln({},t,{value:yl}),info:ln({},t,{value:sc}),warn:ln({},t,{value:gl}),error:ln({},t,{value:la}),group:ln({},t,{value:jd}),groupCollapsed:ln({},t,{value:qo}),groupEnd:ln({},t,{value:Vd})})}ti<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var bl=o.ReactCurrentDispatcher,Ni;function Go(t,r,c){{if(Ni===void 0)try{throw Error()}catch(h){var f=h.stack.trim().match(/\n( *(at )?)/);Ni=f&&f[1]||""}return`
|
|
199
|
+
`+Ni+t}}var Sl=!1,xl;{var wl=typeof WeakMap=="function"?WeakMap:Map;xl=new wl}function uc(t,r){if(!t||Sl)return"";{var c=xl.get(t);if(c!==void 0)return c}var f;Sl=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var b;b=bl.current,bl.current=null,Op();try{if(r){var C=function(){throw Error()};if(Object.defineProperty(C.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(C,[])}catch(Ie){f=Ie}Reflect.construct(t,[],C)}else{try{C.call()}catch(Ie){f=Ie}t.call(C.prototype)}}else{try{throw Error()}catch(Ie){f=Ie}t()}}catch(Ie){if(Ie&&f&&typeof Ie.stack=="string"){for(var D=Ie.stack.split(`
|
|
200
|
+
`),L=f.stack.split(`
|
|
201
|
+
`),z=D.length-1,Q=L.length-1;z>=1&&Q>=0&&D[z]!==L[Q];)Q--;for(;z>=1&&Q>=0;z--,Q--)if(D[z]!==L[Q]){if(z!==1||Q!==1)do if(z--,Q--,Q<0||D[z]!==L[Q]){var ge=`
|
|
202
|
+
`+D[z].replace(" at new "," at ");return t.displayName&&ge.includes("<anonymous>")&&(ge=ge.replace("<anonymous>",t.displayName)),typeof t=="function"&&xl.set(t,ge),ge}while(z>=1&&Q>=0);break}}}finally{Sl=!1,bl.current=b,lc(),Error.prepareStackTrace=h}var ve=t?t.displayName||t.name:"",Ae=ve?Go(ve):"";return typeof t=="function"&&xl.set(t,Ae),Ae}function cc(t,r,c){return uc(t,!0)}function Os(t,r,c){return uc(t,!1)}function jv(t){var r=t.prototype;return!!(r&&r.isReactComponent)}function ss(t,r,c){if(t==null)return"";if(typeof t=="function")return uc(t,jv(t));if(typeof t=="string")return Go(t);switch(t){case At:return Go("Suspense");case vn:return Go("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case ot:return Os(t.render);case Sn:return ss(t.type,r,c);case zt:{var f=t,h=f._payload,b=f._init;try{return ss(b(h),r,c)}catch{}}}return""}function Pn(t){switch(t._debugOwner&&t._debugOwner.type,t._debugSource,t.tag){case k:return Go(t.type);case Y:return Go("Lazy");case P:return Go("Suspense");case Z:return Go("SuspenseList");case g:case w:case W:return Os(t.type);case A:return Os(t.type.render);case S:return cc(t.type);default:return""}}function dc(t){try{var r="",c=t;do r+=Pn(c),c=c.return;while(c);return r}catch(f){return`
|
|
203
|
+
Error generating stack: `+f.message+`
|
|
204
|
+
`+f.stack}}function du(t,r,c){var f=t.displayName;if(f)return f;var h=r.displayName||r.name||"";return h!==""?c+"("+h+")":c}function fc(t){return t.displayName||"Context"}function xn(t){if(t==null)return null;if(typeof t.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Na:return"Fragment";case Wo:return"Portal";case as:return"Profiler";case os:return"StrictMode";case At:return"Suspense";case vn:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case Ze:var r=t;return fc(r)+".Consumer";case de:var c=t;return fc(c._context)+".Provider";case ot:return du(t,t.render,"ForwardRef");case Sn:var f=t.displayName||null;return f!==null?f:xn(t.type)||"Memo";case zt:{var h=t,b=h._payload,C=h._init;try{return xn(C(b))}catch{return null}}}return null}function pc(t,r,c){var f=r.displayName||r.name||"";return t.displayName||(f!==""?c+"("+f+")":c)}function mc(t){return t.displayName||"Context"}function Jt(t){var r=t.tag,c=t.type;switch(r){case ne:return"Cache";case V:var f=c;return mc(f)+".Consumer";case j:var h=c;return mc(h._context)+".Provider";case K:return"DehydratedFragment";case A:return pc(c,c.render,"ForwardRef");case _:return"Fragment";case k:return c;case R:return"Portal";case E:return"Root";case O:return"Text";case Y:return xn(c);case M:return c===os?"StrictMode":"Mode";case X:return"Offscreen";case $:return"Profiler";case J:return"Scope";case P:return"Suspense";case Z:return"SuspenseList";case te:return"TracingMarker";case S:case g:case N:case w:case H:case W:if(typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;break}return null}var fu=o.ReactDebugCurrentFrame,Er=null,ua=!1;function Ko(){{if(Er===null)return null;var t=Er._debugOwner;if(t!==null&&typeof t<"u")return Jt(t)}return null}function Cl(){return Er===null?"":dc(Er)}function Mr(){fu.getCurrentStack=null,Er=null,ua=!1}function jn(t){fu.getCurrentStack=t===null?null:Cl,Er=t,ua=!1}function Dp(){return Er}function ca(t){ua=t}function yo(t){return""+t}function ls(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return Oe(t),t;default:return""}}var kp={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ds(t,r){kp[r.type]||r.onChange||r.onInput||r.readOnly||r.disabled||r.value==null||m("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),r.onChange||r.readOnly||r.disabled||r.checked==null||m("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function El(t){var r=t.type,c=t.nodeName;return c&&c.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Mp(t){return t._valueTracker}function ni(t){t._valueTracker=null}function Tl(t){var r="";return t&&(El(t)?r=t.checked?"true":"false":r=t.value),r}function ks(t){var r=El(t)?"checked":"value",c=Object.getOwnPropertyDescriptor(t.constructor.prototype,r);Oe(t[r]);var f=""+t[r];if(!(t.hasOwnProperty(r)||typeof c>"u"||typeof c.get!="function"||typeof c.set!="function")){var h=c.get,b=c.set;Object.defineProperty(t,r,{configurable:!0,get:function(){return h.call(this)},set:function(D){Oe(D),f=""+D,b.call(this,D)}}),Object.defineProperty(t,r,{enumerable:c.enumerable});var C={getValue:function(){return f},setValue:function(D){Oe(D),f=""+D},stopTracking:function(){ni(t),delete t[r]}};return C}}function ri(t){Mp(t)||(t._valueTracker=ks(t))}function hc(t){if(!t)return!1;var r=Mp(t);if(!r)return!0;var c=r.getValue(),f=Tl(t);return f!==c?(r.setValue(f),!0):!1}function Rl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Ol=!1,pu=!1,vc=!1,zd=!1;function Ai(t){var r=t.type==="checkbox"||t.type==="radio";return r?t.checked!=null:t.value!=null}function I(t,r){var c=t,f=r.checked,h=ln({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??c._wrapperState.initialChecked});return h}function le(t,r){Ds("input",r),r.checked!==void 0&&r.defaultChecked!==void 0&&!pu&&(m("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Ko()||"A component",r.type),pu=!0),r.value!==void 0&&r.defaultValue!==void 0&&!Ol&&(m("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Ko()||"A component",r.type),Ol=!0);var c=t,f=r.defaultValue==null?"":r.defaultValue;c._wrapperState={initialChecked:r.checked!=null?r.checked:r.defaultChecked,initialValue:ls(r.value!=null?r.value:f),controlled:Ai(r)}}function Fe(t,r){var c=t,f=r.checked;f!=null&&_a(c,"checked",f,!1)}function $e(t,r){var c=t;{var f=Ai(r);!c._wrapperState.controlled&&f&&!zd&&(m("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),zd=!0),c._wrapperState.controlled&&!f&&!vc&&(m("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),vc=!0)}Fe(t,r);var h=ls(r.value),b=r.type;if(h!=null)b==="number"?(h===0&&c.value===""||c.value!=h)&&(c.value=yo(h)):c.value!==yo(h)&&(c.value=yo(h));else if(b==="submit"||b==="reset"){c.removeAttribute("value");return}r.hasOwnProperty("value")?Bt(c,r.type,h):r.hasOwnProperty("defaultValue")&&Bt(c,r.type,ls(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(c.defaultChecked=!!r.defaultChecked)}function st(t,r,c){var f=t;if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var h=r.type,b=h==="submit"||h==="reset";if(b&&(r.value===void 0||r.value===null))return;var C=yo(f._wrapperState.initialValue);c||C!==f.value&&(f.value=C),f.defaultValue=C}var D=f.name;D!==""&&(f.name=""),f.defaultChecked=!f.defaultChecked,f.defaultChecked=!!f._wrapperState.initialChecked,D!==""&&(f.name=D)}function Ut(t,r){var c=t;$e(c,r),mt(c,r)}function mt(t,r){var c=r.name;if(r.type==="radio"&&c!=null){for(var f=t;f.parentNode;)f=f.parentNode;q(c,"name");for(var h=f.querySelectorAll("input[name="+JSON.stringify(""+c)+'][type="radio"]'),b=0;b<h.length;b++){var C=h[b];if(!(C===t||C.form!==t.form)){var D=QS(C);if(!D)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");hc(C),$e(C,D)}}}}function Bt(t,r,c){(r!=="number"||Rl(t.ownerDocument)!==t)&&(c==null?t.defaultValue=yo(t._wrapperState.initialValue):t.defaultValue!==yo(c)&&(t.defaultValue=yo(c)))}var fn=!1,On=!1,ir=!1;function Wn(t,r){r.value==null&&(typeof r.children=="object"&&r.children!==null?e.Children.forEach(r.children,function(c){c!=null&&(typeof c=="string"||typeof c=="number"||On||(On=!0,m("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):r.dangerouslySetInnerHTML!=null&&(ir||(ir=!0,m("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),r.selected!=null&&!fn&&(m("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),fn=!0)}function sr(t,r){r.value!=null&&t.setAttribute("value",yo(ls(r.value)))}var ur=Array.isArray;function wn(t){return ur(t)}var Ms;Ms=!1;function yc(){var t=Ko();return t?`
|
|
205
|
+
|
|
206
|
+
Check the render method of \``+t+"`.":""}var Ud=["value","defaultValue"];function Vv(t){{Ds("select",t);for(var r=0;r<Ud.length;r++){var c=Ud[r];if(t[c]!=null){var f=wn(t[c]);t.multiple&&!f?m("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",c,yc()):!t.multiple&&f&&m("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",c,yc())}}}}function Fi(t,r,c,f){var h=t.options;if(r){for(var b=c,C={},D=0;D<b.length;D++)C["$"+b[D]]=!0;for(var L=0;L<h.length;L++){var z=C.hasOwnProperty("$"+h[L].value);h[L].selected!==z&&(h[L].selected=z),z&&f&&(h[L].defaultSelected=!0)}}else{for(var Q=yo(ls(c)),ge=null,ve=0;ve<h.length;ve++){if(h[ve].value===Q){h[ve].selected=!0,f&&(h[ve].defaultSelected=!0);return}ge===null&&!h[ve].disabled&&(ge=h[ve])}ge!==null&&(ge.selected=!0)}}function Hd(t,r){return ln({},r,{value:void 0})}function Wd(t,r){var c=t;Vv(r),c._wrapperState={wasMultiple:!!r.multiple},r.value!==void 0&&r.defaultValue!==void 0&&!Ms&&(m("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Ms=!0)}function Bv(t,r){var c=t;c.multiple=!!r.multiple;var f=r.value;f!=null?Fi(c,!!r.multiple,f,!1):r.defaultValue!=null&&Fi(c,!!r.multiple,r.defaultValue,!0)}function gE(t,r){var c=t,f=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!r.multiple;var h=r.value;h!=null?Fi(c,!!r.multiple,h,!1):f!==!!r.multiple&&(r.defaultValue!=null?Fi(c,!!r.multiple,r.defaultValue,!0):Fi(c,!!r.multiple,r.multiple?[]:"",!1))}function bE(t,r){var c=t,f=r.value;f!=null&&Fi(c,!!r.multiple,f,!1)}var zv=!1;function Uv(t,r){var c=t;if(r.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var f=ln({},r,{value:void 0,defaultValue:void 0,children:yo(c._wrapperState.initialValue)});return f}function x0(t,r){var c=t;Ds("textarea",r),r.value!==void 0&&r.defaultValue!==void 0&&!zv&&(m("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Ko()||"A component"),zv=!0);var f=r.value;if(f==null){var h=r.children,b=r.defaultValue;if(h!=null){m("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(b!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(wn(h)){if(h.length>1)throw new Error("<textarea> can only have at most one child.");h=h[0]}b=h}}b==null&&(b=""),f=b}c._wrapperState={initialValue:ls(f)}}function w0(t,r){var c=t,f=ls(r.value),h=ls(r.defaultValue);if(f!=null){var b=yo(f);b!==c.value&&(c.value=b),r.defaultValue==null&&c.defaultValue!==b&&(c.defaultValue=b)}h!=null&&(c.defaultValue=yo(h))}function C0(t,r){var c=t,f=c.textContent;f===c._wrapperState.initialValue&&f!==""&&f!==null&&(c.value=f)}function Hv(t,r){w0(t,r)}var Ps="http://www.w3.org/1999/xhtml",SE="http://www.w3.org/1998/Math/MathML",Wv="http://www.w3.org/2000/svg";function Pp(t){switch(t){case"svg":return Wv;case"math":return SE;default:return Ps}}function Yv(t,r){return t==null||t===Ps?Pp(r):t===Wv&&r==="foreignObject"?Ps:t}var xE=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,c,f,h){MSApp.execUnsafeLocalFunction(function(){return t(r,c,f,h)})}:t},_p,E0=xE(function(t,r){if(t.namespaceURI===Wv&&!("innerHTML"in t)){_p=_p||document.createElement("div"),_p.innerHTML="<svg>"+r.valueOf().toString()+"</svg>";for(var c=_p.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;c.firstChild;)t.appendChild(c.firstChild);return}t.innerHTML=r}),da=1,_s=3,Zr=8,Li=9,mu=11,Np=function(t,r){if(r){var c=t.firstChild;if(c&&c===t.lastChild&&c.nodeType===_s){c.nodeValue=r;return}}t.textContent=r},T0={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},gc={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function R0(t,r){return t+r.charAt(0).toUpperCase()+r.substring(1)}var O0=["Webkit","ms","Moz","O"];Object.keys(gc).forEach(function(t){O0.forEach(function(r){gc[R0(r,t)]=gc[t]})});function Ap(t,r,c){var f=r==null||typeof r=="boolean"||r==="";return f?"":!c&&typeof r=="number"&&r!==0&&!(gc.hasOwnProperty(t)&&gc[t])?r+"px":(Ve(r,t),(""+r).trim())}var bc=/([A-Z])/g,wE=/^ms-/;function CE(t){return t.replace(bc,"-$1").toLowerCase().replace(wE,"-ms-")}var D0=function(){};{var k0=/^(?:webkit|moz|o)[A-Z]/,M0=/^-ms-/,Yd=/-(.)/g,Sc=/;\s*$/,xc={},wc={},P0=!1,qv=!1,Gv=function(t){return t.replace(Yd,function(r,c){return c.toUpperCase()})},Kv=function(t){xc.hasOwnProperty(t)&&xc[t]||(xc[t]=!0,m("Unsupported style property %s. Did you mean %s?",t,Gv(t.replace(M0,"ms-"))))},_0=function(t){xc.hasOwnProperty(t)&&xc[t]||(xc[t]=!0,m("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1)))},N0=function(t,r){wc.hasOwnProperty(r)&&wc[r]||(wc[r]=!0,m(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,r.replace(Sc,"")))},A0=function(t,r){P0||(P0=!0,m("`NaN` is an invalid value for the `%s` css style property.",t))},EE=function(t,r){qv||(qv=!0,m("`Infinity` is an invalid value for the `%s` css style property.",t))};D0=function(t,r){t.indexOf("-")>-1?Kv(t):k0.test(t)?_0(t):Sc.test(r)&&N0(t,r),typeof r=="number"&&(isNaN(r)?A0(t,r):isFinite(r)||EE(t,r))}}var TE=D0;function RE(t){{var r="",c="";for(var f in t)if(t.hasOwnProperty(f)){var h=t[f];if(h!=null){var b=f.indexOf("--")===0;r+=c+(b?f:CE(f))+":",r+=Ap(f,h,b),c=";"}}return r||null}}function F0(t,r){var c=t.style;for(var f in r)if(r.hasOwnProperty(f)){var h=f.indexOf("--")===0;h||TE(f,r[f]);var b=Ap(f,r[f],h);f==="float"&&(f="cssFloat"),h?c.setProperty(f,b):c[f]=b}}function OE(t){return t==null||typeof t=="boolean"||t===""}function oi(t){var r={};for(var c in t)for(var f=T0[c]||[c],h=0;h<f.length;h++)r[f[h]]=c;return r}function qd(t,r){{if(!r)return;var c=oi(t),f=oi(r),h={};for(var b in c){var C=c[b],D=f[b];if(D&&C!==D){var L=C+","+D;if(h[L])continue;h[L]=!0,m("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",OE(t[C])?"Removing":"Updating",C,D)}}}}var L0={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},I0=ln({menuitem:!0},L0),$0="__html";function Fp(t,r){if(r){if(I0[t]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw new Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof r.dangerouslySetInnerHTML!="object"||!($0 in r.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!r.suppressContentEditableWarning&&r.contentEditable&&r.children!=null&&m("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),r.style!=null&&typeof r.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Ns(t,r){if(t.indexOf("-")===-1)return typeof r.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Lp={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},j0={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Ii={},Qv=new RegExp("^(aria)-["+ht+"]*$"),Gd=new RegExp("^(aria)[A-Z]["+ht+"]*$");function Xv(t,r){{if(he.call(Ii,r)&&Ii[r])return!0;if(Gd.test(r)){var c="aria-"+r.slice(4).toLowerCase(),f=j0.hasOwnProperty(c)?c:null;if(f==null)return m("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",r),Ii[r]=!0,!0;if(r!==f)return m("Invalid ARIA attribute `%s`. Did you mean `%s`?",r,f),Ii[r]=!0,!0}if(Qv.test(r)){var h=r.toLowerCase(),b=j0.hasOwnProperty(h)?h:null;if(b==null)return Ii[r]=!0,!1;if(r!==b)return m("Unknown ARIA attribute `%s`. Did you mean `%s`?",r,b),Ii[r]=!0,!0}}return!0}function V0(t,r){{var c=[];for(var f in r){var h=Xv(t,f);h||c.push(f)}var b=c.map(function(C){return"`"+C+"`"}).join(", ");c.length===1?m("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",b,t):c.length>1&&m("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",b,t)}}function Ip(t,r){Ns(t,r)||V0(t,r)}var hu=!1;function Zv(t,r){{if(t!=="input"&&t!=="textarea"&&t!=="select")return;r!=null&&r.value===null&&!hu&&(hu=!0,t==="select"&&r.multiple?m("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",t):m("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t))}}var Jv=function(){};{var go={},ey=/^on./,B0=/^on[^A-Z]/,z0=new RegExp("^(aria)-["+ht+"]*$"),U0=new RegExp("^(aria)[A-Z]["+ht+"]*$");Jv=function(t,r,c,f){if(he.call(go,r)&&go[r])return!0;var h=r.toLowerCase();if(h==="onfocusin"||h==="onfocusout")return m("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),go[r]=!0,!0;if(f!=null){var b=f.registrationNameDependencies,C=f.possibleRegistrationNames;if(b.hasOwnProperty(r))return!0;var D=C.hasOwnProperty(h)?C[h]:null;if(D!=null)return m("Invalid event handler property `%s`. Did you mean `%s`?",r,D),go[r]=!0,!0;if(ey.test(r))return m("Unknown event handler property `%s`. It will be ignored.",r),go[r]=!0,!0}else if(ey.test(r))return B0.test(r)&&m("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",r),go[r]=!0,!0;if(z0.test(r)||U0.test(r))return!0;if(h==="innerhtml")return m("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),go[r]=!0,!0;if(h==="aria")return m("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),go[r]=!0,!0;if(h==="is"&&c!==null&&c!==void 0&&typeof c!="string")return m("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof c),go[r]=!0,!0;if(typeof c=="number"&&isNaN(c))return m("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",r),go[r]=!0,!0;var L=Jn(r),z=L!==null&&L.type===it;if(Lp.hasOwnProperty(h)){var Q=Lp[h];if(Q!==r)return m("Invalid DOM property `%s`. Did you mean `%s`?",r,Q),go[r]=!0,!0}else if(!z&&r!==h)return m("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",r,h),go[r]=!0,!0;return typeof c=="boolean"&&Zn(r,c,L,!1)?(c?m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',c,r,r,c,r):m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',c,r,r,c,r,r,r),go[r]=!0,!0):z?!0:Zn(r,c,L,!1)?(go[r]=!0,!1):((c==="false"||c==="true")&&L!==null&&L.type===Mt&&(m("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",c,r,c==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',r,c),go[r]=!0),!0)}}var H0=function(t,r,c){{var f=[];for(var h in r){var b=Jv(t,h,r[h],c);b||f.push(h)}var C=f.map(function(D){return"`"+D+"`"}).join(", ");f.length===1?m("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",C,t):f.length>1&&m("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",C,t)}};function W0(t,r,c){Ns(t,r)||H0(t,r,c)}var As=1,Kd=2,vu=4,DE=As|Kd|vu,Qd=null;function Xd(t){Qd!==null&&m("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Qd=t}function kE(){Qd===null&&m("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Qd=null}function Y0(t){return t===Qd}function $p(t){var r=t.target||t.srcElement||window;return r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===_s?r.parentNode:r}var lr=null,Dl=null,Fs=null;function Cc(t){var r=nd(t);if(r){if(typeof lr!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var c=r.stateNode;if(c){var f=QS(c);lr(r.stateNode,r.type,f)}}}function q0(t){lr=t}function jp(t){Dl?Fs?Fs.push(t):Fs=[t]:Dl=t}function Zd(){return Dl!==null||Fs!==null}function Jd(){if(Dl){var t=Dl,r=Fs;if(Dl=null,Fs=null,Cc(t),r)for(var c=0;c<r.length;c++)Cc(r[c])}}var yu=function(t,r){return t(r)},ty=function(){},ny=!1;function ME(){var t=Zd();t&&(ty(),Jd())}function ry(t,r,c){if(ny)return t(r,c);ny=!0;try{return yu(t,r,c)}finally{ny=!1,ME()}}function Vp(t,r,c){yu=t,ty=c}function Bp(t){return t==="button"||t==="input"||t==="select"||t==="textarea"}function oy(t,r,c){switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(c.disabled&&Bp(r));default:return!1}}function gu(t,r){var c=t.stateNode;if(c===null)return null;var f=QS(c);if(f===null)return null;var h=f[r];if(oy(r,t.type,f))return null;if(h&&typeof h!="function")throw new Error("Expected `"+r+"` listener to be a function, instead got a value of `"+typeof h+"` type.");return h}var ef=!1;if(Se)try{var bu={};Object.defineProperty(bu,"passive",{get:function(){ef=!0}}),window.addEventListener("test",bu,bu),window.removeEventListener("test",bu,bu)}catch{ef=!1}function G0(t,r,c,f,h,b,C,D,L){var z=Array.prototype.slice.call(arguments,3);try{r.apply(c,z)}catch(Q){this.onError(Q)}}var ay=G0;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var iy=document.createElement("react");ay=function(r,c,f,h,b,C,D,L,z){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var Q=document.createEvent("Event"),ge=!1,ve=!0,Ae=window.event,Ie=Object.getOwnPropertyDescriptor(window,"event");function ze(){iy.removeEventListener(Ue,Vt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Ae)}var vt=Array.prototype.slice.call(arguments,3);function Vt(){ge=!0,ze(),c.apply(f,vt),ve=!1}var Lt,Rn=!1,gn=!1;function ke(Me){if(Lt=Me.error,Rn=!0,Lt===null&&Me.colno===0&&Me.lineno===0&&(gn=!0),Me.defaultPrevented&&Lt!=null&&typeof Lt=="object")try{Lt._suppressLogging=!0}catch{}}var Ue="react-"+(r||"invokeguardedcallback");if(window.addEventListener("error",ke),iy.addEventListener(Ue,Vt,!1),Q.initEvent(Ue,!1,!1),iy.dispatchEvent(Q),Ie&&Object.defineProperty(window,"event",Ie),ge&&ve&&(Rn?gn&&(Lt=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Lt=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Lt)),window.removeEventListener("error",ke),!ge)return ze(),G0.apply(this,arguments)}}var PE=ay,kl=!1,$i=null,tf=!1,Ml=null,us={onError:function(t){kl=!0,$i=t}};function Su(t,r,c,f,h,b,C,D,L){kl=!1,$i=null,PE.apply(us,arguments)}function Ls(t,r,c,f,h,b,C,D,L){if(Su.apply(this,arguments),kl){var z=ly();tf||(tf=!0,Ml=z)}}function sy(){if(tf){var t=Ml;throw tf=!1,Ml=null,t}}function _E(){return kl}function ly(){if(kl){var t=$i;return kl=!1,$i=null,t}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function ai(t){return t._reactInternals}function nf(t){return t._reactInternals!==void 0}function Ec(t,r){t._reactInternals=r}var jt=0,Pl=1,hr=2,on=4,In=16,Vn=32,cs=64,Qt=128,Pr=256,fa=512,ii=1024,Sr=2048,si=4096,_l=8192,rf=16384,zp=Sr|on|cs|fa|ii|rf,K0=32767,Aa=32768,bo=65536,of=131072,uy=1048576,cy=2097152,pa=4194304,Nl=8388608,ma=16777216,xu=33554432,Tc=on|ii|0,ha=hr|on|In|Vn|fa|si|_l,$o=on|cs|fa|_l,li=Sr|In,Ro=pa|Nl|cy,Is=o.ReactCurrentOwner;function Fa(t){var r=t,c=t;if(t.alternate)for(;r.return;)r=r.return;else{var f=r;do r=f,(r.flags&(hr|si))!==jt&&(c=r.return),f=r.return;while(f)}return r.tag===E?c:null}function dy(t){if(t.tag===P){var r=t.memoizedState;if(r===null){var c=t.alternate;c!==null&&(r=c.memoizedState)}if(r!==null)return r.dehydrated}return null}function Up(t){return t.tag===E?t.stateNode.containerInfo:null}function fy(t){return Fa(t)===t}function La(t){{var r=Is.current;if(r!==null&&r.tag===S){var c=r,f=c.stateNode;f._warnedAboutRefsInRender||m("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Jt(c)||"A component"),f._warnedAboutRefsInRender=!0}}var h=ai(t);return h?Fa(h)===h:!1}function va(t){if(Fa(t)!==t)throw new Error("Unable to find node on an unmounted component.")}function vr(t){var r=t.alternate;if(!r){var c=Fa(t);if(c===null)throw new Error("Unable to find node on an unmounted component.");return c!==t?null:t}for(var f=t,h=r;;){var b=f.return;if(b===null)break;var C=b.alternate;if(C===null){var D=b.return;if(D!==null){f=h=D;continue}break}if(b.child===C.child){for(var L=b.child;L;){if(L===f)return va(b),t;if(L===h)return va(b),r;L=L.sibling}throw new Error("Unable to find node on an unmounted component.")}if(f.return!==h.return)f=b,h=C;else{for(var z=!1,Q=b.child;Q;){if(Q===f){z=!0,f=b,h=C;break}if(Q===h){z=!0,h=b,f=C;break}Q=Q.sibling}if(!z){for(Q=C.child;Q;){if(Q===f){z=!0,f=C,h=b;break}if(Q===h){z=!0,h=C,f=b;break}Q=Q.sibling}if(!z)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(f.alternate!==h)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(f.tag!==E)throw new Error("Unable to find node on an unmounted component.");return f.stateNode.current===f?t:r}function ui(t){var r=vr(t);return r!==null?py(r):null}function py(t){if(t.tag===k||t.tag===O)return t;for(var r=t.child;r!==null;){var c=py(r);if(c!==null)return c;r=r.sibling}return null}function Q0(t){var r=vr(t);return r!==null?Hp(r):null}function Hp(t){if(t.tag===k||t.tag===O)return t;for(var r=t.child;r!==null;){if(r.tag!==R){var c=Hp(r);if(c!==null)return c}r=r.sibling}return null}var Wp=n.unstable_scheduleCallback,X0=n.unstable_cancelCallback,Yp=n.unstable_shouldYield,Z0=n.unstable_requestPaint,Tr=n.unstable_now,my=n.unstable_getCurrentPriorityLevel,qp=n.unstable_ImmediatePriority,wu=n.unstable_UserBlockingPriority,ds=n.unstable_NormalPriority,J0=n.unstable_LowPriority,Gp=n.unstable_IdlePriority,Rc=n.unstable_yieldValue,eS=n.unstable_setDisableYieldValue,$s=null,lo=null,dt=null,ci=!1,Ia=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function hy(t){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var r=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(r.isDisabled)return!0;if(!r.supportsFiber)return m("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{ue&&(t=ln({},t,{getLaneLabelMap:js,injectProfilingHooks:tS})),$s=r.inject(t),lo=r}catch(c){m("React instrumentation encountered an error: %s.",c)}return!!r.checkDCE}function vy(t,r){if(lo&&typeof lo.onScheduleFiberRoot=="function")try{lo.onScheduleFiberRoot($s,t,r)}catch(c){ci||(ci=!0,m("React instrumentation encountered an error: %s",c))}}function Oc(t,r){if(lo&&typeof lo.onCommitFiberRoot=="function")try{var c=(t.current.flags&Qt)===Qt;if(we){var f;switch(r){case $r:f=qp;break;case Bs:f=wu;break;case fs:f=ds;break;case jc:f=Gp;break;default:f=ds;break}lo.onCommitFiberRoot($s,t,f,c)}}catch(h){ci||(ci=!0,m("React instrumentation encountered an error: %s",h))}}function di(t){if(lo&&typeof lo.onPostCommitFiberRoot=="function")try{lo.onPostCommitFiberRoot($s,t)}catch(r){ci||(ci=!0,m("React instrumentation encountered an error: %s",r))}}function Cu(t){if(lo&&typeof lo.onCommitFiberUnmount=="function")try{lo.onCommitFiberUnmount($s,t)}catch(r){ci||(ci=!0,m("React instrumentation encountered an error: %s",r))}}function Jr(t){if(typeof Rc=="function"&&(eS(t),u(t)),lo&&typeof lo.setStrictMode=="function")try{lo.setStrictMode($s,t)}catch(r){ci||(ci=!0,m("React instrumentation encountered an error: %s",r))}}function tS(t){dt=t}function js(){{for(var t=new Map,r=1,c=0;c<cf;c++){var f=AE(r);t.set(r,f),r*=2}return t}}function Al(t){dt!==null&&typeof dt.markCommitStarted=="function"&&dt.markCommitStarted(t)}function Kp(){dt!==null&&typeof dt.markCommitStopped=="function"&&dt.markCommitStopped()}function Dc(t){dt!==null&&typeof dt.markComponentRenderStarted=="function"&&dt.markComponentRenderStarted(t)}function ya(){dt!==null&&typeof dt.markComponentRenderStopped=="function"&&dt.markComponentRenderStopped()}function Fl(t){dt!==null&&typeof dt.markComponentPassiveEffectMountStarted=="function"&&dt.markComponentPassiveEffectMountStarted(t)}function Qp(){dt!==null&&typeof dt.markComponentPassiveEffectMountStopped=="function"&&dt.markComponentPassiveEffectMountStopped()}function nS(t){dt!==null&&typeof dt.markComponentPassiveEffectUnmountStarted=="function"&&dt.markComponentPassiveEffectUnmountStarted(t)}function Xp(){dt!==null&&typeof dt.markComponentPassiveEffectUnmountStopped=="function"&&dt.markComponentPassiveEffectUnmountStopped()}function rS(t){dt!==null&&typeof dt.markComponentLayoutEffectMountStarted=="function"&&dt.markComponentLayoutEffectMountStarted(t)}function af(){dt!==null&&typeof dt.markComponentLayoutEffectMountStopped=="function"&&dt.markComponentLayoutEffectMountStopped()}function ji(t){dt!==null&&typeof dt.markComponentLayoutEffectUnmountStarted=="function"&&dt.markComponentLayoutEffectUnmountStarted(t)}function kc(){dt!==null&&typeof dt.markComponentLayoutEffectUnmountStopped=="function"&&dt.markComponentLayoutEffectUnmountStopped()}function sf(t,r,c){dt!==null&&typeof dt.markComponentErrored=="function"&&dt.markComponentErrored(t,r,c)}function Eu(t,r,c){dt!==null&&typeof dt.markComponentSuspended=="function"&&dt.markComponentSuspended(t,r,c)}function yy(t){dt!==null&&typeof dt.markLayoutEffectsStarted=="function"&&dt.markLayoutEffectsStarted(t)}function Mc(){dt!==null&&typeof dt.markLayoutEffectsStopped=="function"&&dt.markLayoutEffectsStopped()}function oS(t){dt!==null&&typeof dt.markPassiveEffectsStarted=="function"&&dt.markPassiveEffectsStarted(t)}function gy(){dt!==null&&typeof dt.markPassiveEffectsStopped=="function"&&dt.markPassiveEffectsStopped()}function xr(t){dt!==null&&typeof dt.markRenderStarted=="function"&&dt.markRenderStarted(t)}function Zp(){dt!==null&&typeof dt.markRenderYielded=="function"&&dt.markRenderYielded()}function Jp(){dt!==null&&typeof dt.markRenderStopped=="function"&&dt.markRenderStopped()}function by(t){dt!==null&&typeof dt.markRenderScheduled=="function"&&dt.markRenderScheduled(t)}function em(t,r){dt!==null&&typeof dt.markForceUpdateScheduled=="function"&&dt.markForceUpdateScheduled(t,r)}function lf(t,r){dt!==null&&typeof dt.markStateUpdateScheduled=="function"&&dt.markStateUpdateScheduled(t,r)}var Pt=0,Ft=1,Xt=2,pn=8,$a=16,Pc=Math.clz32?Math.clz32:jo,uf=Math.log,NE=Math.LN2;function jo(t){var r=t>>>0;return r===0?32:31-(uf(r)/NE|0)|0}var cf=31,Qe=0,eo=0,It=1,Oo=2,ja=4,Vs=8,fi=16,_c=32,Tu=4194240,Nc=64,tm=128,nm=256,rm=512,om=1024,am=2048,Ru=4096,im=8192,Ac=16384,Fc=32768,sm=65536,df=131072,lm=262144,um=524288,cm=1048576,dm=2097152,Lc=130023424,Ou=4194304,fm=8388608,pm=16777216,Sy=33554432,mm=67108864,aS=Ou,ff=134217728,xy=268435455,Ic=268435456,Ll=536870912,Vo=1073741824;function AE(t){{if(t&It)return"Sync";if(t&Oo)return"InputContinuousHydration";if(t&ja)return"InputContinuous";if(t&Vs)return"DefaultHydration";if(t&fi)return"Default";if(t&_c)return"TransitionHydration";if(t&Tu)return"Transition";if(t&Lc)return"Retry";if(t&ff)return"SelectiveHydration";if(t&Ic)return"IdleHydration";if(t&Ll)return"Idle";if(t&Vo)return"Offscreen"}}var cr=-1,hm=Nc,ga=Ou;function Du(t){switch(Ir(t)){case It:return It;case Oo:return Oo;case ja:return ja;case Vs:return Vs;case fi:return fi;case _c:return _c;case Nc:case tm:case nm:case rm:case om:case am:case Ru:case im:case Ac:case Fc:case sm:case df:case lm:case um:case cm:case dm:return t&Tu;case Ou:case fm:case pm:case Sy:case mm:return t&Lc;case ff:return ff;case Ic:return Ic;case Ll:return Ll;case Vo:return Vo;default:return m("Should have found matching lanes. This is a bug in React."),t}}function ku(t,r){var c=t.pendingLanes;if(c===Qe)return Qe;var f=Qe,h=t.suspendedLanes,b=t.pingedLanes,C=c&xy;if(C!==Qe){var D=C&~h;if(D!==Qe)f=Du(D);else{var L=C&b;L!==Qe&&(f=Du(L))}}else{var z=c&~h;z!==Qe?f=Du(z):b!==Qe&&(f=Du(b))}if(f===Qe)return Qe;if(r!==Qe&&r!==f&&(r&h)===Qe){var Q=Ir(f),ge=Ir(r);if(Q>=ge||Q===fi&&(ge&Tu)!==Qe)return r}(f&ja)!==Qe&&(f|=c&fi);var ve=t.entangledLanes;if(ve!==Qe)for(var Ae=t.entanglements,Ie=f&ve;Ie>0;){var ze=$l(Ie),vt=1<<ze;f|=Ae[ze],Ie&=~vt}return f}function iS(t,r){for(var c=t.eventTimes,f=cr;r>0;){var h=$l(r),b=1<<h,C=c[h];C>f&&(f=C),r&=~b}return f}function sS(t,r){switch(t){case It:case Oo:case ja:return r+250;case Vs:case fi:case _c:case Nc:case tm:case nm:case rm:case om:case am:case Ru:case im:case Ac:case Fc:case sm:case df:case lm:case um:case cm:case dm:return r+5e3;case Ou:case fm:case pm:case Sy:case mm:return cr;case ff:case Ic:case Ll:case Vo:return cr;default:return m("Should have found matching lanes. This is a bug in React."),cr}}function lS(t,r){for(var c=t.pendingLanes,f=t.suspendedLanes,h=t.pingedLanes,b=t.expirationTimes,C=c;C>0;){var D=$l(C),L=1<<D,z=b[D];z===cr?((L&f)===Qe||(L&h)!==Qe)&&(b[D]=sS(L,r)):z<=r&&(t.expiredLanes|=L),C&=~L}}function wy(t){return Du(t.pendingLanes)}function Il(t){var r=t.pendingLanes&~Vo;return r!==Qe?r:r&Vo?Vo:Qe}function Cy(t){return(t&It)!==Qe}function pf(t){return(t&xy)!==Qe}function uS(t){return(t&Lc)===t}function cS(t){var r=It|ja|fi;return(t&r)===Qe}function dS(t){return(t&Tu)===t}function mf(t,r){var c=Oo|ja|Vs|fi;return(r&c)!==Qe}function fS(t,r){return(r&t.expiredLanes)!==Qe}function Ey(t){return(t&Tu)!==Qe}function pS(){var t=hm;return hm<<=1,(hm&Tu)===Qe&&(hm=Nc),t}function ba(){var t=ga;return ga<<=1,(ga&Lc)===Qe&&(ga=Ou),t}function Ir(t){return t&-t}function $c(t){return Ir(t)}function $l(t){return 31-Pc(t)}function vm(t){return $l(t)}function Sa(t,r){return(t&r)!==Qe}function Mu(t,r){return(t&r)===r}function rn(t,r){return t|r}function hf(t,r){return t&~r}function ym(t,r){return t&r}function FE(t){return t}function mS(t,r){return t!==eo&&t<r?t:r}function vf(t){for(var r=[],c=0;c<cf;c++)r.push(t);return r}function Pu(t,r,c){t.pendingLanes|=r,r!==Ll&&(t.suspendedLanes=Qe,t.pingedLanes=Qe);var f=t.eventTimes,h=vm(r);f[h]=c}function hS(t,r){t.suspendedLanes|=r,t.pingedLanes&=~r;for(var c=t.expirationTimes,f=r;f>0;){var h=$l(f),b=1<<h;c[h]=cr,f&=~b}}function gm(t,r,c){t.pingedLanes|=t.suspendedLanes&r}function bm(t,r){var c=t.pendingLanes&~r;t.pendingLanes=r,t.suspendedLanes=Qe,t.pingedLanes=Qe,t.expiredLanes&=r,t.mutableReadLanes&=r,t.entangledLanes&=r;for(var f=t.entanglements,h=t.eventTimes,b=t.expirationTimes,C=c;C>0;){var D=$l(C),L=1<<D;f[D]=Qe,h[D]=cr,b[D]=cr,C&=~L}}function Ty(t,r){for(var c=t.entangledLanes|=r,f=t.entanglements,h=c;h;){var b=$l(h),C=1<<b;C&r|f[b]&r&&(f[b]|=r),h&=~C}}function vS(t,r){var c=Ir(r),f;switch(c){case ja:f=Oo;break;case fi:f=Vs;break;case Nc:case tm:case nm:case rm:case om:case am:case Ru:case im:case Ac:case Fc:case sm:case df:case lm:case um:case cm:case dm:case Ou:case fm:case pm:case Sy:case mm:f=_c;break;case Ll:f=Ic;break;default:f=eo;break}return(f&(t.suspendedLanes|r))!==eo?eo:f}function Sm(t,r,c){if(Ia)for(var f=t.pendingUpdatersLaneMap;c>0;){var h=vm(c),b=1<<h,C=f[h];C.add(r),c&=~b}}function Ry(t,r){if(Ia)for(var c=t.pendingUpdatersLaneMap,f=t.memoizedUpdaters;r>0;){var h=vm(r),b=1<<h,C=c[h];C.size>0&&(C.forEach(function(D){var L=D.alternate;(L===null||!f.has(L))&&f.add(D)}),C.clear()),r&=~b}}function yf(t,r){return null}var $r=It,Bs=ja,fs=fi,jc=Ll,Vc=eo;function pi(){return Vc}function _r(t){Vc=t}function Bo(t,r){var c=Vc;try{return Vc=t,r()}finally{Vc=c}}function LE(t,r){return t!==0&&t<r?t:r}function IE(t,r){return t>r?t:r}function Bc(t,r){return t!==0&&t<r}function Do(t){var r=Ir(t);return Bc($r,r)?Bc(Bs,r)?pf(r)?fs:jc:Bs:$r}function xm(t){var r=t.current.memoizedState;return r.isDehydrated}var Ct;function zc(t){Ct=t}function Oy(t){Ct(t)}var wm;function $E(t){wm=t}var Uc;function Cm(t){Uc=t}var Em;function yS(t){Em=t}var Dy;function gS(t){Dy=t}var gf=!1,Hc=[],wr=null,So=null,Qo=null,Wc=new Map,Yc=new Map,xo=[],bS=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function ps(t){return bS.indexOf(t)>-1}function jE(t,r,c,f,h){return{blockedOn:t,domEventName:r,eventSystemFlags:c,nativeEvent:h,targetContainers:[f]}}function ky(t,r){switch(t){case"focusin":case"focusout":wr=null;break;case"dragenter":case"dragleave":So=null;break;case"mouseover":case"mouseout":Qo=null;break;case"pointerover":case"pointerout":{var c=r.pointerId;Wc.delete(c);break}case"gotpointercapture":case"lostpointercapture":{var f=r.pointerId;Yc.delete(f);break}}}function qc(t,r,c,f,h,b){if(t===null||t.nativeEvent!==b){var C=jE(r,c,f,h,b);if(r!==null){var D=nd(r);D!==null&&wm(D)}return C}t.eventSystemFlags|=f;var L=t.targetContainers;return h!==null&&L.indexOf(h)===-1&&L.push(h),t}function SS(t,r,c,f,h){switch(r){case"focusin":{var b=h;return wr=qc(wr,t,r,c,f,b),!0}case"dragenter":{var C=h;return So=qc(So,t,r,c,f,C),!0}case"mouseover":{var D=h;return Qo=qc(Qo,t,r,c,f,D),!0}case"pointerover":{var L=h,z=L.pointerId;return Wc.set(z,qc(Wc.get(z)||null,t,r,c,f,L)),!0}case"gotpointercapture":{var Q=h,ge=Q.pointerId;return Yc.set(ge,qc(Yc.get(ge)||null,t,r,c,f,Q)),!0}}return!1}function My(t){var r=Mf(t.target);if(r!==null){var c=Fa(r);if(c!==null){var f=c.tag;if(f===P){var h=dy(c);if(h!==null){t.blockedOn=h,Dy(t.priority,function(){Uc(c)});return}}else if(f===E){var b=c.stateNode;if(xm(b)){t.blockedOn=Up(c);return}}}}t.blockedOn=null}function VE(t){for(var r=Em(),c={blockedOn:null,target:t,priority:r},f=0;f<xo.length&&Bc(r,xo[f].priority);f++);xo.splice(f,0,c),f===0&&My(c)}function _u(t){if(t.blockedOn!==null)return!1;for(var r=t.targetContainers;r.length>0;){var c=r[0],f=zo(t.domEventName,t.eventSystemFlags,c,t.nativeEvent);if(f===null){var h=t.nativeEvent,b=new h.constructor(h.type,h);Xd(b),h.target.dispatchEvent(b),kE()}else{var C=nd(f);return C!==null&&wm(C),t.blockedOn=f,!1}r.shift()}return!0}function Tm(t,r,c){_u(t)&&c.delete(r)}function mi(){gf=!1,wr!==null&&_u(wr)&&(wr=null),So!==null&&_u(So)&&(So=null),Qo!==null&&_u(Qo)&&(Qo=null),Wc.forEach(Tm),Yc.forEach(Tm)}function yn(t,r){t.blockedOn===r&&(t.blockedOn=null,gf||(gf=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,mi)))}function Nr(t){if(Hc.length>0){yn(Hc[0],t);for(var r=1;r<Hc.length;r++){var c=Hc[r];c.blockedOn===t&&(c.blockedOn=null)}}wr!==null&&yn(wr,t),So!==null&&yn(So,t),Qo!==null&&yn(Qo,t);var f=function(D){return yn(D,t)};Wc.forEach(f),Yc.forEach(f);for(var h=0;h<xo.length;h++){var b=xo[h];b.blockedOn===t&&(b.blockedOn=null)}for(;xo.length>0;){var C=xo[0];if(C.blockedOn!==null)break;My(C),C.blockedOn===null&&xo.shift()}}var yr=o.ReactCurrentBatchConfig,uo=!0;function xa(t){uo=!!t}function Gc(){return uo}function co(t,r,c){var f=Rm(r),h;switch(f){case $r:h=bf;break;case Bs:h=Nu;break;case fs:default:h=Kc;break}return h.bind(null,r,c,t)}function bf(t,r,c,f){var h=pi(),b=yr.transition;yr.transition=null;try{_r($r),Kc(t,r,c,f)}finally{_r(h),yr.transition=b}}function Nu(t,r,c,f){var h=pi(),b=yr.transition;yr.transition=null;try{_r(Bs),Kc(t,r,c,f)}finally{_r(h),yr.transition=b}}function Kc(t,r,c,f){uo&&Py(t,r,c,f)}function Py(t,r,c,f){var h=zo(t,r,c,f);if(h===null){r1(t,r,f,jl,c),ky(t,f);return}if(SS(h,t,r,c,f)){f.stopPropagation();return}if(ky(t,f),r&vu&&ps(t)){for(;h!==null;){var b=nd(h);b!==null&&Oy(b);var C=zo(t,r,c,f);if(C===null&&r1(t,r,f,jl,c),C===h)break;h=C}h!==null&&f.stopPropagation();return}r1(t,r,f,null,c)}var jl=null;function zo(t,r,c,f){jl=null;var h=$p(f),b=Mf(h);if(b!==null){var C=Fa(b);if(C===null)b=null;else{var D=C.tag;if(D===P){var L=dy(C);if(L!==null)return L;b=null}else if(D===E){var z=C.stateNode;if(xm(z))return Up(C);b=null}else C!==b&&(b=null)}}return jl=b,null}function Rm(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return $r;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Bs;case"message":{var r=my();switch(r){case qp:return $r;case wu:return Bs;case ds:case J0:return fs;case Gp:return jc;default:return fs}}default:return fs}}function Qc(t,r,c){return t.addEventListener(r,c,!1),c}function zs(t,r,c){return t.addEventListener(r,c,!0),c}function Om(t,r,c,f){return t.addEventListener(r,c,{capture:!0,passive:f}),c}function _y(t,r,c,f){return t.addEventListener(r,c,{passive:f}),c}var hi=null,Xc=null,vi=null;function Dm(t){return hi=t,Xc=xf(),!0}function Sf(){hi=null,Xc=null,vi=null}function km(){if(vi)return vi;var t,r=Xc,c=r.length,f,h=xf(),b=h.length;for(t=0;t<c&&r[t]===h[t];t++);var C=c-t;for(f=1;f<=C&&r[c-f]===h[b-f];f++);var D=f>1?1-f:void 0;return vi=h.slice(t,D),vi}function xf(){return"value"in hi?hi.value:hi.textContent}function Au(t){var r,c=t.keyCode;return"charCode"in t?(r=t.charCode,r===0&&c===13&&(r=13)):r=c,r===10&&(r=13),r>=32||r===13?r:0}function wo(){return!0}function Us(){return!1}function Rr(t){function r(c,f,h,b,C){this._reactName=c,this._targetInst=h,this.type=f,this.nativeEvent=b,this.target=C,this.currentTarget=null;for(var D in t)if(t.hasOwnProperty(D)){var L=t[D];L?this[D]=L(b):this[D]=b[D]}var z=b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1;return z?this.isDefaultPrevented=wo:this.isDefaultPrevented=Us,this.isPropagationStopped=Us,this}return ln(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=wo)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=wo)},persist:function(){},isPersistent:wo}),r}var fo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mm=Rr(fo),Fu=ln({},fo,{view:0,detail:0}),Ny=Rr(Fu),Ay,ms,Zc;function Fy(t){t!==Zc&&(Zc&&t.type==="mousemove"?(Ay=t.screenX-Zc.screenX,ms=t.screenY-Zc.screenY):(Ay=0,ms=0),Zc=t)}var hs=ln({},Fu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ly,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(Fy(t),Ay)},movementY:function(t){return"movementY"in t?t.movementY:ms}}),Pm=Rr(hs),Lu=ln({},hs,{dataTransfer:0}),xS=Rr(Lu),wS=ln({},Fu,{relatedTarget:0}),wf=Rr(wS),_m=ln({},fo,{animationName:0,elapsedTime:0,pseudoElement:0}),BE=Rr(_m),zE=ln({},fo,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),CS=Rr(zE),ES=ln({},fo,{data:0}),Vl=Rr(ES),UE=Vl,Jc={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},TS={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function Ar(t){if(t.key){var r=Jc[t.key]||t.key;if(r!=="Unidentified")return r}if(t.type==="keypress"){var c=Au(t);return c===13?"Enter":String.fromCharCode(c)}return t.type==="keydown"||t.type==="keyup"?TS[t.keyCode]||"Unidentified":""}var HE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function RS(t){var r=this,c=r.nativeEvent;if(c.getModifierState)return c.getModifierState(t);var f=HE[t];return f?!!c[f]:!1}function Ly(t){return RS}var WE=ln({},Fu,{key:Ar,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ly,charCode:function(t){return t.type==="keypress"?Au(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Au(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),OS=Rr(WE),DS=ln({},hs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kS=Rr(DS),yi=ln({},Fu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ly}),Iy=Rr(yi),YE=ln({},fo,{propertyName:0,elapsedTime:0,pseudoElement:0}),Bl=Rr(YE),Nm=ln({},hs,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Iu=Rr(Nm),Am=[9,13,27,32],Fm=229,Cf=Se&&"CompositionEvent"in window,Ef=null;Se&&"documentMode"in document&&(Ef=document.documentMode);var $y=Se&&"TextEvent"in window&&!Ef,MS=Se&&(!Cf||Ef&&Ef>8&&Ef<=11),jy=32,Vy=String.fromCharCode(jy);function Lm(){je("onBeforeInput",["compositionend","keypress","textInput","paste"]),je("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),je("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),je("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Tf=!1;function PS(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function By(t){switch(t){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function qE(t,r){return t==="keydown"&&r.keyCode===Fm}function zy(t,r){switch(t){case"keyup":return Am.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==Fm;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Im(t){var r=t.detail;return typeof r=="object"&&"data"in r?r.data:null}function Rf(t){return t.locale==="ko"}var zl=!1;function $m(t,r,c,f,h){var b,C;if(Cf?b=By(r):zl?zy(r,f)&&(b="onCompositionEnd"):qE(r,f)&&(b="onCompositionStart"),!b)return null;MS&&!Rf(f)&&(!zl&&b==="onCompositionStart"?zl=Dm(h):b==="onCompositionEnd"&&zl&&(C=km()));var D=IS(c,b);if(D.length>0){var L=new Vl(b,r,null,f,h);if(t.push({event:L,listeners:D}),C)L.data=C;else{var z=Im(f);z!==null&&(L.data=z)}}}function _S(t,r){switch(t){case"compositionend":return Im(r);case"keypress":var c=r.which;return c!==jy?null:(Tf=!0,Vy);case"textInput":var f=r.data;return f===Vy&&Tf?null:f;default:return null}}function GE(t,r){if(zl){if(t==="compositionend"||!Cf&&zy(t,r)){var c=km();return Sf(),zl=!1,c}return null}switch(t){case"paste":return null;case"keypress":if(!PS(r)){if(r.char&&r.char.length>1)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return MS&&!Rf(r)?null:r.data;default:return null}}function jm(t,r,c,f,h){var b;if($y?b=_S(r,f):b=GE(r,f),!b)return null;var C=IS(c,"onBeforeInput");if(C.length>0){var D=new UE("onBeforeInput","beforeinput",null,f,h);t.push({event:D,listeners:C}),D.data=b}}function KE(t,r,c,f,h,b,C){$m(t,r,c,f,h),jm(t,r,c,f,h)}var Of={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function NS(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r==="input"?!!Of[t.type]:r==="textarea"}/**
|
|
207
|
+
* Checks if an event is supported in the current execution environment.
|
|
208
|
+
*
|
|
209
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
210
|
+
* `reset`, `load`, `error`, and `select`.
|
|
211
|
+
*
|
|
212
|
+
* Borrows from Modernizr.
|
|
213
|
+
*
|
|
214
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
215
|
+
* @return {boolean} True if the event is supported.
|
|
216
|
+
* @internal
|
|
217
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
218
|
+
*/function Vm(t){if(!Se)return!1;var r="on"+t,c=r in document;if(!c){var f=document.createElement("div");f.setAttribute(r,"return;"),c=typeof f[r]=="function"}return c}function a(){je("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function l(t,r,c,f){jp(f);var h=IS(r,"onChange");if(h.length>0){var b=new Mm("onChange","change",null,c,f);t.push({event:b,listeners:h})}}var p=null,y=null;function x(t){var r=t.nodeName&&t.nodeName.toLowerCase();return r==="select"||r==="input"&&t.type==="file"}function T(t){var r=[];l(r,y,t,$p(t)),ry(B,r)}function B(t){E_(t,0)}function ie(t){var r=Ym(t);if(hc(r))return t}function pe(t,r){if(t==="change")return r}var Le=!1;Se&&(Le=Vm("input")&&(!document.documentMode||document.documentMode>9));function Je(t,r){p=t,y=r,p.attachEvent("onpropertychange",Xe)}function nt(){p&&(p.detachEvent("onpropertychange",Xe),p=null,y=null)}function Xe(t){t.propertyName==="value"&&ie(y)&&T(t)}function bt(t,r,c){t==="focusin"?(nt(),Je(r,c)):t==="focusout"&&nt()}function Et(t,r){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ie(y)}function Ot(t){var r=t.nodeName;return r&&r.toLowerCase()==="input"&&(t.type==="checkbox"||t.type==="radio")}function jr(t,r){if(t==="click")return ie(r)}function Re(t,r){if(t==="input"||t==="change")return ie(r)}function ye(t){var r=t._wrapperState;!r||!r.controlled||t.type!=="number"||Bt(t,"number",t.value)}function _e(t,r,c,f,h,b,C){var D=c?Ym(c):window,L,z;if(x(D)?L=pe:NS(D)?Le?L=Re:(L=Et,z=bt):Ot(D)&&(L=jr),L){var Q=L(r,c);if(Q){l(t,Q,f,h);return}}z&&z(r,D,c),r==="focusout"&&ye(D)}function lt(){re("onMouseEnter",["mouseout","mouseover"]),re("onMouseLeave",["mouseout","mouseover"]),re("onPointerEnter",["pointerout","pointerover"]),re("onPointerLeave",["pointerout","pointerover"])}function _t(t,r,c,f,h,b,C){var D=r==="mouseover"||r==="pointerover",L=r==="mouseout"||r==="pointerout";if(D&&!Y0(f)){var z=f.relatedTarget||f.fromElement;if(z&&(Mf(z)||ng(z)))return}if(!(!L&&!D)){var Q;if(h.window===h)Q=h;else{var ge=h.ownerDocument;ge?Q=ge.defaultView||ge.parentWindow:Q=window}var ve,Ae;if(L){var Ie=f.relatedTarget||f.toElement;if(ve=c,Ae=Ie?Mf(Ie):null,Ae!==null){var ze=Fa(Ae);(Ae!==ze||Ae.tag!==k&&Ae.tag!==O)&&(Ae=null)}}else ve=null,Ae=c;if(ve!==Ae){var vt=Pm,Vt="onMouseLeave",Lt="onMouseEnter",Rn="mouse";(r==="pointerout"||r==="pointerover")&&(vt=kS,Vt="onPointerLeave",Lt="onPointerEnter",Rn="pointer");var gn=ve==null?Q:Ym(ve),ke=Ae==null?Q:Ym(Ae),Ue=new vt(Vt,Rn+"leave",ve,f,h);Ue.target=gn,Ue.relatedTarget=ke;var Me=null,rt=Mf(h);if(rt===c){var wt=new vt(Lt,Rn+"enter",Ae,f,h);wt.target=ke,wt.relatedTarget=gn,Me=wt}w7(t,Ue,Me,ve,Ae)}}}function Ht(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var Tt=typeof Object.is=="function"?Object.is:Ht;function Yt(t,r){if(Tt(t,r))return!0;if(typeof t!="object"||t===null||typeof r!="object"||r===null)return!1;var c=Object.keys(t),f=Object.keys(r);if(c.length!==f.length)return!1;for(var h=0;h<c.length;h++){var b=c[h];if(!he.call(r,b)||!Tt(t[b],r[b]))return!1}return!0}function po(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function _n(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function Hs(t,r){for(var c=po(t),f=0,h=0;c;){if(c.nodeType===_s){if(h=f+c.textContent.length,f<=r&&h>=r)return{node:c,offset:r-f};f=h}c=po(_n(c))}}function QE(t){var r=t.ownerDocument,c=r&&r.defaultView||window,f=c.getSelection&&c.getSelection();if(!f||f.rangeCount===0)return null;var h=f.anchorNode,b=f.anchorOffset,C=f.focusNode,D=f.focusOffset;try{h.nodeType,C.nodeType}catch{return null}return n7(t,h,b,C,D)}function n7(t,r,c,f,h){var b=0,C=-1,D=-1,L=0,z=0,Q=t,ge=null;e:for(;;){for(var ve=null;Q===r&&(c===0||Q.nodeType===_s)&&(C=b+c),Q===f&&(h===0||Q.nodeType===_s)&&(D=b+h),Q.nodeType===_s&&(b+=Q.nodeValue.length),(ve=Q.firstChild)!==null;)ge=Q,Q=ve;for(;;){if(Q===t)break e;if(ge===r&&++L===c&&(C=b),ge===f&&++z===h&&(D=b),(ve=Q.nextSibling)!==null)break;Q=ge,ge=Q.parentNode}Q=ve}return C===-1||D===-1?null:{start:C,end:D}}function r7(t,r){var c=t.ownerDocument||document,f=c&&c.defaultView||window;if(f.getSelection){var h=f.getSelection(),b=t.textContent.length,C=Math.min(r.start,b),D=r.end===void 0?C:Math.min(r.end,b);if(!h.extend&&C>D){var L=D;D=C,C=L}var z=Hs(t,C),Q=Hs(t,D);if(z&&Q){if(h.rangeCount===1&&h.anchorNode===z.node&&h.anchorOffset===z.offset&&h.focusNode===Q.node&&h.focusOffset===Q.offset)return;var ge=c.createRange();ge.setStart(z.node,z.offset),h.removeAllRanges(),C>D?(h.addRange(ge),h.extend(Q.node,Q.offset)):(ge.setEnd(Q.node,Q.offset),h.addRange(ge))}}}function f_(t){return t&&t.nodeType===_s}function p_(t,r){return!t||!r?!1:t===r?!0:f_(t)?!1:f_(r)?p_(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1}function o7(t){return t&&t.ownerDocument&&p_(t.ownerDocument.documentElement,t)}function a7(t){try{return typeof t.contentWindow.location.href=="string"}catch{return!1}}function m_(){for(var t=window,r=Rl();r instanceof t.HTMLIFrameElement;){if(a7(r))t=r.contentWindow;else return r;r=Rl(t.document)}return r}function XE(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r&&(r==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||r==="textarea"||t.contentEditable==="true")}function i7(){var t=m_();return{focusedElem:t,selectionRange:XE(t)?l7(t):null}}function s7(t){var r=m_(),c=t.focusedElem,f=t.selectionRange;if(r!==c&&o7(c)){f!==null&&XE(c)&&u7(c,f);for(var h=[],b=c;b=b.parentNode;)b.nodeType===da&&h.push({element:b,left:b.scrollLeft,top:b.scrollTop});typeof c.focus=="function"&&c.focus();for(var C=0;C<h.length;C++){var D=h[C];D.element.scrollLeft=D.left,D.element.scrollTop=D.top}}}function l7(t){var r;return"selectionStart"in t?r={start:t.selectionStart,end:t.selectionEnd}:r=QE(t),r||{start:0,end:0}}function u7(t,r){var c=r.start,f=r.end;f===void 0&&(f=c),"selectionStart"in t?(t.selectionStart=c,t.selectionEnd=Math.min(f,t.value.length)):r7(t,r)}var c7=Se&&"documentMode"in document&&document.documentMode<=11;function d7(){je("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Bm=null,ZE=null,Uy=null,JE=!1;function f7(t){if("selectionStart"in t&&XE(t))return{start:t.selectionStart,end:t.selectionEnd};var r=t.ownerDocument&&t.ownerDocument.defaultView||window,c=r.getSelection();return{anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}}function p7(t){return t.window===t?t.document:t.nodeType===Li?t:t.ownerDocument}function h_(t,r,c){var f=p7(c);if(!(JE||Bm==null||Bm!==Rl(f))){var h=f7(Bm);if(!Uy||!Yt(Uy,h)){Uy=h;var b=IS(ZE,"onSelect");if(b.length>0){var C=new Mm("onSelect","select",null,r,c);t.push({event:C,listeners:b}),C.target=Bm}}}}function m7(t,r,c,f,h,b,C){var D=c?Ym(c):window;switch(r){case"focusin":(NS(D)||D.contentEditable==="true")&&(Bm=D,ZE=c,Uy=null);break;case"focusout":Bm=null,ZE=null,Uy=null;break;case"mousedown":JE=!0;break;case"contextmenu":case"mouseup":case"dragend":JE=!1,h_(t,f,h);break;case"selectionchange":if(c7)break;case"keydown":case"keyup":h_(t,f,h)}}function AS(t,r){var c={};return c[t.toLowerCase()]=r.toLowerCase(),c["Webkit"+t]="webkit"+r,c["Moz"+t]="moz"+r,c}var zm={animationend:AS("Animation","AnimationEnd"),animationiteration:AS("Animation","AnimationIteration"),animationstart:AS("Animation","AnimationStart"),transitionend:AS("Transition","TransitionEnd")},e1={},v_={};Se&&(v_=document.createElement("div").style,"AnimationEvent"in window||(delete zm.animationend.animation,delete zm.animationiteration.animation,delete zm.animationstart.animation),"TransitionEvent"in window||delete zm.transitionend.transition);function FS(t){if(e1[t])return e1[t];if(!zm[t])return t;var r=zm[t];for(var c in r)if(r.hasOwnProperty(c)&&c in v_)return e1[t]=r[c];return t}var y_=FS("animationend"),g_=FS("animationiteration"),b_=FS("animationstart"),S_=FS("transitionend"),x_=new Map,w_=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function ed(t,r){x_.set(t,r),je(r,[t])}function h7(){for(var t=0;t<w_.length;t++){var r=w_[t],c=r.toLowerCase(),f=r[0].toUpperCase()+r.slice(1);ed(c,"on"+f)}ed(y_,"onAnimationEnd"),ed(g_,"onAnimationIteration"),ed(b_,"onAnimationStart"),ed("dblclick","onDoubleClick"),ed("focusin","onFocus"),ed("focusout","onBlur"),ed(S_,"onTransitionEnd")}function v7(t,r,c,f,h,b,C){var D=x_.get(r);if(D!==void 0){var L=Mm,z=r;switch(r){case"keypress":if(Au(f)===0)return;case"keydown":case"keyup":L=OS;break;case"focusin":z="focus",L=wf;break;case"focusout":z="blur",L=wf;break;case"beforeblur":case"afterblur":L=wf;break;case"click":if(f.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":L=Pm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":L=xS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":L=Iy;break;case y_:case g_:case b_:L=BE;break;case S_:L=Bl;break;case"scroll":L=Ny;break;case"wheel":L=Iu;break;case"copy":case"cut":case"paste":L=CS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":L=kS;break}var Q=(b&vu)!==0;{var ge=!Q&&r==="scroll",ve=S7(c,D,f.type,Q,ge);if(ve.length>0){var Ae=new L(D,z,null,f,h);t.push({event:Ae,listeners:ve})}}}}h7(),lt(),a(),d7(),Lm();function y7(t,r,c,f,h,b,C){v7(t,r,c,f,h,b);var D=(b&DE)===0;D&&(_t(t,r,c,f,h),_e(t,r,c,f,h),m7(t,r,c,f,h),KE(t,r,c,f,h))}var Hy=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],t1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Hy));function C_(t,r,c){var f=t.type||"unknown-event";t.currentTarget=c,Ls(f,r,void 0,t),t.currentTarget=null}function g7(t,r,c){var f;if(c)for(var h=r.length-1;h>=0;h--){var b=r[h],C=b.instance,D=b.currentTarget,L=b.listener;if(C!==f&&t.isPropagationStopped())return;C_(t,L,D),f=C}else for(var z=0;z<r.length;z++){var Q=r[z],ge=Q.instance,ve=Q.currentTarget,Ae=Q.listener;if(ge!==f&&t.isPropagationStopped())return;C_(t,Ae,ve),f=ge}}function E_(t,r){for(var c=(r&vu)!==0,f=0;f<t.length;f++){var h=t[f],b=h.event,C=h.listeners;g7(b,C,c)}sy()}function b7(t,r,c,f,h){var b=$p(c),C=[];y7(C,t,f,c,b,r),E_(C,r)}function Or(t,r){t1.has(t)||m('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',t);var c=!1,f=KY(r),h=C7(t);f.has(h)||(T_(r,t,Kd,c),f.add(h))}function n1(t,r,c){t1.has(t)&&!r&&m('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',t);var f=0;r&&(f|=vu),T_(c,t,f,r)}var LS="_reactListening"+Math.random().toString(36).slice(2);function Wy(t){if(!t[LS]){t[LS]=!0,me.forEach(function(c){c!=="selectionchange"&&(t1.has(c)||n1(c,!1,t),n1(c,!0,t))});var r=t.nodeType===Li?t:t.ownerDocument;r!==null&&(r[LS]||(r[LS]=!0,n1("selectionchange",!1,r)))}}function T_(t,r,c,f,h){var b=co(t,r,c),C=void 0;ef&&(r==="touchstart"||r==="touchmove"||r==="wheel")&&(C=!0),t=t,f?C!==void 0?Om(t,r,b,C):zs(t,r,b):C!==void 0?_y(t,r,b,C):Qc(t,r,b)}function R_(t,r){return t===r||t.nodeType===Zr&&t.parentNode===r}function r1(t,r,c,f,h){var b=f;if(!(r&As)&&!(r&Kd)){var C=h;if(f!==null){var D=f;e:for(;;){if(D===null)return;var L=D.tag;if(L===E||L===R){var z=D.stateNode.containerInfo;if(R_(z,C))break;if(L===R)for(var Q=D.return;Q!==null;){var ge=Q.tag;if(ge===E||ge===R){var ve=Q.stateNode.containerInfo;if(R_(ve,C))return}Q=Q.return}for(;z!==null;){var Ae=Mf(z);if(Ae===null)return;var Ie=Ae.tag;if(Ie===k||Ie===O){D=b=Ae;continue e}z=z.parentNode}}D=D.return}}}ry(function(){return b7(t,r,c,b)})}function Yy(t,r,c){return{instance:t,listener:r,currentTarget:c}}function S7(t,r,c,f,h,b){for(var C=r!==null?r+"Capture":null,D=f?C:r,L=[],z=t,Q=null;z!==null;){var ge=z,ve=ge.stateNode,Ae=ge.tag;if(Ae===k&&ve!==null&&(Q=ve,D!==null)){var Ie=gu(z,D);Ie!=null&&L.push(Yy(z,Ie,Q))}if(h)break;z=z.return}return L}function IS(t,r){for(var c=r+"Capture",f=[],h=t;h!==null;){var b=h,C=b.stateNode,D=b.tag;if(D===k&&C!==null){var L=C,z=gu(h,c);z!=null&&f.unshift(Yy(h,z,L));var Q=gu(h,r);Q!=null&&f.push(Yy(h,Q,L))}h=h.return}return f}function Um(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==k);return t||null}function x7(t,r){for(var c=t,f=r,h=0,b=c;b;b=Um(b))h++;for(var C=0,D=f;D;D=Um(D))C++;for(;h-C>0;)c=Um(c),h--;for(;C-h>0;)f=Um(f),C--;for(var L=h;L--;){if(c===f||f!==null&&c===f.alternate)return c;c=Um(c),f=Um(f)}return null}function O_(t,r,c,f,h){for(var b=r._reactName,C=[],D=c;D!==null&&D!==f;){var L=D,z=L.alternate,Q=L.stateNode,ge=L.tag;if(z!==null&&z===f)break;if(ge===k&&Q!==null){var ve=Q;if(h){var Ae=gu(D,b);Ae!=null&&C.unshift(Yy(D,Ae,ve))}else if(!h){var Ie=gu(D,b);Ie!=null&&C.push(Yy(D,Ie,ve))}}D=D.return}C.length!==0&&t.push({event:r,listeners:C})}function w7(t,r,c,f,h){var b=f&&h?x7(f,h):null;f!==null&&O_(t,r,f,b,!1),h!==null&&c!==null&&O_(t,c,h,b,!0)}function C7(t,r){return t+"__bubble"}var gi=!1,qy="dangerouslySetInnerHTML",$S="suppressContentEditableWarning",td="suppressHydrationWarning",D_="autoFocus",Df="children",kf="style",jS="__html",o1,VS,Gy,k_,BS,M_,P_;o1={dialog:!0,webview:!0},VS=function(t,r){Ip(t,r),Zv(t,r),W0(t,r,{registrationNameDependencies:De,possibleRegistrationNames:Ne})},M_=Se&&!document.documentMode,Gy=function(t,r,c){if(!gi){var f=zS(c),h=zS(r);h!==f&&(gi=!0,m("Prop `%s` did not match. Server: %s Client: %s",t,JSON.stringify(h),JSON.stringify(f)))}},k_=function(t){if(!gi){gi=!0;var r=[];t.forEach(function(c){r.push(c)}),m("Extra attributes from the server: %s",r)}},BS=function(t,r){r===!1?m("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",t,t,t):m("Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof r)},P_=function(t,r){var c=t.namespaceURI===Ps?t.ownerDocument.createElement(t.tagName):t.ownerDocument.createElementNS(t.namespaceURI,t.tagName);return c.innerHTML=r,c.innerHTML};var E7=/\r\n?/g,T7=/\u0000|\uFFFD/g;function zS(t){Ke(t);var r=typeof t=="string"?t:""+t;return r.replace(E7,`
|
|
219
|
+
`).replace(T7,"")}function US(t,r,c,f){var h=zS(r),b=zS(t);if(b!==h&&(f&&(gi||(gi=!0,m('Text content did not match. Server: "%s" Client: "%s"',b,h))),c&&se))throw new Error("Text content does not match server-rendered HTML.")}function __(t){return t.nodeType===Li?t:t.ownerDocument}function R7(){}function HS(t){t.onclick=R7}function O7(t,r,c,f,h){for(var b in f)if(f.hasOwnProperty(b)){var C=f[b];if(b===kf)C&&Object.freeze(C),F0(r,C);else if(b===qy){var D=C?C[jS]:void 0;D!=null&&E0(r,D)}else if(b===Df)if(typeof C=="string"){var L=t!=="textarea"||C!=="";L&&Np(r,C)}else typeof C=="number"&&Np(r,""+C);else b===$S||b===td||b===D_||(De.hasOwnProperty(b)?C!=null&&(typeof C!="function"&&BS(b,C),b==="onScroll"&&Or("scroll",r)):C!=null&&_a(r,b,C,h))}}function D7(t,r,c,f){for(var h=0;h<r.length;h+=2){var b=r[h],C=r[h+1];b===kf?F0(t,C):b===qy?E0(t,C):b===Df?Np(t,C):_a(t,b,C,f)}}function k7(t,r,c,f){var h,b=__(c),C,D=f;if(D===Ps&&(D=Pp(t)),D===Ps){if(h=Ns(t,r),!h&&t!==t.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",t),t==="script"){var L=b.createElement("div");L.innerHTML="<script><\/script>";var z=L.firstChild;C=L.removeChild(z)}else if(typeof r.is=="string")C=b.createElement(t,{is:r.is});else if(C=b.createElement(t),t==="select"){var Q=C;r.multiple?Q.multiple=!0:r.size&&(Q.size=r.size)}}else C=b.createElementNS(D,t);return D===Ps&&!h&&Object.prototype.toString.call(C)==="[object HTMLUnknownElement]"&&!he.call(o1,t)&&(o1[t]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",t)),C}function M7(t,r){return __(r).createTextNode(t)}function P7(t,r,c,f){var h=Ns(r,c);VS(r,c);var b;switch(r){case"dialog":Or("cancel",t),Or("close",t),b=c;break;case"iframe":case"object":case"embed":Or("load",t),b=c;break;case"video":case"audio":for(var C=0;C<Hy.length;C++)Or(Hy[C],t);b=c;break;case"source":Or("error",t),b=c;break;case"img":case"image":case"link":Or("error",t),Or("load",t),b=c;break;case"details":Or("toggle",t),b=c;break;case"input":le(t,c),b=I(t,c),Or("invalid",t);break;case"option":Wn(t,c),b=c;break;case"select":Wd(t,c),b=Hd(t,c),Or("invalid",t);break;case"textarea":x0(t,c),b=Uv(t,c),Or("invalid",t);break;default:b=c}switch(Fp(r,b),O7(r,t,f,b,h),r){case"input":ri(t),st(t,c,!1);break;case"textarea":ri(t),C0(t);break;case"option":sr(t,c);break;case"select":Bv(t,c);break;default:typeof b.onClick=="function"&&HS(t);break}}function _7(t,r,c,f,h){VS(r,f);var b=null,C,D;switch(r){case"input":C=I(t,c),D=I(t,f),b=[];break;case"select":C=Hd(t,c),D=Hd(t,f),b=[];break;case"textarea":C=Uv(t,c),D=Uv(t,f),b=[];break;default:C=c,D=f,typeof C.onClick!="function"&&typeof D.onClick=="function"&&HS(t);break}Fp(r,D);var L,z,Q=null;for(L in C)if(!(D.hasOwnProperty(L)||!C.hasOwnProperty(L)||C[L]==null))if(L===kf){var ge=C[L];for(z in ge)ge.hasOwnProperty(z)&&(Q||(Q={}),Q[z]="")}else L===qy||L===Df||L===$S||L===td||L===D_||(De.hasOwnProperty(L)?b||(b=[]):(b=b||[]).push(L,null));for(L in D){var ve=D[L],Ae=C!=null?C[L]:void 0;if(!(!D.hasOwnProperty(L)||ve===Ae||ve==null&&Ae==null))if(L===kf)if(ve&&Object.freeze(ve),Ae){for(z in Ae)Ae.hasOwnProperty(z)&&(!ve||!ve.hasOwnProperty(z))&&(Q||(Q={}),Q[z]="");for(z in ve)ve.hasOwnProperty(z)&&Ae[z]!==ve[z]&&(Q||(Q={}),Q[z]=ve[z])}else Q||(b||(b=[]),b.push(L,Q)),Q=ve;else if(L===qy){var Ie=ve?ve[jS]:void 0,ze=Ae?Ae[jS]:void 0;Ie!=null&&ze!==Ie&&(b=b||[]).push(L,Ie)}else L===Df?(typeof ve=="string"||typeof ve=="number")&&(b=b||[]).push(L,""+ve):L===$S||L===td||(De.hasOwnProperty(L)?(ve!=null&&(typeof ve!="function"&&BS(L,ve),L==="onScroll"&&Or("scroll",t)),!b&&Ae!==ve&&(b=[])):(b=b||[]).push(L,ve))}return Q&&(qd(Q,D[kf]),(b=b||[]).push(kf,Q)),b}function N7(t,r,c,f,h){c==="input"&&h.type==="radio"&&h.name!=null&&Fe(t,h);var b=Ns(c,f),C=Ns(c,h);switch(D7(t,r,b,C),c){case"input":$e(t,h);break;case"textarea":w0(t,h);break;case"select":gE(t,h);break}}function A7(t){{var r=t.toLowerCase();return Lp.hasOwnProperty(r)&&Lp[r]||null}}function F7(t,r,c,f,h,b,C){var D,L;switch(D=Ns(r,c),VS(r,c),r){case"dialog":Or("cancel",t),Or("close",t);break;case"iframe":case"object":case"embed":Or("load",t);break;case"video":case"audio":for(var z=0;z<Hy.length;z++)Or(Hy[z],t);break;case"source":Or("error",t);break;case"img":case"image":case"link":Or("error",t),Or("load",t);break;case"details":Or("toggle",t);break;case"input":le(t,c),Or("invalid",t);break;case"option":Wn(t,c);break;case"select":Wd(t,c),Or("invalid",t);break;case"textarea":x0(t,c),Or("invalid",t);break}Fp(r,c);{L=new Set;for(var Q=t.attributes,ge=0;ge<Q.length;ge++){var ve=Q[ge].name.toLowerCase();switch(ve){case"value":break;case"checked":break;case"selected":break;default:L.add(Q[ge].name)}}}var Ae=null;for(var Ie in c)if(c.hasOwnProperty(Ie)){var ze=c[Ie];if(Ie===Df)typeof ze=="string"?t.textContent!==ze&&(c[td]!==!0&&US(t.textContent,ze,b,C),Ae=[Df,ze]):typeof ze=="number"&&t.textContent!==""+ze&&(c[td]!==!0&&US(t.textContent,ze,b,C),Ae=[Df,""+ze]);else if(De.hasOwnProperty(Ie))ze!=null&&(typeof ze!="function"&&BS(Ie,ze),Ie==="onScroll"&&Or("scroll",t));else if(C&&typeof D=="boolean"){var vt=void 0,Vt=D&&Pe?null:Jn(Ie);if(c[td]!==!0){if(!(Ie===$S||Ie===td||Ie==="value"||Ie==="checked"||Ie==="selected")){if(Ie===qy){var Lt=t.innerHTML,Rn=ze?ze[jS]:void 0;if(Rn!=null){var gn=P_(t,Rn);gn!==Lt&&Gy(Ie,Lt,gn)}}else if(Ie===kf){if(L.delete(Ie),M_){var ke=RE(ze);vt=t.getAttribute("style"),ke!==vt&&Gy(Ie,vt,ke)}}else if(D&&!Pe)L.delete(Ie.toLowerCase()),vt=rs(t,Ie,ze),ze!==vt&&Gy(Ie,vt,ze);else if(!Kt(Ie,Vt,D)&&!Nt(Ie,ze,Vt,D)){var Ue=!1;if(Vt!==null)L.delete(Vt.attributeName),vt=Pa(t,Ie,ze,Vt);else{var Me=f;if(Me===Ps&&(Me=Pp(r)),Me===Ps)L.delete(Ie.toLowerCase());else{var rt=A7(Ie);rt!==null&&rt!==Ie&&(Ue=!0,L.delete(rt)),L.delete(Ie)}vt=rs(t,Ie,ze)}var wt=Pe;!wt&&ze!==vt&&!Ue&&Gy(Ie,vt,ze)}}}}}switch(C&&L.size>0&&c[td]!==!0&&k_(L),r){case"input":ri(t),st(t,c,!0);break;case"textarea":ri(t),C0(t);break;case"select":case"option":break;default:typeof c.onClick=="function"&&HS(t);break}return Ae}function L7(t,r,c){var f=t.nodeValue!==r;return f}function a1(t,r){{if(gi)return;gi=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",r.nodeName.toLowerCase(),t.nodeName.toLowerCase())}}function i1(t,r){{if(gi)return;gi=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',r.nodeValue,t.nodeName.toLowerCase())}}function s1(t,r,c){{if(gi)return;gi=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",r,t.nodeName.toLowerCase())}}function l1(t,r){{if(r===""||gi)return;gi=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',r,t.nodeName.toLowerCase())}}function I7(t,r,c){switch(r){case"input":Ut(t,c);return;case"textarea":Hv(t,c);return;case"select":bE(t,c);return}}var Ky=function(){},Qy=function(){};{var $7=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],N_=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],j7=N_.concat(["button"]),V7=["dd","dt","li","option","optgroup","p","rp","rt"],A_={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Qy=function(t,r){var c=ln({},t||A_),f={tag:r};return N_.indexOf(r)!==-1&&(c.aTagInScope=null,c.buttonTagInScope=null,c.nobrTagInScope=null),j7.indexOf(r)!==-1&&(c.pTagInButtonScope=null),$7.indexOf(r)!==-1&&r!=="address"&&r!=="div"&&r!=="p"&&(c.listItemTagAutoclosing=null,c.dlItemTagAutoclosing=null),c.current=f,r==="form"&&(c.formTag=f),r==="a"&&(c.aTagInScope=f),r==="button"&&(c.buttonTagInScope=f),r==="nobr"&&(c.nobrTagInScope=f),r==="p"&&(c.pTagInButtonScope=f),r==="li"&&(c.listItemTagAutoclosing=f),(r==="dd"||r==="dt")&&(c.dlItemTagAutoclosing=f),c};var B7=function(t,r){switch(r){case"select":return t==="option"||t==="optgroup"||t==="#text";case"optgroup":return t==="option"||t==="#text";case"option":return t==="#text";case"tr":return t==="th"||t==="td"||t==="style"||t==="script"||t==="template";case"tbody":case"thead":case"tfoot":return t==="tr"||t==="style"||t==="script"||t==="template";case"colgroup":return t==="col"||t==="template";case"table":return t==="caption"||t==="colgroup"||t==="tbody"||t==="tfoot"||t==="thead"||t==="style"||t==="script"||t==="template";case"head":return t==="base"||t==="basefont"||t==="bgsound"||t==="link"||t==="meta"||t==="title"||t==="noscript"||t==="noframes"||t==="style"||t==="script"||t==="template";case"html":return t==="head"||t==="body"||t==="frameset";case"frameset":return t==="frame";case"#document":return t==="html"}switch(t){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return r!=="h1"&&r!=="h2"&&r!=="h3"&&r!=="h4"&&r!=="h5"&&r!=="h6";case"rp":case"rt":return V7.indexOf(r)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return r==null}return!0},z7=function(t,r){switch(t){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return r.pTagInButtonScope;case"form":return r.formTag||r.pTagInButtonScope;case"li":return r.listItemTagAutoclosing;case"dd":case"dt":return r.dlItemTagAutoclosing;case"button":return r.buttonTagInScope;case"a":return r.aTagInScope;case"nobr":return r.nobrTagInScope}return null},F_={};Ky=function(t,r,c){c=c||A_;var f=c.current,h=f&&f.tag;r!=null&&(t!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),t="#text");var b=B7(t,h)?null:f,C=b?null:z7(t,c),D=b||C;if(D){var L=D.tag,z=!!b+"|"+t+"|"+L;if(!F_[z]){F_[z]=!0;var Q=t,ge="";if(t==="#text"?/\S/.test(r)?Q="Text nodes":(Q="Whitespace text nodes",ge=" Make sure you don't have any extra whitespace between tags on each line of your source code."):Q="<"+t+">",b){var ve="";L==="table"&&t==="tr"&&(ve+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",Q,L,ge,ve)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",Q,L)}}}}var WS="suppressHydrationWarning",YS="$",qS="/$",Xy="$?",Zy="$!",U7="style",u1=null,c1=null;function H7(t){var r,c,f=t.nodeType;switch(f){case Li:case mu:{r=f===Li?"#document":"#fragment";var h=t.documentElement;c=h?h.namespaceURI:Yv(null,"");break}default:{var b=f===Zr?t.parentNode:t,C=b.namespaceURI||null;r=b.tagName,c=Yv(C,r);break}}{var D=r.toLowerCase(),L=Qy(null,D);return{namespace:c,ancestorInfo:L}}}function W7(t,r,c){{var f=t,h=Yv(f.namespace,r),b=Qy(f.ancestorInfo,r);return{namespace:h,ancestorInfo:b}}}function eX(t){return t}function Y7(t){u1=Gc(),c1=i7();var r=null;return xa(!1),r}function q7(t){s7(c1),xa(u1),u1=null,c1=null}function G7(t,r,c,f,h){var b;{var C=f;if(Ky(t,null,C.ancestorInfo),typeof r.children=="string"||typeof r.children=="number"){var D=""+r.children,L=Qy(C.ancestorInfo,t);Ky(null,D,L)}b=C.namespace}var z=k7(t,r,c,b);return tg(h,z),g1(z,r),z}function K7(t,r){t.appendChild(r)}function Q7(t,r,c,f,h){switch(P7(t,r,c,f),r){case"button":case"input":case"select":case"textarea":return!!c.autoFocus;case"img":return!0;default:return!1}}function X7(t,r,c,f,h,b){{var C=b;if(typeof f.children!=typeof c.children&&(typeof f.children=="string"||typeof f.children=="number")){var D=""+f.children,L=Qy(C.ancestorInfo,r);Ky(null,D,L)}}return _7(t,r,c,f)}function d1(t,r){return t==="textarea"||t==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}function Z7(t,r,c,f){{var h=c;Ky(null,t,h.ancestorInfo)}var b=M7(t,r);return tg(f,b),b}function J7(){var t=window.event;return t===void 0?fs:Rm(t.type)}var f1=typeof setTimeout=="function"?setTimeout:void 0,eY=typeof clearTimeout=="function"?clearTimeout:void 0,p1=-1,L_=typeof Promise=="function"?Promise:void 0,tY=typeof queueMicrotask=="function"?queueMicrotask:typeof L_<"u"?function(t){return L_.resolve(null).then(t).catch(nY)}:f1;function nY(t){setTimeout(function(){throw t})}function rY(t,r,c,f){switch(r){case"button":case"input":case"select":case"textarea":c.autoFocus&&t.focus();return;case"img":{c.src&&(t.src=c.src);return}}}function oY(t,r,c,f,h,b){N7(t,r,c,f,h),g1(t,h)}function I_(t){Np(t,"")}function aY(t,r,c){t.nodeValue=c}function iY(t,r){t.appendChild(r)}function sY(t,r){var c;t.nodeType===Zr?(c=t.parentNode,c.insertBefore(r,t)):(c=t,c.appendChild(r));var f=t._reactRootContainer;f==null&&c.onclick===null&&HS(c)}function lY(t,r,c){t.insertBefore(r,c)}function uY(t,r,c){t.nodeType===Zr?t.parentNode.insertBefore(r,c):t.insertBefore(r,c)}function cY(t,r){t.removeChild(r)}function dY(t,r){t.nodeType===Zr?t.parentNode.removeChild(r):t.removeChild(r)}function m1(t,r){var c=r,f=0;do{var h=c.nextSibling;if(t.removeChild(c),h&&h.nodeType===Zr){var b=h.data;if(b===qS)if(f===0){t.removeChild(h),Nr(r);return}else f--;else(b===YS||b===Xy||b===Zy)&&f++}c=h}while(c);Nr(r)}function fY(t,r){t.nodeType===Zr?m1(t.parentNode,r):t.nodeType===da&&m1(t,r),Nr(t)}function pY(t){t=t;var r=t.style;typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none"}function mY(t){t.nodeValue=""}function hY(t,r){t=t;var c=r[U7],f=c!=null&&c.hasOwnProperty("display")?c.display:null;t.style.display=Ap("display",f)}function vY(t,r){t.nodeValue=r}function yY(t){t.nodeType===da?t.textContent="":t.nodeType===Li&&t.documentElement&&t.removeChild(t.documentElement)}function gY(t,r,c){return t.nodeType!==da||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t}function bY(t,r){return r===""||t.nodeType!==_s?null:t}function SY(t){return t.nodeType!==Zr?null:t}function $_(t){return t.data===Xy}function h1(t){return t.data===Zy}function xY(t){var r=t.nextSibling&&t.nextSibling.dataset,c,f,h;return r&&(c=r.dgst,f=r.msg,h=r.stck),{message:f,digest:c,stack:h}}function wY(t,r){t._reactRetry=r}function GS(t){for(;t!=null;t=t.nextSibling){var r=t.nodeType;if(r===da||r===_s)break;if(r===Zr){var c=t.data;if(c===YS||c===Zy||c===Xy)break;if(c===qS)return null}}return t}function Jy(t){return GS(t.nextSibling)}function CY(t){return GS(t.firstChild)}function EY(t){return GS(t.firstChild)}function TY(t){return GS(t.nextSibling)}function RY(t,r,c,f,h,b,C){tg(b,t),g1(t,c);var D;{var L=h;D=L.namespace}var z=(b.mode&Ft)!==Pt;return F7(t,r,c,D,f,z,C)}function OY(t,r,c,f){return tg(c,t),c.mode&Ft,L7(t,r)}function DY(t,r){tg(r,t)}function kY(t){for(var r=t.nextSibling,c=0;r;){if(r.nodeType===Zr){var f=r.data;if(f===qS){if(c===0)return Jy(r);c--}else(f===YS||f===Zy||f===Xy)&&c++}r=r.nextSibling}return null}function j_(t){for(var r=t.previousSibling,c=0;r;){if(r.nodeType===Zr){var f=r.data;if(f===YS||f===Zy||f===Xy){if(c===0)return r;c--}else f===qS&&c++}r=r.previousSibling}return null}function MY(t){Nr(t)}function PY(t){Nr(t)}function _Y(t){return t!=="head"&&t!=="body"}function NY(t,r,c,f){var h=!0;US(r.nodeValue,c,f,h)}function AY(t,r,c,f,h,b){if(r[WS]!==!0){var C=!0;US(f.nodeValue,h,b,C)}}function FY(t,r){r.nodeType===da?a1(t,r):r.nodeType===Zr||i1(t,r)}function LY(t,r){{var c=t.parentNode;c!==null&&(r.nodeType===da?a1(c,r):r.nodeType===Zr||i1(c,r))}}function IY(t,r,c,f,h){(h||r[WS]!==!0)&&(f.nodeType===da?a1(c,f):f.nodeType===Zr||i1(c,f))}function $Y(t,r,c){s1(t,r)}function jY(t,r){l1(t,r)}function VY(t,r,c){{var f=t.parentNode;f!==null&&s1(f,r)}}function BY(t,r){{var c=t.parentNode;c!==null&&l1(c,r)}}function zY(t,r,c,f,h,b){(b||r[WS]!==!0)&&s1(c,f)}function UY(t,r,c,f,h){(h||r[WS]!==!0)&&l1(c,f)}function HY(t){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",t.nodeName.toLowerCase())}function WY(t){Wy(t)}var Hm=Math.random().toString(36).slice(2),Wm="__reactFiber$"+Hm,v1="__reactProps$"+Hm,eg="__reactContainer$"+Hm,y1="__reactEvents$"+Hm,YY="__reactListeners$"+Hm,qY="__reactHandles$"+Hm;function GY(t){delete t[Wm],delete t[v1],delete t[y1],delete t[YY],delete t[qY]}function tg(t,r){r[Wm]=t}function KS(t,r){r[eg]=t}function V_(t){t[eg]=null}function ng(t){return!!t[eg]}function Mf(t){var r=t[Wm];if(r)return r;for(var c=t.parentNode;c;){if(r=c[eg]||c[Wm],r){var f=r.alternate;if(r.child!==null||f!==null&&f.child!==null)for(var h=j_(t);h!==null;){var b=h[Wm];if(b)return b;h=j_(h)}return r}t=c,c=t.parentNode}return null}function nd(t){var r=t[Wm]||t[eg];return r&&(r.tag===k||r.tag===O||r.tag===P||r.tag===E)?r:null}function Ym(t){if(t.tag===k||t.tag===O)return t.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function QS(t){return t[v1]||null}function g1(t,r){t[v1]=r}function KY(t){var r=t[y1];return r===void 0&&(r=t[y1]=new Set),r}var B_={},z_=o.ReactDebugCurrentFrame;function XS(t){if(t){var r=t._owner,c=ss(t.type,t._source,r?r.type:null);z_.setExtraStackFrame(c)}else z_.setExtraStackFrame(null)}function Ws(t,r,c,f,h){{var b=Function.call.bind(he);for(var C in t)if(b(t,C)){var D=void 0;try{if(typeof t[C]!="function"){var L=Error((f||"React class")+": "+c+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw L.name="Invariant Violation",L}D=t[C](r,C,f,c,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(z){D=z}D&&!(D instanceof Error)&&(XS(h),m("%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).",f||"React class",c,C,typeof D),XS(null)),D instanceof Error&&!(D.message in B_)&&(B_[D.message]=!0,XS(h),m("Failed %s type: %s",c,D.message),XS(null))}}}var b1=[],ZS;ZS=[];var $u=-1;function rd(t){return{current:t}}function wa(t,r){if($u<0){m("Unexpected pop.");return}r!==ZS[$u]&&m("Unexpected Fiber popped."),t.current=b1[$u],b1[$u]=null,ZS[$u]=null,$u--}function Ca(t,r,c){$u++,b1[$u]=t.current,ZS[$u]=c,t.current=r}var S1;S1={};var Vi={};Object.freeze(Vi);var ju=rd(Vi),Ul=rd(!1),x1=Vi;function qm(t,r,c){return c&&Hl(r)?x1:ju.current}function U_(t,r,c){{var f=t.stateNode;f.__reactInternalMemoizedUnmaskedChildContext=r,f.__reactInternalMemoizedMaskedChildContext=c}}function Gm(t,r){{var c=t.type,f=c.contextTypes;if(!f)return Vi;var h=t.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===r)return h.__reactInternalMemoizedMaskedChildContext;var b={};for(var C in f)b[C]=r[C];{var D=Jt(t)||"Unknown";Ws(f,b,"context",D)}return h&&U_(t,r,b),b}}function JS(){return Ul.current}function Hl(t){{var r=t.childContextTypes;return r!=null}}function ex(t){wa(Ul,t),wa(ju,t)}function w1(t){wa(Ul,t),wa(ju,t)}function H_(t,r,c){{if(ju.current!==Vi)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Ca(ju,r,t),Ca(Ul,c,t)}}function W_(t,r,c){{var f=t.stateNode,h=r.childContextTypes;if(typeof f.getChildContext!="function"){{var b=Jt(t)||"Unknown";S1[b]||(S1[b]=!0,m("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",b,b))}return c}var C=f.getChildContext();for(var D in C)if(!(D in h))throw new Error((Jt(t)||"Unknown")+'.getChildContext(): key "'+D+'" is not defined in childContextTypes.');{var L=Jt(t)||"Unknown";Ws(h,C,"child context",L)}return ln({},c,C)}}function tx(t){{var r=t.stateNode,c=r&&r.__reactInternalMemoizedMergedChildContext||Vi;return x1=ju.current,Ca(ju,c,t),Ca(Ul,Ul.current,t),!0}}function Y_(t,r,c){{var f=t.stateNode;if(!f)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(c){var h=W_(t,r,x1);f.__reactInternalMemoizedMergedChildContext=h,wa(Ul,t),wa(ju,t),Ca(ju,h,t),Ca(Ul,c,t)}else wa(Ul,t),Ca(Ul,c,t)}}function QY(t){{if(!fy(t)||t.tag!==S)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var r=t;do{switch(r.tag){case E:return r.stateNode.context;case S:{var c=r.type;if(Hl(c))return r.stateNode.__reactInternalMemoizedMergedChildContext;break}}r=r.return}while(r!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var od=0,nx=1,Vu=null,C1=!1,E1=!1;function q_(t){Vu===null?Vu=[t]:Vu.push(t)}function XY(t){C1=!0,q_(t)}function G_(){C1&&ad()}function ad(){if(!E1&&Vu!==null){E1=!0;var t=0,r=pi();try{var c=!0,f=Vu;for(_r($r);t<f.length;t++){var h=f[t];do h=h(c);while(h!==null)}Vu=null,C1=!1}catch(b){throw Vu!==null&&(Vu=Vu.slice(t+1)),Wp(qp,ad),b}finally{_r(r),E1=!1}}return null}var Km=[],Qm=0,rx=null,ox=0,vs=[],ys=0,Pf=null,Bu=1,zu="";function ZY(t){return Nf(),(t.flags&uy)!==jt}function JY(t){return Nf(),ox}function eq(){var t=zu,r=Bu,c=r&~tq(r);return c.toString(32)+t}function _f(t,r){Nf(),Km[Qm++]=ox,Km[Qm++]=rx,rx=t,ox=r}function K_(t,r,c){Nf(),vs[ys++]=Bu,vs[ys++]=zu,vs[ys++]=Pf,Pf=t;var f=Bu,h=zu,b=ax(f)-1,C=f&~(1<<b),D=c+1,L=ax(r)+b;if(L>30){var z=b-b%5,Q=(1<<z)-1,ge=(C&Q).toString(32),ve=C>>z,Ae=b-z,Ie=ax(r)+Ae,ze=D<<Ae,vt=ze|ve,Vt=ge+h;Bu=1<<Ie|vt,zu=Vt}else{var Lt=D<<b,Rn=Lt|C,gn=h;Bu=1<<L|Rn,zu=gn}}function T1(t){Nf();var r=t.return;if(r!==null){var c=1,f=0;_f(t,c),K_(t,c,f)}}function ax(t){return 32-Pc(t)}function tq(t){return 1<<ax(t)-1}function R1(t){for(;t===rx;)rx=Km[--Qm],Km[Qm]=null,ox=Km[--Qm],Km[Qm]=null;for(;t===Pf;)Pf=vs[--ys],vs[ys]=null,zu=vs[--ys],vs[ys]=null,Bu=vs[--ys],vs[ys]=null}function nq(){return Nf(),Pf!==null?{id:Bu,overflow:zu}:null}function rq(t,r){Nf(),vs[ys++]=Bu,vs[ys++]=zu,vs[ys++]=Pf,Bu=r.id,zu=r.overflow,Pf=t}function Nf(){Zo()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Xo=null,gs=null,Ys=!1,Af=!1,id=null;function oq(){Ys&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Q_(){Af=!0}function aq(){return Af}function iq(t){var r=t.stateNode.containerInfo;return gs=EY(r),Xo=t,Ys=!0,id=null,Af=!1,!0}function sq(t,r,c){return gs=TY(r),Xo=t,Ys=!0,id=null,Af=!1,c!==null&&rq(t,c),!0}function X_(t,r){switch(t.tag){case E:{FY(t.stateNode.containerInfo,r);break}case k:{var c=(t.mode&Ft)!==Pt;IY(t.type,t.memoizedProps,t.stateNode,r,c);break}case P:{var f=t.memoizedState;f.dehydrated!==null&&LY(f.dehydrated,r);break}}}function Z_(t,r){X_(t,r);var c=dQ();c.stateNode=r,c.return=t;var f=t.deletions;f===null?(t.deletions=[c],t.flags|=In):f.push(c)}function O1(t,r){{if(Af)return;switch(t.tag){case E:{var c=t.stateNode.containerInfo;switch(r.tag){case k:var f=r.type;r.pendingProps,$Y(c,f);break;case O:var h=r.pendingProps;jY(c,h);break}break}case k:{var b=t.type,C=t.memoizedProps,D=t.stateNode;switch(r.tag){case k:{var L=r.type,z=r.pendingProps,Q=(t.mode&Ft)!==Pt;zY(b,C,D,L,z,Q);break}case O:{var ge=r.pendingProps,ve=(t.mode&Ft)!==Pt;UY(b,C,D,ge,ve);break}}break}case P:{var Ae=t.memoizedState,Ie=Ae.dehydrated;if(Ie!==null)switch(r.tag){case k:var ze=r.type;r.pendingProps,VY(Ie,ze);break;case O:var vt=r.pendingProps;BY(Ie,vt);break}break}default:return}}}function J_(t,r){r.flags=r.flags&~si|hr,O1(t,r)}function eN(t,r){switch(t.tag){case k:{var c=t.type;t.pendingProps;var f=gY(r,c);return f!==null?(t.stateNode=f,Xo=t,gs=CY(f),!0):!1}case O:{var h=t.pendingProps,b=bY(r,h);return b!==null?(t.stateNode=b,Xo=t,gs=null,!0):!1}case P:{var C=SY(r);if(C!==null){var D={dehydrated:C,treeContext:nq(),retryLane:Vo};t.memoizedState=D;var L=fQ(C);return L.return=t,t.child=L,Xo=t,gs=null,!0}return!1}default:return!1}}function D1(t){return(t.mode&Ft)!==Pt&&(t.flags&Qt)===jt}function k1(t){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function M1(t){if(Ys){var r=gs;if(!r){D1(t)&&(O1(Xo,t),k1()),J_(Xo,t),Ys=!1,Xo=t;return}var c=r;if(!eN(t,r)){D1(t)&&(O1(Xo,t),k1()),r=Jy(c);var f=Xo;if(!r||!eN(t,r)){J_(Xo,t),Ys=!1,Xo=t;return}Z_(f,c)}}}function lq(t,r,c){var f=t.stateNode,h=!Af,b=RY(f,t.type,t.memoizedProps,r,c,t,h);return t.updateQueue=b,b!==null}function uq(t){var r=t.stateNode,c=t.memoizedProps,f=OY(r,c,t);if(f){var h=Xo;if(h!==null)switch(h.tag){case E:{var b=h.stateNode.containerInfo,C=(h.mode&Ft)!==Pt;NY(b,r,c,C);break}case k:{var D=h.type,L=h.memoizedProps,z=h.stateNode,Q=(h.mode&Ft)!==Pt;AY(D,L,z,r,c,Q);break}}}return f}function cq(t){var r=t.memoizedState,c=r!==null?r.dehydrated:null;if(!c)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");DY(c,t)}function dq(t){var r=t.memoizedState,c=r!==null?r.dehydrated:null;if(!c)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return kY(c)}function tN(t){for(var r=t.return;r!==null&&r.tag!==k&&r.tag!==E&&r.tag!==P;)r=r.return;Xo=r}function ix(t){if(t!==Xo)return!1;if(!Ys)return tN(t),Ys=!0,!1;if(t.tag!==E&&(t.tag!==k||_Y(t.type)&&!d1(t.type,t.memoizedProps))){var r=gs;if(r)if(D1(t))nN(t),k1();else for(;r;)Z_(t,r),r=Jy(r)}return tN(t),t.tag===P?gs=dq(t):gs=Xo?Jy(t.stateNode):null,!0}function fq(){return Ys&&gs!==null}function nN(t){for(var r=gs;r;)X_(t,r),r=Jy(r)}function Xm(){Xo=null,gs=null,Ys=!1,Af=!1}function rN(){id!==null&&(QA(id),id=null)}function Zo(){return Ys}function P1(t){id===null?id=[t]:id.push(t)}var pq=o.ReactCurrentBatchConfig,mq=null;function hq(){return pq.transition}var qs={recordUnsafeLifecycleWarnings:function(t,r){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(t,r){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var vq=function(t){for(var r=null,c=t;c!==null;)c.mode&pn&&(r=c),c=c.return;return r},Ff=function(t){var r=[];return t.forEach(function(c){r.push(c)}),r.sort().join(", ")},rg=[],og=[],ag=[],ig=[],sg=[],lg=[],Lf=new Set;qs.recordUnsafeLifecycleWarnings=function(t,r){Lf.has(t.type)||(typeof r.componentWillMount=="function"&&r.componentWillMount.__suppressDeprecationWarning!==!0&&rg.push(t),t.mode&pn&&typeof r.UNSAFE_componentWillMount=="function"&&og.push(t),typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ag.push(t),t.mode&pn&&typeof r.UNSAFE_componentWillReceiveProps=="function"&&ig.push(t),typeof r.componentWillUpdate=="function"&&r.componentWillUpdate.__suppressDeprecationWarning!==!0&&sg.push(t),t.mode&pn&&typeof r.UNSAFE_componentWillUpdate=="function"&&lg.push(t))},qs.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;rg.length>0&&(rg.forEach(function(ve){t.add(Jt(ve)||"Component"),Lf.add(ve.type)}),rg=[]);var r=new Set;og.length>0&&(og.forEach(function(ve){r.add(Jt(ve)||"Component"),Lf.add(ve.type)}),og=[]);var c=new Set;ag.length>0&&(ag.forEach(function(ve){c.add(Jt(ve)||"Component"),Lf.add(ve.type)}),ag=[]);var f=new Set;ig.length>0&&(ig.forEach(function(ve){f.add(Jt(ve)||"Component"),Lf.add(ve.type)}),ig=[]);var h=new Set;sg.length>0&&(sg.forEach(function(ve){h.add(Jt(ve)||"Component"),Lf.add(ve.type)}),sg=[]);var b=new Set;if(lg.length>0&&(lg.forEach(function(ve){b.add(Jt(ve)||"Component"),Lf.add(ve.type)}),lg=[]),r.size>0){var C=Ff(r);m(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
220
|
+
|
|
221
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
222
|
+
|
|
223
|
+
Please update the following components: %s`,C)}if(f.size>0){var D=Ff(f);m(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
224
|
+
|
|
225
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
226
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
227
|
+
|
|
228
|
+
Please update the following components: %s`,D)}if(b.size>0){var L=Ff(b);m(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
229
|
+
|
|
230
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
231
|
+
|
|
232
|
+
Please update the following components: %s`,L)}if(t.size>0){var z=Ff(t);d(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
233
|
+
|
|
234
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
235
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
236
|
+
|
|
237
|
+
Please update the following components: %s`,z)}if(c.size>0){var Q=Ff(c);d(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
238
|
+
|
|
239
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
240
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
241
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
242
|
+
|
|
243
|
+
Please update the following components: %s`,Q)}if(h.size>0){var ge=Ff(h);d(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
244
|
+
|
|
245
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
246
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
247
|
+
|
|
248
|
+
Please update the following components: %s`,ge)}};var sx=new Map,oN=new Set;qs.recordLegacyContextWarning=function(t,r){var c=vq(t);if(c===null){m("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!oN.has(t.type)){var f=sx.get(c);(t.type.contextTypes!=null||t.type.childContextTypes!=null||r!==null&&typeof r.getChildContext=="function")&&(f===void 0&&(f=[],sx.set(c,f)),f.push(t))}},qs.flushLegacyContextWarning=function(){sx.forEach(function(t,r){if(t.length!==0){var c=t[0],f=new Set;t.forEach(function(b){f.add(Jt(b)||"Component"),oN.add(b.type)});var h=Ff(f);try{jn(c),m(`Legacy context API has been detected within a strict-mode tree.
|
|
249
|
+
|
|
250
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
251
|
+
|
|
252
|
+
Please update the following components: %s
|
|
253
|
+
|
|
254
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,h)}finally{Mr()}}})},qs.discardPendingWarnings=function(){rg=[],og=[],ag=[],ig=[],sg=[],lg=[],sx=new Map}}var _1,N1,A1,F1,L1,aN=function(t,r){};_1=!1,N1=!1,A1={},F1={},L1={},aN=function(t,r){if(!(t===null||typeof t!="object")&&!(!t._store||t._store.validated||t.key!=null)){if(typeof t._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");t._store.validated=!0;var c=Jt(r)||"Component";F1[c]||(F1[c]=!0,m('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function yq(t){return t.prototype&&t.prototype.isReactComponent}function ug(t,r,c){var f=c.ref;if(f!==null&&typeof f!="function"&&typeof f!="object"){if((t.mode&pn||Te)&&!(c._owner&&c._self&&c._owner.stateNode!==c._self)&&!(c._owner&&c._owner.tag!==S)&&!(typeof c.type=="function"&&!yq(c.type))&&c._owner){var h=Jt(t)||"Component";A1[h]||(m('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',h,f),A1[h]=!0)}if(c._owner){var b=c._owner,C;if(b){var D=b;if(D.tag!==S)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");C=D.stateNode}if(!C)throw new Error("Missing owner for string ref "+f+". This error is likely caused by a bug in React. Please file an issue.");var L=C;be(f,"ref");var z=""+f;if(r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===z)return r.ref;var Q=function(ge){var ve=L.refs;ge===null?delete ve[z]:ve[z]=ge};return Q._stringRef=z,Q}else{if(typeof f!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!c._owner)throw new Error("Element ref was specified as a string ("+f+`) but no owner was set. This could happen for one of the following reasons:
|
|
255
|
+
1. You may be adding a ref to a function component
|
|
256
|
+
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
257
|
+
3. You have multiple copies of React loaded
|
|
258
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return f}function lx(t,r){var c=Object.prototype.toString.call(r);throw new Error("Objects are not valid as a React child (found: "+(c==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":c)+"). If you meant to render a collection of children, use an array instead.")}function ux(t){{var r=Jt(t)||"Component";if(L1[r])return;L1[r]=!0,m("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function iN(t){var r=t._payload,c=t._init;return c(r)}function sN(t){function r(ke,Ue){if(t){var Me=ke.deletions;Me===null?(ke.deletions=[Ue],ke.flags|=In):Me.push(Ue)}}function c(ke,Ue){if(!t)return null;for(var Me=Ue;Me!==null;)r(ke,Me),Me=Me.sibling;return null}function f(ke,Ue){for(var Me=new Map,rt=Ue;rt!==null;)rt.key!==null?Me.set(rt.key,rt):Me.set(rt.index,rt),rt=rt.sibling;return Me}function h(ke,Ue){var Me=Wf(ke,Ue);return Me.index=0,Me.sibling=null,Me}function b(ke,Ue,Me){if(ke.index=Me,!t)return ke.flags|=uy,Ue;var rt=ke.alternate;if(rt!==null){var wt=rt.index;return wt<Ue?(ke.flags|=hr,Ue):wt}else return ke.flags|=hr,Ue}function C(ke){return t&&ke.alternate===null&&(ke.flags|=hr),ke}function D(ke,Ue,Me,rt){if(Ue===null||Ue.tag!==O){var wt=PR(Me,ke.mode,rt);return wt.return=ke,wt}else{var yt=h(Ue,Me);return yt.return=ke,yt}}function L(ke,Ue,Me,rt){var wt=Me.type;if(wt===Na)return Q(ke,Ue,Me.props.children,rt,Me.key);if(Ue!==null&&(Ue.elementType===wt||fF(Ue,Me)||typeof wt=="object"&&wt!==null&&wt.$$typeof===zt&&iN(wt)===Ue.type)){var yt=h(Ue,Me.props);return yt.ref=ug(ke,Ue,Me),yt.return=ke,yt._debugSource=Me._source,yt._debugOwner=Me._owner,yt}var Gt=MR(Me,ke.mode,rt);return Gt.ref=ug(ke,Ue,Me),Gt.return=ke,Gt}function z(ke,Ue,Me,rt){if(Ue===null||Ue.tag!==R||Ue.stateNode.containerInfo!==Me.containerInfo||Ue.stateNode.implementation!==Me.implementation){var wt=_R(Me,ke.mode,rt);return wt.return=ke,wt}else{var yt=h(Ue,Me.children||[]);return yt.return=ke,yt}}function Q(ke,Ue,Me,rt,wt){if(Ue===null||Ue.tag!==_){var yt=yd(Me,ke.mode,rt,wt);return yt.return=ke,yt}else{var Gt=h(Ue,Me);return Gt.return=ke,Gt}}function ge(ke,Ue,Me){if(typeof Ue=="string"&&Ue!==""||typeof Ue=="number"){var rt=PR(""+Ue,ke.mode,Me);return rt.return=ke,rt}if(typeof Ue=="object"&&Ue!==null){switch(Ue.$$typeof){case _i:{var wt=MR(Ue,ke.mode,Me);return wt.ref=ug(ke,null,Ue),wt.return=ke,wt}case Wo:{var yt=_R(Ue,ke.mode,Me);return yt.return=ke,yt}case zt:{var Gt=Ue._payload,nn=Ue._init;return ge(ke,nn(Gt),Me)}}if(wn(Ue)||Yo(Ue)){var tr=yd(Ue,ke.mode,Me,null);return tr.return=ke,tr}lx(ke,Ue)}return typeof Ue=="function"&&ux(ke),null}function ve(ke,Ue,Me,rt){var wt=Ue!==null?Ue.key:null;if(typeof Me=="string"&&Me!==""||typeof Me=="number")return wt!==null?null:D(ke,Ue,""+Me,rt);if(typeof Me=="object"&&Me!==null){switch(Me.$$typeof){case _i:return Me.key===wt?L(ke,Ue,Me,rt):null;case Wo:return Me.key===wt?z(ke,Ue,Me,rt):null;case zt:{var yt=Me._payload,Gt=Me._init;return ve(ke,Ue,Gt(yt),rt)}}if(wn(Me)||Yo(Me))return wt!==null?null:Q(ke,Ue,Me,rt,null);lx(ke,Me)}return typeof Me=="function"&&ux(ke),null}function Ae(ke,Ue,Me,rt,wt){if(typeof rt=="string"&&rt!==""||typeof rt=="number"){var yt=ke.get(Me)||null;return D(Ue,yt,""+rt,wt)}if(typeof rt=="object"&&rt!==null){switch(rt.$$typeof){case _i:{var Gt=ke.get(rt.key===null?Me:rt.key)||null;return L(Ue,Gt,rt,wt)}case Wo:{var nn=ke.get(rt.key===null?Me:rt.key)||null;return z(Ue,nn,rt,wt)}case zt:var tr=rt._payload,Nn=rt._init;return Ae(ke,Ue,Me,Nn(tr),wt)}if(wn(rt)||Yo(rt)){var mo=ke.get(Me)||null;return Q(Ue,mo,rt,wt,null)}lx(Ue,rt)}return typeof rt=="function"&&ux(Ue),null}function Ie(ke,Ue,Me){{if(typeof ke!="object"||ke===null)return Ue;switch(ke.$$typeof){case _i:case Wo:aN(ke,Me);var rt=ke.key;if(typeof rt!="string")break;if(Ue===null){Ue=new Set,Ue.add(rt);break}if(!Ue.has(rt)){Ue.add(rt);break}m("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",rt);break;case zt:var wt=ke._payload,yt=ke._init;Ie(yt(wt),Ue,Me);break}}return Ue}function ze(ke,Ue,Me,rt){for(var wt=null,yt=0;yt<Me.length;yt++){var Gt=Me[yt];wt=Ie(Gt,wt,ke)}for(var nn=null,tr=null,Nn=Ue,mo=0,An=0,to=null;Nn!==null&&An<Me.length;An++){Nn.index>An?(to=Nn,Nn=null):to=Nn.sibling;var Ta=ve(ke,Nn,Me[An],rt);if(Ta===null){Nn===null&&(Nn=to);break}t&&Nn&&Ta.alternate===null&&r(ke,Nn),mo=b(Ta,mo,An),tr===null?nn=Ta:tr.sibling=Ta,tr=Ta,Nn=to}if(An===Me.length){if(c(ke,Nn),Zo()){var aa=An;_f(ke,aa)}return nn}if(Nn===null){for(;An<Me.length;An++){var zi=ge(ke,Me[An],rt);zi!==null&&(mo=b(zi,mo,An),tr===null?nn=zi:tr.sibling=zi,tr=zi)}if(Zo()){var Ua=An;_f(ke,Ua)}return nn}for(var Ha=f(ke,Nn);An<Me.length;An++){var Ra=Ae(Ha,ke,An,Me[An],rt);Ra!==null&&(t&&Ra.alternate!==null&&Ha.delete(Ra.key===null?An:Ra.key),mo=b(Ra,mo,An),tr===null?nn=Ra:tr.sibling=Ra,tr=Ra)}if(t&&Ha.forEach(function(vh){return r(ke,vh)}),Zo()){var Ku=An;_f(ke,Ku)}return nn}function vt(ke,Ue,Me,rt){var wt=Yo(Me);if(typeof wt!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&Me[Symbol.toStringTag]==="Generator"&&(N1||m("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),N1=!0),Me.entries===wt&&(_1||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),_1=!0);var yt=wt.call(Me);if(yt)for(var Gt=null,nn=yt.next();!nn.done;nn=yt.next()){var tr=nn.value;Gt=Ie(tr,Gt,ke)}}var Nn=wt.call(Me);if(Nn==null)throw new Error("An iterable object provided no iterator.");for(var mo=null,An=null,to=Ue,Ta=0,aa=0,zi=null,Ua=Nn.next();to!==null&&!Ua.done;aa++,Ua=Nn.next()){to.index>aa?(zi=to,to=null):zi=to.sibling;var Ha=ve(ke,to,Ua.value,rt);if(Ha===null){to===null&&(to=zi);break}t&&to&&Ha.alternate===null&&r(ke,to),Ta=b(Ha,Ta,aa),An===null?mo=Ha:An.sibling=Ha,An=Ha,to=zi}if(Ua.done){if(c(ke,to),Zo()){var Ra=aa;_f(ke,Ra)}return mo}if(to===null){for(;!Ua.done;aa++,Ua=Nn.next()){var Ku=ge(ke,Ua.value,rt);Ku!==null&&(Ta=b(Ku,Ta,aa),An===null?mo=Ku:An.sibling=Ku,An=Ku)}if(Zo()){var vh=aa;_f(ke,vh)}return mo}for(var Bg=f(ke,to);!Ua.done;aa++,Ua=Nn.next()){var Zl=Ae(Bg,ke,aa,Ua.value,rt);Zl!==null&&(t&&Zl.alternate!==null&&Bg.delete(Zl.key===null?aa:Zl.key),Ta=b(Zl,Ta,aa),An===null?mo=Zl:An.sibling=Zl,An=Zl)}if(t&&Bg.forEach(function(UQ){return r(ke,UQ)}),Zo()){var zQ=aa;_f(ke,zQ)}return mo}function Vt(ke,Ue,Me,rt){if(Ue!==null&&Ue.tag===O){c(ke,Ue.sibling);var wt=h(Ue,Me);return wt.return=ke,wt}c(ke,Ue);var yt=PR(Me,ke.mode,rt);return yt.return=ke,yt}function Lt(ke,Ue,Me,rt){for(var wt=Me.key,yt=Ue;yt!==null;){if(yt.key===wt){var Gt=Me.type;if(Gt===Na){if(yt.tag===_){c(ke,yt.sibling);var nn=h(yt,Me.props.children);return nn.return=ke,nn._debugSource=Me._source,nn._debugOwner=Me._owner,nn}}else if(yt.elementType===Gt||fF(yt,Me)||typeof Gt=="object"&&Gt!==null&&Gt.$$typeof===zt&&iN(Gt)===yt.type){c(ke,yt.sibling);var tr=h(yt,Me.props);return tr.ref=ug(ke,yt,Me),tr.return=ke,tr._debugSource=Me._source,tr._debugOwner=Me._owner,tr}c(ke,yt);break}else r(ke,yt);yt=yt.sibling}if(Me.type===Na){var Nn=yd(Me.props.children,ke.mode,rt,Me.key);return Nn.return=ke,Nn}else{var mo=MR(Me,ke.mode,rt);return mo.ref=ug(ke,Ue,Me),mo.return=ke,mo}}function Rn(ke,Ue,Me,rt){for(var wt=Me.key,yt=Ue;yt!==null;){if(yt.key===wt)if(yt.tag===R&&yt.stateNode.containerInfo===Me.containerInfo&&yt.stateNode.implementation===Me.implementation){c(ke,yt.sibling);var Gt=h(yt,Me.children||[]);return Gt.return=ke,Gt}else{c(ke,yt);break}else r(ke,yt);yt=yt.sibling}var nn=_R(Me,ke.mode,rt);return nn.return=ke,nn}function gn(ke,Ue,Me,rt){var wt=typeof Me=="object"&&Me!==null&&Me.type===Na&&Me.key===null;if(wt&&(Me=Me.props.children),typeof Me=="object"&&Me!==null){switch(Me.$$typeof){case _i:return C(Lt(ke,Ue,Me,rt));case Wo:return C(Rn(ke,Ue,Me,rt));case zt:var yt=Me._payload,Gt=Me._init;return gn(ke,Ue,Gt(yt),rt)}if(wn(Me))return ze(ke,Ue,Me,rt);if(Yo(Me))return vt(ke,Ue,Me,rt);lx(ke,Me)}return typeof Me=="string"&&Me!==""||typeof Me=="number"?C(Vt(ke,Ue,""+Me,rt)):(typeof Me=="function"&&ux(ke),c(ke,Ue))}return gn}var Zm=sN(!0),lN=sN(!1);function gq(t,r){if(t!==null&&r.child!==t.child)throw new Error("Resuming work not yet implemented.");if(r.child!==null){var c=r.child,f=Wf(c,c.pendingProps);for(r.child=f,f.return=r;c.sibling!==null;)c=c.sibling,f=f.sibling=Wf(c,c.pendingProps),f.return=r;f.sibling=null}}function bq(t,r){for(var c=t.child;c!==null;)iQ(c,r),c=c.sibling}var I1=rd(null),$1;$1={};var cx=null,Jm=null,j1=null,dx=!1;function fx(){cx=null,Jm=null,j1=null,dx=!1}function uN(){dx=!0}function cN(){dx=!1}function dN(t,r,c){Ca(I1,r._currentValue,t),r._currentValue=c,r._currentRenderer!==void 0&&r._currentRenderer!==null&&r._currentRenderer!==$1&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),r._currentRenderer=$1}function V1(t,r){var c=I1.current;wa(I1,r),t._currentValue=c}function B1(t,r,c){for(var f=t;f!==null;){var h=f.alternate;if(Mu(f.childLanes,r)?h!==null&&!Mu(h.childLanes,r)&&(h.childLanes=rn(h.childLanes,r)):(f.childLanes=rn(f.childLanes,r),h!==null&&(h.childLanes=rn(h.childLanes,r))),f===c)break;f=f.return}f!==c&&m("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Sq(t,r,c){xq(t,r,c)}function xq(t,r,c){var f=t.child;for(f!==null&&(f.return=t);f!==null;){var h=void 0,b=f.dependencies;if(b!==null){h=f.child;for(var C=b.firstContext;C!==null;){if(C.context===r){if(f.tag===S){var D=$c(c),L=Uu(cr,D);L.tag=mx;var z=f.updateQueue;if(z!==null){var Q=z.shared,ge=Q.pending;ge===null?L.next=L:(L.next=ge.next,ge.next=L),Q.pending=L}}f.lanes=rn(f.lanes,c);var ve=f.alternate;ve!==null&&(ve.lanes=rn(ve.lanes,c)),B1(f.return,c,t),b.lanes=rn(b.lanes,c);break}C=C.next}}else if(f.tag===j)h=f.type===t.type?null:f.child;else if(f.tag===K){var Ae=f.return;if(Ae===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");Ae.lanes=rn(Ae.lanes,c);var Ie=Ae.alternate;Ie!==null&&(Ie.lanes=rn(Ie.lanes,c)),B1(Ae,c,t),h=f.sibling}else h=f.child;if(h!==null)h.return=f;else for(h=f;h!==null;){if(h===t){h=null;break}var ze=h.sibling;if(ze!==null){ze.return=h.return,h=ze;break}h=h.return}f=h}}function eh(t,r){cx=t,Jm=null,j1=null;var c=t.dependencies;if(c!==null){var f=c.firstContext;f!==null&&(Sa(c.lanes,r)&&Eg(),c.firstContext=null)}}function Co(t){dx&&m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var r=t._currentValue;if(j1!==t){var c={context:t,memoizedValue:r,next:null};if(Jm===null){if(cx===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Jm=c,cx.dependencies={lanes:Qe,firstContext:c}}else Jm=Jm.next=c}return r}var If=null;function z1(t){If===null?If=[t]:If.push(t)}function wq(){if(If!==null){for(var t=0;t<If.length;t++){var r=If[t],c=r.interleaved;if(c!==null){r.interleaved=null;var f=c.next,h=r.pending;if(h!==null){var b=h.next;h.next=f,c.next=b}r.pending=c}}If=null}}function fN(t,r,c,f){var h=r.interleaved;return h===null?(c.next=c,z1(r)):(c.next=h.next,h.next=c),r.interleaved=c,px(t,f)}function Cq(t,r,c,f){var h=r.interleaved;h===null?(c.next=c,z1(r)):(c.next=h.next,h.next=c),r.interleaved=c}function Eq(t,r,c,f){var h=r.interleaved;return h===null?(c.next=c,z1(r)):(c.next=h.next,h.next=c),r.interleaved=c,px(t,f)}function bi(t,r){return px(t,r)}var Tq=px;function px(t,r){t.lanes=rn(t.lanes,r);var c=t.alternate;c!==null&&(c.lanes=rn(c.lanes,r)),c===null&&(t.flags&(hr|si))!==jt&&lF(t);for(var f=t,h=t.return;h!==null;)h.childLanes=rn(h.childLanes,r),c=h.alternate,c!==null?c.childLanes=rn(c.childLanes,r):(h.flags&(hr|si))!==jt&&lF(t),f=h,h=h.return;if(f.tag===E){var b=f.stateNode;return b}else return null}var pN=0,mN=1,mx=2,U1=3,hx=!1,H1,vx;H1=!1,vx=null;function W1(t){var r={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Qe},effects:null};t.updateQueue=r}function hN(t,r){var c=r.updateQueue,f=t.updateQueue;if(c===f){var h={baseState:f.baseState,firstBaseUpdate:f.firstBaseUpdate,lastBaseUpdate:f.lastBaseUpdate,shared:f.shared,effects:f.effects};r.updateQueue=h}}function Uu(t,r){var c={eventTime:t,lane:r,tag:pN,payload:null,callback:null,next:null};return c}function sd(t,r,c){var f=t.updateQueue;if(f===null)return null;var h=f.shared;if(vx===h&&!H1&&(m("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),H1=!0),CK()){var b=h.pending;return b===null?r.next=r:(r.next=b.next,b.next=r),h.pending=r,Tq(t,c)}else return Eq(t,h,r,c)}function yx(t,r,c){var f=r.updateQueue;if(f!==null){var h=f.shared;if(Ey(c)){var b=h.lanes;b=ym(b,t.pendingLanes);var C=rn(b,c);h.lanes=C,Ty(t,C)}}}function Y1(t,r){var c=t.updateQueue,f=t.alternate;if(f!==null){var h=f.updateQueue;if(c===h){var b=null,C=null,D=c.firstBaseUpdate;if(D!==null){var L=D;do{var z={eventTime:L.eventTime,lane:L.lane,tag:L.tag,payload:L.payload,callback:L.callback,next:null};C===null?b=C=z:(C.next=z,C=z),L=L.next}while(L!==null);C===null?b=C=r:(C.next=r,C=r)}else b=C=r;c={baseState:h.baseState,firstBaseUpdate:b,lastBaseUpdate:C,shared:h.shared,effects:h.effects},t.updateQueue=c;return}}var Q=c.lastBaseUpdate;Q===null?c.firstBaseUpdate=r:Q.next=r,c.lastBaseUpdate=r}function Rq(t,r,c,f,h,b){switch(c.tag){case mN:{var C=c.payload;if(typeof C=="function"){uN();var D=C.call(b,f,h);{if(t.mode&pn){Jr(!0);try{C.call(b,f,h)}finally{Jr(!1)}}cN()}return D}return C}case U1:t.flags=t.flags&~bo|Qt;case pN:{var L=c.payload,z;if(typeof L=="function"){uN(),z=L.call(b,f,h);{if(t.mode&pn){Jr(!0);try{L.call(b,f,h)}finally{Jr(!1)}}cN()}}else z=L;return z==null?f:ln({},f,z)}case mx:return hx=!0,f}return f}function gx(t,r,c,f){var h=t.updateQueue;hx=!1,vx=h.shared;var b=h.firstBaseUpdate,C=h.lastBaseUpdate,D=h.shared.pending;if(D!==null){h.shared.pending=null;var L=D,z=L.next;L.next=null,C===null?b=z:C.next=z,C=L;var Q=t.alternate;if(Q!==null){var ge=Q.updateQueue,ve=ge.lastBaseUpdate;ve!==C&&(ve===null?ge.firstBaseUpdate=z:ve.next=z,ge.lastBaseUpdate=L)}}if(b!==null){var Ae=h.baseState,Ie=Qe,ze=null,vt=null,Vt=null,Lt=b;do{var Rn=Lt.lane,gn=Lt.eventTime;if(Mu(f,Rn)){if(Vt!==null){var Ue={eventTime:gn,lane:eo,tag:Lt.tag,payload:Lt.payload,callback:Lt.callback,next:null};Vt=Vt.next=Ue}Ae=Rq(t,h,Lt,Ae,r,c);var Me=Lt.callback;if(Me!==null&&Lt.lane!==eo){t.flags|=cs;var rt=h.effects;rt===null?h.effects=[Lt]:rt.push(Lt)}}else{var ke={eventTime:gn,lane:Rn,tag:Lt.tag,payload:Lt.payload,callback:Lt.callback,next:null};Vt===null?(vt=Vt=ke,ze=Ae):Vt=Vt.next=ke,Ie=rn(Ie,Rn)}if(Lt=Lt.next,Lt===null){if(D=h.shared.pending,D===null)break;var wt=D,yt=wt.next;wt.next=null,Lt=yt,h.lastBaseUpdate=wt,h.shared.pending=null}}while(!0);Vt===null&&(ze=Ae),h.baseState=ze,h.firstBaseUpdate=vt,h.lastBaseUpdate=Vt;var Gt=h.shared.interleaved;if(Gt!==null){var nn=Gt;do Ie=rn(Ie,nn.lane),nn=nn.next;while(nn!==Gt)}else b===null&&(h.shared.lanes=Qe);Lg(Ie),t.lanes=Ie,t.memoizedState=Ae}vx=null}function Oq(t,r){if(typeof t!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+t));t.call(r)}function vN(){hx=!1}function bx(){return hx}function yN(t,r,c){var f=r.effects;if(r.effects=null,f!==null)for(var h=0;h<f.length;h++){var b=f[h],C=b.callback;C!==null&&(b.callback=null,Oq(C,c))}}var cg={},ld=rd(cg),dg=rd(cg),Sx=rd(cg);function xx(t){if(t===cg)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return t}function gN(){var t=xx(Sx.current);return t}function q1(t,r){Ca(Sx,r,t),Ca(dg,t,t),Ca(ld,cg,t);var c=H7(r);wa(ld,t),Ca(ld,c,t)}function th(t){wa(ld,t),wa(dg,t),wa(Sx,t)}function G1(){var t=xx(ld.current);return t}function bN(t){xx(Sx.current);var r=xx(ld.current),c=W7(r,t.type);r!==c&&(Ca(dg,t,t),Ca(ld,c,t))}function K1(t){dg.current===t&&(wa(ld,t),wa(dg,t))}var Dq=0,SN=1,xN=1,fg=2,Gs=rd(Dq);function Q1(t,r){return(t&r)!==0}function nh(t){return t&SN}function X1(t,r){return t&SN|r}function kq(t,r){return t|r}function ud(t,r){Ca(Gs,r,t)}function rh(t){wa(Gs,t)}function Mq(t,r){var c=t.memoizedState;return c!==null?c.dehydrated!==null:(t.memoizedProps,!0)}function wx(t){for(var r=t;r!==null;){if(r.tag===P){var c=r.memoizedState;if(c!==null){var f=c.dehydrated;if(f===null||$_(f)||h1(f))return r}}else if(r.tag===Z&&r.memoizedProps.revealOrder!==void 0){var h=(r.flags&Qt)!==jt;if(h)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)return null;for(;r.sibling===null;){if(r.return===null||r.return===t)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Si=0,ko=1,Wl=2,Mo=4,Jo=8,Z1=[];function J1(){for(var t=0;t<Z1.length;t++){var r=Z1[t];r._workInProgressVersionPrimary=null}Z1.length=0}function Pq(t,r){var c=r._getVersion,f=c(r._source);t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,f]:t.mutableSourceEagerHydrationData.push(r,f)}var St=o.ReactCurrentDispatcher,pg=o.ReactCurrentBatchConfig,eT,oh;eT=new Set;var $f=Qe,er=null,Po=null,_o=null,Cx=!1,mg=!1,hg=0,_q=0,Nq=25,Ge=null,bs=null,cd=-1,tT=!1;function Bn(){{var t=Ge;bs===null?bs=[t]:bs.push(t)}}function ft(){{var t=Ge;bs!==null&&(cd++,bs[cd]!==t&&Aq(t))}}function ah(t){t!=null&&!wn(t)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Ge,typeof t)}function Aq(t){{var r=Jt(er);if(!eT.has(r)&&(eT.add(r),bs!==null)){for(var c="",f=30,h=0;h<=cd;h++){for(var b=bs[h],C=h===cd?t:b,D=h+1+". "+b;D.length<f;)D+=" ";D+=C+`
|
|
259
|
+
`,c+=D}m(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
260
|
+
|
|
261
|
+
Previous render Next render
|
|
262
|
+
------------------------------------------------------
|
|
263
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
264
|
+
`,r,c)}}}function Ea(){throw new Error(`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:
|
|
265
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
266
|
+
2. You might be breaking the Rules of Hooks
|
|
267
|
+
3. You might have more than one copy of React in the same app
|
|
268
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function nT(t,r){if(tT)return!1;if(r===null)return m("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Ge),!1;t.length!==r.length&&m(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
269
|
+
|
|
270
|
+
Previous: %s
|
|
271
|
+
Incoming: %s`,Ge,"["+r.join(", ")+"]","["+t.join(", ")+"]");for(var c=0;c<r.length&&c<t.length;c++)if(!Tt(t[c],r[c]))return!1;return!0}function ih(t,r,c,f,h,b){$f=b,er=r,bs=t!==null?t._debugHookTypes:null,cd=-1,tT=t!==null&&t.type!==r.type,r.memoizedState=null,r.updateQueue=null,r.lanes=Qe,t!==null&&t.memoizedState!==null?St.current=UN:bs!==null?St.current=zN:St.current=BN;var C=c(f,h);if(mg){var D=0;do{if(mg=!1,hg=0,D>=Nq)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");D+=1,tT=!1,Po=null,_o=null,r.updateQueue=null,cd=-1,St.current=HN,C=c(f,h)}while(mg)}St.current=Lx,r._debugHookTypes=bs;var L=Po!==null&&Po.next!==null;if($f=Qe,er=null,Po=null,_o=null,Ge=null,bs=null,cd=-1,t!==null&&(t.flags&Ro)!==(r.flags&Ro)&&(t.mode&Ft)!==Pt&&m("Internal React error: Expected static flag was missing. Please notify the React team."),Cx=!1,L)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return C}function sh(){var t=hg!==0;return hg=0,t}function wN(t,r,c){r.updateQueue=t.updateQueue,(r.mode&$a)!==Pt?r.flags&=~(xu|ma|Sr|on):r.flags&=~(Sr|on),t.lanes=hf(t.lanes,c)}function CN(){if(St.current=Lx,Cx){for(var t=er.memoizedState;t!==null;){var r=t.queue;r!==null&&(r.pending=null),t=t.next}Cx=!1}$f=Qe,er=null,Po=null,_o=null,bs=null,cd=-1,Ge=null,LN=!1,mg=!1,hg=0}function Yl(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _o===null?er.memoizedState=_o=t:_o=_o.next=t,_o}function Ss(){var t;if(Po===null){var r=er.alternate;r!==null?t=r.memoizedState:t=null}else t=Po.next;var c;if(_o===null?c=er.memoizedState:c=_o.next,c!==null)_o=c,c=_o.next,Po=t;else{if(t===null)throw new Error("Rendered more hooks than during the previous render.");Po=t;var f={memoizedState:Po.memoizedState,baseState:Po.baseState,baseQueue:Po.baseQueue,queue:Po.queue,next:null};_o===null?er.memoizedState=_o=f:_o=_o.next=f}return _o}function EN(){return{lastEffect:null,stores:null}}function rT(t,r){return typeof r=="function"?r(t):r}function oT(t,r,c){var f=Yl(),h;c!==void 0?h=c(r):h=r,f.memoizedState=f.baseState=h;var b={pending:null,interleaved:null,lanes:Qe,dispatch:null,lastRenderedReducer:t,lastRenderedState:h};f.queue=b;var C=b.dispatch=$q.bind(null,er,b);return[f.memoizedState,C]}function aT(t,r,c){var f=Ss(),h=f.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=t;var b=Po,C=b.baseQueue,D=h.pending;if(D!==null){if(C!==null){var L=C.next,z=D.next;C.next=z,D.next=L}b.baseQueue!==C&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),b.baseQueue=C=D,h.pending=null}if(C!==null){var Q=C.next,ge=b.baseState,ve=null,Ae=null,Ie=null,ze=Q;do{var vt=ze.lane;if(Mu($f,vt)){if(Ie!==null){var Lt={lane:eo,action:ze.action,hasEagerState:ze.hasEagerState,eagerState:ze.eagerState,next:null};Ie=Ie.next=Lt}if(ze.hasEagerState)ge=ze.eagerState;else{var Rn=ze.action;ge=t(ge,Rn)}}else{var Vt={lane:vt,action:ze.action,hasEagerState:ze.hasEagerState,eagerState:ze.eagerState,next:null};Ie===null?(Ae=Ie=Vt,ve=ge):Ie=Ie.next=Vt,er.lanes=rn(er.lanes,vt),Lg(vt)}ze=ze.next}while(ze!==null&&ze!==Q);Ie===null?ve=ge:Ie.next=Ae,Tt(ge,f.memoizedState)||Eg(),f.memoizedState=ge,f.baseState=ve,f.baseQueue=Ie,h.lastRenderedState=ge}var gn=h.interleaved;if(gn!==null){var ke=gn;do{var Ue=ke.lane;er.lanes=rn(er.lanes,Ue),Lg(Ue),ke=ke.next}while(ke!==gn)}else C===null&&(h.lanes=Qe);var Me=h.dispatch;return[f.memoizedState,Me]}function iT(t,r,c){var f=Ss(),h=f.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=t;var b=h.dispatch,C=h.pending,D=f.memoizedState;if(C!==null){h.pending=null;var L=C.next,z=L;do{var Q=z.action;D=t(D,Q),z=z.next}while(z!==L);Tt(D,f.memoizedState)||Eg(),f.memoizedState=D,f.baseQueue===null&&(f.baseState=D),h.lastRenderedState=D}return[D,b]}function tX(t,r,c){}function nX(t,r,c){}function sT(t,r,c){var f=er,h=Yl(),b,C=Zo();if(C){if(c===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");b=c(),oh||b!==c()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),oh=!0)}else{if(b=r(),!oh){var D=r();Tt(b,D)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),oh=!0)}var L=tw();if(L===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");mf(L,$f)||TN(f,r,b)}h.memoizedState=b;var z={value:b,getSnapshot:r};return h.queue=z,Dx(ON.bind(null,f,z,t),[t]),f.flags|=Sr,vg(ko|Jo,RN.bind(null,f,z,b,r),void 0,null),b}function Ex(t,r,c){var f=er,h=Ss(),b=r();if(!oh){var C=r();Tt(b,C)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),oh=!0)}var D=h.memoizedState,L=!Tt(D,b);L&&(h.memoizedState=b,Eg());var z=h.queue;if(gg(ON.bind(null,f,z,t),[t]),z.getSnapshot!==r||L||_o!==null&&_o.memoizedState.tag&ko){f.flags|=Sr,vg(ko|Jo,RN.bind(null,f,z,b,r),void 0,null);var Q=tw();if(Q===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");mf(Q,$f)||TN(f,r,b)}return b}function TN(t,r,c){t.flags|=rf;var f={getSnapshot:r,value:c},h=er.updateQueue;if(h===null)h=EN(),er.updateQueue=h,h.stores=[f];else{var b=h.stores;b===null?h.stores=[f]:b.push(f)}}function RN(t,r,c,f){r.value=c,r.getSnapshot=f,DN(r)&&kN(t)}function ON(t,r,c){var f=function(){DN(r)&&kN(t)};return c(f)}function DN(t){var r=t.getSnapshot,c=t.value;try{var f=r();return!Tt(c,f)}catch{return!0}}function kN(t){var r=bi(t,It);r!==null&&Lo(r,t,It,cr)}function Tx(t){var r=Yl();typeof t=="function"&&(t=t()),r.memoizedState=r.baseState=t;var c={pending:null,interleaved:null,lanes:Qe,dispatch:null,lastRenderedReducer:rT,lastRenderedState:t};r.queue=c;var f=c.dispatch=jq.bind(null,er,c);return[r.memoizedState,f]}function lT(t){return aT(rT)}function uT(t){return iT(rT)}function vg(t,r,c,f){var h={tag:t,create:r,destroy:c,deps:f,next:null},b=er.updateQueue;if(b===null)b=EN(),er.updateQueue=b,b.lastEffect=h.next=h;else{var C=b.lastEffect;if(C===null)b.lastEffect=h.next=h;else{var D=C.next;C.next=h,h.next=D,b.lastEffect=h}}return h}function cT(t){var r=Yl();{var c={current:t};return r.memoizedState=c,c}}function Rx(t){var r=Ss();return r.memoizedState}function yg(t,r,c,f){var h=Yl(),b=f===void 0?null:f;er.flags|=t,h.memoizedState=vg(ko|r,c,void 0,b)}function Ox(t,r,c,f){var h=Ss(),b=f===void 0?null:f,C=void 0;if(Po!==null){var D=Po.memoizedState;if(C=D.destroy,b!==null){var L=D.deps;if(nT(b,L)){h.memoizedState=vg(r,c,C,b);return}}}er.flags|=t,h.memoizedState=vg(ko|r,c,C,b)}function Dx(t,r){return(er.mode&$a)!==Pt?yg(xu|Sr|Nl,Jo,t,r):yg(Sr|Nl,Jo,t,r)}function gg(t,r){return Ox(Sr,Jo,t,r)}function dT(t,r){return yg(on,Wl,t,r)}function kx(t,r){return Ox(on,Wl,t,r)}function fT(t,r){var c=on;return c|=pa,(er.mode&$a)!==Pt&&(c|=ma),yg(c,Mo,t,r)}function Mx(t,r){return Ox(on,Mo,t,r)}function MN(t,r){if(typeof r=="function"){var c=r,f=t();return c(f),function(){c(null)}}else if(r!=null){var h=r;h.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(h).join(", ")+"}");var b=t();return h.current=b,function(){h.current=null}}}function pT(t,r,c){typeof r!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",r!==null?typeof r:"null");var f=c!=null?c.concat([t]):null,h=on;return h|=pa,(er.mode&$a)!==Pt&&(h|=ma),yg(h,Mo,MN.bind(null,r,t),f)}function Px(t,r,c){typeof r!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",r!==null?typeof r:"null");var f=c!=null?c.concat([t]):null;return Ox(on,Mo,MN.bind(null,r,t),f)}function Fq(t,r){}var _x=Fq;function mT(t,r){var c=Yl(),f=r===void 0?null:r;return c.memoizedState=[t,f],t}function Nx(t,r){var c=Ss(),f=r===void 0?null:r,h=c.memoizedState;if(h!==null&&f!==null){var b=h[1];if(nT(f,b))return h[0]}return c.memoizedState=[t,f],t}function hT(t,r){var c=Yl(),f=r===void 0?null:r,h=t();return c.memoizedState=[h,f],h}function Ax(t,r){var c=Ss(),f=r===void 0?null:r,h=c.memoizedState;if(h!==null&&f!==null){var b=h[1];if(nT(f,b))return h[0]}var C=t();return c.memoizedState=[C,f],C}function vT(t){var r=Yl();return r.memoizedState=t,t}function PN(t){var r=Ss(),c=Po,f=c.memoizedState;return NN(r,f,t)}function _N(t){var r=Ss();if(Po===null)return r.memoizedState=t,t;var c=Po.memoizedState;return NN(r,c,t)}function NN(t,r,c){var f=!cS($f);if(f){if(!Tt(c,r)){var h=pS();er.lanes=rn(er.lanes,h),Lg(h),t.baseState=!0}return r}else return t.baseState&&(t.baseState=!1,Eg()),t.memoizedState=c,c}function Lq(t,r,c){var f=pi();_r(LE(f,Bs)),t(!0);var h=pg.transition;pg.transition={};var b=pg.transition;pg.transition._updatedFibers=new Set;try{t(!1),r()}finally{if(_r(f),pg.transition=h,h===null&&b._updatedFibers){var C=b._updatedFibers.size;C>10&&d("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),b._updatedFibers.clear()}}}function yT(){var t=Tx(!1),r=t[0],c=t[1],f=Lq.bind(null,c),h=Yl();return h.memoizedState=f,[r,f]}function AN(){var t=lT(),r=t[0],c=Ss(),f=c.memoizedState;return[r,f]}function FN(){var t=uT(),r=t[0],c=Ss(),f=c.memoizedState;return[r,f]}var LN=!1;function Iq(){return LN}function gT(){var t=Yl(),r=tw(),c=r.identifierPrefix,f;if(Zo()){var h=eq();f=":"+c+"R"+h;var b=hg++;b>0&&(f+="H"+b.toString(32)),f+=":"}else{var C=_q++;f=":"+c+"r"+C.toString(32)+":"}return t.memoizedState=f,f}function Fx(){var t=Ss(),r=t.memoizedState;return r}function $q(t,r,c){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var f=hd(t),h={lane:f,action:c,hasEagerState:!1,eagerState:null,next:null};if(IN(t))$N(r,h);else{var b=fN(t,r,h,f);if(b!==null){var C=za();Lo(b,t,f,C),jN(b,r,f)}}VN(t,f)}function jq(t,r,c){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var f=hd(t),h={lane:f,action:c,hasEagerState:!1,eagerState:null,next:null};if(IN(t))$N(r,h);else{var b=t.alternate;if(t.lanes===Qe&&(b===null||b.lanes===Qe)){var C=r.lastRenderedReducer;if(C!==null){var D;D=St.current,St.current=Ks;try{var L=r.lastRenderedState,z=C(L,c);if(h.hasEagerState=!0,h.eagerState=z,Tt(z,L)){Cq(t,r,h,f);return}}catch{}finally{St.current=D}}}var Q=fN(t,r,h,f);if(Q!==null){var ge=za();Lo(Q,t,f,ge),jN(Q,r,f)}}VN(t,f)}function IN(t){var r=t.alternate;return t===er||r!==null&&r===er}function $N(t,r){mg=Cx=!0;var c=t.pending;c===null?r.next=r:(r.next=c.next,c.next=r),t.pending=r}function jN(t,r,c){if(Ey(c)){var f=r.lanes;f=ym(f,t.pendingLanes);var h=rn(f,c);r.lanes=h,Ty(t,h)}}function VN(t,r,c){lf(t,r)}var Lx={readContext:Co,useCallback:Ea,useContext:Ea,useEffect:Ea,useImperativeHandle:Ea,useInsertionEffect:Ea,useLayoutEffect:Ea,useMemo:Ea,useReducer:Ea,useRef:Ea,useState:Ea,useDebugValue:Ea,useDeferredValue:Ea,useTransition:Ea,useMutableSource:Ea,useSyncExternalStore:Ea,useId:Ea,unstable_isNewReconciler:ae},BN=null,zN=null,UN=null,HN=null,ql=null,Ks=null,Ix=null;{var bT=function(){m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},en=function(){m("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};BN={readContext:function(t){return Co(t)},useCallback:function(t,r){return Ge="useCallback",Bn(),ah(r),mT(t,r)},useContext:function(t){return Ge="useContext",Bn(),Co(t)},useEffect:function(t,r){return Ge="useEffect",Bn(),ah(r),Dx(t,r)},useImperativeHandle:function(t,r,c){return Ge="useImperativeHandle",Bn(),ah(c),pT(t,r,c)},useInsertionEffect:function(t,r){return Ge="useInsertionEffect",Bn(),ah(r),dT(t,r)},useLayoutEffect:function(t,r){return Ge="useLayoutEffect",Bn(),ah(r),fT(t,r)},useMemo:function(t,r){Ge="useMemo",Bn(),ah(r);var c=St.current;St.current=ql;try{return hT(t,r)}finally{St.current=c}},useReducer:function(t,r,c){Ge="useReducer",Bn();var f=St.current;St.current=ql;try{return oT(t,r,c)}finally{St.current=f}},useRef:function(t){return Ge="useRef",Bn(),cT(t)},useState:function(t){Ge="useState",Bn();var r=St.current;St.current=ql;try{return Tx(t)}finally{St.current=r}},useDebugValue:function(t,r){return Ge="useDebugValue",Bn(),void 0},useDeferredValue:function(t){return Ge="useDeferredValue",Bn(),vT(t)},useTransition:function(){return Ge="useTransition",Bn(),yT()},useMutableSource:function(t,r,c){return Ge="useMutableSource",Bn(),void 0},useSyncExternalStore:function(t,r,c){return Ge="useSyncExternalStore",Bn(),sT(t,r,c)},useId:function(){return Ge="useId",Bn(),gT()},unstable_isNewReconciler:ae},zN={readContext:function(t){return Co(t)},useCallback:function(t,r){return Ge="useCallback",ft(),mT(t,r)},useContext:function(t){return Ge="useContext",ft(),Co(t)},useEffect:function(t,r){return Ge="useEffect",ft(),Dx(t,r)},useImperativeHandle:function(t,r,c){return Ge="useImperativeHandle",ft(),pT(t,r,c)},useInsertionEffect:function(t,r){return Ge="useInsertionEffect",ft(),dT(t,r)},useLayoutEffect:function(t,r){return Ge="useLayoutEffect",ft(),fT(t,r)},useMemo:function(t,r){Ge="useMemo",ft();var c=St.current;St.current=ql;try{return hT(t,r)}finally{St.current=c}},useReducer:function(t,r,c){Ge="useReducer",ft();var f=St.current;St.current=ql;try{return oT(t,r,c)}finally{St.current=f}},useRef:function(t){return Ge="useRef",ft(),cT(t)},useState:function(t){Ge="useState",ft();var r=St.current;St.current=ql;try{return Tx(t)}finally{St.current=r}},useDebugValue:function(t,r){return Ge="useDebugValue",ft(),void 0},useDeferredValue:function(t){return Ge="useDeferredValue",ft(),vT(t)},useTransition:function(){return Ge="useTransition",ft(),yT()},useMutableSource:function(t,r,c){return Ge="useMutableSource",ft(),void 0},useSyncExternalStore:function(t,r,c){return Ge="useSyncExternalStore",ft(),sT(t,r,c)},useId:function(){return Ge="useId",ft(),gT()},unstable_isNewReconciler:ae},UN={readContext:function(t){return Co(t)},useCallback:function(t,r){return Ge="useCallback",ft(),Nx(t,r)},useContext:function(t){return Ge="useContext",ft(),Co(t)},useEffect:function(t,r){return Ge="useEffect",ft(),gg(t,r)},useImperativeHandle:function(t,r,c){return Ge="useImperativeHandle",ft(),Px(t,r,c)},useInsertionEffect:function(t,r){return Ge="useInsertionEffect",ft(),kx(t,r)},useLayoutEffect:function(t,r){return Ge="useLayoutEffect",ft(),Mx(t,r)},useMemo:function(t,r){Ge="useMemo",ft();var c=St.current;St.current=Ks;try{return Ax(t,r)}finally{St.current=c}},useReducer:function(t,r,c){Ge="useReducer",ft();var f=St.current;St.current=Ks;try{return aT(t,r,c)}finally{St.current=f}},useRef:function(t){return Ge="useRef",ft(),Rx()},useState:function(t){Ge="useState",ft();var r=St.current;St.current=Ks;try{return lT(t)}finally{St.current=r}},useDebugValue:function(t,r){return Ge="useDebugValue",ft(),_x()},useDeferredValue:function(t){return Ge="useDeferredValue",ft(),PN(t)},useTransition:function(){return Ge="useTransition",ft(),AN()},useMutableSource:function(t,r,c){return Ge="useMutableSource",ft(),void 0},useSyncExternalStore:function(t,r,c){return Ge="useSyncExternalStore",ft(),Ex(t,r)},useId:function(){return Ge="useId",ft(),Fx()},unstable_isNewReconciler:ae},HN={readContext:function(t){return Co(t)},useCallback:function(t,r){return Ge="useCallback",ft(),Nx(t,r)},useContext:function(t){return Ge="useContext",ft(),Co(t)},useEffect:function(t,r){return Ge="useEffect",ft(),gg(t,r)},useImperativeHandle:function(t,r,c){return Ge="useImperativeHandle",ft(),Px(t,r,c)},useInsertionEffect:function(t,r){return Ge="useInsertionEffect",ft(),kx(t,r)},useLayoutEffect:function(t,r){return Ge="useLayoutEffect",ft(),Mx(t,r)},useMemo:function(t,r){Ge="useMemo",ft();var c=St.current;St.current=Ix;try{return Ax(t,r)}finally{St.current=c}},useReducer:function(t,r,c){Ge="useReducer",ft();var f=St.current;St.current=Ix;try{return iT(t,r,c)}finally{St.current=f}},useRef:function(t){return Ge="useRef",ft(),Rx()},useState:function(t){Ge="useState",ft();var r=St.current;St.current=Ix;try{return uT(t)}finally{St.current=r}},useDebugValue:function(t,r){return Ge="useDebugValue",ft(),_x()},useDeferredValue:function(t){return Ge="useDeferredValue",ft(),_N(t)},useTransition:function(){return Ge="useTransition",ft(),FN()},useMutableSource:function(t,r,c){return Ge="useMutableSource",ft(),void 0},useSyncExternalStore:function(t,r,c){return Ge="useSyncExternalStore",ft(),Ex(t,r)},useId:function(){return Ge="useId",ft(),Fx()},unstable_isNewReconciler:ae},ql={readContext:function(t){return bT(),Co(t)},useCallback:function(t,r){return Ge="useCallback",en(),Bn(),mT(t,r)},useContext:function(t){return Ge="useContext",en(),Bn(),Co(t)},useEffect:function(t,r){return Ge="useEffect",en(),Bn(),Dx(t,r)},useImperativeHandle:function(t,r,c){return Ge="useImperativeHandle",en(),Bn(),pT(t,r,c)},useInsertionEffect:function(t,r){return Ge="useInsertionEffect",en(),Bn(),dT(t,r)},useLayoutEffect:function(t,r){return Ge="useLayoutEffect",en(),Bn(),fT(t,r)},useMemo:function(t,r){Ge="useMemo",en(),Bn();var c=St.current;St.current=ql;try{return hT(t,r)}finally{St.current=c}},useReducer:function(t,r,c){Ge="useReducer",en(),Bn();var f=St.current;St.current=ql;try{return oT(t,r,c)}finally{St.current=f}},useRef:function(t){return Ge="useRef",en(),Bn(),cT(t)},useState:function(t){Ge="useState",en(),Bn();var r=St.current;St.current=ql;try{return Tx(t)}finally{St.current=r}},useDebugValue:function(t,r){return Ge="useDebugValue",en(),Bn(),void 0},useDeferredValue:function(t){return Ge="useDeferredValue",en(),Bn(),vT(t)},useTransition:function(){return Ge="useTransition",en(),Bn(),yT()},useMutableSource:function(t,r,c){return Ge="useMutableSource",en(),Bn(),void 0},useSyncExternalStore:function(t,r,c){return Ge="useSyncExternalStore",en(),Bn(),sT(t,r,c)},useId:function(){return Ge="useId",en(),Bn(),gT()},unstable_isNewReconciler:ae},Ks={readContext:function(t){return bT(),Co(t)},useCallback:function(t,r){return Ge="useCallback",en(),ft(),Nx(t,r)},useContext:function(t){return Ge="useContext",en(),ft(),Co(t)},useEffect:function(t,r){return Ge="useEffect",en(),ft(),gg(t,r)},useImperativeHandle:function(t,r,c){return Ge="useImperativeHandle",en(),ft(),Px(t,r,c)},useInsertionEffect:function(t,r){return Ge="useInsertionEffect",en(),ft(),kx(t,r)},useLayoutEffect:function(t,r){return Ge="useLayoutEffect",en(),ft(),Mx(t,r)},useMemo:function(t,r){Ge="useMemo",en(),ft();var c=St.current;St.current=Ks;try{return Ax(t,r)}finally{St.current=c}},useReducer:function(t,r,c){Ge="useReducer",en(),ft();var f=St.current;St.current=Ks;try{return aT(t,r,c)}finally{St.current=f}},useRef:function(t){return Ge="useRef",en(),ft(),Rx()},useState:function(t){Ge="useState",en(),ft();var r=St.current;St.current=Ks;try{return lT(t)}finally{St.current=r}},useDebugValue:function(t,r){return Ge="useDebugValue",en(),ft(),_x()},useDeferredValue:function(t){return Ge="useDeferredValue",en(),ft(),PN(t)},useTransition:function(){return Ge="useTransition",en(),ft(),AN()},useMutableSource:function(t,r,c){return Ge="useMutableSource",en(),ft(),void 0},useSyncExternalStore:function(t,r,c){return Ge="useSyncExternalStore",en(),ft(),Ex(t,r)},useId:function(){return Ge="useId",en(),ft(),Fx()},unstable_isNewReconciler:ae},Ix={readContext:function(t){return bT(),Co(t)},useCallback:function(t,r){return Ge="useCallback",en(),ft(),Nx(t,r)},useContext:function(t){return Ge="useContext",en(),ft(),Co(t)},useEffect:function(t,r){return Ge="useEffect",en(),ft(),gg(t,r)},useImperativeHandle:function(t,r,c){return Ge="useImperativeHandle",en(),ft(),Px(t,r,c)},useInsertionEffect:function(t,r){return Ge="useInsertionEffect",en(),ft(),kx(t,r)},useLayoutEffect:function(t,r){return Ge="useLayoutEffect",en(),ft(),Mx(t,r)},useMemo:function(t,r){Ge="useMemo",en(),ft();var c=St.current;St.current=Ks;try{return Ax(t,r)}finally{St.current=c}},useReducer:function(t,r,c){Ge="useReducer",en(),ft();var f=St.current;St.current=Ks;try{return iT(t,r,c)}finally{St.current=f}},useRef:function(t){return Ge="useRef",en(),ft(),Rx()},useState:function(t){Ge="useState",en(),ft();var r=St.current;St.current=Ks;try{return uT(t)}finally{St.current=r}},useDebugValue:function(t,r){return Ge="useDebugValue",en(),ft(),_x()},useDeferredValue:function(t){return Ge="useDeferredValue",en(),ft(),_N(t)},useTransition:function(){return Ge="useTransition",en(),ft(),FN()},useMutableSource:function(t,r,c){return Ge="useMutableSource",en(),ft(),void 0},useSyncExternalStore:function(t,r,c){return Ge="useSyncExternalStore",en(),ft(),Ex(t,r)},useId:function(){return Ge="useId",en(),ft(),Fx()},unstable_isNewReconciler:ae}}var dd=n.unstable_now,WN=0,$x=-1,bg=-1,jx=-1,ST=!1,Vx=!1;function YN(){return ST}function Vq(){Vx=!0}function Bq(){ST=!1,Vx=!1}function zq(){ST=Vx,Vx=!1}function qN(){return WN}function GN(){WN=dd()}function xT(t){bg=dd(),t.actualStartTime<0&&(t.actualStartTime=dd())}function KN(t){bg=-1}function Bx(t,r){if(bg>=0){var c=dd()-bg;t.actualDuration+=c,r&&(t.selfBaseDuration=c),bg=-1}}function Gl(t){if($x>=0){var r=dd()-$x;$x=-1;for(var c=t.return;c!==null;){switch(c.tag){case E:var f=c.stateNode;f.effectDuration+=r;return;case $:var h=c.stateNode;h.effectDuration+=r;return}c=c.return}}}function wT(t){if(jx>=0){var r=dd()-jx;jx=-1;for(var c=t.return;c!==null;){switch(c.tag){case E:var f=c.stateNode;f!==null&&(f.passiveEffectDuration+=r);return;case $:var h=c.stateNode;h!==null&&(h.passiveEffectDuration+=r);return}c=c.return}}}function Kl(){$x=dd()}function CT(){jx=dd()}function ET(t){for(var r=t.child;r;)t.actualDuration+=r.actualDuration,r=r.sibling}function Qs(t,r){if(t&&t.defaultProps){var c=ln({},r),f=t.defaultProps;for(var h in f)c[h]===void 0&&(c[h]=f[h]);return c}return r}var TT={},RT,OT,DT,kT,MT,QN,zx,PT,_T,NT,Sg;{RT=new Set,OT=new Set,DT=new Set,kT=new Set,PT=new Set,MT=new Set,_T=new Set,NT=new Set,Sg=new Set;var XN=new Set;zx=function(t,r){if(!(t===null||typeof t=="function")){var c=r+"_"+t;XN.has(c)||(XN.add(c),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r,t))}},QN=function(t,r){if(r===void 0){var c=xn(t)||"Component";MT.has(c)||(MT.add(c),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",c))}},Object.defineProperty(TT,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(TT)}function AT(t,r,c,f){var h=t.memoizedState,b=c(f,h);{if(t.mode&pn){Jr(!0);try{b=c(f,h)}finally{Jr(!1)}}QN(r,b)}var C=b==null?h:ln({},h,b);if(t.memoizedState=C,t.lanes===Qe){var D=t.updateQueue;D.baseState=C}}var FT={isMounted:La,enqueueSetState:function(t,r,c){var f=ai(t),h=za(),b=hd(f),C=Uu(h,b);C.payload=r,c!=null&&(zx(c,"setState"),C.callback=c);var D=sd(f,C,b);D!==null&&(Lo(D,f,b,h),yx(D,f,b)),lf(f,b)},enqueueReplaceState:function(t,r,c){var f=ai(t),h=za(),b=hd(f),C=Uu(h,b);C.tag=mN,C.payload=r,c!=null&&(zx(c,"replaceState"),C.callback=c);var D=sd(f,C,b);D!==null&&(Lo(D,f,b,h),yx(D,f,b)),lf(f,b)},enqueueForceUpdate:function(t,r){var c=ai(t),f=za(),h=hd(c),b=Uu(f,h);b.tag=mx,r!=null&&(zx(r,"forceUpdate"),b.callback=r);var C=sd(c,b,h);C!==null&&(Lo(C,c,h,f),yx(C,c,h)),em(c,h)}};function ZN(t,r,c,f,h,b,C){var D=t.stateNode;if(typeof D.shouldComponentUpdate=="function"){var L=D.shouldComponentUpdate(f,b,C);{if(t.mode&pn){Jr(!0);try{L=D.shouldComponentUpdate(f,b,C)}finally{Jr(!1)}}L===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",xn(r)||"Component")}return L}return r.prototype&&r.prototype.isPureReactComponent?!Yt(c,f)||!Yt(h,b):!0}function Uq(t,r,c){var f=t.stateNode;{var h=xn(r)||"Component",b=f.render;b||(r.prototype&&typeof r.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",h):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",h)),f.getInitialState&&!f.getInitialState.isReactClassApproved&&!f.state&&m("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",h),f.getDefaultProps&&!f.getDefaultProps.isReactClassApproved&&m("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",h),f.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",h),f.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),r.childContextTypes&&!Sg.has(r)&&(t.mode&pn)===Pt&&(Sg.add(r),m(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
272
|
+
|
|
273
|
+
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,h)),r.contextTypes&&!Sg.has(r)&&(t.mode&pn)===Pt&&(Sg.add(r),m(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
274
|
+
|
|
275
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,h)),f.contextTypes&&m("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",h),r.contextType&&r.contextTypes&&!_T.has(r)&&(_T.add(r),m("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",h)),typeof f.componentShouldUpdate=="function"&&m("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",h),r.prototype&&r.prototype.isPureReactComponent&&typeof f.shouldComponentUpdate<"u"&&m("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",xn(r)||"A pure component"),typeof f.componentDidUnmount=="function"&&m("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",h),typeof f.componentDidReceiveProps=="function"&&m("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",h),typeof f.componentWillRecieveProps=="function"&&m("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",h),typeof f.UNSAFE_componentWillRecieveProps=="function"&&m("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",h);var C=f.props!==c;f.props!==void 0&&C&&m("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",h,h),f.defaultProps&&m("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",h,h),typeof f.getSnapshotBeforeUpdate=="function"&&typeof f.componentDidUpdate!="function"&&!DT.has(r)&&(DT.add(r),m("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",xn(r))),typeof f.getDerivedStateFromProps=="function"&&m("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof f.getDerivedStateFromError=="function"&&m("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof r.getSnapshotBeforeUpdate=="function"&&m("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",h);var D=f.state;D&&(typeof D!="object"||wn(D))&&m("%s.state: must be set to an object or null",h),typeof f.getChildContext=="function"&&typeof r.childContextTypes!="object"&&m("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",h)}}function JN(t,r){r.updater=FT,t.stateNode=r,Ec(r,t),r._reactInternalInstance=TT}function eA(t,r,c){var f=!1,h=Vi,b=Vi,C=r.contextType;if("contextType"in r){var D=C===null||C!==void 0&&C.$$typeof===Ze&&C._context===void 0;if(!D&&!NT.has(r)){NT.add(r);var L="";C===void 0?L=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof C!="object"?L=" However, it is set to a "+typeof C+".":C.$$typeof===de?L=" Did you accidentally pass the Context.Provider instead?":C._context!==void 0?L=" Did you accidentally pass the Context.Consumer instead?":L=" However, it is set to an object with keys {"+Object.keys(C).join(", ")+"}.",m("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",xn(r)||"Component",L)}}if(typeof C=="object"&&C!==null)b=Co(C);else{h=qm(t,r,!0);var z=r.contextTypes;f=z!=null,b=f?Gm(t,h):Vi}var Q=new r(c,b);if(t.mode&pn){Jr(!0);try{Q=new r(c,b)}finally{Jr(!1)}}var ge=t.memoizedState=Q.state!==null&&Q.state!==void 0?Q.state:null;JN(t,Q);{if(typeof r.getDerivedStateFromProps=="function"&&ge===null){var ve=xn(r)||"Component";OT.has(ve)||(OT.add(ve),m("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",ve,Q.state===null?"null":"undefined",ve))}if(typeof r.getDerivedStateFromProps=="function"||typeof Q.getSnapshotBeforeUpdate=="function"){var Ae=null,Ie=null,ze=null;if(typeof Q.componentWillMount=="function"&&Q.componentWillMount.__suppressDeprecationWarning!==!0?Ae="componentWillMount":typeof Q.UNSAFE_componentWillMount=="function"&&(Ae="UNSAFE_componentWillMount"),typeof Q.componentWillReceiveProps=="function"&&Q.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Ie="componentWillReceiveProps":typeof Q.UNSAFE_componentWillReceiveProps=="function"&&(Ie="UNSAFE_componentWillReceiveProps"),typeof Q.componentWillUpdate=="function"&&Q.componentWillUpdate.__suppressDeprecationWarning!==!0?ze="componentWillUpdate":typeof Q.UNSAFE_componentWillUpdate=="function"&&(ze="UNSAFE_componentWillUpdate"),Ae!==null||Ie!==null||ze!==null){var vt=xn(r)||"Component",Vt=typeof r.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";kT.has(vt)||(kT.add(vt),m(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
276
|
+
|
|
277
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
278
|
+
|
|
279
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
280
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,vt,Vt,Ae!==null?`
|
|
281
|
+
`+Ae:"",Ie!==null?`
|
|
282
|
+
`+Ie:"",ze!==null?`
|
|
283
|
+
`+ze:""))}}}return f&&U_(t,h,b),Q}function Hq(t,r){var c=r.state;typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),c!==r.state&&(m("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Jt(t)||"Component"),FT.enqueueReplaceState(r,r.state,null))}function tA(t,r,c,f){var h=r.state;if(typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(c,f),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(c,f),r.state!==h){{var b=Jt(t)||"Component";RT.has(b)||(RT.add(b),m("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",b))}FT.enqueueReplaceState(r,r.state,null)}}function LT(t,r,c,f){Uq(t,r,c);var h=t.stateNode;h.props=c,h.state=t.memoizedState,h.refs={},W1(t);var b=r.contextType;if(typeof b=="object"&&b!==null)h.context=Co(b);else{var C=qm(t,r,!0);h.context=Gm(t,C)}{if(h.state===c){var D=xn(r)||"Component";PT.has(D)||(PT.add(D),m("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",D))}t.mode&pn&&qs.recordLegacyContextWarning(t,h),qs.recordUnsafeLifecycleWarnings(t,h)}h.state=t.memoizedState;var L=r.getDerivedStateFromProps;if(typeof L=="function"&&(AT(t,r,L,c),h.state=t.memoizedState),typeof r.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function")&&(Hq(t,h),gx(t,c,h,f),h.state=t.memoizedState),typeof h.componentDidMount=="function"){var z=on;z|=pa,(t.mode&$a)!==Pt&&(z|=ma),t.flags|=z}}function Wq(t,r,c,f){var h=t.stateNode,b=t.memoizedProps;h.props=b;var C=h.context,D=r.contextType,L=Vi;if(typeof D=="object"&&D!==null)L=Co(D);else{var z=qm(t,r,!0);L=Gm(t,z)}var Q=r.getDerivedStateFromProps,ge=typeof Q=="function"||typeof h.getSnapshotBeforeUpdate=="function";!ge&&(typeof h.UNSAFE_componentWillReceiveProps=="function"||typeof h.componentWillReceiveProps=="function")&&(b!==c||C!==L)&&tA(t,h,c,L),vN();var ve=t.memoizedState,Ae=h.state=ve;if(gx(t,c,h,f),Ae=t.memoizedState,b===c&&ve===Ae&&!JS()&&!bx()){if(typeof h.componentDidMount=="function"){var Ie=on;Ie|=pa,(t.mode&$a)!==Pt&&(Ie|=ma),t.flags|=Ie}return!1}typeof Q=="function"&&(AT(t,r,Q,c),Ae=t.memoizedState);var ze=bx()||ZN(t,r,b,c,ve,Ae,L);if(ze){if(!ge&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function")&&(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"){var vt=on;vt|=pa,(t.mode&$a)!==Pt&&(vt|=ma),t.flags|=vt}}else{if(typeof h.componentDidMount=="function"){var Vt=on;Vt|=pa,(t.mode&$a)!==Pt&&(Vt|=ma),t.flags|=Vt}t.memoizedProps=c,t.memoizedState=Ae}return h.props=c,h.state=Ae,h.context=L,ze}function Yq(t,r,c,f,h){var b=r.stateNode;hN(t,r);var C=r.memoizedProps,D=r.type===r.elementType?C:Qs(r.type,C);b.props=D;var L=r.pendingProps,z=b.context,Q=c.contextType,ge=Vi;if(typeof Q=="object"&&Q!==null)ge=Co(Q);else{var ve=qm(r,c,!0);ge=Gm(r,ve)}var Ae=c.getDerivedStateFromProps,Ie=typeof Ae=="function"||typeof b.getSnapshotBeforeUpdate=="function";!Ie&&(typeof b.UNSAFE_componentWillReceiveProps=="function"||typeof b.componentWillReceiveProps=="function")&&(C!==L||z!==ge)&&tA(r,b,f,ge),vN();var ze=r.memoizedState,vt=b.state=ze;if(gx(r,f,b,h),vt=r.memoizedState,C===L&&ze===vt&&!JS()&&!bx()&&!xe)return typeof b.componentDidUpdate=="function"&&(C!==t.memoizedProps||ze!==t.memoizedState)&&(r.flags|=on),typeof b.getSnapshotBeforeUpdate=="function"&&(C!==t.memoizedProps||ze!==t.memoizedState)&&(r.flags|=ii),!1;typeof Ae=="function"&&(AT(r,c,Ae,f),vt=r.memoizedState);var Vt=bx()||ZN(r,c,D,f,ze,vt,ge)||xe;return Vt?(!Ie&&(typeof b.UNSAFE_componentWillUpdate=="function"||typeof b.componentWillUpdate=="function")&&(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(f,vt,ge),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(f,vt,ge)),typeof b.componentDidUpdate=="function"&&(r.flags|=on),typeof b.getSnapshotBeforeUpdate=="function"&&(r.flags|=ii)):(typeof b.componentDidUpdate=="function"&&(C!==t.memoizedProps||ze!==t.memoizedState)&&(r.flags|=on),typeof b.getSnapshotBeforeUpdate=="function"&&(C!==t.memoizedProps||ze!==t.memoizedState)&&(r.flags|=ii),r.memoizedProps=f,r.memoizedState=vt),b.props=f,b.state=vt,b.context=ge,Vt}function jf(t,r){return{value:t,source:r,stack:dc(r),digest:null}}function IT(t,r,c){return{value:t,source:null,stack:c??null,digest:r??null}}function qq(t,r){return!0}function $T(t,r){try{var c=qq(t,r);if(c===!1)return;var f=r.value,h=r.source,b=r.stack,C=b!==null?b:"";if(f!=null&&f._suppressLogging){if(t.tag===S)return;console.error(f)}var D=h?Jt(h):null,L=D?"The above error occurred in the <"+D+"> component:":"The above error occurred in one of your React components:",z;if(t.tag===E)z=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
284
|
+
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var Q=Jt(t)||"Anonymous";z="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+Q+".")}var ge=L+`
|
|
285
|
+
`+C+`
|
|
286
|
+
|
|
287
|
+
`+(""+z);console.error(ge)}catch(ve){setTimeout(function(){throw ve})}}var Gq=typeof WeakMap=="function"?WeakMap:Map;function nA(t,r,c){var f=Uu(cr,c);f.tag=U1,f.payload={element:null};var h=r.value;return f.callback=function(){VK(h),$T(t,r)},f}function jT(t,r,c){var f=Uu(cr,c);f.tag=U1;var h=t.type.getDerivedStateFromError;if(typeof h=="function"){var b=r.value;f.payload=function(){return h(b)},f.callback=function(){pF(t),$T(t,r)}}var C=t.stateNode;return C!==null&&typeof C.componentDidCatch=="function"&&(f.callback=function(){pF(t),$T(t,r),typeof h!="function"&&$K(this);var L=r.value,z=r.stack;this.componentDidCatch(L,{componentStack:z!==null?z:""}),typeof h!="function"&&(Sa(t.lanes,It)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Jt(t)||"Unknown"))}),f}function rA(t,r,c){var f=t.pingCache,h;if(f===null?(f=t.pingCache=new Gq,h=new Set,f.set(r,h)):(h=f.get(r),h===void 0&&(h=new Set,f.set(r,h))),!h.has(c)){h.add(c);var b=BK.bind(null,t,r,c);Ia&&Ig(t,c),r.then(b,b)}}function Kq(t,r,c,f){var h=t.updateQueue;if(h===null){var b=new Set;b.add(c),t.updateQueue=b}else h.add(c)}function Qq(t,r){var c=t.tag;if((t.mode&Ft)===Pt&&(c===g||c===A||c===W)){var f=t.alternate;f?(t.updateQueue=f.updateQueue,t.memoizedState=f.memoizedState,t.lanes=f.lanes):(t.updateQueue=null,t.memoizedState=null)}}function oA(t){var r=t;do{if(r.tag===P&&Mq(r))return r;r=r.return}while(r!==null);return null}function aA(t,r,c,f,h){if((t.mode&Ft)===Pt){if(t===r)t.flags|=bo;else{if(t.flags|=Qt,c.flags|=of,c.flags&=~(zp|Aa),c.tag===S){var b=c.alternate;if(b===null)c.tag=N;else{var C=Uu(cr,It);C.tag=mx,sd(c,C,It)}}c.lanes=rn(c.lanes,It)}return t}return t.flags|=bo,t.lanes=h,t}function Xq(t,r,c,f,h){if(c.flags|=Aa,Ia&&Ig(t,h),f!==null&&typeof f=="object"&&typeof f.then=="function"){var b=f;Qq(c),Zo()&&c.mode&Ft&&Q_();var C=oA(r);if(C!==null){C.flags&=~Pr,aA(C,r,c,t,h),C.mode&Ft&&rA(t,b,h),Kq(C,t,b);return}else{if(!Cy(h)){rA(t,b,h),gR();return}var D=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");f=D}}else if(Zo()&&c.mode&Ft){Q_();var L=oA(r);if(L!==null){(L.flags&bo)===jt&&(L.flags|=Pr),aA(L,r,c,t,h),P1(jf(f,c));return}}f=jf(f,c),MK(f);var z=r;do{switch(z.tag){case E:{var Q=f;z.flags|=bo;var ge=$c(h);z.lanes=rn(z.lanes,ge);var ve=nA(z,Q,ge);Y1(z,ve);return}case S:var Ae=f,Ie=z.type,ze=z.stateNode;if((z.flags&Qt)===jt&&(typeof Ie.getDerivedStateFromError=="function"||ze!==null&&typeof ze.componentDidCatch=="function"&&!oF(ze))){z.flags|=bo;var vt=$c(h);z.lanes=rn(z.lanes,vt);var Vt=jT(z,Ae,vt);Y1(z,Vt);return}break}z=z.return}while(z!==null)}function Zq(){return null}var xg=o.ReactCurrentOwner,Xs=!1,VT,wg,BT,zT,UT,Vf,HT,Ux,Cg;VT={},wg={},BT={},zT={},UT={},Vf=!1,HT={},Ux={},Cg={};function Va(t,r,c,f){t===null?r.child=lN(r,null,c,f):r.child=Zm(r,t.child,c,f)}function Jq(t,r,c,f){r.child=Zm(r,t.child,null,f),r.child=Zm(r,null,c,f)}function iA(t,r,c,f,h){if(r.type!==r.elementType){var b=c.propTypes;b&&Ws(b,f,"prop",xn(c))}var C=c.render,D=r.ref,L,z;eh(r,h),Dc(r);{if(xg.current=r,ca(!0),L=ih(t,r,C,f,D,h),z=sh(),r.mode&pn){Jr(!0);try{L=ih(t,r,C,f,D,h),z=sh()}finally{Jr(!1)}}ca(!1)}return ya(),t!==null&&!Xs?(wN(t,r,h),Hu(t,r,h)):(Zo()&&z&&T1(r),r.flags|=Pl,Va(t,r,L,h),r.child)}function sA(t,r,c,f,h){if(t===null){var b=c.type;if(oQ(b)&&c.compare===null&&c.defaultProps===void 0){var C=b;return C=hh(b),r.tag=W,r.type=C,qT(r,b),lA(t,r,C,f,h)}{var D=b.propTypes;if(D&&Ws(D,f,"prop",xn(b)),c.defaultProps!==void 0){var L=xn(b)||"Unknown";Cg[L]||(m("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",L),Cg[L]=!0)}}var z=kR(c.type,null,f,r,r.mode,h);return z.ref=r.ref,z.return=r,r.child=z,z}{var Q=c.type,ge=Q.propTypes;ge&&Ws(ge,f,"prop",xn(Q))}var ve=t.child,Ae=JT(t,h);if(!Ae){var Ie=ve.memoizedProps,ze=c.compare;if(ze=ze!==null?ze:Yt,ze(Ie,f)&&t.ref===r.ref)return Hu(t,r,h)}r.flags|=Pl;var vt=Wf(ve,f);return vt.ref=r.ref,vt.return=r,r.child=vt,vt}function lA(t,r,c,f,h){if(r.type!==r.elementType){var b=r.elementType;if(b.$$typeof===zt){var C=b,D=C._payload,L=C._init;try{b=L(D)}catch{b=null}var z=b&&b.propTypes;z&&Ws(z,f,"prop",xn(b))}}if(t!==null){var Q=t.memoizedProps;if(Yt(Q,f)&&t.ref===r.ref&&r.type===t.type)if(Xs=!1,r.pendingProps=f=Q,JT(t,h))(t.flags&of)!==jt&&(Xs=!0);else return r.lanes=t.lanes,Hu(t,r,h)}return WT(t,r,c,f,h)}function uA(t,r,c){var f=r.pendingProps,h=f.children,b=t!==null?t.memoizedState:null;if(f.mode==="hidden"||oe)if((r.mode&Ft)===Pt){var C={baseLanes:Qe,cachePool:null,transitions:null};r.memoizedState=C,nw(r,c)}else if(Sa(c,Vo)){var ge={baseLanes:Qe,cachePool:null,transitions:null};r.memoizedState=ge;var ve=b!==null?b.baseLanes:c;nw(r,ve)}else{var D=null,L;if(b!==null){var z=b.baseLanes;L=rn(z,c)}else L=c;r.lanes=r.childLanes=Vo;var Q={baseLanes:L,cachePool:D,transitions:null};return r.memoizedState=Q,r.updateQueue=null,nw(r,L),null}else{var Ae;b!==null?(Ae=rn(b.baseLanes,c),r.memoizedState=null):Ae=c,nw(r,Ae)}return Va(t,r,h,c),r.child}function eG(t,r,c){var f=r.pendingProps;return Va(t,r,f,c),r.child}function tG(t,r,c){var f=r.pendingProps.children;return Va(t,r,f,c),r.child}function nG(t,r,c){{r.flags|=on;{var f=r.stateNode;f.effectDuration=0,f.passiveEffectDuration=0}}var h=r.pendingProps,b=h.children;return Va(t,r,b,c),r.child}function cA(t,r){var c=r.ref;(t===null&&c!==null||t!==null&&t.ref!==c)&&(r.flags|=fa,r.flags|=cy)}function WT(t,r,c,f,h){if(r.type!==r.elementType){var b=c.propTypes;b&&Ws(b,f,"prop",xn(c))}var C;{var D=qm(r,c,!0);C=Gm(r,D)}var L,z;eh(r,h),Dc(r);{if(xg.current=r,ca(!0),L=ih(t,r,c,f,C,h),z=sh(),r.mode&pn){Jr(!0);try{L=ih(t,r,c,f,C,h),z=sh()}finally{Jr(!1)}}ca(!1)}return ya(),t!==null&&!Xs?(wN(t,r,h),Hu(t,r,h)):(Zo()&&z&&T1(r),r.flags|=Pl,Va(t,r,L,h),r.child)}function dA(t,r,c,f,h){{switch(bQ(r)){case!1:{var b=r.stateNode,C=r.type,D=new C(r.memoizedProps,b.context),L=D.state;b.updater.enqueueSetState(b,L,null);break}case!0:{r.flags|=Qt,r.flags|=bo;var z=new Error("Simulated error coming from DevTools"),Q=$c(h);r.lanes=rn(r.lanes,Q);var ge=jT(r,jf(z,r),Q);Y1(r,ge);break}}if(r.type!==r.elementType){var ve=c.propTypes;ve&&Ws(ve,f,"prop",xn(c))}}var Ae;Hl(c)?(Ae=!0,tx(r)):Ae=!1,eh(r,h);var Ie=r.stateNode,ze;Ie===null?(Wx(t,r),eA(r,c,f),LT(r,c,f,h),ze=!0):t===null?ze=Wq(r,c,f,h):ze=Yq(t,r,c,f,h);var vt=YT(t,r,c,ze,Ae,h);{var Vt=r.stateNode;ze&&Vt.props!==f&&(Vf||m("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Jt(r)||"a component"),Vf=!0)}return vt}function YT(t,r,c,f,h,b){cA(t,r);var C=(r.flags&Qt)!==jt;if(!f&&!C)return h&&Y_(r,c,!1),Hu(t,r,b);var D=r.stateNode;xg.current=r;var L;if(C&&typeof c.getDerivedStateFromError!="function")L=null,KN();else{Dc(r);{if(ca(!0),L=D.render(),r.mode&pn){Jr(!0);try{D.render()}finally{Jr(!1)}}ca(!1)}ya()}return r.flags|=Pl,t!==null&&C?Jq(t,r,L,b):Va(t,r,L,b),r.memoizedState=D.state,h&&Y_(r,c,!0),r.child}function fA(t){var r=t.stateNode;r.pendingContext?H_(t,r.pendingContext,r.pendingContext!==r.context):r.context&&H_(t,r.context,!1),q1(t,r.containerInfo)}function rG(t,r,c){if(fA(r),t===null)throw new Error("Should have a current fiber. This is a bug in React.");var f=r.pendingProps,h=r.memoizedState,b=h.element;hN(t,r),gx(r,f,null,c);var C=r.memoizedState;r.stateNode;var D=C.element;if(h.isDehydrated){var L={element:D,isDehydrated:!1,cache:C.cache,pendingSuspenseBoundaries:C.pendingSuspenseBoundaries,transitions:C.transitions},z=r.updateQueue;if(z.baseState=L,r.memoizedState=L,r.flags&Pr){var Q=jf(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),r);return pA(t,r,D,c,Q)}else if(D!==b){var ge=jf(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),r);return pA(t,r,D,c,ge)}else{iq(r);var ve=lN(r,null,D,c);r.child=ve;for(var Ae=ve;Ae;)Ae.flags=Ae.flags&~hr|si,Ae=Ae.sibling}}else{if(Xm(),D===b)return Hu(t,r,c);Va(t,r,D,c)}return r.child}function pA(t,r,c,f,h){return Xm(),P1(h),r.flags|=Pr,Va(t,r,c,f),r.child}function oG(t,r,c){bN(r),t===null&&M1(r);var f=r.type,h=r.pendingProps,b=t!==null?t.memoizedProps:null,C=h.children,D=d1(f,h);return D?C=null:b!==null&&d1(f,b)&&(r.flags|=Vn),cA(t,r),Va(t,r,C,c),r.child}function aG(t,r){return t===null&&M1(r),null}function iG(t,r,c,f){Wx(t,r);var h=r.pendingProps,b=c,C=b._payload,D=b._init,L=D(C);r.type=L;var z=r.tag=aQ(L),Q=Qs(L,h),ge;switch(z){case g:return qT(r,L),r.type=L=hh(L),ge=WT(null,r,L,Q,f),ge;case S:return r.type=L=CR(L),ge=dA(null,r,L,Q,f),ge;case A:return r.type=L=ER(L),ge=iA(null,r,L,Q,f),ge;case H:{if(r.type!==r.elementType){var ve=L.propTypes;ve&&Ws(ve,Q,"prop",xn(L))}return ge=sA(null,r,L,Qs(L.type,Q),f),ge}}var Ae="";throw L!==null&&typeof L=="object"&&L.$$typeof===zt&&(Ae=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+L+". "+("Lazy element type must resolve to a class or function."+Ae))}function sG(t,r,c,f,h){Wx(t,r),r.tag=S;var b;return Hl(c)?(b=!0,tx(r)):b=!1,eh(r,h),eA(r,c,f),LT(r,c,f,h),YT(null,r,c,!0,b,h)}function lG(t,r,c,f){Wx(t,r);var h=r.pendingProps,b;{var C=qm(r,c,!1);b=Gm(r,C)}eh(r,f);var D,L;Dc(r);{if(c.prototype&&typeof c.prototype.render=="function"){var z=xn(c)||"Unknown";VT[z]||(m("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",z,z),VT[z]=!0)}r.mode&pn&&qs.recordLegacyContextWarning(r,null),ca(!0),xg.current=r,D=ih(null,r,c,h,b,f),L=sh(),ca(!1)}if(ya(),r.flags|=Pl,typeof D=="object"&&D!==null&&typeof D.render=="function"&&D.$$typeof===void 0){var Q=xn(c)||"Unknown";wg[Q]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Q,Q,Q),wg[Q]=!0)}if(typeof D=="object"&&D!==null&&typeof D.render=="function"&&D.$$typeof===void 0){{var ge=xn(c)||"Unknown";wg[ge]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",ge,ge,ge),wg[ge]=!0)}r.tag=S,r.memoizedState=null,r.updateQueue=null;var ve=!1;return Hl(c)?(ve=!0,tx(r)):ve=!1,r.memoizedState=D.state!==null&&D.state!==void 0?D.state:null,W1(r),JN(r,D),LT(r,c,h,f),YT(null,r,c,!0,ve,f)}else{if(r.tag=g,r.mode&pn){Jr(!0);try{D=ih(null,r,c,h,b,f),L=sh()}finally{Jr(!1)}}return Zo()&&L&&T1(r),Va(null,r,D,f),qT(r,c),r.child}}function qT(t,r){{if(r&&r.childContextTypes&&m("%s(...): childContextTypes cannot be defined on a function component.",r.displayName||r.name||"Component"),t.ref!==null){var c="",f=Ko();f&&(c+=`
|
|
288
|
+
|
|
289
|
+
Check the render method of \``+f+"`.");var h=f||"",b=t._debugSource;b&&(h=b.fileName+":"+b.lineNumber),UT[h]||(UT[h]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",c))}if(r.defaultProps!==void 0){var C=xn(r)||"Unknown";Cg[C]||(m("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",C),Cg[C]=!0)}if(typeof r.getDerivedStateFromProps=="function"){var D=xn(r)||"Unknown";zT[D]||(m("%s: Function components do not support getDerivedStateFromProps.",D),zT[D]=!0)}if(typeof r.contextType=="object"&&r.contextType!==null){var L=xn(r)||"Unknown";BT[L]||(m("%s: Function components do not support contextType.",L),BT[L]=!0)}}}var GT={dehydrated:null,treeContext:null,retryLane:eo};function KT(t){return{baseLanes:t,cachePool:Zq(),transitions:null}}function uG(t,r){var c=null;return{baseLanes:rn(t.baseLanes,r),cachePool:c,transitions:t.transitions}}function cG(t,r,c,f){if(r!==null){var h=r.memoizedState;if(h===null)return!1}return Q1(t,fg)}function dG(t,r){return hf(t.childLanes,r)}function mA(t,r,c){var f=r.pendingProps;SQ(r)&&(r.flags|=Qt);var h=Gs.current,b=!1,C=(r.flags&Qt)!==jt;if(C||cG(h,t)?(b=!0,r.flags&=~Qt):(t===null||t.memoizedState!==null)&&(h=kq(h,xN)),h=nh(h),ud(r,h),t===null){M1(r);var D=r.memoizedState;if(D!==null){var L=D.dehydrated;if(L!==null)return vG(r,L)}var z=f.children,Q=f.fallback;if(b){var ge=fG(r,z,Q,c),ve=r.child;return ve.memoizedState=KT(c),r.memoizedState=GT,ge}else return QT(r,z)}else{var Ae=t.memoizedState;if(Ae!==null){var Ie=Ae.dehydrated;if(Ie!==null)return yG(t,r,C,f,Ie,Ae,c)}if(b){var ze=f.fallback,vt=f.children,Vt=mG(t,r,vt,ze,c),Lt=r.child,Rn=t.child.memoizedState;return Lt.memoizedState=Rn===null?KT(c):uG(Rn,c),Lt.childLanes=dG(t,c),r.memoizedState=GT,Vt}else{var gn=f.children,ke=pG(t,r,gn,c);return r.memoizedState=null,ke}}}function QT(t,r,c){var f=t.mode,h={mode:"visible",children:r},b=XT(h,f);return b.return=t,t.child=b,b}function fG(t,r,c,f){var h=t.mode,b=t.child,C={mode:"hidden",children:r},D,L;return(h&Ft)===Pt&&b!==null?(D=b,D.childLanes=Qe,D.pendingProps=C,t.mode&Xt&&(D.actualDuration=0,D.actualStartTime=-1,D.selfBaseDuration=0,D.treeBaseDuration=0),L=yd(c,h,f,null)):(D=XT(C,h),L=yd(c,h,f,null)),D.return=t,L.return=t,D.sibling=L,t.child=D,L}function XT(t,r,c){return hF(t,r,Qe,null)}function hA(t,r){return Wf(t,r)}function pG(t,r,c,f){var h=t.child,b=h.sibling,C=hA(h,{mode:"visible",children:c});if((r.mode&Ft)===Pt&&(C.lanes=f),C.return=r,C.sibling=null,b!==null){var D=r.deletions;D===null?(r.deletions=[b],r.flags|=In):D.push(b)}return r.child=C,C}function mG(t,r,c,f,h){var b=r.mode,C=t.child,D=C.sibling,L={mode:"hidden",children:c},z;if((b&Ft)===Pt&&r.child!==C){var Q=r.child;z=Q,z.childLanes=Qe,z.pendingProps=L,r.mode&Xt&&(z.actualDuration=0,z.actualStartTime=-1,z.selfBaseDuration=C.selfBaseDuration,z.treeBaseDuration=C.treeBaseDuration),r.deletions=null}else z=hA(C,L),z.subtreeFlags=C.subtreeFlags&Ro;var ge;return D!==null?ge=Wf(D,f):(ge=yd(f,b,h,null),ge.flags|=hr),ge.return=r,z.return=r,z.sibling=ge,r.child=z,ge}function Hx(t,r,c,f){f!==null&&P1(f),Zm(r,t.child,null,c);var h=r.pendingProps,b=h.children,C=QT(r,b);return C.flags|=hr,r.memoizedState=null,C}function hG(t,r,c,f,h){var b=r.mode,C={mode:"visible",children:c},D=XT(C,b),L=yd(f,b,h,null);return L.flags|=hr,D.return=r,L.return=r,D.sibling=L,r.child=D,(r.mode&Ft)!==Pt&&Zm(r,t.child,null,h),L}function vG(t,r,c){return(t.mode&Ft)===Pt?(m("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),t.lanes=It):h1(r)?t.lanes=Vs:t.lanes=Vo,null}function yG(t,r,c,f,h,b,C){if(c)if(r.flags&Pr){r.flags&=~Pr;var ke=IT(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Hx(t,r,C,ke)}else{if(r.memoizedState!==null)return r.child=t.child,r.flags|=Qt,null;var Ue=f.children,Me=f.fallback,rt=hG(t,r,Ue,Me,C),wt=r.child;return wt.memoizedState=KT(C),r.memoizedState=GT,rt}else{if(oq(),(r.mode&Ft)===Pt)return Hx(t,r,C,null);if(h1(h)){var D,L,z;{var Q=xY(h);D=Q.digest,L=Q.message,z=Q.stack}var ge;L?ge=new Error(L):ge=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var ve=IT(ge,D,z);return Hx(t,r,C,ve)}var Ae=Sa(C,t.childLanes);if(Xs||Ae){var Ie=tw();if(Ie!==null){var ze=vS(Ie,C);if(ze!==eo&&ze!==b.retryLane){b.retryLane=ze;var vt=cr;bi(t,ze),Lo(Ie,t,ze,vt)}}gR();var Vt=IT(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Hx(t,r,C,Vt)}else if($_(h)){r.flags|=Qt,r.child=t.child;var Lt=zK.bind(null,t);return wY(h,Lt),null}else{sq(r,h,b.treeContext);var Rn=f.children,gn=QT(r,Rn);return gn.flags|=si,gn}}}function vA(t,r,c){t.lanes=rn(t.lanes,r);var f=t.alternate;f!==null&&(f.lanes=rn(f.lanes,r)),B1(t.return,r,c)}function gG(t,r,c){for(var f=r;f!==null;){if(f.tag===P){var h=f.memoizedState;h!==null&&vA(f,c,t)}else if(f.tag===Z)vA(f,c,t);else if(f.child!==null){f.child.return=f,f=f.child;continue}if(f===t)return;for(;f.sibling===null;){if(f.return===null||f.return===t)return;f=f.return}f.sibling.return=f.return,f=f.sibling}}function bG(t){for(var r=t,c=null;r!==null;){var f=r.alternate;f!==null&&wx(f)===null&&(c=r),r=r.sibling}return c}function SG(t){if(t!==void 0&&t!=="forwards"&&t!=="backwards"&&t!=="together"&&!HT[t])if(HT[t]=!0,typeof t=="string")switch(t.toLowerCase()){case"together":case"forwards":case"backwards":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',t,t.toLowerCase());break}case"forward":case"backward":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',t,t.toLowerCase());break}default:m('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',t);break}else m('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',t)}function xG(t,r){t!==void 0&&!Ux[t]&&(t!=="collapsed"&&t!=="hidden"?(Ux[t]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',t)):r!=="forwards"&&r!=="backwards"&&(Ux[t]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',t)))}function yA(t,r){{var c=wn(t),f=!c&&typeof Yo(t)=="function";if(c||f){var h=c?"array":"iterable";return m("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",h,r,h),!1}}return!0}function wG(t,r){if((r==="forwards"||r==="backwards")&&t!==void 0&&t!==null&&t!==!1)if(wn(t)){for(var c=0;c<t.length;c++)if(!yA(t[c],c))return}else{var f=Yo(t);if(typeof f=="function"){var h=f.call(t);if(h)for(var b=h.next(),C=0;!b.done;b=h.next()){if(!yA(b.value,C))return;C++}}else m('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',r)}}function ZT(t,r,c,f,h){var b=t.memoizedState;b===null?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:f,tail:c,tailMode:h}:(b.isBackwards=r,b.rendering=null,b.renderingStartTime=0,b.last=f,b.tail=c,b.tailMode=h)}function gA(t,r,c){var f=r.pendingProps,h=f.revealOrder,b=f.tail,C=f.children;SG(h),xG(b,h),wG(C,h),Va(t,r,C,c);var D=Gs.current,L=Q1(D,fg);if(L)D=X1(D,fg),r.flags|=Qt;else{var z=t!==null&&(t.flags&Qt)!==jt;z&&gG(r,r.child,c),D=nh(D)}if(ud(r,D),(r.mode&Ft)===Pt)r.memoizedState=null;else switch(h){case"forwards":{var Q=bG(r.child),ge;Q===null?(ge=r.child,r.child=null):(ge=Q.sibling,Q.sibling=null),ZT(r,!1,ge,Q,b);break}case"backwards":{var ve=null,Ae=r.child;for(r.child=null;Ae!==null;){var Ie=Ae.alternate;if(Ie!==null&&wx(Ie)===null){r.child=Ae;break}var ze=Ae.sibling;Ae.sibling=ve,ve=Ae,Ae=ze}ZT(r,!0,ve,null,b);break}case"together":{ZT(r,!1,null,null,void 0);break}default:r.memoizedState=null}return r.child}function CG(t,r,c){q1(r,r.stateNode.containerInfo);var f=r.pendingProps;return t===null?r.child=Zm(r,null,f,c):Va(t,r,f,c),r.child}var bA=!1;function EG(t,r,c){var f=r.type,h=f._context,b=r.pendingProps,C=r.memoizedProps,D=b.value;{"value"in b||bA||(bA=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var L=r.type.propTypes;L&&Ws(L,b,"prop","Context.Provider")}if(dN(r,h,D),C!==null){var z=C.value;if(Tt(z,D)){if(C.children===b.children&&!JS())return Hu(t,r,c)}else Sq(r,h,c)}var Q=b.children;return Va(t,r,Q,c),r.child}var SA=!1;function TG(t,r,c){var f=r.type;f._context===void 0?f!==f.Consumer&&(SA||(SA=!0,m("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):f=f._context;var h=r.pendingProps,b=h.children;typeof b!="function"&&m("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),eh(r,c);var C=Co(f);Dc(r);var D;return xg.current=r,ca(!0),D=b(C),ca(!1),ya(),r.flags|=Pl,Va(t,r,D,c),r.child}function Eg(){Xs=!0}function Wx(t,r){(r.mode&Ft)===Pt&&t!==null&&(t.alternate=null,r.alternate=null,r.flags|=hr)}function Hu(t,r,c){return t!==null&&(r.dependencies=t.dependencies),KN(),Lg(r.lanes),Sa(c,r.childLanes)?(gq(t,r),r.child):null}function RG(t,r,c){{var f=r.return;if(f===null)throw new Error("Cannot swap the root fiber.");if(t.alternate=null,r.alternate=null,c.index=r.index,c.sibling=r.sibling,c.return=r.return,c.ref=r.ref,r===f.child)f.child=c;else{var h=f.child;if(h===null)throw new Error("Expected parent to have a child.");for(;h.sibling!==r;)if(h=h.sibling,h===null)throw new Error("Expected to find the previous sibling.");h.sibling=c}var b=f.deletions;return b===null?(f.deletions=[t],f.flags|=In):b.push(t),c.flags|=hr,c}}function JT(t,r){var c=t.lanes;return!!Sa(c,r)}function OG(t,r,c){switch(r.tag){case E:fA(r),r.stateNode,Xm();break;case k:bN(r);break;case S:{var f=r.type;Hl(f)&&tx(r);break}case R:q1(r,r.stateNode.containerInfo);break;case j:{var h=r.memoizedProps.value,b=r.type._context;dN(r,b,h);break}case $:{var C=Sa(c,r.childLanes);C&&(r.flags|=on);{var D=r.stateNode;D.effectDuration=0,D.passiveEffectDuration=0}}break;case P:{var L=r.memoizedState;if(L!==null){if(L.dehydrated!==null)return ud(r,nh(Gs.current)),r.flags|=Qt,null;var z=r.child,Q=z.childLanes;if(Sa(c,Q))return mA(t,r,c);ud(r,nh(Gs.current));var ge=Hu(t,r,c);return ge!==null?ge.sibling:null}else ud(r,nh(Gs.current));break}case Z:{var ve=(t.flags&Qt)!==jt,Ae=Sa(c,r.childLanes);if(ve){if(Ae)return gA(t,r,c);r.flags|=Qt}var Ie=r.memoizedState;if(Ie!==null&&(Ie.rendering=null,Ie.tail=null,Ie.lastEffect=null),ud(r,Gs.current),Ae)break;return null}case X:case ee:return r.lanes=Qe,uA(t,r,c)}return Hu(t,r,c)}function xA(t,r,c){if(r._debugNeedsRemount&&t!==null)return RG(t,r,kR(r.type,r.key,r.pendingProps,r._debugOwner||null,r.mode,r.lanes));if(t!==null){var f=t.memoizedProps,h=r.pendingProps;if(f!==h||JS()||r.type!==t.type)Xs=!0;else{var b=JT(t,c);if(!b&&(r.flags&Qt)===jt)return Xs=!1,OG(t,r,c);(t.flags&of)!==jt?Xs=!0:Xs=!1}}else if(Xs=!1,Zo()&&ZY(r)){var C=r.index,D=JY();K_(r,D,C)}switch(r.lanes=Qe,r.tag){case w:return lG(t,r,r.type,c);case Y:{var L=r.elementType;return iG(t,r,L,c)}case g:{var z=r.type,Q=r.pendingProps,ge=r.elementType===z?Q:Qs(z,Q);return WT(t,r,z,ge,c)}case S:{var ve=r.type,Ae=r.pendingProps,Ie=r.elementType===ve?Ae:Qs(ve,Ae);return dA(t,r,ve,Ie,c)}case E:return rG(t,r,c);case k:return oG(t,r,c);case O:return aG(t,r);case P:return mA(t,r,c);case R:return CG(t,r,c);case A:{var ze=r.type,vt=r.pendingProps,Vt=r.elementType===ze?vt:Qs(ze,vt);return iA(t,r,ze,Vt,c)}case _:return eG(t,r,c);case M:return tG(t,r,c);case $:return nG(t,r,c);case j:return EG(t,r,c);case V:return TG(t,r,c);case H:{var Lt=r.type,Rn=r.pendingProps,gn=Qs(Lt,Rn);if(r.type!==r.elementType){var ke=Lt.propTypes;ke&&Ws(ke,gn,"prop",xn(Lt))}return gn=Qs(Lt.type,gn),sA(t,r,Lt,gn,c)}case W:return lA(t,r,r.type,r.pendingProps,c);case N:{var Ue=r.type,Me=r.pendingProps,rt=r.elementType===Ue?Me:Qs(Ue,Me);return sG(t,r,Ue,rt,c)}case Z:return gA(t,r,c);case J:break;case X:return uA(t,r,c)}throw new Error("Unknown unit of work tag ("+r.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function lh(t){t.flags|=on}function wA(t){t.flags|=fa,t.flags|=cy}var CA,eR,EA,TA;CA=function(t,r,c,f){for(var h=r.child;h!==null;){if(h.tag===k||h.tag===O)K7(t,h.stateNode);else if(h.tag!==R){if(h.child!==null){h.child.return=h,h=h.child;continue}}if(h===r)return;for(;h.sibling===null;){if(h.return===null||h.return===r)return;h=h.return}h.sibling.return=h.return,h=h.sibling}},eR=function(t,r){},EA=function(t,r,c,f,h){var b=t.memoizedProps;if(b!==f){var C=r.stateNode,D=G1(),L=X7(C,c,b,f,h,D);r.updateQueue=L,L&&lh(r)}},TA=function(t,r,c,f){c!==f&&lh(r)};function Tg(t,r){if(!Zo())switch(t.tailMode){case"hidden":{for(var c=t.tail,f=null;c!==null;)c.alternate!==null&&(f=c),c=c.sibling;f===null?t.tail=null:f.sibling=null;break}case"collapsed":{for(var h=t.tail,b=null;h!==null;)h.alternate!==null&&(b=h),h=h.sibling;b===null?!r&&t.tail!==null?t.tail.sibling=null:t.tail=null:b.sibling=null;break}}}function ea(t){var r=t.alternate!==null&&t.alternate.child===t.child,c=Qe,f=jt;if(r){if((t.mode&Xt)!==Pt){for(var L=t.selfBaseDuration,z=t.child;z!==null;)c=rn(c,rn(z.lanes,z.childLanes)),f|=z.subtreeFlags&Ro,f|=z.flags&Ro,L+=z.treeBaseDuration,z=z.sibling;t.treeBaseDuration=L}else for(var Q=t.child;Q!==null;)c=rn(c,rn(Q.lanes,Q.childLanes)),f|=Q.subtreeFlags&Ro,f|=Q.flags&Ro,Q.return=t,Q=Q.sibling;t.subtreeFlags|=f}else{if((t.mode&Xt)!==Pt){for(var h=t.actualDuration,b=t.selfBaseDuration,C=t.child;C!==null;)c=rn(c,rn(C.lanes,C.childLanes)),f|=C.subtreeFlags,f|=C.flags,h+=C.actualDuration,b+=C.treeBaseDuration,C=C.sibling;t.actualDuration=h,t.treeBaseDuration=b}else for(var D=t.child;D!==null;)c=rn(c,rn(D.lanes,D.childLanes)),f|=D.subtreeFlags,f|=D.flags,D.return=t,D=D.sibling;t.subtreeFlags|=f}return t.childLanes=c,r}function DG(t,r,c){if(fq()&&(r.mode&Ft)!==Pt&&(r.flags&Qt)===jt)return nN(r),Xm(),r.flags|=Pr|Aa|bo,!1;var f=ix(r);if(c!==null&&c.dehydrated!==null)if(t===null){if(!f)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(cq(r),ea(r),(r.mode&Xt)!==Pt){var h=c!==null;if(h){var b=r.child;b!==null&&(r.treeBaseDuration-=b.treeBaseDuration)}}return!1}else{if(Xm(),(r.flags&Qt)===jt&&(r.memoizedState=null),r.flags|=on,ea(r),(r.mode&Xt)!==Pt){var C=c!==null;if(C){var D=r.child;D!==null&&(r.treeBaseDuration-=D.treeBaseDuration)}}return!1}else return rN(),!0}function RA(t,r,c){var f=r.pendingProps;switch(R1(r),r.tag){case w:case Y:case W:case g:case A:case _:case M:case $:case V:case H:return ea(r),null;case S:{var h=r.type;return Hl(h)&&ex(r),ea(r),null}case E:{var b=r.stateNode;if(th(r),w1(r),J1(),b.pendingContext&&(b.context=b.pendingContext,b.pendingContext=null),t===null||t.child===null){var C=ix(r);if(C)lh(r);else if(t!==null){var D=t.memoizedState;(!D.isDehydrated||(r.flags&Pr)!==jt)&&(r.flags|=ii,rN())}}return eR(t,r),ea(r),null}case k:{K1(r);var L=gN(),z=r.type;if(t!==null&&r.stateNode!=null)EA(t,r,z,f,L),t.ref!==r.ref&&wA(r);else{if(!f){if(r.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ea(r),null}var Q=G1(),ge=ix(r);if(ge)lq(r,L,Q)&&lh(r);else{var ve=G7(z,f,L,Q,r);CA(ve,r,!1,!1),r.stateNode=ve,Q7(ve,z,f,L)&&lh(r)}r.ref!==null&&wA(r)}return ea(r),null}case O:{var Ae=f;if(t&&r.stateNode!=null){var Ie=t.memoizedProps;TA(t,r,Ie,Ae)}else{if(typeof Ae!="string"&&r.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var ze=gN(),vt=G1(),Vt=ix(r);Vt?uq(r)&&lh(r):r.stateNode=Z7(Ae,ze,vt,r)}return ea(r),null}case P:{rh(r);var Lt=r.memoizedState;if(t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){var Rn=DG(t,r,Lt);if(!Rn)return r.flags&bo?r:null}if((r.flags&Qt)!==jt)return r.lanes=c,(r.mode&Xt)!==Pt&&ET(r),r;var gn=Lt!==null,ke=t!==null&&t.memoizedState!==null;if(gn!==ke&&gn){var Ue=r.child;if(Ue.flags|=_l,(r.mode&Ft)!==Pt){var Me=t===null&&(r.memoizedProps.unstable_avoidThisFallback!==!0||!U);Me||Q1(Gs.current,xN)?kK():gR()}}var rt=r.updateQueue;if(rt!==null&&(r.flags|=on),ea(r),(r.mode&Xt)!==Pt&&gn){var wt=r.child;wt!==null&&(r.treeBaseDuration-=wt.treeBaseDuration)}return null}case R:return th(r),eR(t,r),t===null&&WY(r.stateNode.containerInfo),ea(r),null;case j:var yt=r.type._context;return V1(yt,r),ea(r),null;case N:{var Gt=r.type;return Hl(Gt)&&ex(r),ea(r),null}case Z:{rh(r);var nn=r.memoizedState;if(nn===null)return ea(r),null;var tr=(r.flags&Qt)!==jt,Nn=nn.rendering;if(Nn===null)if(tr)Tg(nn,!1);else{var mo=PK()&&(t===null||(t.flags&Qt)===jt);if(!mo)for(var An=r.child;An!==null;){var to=wx(An);if(to!==null){tr=!0,r.flags|=Qt,Tg(nn,!1);var Ta=to.updateQueue;return Ta!==null&&(r.updateQueue=Ta,r.flags|=on),r.subtreeFlags=jt,bq(r,c),ud(r,X1(Gs.current,fg)),r.child}An=An.sibling}nn.tail!==null&&Tr()>qA()&&(r.flags|=Qt,tr=!0,Tg(nn,!1),r.lanes=aS)}else{if(!tr){var aa=wx(Nn);if(aa!==null){r.flags|=Qt,tr=!0;var zi=aa.updateQueue;if(zi!==null&&(r.updateQueue=zi,r.flags|=on),Tg(nn,!0),nn.tail===null&&nn.tailMode==="hidden"&&!Nn.alternate&&!Zo())return ea(r),null}else Tr()*2-nn.renderingStartTime>qA()&&c!==Vo&&(r.flags|=Qt,tr=!0,Tg(nn,!1),r.lanes=aS)}if(nn.isBackwards)Nn.sibling=r.child,r.child=Nn;else{var Ua=nn.last;Ua!==null?Ua.sibling=Nn:r.child=Nn,nn.last=Nn}}if(nn.tail!==null){var Ha=nn.tail;nn.rendering=Ha,nn.tail=Ha.sibling,nn.renderingStartTime=Tr(),Ha.sibling=null;var Ra=Gs.current;return tr?Ra=X1(Ra,fg):Ra=nh(Ra),ud(r,Ra),Ha}return ea(r),null}case J:break;case X:case ee:{yR(r);var Ku=r.memoizedState,vh=Ku!==null;if(t!==null){var Bg=t.memoizedState,Zl=Bg!==null;Zl!==vh&&!oe&&(r.flags|=_l)}return!vh||(r.mode&Ft)===Pt?ea(r):Sa(Xl,Vo)&&(ea(r),r.subtreeFlags&(hr|on)&&(r.flags|=_l)),null}case ne:return null;case te:return null}throw new Error("Unknown unit of work tag ("+r.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function kG(t,r,c){switch(R1(r),r.tag){case S:{var f=r.type;Hl(f)&&ex(r);var h=r.flags;return h&bo?(r.flags=h&~bo|Qt,(r.mode&Xt)!==Pt&&ET(r),r):null}case E:{r.stateNode,th(r),w1(r),J1();var b=r.flags;return(b&bo)!==jt&&(b&Qt)===jt?(r.flags=b&~bo|Qt,r):null}case k:return K1(r),null;case P:{rh(r);var C=r.memoizedState;if(C!==null&&C.dehydrated!==null){if(r.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Xm()}var D=r.flags;return D&bo?(r.flags=D&~bo|Qt,(r.mode&Xt)!==Pt&&ET(r),r):null}case Z:return rh(r),null;case R:return th(r),null;case j:var L=r.type._context;return V1(L,r),null;case X:case ee:return yR(r),null;case ne:return null;default:return null}}function OA(t,r,c){switch(R1(r),r.tag){case S:{var f=r.type.childContextTypes;f!=null&&ex(r);break}case E:{r.stateNode,th(r),w1(r),J1();break}case k:{K1(r);break}case R:th(r);break;case P:rh(r);break;case Z:rh(r);break;case j:var h=r.type._context;V1(h,r);break;case X:case ee:yR(r);break}}var DA=null;DA=new Set;var Yx=!1,ta=!1,MG=typeof WeakSet=="function"?WeakSet:Set,Rt=null,uh=null,ch=null;function PG(t){Su(null,function(){throw t}),ly()}var _G=function(t,r){if(r.props=t.memoizedProps,r.state=t.memoizedState,t.mode&Xt)try{Kl(),r.componentWillUnmount()}finally{Gl(t)}else r.componentWillUnmount()};function kA(t,r){try{fd(Mo,t)}catch(c){gr(t,r,c)}}function tR(t,r,c){try{_G(t,c)}catch(f){gr(t,r,f)}}function NG(t,r,c){try{c.componentDidMount()}catch(f){gr(t,r,f)}}function MA(t,r){try{_A(t)}catch(c){gr(t,r,c)}}function dh(t,r){var c=t.ref;if(c!==null)if(typeof c=="function"){var f;try{if(we&&Ee&&t.mode&Xt)try{Kl(),f=c(null)}finally{Gl(t)}else f=c(null)}catch(h){gr(t,r,h)}typeof f=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Jt(t))}else c.current=null}function qx(t,r,c){try{c()}catch(f){gr(t,r,f)}}var PA=!1;function AG(t,r){Y7(t.containerInfo),Rt=r,FG();var c=PA;return PA=!1,c}function FG(){for(;Rt!==null;){var t=Rt,r=t.child;(t.subtreeFlags&Tc)!==jt&&r!==null?(r.return=t,Rt=r):LG()}}function LG(){for(;Rt!==null;){var t=Rt;jn(t);try{IG(t)}catch(c){gr(t,t.return,c)}Mr();var r=t.sibling;if(r!==null){r.return=t.return,Rt=r;return}Rt=t.return}}function IG(t){var r=t.alternate,c=t.flags;if((c&ii)!==jt){switch(jn(t),t.tag){case g:case A:case W:break;case S:{if(r!==null){var f=r.memoizedProps,h=r.memoizedState,b=t.stateNode;t.type===t.elementType&&!Vf&&(b.props!==t.memoizedProps&&m("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Jt(t)||"instance"),b.state!==t.memoizedState&&m("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Jt(t)||"instance"));var C=b.getSnapshotBeforeUpdate(t.elementType===t.type?f:Qs(t.type,f),h);{var D=DA;C===void 0&&!D.has(t.type)&&(D.add(t.type),m("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Jt(t)))}b.__reactInternalSnapshotBeforeUpdate=C}break}case E:{{var L=t.stateNode;yY(L.containerInfo)}break}case k:case O:case R:case N:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Mr()}}function Zs(t,r,c){var f=r.updateQueue,h=f!==null?f.lastEffect:null;if(h!==null){var b=h.next,C=b;do{if((C.tag&t)===t){var D=C.destroy;C.destroy=void 0,D!==void 0&&((t&Jo)!==Si?nS(r):(t&Mo)!==Si&&ji(r),(t&Wl)!==Si&&$g(!0),qx(r,c,D),(t&Wl)!==Si&&$g(!1),(t&Jo)!==Si?Xp():(t&Mo)!==Si&&kc())}C=C.next}while(C!==b)}}function fd(t,r){var c=r.updateQueue,f=c!==null?c.lastEffect:null;if(f!==null){var h=f.next,b=h;do{if((b.tag&t)===t){(t&Jo)!==Si?Fl(r):(t&Mo)!==Si&&rS(r);var C=b.create;(t&Wl)!==Si&&$g(!0),b.destroy=C(),(t&Wl)!==Si&&$g(!1),(t&Jo)!==Si?Qp():(t&Mo)!==Si&&af();{var D=b.destroy;if(D!==void 0&&typeof D!="function"){var L=void 0;(b.tag&Mo)!==jt?L="useLayoutEffect":(b.tag&Wl)!==jt?L="useInsertionEffect":L="useEffect";var z=void 0;D===null?z=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof D.then=="function"?z=`
|
|
290
|
+
|
|
291
|
+
It looks like you wrote `+L+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
292
|
+
|
|
293
|
+
`+L+`(() => {
|
|
294
|
+
async function fetchData() {
|
|
295
|
+
// You can await here
|
|
296
|
+
const response = await MyAPI.getData(someId);
|
|
297
|
+
// ...
|
|
298
|
+
}
|
|
299
|
+
fetchData();
|
|
300
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
301
|
+
|
|
302
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:z=" You returned: "+D,m("%s must not return anything besides a function, which is used for clean-up.%s",L,z)}}}b=b.next}while(b!==h)}}function $G(t,r){if((r.flags&on)!==jt)switch(r.tag){case $:{var c=r.stateNode.passiveEffectDuration,f=r.memoizedProps,h=f.id,b=f.onPostCommit,C=qN(),D=r.alternate===null?"mount":"update";YN()&&(D="nested-update"),typeof b=="function"&&b(h,D,c,C);var L=r.return;e:for(;L!==null;){switch(L.tag){case E:var z=L.stateNode;z.passiveEffectDuration+=c;break e;case $:var Q=L.stateNode;Q.passiveEffectDuration+=c;break e}L=L.return}break}}}function jG(t,r,c,f){if((c.flags&$o)!==jt)switch(c.tag){case g:case A:case W:{if(!ta)if(c.mode&Xt)try{Kl(),fd(Mo|ko,c)}finally{Gl(c)}else fd(Mo|ko,c);break}case S:{var h=c.stateNode;if(c.flags&on&&!ta)if(r===null)if(c.type===c.elementType&&!Vf&&(h.props!==c.memoizedProps&&m("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Jt(c)||"instance"),h.state!==c.memoizedState&&m("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Jt(c)||"instance")),c.mode&Xt)try{Kl(),h.componentDidMount()}finally{Gl(c)}else h.componentDidMount();else{var b=c.elementType===c.type?r.memoizedProps:Qs(c.type,r.memoizedProps),C=r.memoizedState;if(c.type===c.elementType&&!Vf&&(h.props!==c.memoizedProps&&m("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Jt(c)||"instance"),h.state!==c.memoizedState&&m("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Jt(c)||"instance")),c.mode&Xt)try{Kl(),h.componentDidUpdate(b,C,h.__reactInternalSnapshotBeforeUpdate)}finally{Gl(c)}else h.componentDidUpdate(b,C,h.__reactInternalSnapshotBeforeUpdate)}var D=c.updateQueue;D!==null&&(c.type===c.elementType&&!Vf&&(h.props!==c.memoizedProps&&m("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Jt(c)||"instance"),h.state!==c.memoizedState&&m("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Jt(c)||"instance")),yN(c,D,h));break}case E:{var L=c.updateQueue;if(L!==null){var z=null;if(c.child!==null)switch(c.child.tag){case k:z=c.child.stateNode;break;case S:z=c.child.stateNode;break}yN(c,L,z)}break}case k:{var Q=c.stateNode;if(r===null&&c.flags&on){var ge=c.type,ve=c.memoizedProps;rY(Q,ge,ve)}break}case O:break;case R:break;case $:{{var Ae=c.memoizedProps,Ie=Ae.onCommit,ze=Ae.onRender,vt=c.stateNode.effectDuration,Vt=qN(),Lt=r===null?"mount":"update";YN()&&(Lt="nested-update"),typeof ze=="function"&&ze(c.memoizedProps.id,Lt,c.actualDuration,c.treeBaseDuration,c.actualStartTime,Vt);{typeof Ie=="function"&&Ie(c.memoizedProps.id,Lt,vt,Vt),LK(c);var Rn=c.return;e:for(;Rn!==null;){switch(Rn.tag){case E:var gn=Rn.stateNode;gn.effectDuration+=vt;break e;case $:var ke=Rn.stateNode;ke.effectDuration+=vt;break e}Rn=Rn.return}}}break}case P:{qG(t,c);break}case Z:case N:case J:case X:case ee:case te:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}ta||c.flags&fa&&_A(c)}function VG(t){switch(t.tag){case g:case A:case W:{if(t.mode&Xt)try{Kl(),kA(t,t.return)}finally{Gl(t)}else kA(t,t.return);break}case S:{var r=t.stateNode;typeof r.componentDidMount=="function"&&NG(t,t.return,r),MA(t,t.return);break}case k:{MA(t,t.return);break}}}function BG(t,r){for(var c=null,f=t;;){if(f.tag===k){if(c===null){c=f;try{var h=f.stateNode;r?pY(h):hY(f.stateNode,f.memoizedProps)}catch(C){gr(t,t.return,C)}}}else if(f.tag===O){if(c===null)try{var b=f.stateNode;r?mY(b):vY(b,f.memoizedProps)}catch(C){gr(t,t.return,C)}}else if(!((f.tag===X||f.tag===ee)&&f.memoizedState!==null&&f!==t)){if(f.child!==null){f.child.return=f,f=f.child;continue}}if(f===t)return;for(;f.sibling===null;){if(f.return===null||f.return===t)return;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}function _A(t){var r=t.ref;if(r!==null){var c=t.stateNode,f;switch(t.tag){case k:f=c;break;default:f=c}if(typeof r=="function"){var h;if(t.mode&Xt)try{Kl(),h=r(f)}finally{Gl(t)}else h=r(f);typeof h=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Jt(t))}else r.hasOwnProperty("current")||m("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Jt(t)),r.current=f}}function zG(t){var r=t.alternate;r!==null&&(r.return=null),t.return=null}function NA(t){var r=t.alternate;r!==null&&(t.alternate=null,NA(r));{if(t.child=null,t.deletions=null,t.sibling=null,t.tag===k){var c=t.stateNode;c!==null&&GY(c)}t.stateNode=null,t._debugOwner=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}}function UG(t){for(var r=t.return;r!==null;){if(AA(r))return r;r=r.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function AA(t){return t.tag===k||t.tag===E||t.tag===R}function FA(t){var r=t;e:for(;;){for(;r.sibling===null;){if(r.return===null||AA(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==k&&r.tag!==O&&r.tag!==K;){if(r.flags&hr||r.child===null||r.tag===R)continue e;r.child.return=r,r=r.child}if(!(r.flags&hr))return r.stateNode}}function HG(t){var r=UG(t);switch(r.tag){case k:{var c=r.stateNode;r.flags&Vn&&(I_(c),r.flags&=~Vn);var f=FA(t);rR(t,f,c);break}case E:case R:{var h=r.stateNode.containerInfo,b=FA(t);nR(t,b,h);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function nR(t,r,c){var f=t.tag,h=f===k||f===O;if(h){var b=t.stateNode;r?uY(c,b,r):sY(c,b)}else if(f!==R){var C=t.child;if(C!==null){nR(C,r,c);for(var D=C.sibling;D!==null;)nR(D,r,c),D=D.sibling}}}function rR(t,r,c){var f=t.tag,h=f===k||f===O;if(h){var b=t.stateNode;r?lY(c,b,r):iY(c,b)}else if(f!==R){var C=t.child;if(C!==null){rR(C,r,c);for(var D=C.sibling;D!==null;)rR(D,r,c),D=D.sibling}}}var na=null,Js=!1;function WG(t,r,c){{var f=r;e:for(;f!==null;){switch(f.tag){case k:{na=f.stateNode,Js=!1;break e}case E:{na=f.stateNode.containerInfo,Js=!0;break e}case R:{na=f.stateNode.containerInfo,Js=!0;break e}}f=f.return}if(na===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");LA(t,r,c),na=null,Js=!1}zG(c)}function pd(t,r,c){for(var f=c.child;f!==null;)LA(t,r,f),f=f.sibling}function LA(t,r,c){switch(Cu(c),c.tag){case k:ta||dh(c,r);case O:{{var f=na,h=Js;na=null,pd(t,r,c),na=f,Js=h,na!==null&&(Js?dY(na,c.stateNode):cY(na,c.stateNode))}return}case K:{na!==null&&(Js?fY(na,c.stateNode):m1(na,c.stateNode));return}case R:{{var b=na,C=Js;na=c.stateNode.containerInfo,Js=!0,pd(t,r,c),na=b,Js=C}return}case g:case A:case H:case W:{if(!ta){var D=c.updateQueue;if(D!==null){var L=D.lastEffect;if(L!==null){var z=L.next,Q=z;do{var ge=Q,ve=ge.destroy,Ae=ge.tag;ve!==void 0&&((Ae&Wl)!==Si?qx(c,r,ve):(Ae&Mo)!==Si&&(ji(c),c.mode&Xt?(Kl(),qx(c,r,ve),Gl(c)):qx(c,r,ve),kc())),Q=Q.next}while(Q!==z)}}}pd(t,r,c);return}case S:{if(!ta){dh(c,r);var Ie=c.stateNode;typeof Ie.componentWillUnmount=="function"&&tR(c,r,Ie)}pd(t,r,c);return}case J:{pd(t,r,c);return}case X:{if(c.mode&Ft){var ze=ta;ta=ze||c.memoizedState!==null,pd(t,r,c),ta=ze}else pd(t,r,c);break}default:{pd(t,r,c);return}}}function YG(t){t.memoizedState}function qG(t,r){var c=r.memoizedState;if(c===null){var f=r.alternate;if(f!==null){var h=f.memoizedState;if(h!==null){var b=h.dehydrated;b!==null&&PY(b)}}}}function IA(t){var r=t.updateQueue;if(r!==null){t.updateQueue=null;var c=t.stateNode;c===null&&(c=t.stateNode=new MG),r.forEach(function(f){var h=UK.bind(null,t,f);if(!c.has(f)){if(c.add(f),Ia)if(uh!==null&&ch!==null)Ig(ch,uh);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");f.then(h,h)}})}}function GG(t,r,c){uh=c,ch=t,jn(r),$A(r,t),jn(r),uh=null,ch=null}function el(t,r,c){var f=r.deletions;if(f!==null)for(var h=0;h<f.length;h++){var b=f[h];try{WG(t,r,b)}catch(L){gr(b,r,L)}}var C=Dp();if(r.subtreeFlags&ha)for(var D=r.child;D!==null;)jn(D),$A(D,t),D=D.sibling;jn(C)}function $A(t,r,c){var f=t.alternate,h=t.flags;switch(t.tag){case g:case A:case H:case W:{if(el(r,t),Ql(t),h&on){try{Zs(Wl|ko,t,t.return),fd(Wl|ko,t)}catch(Gt){gr(t,t.return,Gt)}if(t.mode&Xt){try{Kl(),Zs(Mo|ko,t,t.return)}catch(Gt){gr(t,t.return,Gt)}Gl(t)}else try{Zs(Mo|ko,t,t.return)}catch(Gt){gr(t,t.return,Gt)}}return}case S:{el(r,t),Ql(t),h&fa&&f!==null&&dh(f,f.return);return}case k:{el(r,t),Ql(t),h&fa&&f!==null&&dh(f,f.return);{if(t.flags&Vn){var b=t.stateNode;try{I_(b)}catch(Gt){gr(t,t.return,Gt)}}if(h&on){var C=t.stateNode;if(C!=null){var D=t.memoizedProps,L=f!==null?f.memoizedProps:D,z=t.type,Q=t.updateQueue;if(t.updateQueue=null,Q!==null)try{oY(C,Q,z,L,D,t)}catch(Gt){gr(t,t.return,Gt)}}}}return}case O:{if(el(r,t),Ql(t),h&on){if(t.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var ge=t.stateNode,ve=t.memoizedProps,Ae=f!==null?f.memoizedProps:ve;try{aY(ge,Ae,ve)}catch(Gt){gr(t,t.return,Gt)}}return}case E:{if(el(r,t),Ql(t),h&on&&f!==null){var Ie=f.memoizedState;if(Ie.isDehydrated)try{MY(r.containerInfo)}catch(Gt){gr(t,t.return,Gt)}}return}case R:{el(r,t),Ql(t);return}case P:{el(r,t),Ql(t);var ze=t.child;if(ze.flags&_l){var vt=ze.stateNode,Vt=ze.memoizedState,Lt=Vt!==null;if(vt.isHidden=Lt,Lt){var Rn=ze.alternate!==null&&ze.alternate.memoizedState!==null;Rn||DK()}}if(h&on){try{YG(t)}catch(Gt){gr(t,t.return,Gt)}IA(t)}return}case X:{var gn=f!==null&&f.memoizedState!==null;if(t.mode&Ft){var ke=ta;ta=ke||gn,el(r,t),ta=ke}else el(r,t);if(Ql(t),h&_l){var Ue=t.stateNode,Me=t.memoizedState,rt=Me!==null,wt=t;if(Ue.isHidden=rt,rt&&!gn&&(wt.mode&Ft)!==Pt){Rt=wt;for(var yt=wt.child;yt!==null;)Rt=yt,QG(yt),yt=yt.sibling}BG(wt,rt)}return}case Z:{el(r,t),Ql(t),h&on&&IA(t);return}case J:return;default:{el(r,t),Ql(t);return}}}function Ql(t){var r=t.flags;if(r&hr){try{HG(t)}catch(c){gr(t,t.return,c)}t.flags&=~hr}r&si&&(t.flags&=~si)}function KG(t,r,c){uh=c,ch=r,Rt=t,jA(t,r,c),uh=null,ch=null}function jA(t,r,c){for(var f=(t.mode&Ft)!==Pt;Rt!==null;){var h=Rt,b=h.child;if(h.tag===X&&f){var C=h.memoizedState!==null,D=C||Yx;if(D){oR(t,r,c);continue}else{var L=h.alternate,z=L!==null&&L.memoizedState!==null,Q=z||ta,ge=Yx,ve=ta;Yx=D,ta=Q,ta&&!ve&&(Rt=h,XG(h));for(var Ae=b;Ae!==null;)Rt=Ae,jA(Ae,r,c),Ae=Ae.sibling;Rt=h,Yx=ge,ta=ve,oR(t,r,c);continue}}(h.subtreeFlags&$o)!==jt&&b!==null?(b.return=h,Rt=b):oR(t,r,c)}}function oR(t,r,c){for(;Rt!==null;){var f=Rt;if((f.flags&$o)!==jt){var h=f.alternate;jn(f);try{jG(r,h,f,c)}catch(C){gr(f,f.return,C)}Mr()}if(f===t){Rt=null;return}var b=f.sibling;if(b!==null){b.return=f.return,Rt=b;return}Rt=f.return}}function QG(t){for(;Rt!==null;){var r=Rt,c=r.child;switch(r.tag){case g:case A:case H:case W:{if(r.mode&Xt)try{Kl(),Zs(Mo,r,r.return)}finally{Gl(r)}else Zs(Mo,r,r.return);break}case S:{dh(r,r.return);var f=r.stateNode;typeof f.componentWillUnmount=="function"&&tR(r,r.return,f);break}case k:{dh(r,r.return);break}case X:{var h=r.memoizedState!==null;if(h){VA(t);continue}break}}c!==null?(c.return=r,Rt=c):VA(t)}}function VA(t){for(;Rt!==null;){var r=Rt;if(r===t){Rt=null;return}var c=r.sibling;if(c!==null){c.return=r.return,Rt=c;return}Rt=r.return}}function XG(t){for(;Rt!==null;){var r=Rt,c=r.child;if(r.tag===X){var f=r.memoizedState!==null;if(f){BA(t);continue}}c!==null?(c.return=r,Rt=c):BA(t)}}function BA(t){for(;Rt!==null;){var r=Rt;jn(r);try{VG(r)}catch(f){gr(r,r.return,f)}if(Mr(),r===t){Rt=null;return}var c=r.sibling;if(c!==null){c.return=r.return,Rt=c;return}Rt=r.return}}function ZG(t,r,c,f){Rt=r,JG(r,t,c,f)}function JG(t,r,c,f){for(;Rt!==null;){var h=Rt,b=h.child;(h.subtreeFlags&li)!==jt&&b!==null?(b.return=h,Rt=b):eK(t,r,c,f)}}function eK(t,r,c,f){for(;Rt!==null;){var h=Rt;if((h.flags&Sr)!==jt){jn(h);try{tK(r,h,c,f)}catch(C){gr(h,h.return,C)}Mr()}if(h===t){Rt=null;return}var b=h.sibling;if(b!==null){b.return=h.return,Rt=b;return}Rt=h.return}}function tK(t,r,c,f){switch(r.tag){case g:case A:case W:{if(r.mode&Xt){CT();try{fd(Jo|ko,r)}finally{wT(r)}}else fd(Jo|ko,r);break}}}function nK(t){Rt=t,rK()}function rK(){for(;Rt!==null;){var t=Rt,r=t.child;if((Rt.flags&In)!==jt){var c=t.deletions;if(c!==null){for(var f=0;f<c.length;f++){var h=c[f];Rt=h,iK(h,t)}{var b=t.alternate;if(b!==null){var C=b.child;if(C!==null){b.child=null;do{var D=C.sibling;C.sibling=null,C=D}while(C!==null)}}}Rt=t}}(t.subtreeFlags&li)!==jt&&r!==null?(r.return=t,Rt=r):oK()}}function oK(){for(;Rt!==null;){var t=Rt;(t.flags&Sr)!==jt&&(jn(t),aK(t),Mr());var r=t.sibling;if(r!==null){r.return=t.return,Rt=r;return}Rt=t.return}}function aK(t){switch(t.tag){case g:case A:case W:{t.mode&Xt?(CT(),Zs(Jo|ko,t,t.return),wT(t)):Zs(Jo|ko,t,t.return);break}}}function iK(t,r){for(;Rt!==null;){var c=Rt;jn(c),lK(c,r),Mr();var f=c.child;f!==null?(f.return=c,Rt=f):sK(t)}}function sK(t){for(;Rt!==null;){var r=Rt,c=r.sibling,f=r.return;if(NA(r),r===t){Rt=null;return}if(c!==null){c.return=f,Rt=c;return}Rt=f}}function lK(t,r){switch(t.tag){case g:case A:case W:{t.mode&Xt?(CT(),Zs(Jo,t,r),wT(t)):Zs(Jo,t,r);break}}}function uK(t){switch(t.tag){case g:case A:case W:{try{fd(Mo|ko,t)}catch(c){gr(t,t.return,c)}break}case S:{var r=t.stateNode;try{r.componentDidMount()}catch(c){gr(t,t.return,c)}break}}}function cK(t){switch(t.tag){case g:case A:case W:{try{fd(Jo|ko,t)}catch(r){gr(t,t.return,r)}break}}}function dK(t){switch(t.tag){case g:case A:case W:{try{Zs(Mo|ko,t,t.return)}catch(c){gr(t,t.return,c)}break}case S:{var r=t.stateNode;typeof r.componentWillUnmount=="function"&&tR(t,t.return,r);break}}}function fK(t){switch(t.tag){case g:case A:case W:try{Zs(Jo|ko,t,t.return)}catch(r){gr(t,t.return,r)}}}if(typeof Symbol=="function"&&Symbol.for){var Rg=Symbol.for;Rg("selector.component"),Rg("selector.has_pseudo_class"),Rg("selector.role"),Rg("selector.test_id"),Rg("selector.text")}var pK=[];function mK(){pK.forEach(function(t){return t()})}var hK=o.ReactCurrentActQueue;function vK(t){{var r=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,c=typeof jest<"u";return c&&r!==!1}}function zA(){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!t&&hK.current!==null&&m("The current testing environment is not configured to support act(...)"),t}}var yK=Math.ceil,aR=o.ReactCurrentDispatcher,iR=o.ReactCurrentOwner,ra=o.ReactCurrentBatchConfig,tl=o.ReactCurrentActQueue,No=0,UA=1,oa=2,xs=4,Wu=0,Og=1,Bf=2,Gx=3,Dg=4,HA=5,sR=6,Tn=No,Ba=null,Vr=null,Ao=Qe,Xl=Qe,lR=rd(Qe),Fo=Wu,kg=null,Kx=Qe,Mg=Qe,Qx=Qe,Pg=null,xi=null,uR=0,WA=500,YA=1/0,gK=500,Yu=null;function _g(){YA=Tr()+gK}function qA(){return YA}var Xx=!1,cR=null,fh=null,zf=!1,md=null,Ng=Qe,dR=[],fR=null,bK=50,Ag=0,pR=null,mR=!1,Zx=!1,SK=50,ph=0,Jx=null,Fg=cr,ew=Qe,GA=!1;function tw(){return Ba}function za(){return(Tn&(oa|xs))!==No?Tr():(Fg!==cr||(Fg=Tr()),Fg)}function hd(t){var r=t.mode;if((r&Ft)===Pt)return It;if((Tn&oa)!==No&&Ao!==Qe)return $c(Ao);var c=hq()!==mq;if(c){if(ra.transition!==null){var f=ra.transition;f._updatedFibers||(f._updatedFibers=new Set),f._updatedFibers.add(t)}return ew===eo&&(ew=pS()),ew}var h=pi();if(h!==eo)return h;var b=J7();return b}function xK(t){var r=t.mode;return(r&Ft)===Pt?It:ba()}function Lo(t,r,c,f){WK(),GA&&m("useInsertionEffect must not schedule updates."),mR&&(Zx=!0),Pu(t,c,f),(Tn&oa)!==Qe&&t===Ba?GK(r):(Ia&&Sm(t,r,c),KK(r),t===Ba&&((Tn&oa)===No&&(Mg=rn(Mg,c)),Fo===Dg&&vd(t,Ao)),wi(t,f),c===It&&Tn===No&&(r.mode&Ft)===Pt&&!tl.isBatchingLegacy&&(_g(),G_()))}function wK(t,r,c){var f=t.current;f.lanes=r,Pu(t,r,c),wi(t,c)}function CK(t){return(Tn&oa)!==No}function wi(t,r){var c=t.callbackNode;lS(t,r);var f=ku(t,t===Ba?Ao:Qe);if(f===Qe){c!==null&&cF(c),t.callbackNode=null,t.callbackPriority=eo;return}var h=Ir(f),b=t.callbackPriority;if(b===h&&!(tl.current!==null&&c!==xR)){c==null&&b!==It&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}c!=null&&cF(c);var C;if(h===It)t.tag===od?(tl.isBatchingLegacy!==null&&(tl.didScheduleLegacyUpdate=!0),XY(XA.bind(null,t))):q_(XA.bind(null,t)),tl.current!==null?tl.current.push(ad):tY(function(){(Tn&(oa|xs))===No&&ad()}),C=null;else{var D;switch(Do(f)){case $r:D=qp;break;case Bs:D=wu;break;case fs:D=ds;break;case jc:D=Gp;break;default:D=ds;break}C=wR(D,KA.bind(null,t))}t.callbackPriority=h,t.callbackNode=C}function KA(t,r){if(Bq(),Fg=cr,ew=Qe,(Tn&(oa|xs))!==No)throw new Error("Should not already be working.");var c=t.callbackNode,f=Gu();if(f&&t.callbackNode!==c)return null;var h=ku(t,t===Ba?Ao:Qe);if(h===Qe)return null;var b=!mf(t,h)&&!fS(t,h)&&!r,C=b?NK(t,h):rw(t,h);if(C!==Wu){if(C===Bf){var D=Il(t);D!==Qe&&(h=D,C=hR(t,D))}if(C===Og){var L=kg;throw Uf(t,Qe),vd(t,h),wi(t,Tr()),L}if(C===sR)vd(t,h);else{var z=!mf(t,h),Q=t.current.alternate;if(z&&!TK(Q)){if(C=rw(t,h),C===Bf){var ge=Il(t);ge!==Qe&&(h=ge,C=hR(t,ge))}if(C===Og){var ve=kg;throw Uf(t,Qe),vd(t,h),wi(t,Tr()),ve}}t.finishedWork=Q,t.finishedLanes=h,EK(t,C,h)}}return wi(t,Tr()),t.callbackNode===c?KA.bind(null,t):null}function hR(t,r){var c=Pg;if(xm(t)){var f=Uf(t,r);f.flags|=Pr,HY(t.containerInfo)}var h=rw(t,r);if(h!==Bf){var b=xi;xi=c,b!==null&&QA(b)}return h}function QA(t){xi===null?xi=t:xi.push.apply(xi,t)}function EK(t,r,c){switch(r){case Wu:case Og:throw new Error("Root did not complete. This is a bug in React.");case Bf:{Hf(t,xi,Yu);break}case Gx:{if(vd(t,c),uS(c)&&!dF()){var f=uR+WA-Tr();if(f>10){var h=ku(t,Qe);if(h!==Qe)break;var b=t.suspendedLanes;if(!Mu(b,c)){za(),gm(t,b);break}t.timeoutHandle=f1(Hf.bind(null,t,xi,Yu),f);break}}Hf(t,xi,Yu);break}case Dg:{if(vd(t,c),dS(c))break;if(!dF()){var C=iS(t,c),D=C,L=Tr()-D,z=HK(L)-L;if(z>10){t.timeoutHandle=f1(Hf.bind(null,t,xi,Yu),z);break}}Hf(t,xi,Yu);break}case HA:{Hf(t,xi,Yu);break}default:throw new Error("Unknown root exit status.")}}function TK(t){for(var r=t;;){if(r.flags&rf){var c=r.updateQueue;if(c!==null){var f=c.stores;if(f!==null)for(var h=0;h<f.length;h++){var b=f[h],C=b.getSnapshot,D=b.value;try{if(!Tt(C(),D))return!1}catch{return!1}}}}var L=r.child;if(r.subtreeFlags&rf&&L!==null){L.return=r,r=L;continue}if(r===t)return!0;for(;r.sibling===null;){if(r.return===null||r.return===t)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}return!0}function vd(t,r){r=hf(r,Qx),r=hf(r,Mg),hS(t,r)}function XA(t){if(zq(),(Tn&(oa|xs))!==No)throw new Error("Should not already be working.");Gu();var r=ku(t,Qe);if(!Sa(r,It))return wi(t,Tr()),null;var c=rw(t,r);if(t.tag!==od&&c===Bf){var f=Il(t);f!==Qe&&(r=f,c=hR(t,f))}if(c===Og){var h=kg;throw Uf(t,Qe),vd(t,r),wi(t,Tr()),h}if(c===sR)throw new Error("Root did not complete. This is a bug in React.");var b=t.current.alternate;return t.finishedWork=b,t.finishedLanes=r,Hf(t,xi,Yu),wi(t,Tr()),null}function RK(t,r){r!==Qe&&(Ty(t,rn(r,It)),wi(t,Tr()),(Tn&(oa|xs))===No&&(_g(),ad()))}function vR(t,r){var c=Tn;Tn|=UA;try{return t(r)}finally{Tn=c,Tn===No&&!tl.isBatchingLegacy&&(_g(),G_())}}function OK(t,r,c,f,h){var b=pi(),C=ra.transition;try{return ra.transition=null,_r($r),t(r,c,f,h)}finally{_r(b),ra.transition=C,Tn===No&&_g()}}function qu(t){md!==null&&md.tag===od&&(Tn&(oa|xs))===No&&Gu();var r=Tn;Tn|=UA;var c=ra.transition,f=pi();try{return ra.transition=null,_r($r),t?t():void 0}finally{_r(f),ra.transition=c,Tn=r,(Tn&(oa|xs))===No&&ad()}}function ZA(){return(Tn&(oa|xs))!==No}function nw(t,r){Ca(lR,Xl,t),Xl=rn(Xl,r)}function yR(t){Xl=lR.current,wa(lR,t)}function Uf(t,r){t.finishedWork=null,t.finishedLanes=Qe;var c=t.timeoutHandle;if(c!==p1&&(t.timeoutHandle=p1,eY(c)),Vr!==null)for(var f=Vr.return;f!==null;){var h=f.alternate;OA(h,f),f=f.return}Ba=t;var b=Wf(t.current,null);return Vr=b,Ao=Xl=r,Fo=Wu,kg=null,Kx=Qe,Mg=Qe,Qx=Qe,Pg=null,xi=null,wq(),qs.discardPendingWarnings(),b}function JA(t,r){do{var c=Vr;try{if(fx(),CN(),Mr(),iR.current=null,c===null||c.return===null){Fo=Og,kg=r,Vr=null;return}if(we&&c.mode&Xt&&Bx(c,!0),ue)if(ya(),r!==null&&typeof r=="object"&&typeof r.then=="function"){var f=r;Eu(c,f,Ao)}else sf(c,r,Ao);Xq(t,c.return,c,r,Ao),rF(c)}catch(h){r=h,Vr===c&&c!==null?(c=c.return,Vr=c):c=Vr;continue}return}while(!0)}function eF(){var t=aR.current;return aR.current=Lx,t===null?Lx:t}function tF(t){aR.current=t}function DK(){uR=Tr()}function Lg(t){Kx=rn(t,Kx)}function kK(){Fo===Wu&&(Fo=Gx)}function gR(){(Fo===Wu||Fo===Gx||Fo===Bf)&&(Fo=Dg),Ba!==null&&(pf(Kx)||pf(Mg))&&vd(Ba,Ao)}function MK(t){Fo!==Dg&&(Fo=Bf),Pg===null?Pg=[t]:Pg.push(t)}function PK(){return Fo===Wu}function rw(t,r){var c=Tn;Tn|=oa;var f=eF();if(Ba!==t||Ao!==r){if(Ia){var h=t.memoizedUpdaters;h.size>0&&(Ig(t,Ao),h.clear()),Ry(t,r)}Yu=yf(),Uf(t,r)}xr(r);do try{_K();break}catch(b){JA(t,b)}while(!0);if(fx(),Tn=c,tF(f),Vr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Jp(),Ba=null,Ao=Qe,Fo}function _K(){for(;Vr!==null;)nF(Vr)}function NK(t,r){var c=Tn;Tn|=oa;var f=eF();if(Ba!==t||Ao!==r){if(Ia){var h=t.memoizedUpdaters;h.size>0&&(Ig(t,Ao),h.clear()),Ry(t,r)}Yu=yf(),_g(),Uf(t,r)}xr(r);do try{AK();break}catch(b){JA(t,b)}while(!0);return fx(),tF(f),Tn=c,Vr!==null?(Zp(),Wu):(Jp(),Ba=null,Ao=Qe,Fo)}function AK(){for(;Vr!==null&&!Yp();)nF(Vr)}function nF(t){var r=t.alternate;jn(t);var c;(t.mode&Xt)!==Pt?(xT(t),c=bR(r,t,Xl),Bx(t,!0)):c=bR(r,t,Xl),Mr(),t.memoizedProps=t.pendingProps,c===null?rF(t):Vr=c,iR.current=null}function rF(t){var r=t;do{var c=r.alternate,f=r.return;if((r.flags&Aa)===jt){jn(r);var h=void 0;if((r.mode&Xt)===Pt?h=RA(c,r,Xl):(xT(r),h=RA(c,r,Xl),Bx(r,!1)),Mr(),h!==null){Vr=h;return}}else{var b=kG(c,r);if(b!==null){b.flags&=K0,Vr=b;return}if((r.mode&Xt)!==Pt){Bx(r,!1);for(var C=r.actualDuration,D=r.child;D!==null;)C+=D.actualDuration,D=D.sibling;r.actualDuration=C}if(f!==null)f.flags|=Aa,f.subtreeFlags=jt,f.deletions=null;else{Fo=sR,Vr=null;return}}var L=r.sibling;if(L!==null){Vr=L;return}r=f,Vr=r}while(r!==null);Fo===Wu&&(Fo=HA)}function Hf(t,r,c){var f=pi(),h=ra.transition;try{ra.transition=null,_r($r),FK(t,r,c,f)}finally{ra.transition=h,_r(f)}return null}function FK(t,r,c,f){do Gu();while(md!==null);if(YK(),(Tn&(oa|xs))!==No)throw new Error("Should not already be working.");var h=t.finishedWork,b=t.finishedLanes;if(Al(b),h===null)return Kp(),null;if(b===Qe&&m("root.finishedLanes should not be empty during a commit. This is a bug in React."),t.finishedWork=null,t.finishedLanes=Qe,h===t.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");t.callbackNode=null,t.callbackPriority=eo;var C=rn(h.lanes,h.childLanes);bm(t,C),t===Ba&&(Ba=null,Vr=null,Ao=Qe),((h.subtreeFlags&li)!==jt||(h.flags&li)!==jt)&&(zf||(zf=!0,fR=c,wR(ds,function(){return Gu(),null})));var D=(h.subtreeFlags&(Tc|ha|$o|li))!==jt,L=(h.flags&(Tc|ha|$o|li))!==jt;if(D||L){var z=ra.transition;ra.transition=null;var Q=pi();_r($r);var ge=Tn;Tn|=xs,iR.current=null,AG(t,h),GN(),GG(t,h,b),q7(t.containerInfo),t.current=h,yy(b),KG(h,t,b),Mc(),Z0(),Tn=ge,_r(Q),ra.transition=z}else t.current=h,GN();var ve=zf;if(zf?(zf=!1,md=t,Ng=b):(ph=0,Jx=null),C=t.pendingLanes,C===Qe&&(fh=null),ve||sF(t.current,!1),Oc(h.stateNode,f),Ia&&t.memoizedUpdaters.clear(),mK(),wi(t,Tr()),r!==null)for(var Ae=t.onRecoverableError,Ie=0;Ie<r.length;Ie++){var ze=r[Ie],vt=ze.stack,Vt=ze.digest;Ae(ze.value,{componentStack:vt,digest:Vt})}if(Xx){Xx=!1;var Lt=cR;throw cR=null,Lt}return Sa(Ng,It)&&t.tag!==od&&Gu(),C=t.pendingLanes,Sa(C,It)?(Vq(),t===pR?Ag++:(Ag=0,pR=t)):Ag=0,ad(),Kp(),null}function Gu(){if(md!==null){var t=Do(Ng),r=IE(fs,t),c=ra.transition,f=pi();try{return ra.transition=null,_r(r),IK()}finally{_r(f),ra.transition=c}}return!1}function LK(t){dR.push(t),zf||(zf=!0,wR(ds,function(){return Gu(),null}))}function IK(){if(md===null)return!1;var t=fR;fR=null;var r=md,c=Ng;if(md=null,Ng=Qe,(Tn&(oa|xs))!==No)throw new Error("Cannot flush passive effects while already rendering.");mR=!0,Zx=!1,oS(c);var f=Tn;Tn|=xs,nK(r.current),ZG(r,r.current,c,t);{var h=dR;dR=[];for(var b=0;b<h.length;b++){var C=h[b];$G(r,C)}}gy(),sF(r.current,!0),Tn=f,ad(),Zx?r===Jx?ph++:(ph=0,Jx=r):ph=0,mR=!1,Zx=!1,di(r);{var D=r.current.stateNode;D.effectDuration=0,D.passiveEffectDuration=0}return!0}function oF(t){return fh!==null&&fh.has(t)}function $K(t){fh===null?fh=new Set([t]):fh.add(t)}function jK(t){Xx||(Xx=!0,cR=t)}var VK=jK;function aF(t,r,c){var f=jf(c,r),h=nA(t,f,It),b=sd(t,h,It),C=za();b!==null&&(Pu(b,It,C),wi(b,C))}function gr(t,r,c){if(PG(c),$g(!1),t.tag===E){aF(t,t,c);return}var f=null;for(f=r;f!==null;){if(f.tag===E){aF(f,t,c);return}else if(f.tag===S){var h=f.type,b=f.stateNode;if(typeof h.getDerivedStateFromError=="function"||typeof b.componentDidCatch=="function"&&!oF(b)){var C=jf(c,t),D=jT(f,C,It),L=sd(f,D,It),z=za();L!==null&&(Pu(L,It,z),wi(L,z));return}}f=f.return}m(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
303
|
+
|
|
304
|
+
Error message:
|
|
305
|
+
|
|
306
|
+
%s`,c)}function BK(t,r,c){var f=t.pingCache;f!==null&&f.delete(r);var h=za();gm(t,c),QK(t),Ba===t&&Mu(Ao,c)&&(Fo===Dg||Fo===Gx&&uS(Ao)&&Tr()-uR<WA?Uf(t,Qe):Qx=rn(Qx,c)),wi(t,h)}function iF(t,r){r===eo&&(r=xK(t));var c=za(),f=bi(t,r);f!==null&&(Pu(f,r,c),wi(f,c))}function zK(t){var r=t.memoizedState,c=eo;r!==null&&(c=r.retryLane),iF(t,c)}function UK(t,r){var c=eo,f;switch(t.tag){case P:f=t.stateNode;var h=t.memoizedState;h!==null&&(c=h.retryLane);break;case Z:f=t.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}f!==null&&f.delete(r),iF(t,c)}function HK(t){return t<120?120:t<480?480:t<1080?1080:t<1920?1920:t<3e3?3e3:t<4320?4320:yK(t/1960)*1960}function WK(){if(Ag>bK)throw Ag=0,pR=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");ph>SK&&(ph=0,Jx=null,m("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function YK(){qs.flushLegacyContextWarning(),qs.flushPendingUnsafeLifecycleWarnings()}function sF(t,r){jn(t),ow(t,ma,dK),r&&ow(t,xu,fK),ow(t,ma,uK),r&&ow(t,xu,cK),Mr()}function ow(t,r,c){for(var f=t,h=null;f!==null;){var b=f.subtreeFlags&r;f!==h&&f.child!==null&&b!==jt?f=f.child:((f.flags&r)!==jt&&c(f),f.sibling!==null?f=f.sibling:f=h=f.return)}}var aw=null;function lF(t){{if((Tn&oa)!==No||!(t.mode&Ft))return;var r=t.tag;if(r!==w&&r!==E&&r!==S&&r!==g&&r!==A&&r!==H&&r!==W)return;var c=Jt(t)||"ReactComponent";if(aw!==null){if(aw.has(c))return;aw.add(c)}else aw=new Set([c]);var f=Er;try{jn(t),m("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{f?jn(t):Mr()}}}var bR;{var qK=null;bR=function(t,r,c){var f=vF(qK,r);try{return xA(t,r,c)}catch(b){if(aq()||b!==null&&typeof b=="object"&&typeof b.then=="function")throw b;if(fx(),CN(),OA(t,r),vF(r,f),r.mode&Xt&&xT(r),Su(null,xA,null,t,r,c),_E()){var h=ly();typeof h=="object"&&h!==null&&h._suppressLogging&&typeof b=="object"&&b!==null&&!b._suppressLogging&&(b._suppressLogging=!0)}throw b}}}var uF=!1,SR;SR=new Set;function GK(t){if(ua&&!Iq())switch(t.tag){case g:case A:case W:{var r=Vr&&Jt(Vr)||"Unknown",c=r;if(!SR.has(c)){SR.add(c);var f=Jt(t)||"Unknown";m("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",f,r,r)}break}case S:{uF||(m("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),uF=!0);break}}}function Ig(t,r){if(Ia){var c=t.memoizedUpdaters;c.forEach(function(f){Sm(t,f,r)})}}var xR={};function wR(t,r){{var c=tl.current;return c!==null?(c.push(r),xR):Wp(t,r)}}function cF(t){if(t!==xR)return X0(t)}function dF(){return tl.current!==null}function KK(t){{if(t.mode&Ft){if(!zA())return}else if(!vK()||Tn!==No||t.tag!==g&&t.tag!==A&&t.tag!==W)return;if(tl.current===null){var r=Er;try{jn(t),m(`An update to %s inside a test was not wrapped in act(...).
|
|
307
|
+
|
|
308
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
309
|
+
|
|
310
|
+
act(() => {
|
|
311
|
+
/* fire events that update state */
|
|
312
|
+
});
|
|
313
|
+
/* assert on the output */
|
|
314
|
+
|
|
315
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,Jt(t))}finally{r?jn(t):Mr()}}}}function QK(t){t.tag!==od&&zA()&&tl.current===null&&m(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
316
|
+
|
|
317
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
318
|
+
|
|
319
|
+
act(() => {
|
|
320
|
+
/* finish loading suspended data */
|
|
321
|
+
});
|
|
322
|
+
/* assert on the output */
|
|
323
|
+
|
|
324
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function $g(t){GA=t}var ws=null,mh=null,XK=function(t){ws=t};function hh(t){{if(ws===null)return t;var r=ws(t);return r===void 0?t:r.current}}function CR(t){return hh(t)}function ER(t){{if(ws===null)return t;var r=ws(t);if(r===void 0){if(t!=null&&typeof t.render=="function"){var c=hh(t.render);if(t.render!==c){var f={$$typeof:ot,render:c};return t.displayName!==void 0&&(f.displayName=t.displayName),f}}return t}return r.current}}function fF(t,r){{if(ws===null)return!1;var c=t.elementType,f=r.type,h=!1,b=typeof f=="object"&&f!==null?f.$$typeof:null;switch(t.tag){case S:{typeof f=="function"&&(h=!0);break}case g:{(typeof f=="function"||b===zt)&&(h=!0);break}case A:{(b===ot||b===zt)&&(h=!0);break}case H:case W:{(b===Sn||b===zt)&&(h=!0);break}default:return!1}if(h){var C=ws(c);if(C!==void 0&&C===ws(f))return!0}return!1}}function pF(t){{if(ws===null||typeof WeakSet!="function")return;mh===null&&(mh=new WeakSet),mh.add(t)}}var ZK=function(t,r){{if(ws===null)return;var c=r.staleFamilies,f=r.updatedFamilies;Gu(),qu(function(){TR(t.current,f,c)})}},JK=function(t,r){{if(t.context!==Vi)return;Gu(),qu(function(){jg(r,t,null,null)})}};function TR(t,r,c){{var f=t.alternate,h=t.child,b=t.sibling,C=t.tag,D=t.type,L=null;switch(C){case g:case W:case S:L=D;break;case A:L=D.render;break}if(ws===null)throw new Error("Expected resolveFamily to be set during hot reload.");var z=!1,Q=!1;if(L!==null){var ge=ws(L);ge!==void 0&&(c.has(ge)?Q=!0:r.has(ge)&&(C===S?Q=!0:z=!0))}if(mh!==null&&(mh.has(t)||f!==null&&mh.has(f))&&(Q=!0),Q&&(t._debugNeedsRemount=!0),Q||z){var ve=bi(t,It);ve!==null&&Lo(ve,t,It,cr)}h!==null&&!Q&&TR(h,r,c),b!==null&&TR(b,r,c)}}var eQ=function(t,r){{var c=new Set,f=new Set(r.map(function(h){return h.current}));return RR(t.current,f,c),c}};function RR(t,r,c){{var f=t.child,h=t.sibling,b=t.tag,C=t.type,D=null;switch(b){case g:case W:case S:D=C;break;case A:D=C.render;break}var L=!1;D!==null&&r.has(D)&&(L=!0),L?tQ(t,c):f!==null&&RR(f,r,c),h!==null&&RR(h,r,c)}}function tQ(t,r){{var c=nQ(t,r);if(c)return;for(var f=t;;){switch(f.tag){case k:r.add(f.stateNode);return;case R:r.add(f.stateNode.containerInfo);return;case E:r.add(f.stateNode.containerInfo);return}if(f.return===null)throw new Error("Expected to reach root first.");f=f.return}}}function nQ(t,r){for(var c=t,f=!1;;){if(c.tag===k)f=!0,r.add(c.stateNode);else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)return f;for(;c.sibling===null;){if(c.return===null||c.return===t)return f;c=c.return}c.sibling.return=c.return,c=c.sibling}return!1}var OR;{OR=!1;try{var mF=Object.preventExtensions({})}catch{OR=!0}}function rQ(t,r,c,f){this.tag=t,this.key=c,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=r,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=f,this.flags=jt,this.subtreeFlags=jt,this.deletions=null,this.lanes=Qe,this.childLanes=Qe,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!OR&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Bi=function(t,r,c,f){return new rQ(t,r,c,f)};function DR(t){var r=t.prototype;return!!(r&&r.isReactComponent)}function oQ(t){return typeof t=="function"&&!DR(t)&&t.defaultProps===void 0}function aQ(t){if(typeof t=="function")return DR(t)?S:g;if(t!=null){var r=t.$$typeof;if(r===ot)return A;if(r===Sn)return H}return w}function Wf(t,r){var c=t.alternate;c===null?(c=Bi(t.tag,r,t.key,t.mode),c.elementType=t.elementType,c.type=t.type,c.stateNode=t.stateNode,c._debugSource=t._debugSource,c._debugOwner=t._debugOwner,c._debugHookTypes=t._debugHookTypes,c.alternate=t,t.alternate=c):(c.pendingProps=r,c.type=t.type,c.flags=jt,c.subtreeFlags=jt,c.deletions=null,c.actualDuration=0,c.actualStartTime=-1),c.flags=t.flags&Ro,c.childLanes=t.childLanes,c.lanes=t.lanes,c.child=t.child,c.memoizedProps=t.memoizedProps,c.memoizedState=t.memoizedState,c.updateQueue=t.updateQueue;var f=t.dependencies;switch(c.dependencies=f===null?null:{lanes:f.lanes,firstContext:f.firstContext},c.sibling=t.sibling,c.index=t.index,c.ref=t.ref,c.selfBaseDuration=t.selfBaseDuration,c.treeBaseDuration=t.treeBaseDuration,c._debugNeedsRemount=t._debugNeedsRemount,c.tag){case w:case g:case W:c.type=hh(t.type);break;case S:c.type=CR(t.type);break;case A:c.type=ER(t.type);break}return c}function iQ(t,r){t.flags&=Ro|hr;var c=t.alternate;if(c===null)t.childLanes=Qe,t.lanes=r,t.child=null,t.subtreeFlags=jt,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null,t.selfBaseDuration=0,t.treeBaseDuration=0;else{t.childLanes=c.childLanes,t.lanes=c.lanes,t.child=c.child,t.subtreeFlags=jt,t.deletions=null,t.memoizedProps=c.memoizedProps,t.memoizedState=c.memoizedState,t.updateQueue=c.updateQueue,t.type=c.type;var f=c.dependencies;t.dependencies=f===null?null:{lanes:f.lanes,firstContext:f.firstContext},t.selfBaseDuration=c.selfBaseDuration,t.treeBaseDuration=c.treeBaseDuration}return t}function sQ(t,r,c){var f;return t===nx?(f=Ft,r===!0&&(f|=pn,f|=$a)):f=Pt,Ia&&(f|=Xt),Bi(E,null,null,f)}function kR(t,r,c,f,h,b){var C=w,D=t;if(typeof t=="function")DR(t)?(C=S,D=CR(D)):D=hh(D);else if(typeof t=="string")C=k;else e:switch(t){case Na:return yd(c.children,h,b,r);case os:C=M,h|=pn,(h&Ft)!==Pt&&(h|=$a);break;case as:return lQ(c,h,b,r);case At:return uQ(c,h,b,r);case vn:return cQ(c,h,b,r);case ar:return hF(c,h,b,r);case mr:case sn:case Io:case is:case Xr:default:{if(typeof t=="object"&&t!==null)switch(t.$$typeof){case de:C=j;break e;case Ze:C=V;break e;case ot:C=A,D=ER(D);break e;case Sn:C=H;break e;case zt:C=Y,D=null;break e}var L="";{(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(L+=" 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 z=f?Jt(f):null;z&&(L+=`
|
|
325
|
+
|
|
326
|
+
Check the render method of \``+z+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(t==null?t:typeof t)+"."+L))}}var Q=Bi(C,c,r,h);return Q.elementType=t,Q.type=D,Q.lanes=b,Q._debugOwner=f,Q}function MR(t,r,c){var f=null;f=t._owner;var h=t.type,b=t.key,C=t.props,D=kR(h,b,C,f,r,c);return D._debugSource=t._source,D._debugOwner=t._owner,D}function yd(t,r,c,f){var h=Bi(_,t,f,r);return h.lanes=c,h}function lQ(t,r,c,f){typeof t.id!="string"&&m('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof t.id);var h=Bi($,t,f,r|Xt);return h.elementType=as,h.lanes=c,h.stateNode={effectDuration:0,passiveEffectDuration:0},h}function uQ(t,r,c,f){var h=Bi(P,t,f,r);return h.elementType=At,h.lanes=c,h}function cQ(t,r,c,f){var h=Bi(Z,t,f,r);return h.elementType=vn,h.lanes=c,h}function hF(t,r,c,f){var h=Bi(X,t,f,r);h.elementType=ar,h.lanes=c;var b={isHidden:!1};return h.stateNode=b,h}function PR(t,r,c){var f=Bi(O,t,null,r);return f.lanes=c,f}function dQ(){var t=Bi(k,null,null,Pt);return t.elementType="DELETED",t}function fQ(t){var r=Bi(K,null,null,Pt);return r.stateNode=t,r}function _R(t,r,c){var f=t.children!==null?t.children:[],h=Bi(R,f,t.key,r);return h.lanes=c,h.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},h}function vF(t,r){return t===null&&(t=Bi(w,null,null,Pt)),t.tag=r.tag,t.key=r.key,t.elementType=r.elementType,t.type=r.type,t.stateNode=r.stateNode,t.return=r.return,t.child=r.child,t.sibling=r.sibling,t.index=r.index,t.ref=r.ref,t.pendingProps=r.pendingProps,t.memoizedProps=r.memoizedProps,t.updateQueue=r.updateQueue,t.memoizedState=r.memoizedState,t.dependencies=r.dependencies,t.mode=r.mode,t.flags=r.flags,t.subtreeFlags=r.subtreeFlags,t.deletions=r.deletions,t.lanes=r.lanes,t.childLanes=r.childLanes,t.alternate=r.alternate,t.actualDuration=r.actualDuration,t.actualStartTime=r.actualStartTime,t.selfBaseDuration=r.selfBaseDuration,t.treeBaseDuration=r.treeBaseDuration,t._debugSource=r._debugSource,t._debugOwner=r._debugOwner,t._debugNeedsRemount=r._debugNeedsRemount,t._debugHookTypes=r._debugHookTypes,t}function pQ(t,r,c,f,h){this.tag=r,this.containerInfo=t,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=p1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=eo,this.eventTimes=vf(Qe),this.expirationTimes=vf(cr),this.pendingLanes=Qe,this.suspendedLanes=Qe,this.pingedLanes=Qe,this.expiredLanes=Qe,this.mutableReadLanes=Qe,this.finishedLanes=Qe,this.entangledLanes=Qe,this.entanglements=vf(Qe),this.identifierPrefix=f,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var b=this.pendingUpdatersLaneMap=[],C=0;C<cf;C++)b.push(new Set)}switch(r){case nx:this._debugRootType=c?"hydrateRoot()":"createRoot()";break;case od:this._debugRootType=c?"hydrate()":"render()";break}}function yF(t,r,c,f,h,b,C,D,L,z){var Q=new pQ(t,r,c,D,L),ge=sQ(r,b);Q.current=ge,ge.stateNode=Q;{var ve={element:f,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null};ge.memoizedState=ve}return W1(ge),Q}var NR="18.3.1";function mQ(t,r,c){var f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return ce(f),{$$typeof:Wo,key:f==null?null:""+f,children:t,containerInfo:r,implementation:c}}var AR,FR;AR=!1,FR={};function gF(t){if(!t)return Vi;var r=ai(t),c=QY(r);if(r.tag===S){var f=r.type;if(Hl(f))return W_(r,f,c)}return c}function hQ(t,r){{var c=ai(t);if(c===void 0){if(typeof t.render=="function")throw new Error("Unable to find node on an unmounted component.");var f=Object.keys(t).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+f)}var h=ui(c);if(h===null)return null;if(h.mode&pn){var b=Jt(c)||"Component";if(!FR[b]){FR[b]=!0;var C=Er;try{jn(h),c.mode&pn?m("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",r,r,b):m("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",r,r,b)}finally{C?jn(C):Mr()}}}return h.stateNode}}function bF(t,r,c,f,h,b,C,D){var L=!1,z=null;return yF(t,r,L,z,c,f,h,b,C)}function SF(t,r,c,f,h,b,C,D,L,z){var Q=!0,ge=yF(c,f,Q,t,h,b,C,D,L);ge.context=gF(null);var ve=ge.current,Ae=za(),Ie=hd(ve),ze=Uu(Ae,Ie);return ze.callback=r??null,sd(ve,ze,Ie),wK(ge,Ie,Ae),ge}function jg(t,r,c,f){vy(r,t);var h=r.current,b=za(),C=hd(h);by(C);var D=gF(c);r.context===null?r.context=D:r.pendingContext=D,ua&&Er!==null&&!AR&&(AR=!0,m(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
327
|
+
|
|
328
|
+
Check the render method of %s.`,Jt(Er)||"Unknown"));var L=Uu(b,C);L.payload={element:t},f=f===void 0?null:f,f!==null&&(typeof f!="function"&&m("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",f),L.callback=f);var z=sd(h,L,C);return z!==null&&(Lo(z,h,C,b),yx(z,h,C)),C}function iw(t){var r=t.current;if(!r.child)return null;switch(r.child.tag){case k:return r.child.stateNode;default:return r.child.stateNode}}function vQ(t){switch(t.tag){case E:{var r=t.stateNode;if(xm(r)){var c=wy(r);RK(r,c)}break}case P:{qu(function(){var h=bi(t,It);if(h!==null){var b=za();Lo(h,t,It,b)}});var f=It;LR(t,f);break}}}function xF(t,r){var c=t.memoizedState;c!==null&&c.dehydrated!==null&&(c.retryLane=mS(c.retryLane,r))}function LR(t,r){xF(t,r);var c=t.alternate;c&&xF(c,r)}function yQ(t){if(t.tag===P){var r=ff,c=bi(t,r);if(c!==null){var f=za();Lo(c,t,r,f)}LR(t,r)}}function gQ(t){if(t.tag===P){var r=hd(t),c=bi(t,r);if(c!==null){var f=za();Lo(c,t,r,f)}LR(t,r)}}function wF(t){var r=Q0(t);return r===null?null:r.stateNode}var CF=function(t){return null};function bQ(t){return CF(t)}var EF=function(t){return!1};function SQ(t){return EF(t)}var TF=null,RF=null,OF=null,DF=null,kF=null,MF=null,PF=null,_F=null,NF=null;{var AF=function(t,r,c){var f=r[c],h=wn(t)?t.slice():ln({},t);return c+1===r.length?(wn(h)?h.splice(f,1):delete h[f],h):(h[f]=AF(t[f],r,c+1),h)},FF=function(t,r){return AF(t,r,0)},LF=function(t,r,c,f){var h=r[f],b=wn(t)?t.slice():ln({},t);if(f+1===r.length){var C=c[f];b[C]=b[h],wn(b)?b.splice(h,1):delete b[h]}else b[h]=LF(t[h],r,c,f+1);return b},IF=function(t,r,c){if(r.length!==c.length){d("copyWithRename() expects paths of the same length");return}else for(var f=0;f<c.length-1;f++)if(r[f]!==c[f]){d("copyWithRename() expects paths to be the same except for the deepest key");return}return LF(t,r,c,0)},$F=function(t,r,c,f){if(c>=r.length)return f;var h=r[c],b=wn(t)?t.slice():ln({},t);return b[h]=$F(t[h],r,c+1,f),b},jF=function(t,r,c){return $F(t,r,0,c)},IR=function(t,r){for(var c=t.memoizedState;c!==null&&r>0;)c=c.next,r--;return c};TF=function(t,r,c,f){var h=IR(t,r);if(h!==null){var b=jF(h.memoizedState,c,f);h.memoizedState=b,h.baseState=b,t.memoizedProps=ln({},t.memoizedProps);var C=bi(t,It);C!==null&&Lo(C,t,It,cr)}},RF=function(t,r,c){var f=IR(t,r);if(f!==null){var h=FF(f.memoizedState,c);f.memoizedState=h,f.baseState=h,t.memoizedProps=ln({},t.memoizedProps);var b=bi(t,It);b!==null&&Lo(b,t,It,cr)}},OF=function(t,r,c,f){var h=IR(t,r);if(h!==null){var b=IF(h.memoizedState,c,f);h.memoizedState=b,h.baseState=b,t.memoizedProps=ln({},t.memoizedProps);var C=bi(t,It);C!==null&&Lo(C,t,It,cr)}},DF=function(t,r,c){t.pendingProps=jF(t.memoizedProps,r,c),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var f=bi(t,It);f!==null&&Lo(f,t,It,cr)},kF=function(t,r){t.pendingProps=FF(t.memoizedProps,r),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var c=bi(t,It);c!==null&&Lo(c,t,It,cr)},MF=function(t,r,c){t.pendingProps=IF(t.memoizedProps,r,c),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var f=bi(t,It);f!==null&&Lo(f,t,It,cr)},PF=function(t){var r=bi(t,It);r!==null&&Lo(r,t,It,cr)},_F=function(t){CF=t},NF=function(t){EF=t}}function xQ(t){var r=ui(t);return r===null?null:r.stateNode}function wQ(t){return null}function CQ(){return Er}function EQ(t){var r=t.findFiberByHostInstance,c=o.ReactCurrentDispatcher;return hy({bundleType:t.bundleType,version:t.version,rendererPackageName:t.rendererPackageName,rendererConfig:t.rendererConfig,overrideHookState:TF,overrideHookStateDeletePath:RF,overrideHookStateRenamePath:OF,overrideProps:DF,overridePropsDeletePath:kF,overridePropsRenamePath:MF,setErrorHandler:_F,setSuspenseHandler:NF,scheduleUpdate:PF,currentDispatcherRef:c,findHostInstanceByFiber:xQ,findFiberByHostInstance:r||wQ,findHostInstancesForRefresh:eQ,scheduleRefresh:ZK,scheduleRoot:JK,setRefreshHandler:XK,getCurrentFiber:CQ,reconcilerVersion:NR})}var VF=typeof reportError=="function"?reportError:function(t){console.error(t)};function $R(t){this._internalRoot=t}sw.prototype.render=$R.prototype.render=function(t){var r=this._internalRoot;if(r===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?m("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):lw(arguments[1])?m("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&m("You passed a second argument to root.render(...) but it only accepts one argument.");var c=r.containerInfo;if(c.nodeType!==Zr){var f=wF(r.current);f&&f.parentNode!==c&&m("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}jg(t,r,null,null)},sw.prototype.unmount=$R.prototype.unmount=function(){typeof arguments[0]=="function"&&m("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var t=this._internalRoot;if(t!==null){this._internalRoot=null;var r=t.containerInfo;ZA()&&m("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),qu(function(){jg(null,t,null,null)}),V_(r)}};function TQ(t,r){if(!lw(t))throw new Error("createRoot(...): Target container is not a DOM element.");BF(t);var c=!1,f=!1,h="",b=VF;r!=null&&(r.hydrate?d("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof r=="object"&&r!==null&&r.$$typeof===_i&&m(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
329
|
+
|
|
330
|
+
let root = createRoot(domContainer);
|
|
331
|
+
root.render(<App />);`),r.unstable_strictMode===!0&&(c=!0),r.identifierPrefix!==void 0&&(h=r.identifierPrefix),r.onRecoverableError!==void 0&&(b=r.onRecoverableError),r.transitionCallbacks!==void 0&&r.transitionCallbacks);var C=bF(t,nx,null,c,f,h,b);KS(C.current,t);var D=t.nodeType===Zr?t.parentNode:t;return Wy(D),new $R(C)}function sw(t){this._internalRoot=t}function RQ(t){t&&VE(t)}sw.prototype.unstable_scheduleHydration=RQ;function OQ(t,r,c){if(!lw(t))throw new Error("hydrateRoot(...): Target container is not a DOM element.");BF(t),r===void 0&&m("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var f=c??null,h=c!=null&&c.hydratedSources||null,b=!1,C=!1,D="",L=VF;c!=null&&(c.unstable_strictMode===!0&&(b=!0),c.identifierPrefix!==void 0&&(D=c.identifierPrefix),c.onRecoverableError!==void 0&&(L=c.onRecoverableError));var z=SF(r,null,t,nx,f,b,C,D,L);if(KS(z.current,t),Wy(t),h)for(var Q=0;Q<h.length;Q++){var ge=h[Q];Pq(z,ge)}return new sw(z)}function lw(t){return!!(t&&(t.nodeType===da||t.nodeType===Li||t.nodeType===mu||!fe))}function Vg(t){return!!(t&&(t.nodeType===da||t.nodeType===Li||t.nodeType===mu||t.nodeType===Zr&&t.nodeValue===" react-mount-point-unstable "))}function BF(t){t.nodeType===da&&t.tagName&&t.tagName.toUpperCase()==="BODY"&&m("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),ng(t)&&(t._reactRootContainer?m("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):m("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var DQ=o.ReactCurrentOwner,zF;zF=function(t){if(t._reactRootContainer&&t.nodeType!==Zr){var r=wF(t._reactRootContainer.current);r&&r.parentNode!==t&&m("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var c=!!t._reactRootContainer,f=jR(t),h=!!(f&&nd(f));h&&!c&&m("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),t.nodeType===da&&t.tagName&&t.tagName.toUpperCase()==="BODY"&&m("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function jR(t){return t?t.nodeType===Li?t.documentElement:t.firstChild:null}function UF(){}function kQ(t,r,c,f,h){if(h){if(typeof f=="function"){var b=f;f=function(){var ve=iw(C);b.call(ve)}}var C=SF(r,f,t,od,null,!1,!1,"",UF);t._reactRootContainer=C,KS(C.current,t);var D=t.nodeType===Zr?t.parentNode:t;return Wy(D),qu(),C}else{for(var L;L=t.lastChild;)t.removeChild(L);if(typeof f=="function"){var z=f;f=function(){var ve=iw(Q);z.call(ve)}}var Q=bF(t,od,null,!1,!1,"",UF);t._reactRootContainer=Q,KS(Q.current,t);var ge=t.nodeType===Zr?t.parentNode:t;return Wy(ge),qu(function(){jg(r,Q,c,f)}),Q}}function MQ(t,r){t!==null&&typeof t!="function"&&m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r,t)}function uw(t,r,c,f,h){zF(c),MQ(h===void 0?null:h,"render");var b=c._reactRootContainer,C;if(!b)C=kQ(c,r,t,h,f);else{if(C=b,typeof h=="function"){var D=h;h=function(){var L=iw(C);D.call(L)}}jg(r,C,t,h)}return iw(C)}var HF=!1;function PQ(t){{HF||(HF=!0,m("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var r=DQ.current;if(r!==null&&r.stateNode!==null){var c=r.stateNode._warnedAboutRefsInRender;c||m("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",xn(r.type)||"A component"),r.stateNode._warnedAboutRefsInRender=!0}}return t==null?null:t.nodeType===da?t:hQ(t,"findDOMNode")}function _Q(t,r,c){if(m("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Vg(r))throw new Error("Target container is not a DOM element.");{var f=ng(r)&&r._reactRootContainer===void 0;f&&m("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return uw(null,t,r,!0,c)}function NQ(t,r,c){if(m("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Vg(r))throw new Error("Target container is not a DOM element.");{var f=ng(r)&&r._reactRootContainer===void 0;f&&m("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return uw(null,t,r,!1,c)}function AQ(t,r,c,f){if(m("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Vg(c))throw new Error("Target container is not a DOM element.");if(t==null||!nf(t))throw new Error("parentComponent must be a valid React Component");return uw(t,r,c,!1,f)}var WF=!1;function FQ(t){if(WF||(WF=!0,m("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Vg(t))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var r=ng(t)&&t._reactRootContainer===void 0;r&&m("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(t._reactRootContainer){{var c=jR(t),f=c&&!nd(c);f&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return qu(function(){uw(null,null,t,!1,function(){t._reactRootContainer=null,V_(t)})}),!0}else{{var h=jR(t),b=!!(h&&nd(h)),C=t.nodeType===da&&Vg(t.parentNode)&&!!t.parentNode._reactRootContainer;b&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",C?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}zc(vQ),$E(yQ),Cm(gQ),yS(pi),gS(Bo),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&m("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),q0(I7),Vp(vR,OK,qu);function LQ(t,r){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!lw(r))throw new Error("Target container is not a DOM element.");return mQ(t,r,null,c)}function IQ(t,r,c,f){return AQ(t,r,c,f)}var VR={usingClientEntryPoint:!1,Events:[nd,Ym,QS,jp,Jd,vR]};function $Q(t,r){return VR.usingClientEntryPoint||m('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),TQ(t,r)}function jQ(t,r,c){return VR.usingClientEntryPoint||m('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),OQ(t,r,c)}function VQ(t){return ZA()&&m("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),qu(t)}var BQ=EQ({findFiberByHostInstance:Mf,bundleType:1,version:NR,rendererPackageName:"react-dom"});if(!BQ&&Se&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var YF=window.location.protocol;/^(https?|file):$/.test(YF)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(YF==="file:"?`
|
|
332
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Ka.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=VR,Ka.createPortal=LQ,Ka.createRoot=$Q,Ka.findDOMNode=PQ,Ka.flushSync=VQ,Ka.hydrate=_Q,Ka.hydrateRoot=jQ,Ka.render=NQ,Ka.unmountComponentAtNode=FQ,Ka.unstable_batchedUpdates=vR,Ka.unstable_renderSubtreeIntoContainer=IQ,Ka.version=NR,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ka}function FD(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(FD)}catch(e){console.error(e)}}}process.env.NODE_ENV==="production"?(FD(),Jw.exports=N$()):Jw.exports=A$();var LD=Jw.exports;const wb=Qu(LD),ID={disabled:!1};var F$=process.env.NODE_ENV!=="production"?s.oneOfType([s.number,s.shape({enter:s.number,exit:s.number,appear:s.number}).isRequired]):null,L$=process.env.NODE_ENV!=="production"?s.oneOfType([s.string,s.shape({enter:s.string,exit:s.string,active:s.string}),s.shape({enter:s.string,enterDone:s.string,enterActive:s.string,exit:s.string,exitDone:s.string,exitActive:s.string})]):null;const Cb=cn.createContext(null);var $D=function(n){return n.scrollTop},Vh="unmounted",Sd="exited",xd="entering",sp="entered",nC="exiting",Wi=function(e){Zw(n,e);function n(i,u){var d;d=e.call(this,i,u)||this;var m=u,v=m&&!m.isMounting?i.enter:i.appear,g;return d.appearStatus=null,i.in?v?(g=Sd,d.appearStatus=xd):g=sp:i.unmountOnExit||i.mountOnEnter?g=Vh:g=Sd,d.state={status:g},d.nextCallback=null,d}n.getDerivedStateFromProps=function(u,d){var m=u.in;return m&&d.status===Vh?{status:Sd}:null};var o=n.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(u){var d=null;if(u!==this.props){var m=this.state.status;this.props.in?m!==xd&&m!==sp&&(d=xd):(m===xd||m===sp)&&(d=nC)}this.updateStatus(!1,d)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var u=this.props.timeout,d,m,v;return d=m=v=u,u!=null&&typeof u!="number"&&(d=u.exit,m=u.enter,v=u.appear!==void 0?u.appear:m),{exit:d,enter:m,appear:v}},o.updateStatus=function(u,d){if(u===void 0&&(u=!1),d!==null)if(this.cancelNextCallback(),d===xd){if(this.props.unmountOnExit||this.props.mountOnEnter){var m=this.props.nodeRef?this.props.nodeRef.current:wb.findDOMNode(this);m&&$D(m)}this.performEnter(u)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Sd&&this.setState({status:Vh})},o.performEnter=function(u){var d=this,m=this.props.enter,v=this.context?this.context.isMounting:u,g=this.props.nodeRef?[v]:[wb.findDOMNode(this),v],S=g[0],w=g[1],E=this.getTimeouts(),R=v?E.appear:E.enter;if(!u&&!m||ID.disabled){this.safeSetState({status:sp},function(){d.props.onEntered(S)});return}this.props.onEnter(S,w),this.safeSetState({status:xd},function(){d.props.onEntering(S,w),d.onTransitionEnd(R,function(){d.safeSetState({status:sp},function(){d.props.onEntered(S,w)})})})},o.performExit=function(){var u=this,d=this.props.exit,m=this.getTimeouts(),v=this.props.nodeRef?void 0:wb.findDOMNode(this);if(!d||ID.disabled){this.safeSetState({status:Sd},function(){u.props.onExited(v)});return}this.props.onExit(v),this.safeSetState({status:nC},function(){u.props.onExiting(v),u.onTransitionEnd(m.exit,function(){u.safeSetState({status:Sd},function(){u.props.onExited(v)})})})},o.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(u,d){d=this.setNextCallback(d),this.setState(u,d)},o.setNextCallback=function(u){var d=this,m=!0;return this.nextCallback=function(v){m&&(m=!1,d.nextCallback=null,u(v))},this.nextCallback.cancel=function(){m=!1},this.nextCallback},o.onTransitionEnd=function(u,d){this.setNextCallback(d);var m=this.props.nodeRef?this.props.nodeRef.current:wb.findDOMNode(this),v=u==null&&!this.props.addEndListener;if(!m||v){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var g=this.props.nodeRef?[this.nextCallback]:[m,this.nextCallback],S=g[0],w=g[1];this.props.addEndListener(S,w)}u!=null&&setTimeout(this.nextCallback,u)},o.render=function(){var u=this.state.status;if(u===Vh)return null;var d=this.props,m=d.children;d.in,d.mountOnEnter,d.unmountOnExit,d.appear,d.enter,d.exit,d.timeout,d.addEndListener,d.onEnter,d.onEntering,d.onEntered,d.onExit,d.onExiting,d.onExited,d.nodeRef;var v=Qw(d,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return cn.createElement(Cb.Provider,{value:null},typeof m=="function"?m(u,v):cn.cloneElement(cn.Children.only(m),v))},n}(cn.Component);Wi.contextType=Cb,Wi.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:s.shape({current:typeof Element>"u"?s.any:function(e,n,o,i,u,d){var m=e[n];return s.instanceOf(m&&"ownerDocument"in m?m.ownerDocument.defaultView.Element:Element)(e,n,o,i,u,d)}}),children:s.oneOfType([s.func.isRequired,s.element.isRequired]).isRequired,in:s.bool,mountOnEnter:s.bool,unmountOnExit:s.bool,appear:s.bool,enter:s.bool,exit:s.bool,timeout:function(n){var o=F$;n.addEndListener||(o=o.isRequired);for(var i=arguments.length,u=new Array(i>1?i-1:0),d=1;d<i;d++)u[d-1]=arguments[d];return o.apply(void 0,[n].concat(u))},addEndListener:s.func,onEnter:s.func,onEntering:s.func,onEntered:s.func,onExit:s.func,onExiting:s.func,onExited:s.func}:{};function lp(){}Wi.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:lp,onEntering:lp,onEntered:lp,onExit:lp,onExiting:lp,onExited:lp},Wi.UNMOUNTED=Vh,Wi.EXITED=Sd,Wi.ENTERING=xd,Wi.ENTERED=sp,Wi.EXITING=nC;var I$=function(n,o){return n&&o&&o.split(" ").forEach(function(i){return k$(n,i)})},rC=function(n,o){return n&&o&&o.split(" ").forEach(function(i){return M$(n,i)})},oC=function(e){Zw(n,e);function n(){for(var i,u=arguments.length,d=new Array(u),m=0;m<u;m++)d[m]=arguments[m];return i=e.call.apply(e,[this].concat(d))||this,i.appliedClasses={appear:{},enter:{},exit:{}},i.onEnter=function(v,g){var S=i.resolveArguments(v,g),w=S[0],E=S[1];i.removeClasses(w,"exit"),i.addClass(w,E?"appear":"enter","base"),i.props.onEnter&&i.props.onEnter(v,g)},i.onEntering=function(v,g){var S=i.resolveArguments(v,g),w=S[0],E=S[1],R=E?"appear":"enter";i.addClass(w,R,"active"),i.props.onEntering&&i.props.onEntering(v,g)},i.onEntered=function(v,g){var S=i.resolveArguments(v,g),w=S[0],E=S[1],R=E?"appear":"enter";i.removeClasses(w,R),i.addClass(w,R,"done"),i.props.onEntered&&i.props.onEntered(v,g)},i.onExit=function(v){var g=i.resolveArguments(v),S=g[0];i.removeClasses(S,"appear"),i.removeClasses(S,"enter"),i.addClass(S,"exit","base"),i.props.onExit&&i.props.onExit(v)},i.onExiting=function(v){var g=i.resolveArguments(v),S=g[0];i.addClass(S,"exit","active"),i.props.onExiting&&i.props.onExiting(v)},i.onExited=function(v){var g=i.resolveArguments(v),S=g[0];i.removeClasses(S,"exit"),i.addClass(S,"exit","done"),i.props.onExited&&i.props.onExited(v)},i.resolveArguments=function(v,g){return i.props.nodeRef?[i.props.nodeRef.current,v]:[v,g]},i.getClassNames=function(v){var g=i.props.classNames,S=typeof g=="string",w=S&&g?g+"-":"",E=S?""+w+v:g[v],R=S?E+"-active":g[v+"Active"],k=S?E+"-done":g[v+"Done"];return{baseClassName:E,activeClassName:R,doneClassName:k}},i}var o=n.prototype;return o.addClass=function(u,d,m){var v=this.getClassNames(d)[m+"ClassName"],g=this.getClassNames("enter"),S=g.doneClassName;d==="appear"&&m==="done"&&S&&(v+=" "+S),m==="active"&&u&&$D(u),v&&(this.appliedClasses[d][m]=v,I$(u,v))},o.removeClasses=function(u,d){var m=this.appliedClasses[d],v=m.base,g=m.active,S=m.done;this.appliedClasses[d]={},v&&rC(u,v),g&&rC(u,g),S&&rC(u,S)},o.render=function(){var u=this.props;u.classNames;var d=Qw(u,["classNames"]);return cn.createElement(Wi,Xf({},d,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},n}(cn.Component);oC.defaultProps={classNames:""},oC.propTypes=process.env.NODE_ENV!=="production"?Xf({},Wi.propTypes,{classNames:L$,onEnter:s.func,onEntering:s.func,onEntered:s.func,onExit:s.func,onExiting:s.func,onExited:s.func}):{};function $$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aC(e,n){var o=function(d){return n&&F.isValidElement(d)?n(d):d},i=Object.create(null);return e&&F.Children.map(e,function(u){return u}).forEach(function(u){i[u.key]=o(u)}),i}function j$(e,n){e=e||{},n=n||{};function o(w){return w in n?n[w]:e[w]}var i=Object.create(null),u=[];for(var d in e)d in n?u.length&&(i[d]=u,u=[]):u.push(d);var m,v={};for(var g in n){if(i[g])for(m=0;m<i[g].length;m++){var S=i[g][m];v[i[g][m]]=o(S)}v[g]=o(g)}for(m=0;m<u.length;m++)v[u[m]]=o(u[m]);return v}function wd(e,n,o){return o[n]!=null?o[n]:e.props[n]}function V$(e,n){return aC(e.children,function(o){return F.cloneElement(o,{onExited:n.bind(null,o),in:!0,appear:wd(o,"appear",e),enter:wd(o,"enter",e),exit:wd(o,"exit",e)})})}function B$(e,n,o){var i=aC(e.children),u=j$(n,i);return Object.keys(u).forEach(function(d){var m=u[d];if(F.isValidElement(m)){var v=d in n,g=d in i,S=n[d],w=F.isValidElement(S)&&!S.props.in;g&&(!v||w)?u[d]=F.cloneElement(m,{onExited:o.bind(null,m),in:!0,exit:wd(m,"exit",e),enter:wd(m,"enter",e)}):!g&&v&&!w?u[d]=F.cloneElement(m,{in:!1}):g&&v&&F.isValidElement(S)&&(u[d]=F.cloneElement(m,{onExited:o.bind(null,m),in:S.props.in,exit:wd(m,"exit",e),enter:wd(m,"enter",e)}))}}),u}var z$=Object.values||function(e){return Object.keys(e).map(function(n){return e[n]})},U$={component:"div",childFactory:function(n){return n}},Bh=function(e){Zw(n,e);function n(i,u){var d;d=e.call(this,i,u)||this;var m=d.handleExited.bind($$(d));return d.state={contextValue:{isMounting:!0},handleExited:m,firstRender:!0},d}var o=n.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(u,d){var m=d.children,v=d.handleExited,g=d.firstRender;return{children:g?V$(u,v):B$(u,m,v),firstRender:!1}},o.handleExited=function(u,d){var m=aC(this.props.children);u.key in m||(u.props.onExited&&u.props.onExited(d),this.mounted&&this.setState(function(v){var g=Xf({},v.children);return delete g[u.key],{children:g}}))},o.render=function(){var u=this.props,d=u.component,m=u.childFactory,v=Qw(u,["component","childFactory"]),g=this.state.contextValue,S=z$(this.state.children).map(m);return delete v.appear,delete v.enter,delete v.exit,d===null?cn.createElement(Cb.Provider,{value:g},S):cn.createElement(Cb.Provider,{value:g},cn.createElement(d,v,S))},n}(cn.Component);Bh.propTypes=process.env.NODE_ENV!=="production"?{component:s.any,children:s.node,appear:s.bool,enter:s.bool,exit:s.bool,childFactory:s.func}:{},Bh.defaultProps=U$;const jD=e=>e.scrollTop;function Eb(e,n){const{timeout:o,easing:i,style:u={}}=e;return{duration:u.transitionDuration??(typeof o=="number"?o:o[n.mode]||0),easing:u.transitionTimingFunction??(typeof i=="object"?i[n.mode]:i),delay:u.transitionDelay}}function H$(e){return Cn("MuiPaper",e)}un("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const W$=e=>{const{square:n,elevation:o,variant:i,classes:u}=e,d={root:["root",i,!n&&"rounded",i==="elevation"&&`elevation${o}`]};return Dn(d,H$,u)},Y$=He("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[o.variant],!o.square&&n.rounded,o.variant==="elevation"&&n[`elevation${o.elevation}`]]}})($n(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:n})=>!n.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),zh=F.forwardRef(function(n,o){var k;const i=Fn({props:n,name:"MuiPaper"}),u=bd(),{className:d,component:m="div",elevation:v=1,square:g=!1,variant:S="elevation",...w}=i,E={...i,component:m,elevation:v,square:g,variant:S},R=W$(E);return process.env.NODE_ENV!=="production"&&u.shadows[v]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${v}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${v}]\` is defined.`].join(`
|
|
333
|
+
`)),G.jsx(Y$,{as:m,ownerState:E,className:ct(R.root,d),ref:o,...w,style:{...S==="elevation"&&{"--Paper-shadow":(u.vars||u).shadows[v],...u.vars&&{"--Paper-overlay":(k=u.vars.overlays)==null?void 0:k[v]},...!u.vars&&u.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${kn("#fff",Gw(v))}, ${kn("#fff",Gw(v))})`}},...w.style}})});process.env.NODE_ENV!=="production"&&(zh.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,elevation:Ju(cD,e=>{const{elevation:n,variant:o}=e;return n>0&&o==="outlined"?new Error(`MUI: Combining \`elevation={${n}}\` with \`variant="${o}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:s.bool,style:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),variant:s.oneOfType([s.oneOf(["elevation","outlined"]),s.string])});function Yi(e,n){const{className:o,elementType:i,ownerState:u,externalForwardedProps:d,getSlotOwnerState:m,internalForwardedProps:v,...g}=n,{component:S,slots:w={[e]:void 0},slotProps:E={[e]:void 0},...R}=d,k=w[e]||i,O=mD(E[e],u),{props:{component:_,...M},internalRef:V}=pD({className:o,...g,externalForwardedProps:e==="root"?R:void 0,externalSlotProps:O}),j=Ur(V,O==null?void 0:O.ref,n.ref),A=m?m(M):{},$={...u,...A},P=e==="root"?_||S:_,H=ap(k,{...e==="root"&&!S&&!w[e]&&v,...e!=="root"&&!w[e]&&v,...M,...P&&{as:P},ref:j},$);return Object.keys(A).forEach(W=>{delete H[W]}),[k,H]}class Tb{constructor(){xt(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Tb}static use(){const n=iD(Tb.create).current,[o,i]=F.useState(!1);return n.shouldMount=o,n.setShouldMount=i,F.useEffect(n.mountEffect,[o]),n}mount(){return this.mounted||(this.mounted=G$(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...n){this.mount().then(()=>{var o;return(o=this.ref.current)==null?void 0:o.start(...n)})}stop(...n){this.mount().then(()=>{var o;return(o=this.ref.current)==null?void 0:o.stop(...n)})}pulsate(...n){this.mount().then(()=>{var o;return(o=this.ref.current)==null?void 0:o.pulsate(...n)})}}function q$(){return Tb.use()}function G$(){let e,n;const o=new Promise((i,u)=>{e=i,n=u});return o.resolve=e,o.reject=n,o}function VD(e){const{className:n,classes:o,pulsate:i=!1,rippleX:u,rippleY:d,rippleSize:m,in:v,onExited:g,timeout:S}=e,[w,E]=F.useState(!1),R=ct(n,o.ripple,o.rippleVisible,i&&o.ripplePulsate),k={width:m,height:m,top:-(m/2)+d,left:-(m/2)+u},O=ct(o.child,w&&o.childLeaving,i&&o.childPulsate);return!v&&!w&&E(!0),F.useEffect(()=>{if(!v&&g!=null){const _=setTimeout(g,S);return()=>{clearTimeout(_)}}},[g,v,S]),G.jsx("span",{className:R,style:k,children:G.jsx("span",{className:O})})}process.env.NODE_ENV!=="production"&&(VD.propTypes={classes:s.object.isRequired,className:s.string,in:s.bool,onExited:s.func,pulsate:s.bool,rippleSize:s.number,rippleX:s.number,rippleY:s.number,timeout:s.number.isRequired});const qi=un("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),iC=550,K$=80,Q$=Sw`
|
|
334
|
+
0% {
|
|
335
|
+
transform: scale(0);
|
|
336
|
+
opacity: 0.1;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
100% {
|
|
340
|
+
transform: scale(1);
|
|
341
|
+
opacity: 0.3;
|
|
342
|
+
}
|
|
343
|
+
`,X$=Sw`
|
|
344
|
+
0% {
|
|
345
|
+
opacity: 1;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
100% {
|
|
349
|
+
opacity: 0;
|
|
350
|
+
}
|
|
351
|
+
`,Z$=Sw`
|
|
352
|
+
0% {
|
|
353
|
+
transform: scale(1);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
50% {
|
|
357
|
+
transform: scale(0.92);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
100% {
|
|
361
|
+
transform: scale(1);
|
|
362
|
+
}
|
|
363
|
+
`,J$=He("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),ej=He(VD,{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
364
|
+
opacity: 0;
|
|
365
|
+
position: absolute;
|
|
366
|
+
|
|
367
|
+
&.${qi.rippleVisible} {
|
|
368
|
+
opacity: 0.3;
|
|
369
|
+
transform: scale(1);
|
|
370
|
+
animation-name: ${Q$};
|
|
371
|
+
animation-duration: ${iC}ms;
|
|
372
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
&.${qi.ripplePulsate} {
|
|
376
|
+
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
& .${qi.child} {
|
|
380
|
+
opacity: 1;
|
|
381
|
+
display: block;
|
|
382
|
+
width: 100%;
|
|
383
|
+
height: 100%;
|
|
384
|
+
border-radius: 50%;
|
|
385
|
+
background-color: currentColor;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
& .${qi.childLeaving} {
|
|
389
|
+
opacity: 0;
|
|
390
|
+
animation-name: ${X$};
|
|
391
|
+
animation-duration: ${iC}ms;
|
|
392
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
& .${qi.childPulsate} {
|
|
396
|
+
position: absolute;
|
|
397
|
+
/* @noflip */
|
|
398
|
+
left: 0px;
|
|
399
|
+
top: 0;
|
|
400
|
+
animation-name: ${Z$};
|
|
401
|
+
animation-duration: 2500ms;
|
|
402
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
403
|
+
animation-iteration-count: infinite;
|
|
404
|
+
animation-delay: 200ms;
|
|
405
|
+
}
|
|
406
|
+
`,BD=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiTouchRipple"}),{center:u=!1,classes:d={},className:m,...v}=i,[g,S]=F.useState([]),w=F.useRef(0),E=F.useRef(null);F.useEffect(()=>{E.current&&(E.current(),E.current=null)},[g]);const R=F.useRef(!1),k=op(),O=F.useRef(null),_=F.useRef(null),M=F.useCallback($=>{const{pulsate:P,rippleX:H,rippleY:W,rippleSize:Y,cb:N}=$;S(K=>[...K,G.jsx(ej,{classes:{ripple:ct(d.ripple,qi.ripple),rippleVisible:ct(d.rippleVisible,qi.rippleVisible),ripplePulsate:ct(d.ripplePulsate,qi.ripplePulsate),child:ct(d.child,qi.child),childLeaving:ct(d.childLeaving,qi.childLeaving),childPulsate:ct(d.childPulsate,qi.childPulsate)},timeout:iC,pulsate:P,rippleX:H,rippleY:W,rippleSize:Y},w.current)]),w.current+=1,E.current=N},[d]),V=F.useCallback(($={},P={},H=()=>{})=>{const{pulsate:W=!1,center:Y=u||P.pulsate,fakeElement:N=!1}=P;if(($==null?void 0:$.type)==="mousedown"&&R.current){R.current=!1;return}($==null?void 0:$.type)==="touchstart"&&(R.current=!0);const K=N?null:_.current,Z=K?K.getBoundingClientRect():{width:0,height:0,left:0,top:0};let J,X,ee;if(Y||$===void 0||$.clientX===0&&$.clientY===0||!$.clientX&&!$.touches)J=Math.round(Z.width/2),X=Math.round(Z.height/2);else{const{clientX:ne,clientY:te}=$.touches&&$.touches.length>0?$.touches[0]:$;J=Math.round(ne-Z.left),X=Math.round(te-Z.top)}if(Y)ee=Math.sqrt((2*Z.width**2+Z.height**2)/3),ee%2===0&&(ee+=1);else{const ne=Math.max(Math.abs((K?K.clientWidth:0)-J),J)*2+2,te=Math.max(Math.abs((K?K.clientHeight:0)-X),X)*2+2;ee=Math.sqrt(ne**2+te**2)}$!=null&&$.touches?O.current===null&&(O.current=()=>{M({pulsate:W,rippleX:J,rippleY:X,rippleSize:ee,cb:H})},k.start(K$,()=>{O.current&&(O.current(),O.current=null)})):M({pulsate:W,rippleX:J,rippleY:X,rippleSize:ee,cb:H})},[u,M,k]),j=F.useCallback(()=>{V({},{pulsate:!0})},[V]),A=F.useCallback(($,P)=>{if(k.clear(),($==null?void 0:$.type)==="touchend"&&O.current){O.current(),O.current=null,k.start(0,()=>{A($,P)});return}O.current=null,S(H=>H.length>0?H.slice(1):H),E.current=P},[k]);return F.useImperativeHandle(o,()=>({pulsate:j,start:V,stop:A}),[j,V,A]),G.jsx(J$,{className:ct(qi.root,d.root,m),ref:_,...v,children:G.jsx(Bh,{component:null,exit:!0,children:g})})});process.env.NODE_ENV!=="production"&&(BD.propTypes={center:s.bool,classes:s.object,className:s.string});function tj(e){return Cn("MuiButtonBase",e)}const nj=un("MuiButtonBase",["root","disabled","focusVisible"]),rj=e=>{const{disabled:n,focusVisible:o,focusVisibleClassName:i,classes:u}=e,m=Dn({root:["root",n&&"disabled",o&&"focusVisible"]},tj,u);return o&&i&&(m.root+=` ${i}`),m},oj=He("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,n)=>n.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${nj.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),tc=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiButtonBase"}),{action:u,centerRipple:d=!1,children:m,className:v,component:g="button",disabled:S=!1,disableRipple:w=!1,disableTouchRipple:E=!1,focusRipple:R=!1,focusVisibleClassName:k,LinkComponent:O="a",onBlur:_,onClick:M,onContextMenu:V,onDragLeave:j,onFocus:A,onFocusVisible:$,onKeyDown:P,onKeyUp:H,onMouseDown:W,onMouseLeave:Y,onMouseUp:N,onTouchEnd:K,onTouchMove:Z,onTouchStart:J,tabIndex:X=0,TouchRippleProps:ee,touchRippleRef:ne,type:te,...se}=i,ae=F.useRef(null),xe=q$(),oe=Ur(xe.ref,ne),[U,fe]=F.useState(!1);S&&U&&fe(!1),F.useImperativeHandle(u,()=>({focusVisible:()=>{fe(!0),ae.current.focus()}}),[]);const Pe=xe.shouldMount&&!w&&!S;F.useEffect(()=>{U&&R&&!w&&xe.pulsate()},[w,R,U,xe]);function Te(Oe,it,gt=E){return ec(qt=>(it&&it(qt),gt||xe[Oe](qt),!0))}const ue=Te("start",W),we=Te("stop",V),Ee=Te("stop",j),me=Te("stop",N),De=Te("stop",Oe=>{U&&Oe.preventDefault(),Y&&Y(Oe)}),Ne=Te("start",J),je=Te("stop",K),re=Te("stop",Z),Se=Te("stop",Oe=>{bb(Oe.target)||fe(!1),_&&_(Oe)},!1),he=ec(Oe=>{ae.current||(ae.current=Oe.currentTarget),bb(Oe.target)&&(fe(!0),$&&$(Oe)),A&&A(Oe)}),We=()=>{const Oe=ae.current;return g&&g!=="button"&&!(Oe.tagName==="A"&&Oe.href)},qe=ec(Oe=>{R&&!Oe.repeat&&U&&Oe.key===" "&&xe.stop(Oe,()=>{xe.start(Oe)}),Oe.target===Oe.currentTarget&&We()&&Oe.key===" "&&Oe.preventDefault(),P&&P(Oe),Oe.target===Oe.currentTarget&&We()&&Oe.key==="Enter"&&!S&&(Oe.preventDefault(),M&&M(Oe))}),tt=ec(Oe=>{R&&Oe.key===" "&&U&&!Oe.defaultPrevented&&xe.stop(Oe,()=>{xe.pulsate(Oe)}),H&&H(Oe),M&&Oe.target===Oe.currentTarget&&We()&&Oe.key===" "&&!Oe.defaultPrevented&&M(Oe)});let q=g;q==="button"&&(se.href||se.to)&&(q=O);const ce={};q==="button"?(ce.type=te===void 0?"button":te,ce.disabled=S):(!se.href&&!se.to&&(ce.role="button"),S&&(ce["aria-disabled"]=S));const be=Ur(o,ae),Ve={...i,centerRipple:d,component:g,disabled:S,disableRipple:w,disableTouchRipple:E,focusRipple:R,tabIndex:X,focusVisible:U},Ke=rj(Ve);return G.jsxs(oj,{as:q,className:ct(Ke.root,v),ownerState:Ve,onBlur:Se,onClick:M,onContextMenu:we,onFocus:he,onKeyDown:qe,onKeyUp:tt,onMouseDown:ue,onMouseLeave:De,onMouseUp:me,onDragLeave:Ee,onTouchEnd:je,onTouchMove:re,onTouchStart:Ne,ref:be,tabIndex:S?-1:X,type:te,...ce,...se,children:[m,Pe?G.jsx(BD,{ref:oe,center:d,...ee}):null]})});process.env.NODE_ENV!=="production"&&(tc.propTypes={action:Ya,centerRipple:s.bool,children:s.node,classes:s.object,className:s.string,component:hb,disabled:s.bool,disableRipple:s.bool,disableTouchRipple:s.bool,focusRipple:s.bool,focusVisibleClassName:s.string,href:s.any,LinkComponent:s.elementType,onBlur:s.func,onClick:s.func,onContextMenu:s.func,onDragLeave:s.func,onFocus:s.func,onFocusVisible:s.func,onKeyDown:s.func,onKeyUp:s.func,onMouseDown:s.func,onMouseLeave:s.func,onMouseUp:s.func,onTouchEnd:s.func,onTouchMove:s.func,onTouchStart:s.func,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),tabIndex:s.number,TouchRippleProps:s.object,touchRippleRef:s.oneOfType([s.func,s.shape({current:s.shape({pulsate:s.func.isRequired,start:s.func.isRequired,stop:s.func.isRequired})})]),type:s.oneOfType([s.oneOf(["button","reset","submit"]),s.string])});function aj(e){return typeof e.main=="string"}function ij(e,n=[]){if(!aj(e))return!1;for(const o of n)if(!e.hasOwnProperty(o)||typeof e[o]!="string")return!1;return!0}function Qa(e=[]){return([,n])=>n&&ij(n,e)}function sj(e){return Cn("MuiIconButton",e)}const lj=un("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),uj=e=>{const{classes:n,disabled:o,color:i,edge:u,size:d}=e,m={root:["root",o&&"disabled",i!=="default"&&`color${ut(i)}`,u&&`edge${ut(u)}`,`size${ut(d)}`]};return Dn(m,sj,n)},cj=He(tc,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.color!=="default"&&n[`color${ut(o.color)}`],o.edge&&n[`edge${ut(o.edge)}`],n[`size${ut(o.size)}`]]}})($n(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:{disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),$n(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Qa()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(e.palette).filter(Qa()).map(([n])=>({props:{color:n,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:kn((e.vars||e).palette[n].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${lj.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),Uh=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiIconButton"}),{edge:u=!1,children:d,className:m,color:v="default",disabled:g=!1,disableFocusRipple:S=!1,disableRipple:w=!1,size:E="medium",...R}=i,k={...i,edge:u,color:v,disabled:g,disableFocusRipple:S,disableRipple:w,size:E},O=uj(k);return G.jsx(cj,{className:ct(O.root,m),centerRipple:!0,focusRipple:!S,disabled:g,disableRipple:w,ref:o,...R,ownerState:k,children:d})});process.env.NODE_ENV!=="production"&&(Uh.propTypes={children:Ju(s.node,e=>F.Children.toArray(e.children).some(o=>F.isValidElement(o)&&o.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
|
|
407
|
+
`)):null),classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),s.string]),disabled:s.bool,disableFocusRipple:s.bool,disableRipple:s.bool,edge:s.oneOf(["end","start",!1]),size:s.oneOfType([s.oneOf(["small","medium","large"]),s.string]),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function dj(e){return Cn("MuiTypography",e)}un("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const fj={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},pj=E$(),mj=e=>{const{align:n,gutterBottom:o,noWrap:i,paragraph:u,variant:d,classes:m}=e,v={root:["root",d,e.align!=="inherit"&&`align${ut(n)}`,o&&"gutterBottom",i&&"noWrap",u&&"paragraph"]};return Dn(v,dj,m)},hj=He("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.variant&&n[o.variant],o.align!=="inherit"&&n[`align${ut(o.align)}`],o.noWrap&&n.noWrap,o.gutterBottom&&n.gutterBottom,o.paragraph&&n.paragraph]}})($n(({theme:e})=>{var n;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([o,i])=>o!=="inherit"&&i&&typeof i=="object").map(([o,i])=>({props:{variant:o},style:i})),...Object.entries(e.palette).filter(Qa()).map(([o])=>({props:{color:o},style:{color:(e.vars||e).palette[o].main}})),...Object.entries(((n=e.palette)==null?void 0:n.text)||{}).filter(([,o])=>typeof o=="string").map(([o])=>({props:{color:`text${ut(o)}`},style:{color:(e.vars||e).palette.text[o]}})),{props:({ownerState:o})=>o.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:o})=>o.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:o})=>o.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:o})=>o.paragraph,style:{marginBottom:16}}]}})),zD={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Es=F.forwardRef(function(n,o){const{color:i,...u}=Fn({props:n,name:"MuiTypography"}),d=!fj[i],m=pj({...u,...d&&{color:i}}),{align:v="inherit",className:g,component:S,gutterBottom:w=!1,noWrap:E=!1,paragraph:R=!1,variant:k="body1",variantMapping:O=zD,..._}=m,M={...m,align:v,color:i,className:g,component:S,gutterBottom:w,noWrap:E,paragraph:R,variant:k,variantMapping:O},V=S||(R?"p":O[k]||zD[k])||"span",j=mj(M);return G.jsx(hj,{as:V,ref:o,className:ct(j.root,g),..._,ownerState:M,style:{...v!=="inherit"&&{"--Typography-textAlign":v},..._.style}})});process.env.NODE_ENV!=="production"&&(Es.propTypes={align:s.oneOf(["center","inherit","justify","left","right"]),children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),s.string]),component:s.elementType,gutterBottom:s.bool,noWrap:s.bool,paragraph:s.bool,style:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),variant:s.oneOfType([s.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),s.string]),variantMapping:s.object});var Xa="top",Gi="bottom",Ki="right",Za="left",sC="auto",Hh=[Xa,Gi,Ki,Za],up="start",Wh="end",vj="clippingParents",UD="viewport",Yh="popper",yj="reference",HD=Hh.reduce(function(e,n){return e.concat([n+"-"+up,n+"-"+Wh])},[]),WD=[].concat(Hh,[sC]).reduce(function(e,n){return e.concat([n,n+"-"+up,n+"-"+Wh])},[]),gj="beforeRead",bj="read",Sj="afterRead",xj="beforeMain",wj="main",Cj="afterMain",Ej="beforeWrite",Tj="write",Rj="afterWrite",Oj=[gj,bj,Sj,xj,wj,Cj,Ej,Tj,Rj];function ll(e){return e?(e.nodeName||"").toLowerCase():null}function Ri(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var n=e.ownerDocument;return n&&n.defaultView||window}return e}function Cd(e){var n=Ri(e).Element;return e instanceof n||e instanceof Element}function Qi(e){var n=Ri(e).HTMLElement;return e instanceof n||e instanceof HTMLElement}function lC(e){if(typeof ShadowRoot>"u")return!1;var n=Ri(e).ShadowRoot;return e instanceof n||e instanceof ShadowRoot}function Dj(e){var n=e.state;Object.keys(n.elements).forEach(function(o){var i=n.styles[o]||{},u=n.attributes[o]||{},d=n.elements[o];!Qi(d)||!ll(d)||(Object.assign(d.style,i),Object.keys(u).forEach(function(m){var v=u[m];v===!1?d.removeAttribute(m):d.setAttribute(m,v===!0?"":v)}))})}function kj(e){var n=e.state,o={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,o.popper),n.styles=o,n.elements.arrow&&Object.assign(n.elements.arrow.style,o.arrow),function(){Object.keys(n.elements).forEach(function(i){var u=n.elements[i],d=n.attributes[i]||{},m=Object.keys(n.styles.hasOwnProperty(i)?n.styles[i]:o[i]),v=m.reduce(function(g,S){return g[S]="",g},{});!Qi(u)||!ll(u)||(Object.assign(u.style,v),Object.keys(d).forEach(function(g){u.removeAttribute(g)}))})}}const Mj={name:"applyStyles",enabled:!0,phase:"write",fn:Dj,effect:kj,requires:["computeStyles"]};function ul(e){return e.split("-")[0]}var Ed=Math.max,Rb=Math.min,cp=Math.round;function uC(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}function YD(){return!/^((?!chrome|android).)*safari/i.test(uC())}function dp(e,n,o){n===void 0&&(n=!1),o===void 0&&(o=!1);var i=e.getBoundingClientRect(),u=1,d=1;n&&Qi(e)&&(u=e.offsetWidth>0&&cp(i.width)/e.offsetWidth||1,d=e.offsetHeight>0&&cp(i.height)/e.offsetHeight||1);var m=Cd(e)?Ri(e):window,v=m.visualViewport,g=!YD()&&o,S=(i.left+(g&&v?v.offsetLeft:0))/u,w=(i.top+(g&&v?v.offsetTop:0))/d,E=i.width/u,R=i.height/d;return{width:E,height:R,top:w,right:S+E,bottom:w+R,left:S,x:S,y:w}}function cC(e){var n=dp(e),o=e.offsetWidth,i=e.offsetHeight;return Math.abs(n.width-o)<=1&&(o=n.width),Math.abs(n.height-i)<=1&&(i=n.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:i}}function qD(e,n){var o=n.getRootNode&&n.getRootNode();if(e.contains(n))return!0;if(o&&lC(o)){var i=n;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function nu(e){return Ri(e).getComputedStyle(e)}function Pj(e){return["table","td","th"].indexOf(ll(e))>=0}function nc(e){return((Cd(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ob(e){return ll(e)==="html"?e:e.assignedSlot||e.parentNode||(lC(e)?e.host:null)||nc(e)}function GD(e){return!Qi(e)||nu(e).position==="fixed"?null:e.offsetParent}function _j(e){var n=/firefox/i.test(uC()),o=/Trident/i.test(uC());if(o&&Qi(e)){var i=nu(e);if(i.position==="fixed")return null}var u=Ob(e);for(lC(u)&&(u=u.host);Qi(u)&&["html","body"].indexOf(ll(u))<0;){var d=nu(u);if(d.transform!=="none"||d.perspective!=="none"||d.contain==="paint"||["transform","perspective"].indexOf(d.willChange)!==-1||n&&d.willChange==="filter"||n&&d.filter&&d.filter!=="none")return u;u=u.parentNode}return null}function qh(e){for(var n=Ri(e),o=GD(e);o&&Pj(o)&&nu(o).position==="static";)o=GD(o);return o&&(ll(o)==="html"||ll(o)==="body"&&nu(o).position==="static")?n:o||_j(e)||n}function dC(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Gh(e,n,o){return Ed(e,Rb(n,o))}function Nj(e,n,o){var i=Gh(e,n,o);return i>o?o:i}function KD(){return{top:0,right:0,bottom:0,left:0}}function QD(e){return Object.assign({},KD(),e)}function XD(e,n){return n.reduce(function(o,i){return o[i]=e,o},{})}var Aj=function(n,o){return n=typeof n=="function"?n(Object.assign({},o.rects,{placement:o.placement})):n,QD(typeof n!="number"?n:XD(n,Hh))};function Fj(e){var n,o=e.state,i=e.name,u=e.options,d=o.elements.arrow,m=o.modifiersData.popperOffsets,v=ul(o.placement),g=dC(v),S=[Za,Ki].indexOf(v)>=0,w=S?"height":"width";if(!(!d||!m)){var E=Aj(u.padding,o),R=cC(d),k=g==="y"?Xa:Za,O=g==="y"?Gi:Ki,_=o.rects.reference[w]+o.rects.reference[g]-m[g]-o.rects.popper[w],M=m[g]-o.rects.reference[g],V=qh(d),j=V?g==="y"?V.clientHeight||0:V.clientWidth||0:0,A=_/2-M/2,$=E[k],P=j-R[w]-E[O],H=j/2-R[w]/2+A,W=Gh($,H,P),Y=g;o.modifiersData[i]=(n={},n[Y]=W,n.centerOffset=W-H,n)}}function Lj(e){var n=e.state,o=e.options,i=o.element,u=i===void 0?"[data-popper-arrow]":i;u!=null&&(typeof u=="string"&&(u=n.elements.popper.querySelector(u),!u)||qD(n.elements.popper,u)&&(n.elements.arrow=u))}const Ij={name:"arrow",enabled:!0,phase:"main",fn:Fj,effect:Lj,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function fp(e){return e.split("-")[1]}var $j={top:"auto",right:"auto",bottom:"auto",left:"auto"};function jj(e,n){var o=e.x,i=e.y,u=n.devicePixelRatio||1;return{x:cp(o*u)/u||0,y:cp(i*u)/u||0}}function ZD(e){var n,o=e.popper,i=e.popperRect,u=e.placement,d=e.variation,m=e.offsets,v=e.position,g=e.gpuAcceleration,S=e.adaptive,w=e.roundOffsets,E=e.isFixed,R=m.x,k=R===void 0?0:R,O=m.y,_=O===void 0?0:O,M=typeof w=="function"?w({x:k,y:_}):{x:k,y:_};k=M.x,_=M.y;var V=m.hasOwnProperty("x"),j=m.hasOwnProperty("y"),A=Za,$=Xa,P=window;if(S){var H=qh(o),W="clientHeight",Y="clientWidth";if(H===Ri(o)&&(H=nc(o),nu(H).position!=="static"&&v==="absolute"&&(W="scrollHeight",Y="scrollWidth")),H=H,u===Xa||(u===Za||u===Ki)&&d===Wh){$=Gi;var N=E&&H===P&&P.visualViewport?P.visualViewport.height:H[W];_-=N-i.height,_*=g?1:-1}if(u===Za||(u===Xa||u===Gi)&&d===Wh){A=Ki;var K=E&&H===P&&P.visualViewport?P.visualViewport.width:H[Y];k-=K-i.width,k*=g?1:-1}}var Z=Object.assign({position:v},S&&$j),J=w===!0?jj({x:k,y:_},Ri(o)):{x:k,y:_};if(k=J.x,_=J.y,g){var X;return Object.assign({},Z,(X={},X[$]=j?"0":"",X[A]=V?"0":"",X.transform=(P.devicePixelRatio||1)<=1?"translate("+k+"px, "+_+"px)":"translate3d("+k+"px, "+_+"px, 0)",X))}return Object.assign({},Z,(n={},n[$]=j?_+"px":"",n[A]=V?k+"px":"",n.transform="",n))}function Vj(e){var n=e.state,o=e.options,i=o.gpuAcceleration,u=i===void 0?!0:i,d=o.adaptive,m=d===void 0?!0:d,v=o.roundOffsets,g=v===void 0?!0:v,S={placement:ul(n.placement),variation:fp(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:u,isFixed:n.options.strategy==="fixed"};n.modifiersData.popperOffsets!=null&&(n.styles.popper=Object.assign({},n.styles.popper,ZD(Object.assign({},S,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:m,roundOffsets:g})))),n.modifiersData.arrow!=null&&(n.styles.arrow=Object.assign({},n.styles.arrow,ZD(Object.assign({},S,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:g})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})}const Bj={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Vj,data:{}};var Db={passive:!0};function zj(e){var n=e.state,o=e.instance,i=e.options,u=i.scroll,d=u===void 0?!0:u,m=i.resize,v=m===void 0?!0:m,g=Ri(n.elements.popper),S=[].concat(n.scrollParents.reference,n.scrollParents.popper);return d&&S.forEach(function(w){w.addEventListener("scroll",o.update,Db)}),v&&g.addEventListener("resize",o.update,Db),function(){d&&S.forEach(function(w){w.removeEventListener("scroll",o.update,Db)}),v&&g.removeEventListener("resize",o.update,Db)}}const Uj={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:zj,data:{}};var Hj={left:"right",right:"left",bottom:"top",top:"bottom"};function kb(e){return e.replace(/left|right|bottom|top/g,function(n){return Hj[n]})}var Wj={start:"end",end:"start"};function JD(e){return e.replace(/start|end/g,function(n){return Wj[n]})}function fC(e){var n=Ri(e),o=n.pageXOffset,i=n.pageYOffset;return{scrollLeft:o,scrollTop:i}}function pC(e){return dp(nc(e)).left+fC(e).scrollLeft}function Yj(e,n){var o=Ri(e),i=nc(e),u=o.visualViewport,d=i.clientWidth,m=i.clientHeight,v=0,g=0;if(u){d=u.width,m=u.height;var S=YD();(S||!S&&n==="fixed")&&(v=u.offsetLeft,g=u.offsetTop)}return{width:d,height:m,x:v+pC(e),y:g}}function qj(e){var n,o=nc(e),i=fC(e),u=(n=e.ownerDocument)==null?void 0:n.body,d=Ed(o.scrollWidth,o.clientWidth,u?u.scrollWidth:0,u?u.clientWidth:0),m=Ed(o.scrollHeight,o.clientHeight,u?u.scrollHeight:0,u?u.clientHeight:0),v=-i.scrollLeft+pC(e),g=-i.scrollTop;return nu(u||o).direction==="rtl"&&(v+=Ed(o.clientWidth,u?u.clientWidth:0)-d),{width:d,height:m,x:v,y:g}}function mC(e){var n=nu(e),o=n.overflow,i=n.overflowX,u=n.overflowY;return/auto|scroll|overlay|hidden/.test(o+u+i)}function ek(e){return["html","body","#document"].indexOf(ll(e))>=0?e.ownerDocument.body:Qi(e)&&mC(e)?e:ek(Ob(e))}function Kh(e,n){var o;n===void 0&&(n=[]);var i=ek(e),u=i===((o=e.ownerDocument)==null?void 0:o.body),d=Ri(i),m=u?[d].concat(d.visualViewport||[],mC(i)?i:[]):i,v=n.concat(m);return u?v:v.concat(Kh(Ob(m)))}function hC(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Gj(e,n){var o=dp(e,!1,n==="fixed");return o.top=o.top+e.clientTop,o.left=o.left+e.clientLeft,o.bottom=o.top+e.clientHeight,o.right=o.left+e.clientWidth,o.width=e.clientWidth,o.height=e.clientHeight,o.x=o.left,o.y=o.top,o}function tk(e,n,o){return n===UD?hC(Yj(e,o)):Cd(n)?Gj(n,o):hC(qj(nc(e)))}function Kj(e){var n=Kh(Ob(e)),o=["absolute","fixed"].indexOf(nu(e).position)>=0,i=o&&Qi(e)?qh(e):e;return Cd(i)?n.filter(function(u){return Cd(u)&&qD(u,i)&&ll(u)!=="body"}):[]}function Qj(e,n,o,i){var u=n==="clippingParents"?Kj(e):[].concat(n),d=[].concat(u,[o]),m=d[0],v=d.reduce(function(g,S){var w=tk(e,S,i);return g.top=Ed(w.top,g.top),g.right=Rb(w.right,g.right),g.bottom=Rb(w.bottom,g.bottom),g.left=Ed(w.left,g.left),g},tk(e,m,i));return v.width=v.right-v.left,v.height=v.bottom-v.top,v.x=v.left,v.y=v.top,v}function nk(e){var n=e.reference,o=e.element,i=e.placement,u=i?ul(i):null,d=i?fp(i):null,m=n.x+n.width/2-o.width/2,v=n.y+n.height/2-o.height/2,g;switch(u){case Xa:g={x:m,y:n.y-o.height};break;case Gi:g={x:m,y:n.y+n.height};break;case Ki:g={x:n.x+n.width,y:v};break;case Za:g={x:n.x-o.width,y:v};break;default:g={x:n.x,y:n.y}}var S=u?dC(u):null;if(S!=null){var w=S==="y"?"height":"width";switch(d){case up:g[S]=g[S]-(n[w]/2-o[w]/2);break;case Wh:g[S]=g[S]+(n[w]/2-o[w]/2);break}}return g}function Qh(e,n){n===void 0&&(n={});var o=n,i=o.placement,u=i===void 0?e.placement:i,d=o.strategy,m=d===void 0?e.strategy:d,v=o.boundary,g=v===void 0?vj:v,S=o.rootBoundary,w=S===void 0?UD:S,E=o.elementContext,R=E===void 0?Yh:E,k=o.altBoundary,O=k===void 0?!1:k,_=o.padding,M=_===void 0?0:_,V=QD(typeof M!="number"?M:XD(M,Hh)),j=R===Yh?yj:Yh,A=e.rects.popper,$=e.elements[O?j:R],P=Qj(Cd($)?$:$.contextElement||nc(e.elements.popper),g,w,m),H=dp(e.elements.reference),W=nk({reference:H,element:A,strategy:"absolute",placement:u}),Y=hC(Object.assign({},A,W)),N=R===Yh?Y:H,K={top:P.top-N.top+V.top,bottom:N.bottom-P.bottom+V.bottom,left:P.left-N.left+V.left,right:N.right-P.right+V.right},Z=e.modifiersData.offset;if(R===Yh&&Z){var J=Z[u];Object.keys(K).forEach(function(X){var ee=[Ki,Gi].indexOf(X)>=0?1:-1,ne=[Xa,Gi].indexOf(X)>=0?"y":"x";K[X]+=J[ne]*ee})}return K}function Xj(e,n){n===void 0&&(n={});var o=n,i=o.placement,u=o.boundary,d=o.rootBoundary,m=o.padding,v=o.flipVariations,g=o.allowedAutoPlacements,S=g===void 0?WD:g,w=fp(i),E=w?v?HD:HD.filter(function(O){return fp(O)===w}):Hh,R=E.filter(function(O){return S.indexOf(O)>=0});R.length===0&&(R=E);var k=R.reduce(function(O,_){return O[_]=Qh(e,{placement:_,boundary:u,rootBoundary:d,padding:m})[ul(_)],O},{});return Object.keys(k).sort(function(O,_){return k[O]-k[_]})}function Zj(e){if(ul(e)===sC)return[];var n=kb(e);return[JD(e),n,JD(n)]}function Jj(e){var n=e.state,o=e.options,i=e.name;if(!n.modifiersData[i]._skip){for(var u=o.mainAxis,d=u===void 0?!0:u,m=o.altAxis,v=m===void 0?!0:m,g=o.fallbackPlacements,S=o.padding,w=o.boundary,E=o.rootBoundary,R=o.altBoundary,k=o.flipVariations,O=k===void 0?!0:k,_=o.allowedAutoPlacements,M=n.options.placement,V=ul(M),j=V===M,A=g||(j||!O?[kb(M)]:Zj(M)),$=[M].concat(A).reduce(function(Te,ue){return Te.concat(ul(ue)===sC?Xj(n,{placement:ue,boundary:w,rootBoundary:E,padding:S,flipVariations:O,allowedAutoPlacements:_}):ue)},[]),P=n.rects.reference,H=n.rects.popper,W=new Map,Y=!0,N=$[0],K=0;K<$.length;K++){var Z=$[K],J=ul(Z),X=fp(Z)===up,ee=[Xa,Gi].indexOf(J)>=0,ne=ee?"width":"height",te=Qh(n,{placement:Z,boundary:w,rootBoundary:E,altBoundary:R,padding:S}),se=ee?X?Ki:Za:X?Gi:Xa;P[ne]>H[ne]&&(se=kb(se));var ae=kb(se),xe=[];if(d&&xe.push(te[J]<=0),v&&xe.push(te[se]<=0,te[ae]<=0),xe.every(function(Te){return Te})){N=Z,Y=!1;break}W.set(Z,xe)}if(Y)for(var oe=O?3:1,U=function(ue){var we=$.find(function(Ee){var me=W.get(Ee);if(me)return me.slice(0,ue).every(function(De){return De})});if(we)return N=we,"break"},fe=oe;fe>0;fe--){var Pe=U(fe);if(Pe==="break")break}n.placement!==N&&(n.modifiersData[i]._skip=!0,n.placement=N,n.reset=!0)}}const eV={name:"flip",enabled:!0,phase:"main",fn:Jj,requiresIfExists:["offset"],data:{_skip:!1}};function rk(e,n,o){return o===void 0&&(o={x:0,y:0}),{top:e.top-n.height-o.y,right:e.right-n.width+o.x,bottom:e.bottom-n.height+o.y,left:e.left-n.width-o.x}}function ok(e){return[Xa,Ki,Gi,Za].some(function(n){return e[n]>=0})}function tV(e){var n=e.state,o=e.name,i=n.rects.reference,u=n.rects.popper,d=n.modifiersData.preventOverflow,m=Qh(n,{elementContext:"reference"}),v=Qh(n,{altBoundary:!0}),g=rk(m,i),S=rk(v,u,d),w=ok(g),E=ok(S);n.modifiersData[o]={referenceClippingOffsets:g,popperEscapeOffsets:S,isReferenceHidden:w,hasPopperEscaped:E},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":w,"data-popper-escaped":E})}const nV={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:tV};function rV(e,n,o){var i=ul(e),u=[Za,Xa].indexOf(i)>=0?-1:1,d=typeof o=="function"?o(Object.assign({},n,{placement:e})):o,m=d[0],v=d[1];return m=m||0,v=(v||0)*u,[Za,Ki].indexOf(i)>=0?{x:v,y:m}:{x:m,y:v}}function oV(e){var n=e.state,o=e.options,i=e.name,u=o.offset,d=u===void 0?[0,0]:u,m=WD.reduce(function(w,E){return w[E]=rV(E,n.rects,d),w},{}),v=m[n.placement],g=v.x,S=v.y;n.modifiersData.popperOffsets!=null&&(n.modifiersData.popperOffsets.x+=g,n.modifiersData.popperOffsets.y+=S),n.modifiersData[i]=m}const aV={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:oV};function iV(e){var n=e.state,o=e.name;n.modifiersData[o]=nk({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})}const sV={name:"popperOffsets",enabled:!0,phase:"read",fn:iV,data:{}};function lV(e){return e==="x"?"y":"x"}function uV(e){var n=e.state,o=e.options,i=e.name,u=o.mainAxis,d=u===void 0?!0:u,m=o.altAxis,v=m===void 0?!1:m,g=o.boundary,S=o.rootBoundary,w=o.altBoundary,E=o.padding,R=o.tether,k=R===void 0?!0:R,O=o.tetherOffset,_=O===void 0?0:O,M=Qh(n,{boundary:g,rootBoundary:S,padding:E,altBoundary:w}),V=ul(n.placement),j=fp(n.placement),A=!j,$=dC(V),P=lV($),H=n.modifiersData.popperOffsets,W=n.rects.reference,Y=n.rects.popper,N=typeof _=="function"?_(Object.assign({},n.rects,{placement:n.placement})):_,K=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),Z=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,J={x:0,y:0};if(H){if(d){var X,ee=$==="y"?Xa:Za,ne=$==="y"?Gi:Ki,te=$==="y"?"height":"width",se=H[$],ae=se+M[ee],xe=se-M[ne],oe=k?-Y[te]/2:0,U=j===up?W[te]:Y[te],fe=j===up?-Y[te]:-W[te],Pe=n.elements.arrow,Te=k&&Pe?cC(Pe):{width:0,height:0},ue=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:KD(),we=ue[ee],Ee=ue[ne],me=Gh(0,W[te],Te[te]),De=A?W[te]/2-oe-me-we-K.mainAxis:U-me-we-K.mainAxis,Ne=A?-W[te]/2+oe+me+Ee+K.mainAxis:fe+me+Ee+K.mainAxis,je=n.elements.arrow&&qh(n.elements.arrow),re=je?$==="y"?je.clientTop||0:je.clientLeft||0:0,Se=(X=Z==null?void 0:Z[$])!=null?X:0,he=se+De-Se-re,We=se+Ne-Se,qe=Gh(k?Rb(ae,he):ae,se,k?Ed(xe,We):xe);H[$]=qe,J[$]=qe-se}if(v){var tt,q=$==="x"?Xa:Za,ce=$==="x"?Gi:Ki,be=H[P],Ve=P==="y"?"height":"width",Ke=be+M[q],Oe=be-M[ce],it=[Xa,Za].indexOf(V)!==-1,gt=(tt=Z==null?void 0:Z[P])!=null?tt:0,qt=it?Ke:be-W[Ve]-Y[Ve]-gt+K.altAxis,Mt=it?be+W[Ve]+Y[Ve]-gt-K.altAxis:Oe,mn=k&&it?Nj(qt,be,Mt):Gh(k?qt:Ke,be,k?Mt:Oe);H[P]=mn,J[P]=mn-be}n.modifiersData[i]=J}}const cV={name:"preventOverflow",enabled:!0,phase:"main",fn:uV,requiresIfExists:["offset"]};function dV(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function fV(e){return e===Ri(e)||!Qi(e)?fC(e):dV(e)}function pV(e){var n=e.getBoundingClientRect(),o=cp(n.width)/e.offsetWidth||1,i=cp(n.height)/e.offsetHeight||1;return o!==1||i!==1}function mV(e,n,o){o===void 0&&(o=!1);var i=Qi(n),u=Qi(n)&&pV(n),d=nc(n),m=dp(e,u,o),v={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(i||!i&&!o)&&((ll(n)!=="body"||mC(d))&&(v=fV(n)),Qi(n)?(g=dp(n,!0),g.x+=n.clientLeft,g.y+=n.clientTop):d&&(g.x=pC(d))),{x:m.left+v.scrollLeft-g.x,y:m.top+v.scrollTop-g.y,width:m.width,height:m.height}}function hV(e){var n=new Map,o=new Set,i=[];e.forEach(function(d){n.set(d.name,d)});function u(d){o.add(d.name);var m=[].concat(d.requires||[],d.requiresIfExists||[]);m.forEach(function(v){if(!o.has(v)){var g=n.get(v);g&&u(g)}}),i.push(d)}return e.forEach(function(d){o.has(d.name)||u(d)}),i}function vV(e){var n=hV(e);return Oj.reduce(function(o,i){return o.concat(n.filter(function(u){return u.phase===i}))},[])}function yV(e){var n;return function(){return n||(n=new Promise(function(o){Promise.resolve().then(function(){n=void 0,o(e())})})),n}}function gV(e){var n=e.reduce(function(o,i){var u=o[i.name];return o[i.name]=u?Object.assign({},u,i,{options:Object.assign({},u.options,i.options),data:Object.assign({},u.data,i.data)}):i,o},{});return Object.keys(n).map(function(o){return n[o]})}var ak={placement:"bottom",modifiers:[],strategy:"absolute"};function ik(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return!n.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function bV(e){e===void 0&&(e={});var n=e,o=n.defaultModifiers,i=o===void 0?[]:o,u=n.defaultOptions,d=u===void 0?ak:u;return function(v,g,S){S===void 0&&(S=d);var w={placement:"bottom",orderedModifiers:[],options:Object.assign({},ak,d),modifiersData:{},elements:{reference:v,popper:g},attributes:{},styles:{}},E=[],R=!1,k={state:w,setOptions:function(V){var j=typeof V=="function"?V(w.options):V;_(),w.options=Object.assign({},d,w.options,j),w.scrollParents={reference:Cd(v)?Kh(v):v.contextElement?Kh(v.contextElement):[],popper:Kh(g)};var A=vV(gV([].concat(i,w.options.modifiers)));return w.orderedModifiers=A.filter(function($){return $.enabled}),O(),k.update()},forceUpdate:function(){if(!R){var V=w.elements,j=V.reference,A=V.popper;if(ik(j,A)){w.rects={reference:mV(j,qh(A),w.options.strategy==="fixed"),popper:cC(A)},w.reset=!1,w.placement=w.options.placement,w.orderedModifiers.forEach(function(K){return w.modifiersData[K.name]=Object.assign({},K.data)});for(var $=0;$<w.orderedModifiers.length;$++){if(w.reset===!0){w.reset=!1,$=-1;continue}var P=w.orderedModifiers[$],H=P.fn,W=P.options,Y=W===void 0?{}:W,N=P.name;typeof H=="function"&&(w=H({state:w,options:Y,name:N,instance:k})||w)}}}},update:yV(function(){return new Promise(function(M){k.forceUpdate(),M(w)})}),destroy:function(){_(),R=!0}};if(!ik(v,g))return k;k.setOptions(S).then(function(M){!R&&S.onFirstUpdate&&S.onFirstUpdate(M)});function O(){w.orderedModifiers.forEach(function(M){var V=M.name,j=M.options,A=j===void 0?{}:j,$=M.effect;if(typeof $=="function"){var P=$({state:w,name:V,instance:k,options:A}),H=function(){};E.push(P||H)}})}function _(){E.forEach(function(M){return M()}),E=[]}return k}}var SV=[Uj,sV,Bj,Mj,aV,eV,cV,Ij,nV],xV=bV({defaultModifiers:SV});function wV(e){return typeof e=="function"?e():e}const Xh=F.forwardRef(function(n,o){const{children:i,container:u,disablePortal:d=!1}=n,[m,v]=F.useState(null),g=Ur(ip(i),o);if(Cs(()=>{d||v(wV(u)||document.body)},[u,d]),Cs(()=>{if(m&&!d)return Vw(o,m),()=>{Vw(o,null)}},[o,m,d]),d){if(F.isValidElement(i)){const S={ref:g};return F.cloneElement(i,S)}return G.jsx(F.Fragment,{children:i})}return G.jsx(F.Fragment,{children:m&&LD.createPortal(i,m)})});process.env.NODE_ENV!=="production"&&(Xh.propTypes={children:s.node,container:s.oneOfType([eu,s.func]),disablePortal:s.bool}),process.env.NODE_ENV!=="production"&&(Xh.propTypes=eD(Xh.propTypes));function CV(e){return Cn("MuiPopper",e)}un("MuiPopper",["root"]);function EV(e,n){if(n==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Mb(e){return typeof e=="function"?e():e}function Pb(e){return e.nodeType!==void 0}function TV(e){return!Pb(e)}const RV=e=>{const{classes:n}=e;return Dn({root:["root"]},CV,n)},OV={},DV=F.forwardRef(function(n,o){const{anchorEl:i,children:u,direction:d,disablePortal:m,modifiers:v,open:g,placement:S,popperOptions:w,popperRef:E,slotProps:R={},slots:k={},TransitionProps:O,ownerState:_,...M}=n,V=F.useRef(null),j=Ur(V,o),A=F.useRef(null),$=Ur(A,E),P=F.useRef($);Cs(()=>{P.current=$},[$]),F.useImperativeHandle(E,()=>A.current,[]);const H=EV(S,d),[W,Y]=F.useState(H),[N,K]=F.useState(Mb(i));F.useEffect(()=>{A.current&&A.current.forceUpdate()}),F.useEffect(()=>{i&&K(Mb(i))},[i]),Cs(()=>{if(!N||!g)return;const ne=ae=>{Y(ae.placement)};if(process.env.NODE_ENV!=="production"&&N&&Pb(N)&&N.nodeType===1){const ae=N.getBoundingClientRect();process.env.NODE_ENV!=="test"&&ae.top===0&&ae.left===0&&ae.right===0&&ae.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
408
|
+
`))}let te=[{name:"preventOverflow",options:{altBoundary:m}},{name:"flip",options:{altBoundary:m}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:ae})=>{ne(ae)}}];v!=null&&(te=te.concat(v)),w&&w.modifiers!=null&&(te=te.concat(w.modifiers));const se=xV(N,V.current,{placement:H,...w,modifiers:te});return P.current(se),()=>{se.destroy(),P.current(null)}},[N,m,v,g,w,H]);const Z={placement:W};O!==null&&(Z.TransitionProps=O);const J=RV(n),X=k.root??"div",ee=zw({elementType:X,externalSlotProps:R.root,externalForwardedProps:M,additionalProps:{role:"tooltip",ref:j},ownerState:n,className:J.root});return G.jsx(X,{...ee,children:typeof u=="function"?u(Z):u})}),sk=F.forwardRef(function(n,o){const{anchorEl:i,children:u,container:d,direction:m="ltr",disablePortal:v=!1,keepMounted:g=!1,modifiers:S,open:w,placement:E="bottom",popperOptions:R=OV,popperRef:k,style:O,transition:_=!1,slotProps:M={},slots:V={},...j}=n,[A,$]=F.useState(!0),P=()=>{$(!1)},H=()=>{$(!0)};if(!g&&!w&&(!_||A))return null;let W;if(d)W=d;else if(i){const K=Mb(i);W=K&&Pb(K)?Oa(K).body:Oa(null).body}const Y=!w&&g&&(!_||A)?"none":void 0,N=_?{in:w,onEnter:P,onExited:H}:void 0;return G.jsx(Xh,{disablePortal:v,container:W,children:G.jsx(DV,{anchorEl:i,direction:m,disablePortal:v,modifiers:S,ref:o,open:_?!A:w,placement:E,popperOptions:R,popperRef:k,slotProps:M,slots:V,...j,style:{position:"fixed",top:0,left:0,display:Y,...O},TransitionProps:N,children:u})})});process.env.NODE_ENV!=="production"&&(sk.propTypes={anchorEl:Ju(s.oneOfType([eu,s.object,s.func]),e=>{if(e.open){const n=Mb(e.anchorEl);if(n&&Pb(n)&&n.nodeType===1){const o=n.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&o.top===0&&o.left===0&&o.right===0&&o.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
409
|
+
`))}else if(!n||typeof n.getBoundingClientRect!="function"||TV(n)&&n.contextElement!=null&&n.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
|
|
410
|
+
`))}return null}),children:s.oneOfType([s.node,s.func]),container:s.oneOfType([eu,s.func]),direction:s.oneOf(["ltr","rtl"]),disablePortal:s.bool,keepMounted:s.bool,modifiers:s.arrayOf(s.shape({data:s.object,effect:s.func,enabled:s.bool,fn:s.func,name:s.any,options:s.object,phase:s.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:s.arrayOf(s.string),requiresIfExists:s.arrayOf(s.string)})),open:s.bool.isRequired,placement:s.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:s.shape({modifiers:s.array,onFirstUpdate:s.func,placement:s.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:s.oneOf(["absolute","fixed"])}),popperRef:Ya,slotProps:s.shape({root:s.oneOfType([s.func,s.object])}),slots:s.shape({root:s.elementType}),transition:s.bool});const kV=He(sk,{name:"MuiPopper",slot:"Root",overridesResolver:(e,n)=>n.root})({}),_b=F.forwardRef(function(n,o){const i=Uw(),u=Fn({props:n,name:"MuiPopper"}),{anchorEl:d,component:m,components:v,componentsProps:g,container:S,disablePortal:w,keepMounted:E,modifiers:R,open:k,placement:O,popperOptions:_,popperRef:M,transition:V,slots:j,slotProps:A,...$}=u,P=(j==null?void 0:j.root)??(v==null?void 0:v.Root),H={anchorEl:d,container:S,disablePortal:w,keepMounted:E,modifiers:R,open:k,placement:O,popperOptions:_,popperRef:M,transition:V,...$};return G.jsx(kV,{as:m,direction:i?"rtl":"ltr",slots:{root:P},slotProps:A??g,...H,ref:o})});process.env.NODE_ENV!=="production"&&(_b.propTypes={anchorEl:s.oneOfType([eu,s.object,s.func]),children:s.oneOfType([s.node,s.func]),component:s.elementType,components:s.shape({Root:s.elementType}),componentsProps:s.shape({root:s.oneOfType([s.func,s.object])}),container:s.oneOfType([eu,s.func]),disablePortal:s.bool,keepMounted:s.bool,modifiers:s.arrayOf(s.shape({data:s.object,effect:s.func,enabled:s.bool,fn:s.func,name:s.any,options:s.object,phase:s.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:s.arrayOf(s.string),requiresIfExists:s.arrayOf(s.string)})),open:s.bool.isRequired,placement:s.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:s.shape({modifiers:s.array,onFirstUpdate:s.func,placement:s.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:s.oneOf(["absolute","fixed"])}),popperRef:Ya,slotProps:s.shape({root:s.oneOfType([s.func,s.object])}),slots:s.shape({root:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),transition:s.bool});const MV=Da(G.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function PV(e){return Cn("MuiChip",e)}const En=un("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),_V=e=>{const{classes:n,disabled:o,size:i,color:u,iconColor:d,onDelete:m,clickable:v,variant:g}=e,S={root:["root",g,o&&"disabled",`size${ut(i)}`,`color${ut(u)}`,v&&"clickable",v&&`clickableColor${ut(u)}`,m&&"deletable",m&&`deletableColor${ut(u)}`,`${g}${ut(u)}`],label:["label",`label${ut(i)}`],avatar:["avatar",`avatar${ut(i)}`,`avatarColor${ut(u)}`],icon:["icon",`icon${ut(i)}`,`iconColor${ut(d)}`],deleteIcon:["deleteIcon",`deleteIcon${ut(i)}`,`deleteIconColor${ut(u)}`,`deleteIcon${ut(g)}Color${ut(u)}`]};return Dn(S,PV,n)},NV=He("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e,{color:i,iconColor:u,clickable:d,onDelete:m,size:v,variant:g}=o;return[{[`& .${En.avatar}`]:n.avatar},{[`& .${En.avatar}`]:n[`avatar${ut(v)}`]},{[`& .${En.avatar}`]:n[`avatarColor${ut(i)}`]},{[`& .${En.icon}`]:n.icon},{[`& .${En.icon}`]:n[`icon${ut(v)}`]},{[`& .${En.icon}`]:n[`iconColor${ut(u)}`]},{[`& .${En.deleteIcon}`]:n.deleteIcon},{[`& .${En.deleteIcon}`]:n[`deleteIcon${ut(v)}`]},{[`& .${En.deleteIcon}`]:n[`deleteIconColor${ut(i)}`]},{[`& .${En.deleteIcon}`]:n[`deleteIcon${ut(g)}Color${ut(i)}`]},n.root,n[`size${ut(v)}`],n[`color${ut(i)}`],d&&n.clickable,d&&i!=="default"&&n[`clickableColor${ut(i)})`],m&&n.deletable,m&&i!=="default"&&n[`deletableColor${ut(i)}`],n[g],n[`${g}${ut(i)}`]]}})($n(({theme:e})=>{const n=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${En.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${En.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${En.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${En.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${En.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${En.icon}`]:{marginLeft:5,marginRight:-6},[`& .${En.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:kn(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:kn(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${En.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${En.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Qa(["contrastText"])).map(([o])=>({props:{color:o},style:{backgroundColor:(e.vars||e).palette[o].main,color:(e.vars||e).palette[o].contrastText,[`& .${En.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[o].contrastTextChannel} / 0.7)`:kn(e.palette[o].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[o].contrastText}}}})),{props:o=>o.iconColor===o.color,style:{[`& .${En.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:n}}},{props:o=>o.iconColor===o.color&&o.color!=="default",style:{[`& .${En.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${En.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:kn(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(Qa(["dark"])).map(([o])=>({props:{color:o,onDelete:!0},style:{[`&.${En.focusVisible}`]:{background:(e.vars||e).palette[o].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:kn(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${En.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:kn(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Qa(["dark"])).map(([o])=>({props:{color:o,clickable:!0},style:{[`&:hover, &.${En.focusVisible}`]:{backgroundColor:(e.vars||e).palette[o].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${En.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${En.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${En.avatar}`]:{marginLeft:4},[`& .${En.avatarSmall}`]:{marginLeft:2},[`& .${En.icon}`]:{marginLeft:4},[`& .${En.iconSmall}`]:{marginLeft:2},[`& .${En.deleteIcon}`]:{marginRight:5},[`& .${En.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Qa()).map(([o])=>({props:{variant:"outlined",color:o},style:{color:(e.vars||e).palette[o].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[o].mainChannel} / 0.7)`:kn(e.palette[o].main,.7)}`,[`&.${En.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette[o].main,e.palette.action.hoverOpacity)},[`&.${En.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.focusOpacity})`:kn(e.palette[o].main,e.palette.action.focusOpacity)},[`& .${En.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[o].mainChannel} / 0.7)`:kn(e.palette[o].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[o].main}}}}))]}})),AV=He("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,n)=>{const{ownerState:o}=e,{size:i}=o;return[n.label,n[`label${ut(i)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function lk(e){return e.key==="Backspace"||e.key==="Delete"}const uk=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiChip"}),{avatar:u,className:d,clickable:m,color:v="default",component:g,deleteIcon:S,disabled:w=!1,icon:E,label:R,onClick:k,onDelete:O,onKeyDown:_,onKeyUp:M,size:V="medium",variant:j="filled",tabIndex:A,skipFocusWhenDisabled:$=!1,...P}=i,H=F.useRef(null),W=Ur(H,o),Y=xe=>{xe.stopPropagation(),O&&O(xe)},N=xe=>{xe.currentTarget===xe.target&&lk(xe)&&xe.preventDefault(),_&&_(xe)},K=xe=>{xe.currentTarget===xe.target&&O&&lk(xe)&&O(xe),M&&M(xe)},Z=m!==!1&&k?!0:m,J=Z||O?tc:g||"div",X={...i,component:J,disabled:w,size:V,color:v,iconColor:F.isValidElement(E)&&E.props.color||v,onDelete:!!O,clickable:Z,variant:j},ee=_V(X),ne=J===tc?{component:g||"div",focusVisibleClassName:ee.focusVisible,...O&&{disableRipple:!0}}:{};let te=null;O&&(te=S&&F.isValidElement(S)?F.cloneElement(S,{className:ct(S.props.className,ee.deleteIcon),onClick:Y}):G.jsx(MV,{className:ct(ee.deleteIcon),onClick:Y}));let se=null;u&&F.isValidElement(u)&&(se=F.cloneElement(u,{className:ct(ee.avatar,u.props.className)}));let ae=null;return E&&F.isValidElement(E)&&(ae=F.cloneElement(E,{className:ct(ee.icon,E.props.className)})),process.env.NODE_ENV!=="production"&&se&&ae&&console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one."),G.jsxs(NV,{as:J,className:ct(ee.root,d),disabled:Z&&w?!0:void 0,onClick:k,onKeyDown:N,onKeyUp:K,ref:W,tabIndex:$&&w?-1:A,ownerState:X,...ne,...P,children:[se||ae,G.jsx(AV,{className:ct(ee.label),ownerState:X,children:R}),te]})});process.env.NODE_ENV!=="production"&&(uk.propTypes={avatar:s.element,children:NI,classes:s.object,className:s.string,clickable:s.bool,color:s.oneOfType([s.oneOf(["default","primary","secondary","error","info","success","warning"]),s.string]),component:s.elementType,deleteIcon:s.element,disabled:s.bool,icon:s.element,label:s.node,onClick:s.func,onDelete:s.func,onKeyDown:s.func,onKeyUp:s.func,size:s.oneOfType([s.oneOf(["medium","small"]),s.string]),skipFocusWhenDisabled:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),tabIndex:s.number,variant:s.oneOfType([s.oneOf(["filled","outlined"]),s.string])});function Nb(e){return parseInt(e,10)||0}const FV={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function LV(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const ck=F.forwardRef(function(n,o){const{onChange:i,maxRows:u,minRows:d=1,style:m,value:v,...g}=n,{current:S}=F.useRef(v!=null),w=F.useRef(null),E=Ur(o,w),R=F.useRef(null),k=F.useRef(null),O=F.useCallback(()=>{const V=w.current,A=gd(V).getComputedStyle(V);if(A.width==="0px")return{outerHeightStyle:0,overflowing:!1};const $=k.current;$.style.width=A.width,$.value=V.value||n.placeholder||"x",$.value.slice(-1)===`
|
|
411
|
+
`&&($.value+=" ");const P=A.boxSizing,H=Nb(A.paddingBottom)+Nb(A.paddingTop),W=Nb(A.borderBottomWidth)+Nb(A.borderTopWidth),Y=$.scrollHeight;$.value="x";const N=$.scrollHeight;let K=Y;d&&(K=Math.max(Number(d)*N,K)),u&&(K=Math.min(Number(u)*N,K)),K=Math.max(K,N);const Z=K+(P==="border-box"?H+W:0),J=Math.abs(K-Y)<=1;return{outerHeightStyle:Z,overflowing:J}},[u,d,n.placeholder]),_=F.useCallback(()=>{const V=O();if(LV(V))return;const j=V.outerHeightStyle,A=w.current;R.current!==j&&(R.current=j,A.style.height=`${j}px`),A.style.overflow=V.overflowing?"hidden":""},[O]);Cs(()=>{const V=()=>{_()};let j;const A=()=>{cancelAnimationFrame(j),j=requestAnimationFrame(()=>{V()})},$=nD(V),P=w.current,H=gd(P);H.addEventListener("resize",$);let W;return typeof ResizeObserver<"u"&&(W=new ResizeObserver(process.env.NODE_ENV==="test"?A:V),W.observe(P)),()=>{$.clear(),cancelAnimationFrame(j),H.removeEventListener("resize",$),W&&W.disconnect()}},[O,_]),Cs(()=>{_()});const M=V=>{S||_(),i&&i(V)};return G.jsxs(F.Fragment,{children:[G.jsx("textarea",{value:v,onChange:M,ref:E,rows:d,style:m,...g}),G.jsx("textarea",{"aria-hidden":!0,className:n.className,readOnly:!0,ref:k,tabIndex:-1,style:{...FV.shadow,...m,paddingTop:0,paddingBottom:0}})]})});process.env.NODE_ENV!=="production"&&(ck.propTypes={className:s.string,maxRows:s.oneOfType([s.number,s.string]),minRows:s.oneOfType([s.number,s.string]),onChange:s.func,placeholder:s.string,style:s.object,value:s.oneOfType([s.arrayOf(s.string),s.number,s.string])});function Zh(e){return typeof e=="string"}function Td({props:e,states:n,muiFormControl:o}){return n.reduce((i,u)=>(i[u]=e[u],o&&typeof e[u]>"u"&&(i[u]=o[u]),i),{})}const Jh=F.createContext(void 0);process.env.NODE_ENV!=="production"&&(Jh.displayName="FormControlContext");function Oi(){return F.useContext(Jh)}function dk(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ab(e,n=!1){return e&&(dk(e.value)&&e.value!==""||n&&dk(e.defaultValue)&&e.defaultValue!=="")}function IV(e){return e.startAdornment}function $V(e){return Cn("MuiInputBase",e)}const pp=un("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var fk;const Fb=(e,n)=>{const{ownerState:o}=e;return[n.root,o.formControl&&n.formControl,o.startAdornment&&n.adornedStart,o.endAdornment&&n.adornedEnd,o.error&&n.error,o.size==="small"&&n.sizeSmall,o.multiline&&n.multiline,o.color&&n[`color${ut(o.color)}`],o.fullWidth&&n.fullWidth,o.hiddenLabel&&n.hiddenLabel]},Lb=(e,n)=>{const{ownerState:o}=e;return[n.input,o.size==="small"&&n.inputSizeSmall,o.multiline&&n.inputMultiline,o.type==="search"&&n.inputTypeSearch,o.startAdornment&&n.inputAdornedStart,o.endAdornment&&n.inputAdornedEnd,o.hiddenLabel&&n.inputHiddenLabel]},jV=e=>{const{classes:n,color:o,disabled:i,error:u,endAdornment:d,focused:m,formControl:v,fullWidth:g,hiddenLabel:S,multiline:w,readOnly:E,size:R,startAdornment:k,type:O}=e,_={root:["root",`color${ut(o)}`,i&&"disabled",u&&"error",g&&"fullWidth",m&&"focused",v&&"formControl",R&&R!=="medium"&&`size${ut(R)}`,w&&"multiline",k&&"adornedStart",d&&"adornedEnd",S&&"hiddenLabel",E&&"readOnly"],input:["input",i&&"disabled",O==="search"&&"inputTypeSearch",w&&"inputMultiline",R==="small"&&"inputSizeSmall",S&&"inputHiddenLabel",k&&"inputAdornedStart",d&&"inputAdornedEnd",E&&"readOnly"]};return Dn(_,$V,n)},Ib=He("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Fb})($n(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${pp.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:n})=>n.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:n,size:o})=>n.multiline&&o==="small",style:{paddingTop:1}},{props:({ownerState:n})=>n.fullWidth,style:{width:"100%"}}]}))),$b=He("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Lb})($n(({theme:e})=>{const n=e.palette.mode==="light",o={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},i={opacity:"0 !important"},u=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${pp.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":u,"&:focus::-moz-placeholder":u,"&:focus::-ms-input-placeholder":u},[`&.${pp.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:d})=>!d.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:d})=>d.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),pk=C$({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),mk=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiInputBase"}),{"aria-describedby":u,autoComplete:d,autoFocus:m,className:v,color:g,components:S={},componentsProps:w={},defaultValue:E,disabled:R,disableInjectingGlobalStyles:k,endAdornment:O,error:_,fullWidth:M=!1,id:V,inputComponent:j="input",inputProps:A={},inputRef:$,margin:P,maxRows:H,minRows:W,multiline:Y=!1,name:N,onBlur:K,onChange:Z,onClick:J,onFocus:X,onKeyDown:ee,onKeyUp:ne,placeholder:te,readOnly:se,renderSuffix:ae,rows:xe,size:oe,slotProps:U={},slots:fe={},startAdornment:Pe,type:Te="text",value:ue,...we}=i,Ee=A.value!=null?A.value:ue,{current:me}=F.useRef(Ee!=null),De=F.useRef(),Ne=F.useCallback(Be=>{process.env.NODE_ENV!=="production"&&Be&&Be.nodeName!=="INPUT"&&!Be.focus&&console.error(["MUI: You have provided a `inputComponent` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join(`
|
|
412
|
+
`))},[]),je=Ur(De,$,A.ref,Ne),[re,Se]=F.useState(!1),he=Oi();process.env.NODE_ENV!=="production"&&F.useEffect(()=>{if(he)return he.registerEffect()},[he]);const We=Td({props:i,muiFormControl:he,states:["color","disabled","error","hiddenLabel","size","required","filled"]});We.focused=he?he.focused:re,F.useEffect(()=>{!he&&R&&re&&(Se(!1),K&&K())},[he,R,re,K]);const qe=he&&he.onFilled,tt=he&&he.onEmpty,q=F.useCallback(Be=>{Ab(Be)?qe&&qe():tt&&tt()},[qe,tt]);Cs(()=>{me&&q({value:Ee})},[Ee,q,me]);const ce=Be=>{X&&X(Be),A.onFocus&&A.onFocus(Be),he&&he.onFocus?he.onFocus(Be):Se(!0)},be=Be=>{K&&K(Be),A.onBlur&&A.onBlur(Be),he&&he.onBlur?he.onBlur(Be):Se(!1)},Ve=(Be,...ht)=>{if(!me){const $t=Be.target||De.current;if($t==null)throw new Error(process.env.NODE_ENV!=="production"?"MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":nl(1));q({value:$t.value})}A.onChange&&A.onChange(Be,...ht),Z&&Z(Be,...ht)};F.useEffect(()=>{q(De.current)},[]);const Ke=Be=>{De.current&&Be.currentTarget===Be.target&&De.current.focus(),J&&J(Be)};let Oe=j,it=A;Y&&Oe==="input"&&(xe?(process.env.NODE_ENV!=="production"&&(W||H)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),it={type:void 0,minRows:xe,maxRows:xe,...it}):it={type:void 0,maxRows:H,minRows:W,...it},Oe=ck);const gt=Be=>{q(Be.animationName==="mui-auto-fill-cancel"?De.current:{value:"x"})};F.useEffect(()=>{he&&he.setAdornedStart(!!Pe)},[he,Pe]);const qt={...i,color:We.color||"primary",disabled:We.disabled,endAdornment:O,error:We.error,focused:We.focused,formControl:he,fullWidth:M,hiddenLabel:We.hiddenLabel,multiline:Y,size:We.size,startAdornment:Pe,type:Te},Mt=jV(qt),mn=fe.root||S.Root||Ib,or=U.root||w.root||{},Ln=fe.input||S.Input||$b;return it={...it,...U.input??w.input},G.jsxs(F.Fragment,{children:[!k&&typeof pk=="function"&&(fk||(fk=G.jsx(pk,{}))),G.jsxs(mn,{...or,ref:o,onClick:Ke,...we,...!Zh(mn)&&{ownerState:{...qt,...or.ownerState}},className:ct(Mt.root,or.className,v,se&&"MuiInputBase-readOnly"),children:[Pe,G.jsx(Jh.Provider,{value:null,children:G.jsx(Ln,{"aria-invalid":We.error,"aria-describedby":u,autoComplete:d,autoFocus:m,defaultValue:E,disabled:We.disabled,id:V,onAnimationStart:gt,name:N,placeholder:te,readOnly:se,required:We.required,rows:xe,value:Ee,onKeyDown:ee,onKeyUp:ne,type:Te,...it,...!Zh(Ln)&&{as:Oe,ownerState:{...qt,...it.ownerState}},ref:je,className:ct(Mt.input,it.className,se&&"MuiInputBase-readOnly"),onBlur:be,onChange:Ve,onFocus:ce})}),O,ae?ae({...We,startAdornment:Pe}):null]})]})});process.env.NODE_ENV!=="production"&&(mk.propTypes={"aria-describedby":s.string,autoComplete:s.string,autoFocus:s.bool,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["primary","secondary","error","info","success","warning"]),s.string]),components:s.shape({Input:s.elementType,Root:s.elementType}),componentsProps:s.shape({input:s.object,root:s.object}),defaultValue:s.any,disabled:s.bool,disableInjectingGlobalStyles:s.bool,endAdornment:s.node,error:s.bool,fullWidth:s.bool,id:s.string,inputComponent:hb,inputProps:s.object,inputRef:Ya,margin:s.oneOf(["dense","none"]),maxRows:s.oneOfType([s.number,s.string]),minRows:s.oneOfType([s.number,s.string]),multiline:s.bool,name:s.string,onBlur:s.func,onChange:s.func,onClick:s.func,onFocus:s.func,onInvalid:s.func,onKeyDown:s.func,onKeyUp:s.func,placeholder:s.string,readOnly:s.bool,renderSuffix:s.func,required:s.bool,rows:s.oneOfType([s.number,s.string]),size:s.oneOfType([s.oneOf(["medium","small"]),s.string]),slotProps:s.shape({input:s.object,root:s.object}),slots:s.shape({input:s.elementType,root:s.elementType}),startAdornment:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),type:s.string,value:s.any});const vC=mk;function VV(e){return Cn("MuiInput",e)}const ev={...pp,...un("MuiInput",["root","underline","input"])};function BV(e){return Cn("MuiOutlinedInput",e)}const cl={...pp,...un("MuiOutlinedInput",["root","notchedOutline","input"])};function zV(e){return Cn("MuiFilledInput",e)}const Rd={...pp,...un("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},UV=Da(G.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),HV={entering:{opacity:1},entered:{opacity:1}},Od=F.forwardRef(function(n,o){const i=bd(),u={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{addEndListener:d,appear:m=!0,children:v,easing:g,in:S,onEnter:w,onEntered:E,onEntering:R,onExit:k,onExited:O,onExiting:_,style:M,timeout:V=u,TransitionComponent:j=Wi,...A}=n,$=F.useRef(null),P=Ur($,ip(v),o),H=ee=>ne=>{if(ee){const te=$.current;ne===void 0?ee(te):ee(te,ne)}},W=H(R),Y=H((ee,ne)=>{jD(ee);const te=Eb({style:M,timeout:V,easing:g},{mode:"enter"});ee.style.webkitTransition=i.transitions.create("opacity",te),ee.style.transition=i.transitions.create("opacity",te),w&&w(ee,ne)}),N=H(E),K=H(_),Z=H(ee=>{const ne=Eb({style:M,timeout:V,easing:g},{mode:"exit"});ee.style.webkitTransition=i.transitions.create("opacity",ne),ee.style.transition=i.transitions.create("opacity",ne),k&&k(ee)}),J=H(O),X=ee=>{d&&d($.current,ee)};return G.jsx(j,{appear:m,in:S,nodeRef:$,onEnter:Y,onEntered:N,onEntering:W,onExit:Z,onExited:J,onExiting:K,addEndListener:X,timeout:V,...A,children:(ee,ne)=>F.cloneElement(v,{style:{opacity:0,visibility:ee==="exited"&&!S?"hidden":void 0,...HV[ee],...M,...v.props.style},ref:P,...ne})})});process.env.NODE_ENV!=="production"&&(Od.propTypes={addEndListener:s.func,appear:s.bool,children:rp.isRequired,easing:s.oneOfType([s.shape({enter:s.string,exit:s.string}),s.string]),in:s.bool,onEnter:s.func,onEntered:s.func,onEntering:s.func,onExit:s.func,onExited:s.func,onExiting:s.func,style:s.object,timeout:s.oneOfType([s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})])});function WV(e){return Cn("MuiBackdrop",e)}un("MuiBackdrop",["root","invisible"]);const YV=e=>{const{ownerState:n,...o}=e;return o},qV=e=>{const{classes:n,invisible:o}=e;return Dn({root:["root",o&&"invisible"]},WV,n)},GV=He("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.invisible&&n.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),yC=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiBackdrop"}),{children:u,className:d,component:m="div",invisible:v=!1,open:g,components:S={},componentsProps:w={},slotProps:E={},slots:R={},TransitionComponent:k,transitionDuration:O,..._}=i,M={...i,component:m,invisible:v},V=qV(M),j={transition:k,root:S.Root,...R},A={...w,...E},$={slots:j,slotProps:A},[P,H]=Yi("root",{elementType:GV,externalForwardedProps:$,className:ct(V.root,d),ownerState:M}),[W,Y]=Yi("transition",{elementType:Od,externalForwardedProps:$,ownerState:M}),N=YV(Y);return G.jsx(W,{in:g,timeout:O,..._,...N,children:G.jsx(P,{"aria-hidden":!0,...H,classes:V,ref:o,children:u})})});process.env.NODE_ENV!=="production"&&(yC.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,components:s.shape({Root:s.elementType}),componentsProps:s.shape({root:s.object}),invisible:s.bool,open:s.bool.isRequired,slotProps:s.shape({root:s.oneOfType([s.func,s.object]),transition:s.oneOfType([s.func,s.object])}),slots:s.shape({root:s.elementType,transition:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),TransitionComponent:s.elementType,transitionDuration:s.oneOfType([s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})])});const KV=un("MuiBox",["root"]),QV=ED(),mp=dI({themeId:Ch,defaultTheme:QV,defaultClassName:KV.root,generateClassName:BO.generate});process.env.NODE_ENV!=="production"&&(mp.propTypes={children:s.node,component:s.elementType,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function XV(e){return Cn("MuiButton",e)}const hp=un("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),hk=F.createContext({});process.env.NODE_ENV!=="production"&&(hk.displayName="ButtonGroupContext");const vk=F.createContext(void 0);process.env.NODE_ENV!=="production"&&(vk.displayName="ButtonGroupButtonContext");const ZV=e=>{const{color:n,disableElevation:o,fullWidth:i,size:u,variant:d,classes:m}=e,v={root:["root",d,`${d}${ut(n)}`,`size${ut(u)}`,`${d}Size${ut(u)}`,`color${ut(n)}`,o&&"disableElevation",i&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${ut(u)}`],endIcon:["icon","endIcon",`iconSize${ut(u)}`]},g=Dn(v,XV,m);return{...m,...g}},yk=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],JV=He(tc,{shouldForwardProp:e=>qa(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,n[o.variant],n[`${o.variant}${ut(o.color)}`],n[`size${ut(o.size)}`],n[`${o.variant}Size${ut(o.size)}`],o.color==="inherit"&&n.colorInherit,o.disableElevation&&n.disableElevation,o.fullWidth&&n.fullWidth]}})($n(({theme:e})=>{var i,u;const n=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${hp.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${hp.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${hp.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${hp.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Qa(["dark","contrastText"])).map(([d])=>({props:{color:d},style:{"--variant-textColor":(e.vars||e).palette[d].main,"--variant-outlinedColor":(e.vars||e).palette[d].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[d].mainChannel} / 0.5)`:kn(e.palette[d].main,.5),"--variant-containedColor":(e.vars||e).palette[d].contrastText,"--variant-containedBg":(e.vars||e).palette[d].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[d].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[d].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette[d].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[d].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[d].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette[d].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{"--variant-containedColor":e.vars?e.vars.palette.text.primary:(u=(i=e.palette).getContrastText)==null?void 0:u.call(i,n),"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:n,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${hp.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${hp.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),eB=He("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.startIcon,n[`iconSize${ut(o.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...yk]}),tB=He("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.endIcon,n[`iconSize${ut(o.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...yk]}),tv=F.forwardRef(function(n,o){const i=F.useContext(hk),u=F.useContext(vk),d=Fh(i,n),m=Fn({props:d,name:"MuiButton"}),{children:v,color:g="primary",component:S="button",className:w,disabled:E=!1,disableElevation:R=!1,disableFocusRipple:k=!1,endIcon:O,focusVisibleClassName:_,fullWidth:M=!1,size:V="medium",startIcon:j,type:A,variant:$="text",...P}=m,H={...m,color:g,component:S,disabled:E,disableElevation:R,disableFocusRipple:k,fullWidth:M,size:V,type:A,variant:$},W=ZV(H),Y=j&&G.jsx(eB,{className:W.startIcon,ownerState:H,children:j}),N=O&&G.jsx(tB,{className:W.endIcon,ownerState:H,children:O}),K=u||"";return G.jsxs(JV,{ownerState:H,className:ct(i.className,W.root,w,K),component:S,disabled:E,focusRipple:!k,focusVisibleClassName:ct(W.focusVisible,_),ref:o,type:A,...P,classes:W,children:[Y,v,N]})});process.env.NODE_ENV!=="production"&&(tv.propTypes={children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["inherit","primary","secondary","success","error","info","warning"]),s.string]),component:s.elementType,disabled:s.bool,disableElevation:s.bool,disableFocusRipple:s.bool,disableRipple:s.bool,endIcon:s.node,focusVisibleClassName:s.string,fullWidth:s.bool,href:s.string,size:s.oneOfType([s.oneOf(["small","medium","large"]),s.string]),startIcon:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),type:s.oneOfType([s.oneOf(["button","reset","submit"]),s.string]),variant:s.oneOfType([s.oneOf(["contained","outlined","text"]),s.string])});function nB(e){return Cn("PrivateSwitchBase",e)}un("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const rB=e=>{const{classes:n,checked:o,disabled:i,edge:u}=e,d={root:["root",o&&"checked",i&&"disabled",u&&`edge${ut(u)}`],input:["input"]};return Dn(d,nB,n)},oB=He(tc)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:n})=>e==="start"&&n.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:n})=>e==="end"&&n.size!=="small",style:{marginRight:-12}}]}),aB=He("input",{shouldForwardProp:qa})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),gk=F.forwardRef(function(n,o){const{autoFocus:i,checked:u,checkedIcon:d,className:m,defaultChecked:v,disabled:g,disableFocusRipple:S=!1,edge:w=!1,icon:E,id:R,inputProps:k,inputRef:O,name:_,onBlur:M,onChange:V,onFocus:j,readOnly:A,required:$=!1,tabIndex:P,type:H,value:W,...Y}=n,[N,K]=yb({controlled:u,default:!!v,name:"SwitchBase",state:"checked"}),Z=Oi(),J=xe=>{j&&j(xe),Z&&Z.onFocus&&Z.onFocus(xe)},X=xe=>{M&&M(xe),Z&&Z.onBlur&&Z.onBlur(xe)},ee=xe=>{if(xe.nativeEvent.defaultPrevented)return;const oe=xe.target.checked;K(oe),V&&V(xe,oe)};let ne=g;Z&&typeof ne>"u"&&(ne=Z.disabled);const te=H==="checkbox"||H==="radio",se={...n,checked:N,disabled:ne,disableFocusRipple:S,edge:w},ae=rB(se);return G.jsxs(oB,{component:"span",className:ct(ae.root,m),centerRipple:!0,focusRipple:!S,disabled:ne,tabIndex:null,role:void 0,onFocus:J,onBlur:X,ownerState:se,ref:o,...Y,children:[G.jsx(aB,{autoFocus:i,checked:u,defaultChecked:v,className:ae.input,disabled:ne,id:te?R:void 0,name:_,onChange:ee,readOnly:A,ref:O,required:$,ownerState:se,tabIndex:P,type:H,...H==="checkbox"&&W===void 0?{}:{value:W},...k}),N?d:E]})});process.env.NODE_ENV!=="production"&&(gk.propTypes={autoFocus:s.bool,checked:s.bool,checkedIcon:s.node.isRequired,classes:s.object,className:s.string,defaultChecked:s.bool,disabled:s.bool,disableFocusRipple:s.bool,edge:s.oneOf(["end","start",!1]),icon:s.node.isRequired,id:s.string,inputProps:s.object,inputRef:Ya,name:s.string,onBlur:s.func,onChange:s.func,onFocus:s.func,readOnly:s.bool,required:s.bool,sx:s.object,tabIndex:s.oneOfType([s.number,s.string]),type:s.string.isRequired,value:s.any});const iB=Da(G.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),sB=Da(G.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),lB=Da(G.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function uB(e){return Cn("MuiCheckbox",e)}const gC=un("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),cB=e=>{const{classes:n,indeterminate:o,color:i,size:u}=e,d={root:["root",o&&"indeterminate",`color${ut(i)}`,`size${ut(u)}`]},m=Dn(d,uB,n);return{...n,...m}},dB=He(gk,{shouldForwardProp:e=>qa(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.indeterminate&&n.indeterminate,n[`size${ut(o.size)}`],o.color!=="default"&&n[`color${ut(o.color)}`]]}})($n(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Qa()).map(([n])=>({props:{color:n,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette[n].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Qa()).map(([n])=>({props:{color:n},style:{[`&.${gC.checked}, &.${gC.indeterminate}`]:{color:(e.vars||e).palette[n].main},[`&.${gC.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),fB=G.jsx(sB,{}),pB=G.jsx(iB,{}),mB=G.jsx(lB,{}),bk=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiCheckbox"}),{checkedIcon:u=fB,color:d="primary",icon:m=pB,indeterminate:v=!1,indeterminateIcon:g=mB,inputProps:S,size:w="medium",disableRipple:E=!1,className:R,...k}=i,O=v?g:m,_=v?g:u,M={...i,disableRipple:E,color:d,indeterminate:v,size:w},V=cB(M);return G.jsx(dB,{type:"checkbox",inputProps:{"data-indeterminate":v,...S},icon:F.cloneElement(O,{fontSize:O.props.fontSize??w}),checkedIcon:F.cloneElement(_,{fontSize:_.props.fontSize??w}),ownerState:M,ref:o,className:ct(V.root,R),...k,classes:V})});process.env.NODE_ENV!=="production"&&(bk.propTypes={checked:s.bool,checkedIcon:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["default","primary","secondary","error","info","success","warning"]),s.string]),defaultChecked:s.bool,disabled:s.bool,disableRipple:s.bool,icon:s.node,id:s.string,indeterminate:s.bool,indeterminateIcon:s.node,inputProps:s.object,inputRef:Ya,onChange:s.func,required:s.bool,size:s.oneOfType([s.oneOf(["medium","small"]),s.string]),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),value:s.any});function hB(e){const n=Oa(e);return n.body===e?gd(e).innerWidth>n.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function nv(e,n){n?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Sk(e){return parseInt(gd(e).getComputedStyle(e).paddingRight,10)||0}function vB(e){const o=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),i=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return o||i}function xk(e,n,o,i,u){const d=[n,o,...i];[].forEach.call(e.children,m=>{const v=!d.includes(m),g=!vB(m);v&&g&&nv(m,u)})}function bC(e,n){let o=-1;return e.some((i,u)=>n(i)?(o=u,!0):!1),o}function yB(e,n){const o=[],i=e.container;if(!n.disableScrollLock){if(hB(i)){const m=sD(Oa(i));o.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight=`${Sk(i)+m}px`;const v=Oa(i).querySelectorAll(".mui-fixed");[].forEach.call(v,g=>{o.push({value:g.style.paddingRight,property:"padding-right",el:g}),g.style.paddingRight=`${Sk(g)+m}px`})}let d;if(i.parentNode instanceof DocumentFragment)d=Oa(i).body;else{const m=i.parentElement,v=gd(i);d=(m==null?void 0:m.nodeName)==="HTML"&&v.getComputedStyle(m).overflowY==="scroll"?m:i}o.push({value:d.style.overflow,property:"overflow",el:d},{value:d.style.overflowX,property:"overflow-x",el:d},{value:d.style.overflowY,property:"overflow-y",el:d}),d.style.overflow="hidden"}return()=>{o.forEach(({value:d,el:m,property:v})=>{d?m.style.setProperty(v,d):m.style.removeProperty(v)})}}function gB(e){const n=[];return[].forEach.call(e.children,o=>{o.getAttribute("aria-hidden")==="true"&&n.push(o)}),n}class bB{constructor(){this.modals=[],this.containers=[]}add(n,o){let i=this.modals.indexOf(n);if(i!==-1)return i;i=this.modals.length,this.modals.push(n),n.modalRef&&nv(n.modalRef,!1);const u=gB(o);xk(o,n.mount,n.modalRef,u,!0);const d=bC(this.containers,m=>m.container===o);return d!==-1?(this.containers[d].modals.push(n),i):(this.containers.push({modals:[n],container:o,restore:null,hiddenSiblings:u}),i)}mount(n,o){const i=bC(this.containers,d=>d.modals.includes(n)),u=this.containers[i];u.restore||(u.restore=yB(u,o))}remove(n,o=!0){const i=this.modals.indexOf(n);if(i===-1)return i;const u=bC(this.containers,m=>m.modals.includes(n)),d=this.containers[u];if(d.modals.splice(d.modals.indexOf(n),1),this.modals.splice(i,1),d.modals.length===0)d.restore&&d.restore(),n.modalRef&&nv(n.modalRef,o),xk(d.container,n.mount,n.modalRef,d.hiddenSiblings,!1),this.containers.splice(u,1);else{const m=d.modals[d.modals.length-1];m.modalRef&&nv(m.modalRef,!1)}return i}isTopModal(n){return this.modals.length>0&&this.modals[this.modals.length-1]===n}}const SB=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function xB(e){const n=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(n)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:n}function wB(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const n=i=>e.ownerDocument.querySelector(`input[type="radio"]${i}`);let o=n(`[name="${e.name}"]:checked`);return o||(o=n(`[name="${e.name}"]`)),o!==e}function CB(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||wB(e))}function EB(e){const n=[],o=[];return Array.from(e.querySelectorAll(SB)).forEach((i,u)=>{const d=xB(i);d===-1||!CB(i)||(d===0?n.push(i):o.push({documentOrder:u,tabIndex:d,node:i}))}),o.sort((i,u)=>i.tabIndex===u.tabIndex?i.documentOrder-u.documentOrder:i.tabIndex-u.tabIndex).map(i=>i.node).concat(n)}function TB(){return!0}function rv(e){const{children:n,disableAutoFocus:o=!1,disableEnforceFocus:i=!1,disableRestoreFocus:u=!1,getTabbable:d=EB,isEnabled:m=TB,open:v}=e,g=F.useRef(!1),S=F.useRef(null),w=F.useRef(null),E=F.useRef(null),R=F.useRef(null),k=F.useRef(!1),O=F.useRef(null),_=Ur(ip(n),O),M=F.useRef(null);F.useEffect(()=>{!v||!O.current||(k.current=!o)},[o,v]),F.useEffect(()=>{if(!v||!O.current)return;const A=Oa(O.current);return O.current.contains(A.activeElement)||(O.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
|
|
413
|
+
`)),O.current.setAttribute("tabIndex","-1")),k.current&&O.current.focus()),()=>{u||(E.current&&E.current.focus&&(g.current=!0,E.current.focus()),E.current=null)}},[v]),F.useEffect(()=>{if(!v||!O.current)return;const A=Oa(O.current),$=W=>{M.current=W,!(i||!m()||W.key!=="Tab")&&A.activeElement===O.current&&W.shiftKey&&(g.current=!0,w.current&&w.current.focus())},P=()=>{var N,K;const W=O.current;if(W===null)return;if(!A.hasFocus()||!m()||g.current){g.current=!1;return}if(W.contains(A.activeElement)||i&&A.activeElement!==S.current&&A.activeElement!==w.current)return;if(A.activeElement!==R.current)R.current=null;else if(R.current!==null)return;if(!k.current)return;let Y=[];if((A.activeElement===S.current||A.activeElement===w.current)&&(Y=d(O.current)),Y.length>0){const Z=!!((N=M.current)!=null&&N.shiftKey&&((K=M.current)==null?void 0:K.key)==="Tab"),J=Y[0],X=Y[Y.length-1];typeof J!="string"&&typeof X!="string"&&(Z?X.focus():J.focus())}else W.focus()};A.addEventListener("focusin",P),A.addEventListener("keydown",$,!0);const H=setInterval(()=>{A.activeElement&&A.activeElement.tagName==="BODY"&&P()},50);return()=>{clearInterval(H),A.removeEventListener("focusin",P),A.removeEventListener("keydown",$,!0)}},[o,i,u,m,v,d]);const V=A=>{E.current===null&&(E.current=A.relatedTarget),k.current=!0,R.current=A.target;const $=n.props.onFocus;$&&$(A)},j=A=>{E.current===null&&(E.current=A.relatedTarget),k.current=!0};return G.jsxs(F.Fragment,{children:[G.jsx("div",{tabIndex:v?0:-1,onFocus:j,ref:S,"data-testid":"sentinelStart"}),F.cloneElement(n,{ref:_,onFocus:V}),G.jsx("div",{tabIndex:v?0:-1,onFocus:j,ref:w,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(rv.propTypes={children:rp,disableAutoFocus:s.bool,disableEnforceFocus:s.bool,disableRestoreFocus:s.bool,getTabbable:s.func,isEnabled:s.func,open:s.bool.isRequired}),process.env.NODE_ENV!=="production"&&(rv.propTypes=eD(rv.propTypes));function RB(e){return typeof e=="function"?e():e}function OB(e){return e?e.props.hasOwnProperty("in"):!1}const DB=new bB;function kB(e){const{container:n,disableEscapeKeyDown:o=!1,disableScrollLock:i=!1,manager:u=DB,closeAfterTransition:d=!1,onTransitionEnter:m,onTransitionExited:v,children:g,onClose:S,open:w,rootRef:E}=e,R=F.useRef({}),k=F.useRef(null),O=F.useRef(null),_=Ur(O,E),[M,V]=F.useState(!w),j=OB(g);let A=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(A=!1);const $=()=>Oa(k.current),P=()=>(R.current.modalRef=O.current,R.current.mount=k.current,R.current),H=()=>{u.mount(P(),{disableScrollLock:i}),O.current&&(O.current.scrollTop=0)},W=ec(()=>{const te=RB(n)||$().body;u.add(P(),te),O.current&&H()}),Y=F.useCallback(()=>u.isTopModal(P()),[u]),N=ec(te=>{k.current=te,te&&(w&&Y()?H():O.current&&nv(O.current,A))}),K=F.useCallback(()=>{u.remove(P(),A)},[A,u]);F.useEffect(()=>()=>{K()},[K]),F.useEffect(()=>{w?W():(!j||!d)&&K()},[w,K,j,d,W]);const Z=te=>se=>{var ae;(ae=te.onKeyDown)==null||ae.call(te,se),!(se.key!=="Escape"||se.which===229||!Y())&&(o||(se.stopPropagation(),S&&S(se,"escapeKeyDown")))},J=te=>se=>{var ae;(ae=te.onClick)==null||ae.call(te,se),se.target===se.currentTarget&&S&&S(se,"backdropClick")};return{getRootProps:(te={})=>{const se=dD(e);delete se.onTransitionEnter,delete se.onTransitionExited;const ae={...se,...te};return{role:"presentation",...ae,onKeyDown:Z(ae),ref:_}},getBackdropProps:(te={})=>{const se=te;return{"aria-hidden":!0,...se,onClick:J(se),open:w}},getTransitionProps:()=>{const te=()=>{V(!1),m&&m()},se=()=>{V(!0),v&&v(),d&&K()};return{onEnter:tD(te,g==null?void 0:g.props.onEnter),onExited:tD(se,g==null?void 0:g.props.onExited)}},rootRef:_,portalRef:N,isTopModal:Y,exited:M,hasTransition:j}}function MB(e){return Cn("MuiModal",e)}un("MuiModal",["root","hidden","backdrop"]);const PB=e=>{const{open:n,exited:o,classes:i}=e;return Dn({root:["root",!n&&o&&"hidden"],backdrop:["backdrop"]},MB,i)},_B=He("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,!o.open&&o.exited&&n.hidden]}})($n(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:n})=>!n.open&&n.exited,style:{visibility:"hidden"}}]}))),NB=He(yC,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,n)=>n.backdrop})({zIndex:-1}),SC=F.forwardRef(function(n,o){const i=Fn({name:"MuiModal",props:n}),{BackdropComponent:u=NB,BackdropProps:d,classes:m,className:v,closeAfterTransition:g=!1,children:S,container:w,component:E,components:R={},componentsProps:k={},disableAutoFocus:O=!1,disableEnforceFocus:_=!1,disableEscapeKeyDown:M=!1,disablePortal:V=!1,disableRestoreFocus:j=!1,disableScrollLock:A=!1,hideBackdrop:$=!1,keepMounted:P=!1,onBackdropClick:H,onClose:W,onTransitionEnter:Y,onTransitionExited:N,open:K,slotProps:Z={},slots:J={},theme:X,...ee}=i,ne={...i,closeAfterTransition:g,disableAutoFocus:O,disableEnforceFocus:_,disableEscapeKeyDown:M,disablePortal:V,disableRestoreFocus:j,disableScrollLock:A,hideBackdrop:$,keepMounted:P},{getRootProps:te,getBackdropProps:se,getTransitionProps:ae,portalRef:xe,isTopModal:oe,exited:U,hasTransition:fe}=kB({...ne,rootRef:o}),Pe={...ne,exited:U},Te=PB(Pe),ue={};if(S.props.tabIndex===void 0&&(ue.tabIndex="-1"),fe){const{onEnter:re,onExited:Se}=ae();ue.onEnter=re,ue.onExited=Se}const we={...ee,slots:{root:R.Root,backdrop:R.Backdrop,...J},slotProps:{...k,...Z}},[Ee,me]=Yi("root",{elementType:_B,externalForwardedProps:we,getSlotProps:te,additionalProps:{ref:o,as:E},ownerState:Pe,className:ct(v,Te==null?void 0:Te.root,!Pe.open&&Pe.exited&&(Te==null?void 0:Te.hidden))}),[De,Ne]=Yi("backdrop",{elementType:u,externalForwardedProps:we,additionalProps:d,getSlotProps:re=>se({...re,onClick:Se=>{H&&H(Se),re!=null&&re.onClick&&re.onClick(Se)}}),className:ct(d==null?void 0:d.className,Te==null?void 0:Te.backdrop),ownerState:Pe}),je=Ur(d==null?void 0:d.ref,Ne.ref);return!P&&!K&&(!fe||U)?null:G.jsx(Xh,{ref:xe,container:w,disablePortal:V,children:G.jsxs(Ee,{...me,children:[!$&&u?G.jsx(De,{...Ne,ref:je}):null,G.jsx(rv,{disableEnforceFocus:_,disableAutoFocus:O,disableRestoreFocus:j,isEnabled:oe,open:K,children:F.cloneElement(S,ue)})]})})});process.env.NODE_ENV!=="production"&&(SC.propTypes={BackdropComponent:s.elementType,BackdropProps:s.object,children:rp.isRequired,classes:s.object,className:s.string,closeAfterTransition:s.bool,component:s.elementType,components:s.shape({Backdrop:s.elementType,Root:s.elementType}),componentsProps:s.shape({backdrop:s.oneOfType([s.func,s.object]),root:s.oneOfType([s.func,s.object])}),container:s.oneOfType([eu,s.func]),disableAutoFocus:s.bool,disableEnforceFocus:s.bool,disableEscapeKeyDown:s.bool,disablePortal:s.bool,disableRestoreFocus:s.bool,disableScrollLock:s.bool,hideBackdrop:s.bool,keepMounted:s.bool,onBackdropClick:s.func,onClose:s.func,onTransitionEnter:s.func,onTransitionExited:s.func,open:s.bool.isRequired,slotProps:s.shape({backdrop:s.oneOfType([s.func,s.object]),root:s.oneOfType([s.func,s.object])}),slots:s.shape({backdrop:s.elementType,root:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function AB(e){return Cn("MuiDialog",e)}const ov=un("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),wk=F.createContext({});process.env.NODE_ENV!=="production"&&(wk.displayName="DialogContext");const FB=He(yC,{name:"MuiDialog",slot:"Backdrop",overrides:(e,n)=>n.backdrop})({zIndex:-1}),LB=e=>{const{classes:n,scroll:o,maxWidth:i,fullWidth:u,fullScreen:d}=e,m={root:["root"],container:["container",`scroll${ut(o)}`],paper:["paper",`paperScroll${ut(o)}`,`paperWidth${ut(String(i))}`,u&&"paperFullWidth",d&&"paperFullScreen"]};return Dn(m,AB,n)},IB=He(SC,{name:"MuiDialog",slot:"Root",overridesResolver:(e,n)=>n.root})({"@media print":{position:"absolute !important"}}),$B=He("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.container,n[`scroll${ut(o.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),jB=He(zh,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.paper,n[`scrollPaper${ut(o.scroll)}`],n[`paperWidth${ut(String(o.maxWidth))}`],o.fullWidth&&n.paperFullWidth,o.fullScreen&&n.paperFullScreen]}})($n(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:n})=>!n.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${ov.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(n=>n!=="xs").map(n=>({props:{maxWidth:n},style:{maxWidth:`${e.breakpoints.values[n]}${e.breakpoints.unit}`,[`&.${ov.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[n]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:n})=>n.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:n})=>n.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${ov.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),Ck=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiDialog"}),u=bd(),d={enter:u.transitions.duration.enteringScreen,exit:u.transitions.duration.leavingScreen},{"aria-describedby":m,"aria-labelledby":v,BackdropComponent:g,BackdropProps:S,children:w,className:E,disableEscapeKeyDown:R=!1,fullScreen:k=!1,fullWidth:O=!1,maxWidth:_="sm",onBackdropClick:M,onClick:V,onClose:j,open:A,PaperComponent:$=zh,PaperProps:P={},scroll:H="paper",TransitionComponent:W=Od,transitionDuration:Y=d,TransitionProps:N,...K}=i,Z={...i,disableEscapeKeyDown:R,fullScreen:k,fullWidth:O,maxWidth:_,scroll:H},J=LB(Z),X=F.useRef(),ee=ae=>{X.current=ae.target===ae.currentTarget},ne=ae=>{V&&V(ae),X.current&&(X.current=null,M&&M(ae),j&&j(ae,"backdropClick"))},te=vb(v),se=F.useMemo(()=>({titleId:te}),[te]);return G.jsx(IB,{className:ct(J.root,E),closeAfterTransition:!0,components:{Backdrop:FB},componentsProps:{backdrop:{transitionDuration:Y,as:g,...S}},disableEscapeKeyDown:R,onClose:j,open:A,ref:o,onClick:ne,ownerState:Z,...K,children:G.jsx(W,{appear:!0,in:A,timeout:Y,role:"presentation",...N,children:G.jsx($B,{className:ct(J.container),onMouseDown:ee,ownerState:Z,children:G.jsx(jB,{as:$,elevation:24,role:"dialog","aria-describedby":m,"aria-labelledby":te,...P,className:ct(J.paper,P.className),ownerState:Z,children:G.jsx(wk.Provider,{value:se,children:w})})})})})});process.env.NODE_ENV!=="production"&&(Ck.propTypes={"aria-describedby":s.string,"aria-labelledby":s.string,BackdropComponent:s.elementType,BackdropProps:s.object,children:s.node,classes:s.object,className:s.string,disableEscapeKeyDown:s.bool,fullScreen:s.bool,fullWidth:s.bool,maxWidth:s.oneOfType([s.oneOf(["xs","sm","md","lg","xl",!1]),s.string]),onBackdropClick:s.func,onClick:s.func,onClose:s.func,open:s.bool.isRequired,PaperComponent:s.elementType,PaperProps:s.object,scroll:s.oneOf(["body","paper"]),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),TransitionComponent:s.elementType,transitionDuration:s.oneOfType([s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})]),TransitionProps:s.object});function VB(e){return Cn("MuiDialogActions",e)}un("MuiDialogActions",["root","spacing"]);const BB=e=>{const{classes:n,disableSpacing:o}=e;return Dn({root:["root",!o&&"spacing"]},VB,n)},zB=He("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,!o.disableSpacing&&n.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),Ek=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiDialogActions"}),{className:u,disableSpacing:d=!1,...m}=i,v={...i,disableSpacing:d},g=BB(v);return G.jsx(zB,{className:ct(g.root,u),ownerState:v,ref:o,...m})});process.env.NODE_ENV!=="production"&&(Ek.propTypes={children:s.node,classes:s.object,className:s.string,disableSpacing:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function UB(e){return Cn("MuiDialogContent",e)}un("MuiDialogContent",["root","dividers"]);const HB=un("MuiDialogTitle",["root"]),WB=e=>{const{classes:n,dividers:o}=e;return Dn({root:["root",o&&"dividers"]},UB,n)},YB=He("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.dividers&&n.dividers]}})($n(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:n})=>n.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:n})=>!n.dividers,style:{[`.${HB.root} + &`]:{paddingTop:0}}}]}))),Tk=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiDialogContent"}),{className:u,dividers:d=!1,...m}=i,v={...i,dividers:d},g=WB(v);return G.jsx(YB,{className:ct(g.root,u),ownerState:v,ref:o,...m})});process.env.NODE_ENV!=="production"&&(Tk.propTypes={children:s.node,classes:s.object,className:s.string,dividers:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});const Rk=un("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),qB=e=>{const{classes:n,disableUnderline:o,startAdornment:i,endAdornment:u,size:d,hiddenLabel:m,multiline:v}=e,g={root:["root",!o&&"underline",i&&"adornedStart",u&&"adornedEnd",d==="small"&&`size${ut(d)}`,m&&"hiddenLabel",v&&"multiline"],input:["input"]},S=Dn(g,zV,n);return{...n,...S}},GB=He(Ib,{shouldForwardProp:e=>qa(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[...Fb(e,n),!o.disableUnderline&&n.underline]}})($n(({theme:e})=>{const n=e.palette.mode==="light",o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",u=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",d=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:u,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${Rd.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${Rd.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:d},variants:[{props:({ownerState:m})=>!m.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Rd.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Rd.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Rd.disabled}, .${Rd.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Rd.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Qa()).map(([m])=>{var v;return{props:{disableUnderline:!1,color:m},style:{"&::after":{borderBottom:`2px solid ${(v=(e.vars||e).palette[m])==null?void 0:v.main}`}}}}),{props:({ownerState:m})=>m.startAdornment,style:{paddingLeft:12}},{props:({ownerState:m})=>m.endAdornment,style:{paddingRight:12}},{props:({ownerState:m})=>m.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:m,size:v})=>m.multiline&&v==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:m})=>m.multiline&&m.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:m})=>m.multiline&&m.hiddenLabel&&m.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),KB=He($b,{name:"MuiFilledInput",slot:"Input",overridesResolver:Lb})($n(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:n})=>n.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:0}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:0}},{props:({ownerState:n})=>n.hiddenLabel&&n.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:n})=>n.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),av=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiFilledInput"}),{disableUnderline:u=!1,components:d={},componentsProps:m,fullWidth:v=!1,hiddenLabel:g,inputComponent:S="input",multiline:w=!1,slotProps:E,slots:R={},type:k="text",...O}=i,_={...i,disableUnderline:u,fullWidth:v,inputComponent:S,multiline:w,type:k},M=qB(i),V={root:{ownerState:_},input:{ownerState:_}},j=E??m?sa(V,E??m):V,A=R.root??d.Root??GB,$=R.input??d.Input??KB;return G.jsx(vC,{slots:{root:A,input:$},componentsProps:j,fullWidth:v,inputComponent:S,multiline:w,ref:o,type:k,...O,classes:M})});process.env.NODE_ENV!=="production"&&(av.propTypes={autoComplete:s.string,autoFocus:s.bool,classes:s.object,color:s.oneOfType([s.oneOf(["primary","secondary"]),s.string]),components:s.shape({Input:s.elementType,Root:s.elementType}),componentsProps:s.shape({input:s.object,root:s.object}),defaultValue:s.any,disabled:s.bool,disableUnderline:s.bool,endAdornment:s.node,error:s.bool,fullWidth:s.bool,hiddenLabel:s.bool,id:s.string,inputComponent:s.elementType,inputProps:s.object,inputRef:Ya,margin:s.oneOf(["dense","none"]),maxRows:s.oneOfType([s.number,s.string]),minRows:s.oneOfType([s.number,s.string]),multiline:s.bool,name:s.string,onChange:s.func,placeholder:s.string,readOnly:s.bool,required:s.bool,rows:s.oneOfType([s.number,s.string]),slotProps:s.shape({input:s.object,root:s.object}),slots:s.shape({input:s.elementType,root:s.elementType}),startAdornment:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),type:s.string,value:s.any}),av&&(av.muiName="Input");function QB(e){return Cn("MuiFormControl",e)}un("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const XB=e=>{const{classes:n,margin:o,fullWidth:i}=e,u={root:["root",o!=="none"&&`margin${ut(o)}`,i&&"fullWidth"]};return Dn(u,QB,n)},ZB=He("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},n)=>({...n.root,...n[`margin${ut(e.margin)}`],...e.fullWidth&&n.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%"}}]}),vp=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiFormControl"}),{children:u,className:d,color:m="primary",component:v="div",disabled:g=!1,error:S=!1,focused:w,fullWidth:E=!1,hiddenLabel:R=!1,margin:k="none",required:O=!1,size:_="medium",variant:M="outlined",...V}=i,j={...i,color:m,component:v,disabled:g,error:S,fullWidth:E,hiddenLabel:R,margin:k,required:O,size:_,variant:M},A=XB(j),[$,P]=F.useState(()=>{let ee=!1;return u&&F.Children.forEach(u,ne=>{if(!Ih(ne,["Input","Select"]))return;const te=Ih(ne,["Select"])?ne.props.input:ne;te&&IV(te.props)&&(ee=!0)}),ee}),[H,W]=F.useState(()=>{let ee=!1;return u&&F.Children.forEach(u,ne=>{Ih(ne,["Input","Select"])&&(Ab(ne.props,!0)||Ab(ne.props.inputProps,!0))&&(ee=!0)}),ee}),[Y,N]=F.useState(!1);g&&Y&&N(!1);const K=w!==void 0&&!g?w:Y;let Z;const J=F.useRef(!1);process.env.NODE_ENV!=="production"&&(Z=()=>(J.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
|
|
414
|
+
`)),J.current=!0,()=>{J.current=!1}));const X=F.useMemo(()=>({adornedStart:$,setAdornedStart:P,color:m,disabled:g,error:S,filled:H,focused:K,fullWidth:E,hiddenLabel:R,size:_,onBlur:()=>{N(!1)},onEmpty:()=>{W(!1)},onFilled:()=>{W(!0)},onFocus:()=>{N(!0)},registerEffect:Z,required:O,variant:M}),[$,m,g,S,H,K,E,R,Z,O,_,M]);return G.jsx(Jh.Provider,{value:X,children:G.jsx(ZB,{as:v,ownerState:j,className:ct(A.root,d),ref:o,...V,children:u})})});process.env.NODE_ENV!=="production"&&(vp.propTypes={children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["primary","secondary","error","info","success","warning"]),s.string]),component:s.elementType,disabled:s.bool,error:s.bool,focused:s.bool,fullWidth:s.bool,hiddenLabel:s.bool,margin:s.oneOf(["dense","none","normal"]),required:s.bool,size:s.oneOfType([s.oneOf(["medium","small"]),s.string]),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),variant:s.oneOf(["filled","outlined","standard"])});function JB(e){return Cn("MuiFormControlLabel",e)}const iv=un("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),e5=e=>{const{classes:n,disabled:o,labelPlacement:i,error:u,required:d}=e,m={root:["root",o&&"disabled",`labelPlacement${ut(i)}`,u&&"error",d&&"required"],label:["label",o&&"disabled"],asterisk:["asterisk",u&&"error"]};return Dn(m,JB,n)},t5=He("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[{[`& .${iv.label}`]:n.label},n.root,n[`labelPlacement${ut(o.labelPlacement)}`]]}})($n(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${iv.disabled}`]:{cursor:"default"},[`& .${iv.label}`]:{[`&.${iv.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:n})=>n==="start"||n==="top"||n==="bottom",style:{marginLeft:16}}]}))),n5=He("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,n)=>n.asterisk})($n(({theme:e})=>({[`&.${iv.error}`]:{color:(e.vars||e).palette.error.main}}))),Ok=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiFormControlLabel"}),{checked:u,className:d,componentsProps:m={},control:v,disabled:g,disableTypography:S,inputRef:w,label:E,labelPlacement:R="end",name:k,onChange:O,required:_,slots:M={},slotProps:V={},value:j,...A}=i,$=Oi(),P=g??v.props.disabled??($==null?void 0:$.disabled),H=_??v.props.required,W={disabled:P,required:H};["checked","name","onChange","value","inputRef"].forEach(ne=>{typeof v.props[ne]>"u"&&typeof i[ne]<"u"&&(W[ne]=i[ne])});const Y=Td({props:i,muiFormControl:$,states:["error"]}),N={...i,disabled:P,labelPlacement:R,required:H,error:Y.error},K=e5(N),Z={slots:M,slotProps:{...m,...V}},[J,X]=Yi("typography",{elementType:Es,externalForwardedProps:Z,ownerState:N});let ee=E;return ee!=null&&ee.type!==Es&&!S&&(ee=G.jsx(J,{component:"span",...X,className:ct(K.label,X==null?void 0:X.className),children:ee})),G.jsxs(t5,{className:ct(K.root,d),ownerState:N,ref:o,...A,children:[F.cloneElement(v,W),H?G.jsxs("div",{children:[ee,G.jsxs(n5,{ownerState:N,"aria-hidden":!0,className:K.asterisk,children:[" ","*"]})]}):ee]})});process.env.NODE_ENV!=="production"&&(Ok.propTypes={checked:s.bool,classes:s.object,className:s.string,componentsProps:s.shape({typography:s.object}),control:s.element.isRequired,disabled:s.bool,disableTypography:s.bool,inputRef:Ya,label:s.node,labelPlacement:s.oneOf(["bottom","end","start","top"]),name:s.string,onChange:s.func,required:s.bool,slotProps:s.shape({typography:s.oneOfType([s.func,s.object])}),slots:s.shape({typography:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),value:s.any});function r5(e){return Cn("MuiFormHelperText",e)}const Dk=un("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var kk;const o5=e=>{const{classes:n,contained:o,size:i,disabled:u,error:d,filled:m,focused:v,required:g}=e,S={root:["root",u&&"disabled",d&&"error",i&&`size${ut(i)}`,o&&"contained",v&&"focused",m&&"filled",g&&"required"]};return Dn(S,r5,n)},a5=He("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.size&&n[`size${ut(o.size)}`],o.contained&&n.contained,o.filled&&n.filled]}})($n(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Dk.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Dk.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:n})=>n.contained,style:{marginLeft:14,marginRight:14}}]}))),sv=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiFormHelperText"}),{children:u,className:d,component:m="p",disabled:v,error:g,filled:S,focused:w,margin:E,required:R,variant:k,...O}=i,_=Oi(),M=Td({props:i,muiFormControl:_,states:["variant","size","disabled","error","filled","focused","required"]}),V={...i,component:m,contained:M.variant==="filled"||M.variant==="outlined",variant:M.variant,size:M.size,disabled:M.disabled,error:M.error,filled:M.filled,focused:M.focused,required:M.required};delete V.ownerState;const j=o5(V);return G.jsx(a5,{as:m,className:ct(j.root,d),ref:o,...O,ownerState:V,children:u===" "?kk||(kk=G.jsx("span",{className:"notranslate",children:""})):u})});process.env.NODE_ENV!=="production"&&(sv.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,disabled:s.bool,error:s.bool,filled:s.bool,focused:s.bool,margin:s.oneOf(["dense"]),required:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),variant:s.oneOfType([s.oneOf(["filled","outlined","standard"]),s.string])});function i5(e){return Cn("MuiFormLabel",e)}const lv=un("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),s5=e=>{const{classes:n,color:o,focused:i,disabled:u,error:d,filled:m,required:v}=e,g={root:["root",`color${ut(o)}`,u&&"disabled",d&&"error",m&&"filled",i&&"focused",v&&"required"],asterisk:["asterisk",d&&"error"]};return Dn(g,i5,n)},l5=He("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},n)=>({...n.root,...e.color==="secondary"&&n.colorSecondary,...e.filled&&n.filled})})($n(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(Qa()).map(([n])=>({props:{color:n},style:{[`&.${lv.focused}`]:{color:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${lv.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${lv.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),u5=He("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,n)=>n.asterisk})($n(({theme:e})=>({[`&.${lv.error}`]:{color:(e.vars||e).palette.error.main}}))),jb=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiFormLabel"}),{children:u,className:d,color:m,component:v="label",disabled:g,error:S,filled:w,focused:E,required:R,...k}=i,O=Oi(),_=Td({props:i,muiFormControl:O,states:["color","required","focused","disabled","error","filled"]}),M={...i,color:_.color||"primary",component:v,disabled:_.disabled,error:_.error,filled:_.filled,focused:_.focused,required:_.required},V=s5(M);return G.jsxs(l5,{as:v,ownerState:M,className:ct(V.root,d),ref:o,...k,children:[u,_.required&&G.jsxs(u5,{ownerState:M,"aria-hidden":!0,className:V.asterisk,children:[" ","*"]})]})});process.env.NODE_ENV!=="production"&&(jb.propTypes={children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["error","info","primary","secondary","success","warning"]),s.string]),component:s.elementType,disabled:s.bool,error:s.bool,filled:s.bool,focused:s.bool,required:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function xC(e){return`scale(${e}, ${e**2})`}const c5={entering:{opacity:1,transform:xC(1)},entered:{opacity:1,transform:"none"}},wC=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Dd=F.forwardRef(function(n,o){const{addEndListener:i,appear:u=!0,children:d,easing:m,in:v,onEnter:g,onEntered:S,onEntering:w,onExit:E,onExited:R,onExiting:k,style:O,timeout:_="auto",TransitionComponent:M=Wi,...V}=n,j=op(),A=F.useRef(),$=bd(),P=F.useRef(null),H=Ur(P,ip(d),o),W=ne=>te=>{if(ne){const se=P.current;te===void 0?ne(se):ne(se,te)}},Y=W(w),N=W((ne,te)=>{jD(ne);const{duration:se,delay:ae,easing:xe}=Eb({style:O,timeout:_,easing:m},{mode:"enter"});let oe;_==="auto"?(oe=$.transitions.getAutoHeightDuration(ne.clientHeight),A.current=oe):oe=se,ne.style.transition=[$.transitions.create("opacity",{duration:oe,delay:ae}),$.transitions.create("transform",{duration:wC?oe:oe*.666,delay:ae,easing:xe})].join(","),g&&g(ne,te)}),K=W(S),Z=W(k),J=W(ne=>{const{duration:te,delay:se,easing:ae}=Eb({style:O,timeout:_,easing:m},{mode:"exit"});let xe;_==="auto"?(xe=$.transitions.getAutoHeightDuration(ne.clientHeight),A.current=xe):xe=te,ne.style.transition=[$.transitions.create("opacity",{duration:xe,delay:se}),$.transitions.create("transform",{duration:wC?xe:xe*.666,delay:wC?se:se||xe*.333,easing:ae})].join(","),ne.style.opacity=0,ne.style.transform=xC(.75),E&&E(ne)}),X=W(R),ee=ne=>{_==="auto"&&j.start(A.current||0,ne),i&&i(P.current,ne)};return G.jsx(M,{appear:u,in:v,nodeRef:P,onEnter:N,onEntered:K,onEntering:Y,onExit:J,onExited:X,onExiting:Z,addEndListener:ee,timeout:_==="auto"?null:_,...V,children:(ne,te)=>F.cloneElement(d,{style:{opacity:0,transform:xC(.75),visibility:ne==="exited"&&!v?"hidden":void 0,...c5[ne],...O,...d.props.style},ref:H,...te})})});process.env.NODE_ENV!=="production"&&(Dd.propTypes={addEndListener:s.func,appear:s.bool,children:rp.isRequired,easing:s.oneOfType([s.shape({enter:s.string,exit:s.string}),s.string]),in:s.bool,onEnter:s.func,onEntered:s.func,onEntering:s.func,onExit:s.func,onExited:s.func,onExiting:s.func,style:s.object,timeout:s.oneOfType([s.oneOf(["auto"]),s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})])}),Dd&&(Dd.muiSupportAuto=!0);const d5=e=>{const{classes:n,disableUnderline:o}=e,u=Dn({root:["root",!o&&"underline"],input:["input"]},VV,n);return{...n,...u}},f5=He(Ib,{shouldForwardProp:e=>qa(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[...Fb(e,n),!o.disableUnderline&&n.underline]}})($n(({theme:e})=>{let o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(o=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:i})=>i.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:i})=>!i.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ev.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ev.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ev.disabled}, .${ev.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${o}`}},[`&.${ev.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Qa()).map(([i])=>({props:{color:i,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[i].main}`}}}))]}})),p5=He($b,{name:"MuiInput",slot:"Input",overridesResolver:Lb})({}),uv=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiInput"}),{disableUnderline:u=!1,components:d={},componentsProps:m,fullWidth:v=!1,inputComponent:g="input",multiline:S=!1,slotProps:w,slots:E={},type:R="text",...k}=i,O=d5(i),M={root:{ownerState:{disableUnderline:u}}},V=w??m?sa(w??m,M):M,j=E.root??d.Root??f5,A=E.input??d.Input??p5;return G.jsx(vC,{slots:{root:j,input:A},slotProps:V,fullWidth:v,inputComponent:g,multiline:S,ref:o,type:R,...k,classes:O})});process.env.NODE_ENV!=="production"&&(uv.propTypes={autoComplete:s.string,autoFocus:s.bool,classes:s.object,color:s.oneOfType([s.oneOf(["primary","secondary"]),s.string]),components:s.shape({Input:s.elementType,Root:s.elementType}),componentsProps:s.shape({input:s.object,root:s.object}),defaultValue:s.any,disabled:s.bool,disableUnderline:s.bool,endAdornment:s.node,error:s.bool,fullWidth:s.bool,id:s.string,inputComponent:s.elementType,inputProps:s.object,inputRef:Ya,margin:s.oneOf(["dense","none"]),maxRows:s.oneOfType([s.number,s.string]),minRows:s.oneOfType([s.number,s.string]),multiline:s.bool,name:s.string,onChange:s.func,placeholder:s.string,readOnly:s.bool,required:s.bool,rows:s.oneOfType([s.number,s.string]),slotProps:s.shape({input:s.object,root:s.object}),slots:s.shape({input:s.elementType,root:s.elementType}),startAdornment:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),type:s.string,value:s.any}),uv&&(uv.muiName="Input");function m5(e){return Cn("MuiInputAdornment",e)}const Mk=un("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Pk;const h5=(e,n)=>{const{ownerState:o}=e;return[n.root,n[`position${ut(o.position)}`],o.disablePointerEvents===!0&&n.disablePointerEvents,n[o.variant]]},v5=e=>{const{classes:n,disablePointerEvents:o,hiddenLabel:i,position:u,size:d,variant:m}=e,v={root:["root",o&&"disablePointerEvents",u&&`position${ut(u)}`,m,i&&"hiddenLabel",d&&`size${ut(d)}`]};return Dn(v,m5,n)},y5=He("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:h5})($n(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${Mk.positionStart}&:not(.${Mk.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),CC=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiInputAdornment"}),{children:u,className:d,component:m="div",disablePointerEvents:v=!1,disableTypography:g=!1,position:S,variant:w,...E}=i,R=Oi()||{};let k=w;w&&R.variant&&process.env.NODE_ENV!=="production"&&w===R.variant&&console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one."),R&&!k&&(k=R.variant);const O={...i,hiddenLabel:R.hiddenLabel,size:R.size,disablePointerEvents:v,position:S,variant:k},_=v5(O);return G.jsx(Jh.Provider,{value:null,children:G.jsx(y5,{as:m,ownerState:O,className:ct(_.root,d),ref:o,...E,children:typeof u=="string"&&!g?G.jsx(Es,{color:"textSecondary",children:u}):G.jsxs(F.Fragment,{children:[S==="start"?Pk||(Pk=G.jsx("span",{className:"notranslate",children:""})):null,u]})})})});process.env.NODE_ENV!=="production"&&(CC.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,disablePointerEvents:s.bool,disableTypography:s.bool,position:s.oneOf(["end","start"]).isRequired,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),variant:s.oneOf(["filled","outlined","standard"])});function g5(e){return Cn("MuiInputLabel",e)}un("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const b5=e=>{const{classes:n,formControl:o,size:i,shrink:u,disableAnimation:d,variant:m,required:v}=e,g={root:["root",o&&"formControl",!d&&"animated",u&&"shrink",i&&i!=="normal"&&`size${ut(i)}`,m],asterisk:[v&&"asterisk"]},S=Dn(g,g5,n);return{...n,...S}},S5=He(jb,{shouldForwardProp:e=>qa(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[{[`& .${lv.asterisk}`]:n.asterisk},n.root,o.formControl&&n.formControl,o.size==="small"&&n.sizeSmall,o.shrink&&n.shrink,!o.disableAnimation&&n.animated,o.focused&&n.focused,n[o.variant]]}})($n(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:n})=>n.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:n})=>n.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:n})=>!n.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:n,ownerState:o})=>n==="filled"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:n,ownerState:o,size:i})=>n==="filled"&&o.shrink&&i==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:n,ownerState:o})=>n==="outlined"&&o.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),EC=F.forwardRef(function(n,o){const i=Fn({name:"MuiInputLabel",props:n}),{disableAnimation:u=!1,margin:d,shrink:m,variant:v,className:g,...S}=i,w=Oi();let E=m;typeof E>"u"&&w&&(E=w.filled||w.focused||w.adornedStart);const R=Td({props:i,muiFormControl:w,states:["size","variant","required","focused"]}),k={...i,disableAnimation:u,formControl:w,shrink:E,size:R.size,variant:R.variant,required:R.required,focused:R.focused},O=b5(k);return G.jsx(S5,{"data-shrink":E,ref:o,className:ct(O.root,g),...S,ownerState:k,classes:O})});process.env.NODE_ENV!=="production"&&(EC.propTypes={children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["error","info","primary","secondary","success","warning"]),s.string]),disableAnimation:s.bool,disabled:s.bool,error:s.bool,focused:s.bool,margin:s.oneOf(["dense"]),required:s.bool,shrink:s.bool,size:s.oneOfType([s.oneOf(["normal","small"]),s.string]),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),variant:s.oneOf(["filled","outlined","standard"])});const rc=F.createContext({});process.env.NODE_ENV!=="production"&&(rc.displayName="ListContext");function x5(e){return Cn("MuiList",e)}un("MuiList",["root","padding","dense","subheader"]);const w5=e=>{const{classes:n,disablePadding:o,dense:i,subheader:u}=e;return Dn({root:["root",!o&&"padding",i&&"dense",u&&"subheader"]},x5,n)},C5=He("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,!o.disablePadding&&n.padding,o.dense&&n.dense,o.subheader&&n.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),TC=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiList"}),{children:u,className:d,component:m="ul",dense:v=!1,disablePadding:g=!1,subheader:S,...w}=i,E=F.useMemo(()=>({dense:v}),[v]),R={...i,component:m,dense:v,disablePadding:g},k=w5(R);return G.jsx(rc.Provider,{value:E,children:G.jsxs(C5,{as:m,className:ct(k.root,d),ref:o,ownerState:R,...w,children:[S,u]})})});process.env.NODE_ENV!=="production"&&(TC.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,dense:s.bool,disablePadding:s.bool,subheader:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function E5(e){return Cn("MuiListItem",e)}un("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);const T5=un("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function R5(e){return Cn("MuiListItemSecondaryAction",e)}un("MuiListItemSecondaryAction",["root","disableGutters"]);const O5=e=>{const{disableGutters:n,classes:o}=e;return Dn({root:["root",n&&"disableGutters"]},R5,o)},D5=He("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.root,o.disableGutters&&n.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),RC=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiListItemSecondaryAction"}),{className:u,...d}=i,m=F.useContext(rc),v={...i,disableGutters:m.disableGutters},g=O5(v);return G.jsx(D5,{className:ct(g.root,u),ownerState:v,ref:o,...d})});process.env.NODE_ENV!=="production"&&(RC.propTypes={children:s.node,classes:s.object,className:s.string,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])}),RC.muiName="ListItemSecondaryAction";const k5=(e,n)=>{const{ownerState:o}=e;return[n.root,o.dense&&n.dense,o.alignItems==="flex-start"&&n.alignItemsFlexStart,o.divider&&n.divider,!o.disableGutters&&n.gutters,!o.disablePadding&&n.padding,o.hasSecondaryAction&&n.secondaryAction]},M5=e=>{const{alignItems:n,classes:o,dense:i,disableGutters:u,disablePadding:d,divider:m,hasSecondaryAction:v}=e;return Dn({root:["root",i&&"dense",!u&&"gutters",!d&&"padding",m&&"divider",n==="flex-start"&&"alignItemsFlexStart",v&&"secondaryAction"],container:["container"]},E5,o)},P5=He("div",{name:"MuiListItem",slot:"Root",overridesResolver:k5})($n(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:n})=>!n.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:n})=>!n.disablePadding&&n.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:n})=>!n.disablePadding&&!n.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:n})=>!n.disablePadding&&!!n.secondaryAction,style:{paddingRight:48}},{props:({ownerState:n})=>!!n.secondaryAction,style:{[`& > .${T5.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:n})=>n.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:n})=>n.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:n})=>n.hasSecondaryAction,style:{paddingRight:48}}]}))),_5=He("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,n)=>n.container})({position:"relative"}),_k=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiListItem"}),{alignItems:u="center",children:d,className:m,component:v,components:g={},componentsProps:S={},ContainerComponent:w="li",ContainerProps:{className:E,...R}={},dense:k=!1,disableGutters:O=!1,disablePadding:_=!1,divider:M=!1,secondaryAction:V,slotProps:j={},slots:A={},...$}=i,P=F.useContext(rc),H=F.useMemo(()=>({dense:k||P.dense||!1,alignItems:u,disableGutters:O}),[u,P.dense,k,O]),W=F.useRef(null),Y=F.Children.toArray(d),N=Y.length&&Ih(Y[Y.length-1],["ListItemSecondaryAction"]),K={...i,alignItems:u,dense:H.dense,disableGutters:O,disablePadding:_,divider:M,hasSecondaryAction:N},Z=M5(K),J=Ur(W,o),X=A.root||g.Root||P5,ee=j.root||S.root||{},ne={className:ct(Z.root,ee.className,m),...$};let te=v||"li";return N?(te=!ne.component&&!v?"div":te,w==="li"&&(te==="li"?te="div":ne.component==="li"&&(ne.component="div")),G.jsx(rc.Provider,{value:H,children:G.jsxs(_5,{as:w,className:ct(Z.container,E),ref:J,ownerState:K,...R,children:[G.jsx(X,{...ee,...!Zh(X)&&{as:te,ownerState:{...K,...ee.ownerState}},...ne,children:Y}),Y.pop()]})})):G.jsx(rc.Provider,{value:H,children:G.jsxs(X,{...ee,as:te,ref:J,...!Zh(X)&&{ownerState:{...K,...ee.ownerState}},...ne,children:[Y,V&&G.jsx(RC,{children:V})]})})});process.env.NODE_ENV!=="production"&&(_k.propTypes={alignItems:s.oneOf(["center","flex-start"]),children:Ju(s.node,e=>{const n=F.Children.toArray(e.children);let o=-1;for(let i=n.length-1;i>=0;i-=1){const u=n[i];if(Ih(u,["ListItemSecondaryAction"])){o=i;break}}return o!==-1&&o!==n.length-1?new Error("MUI: You used an element after ListItemSecondaryAction. For ListItem to detect that it has a secondary action you must pass it as the last child to ListItem."):null}),classes:s.object,className:s.string,component:s.elementType,components:s.shape({Root:s.elementType}),componentsProps:s.shape({root:s.object}),ContainerComponent:hb,ContainerProps:s.object,dense:s.bool,disableGutters:s.bool,disablePadding:s.bool,divider:s.bool,secondaryAction:s.node,slotProps:s.shape({root:s.object}),slots:s.shape({root:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});const Nk=un("MuiListItemIcon",["root","alignItemsFlexStart"]),Ak=un("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function OC(e,n,o){return e===n?e.firstChild:n&&n.nextElementSibling?n.nextElementSibling:o?null:e.firstChild}function Fk(e,n,o){return e===n?o?e.firstChild:e.lastChild:n&&n.previousElementSibling?n.previousElementSibling:o?null:e.lastChild}function Lk(e,n){if(n===void 0)return!0;let o=e.innerText;return o===void 0&&(o=e.textContent),o=o.trim().toLowerCase(),o.length===0?!1:n.repeating?o[0]===n.keys[0]:o.startsWith(n.keys.join(""))}function cv(e,n,o,i,u,d){let m=!1,v=u(e,n,n?o:!1);for(;v;){if(v===e.firstChild){if(m)return!1;m=!0}const g=i?!1:v.disabled||v.getAttribute("aria-disabled")==="true";if(!v.hasAttribute("tabindex")||!Lk(v,d)||g)v=u(e,v,o);else return v.focus(),!0}return!1}const Ik=F.forwardRef(function(n,o){const{actions:i,autoFocus:u=!1,autoFocusItem:d=!1,children:m,className:v,disabledItemsFocusable:g=!1,disableListWrap:S=!1,onKeyDown:w,variant:E="selectedMenu",...R}=n,k=F.useRef(null),O=F.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Cs(()=>{u&&k.current.focus()},[u]),F.useImperativeHandle(i,()=>({adjustStyleForScrollbar:(A,{direction:$})=>{const P=!k.current.style.width;if(A.clientHeight<k.current.clientHeight&&P){const H=`${sD(Oa(A))}px`;k.current.style[$==="rtl"?"paddingLeft":"paddingRight"]=H,k.current.style.width=`calc(100% + ${H})`}return k.current}}),[]);const _=A=>{const $=k.current,P=A.key;if(A.ctrlKey||A.metaKey||A.altKey){w&&w(A);return}const W=Oa($).activeElement;if(P==="ArrowDown")A.preventDefault(),cv($,W,S,g,OC);else if(P==="ArrowUp")A.preventDefault(),cv($,W,S,g,Fk);else if(P==="Home")A.preventDefault(),cv($,null,S,g,OC);else if(P==="End")A.preventDefault(),cv($,null,S,g,Fk);else if(P.length===1){const Y=O.current,N=P.toLowerCase(),K=performance.now();Y.keys.length>0&&(K-Y.lastTime>500?(Y.keys=[],Y.repeating=!0,Y.previousKeyMatched=!0):Y.repeating&&N!==Y.keys[0]&&(Y.repeating=!1)),Y.lastTime=K,Y.keys.push(N);const Z=W&&!Y.repeating&&Lk(W,Y);Y.previousKeyMatched&&(Z||cv($,W,!1,g,OC,Y))?A.preventDefault():Y.previousKeyMatched=!1}w&&w(A)},M=Ur(k,o);let V=-1;F.Children.forEach(m,(A,$)=>{if(!F.isValidElement(A)){V===$&&(V+=1,V>=m.length&&(V=-1));return}process.env.NODE_ENV!=="production"&&Ah.isFragment(A)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
415
|
+
`)),A.props.disabled||(E==="selectedMenu"&&A.props.selected||V===-1)&&(V=$),V===$&&(A.props.disabled||A.props.muiSkipListHighlight||A.type.muiSkipListHighlight)&&(V+=1,V>=m.length&&(V=-1))});const j=F.Children.map(m,(A,$)=>{if($===V){const P={};return d&&(P.autoFocus=!0),A.props.tabIndex===void 0&&E==="selectedMenu"&&(P.tabIndex=0),F.cloneElement(A,P)}return A});return G.jsx(TC,{role:"menu",ref:M,className:v,onKeyDown:_,tabIndex:u?0:-1,...R,children:j})});process.env.NODE_ENV!=="production"&&(Ik.propTypes={autoFocus:s.bool,autoFocusItem:s.bool,children:s.node,className:s.string,disabledItemsFocusable:s.bool,disableListWrap:s.bool,onKeyDown:s.func,variant:s.oneOf(["menu","selectedMenu"])});function N5(e){return Cn("MuiPopover",e)}un("MuiPopover",["root","paper"]);function $k(e,n){let o=0;return typeof n=="number"?o=n:n==="center"?o=e.height/2:n==="bottom"&&(o=e.height),o}function jk(e,n){let o=0;return typeof n=="number"?o=n:n==="center"?o=e.width/2:n==="right"&&(o=e.width),o}function Vk(e){return[e.horizontal,e.vertical].map(n=>typeof n=="number"?`${n}px`:n).join(" ")}function Vb(e){return typeof e=="function"?e():e}const A5=e=>{const{classes:n}=e;return Dn({root:["root"],paper:["paper"]},N5,n)},F5=He(SC,{name:"MuiPopover",slot:"Root",overridesResolver:(e,n)=>n.root})({}),Bk=He(zh,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,n)=>n.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),zk=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiPopover"}),{action:u,anchorEl:d,anchorOrigin:m={vertical:"top",horizontal:"left"},anchorPosition:v,anchorReference:g="anchorEl",children:S,className:w,container:E,elevation:R=8,marginThreshold:k=16,open:O,PaperProps:_={},slots:M={},slotProps:V={},transformOrigin:j={vertical:"top",horizontal:"left"},TransitionComponent:A=Dd,transitionDuration:$="auto",TransitionProps:{onEntering:P,...H}={},disableScrollLock:W=!1,...Y}=i,N=(V==null?void 0:V.paper)??_,K=F.useRef(),Z={...i,anchorOrigin:m,anchorReference:g,elevation:R,marginThreshold:k,externalPaperSlotProps:N,transformOrigin:j,TransitionComponent:A,transitionDuration:$,TransitionProps:H},J=A5(Z),X=F.useCallback(()=>{if(g==="anchorPosition")return process.env.NODE_ENV!=="production"&&(v||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),v;const Ne=Vb(d),je=Ne&&Ne.nodeType===1?Ne:Oa(K.current).body,re=je.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const Se=je.getBoundingClientRect();process.env.NODE_ENV!=="test"&&Se.top===0&&Se.left===0&&Se.right===0&&Se.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
416
|
+
`))}return{top:re.top+$k(re,m.vertical),left:re.left+jk(re,m.horizontal)}},[d,m.horizontal,m.vertical,v,g]),ee=F.useCallback(Ne=>({vertical:$k(Ne,j.vertical),horizontal:jk(Ne,j.horizontal)}),[j.horizontal,j.vertical]),ne=F.useCallback(Ne=>{const je={width:Ne.offsetWidth,height:Ne.offsetHeight},re=ee(je);if(g==="none")return{top:null,left:null,transformOrigin:Vk(re)};const Se=X();let he=Se.top-re.vertical,We=Se.left-re.horizontal;const qe=he+je.height,tt=We+je.width,q=gd(Vb(d)),ce=q.innerHeight-k,be=q.innerWidth-k;if(k!==null&&he<k){const Ve=he-k;he-=Ve,re.vertical+=Ve}else if(k!==null&&qe>ce){const Ve=qe-ce;he-=Ve,re.vertical+=Ve}if(process.env.NODE_ENV!=="production"&&je.height>ce&&je.height&&ce&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${je.height-ce}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
|
|
417
|
+
`)),k!==null&&We<k){const Ve=We-k;We-=Ve,re.horizontal+=Ve}else if(tt>be){const Ve=tt-be;We-=Ve,re.horizontal+=Ve}return{top:`${Math.round(he)}px`,left:`${Math.round(We)}px`,transformOrigin:Vk(re)}},[d,g,X,ee,k]),[te,se]=F.useState(O),ae=F.useCallback(()=>{const Ne=K.current;if(!Ne)return;const je=ne(Ne);je.top!==null&&Ne.style.setProperty("top",je.top),je.left!==null&&(Ne.style.left=je.left),Ne.style.transformOrigin=je.transformOrigin,se(!0)},[ne]);F.useEffect(()=>(W&&window.addEventListener("scroll",ae),()=>window.removeEventListener("scroll",ae)),[d,W,ae]);const xe=(Ne,je)=>{P&&P(Ne,je),ae()},oe=()=>{se(!1)};F.useEffect(()=>{O&&ae()}),F.useImperativeHandle(u,()=>O?{updatePosition:()=>{ae()}}:null,[O,ae]),F.useEffect(()=>{if(!O)return;const Ne=nD(()=>{ae()}),je=gd(d);return je.addEventListener("resize",Ne),()=>{Ne.clear(),je.removeEventListener("resize",Ne)}},[d,O,ae]);let U=$;$==="auto"&&!A.muiSupportAuto&&(U=void 0);const fe=E||(d?Oa(Vb(d)).body:void 0),Pe={slots:M,slotProps:{...V,paper:N}},[Te,ue]=Yi("paper",{elementType:Bk,externalForwardedProps:Pe,additionalProps:{elevation:R,className:ct(J.paper,N==null?void 0:N.className),style:te?N.style:{...N.style,opacity:0}},ownerState:Z}),[we,{slotProps:Ee,...me}]=Yi("root",{elementType:F5,externalForwardedProps:Pe,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:fe,open:O},ownerState:Z,className:ct(J.root,w)}),De=Ur(K,ue.ref);return G.jsx(we,{...me,...!Zh(we)&&{slotProps:Ee,disableScrollLock:W},...Y,ref:o,children:G.jsx(A,{appear:!0,in:O,onEntering:xe,onExited:oe,timeout:U,...H,children:G.jsx(Te,{...ue,ref:De,children:S})})})});process.env.NODE_ENV!=="production"&&(zk.propTypes={action:Ya,anchorEl:Ju(s.oneOfType([eu,s.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const n=Vb(e.anchorEl);if(n&&n.nodeType===1){const o=n.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&o.top===0&&o.left===0&&o.right===0&&o.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
418
|
+
`))}else return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element or PopoverVirtualElement instance but it's \`${n}\` instead.`].join(`
|
|
419
|
+
`))}return null}),anchorOrigin:s.shape({horizontal:s.oneOfType([s.oneOf(["center","left","right"]),s.number]).isRequired,vertical:s.oneOfType([s.oneOf(["bottom","center","top"]),s.number]).isRequired}),anchorPosition:s.shape({left:s.number.isRequired,top:s.number.isRequired}),anchorReference:s.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:s.elementType,BackdropProps:s.object,children:s.node,classes:s.object,className:s.string,container:s.oneOfType([eu,s.func]),disableScrollLock:s.bool,elevation:cD,marginThreshold:s.number,onClose:s.func,open:s.bool.isRequired,PaperProps:s.shape({component:hb}),slotProps:s.shape({paper:s.oneOfType([s.func,s.object]),root:s.oneOfType([s.func,s.object])}),slots:s.shape({paper:s.elementType,root:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),transformOrigin:s.shape({horizontal:s.oneOfType([s.oneOf(["center","left","right"]),s.number]).isRequired,vertical:s.oneOfType([s.oneOf(["bottom","center","top"]),s.number]).isRequired}),TransitionComponent:s.elementType,transitionDuration:s.oneOfType([s.oneOf(["auto"]),s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})]),TransitionProps:s.object});function L5(e){return Cn("MuiMenu",e)}un("MuiMenu",["root","paper","list"]);const I5={vertical:"top",horizontal:"right"},$5={vertical:"top",horizontal:"left"},j5=e=>{const{classes:n}=e;return Dn({root:["root"],paper:["paper"],list:["list"]},L5,n)},V5=He(zk,{shouldForwardProp:e=>qa(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,n)=>n.root})({}),B5=He(Bk,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,n)=>n.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),z5=He(Ik,{name:"MuiMenu",slot:"List",overridesResolver:(e,n)=>n.list})({outline:0}),Uk=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiMenu"}),{autoFocus:u=!0,children:d,className:m,disableAutoFocusItem:v=!1,MenuListProps:g={},onClose:S,open:w,PaperProps:E={},PopoverClasses:R,transitionDuration:k="auto",TransitionProps:{onEntering:O,..._}={},variant:M="selectedMenu",slots:V={},slotProps:j={},...A}=i,$=Uw(),P={...i,autoFocus:u,disableAutoFocusItem:v,MenuListProps:g,onEntering:O,PaperProps:E,transitionDuration:k,TransitionProps:_,variant:M},H=j5(P),W=u&&!v&&w,Y=F.useRef(null),N=(te,se)=>{Y.current&&Y.current.adjustStyleForScrollbar(te,{direction:$?"rtl":"ltr"}),O&&O(te,se)},K=te=>{te.key==="Tab"&&(te.preventDefault(),S&&S(te,"tabKeyDown"))};let Z=-1;F.Children.map(d,(te,se)=>{F.isValidElement(te)&&(process.env.NODE_ENV!=="production"&&Ah.isFragment(te)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
420
|
+
`)),te.props.disabled||(M==="selectedMenu"&&te.props.selected||Z===-1)&&(Z=se))});const J=V.paper??B5,X=j.paper??E,ee=zw({elementType:V.root,externalSlotProps:j.root,ownerState:P,className:[H.root,m]}),ne=zw({elementType:J,externalSlotProps:X,ownerState:P,className:H.paper});return G.jsx(V5,{onClose:S,anchorOrigin:{vertical:"bottom",horizontal:$?"right":"left"},transformOrigin:$?I5:$5,slots:{paper:J,root:V.root},slotProps:{root:ee,paper:ne},open:w,ref:o,transitionDuration:k,TransitionProps:{onEntering:N,..._},ownerState:P,...A,classes:R,children:G.jsx(z5,{onKeyDown:K,actions:Y,autoFocus:u&&(Z===-1||v),autoFocusItem:W,variant:M,...g,className:ct(H.list,g.className),children:d})})});process.env.NODE_ENV!=="production"&&(Uk.propTypes={anchorEl:s.oneOfType([eu,s.func]),autoFocus:s.bool,children:s.node,classes:s.object,className:s.string,disableAutoFocusItem:s.bool,MenuListProps:s.object,onClose:s.func,open:s.bool.isRequired,PaperProps:s.object,PopoverClasses:s.object,slotProps:s.shape({paper:s.oneOfType([s.func,s.object]),root:s.oneOfType([s.func,s.object])}),slots:s.shape({paper:s.elementType,root:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),transitionDuration:s.oneOfType([s.oneOf(["auto"]),s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})]),TransitionProps:s.object,variant:s.oneOf(["menu","selectedMenu"])});function U5(e){return Cn("MuiMenuItem",e)}const dv=un("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),H5=(e,n)=>{const{ownerState:o}=e;return[n.root,o.dense&&n.dense,o.divider&&n.divider,!o.disableGutters&&n.gutters]},W5=e=>{const{disabled:n,dense:o,divider:i,disableGutters:u,selected:d,classes:m}=e,g=Dn({root:["root",o&&"dense",n&&"disabled",!u&&"gutters",i&&"divider",d&&"selected"]},U5,m);return{...m,...g}},Y5=He(tc,{shouldForwardProp:e=>qa(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:H5})($n(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${dv.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:kn(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${dv.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:kn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${dv.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:kn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:kn(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${dv.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${dv.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Rk.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Rk.inset}`]:{marginLeft:52},[`& .${Ak.root}`]:{marginTop:0,marginBottom:0},[`& .${Ak.inset}`]:{paddingLeft:36},[`& .${Nk.root}`]:{minWidth:36},variants:[{props:({ownerState:n})=>!n.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:n})=>n.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:n})=>!n.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:n})=>n.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${Nk.root} svg`]:{fontSize:"1.25rem"}}}]}))),Hk=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiMenuItem"}),{autoFocus:u=!1,component:d="li",dense:m=!1,divider:v=!1,disableGutters:g=!1,focusVisibleClassName:S,role:w="menuitem",tabIndex:E,className:R,...k}=i,O=F.useContext(rc),_=F.useMemo(()=>({dense:m||O.dense||!1,disableGutters:g}),[O.dense,m,g]),M=F.useRef(null);Cs(()=>{u&&(M.current?M.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[u]);const V={...i,dense:_.dense,divider:v,disableGutters:g},j=W5(i),A=Ur(M,o);let $;return i.disabled||($=E!==void 0?E:-1),G.jsx(rc.Provider,{value:_,children:G.jsx(Y5,{ref:A,role:w,tabIndex:$,component:d,focusVisibleClassName:ct(j.focusVisible,S),className:ct(j.root,R),...k,ownerState:V,classes:j})})});process.env.NODE_ENV!=="production"&&(Hk.propTypes={autoFocus:s.bool,children:s.node,classes:s.object,className:s.string,component:s.elementType,dense:s.bool,disabled:s.bool,disableGutters:s.bool,divider:s.bool,focusVisibleClassName:s.string,role:s.string,selected:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),tabIndex:s.number});function q5(e){return Cn("MuiNativeSelect",e)}const DC=un("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),G5=e=>{const{classes:n,variant:o,disabled:i,multiple:u,open:d,error:m}=e,v={select:["select",o,i&&"disabled",u&&"multiple",m&&"error"],icon:["icon",`icon${ut(o)}`,d&&"iconOpen",i&&"disabled"]};return Dn(v,q5,n)},Wk=He("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${DC.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:n})=>n.variant!=="filled"&&n.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),K5=He(Wk,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:qa,overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.select,n[o.variant],o.error&&n.error,{[`&.${DC.multiple}`]:n.multiple}]}})({}),Yk=He("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${DC.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:n})=>n.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),Q5=He(Yk,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.icon,o.variant&&n[`icon${ut(o.variant)}`],o.open&&n.iconOpen]}})({}),qk=F.forwardRef(function(n,o){const{className:i,disabled:u,error:d,IconComponent:m,inputRef:v,variant:g="standard",...S}=n,w={...n,disabled:u,variant:g,error:d},E=G5(w);return G.jsxs(F.Fragment,{children:[G.jsx(K5,{ownerState:w,className:ct(E.select,i),disabled:u,ref:v||o,...S}),n.multiple?null:G.jsx(Q5,{as:m,ownerState:w,className:E.icon})]})});process.env.NODE_ENV!=="production"&&(qk.propTypes={children:s.node,classes:s.object,className:s.string,disabled:s.bool,error:s.bool,IconComponent:s.elementType.isRequired,inputRef:Ya,multiple:s.bool,name:s.string,onChange:s.func,value:s.any,variant:s.oneOf(["standard","outlined","filled"])});var Gk;const X5=He("fieldset",{shouldForwardProp:qa})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Z5=He("legend",{shouldForwardProp:qa})($n(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:n})=>!n.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:n})=>n.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:n})=>n.withLabel&&n.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function Kk(e){const{children:n,classes:o,className:i,label:u,notched:d,...m}=e,v=u!=null&&u!=="",g={...e,notched:d,withLabel:v};return G.jsx(X5,{"aria-hidden":!0,className:i,ownerState:g,...m,children:G.jsx(Z5,{ownerState:g,children:v?G.jsx("span",{children:u}):Gk||(Gk=G.jsx("span",{className:"notranslate",children:""}))})})}process.env.NODE_ENV!=="production"&&(Kk.propTypes={children:s.node,classes:s.object,className:s.string,label:s.node,notched:s.bool.isRequired,style:s.object});const J5=e=>{const{classes:n}=e,i=Dn({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},BV,n);return{...n,...i}},ez=He(Ib,{shouldForwardProp:e=>qa(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Fb})($n(({theme:e})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${cl.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},[`&.${cl.focused} .${cl.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Qa()).map(([o])=>({props:{color:o},style:{[`&.${cl.focused} .${cl.notchedOutline}`]:{borderColor:(e.vars||e).palette[o].main}}})),{props:{},style:{"@media (hover: none)":{[`&:hover .${cl.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${cl.error} .${cl.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${cl.disabled} .${cl.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:o})=>o.startAdornment,style:{paddingLeft:14}},{props:({ownerState:o})=>o.endAdornment,style:{paddingRight:14}},{props:({ownerState:o})=>o.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:o,size:i})=>o.multiline&&i==="small",style:{padding:"8.5px 14px"}}]}})),tz=He(Kk,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,n)=>n.notchedOutline})($n(({theme:e})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}})),nz=He($b,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Lb})($n(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:n})=>n.multiline,style:{padding:0}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:0}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:0}}]}))),fv=F.forwardRef(function(n,o){var i;const u=Fn({props:n,name:"MuiOutlinedInput"}),{components:d={},fullWidth:m=!1,inputComponent:v="input",label:g,multiline:S=!1,notched:w,slots:E={},type:R="text",...k}=u,O=J5(u),_=Oi(),M=Td({props:u,muiFormControl:_,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),V={...u,color:M.color||"primary",disabled:M.disabled,error:M.error,focused:M.focused,formControl:_,fullWidth:m,hiddenLabel:M.hiddenLabel,multiline:S,size:M.size,type:R},j=E.root??d.Root??ez,A=E.input??d.Input??nz;return G.jsx(vC,{slots:{root:j,input:A},renderSuffix:$=>G.jsx(tz,{ownerState:V,className:O.notchedOutline,label:g!=null&&g!==""&&M.required?i||(i=G.jsxs(F.Fragment,{children:[g," ","*"]})):g,notched:typeof w<"u"?w:!!($.startAdornment||$.filled||$.focused)}),fullWidth:m,inputComponent:v,multiline:S,ref:o,type:R,...k,classes:{...O,notchedOutline:null}})});process.env.NODE_ENV!=="production"&&(fv.propTypes={autoComplete:s.string,autoFocus:s.bool,classes:s.object,color:s.oneOfType([s.oneOf(["primary","secondary"]),s.string]),components:s.shape({Input:s.elementType,Root:s.elementType}),defaultValue:s.any,disabled:s.bool,endAdornment:s.node,error:s.bool,fullWidth:s.bool,id:s.string,inputComponent:s.elementType,inputProps:s.object,inputRef:Ya,label:s.node,margin:s.oneOf(["dense","none"]),maxRows:s.oneOfType([s.number,s.string]),minRows:s.oneOfType([s.number,s.string]),multiline:s.bool,name:s.string,notched:s.bool,onChange:s.func,placeholder:s.string,readOnly:s.bool,required:s.bool,rows:s.oneOfType([s.number,s.string]),slots:s.shape({input:s.elementType,root:s.elementType}),startAdornment:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),type:s.string,value:s.any}),fv&&(fv.muiName="Input");function rz(e){return Cn("MuiSelect",e)}const pv=un("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Qk;const oz=He(Wk,{name:"MuiSelect",slot:"Select",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[{[`&.${pv.select}`]:n.select},{[`&.${pv.select}`]:n[o.variant]},{[`&.${pv.error}`]:n.error},{[`&.${pv.multiple}`]:n.multiple}]}})({[`&.${pv.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),az=He(Yk,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.icon,o.variant&&n[`icon${ut(o.variant)}`],o.open&&n.iconOpen]}})({}),iz=He("input",{shouldForwardProp:e=>TD(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,n)=>n.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Xk(e,n){return typeof n=="object"&&n!==null?e===n:String(e)===String(n)}function sz(e){return e==null||typeof e=="string"&&!e.trim()}const lz=e=>{const{classes:n,variant:o,disabled:i,multiple:u,open:d,error:m}=e,v={select:["select",o,i&&"disabled",u&&"multiple",m&&"error"],icon:["icon",`icon${ut(o)}`,d&&"iconOpen",i&&"disabled"],nativeInput:["nativeInput"]};return Dn(v,rz,n)},Zk=F.forwardRef(function(n,o){var tn;const{"aria-describedby":i,"aria-label":u,autoFocus:d,autoWidth:m,children:v,className:g,defaultOpen:S,defaultValue:w,disabled:E,displayEmpty:R,error:k=!1,IconComponent:O,inputRef:_,labelId:M,MenuProps:V={},multiple:j,name:A,onBlur:$,onChange:P,onClose:H,onFocus:W,onOpen:Y,open:N,readOnly:K,renderValue:Z,SelectDisplayProps:J={},tabIndex:X,type:ee,value:ne,variant:te="standard",...se}=n,[ae,xe]=yb({controlled:ne,default:w,name:"Select"}),[oe,U]=yb({controlled:N,default:S,name:"Select"}),fe=F.useRef(null),Pe=F.useRef(null),[Te,ue]=F.useState(null),{current:we}=F.useRef(N!=null),[Ee,me]=F.useState(),De=Ur(o,_),Ne=F.useCallback(at=>{Pe.current=at,at&&ue(at)},[]),je=Te==null?void 0:Te.parentNode;F.useImperativeHandle(De,()=>({focus:()=>{Pe.current.focus()},node:fe.current,value:ae}),[ae]),F.useEffect(()=>{S&&oe&&Te&&!we&&(me(m?null:je.clientWidth),Pe.current.focus())},[Te,m]),F.useEffect(()=>{d&&Pe.current.focus()},[d]),F.useEffect(()=>{if(!M)return;const at=Oa(Pe.current).getElementById(M);if(at){const kt=()=>{getSelection().isCollapsed&&Pe.current.focus()};return at.addEventListener("click",kt),()=>{at.removeEventListener("click",kt)}}},[M]);const re=(at,kt)=>{at?Y&&Y(kt):H&&H(kt),we||(me(m?null:je.clientWidth),U(at))},Se=at=>{at.button===0&&(at.preventDefault(),Pe.current.focus(),re(!0,at))},he=at=>{re(!1,at)},We=F.Children.toArray(v),qe=at=>{const kt=We.find(Kt=>Kt.props.value===at.target.value);kt!==void 0&&(xe(kt.props.value),P&&P(at,kt))},tt=at=>kt=>{let Kt;if(kt.currentTarget.hasAttribute("tabindex")){if(j){Kt=Array.isArray(ae)?ae.slice():[];const Zn=ae.indexOf(at.props.value);Zn===-1?Kt.push(at.props.value):Kt.splice(Zn,1)}else Kt=at.props.value;if(at.props.onClick&&at.props.onClick(kt),ae!==Kt&&(xe(Kt),P)){const Zn=kt.nativeEvent||kt,Nt=new Zn.constructor(Zn.type,Zn);Object.defineProperty(Nt,"target",{writable:!0,value:{value:Kt,name:A}}),P(Nt,at)}j||re(!1,kt)}},q=at=>{K||[" ","ArrowUp","ArrowDown","Enter"].includes(at.key)&&(at.preventDefault(),re(!0,at))},ce=Te!==null&&oe,be=at=>{!ce&&$&&(Object.defineProperty(at,"target",{writable:!0,value:{value:ae,name:A}}),$(at))};delete se["aria-invalid"];let Ve,Ke;const Oe=[];let it=!1,gt=!1;(Ab({value:ae})||R)&&(Z?Ve=Z(ae):it=!0);const qt=We.map(at=>{if(!F.isValidElement(at))return null;process.env.NODE_ENV!=="production"&&Ah.isFragment(at)&&console.error(["MUI: The Select component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
421
|
+
`));let kt;if(j){if(!Array.isArray(ae))throw new Error(process.env.NODE_ENV!=="production"?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":nl(2));kt=ae.some(Kt=>Xk(Kt,at.props.value)),kt&&it&&Oe.push(at.props.children)}else kt=Xk(ae,at.props.value),kt&&it&&(Ke=at.props.children);return kt&&(gt=!0),F.cloneElement(at,{"aria-selected":kt?"true":"false",onClick:tt(at),onKeyUp:Kt=>{Kt.key===" "&&Kt.preventDefault(),at.props.onKeyUp&&at.props.onKeyUp(Kt)},role:"option",selected:kt,value:void 0,"data-value":at.props.value})});process.env.NODE_ENV!=="production"&&F.useEffect(()=>{if(!gt&&!j&&ae!==""){const at=We.map(kt=>kt.props.value);console.warn([`MUI: You have provided an out-of-range value \`${ae}\` for the select ${A?`(name="${A}") `:""}component.`,"Consider providing a value that matches one of the available options or ''.",`The available values are ${at.filter(kt=>kt!=null).map(kt=>`\`${kt}\``).join(", ")||'""'}.`].join(`
|
|
422
|
+
`))}},[gt,We,j,A,ae]),it&&(j?Oe.length===0?Ve=null:Ve=Oe.reduce((at,kt,Kt)=>(at.push(kt),Kt<Oe.length-1&&at.push(", "),at),[]):Ve=Ke);let Mt=Ee;!m&&we&&Te&&(Mt=je.clientWidth);let mn;typeof X<"u"?mn=X:mn=E?null:0;const or=J.id||(A?`mui-component-select-${A}`:void 0),Ln={...n,variant:te,value:ae,open:ce,error:k},Be=lz(Ln),ht={...V.PaperProps,...(tn=V.slotProps)==null?void 0:tn.paper},$t=vb();return G.jsxs(F.Fragment,{children:[G.jsx(oz,{as:"div",ref:Ne,tabIndex:mn,role:"combobox","aria-controls":$t,"aria-disabled":E?"true":void 0,"aria-expanded":ce?"true":"false","aria-haspopup":"listbox","aria-label":u,"aria-labelledby":[M,or].filter(Boolean).join(" ")||void 0,"aria-describedby":i,onKeyDown:q,onMouseDown:E||K?null:Se,onBlur:be,onFocus:W,...J,ownerState:Ln,className:ct(J.className,Be.select,g),id:or,children:sz(Ve)?Qk||(Qk=G.jsx("span",{className:"notranslate",children:""})):Ve}),G.jsx(iz,{"aria-invalid":k,value:Array.isArray(ae)?ae.join(","):ae,name:A,ref:fe,"aria-hidden":!0,onChange:qe,tabIndex:-1,disabled:E,className:Be.nativeInput,autoFocus:d,...se,ownerState:Ln}),G.jsx(az,{as:O,className:Be.icon,ownerState:Ln}),G.jsx(Uk,{id:`menu-${A||""}`,anchorEl:je,open:ce,onClose:he,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...V,MenuListProps:{"aria-labelledby":M,role:"listbox","aria-multiselectable":j?"true":void 0,disableListWrap:!0,id:$t,...V.MenuListProps},slotProps:{...V.slotProps,paper:{...ht,style:{minWidth:Mt,...ht!=null?ht.style:null}}},children:qt})]})});process.env.NODE_ENV!=="production"&&(Zk.propTypes={"aria-describedby":s.string,"aria-label":s.string,autoFocus:s.bool,autoWidth:s.bool,children:s.node,classes:s.object,className:s.string,defaultOpen:s.bool,defaultValue:s.any,disabled:s.bool,displayEmpty:s.bool,error:s.bool,IconComponent:s.elementType.isRequired,inputRef:Ya,labelId:s.string,MenuProps:s.object,multiple:s.bool,name:s.string,onBlur:s.func,onChange:s.func,onClose:s.func,onFocus:s.func,onOpen:s.func,open:s.bool,readOnly:s.bool,renderValue:s.func,SelectDisplayProps:s.object,tabIndex:s.oneOfType([s.number,s.string]),type:s.any,value:s.any,variant:s.oneOf(["standard","outlined","filled"])});const uz=e=>{const{classes:n}=e;return n},kC={name:"MuiSelect",overridesResolver:(e,n)=>n.root,shouldForwardProp:e=>qa(e)&&e!=="variant",slot:"Root"},cz=He(uv,kC)(""),dz=He(fv,kC)(""),fz=He(av,kC)(""),Bb=F.forwardRef(function(n,o){const i=br({name:"MuiSelect",props:n}),{autoWidth:u=!1,children:d,classes:m={},className:v,defaultOpen:g=!1,displayEmpty:S=!1,IconComponent:w=UV,id:E,input:R,inputProps:k,label:O,labelId:_,MenuProps:M,multiple:V=!1,native:j=!1,onClose:A,onOpen:$,open:P,renderValue:H,SelectDisplayProps:W,variant:Y="outlined",...N}=i,K=j?qk:Zk,Z=Oi(),J=Td({props:i,muiFormControl:Z,states:["variant","error"]}),X=J.variant||Y,ee={...i,variant:X,classes:m},ne=uz(ee),{root:te,...se}=ne,ae=R||{standard:G.jsx(cz,{ownerState:ee}),outlined:G.jsx(dz,{label:O,ownerState:ee}),filled:G.jsx(fz,{ownerState:ee})}[X],xe=Ur(o,ip(ae));return G.jsx(F.Fragment,{children:F.cloneElement(ae,{inputComponent:K,inputProps:{children:d,error:J.error,IconComponent:w,variant:X,type:void 0,multiple:V,...j?{id:E}:{autoWidth:u,defaultOpen:g,displayEmpty:S,labelId:_,MenuProps:M,onClose:A,onOpen:$,open:P,renderValue:H,SelectDisplayProps:{id:E,...W}},...k,classes:k?sa(se,k.classes):se,...R?R.props.inputProps:{}},...(V&&j||S)&&X==="outlined"?{notched:!0}:{},ref:xe,className:ct(ae.props.className,v,ne.root),...!R&&{variant:X},...N})})});process.env.NODE_ENV!=="production"&&(Bb.propTypes={autoWidth:s.bool,children:s.node,classes:s.object,className:s.string,defaultOpen:s.bool,defaultValue:s.any,displayEmpty:s.bool,IconComponent:s.elementType,id:s.string,input:s.element,inputProps:s.object,label:s.node,labelId:s.string,MenuProps:s.object,multiple:s.bool,native:s.bool,onChange:s.func,onClose:s.func,onOpen:s.func,open:s.bool,renderValue:s.func,SelectDisplayProps:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),value:s.oneOfType([s.oneOf([""]),s.any]),variant:s.oneOf(["filled","outlined","standard"])}),Bb.muiName="Select";function pz(e){return Cn("MuiTooltip",e)}const Hr=un("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function mz(e){return Math.round(e*1e5)/1e5}const hz=e=>{const{classes:n,disableInteractive:o,arrow:i,touch:u,placement:d}=e,m={popper:["popper",!o&&"popperInteractive",i&&"popperArrow"],tooltip:["tooltip",i&&"tooltipArrow",u&&"touch",`tooltipPlacement${ut(d.split("-")[0])}`],arrow:["arrow"]};return Dn(m,pz,n)},vz=He(_b,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.popper,!o.disableInteractive&&n.popperInteractive,o.arrow&&n.popperArrow,!o.open&&n.popperClose]}})($n(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:n})=>!n.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:n})=>!n,style:{pointerEvents:"none"}},{props:({ownerState:n})=>n.arrow,style:{[`&[data-popper-placement*="bottom"] .${Hr.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Hr.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Hr.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Hr.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:n})=>n.arrow&&!n.isRtl,style:{[`&[data-popper-placement*="right"] .${Hr.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:n})=>n.arrow&&!!n.isRtl,style:{[`&[data-popper-placement*="right"] .${Hr.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:n})=>n.arrow&&!n.isRtl,style:{[`&[data-popper-placement*="left"] .${Hr.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:n})=>n.arrow&&!!n.isRtl,style:{[`&[data-popper-placement*="left"] .${Hr.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),yz=He("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,n)=>{const{ownerState:o}=e;return[n.tooltip,o.touch&&n.touch,o.arrow&&n.tooltipArrow,n[`tooltipPlacement${ut(o.placement.split("-")[0])}`]]}})($n(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:kn(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Hr.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Hr.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Hr.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Hr.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:n})=>n.arrow,style:{position:"relative",margin:0}},{props:({ownerState:n})=>n.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${mz(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:n})=>!n.isRtl,style:{[`.${Hr.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Hr.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:n})=>!n.isRtl&&n.touch,style:{[`.${Hr.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Hr.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:n})=>!!n.isRtl,style:{[`.${Hr.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Hr.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:n})=>!!n.isRtl&&n.touch,style:{[`.${Hr.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Hr.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:n})=>n.touch,style:{[`.${Hr.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:n})=>n.touch,style:{[`.${Hr.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),gz=He("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,n)=>n.arrow})($n(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:kn(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let zb=!1;const Jk=new gb;let mv={x:0,y:0};function Ub(e,n){return(o,...i)=>{n&&n(o,...i),e(o,...i)}}const MC=F.forwardRef(function(n,o){var Ho,Pi,ns;const i=Fn({props:n,name:"MuiTooltip"}),{arrow:u=!1,children:d,classes:m,components:v={},componentsProps:g={},describeChild:S=!1,disableFocusListener:w=!1,disableHoverListener:E=!1,disableInteractive:R=!1,disableTouchListener:k=!1,enterDelay:O=100,enterNextDelay:_=0,enterTouchDelay:M=700,followCursor:V=!1,id:j,leaveDelay:A=0,leaveTouchDelay:$=1500,onClose:P,onOpen:H,open:W,placement:Y="bottom",PopperComponent:N,PopperProps:K={},slotProps:Z={},slots:J={},title:X,TransitionComponent:ee=Dd,TransitionProps:ne,...te}=i,se=F.isValidElement(d)?d:G.jsx("span",{children:d}),ae=bd(),xe=Uw(),[oe,U]=F.useState(),[fe,Pe]=F.useState(null),Te=F.useRef(!1),ue=R||V,we=op(),Ee=op(),me=op(),De=op(),[Ne,je]=yb({controlled:W,default:!1,name:"Tooltip",state:"open"});let re=Ne;if(process.env.NODE_ENV!=="production"){const{current:Zt}=F.useRef(W!==void 0);F.useEffect(()=>{oe&&oe.disabled&&!Zt&&X!==""&&oe.tagName.toLowerCase()==="button"&&console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
|
|
423
|
+
`))},[X,oe,Zt])}const Se=vb(j),he=F.useRef(),We=ec(()=>{he.current!==void 0&&(document.body.style.WebkitUserSelect=he.current,he.current=void 0),De.clear()});F.useEffect(()=>We,[We]);const qe=Zt=>{Jk.clear(),zb=!0,je(!0),H&&!re&&H(Zt)},tt=ec(Zt=>{Jk.start(800+A,()=>{zb=!1}),je(!1),P&&re&&P(Zt),we.start(ae.transitions.duration.shortest,()=>{Te.current=!1})}),q=Zt=>{Te.current&&Zt.type!=="touchstart"||(oe&&oe.removeAttribute("title"),Ee.clear(),me.clear(),O||zb&&_?Ee.start(zb?_:O,()=>{qe(Zt)}):qe(Zt))},ce=Zt=>{Ee.clear(),me.start(A,()=>{tt(Zt)})},[,be]=F.useState(!1),Ve=Zt=>{bb(Zt.target)||(be(!1),ce(Zt))},Ke=Zt=>{oe||U(Zt.currentTarget),bb(Zt.target)&&(be(!0),q(Zt))},Oe=Zt=>{Te.current=!0;const Lr=se.props;Lr.onTouchStart&&Lr.onTouchStart(Zt)},it=Zt=>{Oe(Zt),me.clear(),we.clear(),We(),he.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",De.start(M,()=>{document.body.style.WebkitUserSelect=he.current,q(Zt)})},gt=Zt=>{se.props.onTouchEnd&&se.props.onTouchEnd(Zt),We(),me.start($,()=>{tt(Zt)})};F.useEffect(()=>{if(!re)return;function Zt(Lr){Lr.key==="Escape"&&tt(Lr)}return document.addEventListener("keydown",Zt),()=>{document.removeEventListener("keydown",Zt)}},[tt,re]);const qt=Ur(ip(se),U,o);!X&&X!==0&&(re=!1);const Mt=F.useRef(),mn=Zt=>{const Lr=se.props;Lr.onMouseMove&&Lr.onMouseMove(Zt),mv={x:Zt.clientX,y:Zt.clientY},Mt.current&&Mt.current.update()},or={},Ln=typeof X=="string";S?(or.title=!re&&Ln&&!E?X:null,or["aria-describedby"]=re?Se:null):(or["aria-label"]=Ln?X:null,or["aria-labelledby"]=re&&!Ln?Se:null);const Be={...or,...te,...se.props,className:ct(te.className,se.props.className),onTouchStart:Oe,ref:qt,...V?{onMouseMove:mn}:{}};process.env.NODE_ENV!=="production"&&(Be["data-mui-internal-clone-element"]=!0,F.useEffect(()=>{oe&&!oe.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
|
|
424
|
+
`))},[oe]));const ht={};k||(Be.onTouchStart=it,Be.onTouchEnd=gt),E||(Be.onMouseOver=Ub(q,Be.onMouseOver),Be.onMouseLeave=Ub(ce,Be.onMouseLeave),ue||(ht.onMouseOver=q,ht.onMouseLeave=ce)),w||(Be.onFocus=Ub(Ke,Be.onFocus),Be.onBlur=Ub(Ve,Be.onBlur),ue||(ht.onFocus=Ke,ht.onBlur=Ve)),process.env.NODE_ENV!=="production"&&se.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${se.props.title}\` or the Tooltip component.`].join(`
|
|
425
|
+
`));const $t=F.useMemo(()=>{var Lr;let Zt=[{name:"arrow",enabled:!!fe,options:{element:fe,padding:4}}];return(Lr=K.popperOptions)!=null&&Lr.modifiers&&(Zt=Zt.concat(K.popperOptions.modifiers)),{...K.popperOptions,modifiers:Zt}},[fe,K]),tn={...i,isRtl:xe,arrow:u,disableInteractive:ue,placement:Y,PopperComponentProp:N,touch:Te.current},at=hz(tn),kt=J.popper??v.Popper??vz,Kt=J.transition??v.Transition??ee??Dd,Zn=J.tooltip??v.Tooltip??yz,Nt=J.arrow??v.Arrow??gz,Jn=ap(kt,{...K,...Z.popper??g.popper,className:ct(at.popper,K==null?void 0:K.className,(Ho=Z.popper??g.popper)==null?void 0:Ho.className)},tn),hn=ap(Kt,{...ne,...Z.transition??g.transition},tn),an=ap(Zn,{...Z.tooltip??g.tooltip,className:ct(at.tooltip,(Pi=Z.tooltip??g.tooltip)==null?void 0:Pi.className)},tn),Ma=ap(Nt,{...Z.arrow??g.arrow,className:ct(at.arrow,(ns=Z.arrow??g.arrow)==null?void 0:ns.className)},tn);return G.jsxs(F.Fragment,{children:[F.cloneElement(se,Be),G.jsx(kt,{as:N??_b,placement:Y,anchorEl:V?{getBoundingClientRect:()=>({top:mv.y,left:mv.x,right:mv.x,bottom:mv.y,width:0,height:0})}:oe,popperRef:Mt,open:oe?re:!1,id:Se,transition:!0,...ht,...Jn,popperOptions:$t,children:({TransitionProps:Zt})=>G.jsx(Kt,{timeout:ae.transitions.duration.shorter,...Zt,...hn,children:G.jsxs(Zn,{...an,children:[X,u?G.jsx(Nt,{...Ma,ref:Pe}):null]})})})]})});process.env.NODE_ENV!=="production"&&(MC.propTypes={arrow:s.bool,children:rp.isRequired,classes:s.object,className:s.string,components:s.shape({Arrow:s.elementType,Popper:s.elementType,Tooltip:s.elementType,Transition:s.elementType}),componentsProps:s.shape({arrow:s.object,popper:s.object,tooltip:s.object,transition:s.object}),describeChild:s.bool,disableFocusListener:s.bool,disableHoverListener:s.bool,disableInteractive:s.bool,disableTouchListener:s.bool,enterDelay:s.number,enterNextDelay:s.number,enterTouchDelay:s.number,followCursor:s.bool,id:s.string,leaveDelay:s.number,leaveTouchDelay:s.number,onClose:s.func,onOpen:s.func,open:s.bool,placement:s.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:s.elementType,PopperProps:s.object,slotProps:s.shape({arrow:s.object,popper:s.object,tooltip:s.object,transition:s.object}),slots:s.shape({arrow:s.elementType,popper:s.elementType,tooltip:s.elementType,transition:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),title:s.node,TransitionComponent:s.elementType,TransitionProps:s.object});function bz(e){return Cn("MuiTextField",e)}un("MuiTextField",["root"]);const Sz={standard:uv,filled:av,outlined:fv},xz=e=>{const{classes:n}=e;return Dn({root:["root"]},bz,n)},wz=He(vp,{name:"MuiTextField",slot:"Root",overridesResolver:(e,n)=>n.root})({}),PC=F.forwardRef(function(n,o){const i=Fn({props:n,name:"MuiTextField"}),{autoComplete:u,autoFocus:d=!1,children:m,className:v,color:g="primary",defaultValue:S,disabled:w=!1,error:E=!1,FormHelperTextProps:R,fullWidth:k=!1,helperText:O,id:_,InputLabelProps:M,inputProps:V,InputProps:j,inputRef:A,label:$,maxRows:P,minRows:H,multiline:W=!1,name:Y,onBlur:N,onChange:K,onFocus:Z,placeholder:J,required:X=!1,rows:ee,select:ne=!1,SelectProps:te,slots:se={},slotProps:ae={},type:xe,value:oe,variant:U="outlined",...fe}=i,Pe={...i,autoFocus:d,color:g,disabled:w,error:E,fullWidth:k,multiline:W,required:X,select:ne,variant:U},Te=xz(Pe);process.env.NODE_ENV!=="production"&&ne&&!m&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const ue=vb(_),we=O&&ue?`${ue}-helper-text`:void 0,Ee=$&&ue?`${ue}-label`:void 0,me=Sz[U],De={slots:se,slotProps:{input:j,inputLabel:M,htmlInput:V,formHelperText:R,select:te,...ae}},Ne={},je=De.slotProps.inputLabel;U==="outlined"&&(je&&typeof je.shrink<"u"&&(Ne.notched=je.shrink),Ne.label=$),ne&&((!te||!te.native)&&(Ne.id=void 0),Ne["aria-describedby"]=void 0);const[re,Se]=Yi("input",{elementType:me,externalForwardedProps:De,additionalProps:Ne,ownerState:Pe}),[he,We]=Yi("inputLabel",{elementType:EC,externalForwardedProps:De,ownerState:Pe}),[qe,tt]=Yi("htmlInput",{elementType:"input",externalForwardedProps:De,ownerState:Pe}),[q,ce]=Yi("formHelperText",{elementType:sv,externalForwardedProps:De,ownerState:Pe}),[be,Ve]=Yi("select",{elementType:Bb,externalForwardedProps:De,ownerState:Pe}),Ke=G.jsx(re,{"aria-describedby":we,autoComplete:u,autoFocus:d,defaultValue:S,fullWidth:k,multiline:W,name:Y,rows:ee,maxRows:P,minRows:H,type:xe,value:oe,id:ue,inputRef:A,onBlur:N,onChange:K,onFocus:Z,placeholder:J,inputProps:tt,slots:{input:se.htmlInput?qe:void 0},...Se});return G.jsxs(wz,{className:ct(Te.root,v),disabled:w,error:E,fullWidth:k,ref:o,required:X,color:g,variant:U,ownerState:Pe,...fe,children:[$!=null&&$!==""&&G.jsx(he,{htmlFor:ue,id:Ee,...We,children:$}),ne?G.jsx(be,{"aria-describedby":we,id:ue,labelId:Ee,value:oe,input:Ke,...Ve,children:m}):Ke,O&&G.jsx(q,{id:we,...ce,children:O})]})});process.env.NODE_ENV!=="production"&&(PC.propTypes={autoComplete:s.string,autoFocus:s.bool,children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["primary","secondary","error","info","success","warning"]),s.string]),defaultValue:s.any,disabled:s.bool,error:s.bool,FormHelperTextProps:s.object,fullWidth:s.bool,helperText:s.node,id:s.string,InputLabelProps:s.object,inputProps:s.object,InputProps:s.object,inputRef:Ya,label:s.node,margin:s.oneOf(["dense","none","normal"]),maxRows:s.oneOfType([s.number,s.string]),minRows:s.oneOfType([s.number,s.string]),multiline:s.bool,name:s.string,onBlur:s.func,onChange:s.func,onFocus:s.func,placeholder:s.string,required:s.bool,rows:s.oneOfType([s.number,s.string]),select:s.bool,SelectProps:s.object,size:s.oneOfType([s.oneOf(["medium","small"]),s.string]),slotProps:s.shape({formHelperText:s.oneOfType([s.func,s.object]),htmlInput:s.oneOfType([s.func,s.object]),input:s.oneOfType([s.func,s.object]),inputLabel:s.oneOfType([s.func,s.object]),select:s.oneOfType([s.func,s.object])}),slots:s.shape({formHelperText:s.elementType,htmlInput:s.elementType,input:s.elementType,inputLabel:s.elementType,select:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),type:s.string,value:s.any,variant:s.oneOf(["filled","outlined","standard"])});const Cz={brand1000:"#102273",brand900:"#293FA1",brand800:"#3450CB",brand700:"#3E5DE6",brand600:"#647EF2",brand500:"#7E95F9",brand400:"#95A7FA",brand300:"#B2C0FF",brand200:"#C4CCF2",brand100:"#DEE4FF",brand50:"#E6EAFD",cerulean1000:"#0B242E",cerulean900:"#164152",cerulean800:"#275D73",cerulean700:"#367791",cerulean600:"#4692B0",cerulean500:"#5FABC9",cerulean400:"#7CBED9",cerulean300:"#97CADE",cerulean200:"#B1D7E5",cerulean100:"#D0EAF5",cerulean50:"#E8F5FA",gray1000:"#131517",gray900:"#383B3D",gray800:"#4D4F51",gray700:"#616365",gray600:"#828487",gray500:"#9A9DA1",gray400:"#B5B9BD",gray300:"#CED2D6",gray200:"#DFE3E8",gray100:"#EFF2F5",gray50:"#F7F9FA",white:"#FFFFFF",indigo1000:"#10112E",indigo900:"#292B4C",indigo800:"#3A3C6B",indigo700:"#484B85",indigo600:"#5C5F99",indigo500:"#797CB8",indigo400:"#979ACC",indigo300:"#B1B4DE",indigo200:"#CCCEF0",indigo100:"#E1E2F5",indigo50:"#EDEEFA",jade1000:"#002418",jade900:"#033827",jade800:"#0C573F",jade700:"#147556",jade600:"#1E8F6B",jade500:"#1E8F6B",jade400:"#56BA9A",jade300:"#7CCFB4",jade200:"#ADE0D0",jade100:"#CBF5E8",jade50:"#EBFCF7",magenta1000:"#2E001A",magenta900:"#47062B",magenta800:"#630F3F",magenta700:"#802458",magenta600:"#9C4174",magenta500:"#B55E8F",magenta400:"#C476A2",magenta300:"#E096C0",magenta200:"#F2B6D8",magenta100:"#FFCCE9",magenta50:"#FFE5F4",orange1000:"#703C00",orange900:"#995303",orange800:"#B06209",orange700:"#C77110",orange600:"#DB831F",orange500:"#E59539",orange400:"#F0AB5D",orange300:"#FABD78",orange200:"#FFCF99",orange100:"#FFE0BD",orange50:"#FFEEDB",pear1000:"#012608",pear900:"#083B11",pear800:"#1A5924",pear700:"#257D34",pear600:"#3C964B",pear500:"#53B062",pear400:"#77C785",pear300:"#9AD9A4",pear200:"#B9EBC2",pear100:"#D7FADD",pear50:"#EBFFEE",periwinkle1000:"#0C1E3B",periwinkle900:"#1D3254",periwinkle800:"#2E4873",periwinkle700:"#3D6099",periwinkle600:"#5079BA",periwinkle500:"#6A92D4",periwinkle400:"#82A3D9",periwinkle300:"#A1BBE5",periwinkle200:"#BED0ED",periwinkle100:"#D8E1F0",periwinkle50:"#EBF0F7",port1000:"#401E1D",port900:"#5C2C2A",port800:"#783937",port700:"#994946",port600:"#B85854",port500:"#C76E6B",port400:"#D98784",port300:"#EDA19F",port200:"#FABBB9",port100:"#FFD5D4",port50:"#FFEBEB",purple1000:"#231429",purple900:"#3B2445",purple800:"#543461",purple700:"#6B477A",purple600:"#885F99",purple500:"#A07BB0",purple400:"#B38FC2",purple300:"#CDABDB",purple200:"#E5C7F2",purple100:"#ECD7F5",purple50:"#F5EBFA",red1000:"#4C0E00",red900:"#6B1C0B",red800:"#942A12",red700:"#B23E24",red600:"#D15336",red500:"#E0694F",red400:"#E87E66",red300:"#F59D89",red200:"#FABDAF",red100:"#FFDAD1",red50:"#FFECE8",rose1000:"#30141B",rose900:"#4A1E2A",rose800:"#632938",rose700:"#7D3347",rose600:"#9E465D",rose500:"#BD5E78",rose400:"#CF7C92",rose300:"#E09DAF",rose200:"#EDBECA",rose100:"#FAD4DE",rose50:"#FAEBEF",royal1000:"#040D36",royal900:"#0D1A52",royal800:"#1C2A6B",royal700:"#324494",royal600:"#4C5FB5",royal500:"#6579CF",royal400:"#7D90E3",royal300:"#9DADF5",royal200:"#BDC9FF",royal100:"#E0E6FF",royal50:"#EDF0FF",ruby1000:"#4C0108",ruby900:"#660B14",ruby800:"#801B25",ruby700:"#992F3A",ruby600:"#B24954",ruby500:"#CC5E69",ruby400:"#DE7882",ruby300:"#ED9AA2",ruby200:"#FABBC2",ruby100:"#FFD4D9",ruby50:"#FFE5E8",sage1000:"#172E20",sage900:"#20402D",sage800:"#2E5C40",sage700:"#3E7D57",sage600:"#549970",sage500:"#74B28D",sage400:"#88C29F",sage300:"#A3D1B5",sage200:"#C3E3D0",sage100:"#DDF0E4",sage50:"#EDFAF2",terracotta1000:"#662408",terracotta900:"#802F0D",terracotta800:"#9C441F",terracotta700:"#B85830",terracotta600:"#D16B3F",terracotta500:"#E07446",terracotta400:"#ED8A5F",terracotta300:"#F5A482",terracotta200:"#FAC4AC",terracotta100:"#FFDBCC",terracotta50:"#FFEDE5",turquoise1000:"#002021",turquoise900:"#033B3D",turquoise800:"#0F595C",turquoise700:"#1D7578",turquoise600:"#299094",turquoise500:"#45AAAD",turquoise400:"#6DBFC2",turquoise300:"#8BD4D6",turquoise200:"#AEE4E5",turquoise100:"#CEF3F5",turquoise50:"#EBFCFC",violet1000:"#110538",violet900:"#241554",violet800:"#3E2E73",violet700:"#54438A",violet600:"#6F5DA8",violet500:"#8D7ACC",violet400:"#A492E0",violet300:"#C0B1F2",violet200:"#D4C8FA",violet100:"#E6DEFF",violet50:"#EFEBFF",yellow1000:"#756233",yellow900:"#8F773B",yellow800:"#B29240",yellow700:"#BF9E49",yellow600:"#D9B55B",yellow500:"#E3C476",yellow400:"#E8CE8B",yellow300:"#F0DBA8",yellow200:"#FCE9B8",yellow100:"#FFF3D4",yellow50:"#FFFAED",interactions1000:"#07305C",interactions900:"#044187",interactions800:"#165CAB",interactions700:"#0095FF",interactions600:"#1F76D8",interactions500:"#629FE4",interactions400:"#8FBAEB",interactions300:"#B2DCFB",interactions200:"#D8EEFF",interactions100:"#EAF6FF",interactions50:"#F5FBFF",interactionsSecodaryHover:"#C2E5FF80"},kd={unitQuarter:2,unitHalf:4,unit1:8,unit2:16,unit3:24,unit4:32,unit5:40,unit6:48,unit7:56,unit8:64,unit9:72,unit10:80,unit15:120},Ez={space:{xsmall:kd.unitHalf,small:kd.unit1,medium:kd.unit2,large:kd.unit3,xlarge:kd.unit4,xxlarge:kd.unit5},gutters:{wide:null,medium:null,narrow:null,internalPadding:null},breakpoints:{desktop:{wide:1400,medium:1280,small:1024},mobile:{tablet:768,phone:320}}},et={colors:Cz,layout:Ez,units:kd,typography:{baseFont:'"Barlow", Arial, sans-serif',baseFontCondensed:'"Barlow Semi Condensed", Arial, sans-serif',baseFontSize:16,fontSize:{displayXLarge:"5rem",displayLarge:"4.5rem",displayMedium:"4rem",displaySmall:"3.5rem",displayXSmall:"2.5rem",displayXXSmall:"2rem",h1:"2rem",h2:"1.5rem",h3:"1.25rem",h4:"1rem",h5:"0.875rem",h6:"0.75rem",bodyXLarge:"1.5rem",bodyLarge:"1.25rem",bodyDefault:"1rem",bodySmall:"0.875rem",bodyXSmall:"0.75rem"},fontWeight:{light:300,normal:400,medium:500,semiBold:600,bold:700},lineHeight:{displayXLarge:1.2,displayLarge:1.11111111111111,displayMedium:1.125,displaySmall:1.14285714285714,displayXSmall:1.2,displayXXSmall:1.33333333333333,h1:1.5,h2:1.33333333333333,h3:1.2,h4:1.25,h5:1.14285714285714,h6:1.33333333333333,bodyXLarge:1.33333333333333,bodyLarge:1.2,bodyDefault:1.5,bodySmall:1.42857142857143,bodyXSmall:1.66666666666667}}},Tz={primaryIdle:et.colors.brand800,primaryHover:et.colors.brand900,primaryDisabled:et.colors.brand800,secondaryIdle:et.colors.white,secondaryHover:et.colors.brand50,destructiveIdle:et.colors.ruby700,destructiveHover:et.colors.ruby900,destructiveDisabled:et.colors.ruby700},Rz={foreground:{primary:et.colors.gray1000,secondary:et.colors.gray800,tertiary:et.colors.gray700,disabled:et.colors.gray700,action:et.colors.brand700,successSmall:et.colors.pear700,successLarge:et.colors.pear600,errorSmall:et.colors.ruby700,errorLarge:et.colors.ruby500,inProgressSmall:et.colors.purple600,inProgressLarge:et.colors.purple500,warningLarge:et.colors.terracotta600,warningSmall:et.colors.terracotta700,brandLarge:et.colors.brand600,brandSmall:et.colors.brand700,infoLarge:et.colors.cerulean600,infoSmall:et.colors.cerulean700},background:{primary:et.colors.white,secondary:et.colors.gray50,tertiary:et.colors.gray100,disabled:et.colors.gray200,actionLight:et.colors.brand50,actionHeavy:et.colors.brand800,successDark:et.colors.pear700,successMedium:et.colors.pear600,successLight:et.colors.pear50,errorDark:et.colors.ruby700,errorMedium:et.colors.ruby500,errorLight:et.colors.red50,warningDark:et.colors.terracotta700,warningMedium:et.colors.terracotta500,warningLight:et.colors.terracotta50,inProgressDark:et.colors.purple700,inProgressMedium:et.colors.purple600,inProgressLight:et.colors.purple50,neutralDark:et.colors.gray500,neutralLight:et.colors.gray300,brandDark:et.colors.brand700,brandMedium:et.colors.brand600,brandLight:et.colors.brand50,infoDark:et.colors.cerulean700,infoMedium:et.colors.cerulean600,infoLight:et.colors.cerulean50},callToAction:{primaryActionDark:et.colors.brand900,primaryActionMedium:et.colors.brand800,primaryActionLight:et.colors.brand50},interaction:{focus:et.colors.interactions700,hoverLight:et.colors.interactions200,hoverMed:et.colors.interactions300,hoverHeavy:et.colors.interactions400,secondaryHover:et.colors.interactionsSecodaryHover,selectionLight:et.colors.interactions400,selectionMed:et.colors.interactions500,selectionHeavy:et.colors.interactions600},border:{primary:et.colors.gray200,secondary:et.colors.gray300,tertiary:et.colors.gray400,brand:et.colors.brand200,error:et.colors.ruby200,warning:et.colors.terracotta200,success:et.colors.pear200,info:et.colors.cerulean200},dataVisualization:{sequence100:et.colors.periwinkle500,sequence150:et.colors.periwinkle300,sequence200:et.colors.port500,sequence250:et.colors.port300,sequence300:et.colors.royal600,sequence350:et.colors.royal300,sequence400:et.colors.cerulean600,sequence450:et.colors.cerulean300,sequence500:et.colors.magenta600,sequence550:et.colors.magenta300,sequence600:et.colors.indigo600,sequence650:et.colors.indigo300,sequence700:et.colors.brand600,sequence750:et.colors.brand300,sequence800:et.colors.turquoise600,sequence850:et.colors.turquoise400,sequence900:et.colors.purple500,sequence950:et.colors.purple300,sequence1000:et.colors.rose500,sequence1500:et.colors.rose300},highlights:{purpleLight:et.colors.purple300,purpleDark:et.colors.violet600,salmonLight:et.colors.port200,salmonDark:et.colors.ruby500,indigoLight:et.colors.indigo200,indigoDark:et.colors.brand900,tealLight:et.colors.jade300,tealDark:et.colors.cerulean600,terracottaLight:et.colors.terracotta300,terracottaDark:et.colors.terracotta600}},Hb={foundations:et,componentColors:Tz,semanticColors:Rz};function eM(e){let n="https://mui.com/production-error/?code="+e;for(let o=1;o<arguments.length;o+=1)n+="&args[]="+encodeURIComponent(arguments[o]);return"Minified MUI error #"+e+"; visit "+n+" for the full message."}function yp(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function tM(e){if(!yp(e))return e;const n={};return Object.keys(e).forEach(o=>{n[o]=tM(e[o])}),n}function Wb(e,n,o={clone:!0}){const i=o.clone?{...e}:e;return yp(e)&&yp(n)&&Object.keys(n).forEach(u=>{yp(n[u])&&Object.prototype.hasOwnProperty.call(e,u)&&yp(e[u])?i[u]=Wb(e[u],n[u],o):o.clone?i[u]=yp(n[u])?tM(n[u]):n[u]:i[u]=n[u]}),i}const Oz=e=>{const n=Object.keys(e).map(o=>({key:o,val:e[o]}))||[];return n.sort((o,i)=>o.val-i.val),n.reduce((o,i)=>({...o,[i.key]:i.val}),{})};function Dz(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:i=5,...u}=e,d=Oz(n),m=Object.keys(d);function v(R){return`@media (min-width:${typeof n[R]=="number"?n[R]:R}${o})`}function g(R){return`@media (max-width:${(typeof n[R]=="number"?n[R]:R)-i/100}${o})`}function S(R,k){const O=m.indexOf(k);return`@media (min-width:${typeof n[R]=="number"?n[R]:R}${o}) and (max-width:${(O!==-1&&typeof n[m[O]]=="number"?n[m[O]]:k)-i/100}${o})`}function w(R){return m.indexOf(R)+1<m.length?S(R,m[m.indexOf(R)+1]):v(R)}function E(R){const k=m.indexOf(R);return k===0?v(m[1]):k===m.length-1?g(m[k]):S(R,m[m.indexOf(R)+1]).replace("@media","@media not all and")}return{keys:m,values:d,up:v,down:g,between:S,only:w,not:E,unit:o,...u}}function kz(e,n){if(!e.containerQueries)return n;const o=Object.keys(n).filter(i=>i.startsWith("@container")).sort((i,u)=>{var m,v;const d=/min-width:\s*([0-9.]+)/;return+(((m=i.match(d))==null?void 0:m[1])||0)-+(((v=u.match(d))==null?void 0:v[1])||0)});return o.length?o.reduce((i,u)=>{const d=n[u];return delete i[u],i[u]=d,i},{...n}):n}function Mz(e,n){return n==="@"||n.startsWith("@")&&(e.some(o=>n.startsWith(`@${o}`))||!!n.match(/^@\d/))}function Pz(e,n){const o=n.match(/^@([^/]+)?\/?(.+)?$/);if(!o){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${n})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
426
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:eM(18,`(${n})`));return null}const[,i,u]=o,d=Number.isNaN(+i)?i||0:+i;return e.containerQueries(u).up(d)}function _z(e){const n=(d,m)=>d.replace("@media",m?`@container ${m}`:"@container");function o(d,m){d.up=(...v)=>n(e.breakpoints.up(...v),m),d.down=(...v)=>n(e.breakpoints.down(...v),m),d.between=(...v)=>n(e.breakpoints.between(...v),m),d.only=(...v)=>n(e.breakpoints.only(...v),m),d.not=(...v)=>{const g=n(e.breakpoints.not(...v),m);return g.includes("not all and")?g.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):g}}const i={},u=d=>(o(i,d),i);return o(u),{...e,containerQueries:u}}const Nz={borderRadius:4},oc=process.env.NODE_ENV!=="production"?s.oneOfType([s.number,s.string,s.object,s.array]):{};function hv(e,n){return n?Wb(e,n,{clone:!1}):e}const Yb={xs:0,sm:600,md:900,lg:1200,xl:1536},nM={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Yb[e]}px)`},Az={containerQueries:e=>({up:n=>{let o=typeof n=="number"?n:Yb[n]||n;return typeof o=="number"&&(o=`${o}px`),e?`@container ${e} (min-width:${o})`:`@container (min-width:${o})`}})};function ru(e,n,o){const i=e.theme||{};if(Array.isArray(n)){const d=i.breakpoints||nM;return n.reduce((m,v,g)=>(m[d.up(d.keys[g])]=o(n[g]),m),{})}if(typeof n=="object"){const d=i.breakpoints||nM;return Object.keys(n).reduce((m,v)=>{if(Mz(d.keys,v)){const g=Pz(i.containerQueries?i:Az,v);g&&(m[g]=o(n[v],v))}else if(Object.keys(d.values||Yb).includes(v)){const g=d.up(v);m[g]=o(n[v],v)}else{const g=v;m[g]=n[g]}return m},{})}return o(n)}function Fz(e={}){var o;return((o=e.keys)==null?void 0:o.reduce((i,u)=>{const d=e.up(u);return i[d]={},i},{}))||{}}function Lz(e,n){return e.reduce((o,i)=>{const u=o[i];return(!u||Object.keys(u).length===0)&&delete o[i],o},n)}function rM(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":eM(7));return e.charAt(0).toUpperCase()+e.slice(1)}function qb(e,n,o=!0){if(!n||typeof n!="string")return null;if(e&&e.vars&&o){const i=`vars.${n}`.split(".").reduce((u,d)=>u&&u[d]?u[d]:null,e);if(i!=null)return i}return n.split(".").reduce((i,u)=>i&&i[u]!=null?i[u]:null,e)}function Gb(e,n,o,i=o){let u;return typeof e=="function"?u=e(o):Array.isArray(e)?u=e[o]||i:u=qb(e,o)||i,n&&(u=n(u,i,e)),u}function ro(e){const{prop:n,cssProperty:o=e.prop,themeKey:i,transform:u}=e,d=m=>{if(m[n]==null)return null;const v=m[n],g=m.theme,S=qb(g,i)||{};return ru(m,v,E=>{let R=Gb(S,u,E);return E===R&&typeof E=="string"&&(R=Gb(S,u,`${n}${E==="default"?"":rM(E)}`,E)),o===!1?R:{[o]:R}})};return d.propTypes=process.env.NODE_ENV!=="production"?{[n]:oc}:{},d.filterProps=[n],d}function Iz(e){const n={};return o=>(n[o]===void 0&&(n[o]=e(o)),n[o])}const $z={m:"margin",p:"padding"},jz={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},oM={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Vz=Iz(e=>{if(e.length>2)if(oM[e])e=oM[e];else return[e];const[n,o]=e.split(""),i=$z[n],u=jz[o]||"";return Array.isArray(u)?u.map(d=>i+d):[i+u]}),Kb=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Qb=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Bz=[...Kb,...Qb];function vv(e,n,o,i){const u=qb(e,n,!0)??o;return typeof u=="number"||typeof u=="string"?d=>typeof d=="string"?d:(process.env.NODE_ENV!=="production"&&typeof d!="number"&&console.error(`MUI: Expected ${i} argument to be a number or a string, got ${d}.`),typeof u=="string"?`calc(${d} * ${u})`:u*d):Array.isArray(u)?d=>{if(typeof d=="string")return d;const m=Math.abs(d);process.env.NODE_ENV!=="production"&&(Number.isInteger(m)?m>u.length-1&&console.error([`MUI: The value provided (${m}) overflows.`,`The supported values are: ${JSON.stringify(u)}.`,`${m} > ${u.length-1}, you need to add the missing values.`].join(`
|
|
427
|
+
`)):console.error([`MUI: The \`theme.${n}\` 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.${n}\` as a number.`].join(`
|
|
428
|
+
`)));const v=u[m];return d>=0?v:typeof v=="number"?-v:`-${v}`}:typeof u=="function"?u:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${n}\` value (${u}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
429
|
+
`)),()=>{})}function aM(e){return vv(e,"spacing",8,"spacing")}function yv(e,n){return typeof n=="string"||n==null?n:e(n)}function zz(e,n){return o=>e.reduce((i,u)=>(i[u]=yv(n,o),i),{})}function Uz(e,n,o,i){if(!n.includes(o))return null;const u=Vz(o),d=zz(u,i),m=e[o];return ru(e,m,d)}function iM(e,n){const o=aM(e.theme);return Object.keys(e).map(i=>Uz(e,n,i,o)).reduce(hv,{})}function Wr(e){return iM(e,Kb)}Wr.propTypes=process.env.NODE_ENV!=="production"?Kb.reduce((e,n)=>(e[n]=oc,e),{}):{},Wr.filterProps=Kb;function Yr(e){return iM(e,Qb)}Yr.propTypes=process.env.NODE_ENV!=="production"?Qb.reduce((e,n)=>(e[n]=oc,e),{}):{},Yr.filterProps=Qb,process.env.NODE_ENV!=="production"&&Bz.reduce((e,n)=>(e[n]=oc,e),{});function Hz(e=8,n=aM({spacing:e})){if(e.mui)return e;const o=(...i)=>(process.env.NODE_ENV!=="production"&&(i.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${i.length}`)),(i.length===0?[1]:i).map(d=>{const m=n(d);return typeof m=="number"?`${m}px`:m}).join(" "));return o.mui=!0,o}function Xb(...e){const n=e.reduce((i,u)=>(u.filterProps.forEach(d=>{i[d]=u}),i),{}),o=i=>Object.keys(i).reduce((u,d)=>n[d]?hv(u,n[d](i)):u,{});return o.propTypes=process.env.NODE_ENV!=="production"?e.reduce((i,u)=>Object.assign(i,u.propTypes),{}):{},o.filterProps=e.reduce((i,u)=>i.concat(u.filterProps),[]),o}function Xi(e){return typeof e!="number"?e:`${e}px solid`}function Zi(e,n){return ro({prop:e,themeKey:"borders",transform:n})}const Wz=Zi("border",Xi),Yz=Zi("borderTop",Xi),qz=Zi("borderRight",Xi),Gz=Zi("borderBottom",Xi),Kz=Zi("borderLeft",Xi),Qz=Zi("borderColor"),Xz=Zi("borderTopColor"),Zz=Zi("borderRightColor"),Jz=Zi("borderBottomColor"),eU=Zi("borderLeftColor"),tU=Zi("outline",Xi),nU=Zi("outlineColor"),Zb=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const n=vv(e.theme,"shape.borderRadius",4,"borderRadius"),o=i=>({borderRadius:yv(n,i)});return ru(e,e.borderRadius,o)}return null};Zb.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:oc}:{},Zb.filterProps=["borderRadius"],Xb(Wz,Yz,qz,Gz,Kz,Qz,Xz,Zz,Jz,eU,Zb,tU,nU);const Jb=e=>{if(e.gap!==void 0&&e.gap!==null){const n=vv(e.theme,"spacing",8,"gap"),o=i=>({gap:yv(n,i)});return ru(e,e.gap,o)}return null};Jb.propTypes=process.env.NODE_ENV!=="production"?{gap:oc}:{},Jb.filterProps=["gap"];const e0=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const n=vv(e.theme,"spacing",8,"columnGap"),o=i=>({columnGap:yv(n,i)});return ru(e,e.columnGap,o)}return null};e0.propTypes=process.env.NODE_ENV!=="production"?{columnGap:oc}:{},e0.filterProps=["columnGap"];const t0=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const n=vv(e.theme,"spacing",8,"rowGap"),o=i=>({rowGap:yv(n,i)});return ru(e,e.rowGap,o)}return null};t0.propTypes=process.env.NODE_ENV!=="production"?{rowGap:oc}:{},t0.filterProps=["rowGap"];const rU=ro({prop:"gridColumn"}),oU=ro({prop:"gridRow"}),aU=ro({prop:"gridAutoFlow"}),iU=ro({prop:"gridAutoColumns"}),sU=ro({prop:"gridAutoRows"}),lU=ro({prop:"gridTemplateColumns"}),uU=ro({prop:"gridTemplateRows"}),cU=ro({prop:"gridTemplateAreas"}),dU=ro({prop:"gridArea"});Xb(Jb,e0,t0,rU,oU,aU,iU,sU,lU,uU,cU,dU);function gp(e,n){return n==="grey"?n:e}const fU=ro({prop:"color",themeKey:"palette",transform:gp}),pU=ro({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:gp}),mU=ro({prop:"backgroundColor",themeKey:"palette",transform:gp});Xb(fU,pU,mU);function Di(e){return e<=1&&e!==0?`${e*100}%`:e}const hU=ro({prop:"width",transform:Di}),_C=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const n=o=>{var u,d,m,v,g;const i=((m=(d=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:d.values)==null?void 0:m[o])||Yb[o];return i?((g=(v=e.theme)==null?void 0:v.breakpoints)==null?void 0:g.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Di(o)}};return ru(e,e.maxWidth,n)}return null};_C.filterProps=["maxWidth"];const vU=ro({prop:"minWidth",transform:Di}),yU=ro({prop:"height",transform:Di}),gU=ro({prop:"maxHeight",transform:Di}),bU=ro({prop:"minHeight",transform:Di});ro({prop:"size",cssProperty:"width",transform:Di}),ro({prop:"size",cssProperty:"height",transform:Di});const SU=ro({prop:"boxSizing"});Xb(hU,_C,vU,yU,gU,bU,SU);const sM={border:{themeKey:"borders",transform:Xi},borderTop:{themeKey:"borders",transform:Xi},borderRight:{themeKey:"borders",transform:Xi},borderBottom:{themeKey:"borders",transform:Xi},borderLeft:{themeKey:"borders",transform:Xi},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Xi},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Zb},color:{themeKey:"palette",transform:gp},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:gp},backgroundColor:{themeKey:"palette",transform:gp},p:{style:Yr},pt:{style:Yr},pr:{style:Yr},pb:{style:Yr},pl:{style:Yr},px:{style:Yr},py:{style:Yr},padding:{style:Yr},paddingTop:{style:Yr},paddingRight:{style:Yr},paddingBottom:{style:Yr},paddingLeft:{style:Yr},paddingX:{style:Yr},paddingY:{style:Yr},paddingInline:{style:Yr},paddingInlineStart:{style:Yr},paddingInlineEnd:{style:Yr},paddingBlock:{style:Yr},paddingBlockStart:{style:Yr},paddingBlockEnd:{style:Yr},m:{style:Wr},mt:{style:Wr},mr:{style:Wr},mb:{style:Wr},ml:{style:Wr},mx:{style:Wr},my:{style:Wr},margin:{style:Wr},marginTop:{style:Wr},marginRight:{style:Wr},marginBottom:{style:Wr},marginLeft:{style:Wr},marginX:{style:Wr},marginY:{style:Wr},marginInline:{style:Wr},marginInlineStart:{style:Wr},marginInlineEnd:{style:Wr},marginBlock:{style:Wr},marginBlockStart:{style:Wr},marginBlockEnd:{style:Wr},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:Jb},rowGap:{style:t0},columnGap:{style:e0},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Di},maxWidth:{style:_C},minWidth:{transform:Di},height:{transform:Di},maxHeight:{transform:Di},minHeight:{transform:Di},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 xU(...e){const n=e.reduce((i,u)=>i.concat(Object.keys(u)),[]),o=new Set(n);return e.every(i=>o.size===Object.keys(i).length)}function wU(e,n){return typeof e=="function"?e(n):e}function CU(){function e(o,i,u,d){const m={[o]:i,theme:u},v=d[o];if(!v)return{[o]:i};const{cssProperty:g=o,themeKey:S,transform:w,style:E}=v;if(i==null)return null;if(S==="typography"&&i==="inherit")return{[o]:i};const R=qb(u,S)||{};return E?E(m):ru(m,i,O=>{let _=Gb(R,w,O);return O===_&&typeof O=="string"&&(_=Gb(R,w,`${o}${O==="default"?"":rM(O)}`,O)),g===!1?_:{[g]:_}})}function n(o){const{sx:i,theme:u={}}=o||{};if(!i)return null;const d=u.unstable_sxConfig??sM;function m(v){let g=v;if(typeof v=="function")g=v(u);else if(typeof v!="object")return v;if(!g)return null;const S=Fz(u.breakpoints),w=Object.keys(S);let E=S;return Object.keys(g).forEach(R=>{const k=wU(g[R],u);if(k!=null)if(typeof k=="object")if(d[R])E=hv(E,e(R,k,u,d));else{const O=ru({theme:u},k,_=>({[R]:_}));xU(O,k)?E[R]=n({sx:k,theme:u}):E=hv(E,O)}else E=hv(E,e(R,k,u,d))}),kz(u,Lz(w,E))}return Array.isArray(i)?i.map(m):m(i)}return n}const lM=CU();lM.filterProps=["sx"];function EU(e,n){var i;const o=this;if(o.vars){if(!((i=o.colorSchemes)!=null&&i[e])||typeof o.getColorSchemeSelector!="function")return{};let u=o.getColorSchemeSelector(e);return u==="&"?n:((u.includes("data-")||u.includes("."))&&(u=`*:where(${u.replace(/\s*&$/,"")}) &`),{[u]:n})}return o.palette.mode===e?n:{}}function TU(e={},...n){const{breakpoints:o={},palette:i={},spacing:u,shape:d={},...m}=e,v=Dz(o),g=Hz(u);let S=Wb({breakpoints:v,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:g,shape:{...Nz,...d}},m);return S=_z(S),S.applyStyles=EU,S=n.reduce((w,E)=>Wb(w,E),S),S.unstable_sxConfig={...sM,...m==null?void 0:m.unstable_sxConfig},S.unstable_sx=function(E){return lM({sx:E,theme:this})},S}TU();function RU(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const OU=F.createContext();process.env.NODE_ENV!=="production"&&(s.node,s.bool);const ou=()=>F.useContext(OU)??!1,DU=Da([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"),kU=Da(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");var gv=e=>e.type==="checkbox",Md=e=>e instanceof Date,ka=e=>e==null;const uM=e=>typeof e=="object";var oo=e=>!ka(e)&&!Array.isArray(e)&&uM(e)&&!Md(e),cM=e=>oo(e)&&e.target?gv(e.target)?e.target.checked:e.target.value:e,MU=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,dM=(e,n)=>e.has(MU(n)),PU=e=>{const n=e.constructor&&e.constructor.prototype;return oo(n)&&n.hasOwnProperty("isPrototypeOf")},NC=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Ja(e){let n;const o=Array.isArray(e);if(e instanceof Date)n=new Date(e);else if(e instanceof Set)n=new Set(e);else if(!(NC&&(e instanceof Blob||e instanceof FileList))&&(o||oo(e)))if(n=o?[]:{},!o&&!PU(e))n=e;else for(const i in e)e.hasOwnProperty(i)&&(n[i]=Ja(e[i]));else return e;return n}var n0=e=>Array.isArray(e)?e.filter(Boolean):[],qr=e=>e===void 0,pt=(e,n,o)=>{if(!n||!oo(e))return o;const i=n0(n.split(/[,[\].]+?/)).reduce((u,d)=>ka(u)?u:u[d],e);return qr(i)||i===e?qr(e[n])?o:e[n]:i},Ji=e=>typeof e=="boolean",AC=e=>/^\w*$/.test(e),fM=e=>n0(e.replace(/["|']|\]/g,"").split(/\.|\[/)),pr=(e,n,o)=>{let i=-1;const u=AC(n)?[n]:fM(n),d=u.length,m=d-1;for(;++i<d;){const v=u[i];let g=o;if(i!==m){const S=e[v];g=oo(S)||Array.isArray(S)?S:isNaN(+u[i+1])?{}:[]}if(v==="__proto__")return;e[v]=g,e=e[v]}return e};const r0={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Ts={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},au={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},pM=cn.createContext(null),FC=()=>cn.useContext(pM),_U=e=>{const{children:n,...o}=e;return cn.createElement(pM.Provider,{value:o},n)};var mM=(e,n,o,i=!0)=>{const u={defaultValues:n._defaultValues};for(const d in e)Object.defineProperty(u,d,{get:()=>{const m=d;return n._proxyFormState[m]!==Ts.all&&(n._proxyFormState[m]=!i||Ts.all),o&&(o[m]=!0),e[m]}});return u},ei=e=>oo(e)&&!Object.keys(e).length,hM=(e,n,o,i)=>{o(e);const{name:u,...d}=e;return ei(d)||Object.keys(d).length>=Object.keys(n).length||Object.keys(d).find(m=>n[m]===(!i||Ts.all))},bv=e=>Array.isArray(e)?e:[e],vM=(e,n,o)=>!e||!n||e===n||bv(e).some(i=>i&&(o?i===n:i.startsWith(n)||n.startsWith(i)));function LC(e){const n=cn.useRef(e);n.current=e,cn.useEffect(()=>{const o=!e.disabled&&n.current.subject&&n.current.subject.subscribe({next:n.current.next});return()=>{o&&o.unsubscribe()}},[e.disabled])}function NU(e){const n=FC(),{control:o=n.control,disabled:i,name:u,exact:d}=e||{},[m,v]=cn.useState(o._formState),g=cn.useRef(!0),S=cn.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),w=cn.useRef(u);return w.current=u,LC({disabled:i,next:E=>g.current&&vM(w.current,E.name,d)&&hM(E,S.current,o._updateFormState)&&v({...o._formState,...E}),subject:o._subjects.state}),cn.useEffect(()=>(g.current=!0,S.current.isValid&&o._updateValid(!0),()=>{g.current=!1}),[o]),mM(m,o,S.current,!1)}var dl=e=>typeof e=="string",yM=(e,n,o,i,u)=>dl(e)?(i&&n.watch.add(e),pt(o,e,u)):Array.isArray(e)?e.map(d=>(i&&n.watch.add(d),pt(o,d))):(i&&(n.watchAll=!0),o);function AU(e){const n=FC(),{control:o=n.control,name:i,defaultValue:u,disabled:d,exact:m}=e||{},v=cn.useRef(i);v.current=i,LC({disabled:d,subject:o._subjects.values,next:w=>{vM(v.current,w.name,m)&&S(Ja(yM(v.current,o._names,w.values||o._formValues,!1,u)))}});const[g,S]=cn.useState(o._getWatch(i,u));return cn.useEffect(()=>o._removeUnmounted()),g}function o0(e){const n=FC(),{name:o,disabled:i,control:u=n.control,shouldUnregister:d}=e,m=dM(u._names.array,o),v=AU({control:u,name:o,defaultValue:pt(u._formValues,o,pt(u._defaultValues,o,e.defaultValue)),exact:!0}),g=NU({control:u,name:o,exact:!0}),S=cn.useRef(u.register(o,{...e.rules,value:v,...Ji(e.disabled)?{disabled:e.disabled}:{}}));return cn.useEffect(()=>{const w=u._options.shouldUnregister||d,E=(R,k)=>{const O=pt(u._fields,R);O&&O._f&&(O._f.mount=k)};if(E(o,!0),w){const R=Ja(pt(u._options.defaultValues,o));pr(u._defaultValues,o,R),qr(pt(u._formValues,o))&&pr(u._formValues,o,R)}return()=>{(m?w&&!u._state.action:w)?u.unregister(o):E(o,!1)}},[o,u,m,d]),cn.useEffect(()=>{pt(u._fields,o)&&u._updateDisabledField({disabled:i,fields:u._fields,name:o,value:pt(u._fields,o)._f.value})},[i,o,u]),{field:{name:o,value:v,...Ji(i)||g.disabled?{disabled:g.disabled||i}:{},onChange:cn.useCallback(w=>S.current.onChange({target:{value:cM(w),name:o},type:r0.CHANGE}),[o]),onBlur:cn.useCallback(()=>S.current.onBlur({target:{value:pt(u._formValues,o),name:o},type:r0.BLUR}),[o,u]),ref:cn.useCallback(w=>{const E=pt(u._fields,o);E&&w&&(E._f.ref={focus:()=>w.focus(),select:()=>w.select(),setCustomValidity:R=>w.setCustomValidity(R),reportValidity:()=>w.reportValidity()})},[u._fields,o])},formState:g,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!pt(g.errors,o)},isDirty:{enumerable:!0,get:()=>!!pt(g.dirtyFields,o)},isTouched:{enumerable:!0,get:()=>!!pt(g.touchedFields,o)},isValidating:{enumerable:!0,get:()=>!!pt(g.validatingFields,o)},error:{enumerable:!0,get:()=>pt(g.errors,o)}})}}var FU=(e,n,o,i,u)=>n?{...o[e],types:{...o[e]&&o[e].types?o[e].types:{},[i]:u||!0}}:{},gM=e=>({isOnSubmit:!e||e===Ts.onSubmit,isOnBlur:e===Ts.onBlur,isOnChange:e===Ts.onChange,isOnAll:e===Ts.all,isOnTouch:e===Ts.onTouched}),bM=(e,n,o)=>!o&&(n.watchAll||n.watch.has(e)||[...n.watch].some(i=>e.startsWith(i)&&/^\.\w+/.test(e.slice(i.length))));const Sv=(e,n,o,i)=>{for(const u of o||Object.keys(e)){const d=pt(e,u);if(d){const{_f:m,...v}=d;if(m){if(m.refs&&m.refs[0]&&n(m.refs[0],u)&&!i)return!0;if(m.ref&&n(m.ref,m.name)&&!i)return!0;if(Sv(v,n))break}else if(oo(v)&&Sv(v,n))break}}};var LU=(e,n,o)=>{const i=bv(pt(e,o));return pr(i,"root",n[o]),pr(e,o,i),e},IC=e=>e.type==="file",iu=e=>typeof e=="function",a0=e=>{if(!NC)return!1;const n=e?e.ownerDocument:0;return e instanceof(n&&n.defaultView?n.defaultView.HTMLElement:HTMLElement)},i0=e=>dl(e),$C=e=>e.type==="radio",s0=e=>e instanceof RegExp;const SM={value:!1,isValid:!1},xM={value:!0,isValid:!0};var wM=e=>{if(Array.isArray(e)){if(e.length>1){const n=e.filter(o=>o&&o.checked&&!o.disabled).map(o=>o.value);return{value:n,isValid:!!n.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!qr(e[0].attributes.value)?qr(e[0].value)||e[0].value===""?xM:{value:e[0].value,isValid:!0}:xM:SM}return SM};const CM={isValid:!1,value:null};var EM=e=>Array.isArray(e)?e.reduce((n,o)=>o&&o.checked&&!o.disabled?{isValid:!0,value:o.value}:n,CM):CM;function TM(e,n,o="validate"){if(i0(e)||Array.isArray(e)&&e.every(i0)||Ji(e)&&!e)return{type:o,message:i0(e)?e:"",ref:n}}var bp=e=>oo(e)&&!s0(e)?e:{value:e,message:""},RM=async(e,n,o,i,u)=>{const{ref:d,refs:m,required:v,maxLength:g,minLength:S,min:w,max:E,pattern:R,validate:k,name:O,valueAsNumber:_,mount:M,disabled:V}=e._f,j=pt(n,O);if(!M||V)return{};const A=m?m[0]:d,$=J=>{i&&A.reportValidity&&(A.setCustomValidity(Ji(J)?"":J||""),A.reportValidity())},P={},H=$C(d),W=gv(d),Y=H||W,N=(_||IC(d))&&qr(d.value)&&qr(j)||a0(d)&&d.value===""||j===""||Array.isArray(j)&&!j.length,K=FU.bind(null,O,o,P),Z=(J,X,ee,ne=au.maxLength,te=au.minLength)=>{const se=J?X:ee;P[O]={type:J?ne:te,message:se,ref:d,...K(J?ne:te,se)}};if(u?!Array.isArray(j)||!j.length:v&&(!Y&&(N||ka(j))||Ji(j)&&!j||W&&!wM(m).isValid||H&&!EM(m).isValid)){const{value:J,message:X}=i0(v)?{value:!!v,message:v}:bp(v);if(J&&(P[O]={type:au.required,message:X,ref:A,...K(au.required,X)},!o))return $(X),P}if(!N&&(!ka(w)||!ka(E))){let J,X;const ee=bp(E),ne=bp(w);if(!ka(j)&&!isNaN(j)){const te=d.valueAsNumber||j&&+j;ka(ee.value)||(J=te>ee.value),ka(ne.value)||(X=te<ne.value)}else{const te=d.valueAsDate||new Date(j),se=oe=>new Date(new Date().toDateString()+" "+oe),ae=d.type=="time",xe=d.type=="week";dl(ee.value)&&j&&(J=ae?se(j)>se(ee.value):xe?j>ee.value:te>new Date(ee.value)),dl(ne.value)&&j&&(X=ae?se(j)<se(ne.value):xe?j<ne.value:te<new Date(ne.value))}if((J||X)&&(Z(!!J,ee.message,ne.message,au.max,au.min),!o))return $(P[O].message),P}if((g||S)&&!N&&(dl(j)||u&&Array.isArray(j))){const J=bp(g),X=bp(S),ee=!ka(J.value)&&j.length>+J.value,ne=!ka(X.value)&&j.length<+X.value;if((ee||ne)&&(Z(ee,J.message,X.message),!o))return $(P[O].message),P}if(R&&!N&&dl(j)){const{value:J,message:X}=bp(R);if(s0(J)&&!j.match(J)&&(P[O]={type:au.pattern,message:X,ref:d,...K(au.pattern,X)},!o))return $(X),P}if(k){if(iu(k)){const J=await k(j,n),X=TM(J,A);if(X&&(P[O]={...X,...K(au.validate,X.message)},!o))return $(X.message),P}else if(oo(k)){let J={};for(const X in k){if(!ei(J)&&!o)break;const ee=TM(await k[X](j,n),A,X);ee&&(J={...ee,...K(X,ee.message)},$(ee.message),o&&(P[O]=J))}if(!ei(J)&&(P[O]={ref:A,...J},!o))return P}}return $(!0),P};function IU(e,n){const o=n.slice(0,-1).length;let i=0;for(;i<o;)e=qr(e)?i++:e[n[i++]];return e}function $U(e){for(const n in e)if(e.hasOwnProperty(n)&&!qr(e[n]))return!1;return!0}function To(e,n){const o=Array.isArray(n)?n:AC(n)?[n]:fM(n),i=o.length===1?e:IU(e,o),u=o.length-1,d=o[u];return i&&delete i[d],u!==0&&(oo(i)&&ei(i)||Array.isArray(i)&&$U(i))&&To(e,o.slice(0,-1)),e}var jC=()=>{let e=[];return{get observers(){return e},next:u=>{for(const d of e)d.next&&d.next(u)},subscribe:u=>(e.push(u),{unsubscribe:()=>{e=e.filter(d=>d!==u)}}),unsubscribe:()=>{e=[]}}},VC=e=>ka(e)||!uM(e);function ac(e,n){if(VC(e)||VC(n))return e===n;if(Md(e)&&Md(n))return e.getTime()===n.getTime();const o=Object.keys(e),i=Object.keys(n);if(o.length!==i.length)return!1;for(const u of o){const d=e[u];if(!i.includes(u))return!1;if(u!=="ref"){const m=n[u];if(Md(d)&&Md(m)||oo(d)&&oo(m)||Array.isArray(d)&&Array.isArray(m)?!ac(d,m):d!==m)return!1}}return!0}var OM=e=>e.type==="select-multiple",jU=e=>$C(e)||gv(e),BC=e=>a0(e)&&e.isConnected,DM=e=>{for(const n in e)if(iu(e[n]))return!0;return!1};function l0(e,n={}){const o=Array.isArray(e);if(oo(e)||o)for(const i in e)Array.isArray(e[i])||oo(e[i])&&!DM(e[i])?(n[i]=Array.isArray(e[i])?[]:{},l0(e[i],n[i])):ka(e[i])||(n[i]=!0);return n}function kM(e,n,o){const i=Array.isArray(e);if(oo(e)||i)for(const u in e)Array.isArray(e[u])||oo(e[u])&&!DM(e[u])?qr(n)||VC(o[u])?o[u]=Array.isArray(e[u])?l0(e[u],[]):{...l0(e[u])}:kM(e[u],ka(n)?{}:n[u],o[u]):o[u]=!ac(e[u],n[u]);return o}var xv=(e,n)=>kM(e,n,l0(n)),MM=(e,{valueAsNumber:n,valueAsDate:o,setValueAs:i})=>qr(e)?e:n?e===""?NaN:e&&+e:o&&dl(e)?new Date(e):i?i(e):e;function zC(e){const n=e.ref;if(!(e.refs?e.refs.every(o=>o.disabled):n.disabled))return IC(n)?n.files:$C(n)?EM(e.refs).value:OM(n)?[...n.selectedOptions].map(({value:o})=>o):gv(n)?wM(e.refs).value:MM(qr(n.value)?e.ref.value:n.value,e)}var VU=(e,n,o,i)=>{const u={};for(const d of e){const m=pt(n,d);m&&pr(u,d,m._f)}return{criteriaMode:o,names:[...e],fields:u,shouldUseNativeValidation:i}},wv=e=>qr(e)?e:s0(e)?e.source:oo(e)?s0(e.value)?e.value.source:e.value:e;const PM="AsyncFunction";var BU=e=>(!e||!e.validate)&&!!(iu(e.validate)&&e.validate.constructor.name===PM||oo(e.validate)&&Object.values(e.validate).find(n=>n.constructor.name===PM)),zU=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function _M(e,n,o){const i=pt(e,o);if(i||AC(o))return{error:i,name:o};const u=o.split(".");for(;u.length;){const d=u.join("."),m=pt(n,d),v=pt(e,d);if(m&&!Array.isArray(m)&&o!==d)return{name:o};if(v&&v.type)return{name:d,error:v};u.pop()}return{name:o}}var UU=(e,n,o,i,u)=>u.isOnAll?!1:!o&&u.isOnTouch?!(n||e):(o?i.isOnBlur:u.isOnBlur)?!e:(o?i.isOnChange:u.isOnChange)?e:!0,HU=(e,n)=>!n0(pt(e,n)).length&&To(e,n);const WU={mode:Ts.onSubmit,reValidateMode:Ts.onChange,shouldFocusError:!0};function YU(e={}){let n={...WU,...e},o={submitCount:0,isDirty:!1,isLoading:iu(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},i={},u=oo(n.defaultValues)||oo(n.values)?Ja(n.defaultValues||n.values)||{}:{},d=n.shouldUnregister?{}:Ja(u),m={action:!1,mount:!1,watch:!1},v={mount:new Set,unMount:new Set,array:new Set,watch:new Set},g,S=0;const w={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},E={values:jC(),array:jC(),state:jC()},R=gM(n.mode),k=gM(n.reValidateMode),O=n.criteriaMode===Ts.all,_=q=>ce=>{clearTimeout(S),S=setTimeout(q,ce)},M=async q=>{if(!e.disabled&&(w.isValid||q)){const ce=n.resolver?ei((await Y()).errors):await K(i,!0);ce!==o.isValid&&E.state.next({isValid:ce})}},V=(q,ce)=>{!e.disabled&&(w.isValidating||w.validatingFields)&&((q||Array.from(v.mount)).forEach(be=>{be&&(ce?pr(o.validatingFields,be,ce):To(o.validatingFields,be))}),E.state.next({validatingFields:o.validatingFields,isValidating:!ei(o.validatingFields)}))},j=(q,ce=[],be,Ve,Ke=!0,Oe=!0)=>{if(Ve&&be&&!e.disabled){if(m.action=!0,Oe&&Array.isArray(pt(i,q))){const it=be(pt(i,q),Ve.argA,Ve.argB);Ke&&pr(i,q,it)}if(Oe&&Array.isArray(pt(o.errors,q))){const it=be(pt(o.errors,q),Ve.argA,Ve.argB);Ke&&pr(o.errors,q,it),HU(o.errors,q)}if(w.touchedFields&&Oe&&Array.isArray(pt(o.touchedFields,q))){const it=be(pt(o.touchedFields,q),Ve.argA,Ve.argB);Ke&&pr(o.touchedFields,q,it)}w.dirtyFields&&(o.dirtyFields=xv(u,d)),E.state.next({name:q,isDirty:J(q,ce),dirtyFields:o.dirtyFields,errors:o.errors,isValid:o.isValid})}else pr(d,q,ce)},A=(q,ce)=>{pr(o.errors,q,ce),E.state.next({errors:o.errors})},$=q=>{o.errors=q,E.state.next({errors:o.errors,isValid:!1})},P=(q,ce,be,Ve)=>{const Ke=pt(i,q);if(Ke){const Oe=pt(d,q,qr(be)?pt(u,q):be);qr(Oe)||Ve&&Ve.defaultChecked||ce?pr(d,q,ce?Oe:zC(Ke._f)):ne(q,Oe),m.mount&&M()}},H=(q,ce,be,Ve,Ke)=>{let Oe=!1,it=!1;const gt={name:q};if(!e.disabled){const qt=!!(pt(i,q)&&pt(i,q)._f&&pt(i,q)._f.disabled);if(!be||Ve){w.isDirty&&(it=o.isDirty,o.isDirty=gt.isDirty=J(),Oe=it!==gt.isDirty);const Mt=qt||ac(pt(u,q),ce);it=!!(!qt&&pt(o.dirtyFields,q)),Mt||qt?To(o.dirtyFields,q):pr(o.dirtyFields,q,!0),gt.dirtyFields=o.dirtyFields,Oe=Oe||w.dirtyFields&&it!==!Mt}if(be){const Mt=pt(o.touchedFields,q);Mt||(pr(o.touchedFields,q,be),gt.touchedFields=o.touchedFields,Oe=Oe||w.touchedFields&&Mt!==be)}Oe&&Ke&&E.state.next(gt)}return Oe?gt:{}},W=(q,ce,be,Ve)=>{const Ke=pt(o.errors,q),Oe=w.isValid&&Ji(ce)&&o.isValid!==ce;if(e.delayError&&be?(g=_(()=>A(q,be)),g(e.delayError)):(clearTimeout(S),g=null,be?pr(o.errors,q,be):To(o.errors,q)),(be?!ac(Ke,be):Ke)||!ei(Ve)||Oe){const it={...Ve,...Oe&&Ji(ce)?{isValid:ce}:{},errors:o.errors,name:q};o={...o,...it},E.state.next(it)}},Y=async q=>{V(q,!0);const ce=await n.resolver(d,n.context,VU(q||v.mount,i,n.criteriaMode,n.shouldUseNativeValidation));return V(q),ce},N=async q=>{const{errors:ce}=await Y(q);if(q)for(const be of q){const Ve=pt(ce,be);Ve?pr(o.errors,be,Ve):To(o.errors,be)}else o.errors=ce;return ce},K=async(q,ce,be={valid:!0})=>{for(const Ve in q){const Ke=q[Ve];if(Ke){const{_f:Oe,...it}=Ke;if(Oe){const gt=v.array.has(Oe.name),qt=Ke._f&&BU(Ke._f);qt&&w.validatingFields&&V([Ve],!0);const Mt=await RM(Ke,d,O,n.shouldUseNativeValidation&&!ce,gt);if(qt&&w.validatingFields&&V([Ve]),Mt[Oe.name]&&(be.valid=!1,ce))break;!ce&&(pt(Mt,Oe.name)?gt?LU(o.errors,Mt,Oe.name):pr(o.errors,Oe.name,Mt[Oe.name]):To(o.errors,Oe.name))}!ei(it)&&await K(it,ce,be)}}return be.valid},Z=()=>{for(const q of v.unMount){const ce=pt(i,q);ce&&(ce._f.refs?ce._f.refs.every(be=>!BC(be)):!BC(ce._f.ref))&&we(q)}v.unMount=new Set},J=(q,ce)=>!e.disabled&&(q&&ce&&pr(d,q,ce),!ac(U(),u)),X=(q,ce,be)=>yM(q,v,{...m.mount?d:qr(ce)?u:dl(q)?{[q]:ce}:ce},be,ce),ee=q=>n0(pt(m.mount?d:u,q,e.shouldUnregister?pt(u,q,[]):[])),ne=(q,ce,be={})=>{const Ve=pt(i,q);let Ke=ce;if(Ve){const Oe=Ve._f;Oe&&(!Oe.disabled&&pr(d,q,MM(ce,Oe)),Ke=a0(Oe.ref)&&ka(ce)?"":ce,OM(Oe.ref)?[...Oe.ref.options].forEach(it=>it.selected=Ke.includes(it.value)):Oe.refs?gv(Oe.ref)?Oe.refs.length>1?Oe.refs.forEach(it=>(!it.defaultChecked||!it.disabled)&&(it.checked=Array.isArray(Ke)?!!Ke.find(gt=>gt===it.value):Ke===it.value)):Oe.refs[0]&&(Oe.refs[0].checked=!!Ke):Oe.refs.forEach(it=>it.checked=it.value===Ke):IC(Oe.ref)?Oe.ref.value="":(Oe.ref.value=Ke,Oe.ref.type||E.values.next({name:q,values:{...d}})))}(be.shouldDirty||be.shouldTouch)&&H(q,Ke,be.shouldTouch,be.shouldDirty,!0),be.shouldValidate&&oe(q)},te=(q,ce,be)=>{for(const Ve in ce){const Ke=ce[Ve],Oe=`${q}.${Ve}`,it=pt(i,Oe);(v.array.has(q)||oo(Ke)||it&&!it._f)&&!Md(Ke)?te(Oe,Ke,be):ne(Oe,Ke,be)}},se=(q,ce,be={})=>{const Ve=pt(i,q),Ke=v.array.has(q),Oe=Ja(ce);pr(d,q,Oe),Ke?(E.array.next({name:q,values:{...d}}),(w.isDirty||w.dirtyFields)&&be.shouldDirty&&E.state.next({name:q,dirtyFields:xv(u,d),isDirty:J(q,Oe)})):Ve&&!Ve._f&&!ka(Oe)?te(q,Oe,be):ne(q,Oe,be),bM(q,v)&&E.state.next({...o}),E.values.next({name:m.mount?q:void 0,values:{...d}})},ae=async q=>{m.mount=!0;const ce=q.target;let be=ce.name,Ve=!0;const Ke=pt(i,be),Oe=()=>ce.type?zC(Ke._f):cM(q),it=gt=>{Ve=Number.isNaN(gt)||Md(gt)&&isNaN(gt.getTime())||ac(gt,pt(d,be,gt))};if(Ke){let gt,qt;const Mt=Oe(),mn=q.type===r0.BLUR||q.type===r0.FOCUS_OUT,or=!zU(Ke._f)&&!n.resolver&&!pt(o.errors,be)&&!Ke._f.deps||UU(mn,pt(o.touchedFields,be),o.isSubmitted,k,R),Ln=bM(be,v,mn);pr(d,be,Mt),mn?(Ke._f.onBlur&&Ke._f.onBlur(q),g&&g(0)):Ke._f.onChange&&Ke._f.onChange(q);const Be=H(be,Mt,mn,!1),ht=!ei(Be)||Ln;if(!mn&&E.values.next({name:be,type:q.type,values:{...d}}),or)return w.isValid&&(e.mode==="onBlur"?mn&&M():M()),ht&&E.state.next({name:be,...Ln?{}:Be});if(!mn&&Ln&&E.state.next({...o}),n.resolver){const{errors:$t}=await Y([be]);if(it(Mt),Ve){const tn=_M(o.errors,i,be),at=_M($t,i,tn.name||be);gt=at.error,be=at.name,qt=ei($t)}}else V([be],!0),gt=(await RM(Ke,d,O,n.shouldUseNativeValidation))[be],V([be]),it(Mt),Ve&&(gt?qt=!1:w.isValid&&(qt=await K(i,!0)));Ve&&(Ke._f.deps&&oe(Ke._f.deps),W(be,qt,gt,Be))}},xe=(q,ce)=>{if(pt(o.errors,ce)&&q.focus)return q.focus(),1},oe=async(q,ce={})=>{let be,Ve;const Ke=bv(q);if(n.resolver){const Oe=await N(qr(q)?q:Ke);be=ei(Oe),Ve=q?!Ke.some(it=>pt(Oe,it)):be}else q?(Ve=(await Promise.all(Ke.map(async Oe=>{const it=pt(i,Oe);return await K(it&&it._f?{[Oe]:it}:it)}))).every(Boolean),!(!Ve&&!o.isValid)&&M()):Ve=be=await K(i);return E.state.next({...!dl(q)||w.isValid&&be!==o.isValid?{}:{name:q},...n.resolver||!q?{isValid:be}:{},errors:o.errors}),ce.shouldFocus&&!Ve&&Sv(i,xe,q?Ke:v.mount),Ve},U=q=>{const ce={...m.mount?d:u};return qr(q)?ce:dl(q)?pt(ce,q):q.map(be=>pt(ce,be))},fe=(q,ce)=>({invalid:!!pt((ce||o).errors,q),isDirty:!!pt((ce||o).dirtyFields,q),error:pt((ce||o).errors,q),isValidating:!!pt(o.validatingFields,q),isTouched:!!pt((ce||o).touchedFields,q)}),Pe=q=>{q&&bv(q).forEach(ce=>To(o.errors,ce)),E.state.next({errors:q?o.errors:{}})},Te=(q,ce,be)=>{const Ve=(pt(i,q,{_f:{}})._f||{}).ref,Ke=pt(o.errors,q)||{},{ref:Oe,message:it,type:gt,...qt}=Ke;pr(o.errors,q,{...qt,...ce,ref:Ve}),E.state.next({name:q,errors:o.errors,isValid:!1}),be&&be.shouldFocus&&Ve&&Ve.focus&&Ve.focus()},ue=(q,ce)=>iu(q)?E.values.subscribe({next:be=>q(X(void 0,ce),be)}):X(q,ce,!0),we=(q,ce={})=>{for(const be of q?bv(q):v.mount)v.mount.delete(be),v.array.delete(be),ce.keepValue||(To(i,be),To(d,be)),!ce.keepError&&To(o.errors,be),!ce.keepDirty&&To(o.dirtyFields,be),!ce.keepTouched&&To(o.touchedFields,be),!ce.keepIsValidating&&To(o.validatingFields,be),!n.shouldUnregister&&!ce.keepDefaultValue&&To(u,be);E.values.next({values:{...d}}),E.state.next({...o,...ce.keepDirty?{isDirty:J()}:{}}),!ce.keepIsValid&&M()},Ee=({disabled:q,name:ce,field:be,fields:Ve,value:Ke})=>{if(Ji(q)&&m.mount||q){const Oe=q?void 0:qr(Ke)?zC(be?be._f:pt(Ve,ce)._f):Ke;pr(d,ce,Oe),H(ce,Oe,!1,!1,!0)}},me=(q,ce={})=>{let be=pt(i,q);const Ve=Ji(ce.disabled)||Ji(e.disabled);return pr(i,q,{...be||{},_f:{...be&&be._f?be._f:{ref:{name:q}},name:q,mount:!0,...ce}}),v.mount.add(q),be?Ee({field:be,disabled:Ji(ce.disabled)?ce.disabled:e.disabled,name:q,value:ce.value}):P(q,!0,ce.value),{...Ve?{disabled:ce.disabled||e.disabled}:{},...n.progressive?{required:!!ce.required,min:wv(ce.min),max:wv(ce.max),minLength:wv(ce.minLength),maxLength:wv(ce.maxLength),pattern:wv(ce.pattern)}:{},name:q,onChange:ae,onBlur:ae,ref:Ke=>{if(Ke){me(q,ce),be=pt(i,q);const Oe=qr(Ke.value)&&Ke.querySelectorAll&&Ke.querySelectorAll("input,select,textarea")[0]||Ke,it=jU(Oe),gt=be._f.refs||[];if(it?gt.find(qt=>qt===Oe):Oe===be._f.ref)return;pr(i,q,{_f:{...be._f,...it?{refs:[...gt.filter(BC),Oe,...Array.isArray(pt(u,q))?[{}]:[]],ref:{type:Oe.type,name:q}}:{ref:Oe}}}),P(q,!1,void 0,Oe)}else be=pt(i,q,{}),be._f&&(be._f.mount=!1),(n.shouldUnregister||ce.shouldUnregister)&&!(dM(v.array,q)&&m.action)&&v.unMount.add(q)}}},De=()=>n.shouldFocusError&&Sv(i,xe,v.mount),Ne=q=>{Ji(q)&&(E.state.next({disabled:q}),Sv(i,(ce,be)=>{const Ve=pt(i,be);Ve&&(ce.disabled=Ve._f.disabled||q,Array.isArray(Ve._f.refs)&&Ve._f.refs.forEach(Ke=>{Ke.disabled=Ve._f.disabled||q}))},0,!1))},je=(q,ce)=>async be=>{let Ve;be&&(be.preventDefault&&be.preventDefault(),be.persist&&be.persist());let Ke=Ja(d);if(E.state.next({isSubmitting:!0}),n.resolver){const{errors:Oe,values:it}=await Y();o.errors=Oe,Ke=it}else await K(i);if(To(o.errors,"root"),ei(o.errors)){E.state.next({errors:{}});try{await q(Ke,be)}catch(Oe){Ve=Oe}}else ce&&await ce({...o.errors},be),De(),setTimeout(De);if(E.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ei(o.errors)&&!Ve,submitCount:o.submitCount+1,errors:o.errors}),Ve)throw Ve},re=(q,ce={})=>{pt(i,q)&&(qr(ce.defaultValue)?se(q,Ja(pt(u,q))):(se(q,ce.defaultValue),pr(u,q,Ja(ce.defaultValue))),ce.keepTouched||To(o.touchedFields,q),ce.keepDirty||(To(o.dirtyFields,q),o.isDirty=ce.defaultValue?J(q,Ja(pt(u,q))):J()),ce.keepError||(To(o.errors,q),w.isValid&&M()),E.state.next({...o}))},Se=(q,ce={})=>{const be=q?Ja(q):u,Ve=Ja(be),Ke=ei(q),Oe=Ke?u:Ve;if(ce.keepDefaultValues||(u=be),!ce.keepValues){if(ce.keepDirtyValues){const it=new Set([...v.mount,...Object.keys(xv(u,d))]);for(const gt of Array.from(it))pt(o.dirtyFields,gt)?pr(Oe,gt,pt(d,gt)):se(gt,pt(Oe,gt))}else{if(NC&&qr(q))for(const it of v.mount){const gt=pt(i,it);if(gt&>._f){const qt=Array.isArray(gt._f.refs)?gt._f.refs[0]:gt._f.ref;if(a0(qt)){const Mt=qt.closest("form");if(Mt){Mt.reset();break}}}}i={}}d=e.shouldUnregister?ce.keepDefaultValues?Ja(u):{}:Ja(Oe),E.array.next({values:{...Oe}}),E.values.next({values:{...Oe}})}v={mount:ce.keepDirtyValues?v.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},m.mount=!w.isValid||!!ce.keepIsValid||!!ce.keepDirtyValues,m.watch=!!e.shouldUnregister,E.state.next({submitCount:ce.keepSubmitCount?o.submitCount:0,isDirty:Ke?!1:ce.keepDirty?o.isDirty:!!(ce.keepDefaultValues&&!ac(q,u)),isSubmitted:ce.keepIsSubmitted?o.isSubmitted:!1,dirtyFields:Ke?{}:ce.keepDirtyValues?ce.keepDefaultValues&&d?xv(u,d):o.dirtyFields:ce.keepDefaultValues&&q?xv(u,q):ce.keepDirty?o.dirtyFields:{},touchedFields:ce.keepTouched?o.touchedFields:{},errors:ce.keepErrors?o.errors:{},isSubmitSuccessful:ce.keepIsSubmitSuccessful?o.isSubmitSuccessful:!1,isSubmitting:!1})},he=(q,ce)=>Se(iu(q)?q(d):q,ce);return{control:{register:me,unregister:we,getFieldState:fe,handleSubmit:je,setError:Te,_executeSchema:Y,_getWatch:X,_getDirty:J,_updateValid:M,_removeUnmounted:Z,_updateFieldArray:j,_updateDisabledField:Ee,_getFieldArray:ee,_reset:Se,_resetDefaultValues:()=>iu(n.defaultValues)&&n.defaultValues().then(q=>{he(q,n.resetOptions),E.state.next({isLoading:!1})}),_updateFormState:q=>{o={...o,...q}},_disableForm:Ne,_subjects:E,_proxyFormState:w,_setErrors:$,get _fields(){return i},get _formValues(){return d},get _state(){return m},set _state(q){m=q},get _defaultValues(){return u},get _names(){return v},set _names(q){v=q},get _formState(){return o},set _formState(q){o=q},get _options(){return n},set _options(q){n={...n,...q}}},trigger:oe,register:me,handleSubmit:je,watch:ue,setValue:se,getValues:U,reset:he,resetField:re,clearErrors:Pe,unregister:we,setError:Te,setFocus:(q,ce={})=>{const be=pt(i,q),Ve=be&&be._f;if(Ve){const Ke=Ve.refs?Ve.refs[0]:Ve.ref;Ke.focus&&(Ke.focus(),ce.shouldSelect&&Ke.select())}},getFieldState:fe}}function qU(e={}){const n=cn.useRef(),o=cn.useRef(),[i,u]=cn.useState({isDirty:!1,isValidating:!1,isLoading:iu(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:iu(e.defaultValues)?void 0:e.defaultValues});n.current||(n.current={...YU(e),formState:i});const d=n.current.control;return d._options=e,LC({subject:d._subjects.state,next:m=>{hM(m,d._proxyFormState,d._updateFormState,!0)&&u({...d._formState})}}),cn.useEffect(()=>d._disableForm(e.disabled),[d,e.disabled]),cn.useEffect(()=>{if(d._proxyFormState.isDirty){const m=d._getDirty();m!==i.isDirty&&d._subjects.state.next({isDirty:m})}},[d,i.isDirty]),cn.useEffect(()=>{e.values&&!ac(e.values,o.current)?(d._reset(e.values,d._options.resetOptions),o.current=e.values,u(m=>({...m}))):d._resetDefaultValues()},[e.values,d]),cn.useEffect(()=>{e.errors&&d._setErrors(e.errors)},[e.errors,d]),cn.useEffect(()=>{d._state.mount||(d._updateValid(),d._state.mount=!0),d._state.watch&&(d._state.watch=!1,d._subjects.state.next({...d._formState})),d._removeUnmounted()}),cn.useEffect(()=>{e.shouldUnregister&&d._subjects.values.next({values:d._getWatch()})},[e.shouldUnregister,d]),cn.useEffect(()=>{n.current&&(n.current.watch=n.current.watch.bind({}))},[i]),n.current.formState=mM(i,d),n.current}const NM=F.createContext(void 0),GU=({children:e,layout:n={}})=>G.jsx(NM.Provider,{value:{layout:n},children:e}),UC=()=>{const e=F.useContext(NM);if(!e)throw new Error("useFormLayout must be used within a FormLayoutProvider");return e.layout};function KU({name:e,label:n,sx:o={},disabled:i,rules:u={},...d}){const{field:m,fieldState:{error:v}}=o0({name:e,rules:u}),S={...UC(),...o};return G.jsx(mp,{sx:S,children:G.jsxs(vp,{error:!!v,component:"fieldset",children:[G.jsx(Ok,{control:G.jsx(bk,{...m,checked:m.value,...d,disabled:i}),label:G.jsx(jb,{sx:{fontWeight:500,color:Hb.foundations.colors.gray1000},children:n})}),G.jsx(sv,{children:!!v&&v.message})]})})}function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var i in o)({}).hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e},Ce.apply(null,arguments)}function dn(e,n){if(e==null)return{};var o={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(n.includes(i))continue;o[i]=e[i]}return o}function QU(e,...n){const o=new URL(`https://mui.com/production-error/?code=${e}`);return n.forEach(i=>o.searchParams.append("args[]",i)),`Minified MUI error #${e}; visit ${o} for the full message.`}const su=s.oneOfType([s.func,s.object]);function XU(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":QU(7));return e.charAt(0).toUpperCase()+e.slice(1)}function HC(e){return e&&e.ownerDocument||document}function ZU(e,n){typeof e=="function"?e(n):e&&(e.current=n)}const lu=typeof window<"u"?F.useLayoutEffect:F.useEffect;let AM=0;function JU(e){const[n,o]=F.useState(e),i=e||n;return F.useEffect(()=>{n==null&&(AM+=1,o(`mui-${AM}`))},[n]),i}const FM={...Eh}.useId;function Cv(e){if(FM!==void 0){const n=FM();return e??n}return JU(e)}function Pd({controlled:e,default:n,name:o,state:i="value"}){const{current:u}=F.useRef(e!==void 0),[d,m]=F.useState(n),v=u?e:d;if(process.env.NODE_ENV!=="production"){F.useEffect(()=>{u!==(e!==void 0)&&console.error([`MUI: A component is changing the ${u?"":"un"}controlled ${i} state of ${o} to be ${u?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${o} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
430
|
+
`))},[i,o,e]);const{current:S}=F.useRef(n);F.useEffect(()=>{!u&&!Object.is(S,n)&&console.error([`MUI: A component is changing the default ${i} state of an uncontrolled ${o} after being initialized. To suppress this warning opt to use a controlled ${o}.`].join(`
|
|
431
|
+
`))},[JSON.stringify(n)])}const g=F.useCallback(S=>{u||m(S)},[]);return[v,g]}function Dt(e){const n=F.useRef(e);return lu(()=>{n.current=e}),F.useRef((...o)=>(0,n.current)(...o)).current}function ki(...e){return F.useMemo(()=>e.every(n=>n==null)?null:n=>{e.forEach(o=>{ZU(o,n)})},e)}const e3={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Gr(e,n,o=void 0){const i={};for(const u in e){const d=e[u];let m="",v=!0;for(let g=0;g<d.length;g+=1){const S=d[g];S&&(m+=(v===!0?"":" ")+n(S),v=!1,o&&o[S]&&(m+=" "+o[S]))}i[u]=m}return i}const LM=e=>e,t3=(()=>{let e=LM;return{configure(n){e=n},generate(n){return e(n)},reset(){e=LM}}})(),n3={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 Kr(e,n,o="Mui"){const i=n3[n];return i?`${o}-${i}`:`${t3.generate(e)}-${n}`}function ao(e,n,o="Mui"){const i={};return n.forEach(u=>{i[u]=Kr(e,u,o)}),i}function r3(e){return typeof e=="string"}function o3(e,n,o){return e===void 0||r3(e)?n:{...n,ownerState:{...n.ownerState,...o}}}function a3(e,n=[]){if(e===void 0)return{};const o={};return Object.keys(e).filter(i=>i.match(/^on[A-Z]/)&&typeof e[i]=="function"&&!n.includes(i)).forEach(i=>{o[i]=e[i]}),o}function IM(e){if(e===void 0)return{};const n={};return Object.keys(e).filter(o=>!(o.match(/^on[A-Z]/)&&typeof e[o]=="function")).forEach(o=>{n[o]=e[o]}),n}function i3(e){const{getSlotProps:n,additionalProps:o,externalSlotProps:i,externalForwardedProps:u,className:d}=e;if(!n){const k=ct(o==null?void 0:o.className,d,u==null?void 0:u.className,i==null?void 0:i.className),O={...o==null?void 0:o.style,...u==null?void 0:u.style,...i==null?void 0:i.style},_={...o,...u,...i};return k.length>0&&(_.className=k),Object.keys(O).length>0&&(_.style=O),{props:_,internalRef:void 0}}const m=a3({...u,...i}),v=IM(i),g=IM(u),S=n(m),w=ct(S==null?void 0:S.className,o==null?void 0:o.className,d,u==null?void 0:u.className,i==null?void 0:i.className),E={...S==null?void 0:S.style,...o==null?void 0:o.style,...u==null?void 0:u.style,...i==null?void 0:i.style},R={...S,...o,...g,...v};return w.length>0&&(R.className=w),Object.keys(E).length>0&&(R.style=E),{props:R,internalRef:S.ref}}function WC(e,n,o){return typeof e=="function"?e(n,o):e}function nr(e){var E;const{elementType:n,externalSlotProps:o,ownerState:i,skipResolvingSlotProps:u=!1,...d}=e,m=u?{}:WC(o,i),{props:v,internalRef:g}=i3({...d,externalSlotProps:m}),S=ki(g,m==null?void 0:m.ref,(E=e.additionalProps)==null?void 0:E.ref);return o3(n,{...v,ref:S},i)}const s3=["localeText"],u0=F.createContext(null);process.env.NODE_ENV!=="production"&&(u0.displayName="MuiPickersAdapterContext");const YC=function(n){const{localeText:o}=n,i=dn(n,s3),{utils:u,localeText:d}=F.useContext(u0)??{utils:void 0,localeText:void 0},m=br({props:i,name:"MuiLocalizationProvider"}),{children:v,dateAdapter:g,dateFormats:S,dateLibInstance:w,adapterLocale:E,localeText:R}=m,k=F.useMemo(()=>Ce({},R,d,o),[R,d,o]),O=F.useMemo(()=>{if(!g)return u||null;const V=new g({locale:E,formats:S,instance:w});if(!V.isMUIAdapter)throw new Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join(`
|
|
432
|
+
`));return V},[g,E,S,w,u]),_=F.useMemo(()=>O?{minDate:O.date("1900-01-01T00:00:00.000"),maxDate:O.date("2099-12-31T00:00:00.000")}:null,[O]),M=F.useMemo(()=>({utils:O,defaultDates:_,localeText:k}),[_,O,k]);return G.jsx(u0.Provider,{value:M,children:v})};process.env.NODE_ENV!=="production"&&(YC.propTypes={adapterLocale:s.any,children:s.node,dateAdapter:s.func,dateFormats:s.shape({dayOfMonth:s.string,dayOfMonthFull:s.string,fullDate:s.string,fullTime:s.string,fullTime12h:s.string,fullTime24h:s.string,hours12h:s.string,hours24h:s.string,keyboardDate:s.string,keyboardDateTime:s.string,keyboardDateTime12h:s.string,keyboardDateTime24h:s.string,meridiem:s.string,minutes:s.string,month:s.string,monthShort:s.string,normalDate:s.string,normalDateWithWeekday:s.string,seconds:s.string,shortDate:s.string,weekday:s.string,weekdayShort:s.string,year:s.string}),dateLibInstance:s.any,localeText:s.object});const l3=e=>({components:{MuiLocalizationProvider:{defaultProps:{localeText:Ce({},e)}}}}),$M=e=>{const{utils:n,formatKey:o,contextTranslation:i,propsTranslation:u}=e;return d=>{const m=d!==null&&n.isValid(d)?n.format(d,o):null;return(u??i)(d,n,m)}},jM={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"Open previous view",openNextView:"Open next view",calendarViewSwitchingButtonAriaLabel:e=>e==="year"?"year view is open, switch to calendar view":"calendar view is open, switch to year view",start:"Start",end:"End",startDate:"Start date",startTime:"Start time",endDate:"End date",endTime:"End time",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerToolbarTitle:"Select date",dateTimePickerToolbarTitle:"Select date & time",timePickerToolbarTitle:"Select time",dateRangePickerToolbarTitle:"Select date range",clockLabelText:(e,n,o,i)=>`Select ${e}. ${!i&&(n===null||!o.isValid(n))?"No time selected":`Selected time is ${i??o.format(n,"fullTime")}`}`,hoursClockNumberText:e=>`${e} hours`,minutesClockNumberText:e=>`${e} minutes`,secondsClockNumberText:e=>`${e} seconds`,selectViewText:e=>`Select ${e}`,calendarWeekNumberHeaderLabel:"Week number",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Week ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,n,o)=>o||e!==null&&n.isValid(e)?`Choose date, selected date is ${o??n.format(e,"fullDate")}`:"Choose date",openTimePickerDialogue:(e,n,o)=>o||e!==null&&n.isValid(e)?`Choose time, selected time is ${o??n.format(e,"fullTime")}`:"Choose time",fieldClearLabel:"Clear",timeTableLabel:"pick time",dateTableLabel:"pick date",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>e.contentType==="letter"?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>e.contentType==="letter"?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Year",month:"Month",day:"Day",weekDay:"Week day",hours:"Hours",minutes:"Minutes",seconds:"Seconds",meridiem:"Meridiem",empty:"Empty"},u3=jM;l3(jM);const _d=()=>{const e=F.useContext(u0);if(e===null)throw new Error(["MUI X: Can not find the date and time pickers localization context.","It looks like you forgot to wrap your component in LocalizationProvider.","This can also happen if you are bundling multiple versions of the `@mui/x-date-pickers` package"].join(`
|
|
433
|
+
`));if(e.utils===null)throw new Error(["MUI X: Can not find the date and time pickers adapter from its localization context.","It looks like you forgot to pass a `dateAdapter` to your LocalizationProvider."].join(`
|
|
434
|
+
`));const n=F.useMemo(()=>Ce({},u3,e.localeText),[e.localeText]);return F.useMemo(()=>Ce({},e,{localeText:n}),[e,n])},Cr=()=>_d().utils,Ev=()=>_d().defaultDates,c0=e=>{const n=Cr(),o=F.useRef();return o.current===void 0&&(o.current=n.date(void 0,e)),o.current},uu=()=>_d().localeText,c3=Da(G.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),d3=Da(G.jsx("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),f3=Da(G.jsx("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),p3=Da(G.jsx("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar");Da(G.jsxs(F.Fragment,{children:[G.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),G.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),Da(G.jsx("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange"),Da(G.jsxs(F.Fragment,{children:[G.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),G.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time");const m3=Da(G.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");function h3(e){return Kr("MuiPickersArrowSwitcher",e)}ao("MuiPickersArrowSwitcher",["root","spacer","button","previousIconButton","nextIconButton","leftArrowIcon","rightArrowIcon"]);const v3=["children","className","slots","slotProps","isNextDisabled","isNextHidden","onGoToNext","nextLabel","isPreviousDisabled","isPreviousHidden","onGoToPrevious","previousLabel","labelId"],y3=["ownerState"],g3=["ownerState"],b3=He("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:(e,n)=>n.root})({display:"flex"}),S3=He("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:(e,n)=>n.spacer})(({theme:e})=>({width:e.spacing(3)})),VM=He(Uh,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:(e,n)=>n.button})({variants:[{props:{hidden:!0},style:{visibility:"hidden"}}]}),x3=e=>{const{classes:n}=e;return Gr({root:["root"],spacer:["spacer"],button:["button"],previousIconButton:["previousIconButton"],nextIconButton:["nextIconButton"],leftArrowIcon:["leftArrowIcon"],rightArrowIcon:["rightArrowIcon"]},h3,n)},w3=F.forwardRef(function(n,o){const i=ou(),u=br({props:n,name:"MuiPickersArrowSwitcher"}),{children:d,className:m,slots:v,slotProps:g,isNextDisabled:S,isNextHidden:w,onGoToNext:E,nextLabel:R,isPreviousDisabled:k,isPreviousHidden:O,onGoToPrevious:_,previousLabel:M,labelId:V}=u,j=dn(u,v3),A=u,$=x3(A),P={isDisabled:S,isHidden:w,goTo:E,label:R},H={isDisabled:k,isHidden:O,goTo:_,label:M},W=(v==null?void 0:v.previousIconButton)??VM,Y=nr({elementType:W,externalSlotProps:g==null?void 0:g.previousIconButton,additionalProps:{size:"medium",title:H.label,"aria-label":H.label,disabled:H.isDisabled,edge:"end",onClick:H.goTo},ownerState:Ce({},A,{hidden:H.isHidden}),className:ct($.button,$.previousIconButton)}),N=(v==null?void 0:v.nextIconButton)??VM,K=nr({elementType:N,externalSlotProps:g==null?void 0:g.nextIconButton,additionalProps:{size:"medium",title:P.label,"aria-label":P.label,disabled:P.isDisabled,edge:"start",onClick:P.goTo},ownerState:Ce({},A,{hidden:P.isHidden}),className:ct($.button,$.nextIconButton)}),Z=(v==null?void 0:v.leftArrowIcon)??d3,J=nr({elementType:Z,externalSlotProps:g==null?void 0:g.leftArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:A,className:$.leftArrowIcon}),X=dn(J,y3),ee=(v==null?void 0:v.rightArrowIcon)??f3,ne=nr({elementType:ee,externalSlotProps:g==null?void 0:g.rightArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:A,className:$.rightArrowIcon}),te=dn(ne,g3);return G.jsxs(b3,Ce({ref:o,className:ct($.root,m),ownerState:A},j,{children:[G.jsx(W,Ce({},Y,{children:i?G.jsx(ee,Ce({},te)):G.jsx(Z,Ce({},X))})),d?G.jsx(Es,{variant:"subtitle1",component:"span",id:V,children:d}):G.jsx(S3,{className:$.spacer,ownerState:A}),G.jsx(N,Ce({},K,{children:i?G.jsx(Z,Ce({},X)):G.jsx(ee,Ce({},te))}))]}))}),Tv=(e,n)=>e.length!==n.length?!1:n.every(o=>e.includes(o)),C3=({openTo:e,defaultOpenTo:n,views:o,defaultViews:i})=>{const u=o??i;let d;if(e!=null)d=e;else if(u.includes(n))d=n;else if(u.length>0)d=u[0];else throw new Error("MUI X: The `views` prop must contain at least one view.");return{views:u,openTo:d}},E3=["hours","minutes","seconds"],T3=e=>E3.includes(e),BM=(e,n)=>n.getHours(e)*3600+n.getMinutes(e)*60+n.getSeconds(e),R3=(e,n)=>(o,i)=>e?n.isAfter(o,i):BM(o,n)>BM(i,n);let qC=!1;function zM({onChange:e,onViewChange:n,openTo:o,view:i,views:u,autoFocus:d,focusedView:m,onFocusedViewChange:v}){process.env.NODE_ENV!=="production"&&(qC||(i!=null&&!u.includes(i)&&(console.warn(`MUI X: \`view="${i}"\` is not a valid prop.`,`It must be an element of \`views=["${u.join('", "')}"]\`.`),qC=!0),i==null&&o!=null&&!u.includes(o)&&(console.warn(`MUI X: \`openTo="${o}"\` is not a valid prop.`,`It must be an element of \`views=["${u.join('", "')}"]\`.`),qC=!0)));const g=F.useRef(o),S=F.useRef(u),w=F.useRef(u.includes(o)?o:u[0]),[E,R]=Pd({name:"useViews",state:"view",controlled:i,default:w.current}),k=F.useRef(d?E:null),[O,_]=Pd({name:"useViews",state:"focusedView",controlled:m,default:k.current});F.useEffect(()=>{(g.current&&g.current!==o||S.current&&S.current.some(W=>!u.includes(W)))&&(R(u.includes(o)?o:u[0]),S.current=u,g.current=o)},[o,R,E,u]);const M=u.indexOf(E),V=u[M-1]??null,j=u[M+1]??null,A=Dt((W,Y)=>{_(Y?W:N=>W===N?null:N),v==null||v(W,Y)}),$=Dt(W=>{A(W,!0),W!==E&&(R(W),n&&n(W))}),P=Dt(()=>{j&&$(j)}),H=Dt((W,Y,N)=>{const K=Y==="finish",Z=N?u.indexOf(N)<u.length-1:!!j;if(e(W,K&&Z?"partial":Y,N),N&&N!==E){const X=u[u.indexOf(N)+1];X&&$(X)}else K&&P()});return{view:E,setView:$,focusedView:O,setFocusedView:A,nextView:j,previousView:V,defaultView:u.includes(o)?o:u[0],goToNextView:P,setValueAndGoToNextView:H}}function O3(e,{disableFuture:n,maxDate:o,timezone:i}){const u=Cr();return F.useMemo(()=>{const d=u.date(void 0,i),m=u.startOfMonth(n&&u.isBefore(d,o)?d:o);return!u.isAfter(m,e)},[n,o,e,u,i])}function D3(e,{disablePast:n,minDate:o,timezone:i}){const u=Cr();return F.useMemo(()=>{const d=u.date(void 0,i),m=u.startOfMonth(n&&u.isAfter(d,o)?d:o);return!u.isBefore(m,e)},[n,o,e,u,i])}const Rv=36,d0=2,f0=320,k3=280,GC=336,M3=He("div")({overflow:"hidden",width:f0,maxHeight:GC,display:"flex",flexDirection:"column",margin:"0 auto"}),p0=(e,n,o)=>{let i=n;return i=e.setHours(i,e.getHours(o)),i=e.setMinutes(i,e.getMinutes(o)),i=e.setSeconds(i,e.getSeconds(o)),i=e.setMilliseconds(i,e.getMilliseconds(o)),i},Ov=({date:e,disableFuture:n,disablePast:o,maxDate:i,minDate:u,isDateDisabled:d,utils:m,timezone:v})=>{const g=p0(m,m.date(void 0,v),e);o&&m.isBefore(u,g)&&(u=g),n&&m.isAfter(i,g)&&(i=g);let S=e,w=e;for(m.isBefore(e,u)&&(S=u,w=null),m.isAfter(e,i)&&(w&&(w=i),S=null);S||w;){if(S&&m.isAfter(S,i)&&(S=null),w&&m.isBefore(w,u)&&(w=null),S){if(!d(S))return S;S=m.addDays(S,1)}if(w){if(!d(w))return w;w=m.addDays(w,-1)}}return null},P3=(e,n)=>n==null||!e.isValid(n)?null:n,es=(e,n,o)=>n==null||!e.isValid(n)?o:n,_3=(e,n,o)=>!e.isValid(n)&&n!=null&&!e.isValid(o)&&o!=null?!0:e.isEqual(n,o),KC=(e,n)=>{const i=[e.startOfYear(n)];for(;i.length<12;){const u=i[i.length-1];i.push(e.addMonths(u,1))}return i},UM=(e,n,o)=>o==="date"?e.startOfDay(e.date(void 0,n)):e.date(void 0,n),N3=["year","month","day"],HM=e=>N3.includes(e),QC=(e,{format:n,views:o},i)=>{if(n!=null)return n;const u=e.formats;return Tv(o,["year"])?u.year:Tv(o,["month"])?u.month:Tv(o,["day"])?u.dayOfMonth:Tv(o,["month","year"])?`${u.month} ${u.year}`:Tv(o,["day","month"])?`${u.month} ${u.dayOfMonth}`:i?/en/.test(e.getCurrentLocaleCode())?u.normalDateWithWeekday:u.normalDate:u.keyboardDate},A3=(e,n)=>{const o=e.startOfWeek(n);return[0,1,2,3,4,5,6].map(i=>e.addDays(o,i))},XC=({timezone:e,value:n,defaultValue:o,onChange:i,valueManager:u})=>{const d=Cr(),m=F.useRef(o),v=n??m.current??u.emptyValue,g=F.useMemo(()=>u.getTimezone(d,v),[d,u,v]),S=Dt(k=>g==null?k:u.setTimezone(d,g,k)),w=e??g??"default",E=F.useMemo(()=>u.setTimezone(d,w,v),[u,d,w,v]),R=Dt((k,...O)=>{const _=S(k);i==null||i(_,...O)});return{value:E,handleValueChange:R,timezone:w}},ZC=({name:e,timezone:n,value:o,defaultValue:i,onChange:u,valueManager:d})=>{const[m,v]=Pd({name:e,state:"value",controlled:o,default:i??d.emptyValue}),g=Dt((S,...w)=>{v(S),u==null||u(S,...w)});return XC({timezone:n,value:m,defaultValue:void 0,onChange:g,valueManager:d})},fl={year:1,month:2,day:3,hours:4,minutes:5,seconds:6,milliseconds:7},F3=e=>Math.max(...e.map(n=>fl[n.type]??1)),Dv=(e,n,o)=>{if(n===fl.year)return e.startOfYear(o);if(n===fl.month)return e.startOfMonth(o);if(n===fl.day)return e.startOfDay(o);let i=o;return n<fl.minutes&&(i=e.setMinutes(i,0)),n<fl.seconds&&(i=e.setSeconds(i,0)),n<fl.milliseconds&&(i=e.setMilliseconds(i,0)),i},L3=({props:e,utils:n,granularity:o,timezone:i,getTodayDate:u})=>{let d=u?u():Dv(n,o,UM(n,i));e.minDate!=null&&n.isAfterDay(e.minDate,d)&&(d=Dv(n,o,e.minDate)),e.maxDate!=null&&n.isBeforeDay(e.maxDate,d)&&(d=Dv(n,o,e.maxDate));const m=R3(e.disableIgnoringDatePartForTimeValidation??!1,n);return e.minTime!=null&&m(e.minTime,d)&&(d=Dv(n,o,e.disableIgnoringDatePartForTimeValidation?e.minTime:p0(n,d,e.minTime))),e.maxTime!=null&&m(d,e.maxTime)&&(d=Dv(n,o,e.disableIgnoringDatePartForTimeValidation?e.maxTime:p0(n,d,e.maxTime))),d},JC=(e,n)=>{const o=e.formatTokenMap[n];if(o==null)throw new Error([`MUI X: The token "${n}" is not supported by the Date and Time Pickers.`,"Please try using another token or open an issue on https://github.com/mui/mui-x/issues/new/choose if you think it should be supported."].join(`
|
|
435
|
+
`));return typeof o=="string"?{type:o,contentType:o==="meridiem"?"letter":"digit",maxLength:void 0}:{type:o.sectionType,contentType:o.contentType,maxLength:o.maxLength}},I3=e=>{switch(e){case"ArrowUp":return 1;case"ArrowDown":return-1;case"PageUp":return 5;case"PageDown":return-5;default:return 0}},m0=(e,n)=>{const o=[],i=e.date(void 0,"default"),u=e.startOfWeek(i),d=e.endOfWeek(i);let m=u;for(;e.isBefore(m,d);)o.push(m),m=e.addDays(m,1);return o.map(v=>e.formatByString(v,n))},WM=(e,n,o,i)=>{switch(o){case"month":return KC(e,e.date(void 0,n)).map(u=>e.formatByString(u,i));case"weekDay":return m0(e,i);case"meridiem":{const u=e.date(void 0,n);return[e.startOfDay(u),e.endOfDay(u)].map(d=>e.formatByString(d,i))}default:return[]}},YM="s",$3=["0","1","2","3","4","5","6","7","8","9"],j3=e=>{const n=e.date(void 0);return e.formatByString(e.setSeconds(n,0),YM)==="0"?$3:Array.from({length:10}).map((i,u)=>e.formatByString(e.setSeconds(n,u),YM))},Nd=(e,n)=>{if(n[0]==="0")return e;const o=[];let i="";for(let u=0;u<e.length;u+=1){i+=e[u];const d=n.indexOf(i);d>-1&&(o.push(d.toString()),i="")}return o.join("")},eE=(e,n)=>n[0]==="0"?e:e.split("").map(o=>n[Number(o)]).join(""),qM=(e,n)=>{const o=Nd(e,n);return o!==" "&&!Number.isNaN(Number(o))},GM=(e,n)=>{let o=e;for(o=Number(o).toString();o.length<n;)o=`0${o}`;return o},KM=(e,n,o,i,u)=>{if(process.env.NODE_ENV!=="production"&&u.type!=="day"&&u.contentType==="digit-with-letter")throw new Error([`MUI X: The token "${u.format}" is a digit format with letter in it.'
|
|
436
|
+
This type of format is only supported for 'day' sections`].join(`
|
|
437
|
+
`));if(u.type==="day"&&u.contentType==="digit-with-letter"){const m=e.setDate(o.longestMonth,n);return e.formatByString(m,u.format)}let d=n.toString();return u.hasLeadingZerosInInput&&(d=GM(d,u.maxLength)),eE(d,i)},V3=(e,n,o,i,u,d,m,v)=>{const g=I3(i),S=i==="Home",w=i==="End",E=o.value===""||S||w,R=()=>{const O=u[o.type]({currentDate:m,format:o.format,contentType:o.contentType}),_=A=>KM(e,A,O,d,o),M=o.type==="minutes"&&(v!=null&&v.minutesStep)?v.minutesStep:1;let j=parseInt(Nd(o.value,d),10)+g*M;if(E){if(o.type==="year"&&!w&&!S)return e.formatByString(e.date(void 0,n),o.format);g>0||S?j=O.minimum:j=O.maximum}return j%M!==0&&((g<0||S)&&(j+=M-(M+j)%M),(g>0||w)&&(j-=j%M)),j>O.maximum?_(O.minimum+(j-O.maximum-1)%(O.maximum-O.minimum+1)):j<O.minimum?_(O.maximum-(O.minimum-j-1)%(O.maximum-O.minimum+1)):_(j)},k=()=>{const O=WM(e,n,o.type,o.format);if(O.length===0)return o.value;if(E)return g>0||S?O[0]:O[O.length-1];const V=((O.indexOf(o.value)+g)%O.length+O.length)%O.length;return O[V]};return o.contentType==="digit"||o.contentType==="digit-with-letter"?R():k()},tE=(e,n,o)=>{let i=e.value||e.placeholder;const u=n==="non-input"?e.hasLeadingZerosInFormat:e.hasLeadingZerosInInput;return n==="non-input"&&e.hasLeadingZerosInInput&&!e.hasLeadingZerosInFormat&&(i=Number(Nd(i,o)).toString()),["input-rtl","input-ltr"].includes(n)&&e.contentType==="digit"&&!u&&i.length===1&&(i=`${i}`),n==="input-rtl"&&(i=`${i}`),i},QM=(e,n,o,i)=>{if(process.env.NODE_ENV!=="production"&&JC(e,o).type==="weekDay")throw new Error("changeSectionValueFormat doesn't support week day formats");return e.formatByString(e.parse(n,o),i)},XM=(e,n)=>e.formatByString(e.date(void 0,"system"),n).length===4,ZM=(e,n,o,i)=>{if(n!=="digit")return!1;const u=e.date(void 0,"default");switch(o){case"year":return XM(e,i)?e.formatByString(e.setYear(u,1),i)==="0001":e.formatByString(e.setYear(u,2001),i)==="01";case"month":return e.formatByString(e.startOfYear(u),i).length>1;case"day":return e.formatByString(e.startOfMonth(u),i).length>1;case"weekDay":return e.formatByString(e.startOfWeek(u),i).length>1;case"hours":return e.formatByString(e.setHours(u,1),i).length>1;case"minutes":return e.formatByString(e.setMinutes(u,1),i).length>1;case"seconds":return e.formatByString(e.setSeconds(u,1),i).length>1;default:throw new Error("Invalid section type")}},B3=(e,n,o)=>{const i=n.some(g=>g.type==="day"),u=[],d=[];for(let g=0;g<n.length;g+=1){const S=n[g];i&&S.type==="weekDay"||(u.push(S.format),d.push(tE(S,"non-input",o)))}const m=u.join(" "),v=d.join(" ");return e.parse(v,m)},z3=e=>e.map(n=>`${n.startSeparator}${n.value||n.placeholder}${n.endSeparator}`).join(""),U3=(e,n,o)=>{const u=e.map(d=>{const m=tE(d,o?"input-rtl":"input-ltr",n);return`${d.startSeparator}${m}${d.endSeparator}`}).join("");return o?`${u}`:u},H3=(e,n,o)=>{const i=e.date(void 0,o),u=e.endOfYear(i),d=e.endOfDay(i),{maxDaysInMonth:m,longestMonth:v}=KC(e,i).reduce((g,S)=>{const w=e.getDaysInMonth(S);return w>g.maxDaysInMonth?{maxDaysInMonth:w,longestMonth:S}:g},{maxDaysInMonth:0,longestMonth:null});return{year:({format:g})=>({minimum:0,maximum:XM(e,g)?9999:99}),month:()=>({minimum:1,maximum:e.getMonth(u)+1}),day:({currentDate:g})=>({minimum:1,maximum:g!=null&&e.isValid(g)?e.getDaysInMonth(g):m,longestMonth:v}),weekDay:({format:g,contentType:S})=>{if(S==="digit"){const w=m0(e,g).map(Number);return{minimum:Math.min(...w),maximum:Math.max(...w)}}return{minimum:1,maximum:7}},hours:({format:g})=>{const S=e.getHours(d);return Nd(e.formatByString(e.endOfDay(i),g),n)!==S.toString()?{minimum:1,maximum:Number(Nd(e.formatByString(e.startOfDay(i),g),n))}:{minimum:0,maximum:S}},minutes:()=>({minimum:0,maximum:e.getMinutes(d)}),seconds:()=>({minimum:0,maximum:e.getSeconds(d)}),meridiem:()=>({minimum:0,maximum:1}),empty:()=>({minimum:0,maximum:0})}};let JM=!1;const eP=(e,n)=>{if(process.env.NODE_ENV!=="production"&&!JM){const o=["empty"];["date","date-time"].includes(n)&&o.push("weekDay","day","month","year"),["time","date-time"].includes(n)&&o.push("hours","minutes","seconds","meridiem");const i=e.find(u=>!o.includes(u.type));i&&(console.warn(`MUI X: The field component you are using is not compatible with the "${i.type}" date section.`,`The supported date sections are ["${o.join('", "')}"]\`.`),JM=!0)}},W3=(e,n,o,i)=>{switch(n.type){case"year":return e.setYear(i,e.getYear(o));case"month":return e.setMonth(i,e.getMonth(o));case"weekDay":{const u=m0(e,n.format),d=e.formatByString(o,n.format),m=u.indexOf(d),g=u.indexOf(n.value)-m;return e.addDays(o,g)}case"day":return e.setDate(i,e.getDate(o));case"meridiem":{const u=e.getHours(o)<12,d=e.getHours(i);return u&&d>=12?e.addHours(i,-12):!u&&d<12?e.addHours(i,12):i}case"hours":return e.setHours(i,e.getHours(o));case"minutes":return e.setMinutes(i,e.getMinutes(o));case"seconds":return e.setSeconds(i,e.getSeconds(o));default:return i}},tP={year:1,month:2,day:3,weekDay:4,hours:5,minutes:6,seconds:7,meridiem:8,empty:9},nP=(e,n,o,i,u)=>[...o].sort((d,m)=>tP[d.type]-tP[m.type]).reduce((d,m)=>!u||m.modified?W3(e,m,n,d):d,i),Y3=()=>navigator.userAgent.toLowerCase().includes("android"),q3=(e,n)=>{const o={};if(!n)return e.forEach((g,S)=>{const w=S===0?null:S-1,E=S===e.length-1?null:S+1;o[S]={leftIndex:w,rightIndex:E}}),{neighbors:o,startIndex:0,endIndex:e.length-1};const i={},u={};let d=0,m=0,v=e.length-1;for(;v>=0;){m=e.findIndex((g,S)=>{var w;return S>=d&&((w=g.endSeparator)==null?void 0:w.includes(" "))&&g.endSeparator!==" / "}),m===-1&&(m=e.length-1);for(let g=m;g>=d;g-=1)u[g]=v,i[v]=g,v-=1;d=m+1}return e.forEach((g,S)=>{const w=u[S],E=w===0?null:i[w-1],R=w===e.length-1?null:i[w+1];o[S]={leftIndex:E,rightIndex:R}}),{neighbors:o,startIndex:i[0],endIndex:i[e.length-1]}},nE=(e,n)=>e==null?null:e==="all"?"all":typeof e=="string"?n.findIndex(o=>o.type===e):e,G3=(e,n)=>{if(e.value)switch(e.type){case"month":{if(e.contentType==="digit")return n.format(n.setMonth(n.date(),Number(e.value)-1),"month");const o=n.parse(e.value,e.format);return o?n.format(o,"month"):void 0}case"day":return e.contentType==="digit"?n.format(n.setDate(n.startOfYear(n.date()),Number(e.value)),"dayOfMonthFull"):e.value;case"weekDay":return;default:return}},K3=(e,n)=>{if(e.value)switch(e.type){case"weekDay":return e.contentType==="letter"?void 0:Number(e.value);case"meridiem":{const o=n.parse(`01:00 ${e.value}`,`${n.formats.hours12h}:${n.formats.minutes} ${e.format}`);return o?n.getHours(o)>=12?1:0:void 0}case"day":return e.contentType==="digit-with-letter"?parseInt(e.value,10):Number(e.value);case"month":{if(e.contentType==="digit")return Number(e.value);const o=n.parse(e.value,e.format);return o?n.getMonth(o)+1:void 0}default:return e.contentType!=="letter"?Number(e.value):void 0}},Q3=["value","referenceDate"],pl={emptyValue:null,getTodayValue:UM,getInitialReferenceValue:e=>{let{value:n,referenceDate:o}=e,i=dn(e,Q3);return n!=null&&i.utils.isValid(n)?n:o??L3(i)},cleanValue:P3,areValuesEqual:_3,isSameError:(e,n)=>e===n,hasError:e=>e!=null,defaultErrorState:null,getTimezone:(e,n)=>n==null||!e.isValid(n)?null:e.getTimezone(n),setTimezone:(e,n,o)=>o==null?null:e.setTimezone(o,n)},X3={updateReferenceValue:(e,n,o)=>n==null||!e.isValid(n)?o:n,getSectionsFromValue:(e,n,o,i)=>!e.isValid(n)&&!!o?o:i(n),getV7HiddenInputValueFromSections:z3,getV6InputValueFromSections:U3,getActiveDateManager:(e,n)=>({date:n.value,referenceDate:n.referenceValue,getSections:o=>o,getNewValuesFromNewActiveDate:o=>({value:o,referenceValue:o==null||!e.isValid(o)?n.referenceValue:o})}),parseValueStr:(e,n,o)=>o(e.trim(),n)};function Z3(e,n){return Array.isArray(n)?n.every(o=>e.indexOf(o)!==-1):e.indexOf(n)!==-1}const J3=(e,n)=>o=>{(o.key==="Enter"||o.key===" ")&&(e(o),o.preventDefault(),o.stopPropagation())},Mi=(e=document)=>{const n=e.activeElement;return n?n.shadowRoot?Mi(n.shadowRoot):n:null},e4="@media (pointer: fine)";function t4(e){return Kr("MuiPickersDay",e)}const Ad=ao("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"]),n4=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onFocus","onBlur","onKeyDown","onMouseDown","onMouseEnter","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today","isFirstVisibleCell","isLastVisibleCell"],r4=e=>{const{selected:n,disableMargin:o,disableHighlightToday:i,today:u,disabled:d,outsideCurrentMonth:m,showDaysOutsideCurrentMonth:v,classes:g}=e,S=m&&!v;return Gr({root:["root",n&&!S&&"selected",d&&"disabled",!o&&"dayWithMargin",!i&&u&&"today",m&&v&&"dayOutsideMonth",S&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]},t4,g)},rP=({theme:e})=>Ce({},e.typography.caption,{width:Rv,height:Rv,borderRadius:"50%",padding:0,backgroundColor:"transparent",transition:e.transitions.create("background-color",{duration:e.transitions.duration.short}),color:(e.vars||e).palette.text.primary,"@media (pointer: fine)":{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette.primary.main,e.palette.action.hoverOpacity)}},"&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:kn(e.palette.primary.main,e.palette.action.focusOpacity),[`&.${Ad.selected}`]:{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${Ad.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,fontWeight:e.typography.fontWeightMedium,"&:hover":{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${Ad.disabled}:not(.${Ad.selected})`]:{color:(e.vars||e).palette.text.disabled},[`&.${Ad.disabled}&.${Ad.selected}`]:{opacity:.6},variants:[{props:{disableMargin:!1},style:{margin:`0 ${d0}px`}},{props:{outsideCurrentMonth:!0,showDaysOutsideCurrentMonth:!0},style:{color:(e.vars||e).palette.text.secondary}},{props:{disableHighlightToday:!1,today:!0},style:{[`&:not(.${Ad.selected})`]:{border:`1px solid ${(e.vars||e).palette.text.secondary}`}}}]}),oP=(e,n)=>{const{ownerState:o}=e;return[n.root,!o.disableMargin&&n.dayWithMargin,!o.disableHighlightToday&&o.today&&n.today,!o.outsideCurrentMonth&&o.showDaysOutsideCurrentMonth&&n.dayOutsideMonth,o.outsideCurrentMonth&&!o.showDaysOutsideCurrentMonth&&n.hiddenDaySpacingFiller]},o4=He(tc,{name:"MuiPickersDay",slot:"Root",overridesResolver:oP})(rP),a4=He("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:oP})(({theme:e})=>Ce({},rP({theme:e}),{opacity:0,pointerEvents:"none"})),kv=()=>{},aP=F.forwardRef(function(n,o){const i=br({props:n,name:"MuiPickersDay"}),{autoFocus:u=!1,className:d,day:m,disabled:v=!1,disableHighlightToday:g=!1,disableMargin:S=!1,isAnimating:w,onClick:E,onDaySelect:R,onFocus:k=kv,onBlur:O=kv,onKeyDown:_=kv,onMouseDown:M=kv,onMouseEnter:V=kv,outsideCurrentMonth:j,selected:A=!1,showDaysOutsideCurrentMonth:$=!1,children:P,today:H=!1}=i,W=dn(i,n4),Y=Ce({},i,{autoFocus:u,disabled:v,disableHighlightToday:g,disableMargin:S,selected:A,showDaysOutsideCurrentMonth:$,today:H}),N=r4(Y),K=Cr(),Z=F.useRef(null),J=ki(Z,o);lu(()=>{u&&!v&&!w&&!j&&Z.current.focus()},[u,v,w,j]);const X=ne=>{M(ne),j&&ne.preventDefault()},ee=ne=>{v||R(m),j&&ne.currentTarget.focus(),E&&E(ne)};return j&&!$?G.jsx(a4,{className:ct(N.root,N.hiddenDaySpacingFiller,d),ownerState:Y,role:W.role}):G.jsx(o4,Ce({className:ct(N.root,d),ref:J,centerRipple:!0,disabled:v,tabIndex:A?0:-1,onKeyDown:ne=>_(ne,m),onFocus:ne=>k(ne,m),onBlur:ne=>O(ne,m),onMouseEnter:ne=>V(ne,m),onClick:ee,onMouseDown:X},W,{ownerState:Y,children:P||K.format(m,"dayOfMonth")}))});process.env.NODE_ENV!=="production"&&(aP.propTypes={action:s.oneOfType([s.func,s.shape({current:s.shape({focusVisible:s.func.isRequired})})]),centerRipple:s.bool,classes:s.object,className:s.string,component:s.elementType,day:s.object.isRequired,disabled:s.bool,disableHighlightToday:s.bool,disableMargin:s.bool,disableRipple:s.bool,disableTouchRipple:s.bool,focusRipple:s.bool,focusVisibleClassName:s.string,isAnimating:s.bool,isFirstVisibleCell:s.bool.isRequired,isLastVisibleCell:s.bool.isRequired,onBlur:s.func,onDaySelect:s.func.isRequired,onFocus:s.func,onFocusVisible:s.func,onKeyDown:s.func,onMouseEnter:s.func,outsideCurrentMonth:s.bool.isRequired,selected:s.bool,showDaysOutsideCurrentMonth:s.bool,style:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),tabIndex:s.number,today:s.bool,TouchRippleProps:s.object,touchRippleRef:s.oneOfType([s.func,s.shape({current:s.shape({pulsate:s.func.isRequired,start:s.func.isRequired,stop:s.func.isRequired})})])});const i4=F.memo(aP),Mv=({props:e,value:n,timezone:o,adapter:i})=>{if(n===null)return null;const{shouldDisableDate:u,shouldDisableMonth:d,shouldDisableYear:m,disablePast:v,disableFuture:g}=e,S=i.utils.date(void 0,o),w=es(i.utils,e.minDate,i.defaultDates.minDate),E=es(i.utils,e.maxDate,i.defaultDates.maxDate);switch(!0){case!i.utils.isValid(n):return"invalidDate";case!!(u&&u(n)):return"shouldDisableDate";case!!(d&&d(n)):return"shouldDisableMonth";case!!(m&&m(n)):return"shouldDisableYear";case!!(g&&i.utils.isAfterDay(n,S)):return"disableFuture";case!!(v&&i.utils.isBeforeDay(n,S)):return"disablePast";case!!(w&&i.utils.isBeforeDay(n,w)):return"minDate";case!!(E&&i.utils.isAfterDay(n,E)):return"maxDate";default:return null}};Mv.valueManager=pl;const iP=["disablePast","disableFuture","minDate","maxDate","shouldDisableDate","shouldDisableMonth","shouldDisableYear"],s4=["disablePast","disableFuture","minTime","maxTime","shouldDisableTime","minutesStep","ampm","disableIgnoringDatePartForTimeValidation"],l4=["minDateTime","maxDateTime"],u4=[...iP,...s4,...l4],sP=e=>u4.reduce((n,o)=>(e.hasOwnProperty(o)&&(n[o]=e[o]),n),{});function lP(e){const{props:n,validator:o,value:i,timezone:u,onError:d}=e,m=_d(),v=F.useRef(o.valueManager.defaultErrorState),g=o({adapter:m,value:i,timezone:u,props:n}),S=o.valueManager.hasError(g);F.useEffect(()=>{d&&!o.valueManager.isSameError(g,v.current)&&d(g,i),v.current=g},[o,d,g,i]);const w=Dt(E=>o({adapter:m,value:E,timezone:u,props:n}));return{validationError:g,hasValidationError:S,getValidationErrorForNewValue:w}}const c4=({utils:e,format:n})=>{let o=10,i=n,u=e.expandFormat(n);for(;u!==i;)if(i=u,u=e.expandFormat(i),o-=1,o<0)throw new Error("MUI X: The format expansion seems to be in an infinite loop. Please open an issue with the format passed to the picker component.");return u},d4=({utils:e,expandedFormat:n})=>{const o=[],{start:i,end:u}=e.escapedCharacters,d=new RegExp(`(\\${i}[^\\${u}]*\\${u})+`,"g");let m=null;for(;m=d.exec(n);)o.push({start:m.index,end:d.lastIndex-1});return o},f4=(e,n,o,i)=>{switch(o.type){case"year":return n.fieldYearPlaceholder({digitAmount:e.formatByString(e.date(void 0,"default"),i).length,format:i});case"month":return n.fieldMonthPlaceholder({contentType:o.contentType,format:i});case"day":return n.fieldDayPlaceholder({format:i});case"weekDay":return n.fieldWeekDayPlaceholder({contentType:o.contentType,format:i});case"hours":return n.fieldHoursPlaceholder({format:i});case"minutes":return n.fieldMinutesPlaceholder({format:i});case"seconds":return n.fieldSecondsPlaceholder({format:i});case"meridiem":return n.fieldMeridiemPlaceholder({format:i});default:return i}},p4=({utils:e,date:n,shouldRespectLeadingZeros:o,localeText:i,localizedDigits:u,now:d,token:m,startSeparator:v})=>{if(m==="")throw new Error("MUI X: Should not call `commitToken` with an empty token");const g=JC(e,m),S=ZM(e,g.contentType,g.type,m),w=o?S:g.contentType==="digit",E=n!=null&&e.isValid(n);let R=E?e.formatByString(n,m):"",k=null;if(w)if(S)k=R===""?e.formatByString(d,m).length:R.length;else{if(g.maxLength==null)throw new Error(`MUI X: The token ${m} should have a 'maxDigitNumber' property on it's adapter`);k=g.maxLength,E&&(R=eE(GM(Nd(R,u),k),u))}return Ce({},g,{format:m,maxLength:k,value:R,placeholder:f4(e,i,g,m),hasLeadingZerosInFormat:S,hasLeadingZerosInInput:w,startSeparator:v,endSeparator:"",modified:!1})},m4=e=>{var k;const{utils:n,expandedFormat:o,escapedParts:i}=e,u=n.date(void 0),d=[];let m="";const v=Object.keys(n.formatTokenMap).sort((O,_)=>_.length-O.length),g=/^([a-zA-Z]+)/,S=new RegExp(`^(${v.join("|")})*$`),w=new RegExp(`^(${v.join("|")})`),E=O=>i.find(_=>_.start<=O&&_.end>=O);let R=0;for(;R<o.length;){const O=E(R),_=O!=null,M=(k=g.exec(o.slice(R)))==null?void 0:k[1];if(!_&&M!=null&&S.test(M)){let V=M;for(;V.length>0;){const j=w.exec(V)[1];V=V.slice(j.length),d.push(p4(Ce({},e,{now:u,token:j,startSeparator:m}))),m=""}R+=M.length}else{const V=o[R];_&&(O==null?void 0:O.start)===R||(O==null?void 0:O.end)===R||(d.length===0?m+=V:d[d.length-1].endSeparator+=V),R+=1}}return d.length===0&&m.length>0&&d.push({type:"empty",contentType:"letter",maxLength:null,format:"",value:"",placeholder:"",hasLeadingZerosInFormat:!1,hasLeadingZerosInInput:!1,startSeparator:m,endSeparator:"",modified:!1}),d},h4=({isRtl:e,formatDensity:n,sections:o})=>o.map(i=>{const u=d=>{let m=d;return e&&m!==null&&m.includes(" ")&&(m=`${m}`),n==="spacious"&&["/",".","-"].includes(m)&&(m=` ${m} `),m};return i.startSeparator=u(i.startSeparator),i.endSeparator=u(i.endSeparator),i}),uP=e=>{let n=c4(e);e.isRtl&&e.enableAccessibleFieldDOMStructure&&(n=n.split(" ").reverse().join(" "));const o=d4(Ce({},e,{expandedFormat:n})),i=m4(Ce({},e,{expandedFormat:n,escapedParts:o}));return h4(Ce({},e,{sections:i}))},v4=e=>{const n=Cr(),o=uu(),i=_d(),u=ou(),{valueManager:d,fieldValueManager:m,valueType:v,validator:g,internalProps:S,internalProps:{value:w,defaultValue:E,referenceDate:R,onChange:k,format:O,formatDensity:_="dense",selectedSections:M,onSelectedSectionsChange:V,shouldRespectLeadingZeros:j=!1,timezone:A,enableAccessibleFieldDOMStructure:$=!1}}=e,{timezone:P,value:H,handleValueChange:W}=XC({timezone:A,value:w,defaultValue:E,onChange:k,valueManager:d}),Y=F.useMemo(()=>j3(n),[n]),N=F.useMemo(()=>H3(n,Y,P),[n,Y,P]),K=F.useCallback((ue,we=null)=>m.getSectionsFromValue(n,ue,we,Ee=>uP({utils:n,localeText:o,localizedDigits:Y,format:O,date:Ee,formatDensity:_,shouldRespectLeadingZeros:j,enableAccessibleFieldDOMStructure:$,isRtl:u})),[m,O,o,Y,u,j,n,_,$]),[Z,J]=F.useState(()=>{const ue=K(H);eP(ue,v);const we={sections:ue,value:H,referenceValue:d.emptyValue,tempValueStrAndroid:null},Ee=F3(ue),me=d.getInitialReferenceValue({referenceDate:R,value:H,utils:n,props:S,granularity:Ee,timezone:P});return Ce({},we,{referenceValue:me})}),[X,ee]=Pd({controlled:M,default:null,name:"useField",state:"selectedSections"}),ne=ue=>{ee(ue),V==null||V(ue)},te=F.useMemo(()=>nE(X,Z.sections),[X,Z.sections]),se=te==="all"?0:te,ae=({value:ue,referenceValue:we,sections:Ee})=>{if(J(De=>Ce({},De,{sections:Ee,value:ue,referenceValue:we,tempValueStrAndroid:null})),d.areValuesEqual(n,Z.value,ue))return;const me={validationError:g({adapter:i,value:ue,timezone:P,props:S})};W(ue,me)},xe=(ue,we)=>{const Ee=[...Z.sections];return Ee[ue]=Ce({},Ee[ue],{value:we,modified:!0}),Ee},oe=()=>{ae({value:d.emptyValue,referenceValue:Z.referenceValue,sections:K(d.emptyValue)})},U=()=>{if(se==null)return;const ue=Z.sections[se],we=m.getActiveDateManager(n,Z,ue),me=we.getSections(Z.sections).filter(re=>re.value!=="").length===(ue.value===""?0:1),De=xe(se,""),Ne=me?null:n.getInvalidDate(),je=we.getNewValuesFromNewActiveDate(Ne);ae(Ce({},je,{sections:De}))},fe=ue=>{const we=(De,Ne)=>{const je=n.parse(De,O);if(je==null||!n.isValid(je))return null;const re=uP({utils:n,localeText:o,localizedDigits:Y,format:O,date:je,formatDensity:_,shouldRespectLeadingZeros:j,enableAccessibleFieldDOMStructure:$,isRtl:u});return nP(n,je,re,Ne,!1)},Ee=m.parseValueStr(ue,Z.referenceValue,we),me=m.updateReferenceValue(n,Ee,Z.referenceValue);ae({value:Ee,referenceValue:me,sections:K(Ee,Z.sections)})},Pe=({activeSection:ue,newSectionValue:we,shouldGoToNextSection:Ee})=>{Ee&&se<Z.sections.length-1&&ne(se+1);const me=m.getActiveDateManager(n,Z,ue),De=xe(se,we),Ne=me.getSections(De),je=B3(n,Ne,Y);let re,Se;if(je!=null&&n.isValid(je)){const he=nP(n,je,Ne,me.referenceDate,!0);re=me.getNewValuesFromNewActiveDate(he),Se=!0}else re=me.getNewValuesFromNewActiveDate(je),Se=(je!=null&&!n.isValid(je))!=(me.date!=null&&!n.isValid(me.date));return Se?ae(Ce({},re,{sections:De})):J(he=>Ce({},he,re,{sections:De,tempValueStrAndroid:null}))},Te=ue=>J(we=>Ce({},we,{tempValueStrAndroid:ue}));return F.useEffect(()=>{const ue=K(Z.value);eP(ue,v),J(we=>Ce({},we,{sections:ue}))},[O,n.locale,u]),F.useEffect(()=>{let ue;d.areValuesEqual(n,Z.value,H)?ue=d.getTimezone(n,Z.value)!==d.getTimezone(n,H):ue=!0,ue&&J(we=>Ce({},we,{value:H,referenceValue:m.updateReferenceValue(n,H,we.referenceValue),sections:K(H)}))},[H]),{state:Z,activeSectionIndex:se,parsedSelectedSections:te,setSelectedSections:ne,clearValue:oe,clearActiveSection:U,updateSectionValue:Pe,updateValueFromValueStr:fe,setTempAndroidValueStr:Te,getSectionsFromValue:K,sectionsValueBoundaries:N,localizedDigits:Y,timezone:P}},y4=5e3,Sp=e=>e.saveQuery!=null,g4=({sections:e,updateSectionValue:n,sectionsValueBoundaries:o,localizedDigits:i,setTempAndroidValueStr:u,timezone:d})=>{const m=Cr(),[v,g]=F.useState(null),S=Dt(()=>g(null));F.useEffect(()=>{var O;v!=null&&((O=e[v.sectionIndex])==null?void 0:O.type)!==v.sectionType&&S()},[e,v,S]),F.useEffect(()=>{if(v!=null){const O=setTimeout(()=>S(),y4);return()=>{clearTimeout(O)}}return()=>{}},[v,S]);const w=({keyPressed:O,sectionIndex:_},M,V)=>{const j=O.toLowerCase(),A=e[_];if(v!=null&&(!V||V(v.value))&&v.sectionIndex===_){const P=`${v.value}${j}`,H=M(P,A);if(!Sp(H))return g({sectionIndex:_,value:P,sectionType:A.type}),H}const $=M(j,A);return Sp($)&&!$.saveQuery?(S(),null):(g({sectionIndex:_,value:j,sectionType:A.type}),Sp($)?null:$)},E=O=>{const _=(j,A,$)=>{const P=A.filter(H=>H.toLowerCase().startsWith($));return P.length===0?{saveQuery:!1}:{sectionValue:P[0],shouldGoToNextSection:P.length===1}},M=(j,A,$,P)=>{const H=W=>WM(m,d,A.type,W);if(A.contentType==="letter")return _(A.format,H(A.format),j);if($&&P!=null&&JC(m,$).contentType==="letter"){const W=H($),Y=_($,W,j);return Sp(Y)?{saveQuery:!1}:Ce({},Y,{sectionValue:P(Y.sectionValue,W)})}return{saveQuery:!1}};return w(O,(j,A)=>{switch(A.type){case"month":{const $=P=>QM(m,P,m.formats.month,A.format);return M(j,A,m.formats.month,$)}case"weekDay":{const $=(P,H)=>H.indexOf(P).toString();return M(j,A,m.formats.weekday,$)}case"meridiem":return M(j,A);default:return{saveQuery:!1}}})},R=O=>{const _=(V,j)=>{const A=Nd(V,i),$=Number(A),P=o[j.type]({currentDate:null,format:j.format,contentType:j.contentType});if($>P.maximum)return{saveQuery:!1};if($<P.minimum)return{saveQuery:!0};const H=$*10>P.maximum||A.length===P.maximum.toString().length;return{sectionValue:KM(m,$,P,i,j),shouldGoToNextSection:H}};return w(O,(V,j)=>{if(j.contentType==="digit"||j.contentType==="digit-with-letter")return _(V,j);if(j.type==="month"){const A=ZM(m,"digit","month","MM"),$=_(V,{type:j.type,format:"MM",hasLeadingZerosInFormat:A,hasLeadingZerosInInput:!0,contentType:"digit",maxLength:2});if(Sp($))return $;const P=QM(m,$.sectionValue,"MM",j.format);return Ce({},$,{sectionValue:P})}if(j.type==="weekDay"){const A=_(V,j);if(Sp(A))return A;const $=m0(m,j.format)[Number(A.sectionValue)-1];return Ce({},A,{sectionValue:$})}return{saveQuery:!1}},V=>qM(V,i))};return{applyCharacterEditing:Dt(O=>{const _=e[O.sectionIndex],V=qM(O.keyPressed,i)?R(Ce({},O,{keyPressed:eE(O.keyPressed,i)})):E(O);if(V==null){u(null);return}n({activeSection:_,newSectionValue:V.sectionValue,shouldGoToNextSection:V.shouldGoToNextSection})}),resetCharacterQuery:S}},b4=e=>{const{internalProps:{disabled:n,readOnly:o=!1},forwardedProps:{sectionListRef:i,onBlur:u,onClick:d,onFocus:m,onInput:v,onPaste:g,focused:S,autoFocus:w=!1},fieldValueManager:E,applyCharacterEditing:R,resetCharacterQuery:k,setSelectedSections:O,parsedSelectedSections:_,state:M,clearActiveSection:V,clearValue:j,updateSectionValue:A,updateValueFromValueStr:$,sectionOrder:P,areAllSectionsEmpty:H,sectionsValueBoundaries:W}=e,Y=F.useRef(null),N=ki(i,Y),K=uu(),Z=Cr(),J=Cv(),[X,ee]=F.useState(!1),ne=F.useMemo(()=>({syncSelectionToDOM:()=>{if(!Y.current)return;const Se=document.getSelection();if(!Se)return;if(_==null){Se.rangeCount>0&&Y.current.getRoot().contains(Se.getRangeAt(0).startContainer)&&Se.removeAllRanges(),X&&Y.current.getRoot().blur();return}if(!Y.current.getRoot().contains(Mi(document)))return;const he=new window.Range;let We;_==="all"?We=Y.current.getRoot():M.sections[_].type==="empty"?We=Y.current.getSectionContainer(_):We=Y.current.getSectionContent(_),he.selectNodeContents(We),We.focus(),Se.removeAllRanges(),Se.addRange(he)},getActiveSectionIndexFromDOM:()=>{const Se=Mi(document);return!Se||!Y.current||!Y.current.getRoot().contains(Se)?null:Y.current.getSectionIndexFromDOMElement(Se)},focusField:(Se=0)=>{if(!Y.current)return;const he=nE(Se,M.sections);ee(!0),Y.current.getSectionContent(he).focus()},setSelectedSections:Se=>{if(!Y.current)return;const he=nE(Se,M.sections);ee((he==="all"?0:he)!==null),O(Se)},isFieldFocused:()=>{const Se=Mi(document);return!!Y.current&&Y.current.getRoot().contains(Se)}}),[_,O,M.sections,X]),te=Dt(Se=>{if(!Y.current)return;const he=M.sections[Se];Y.current.getSectionContent(Se).innerHTML=he.value||he.placeholder,ne.syncSelectionToDOM()}),se=Dt((Se,...he)=>{Se.isDefaultPrevented()||!Y.current||(ee(!0),d==null||d(Se,...he),_==="all"?setTimeout(()=>{const We=document.getSelection().getRangeAt(0).startOffset;if(We===0){O(P.startIndex);return}let qe=0,tt=0;for(;tt<We&&qe<M.sections.length;){const q=M.sections[qe];qe+=1,tt+=`${q.startSeparator}${q.value||q.placeholder}${q.endSeparator}`.length}O(qe-1)}):X?Y.current.getRoot().contains(Se.target)||O(P.startIndex):(ee(!0),O(P.startIndex)))}),ae=Dt(Se=>{if(v==null||v(Se),!Y.current||_!=="all")return;const We=Se.target.textContent??"";Y.current.getRoot().innerHTML=M.sections.map(qe=>`${qe.startSeparator}${qe.value||qe.placeholder}${qe.endSeparator}`).join(""),ne.syncSelectionToDOM(),We.length===0||We.charCodeAt(0)===10?(k(),j(),O("all")):We.length>1?$(We):R({keyPressed:We,sectionIndex:0})}),xe=Dt(Se=>{if(g==null||g(Se),o||_!=="all"){Se.preventDefault();return}const he=Se.clipboardData.getData("text");Se.preventDefault(),k(),$(he)}),oe=Dt((...Se)=>{if(m==null||m(...Se),X||!Y.current)return;ee(!0),Y.current.getSectionIndexFromDOMElement(Mi(document))!=null||O(P.startIndex)}),U=Dt((...Se)=>{u==null||u(...Se),setTimeout(()=>{if(!Y.current)return;const he=Mi(document);!Y.current.getRoot().contains(he)&&(ee(!1),O(null))})}),fe=Dt(Se=>he=>{he.isDefaultPrevented()||O(Se)}),Pe=Dt(Se=>{Se.preventDefault()}),Te=Dt(Se=>()=>{O(Se)}),ue=Dt(Se=>{if(Se.preventDefault(),o||n||typeof _!="number")return;const he=M.sections[_],We=Se.clipboardData.getData("text"),qe=/^[a-zA-Z]+$/.test(We),tt=/^[0-9]+$/.test(We),q=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(We);he.contentType==="letter"&&qe||he.contentType==="digit"&&tt||he.contentType==="digit-with-letter"&&q?(k(),A({activeSection:he,newSectionValue:We,shouldGoToNextSection:!0})):!qe&&!tt&&(k(),$(We))}),we=Dt(Se=>{Se.preventDefault(),Se.dataTransfer.dropEffect="none"}),Ee=Dt(Se=>{if(!Y.current)return;const he=Se.target,We=he.textContent??"",qe=Y.current.getSectionIndexFromDOMElement(he),tt=M.sections[qe];if(o||!Y.current){te(qe);return}if(We.length===0){if(tt.value===""){te(qe);return}const q=Se.nativeEvent.inputType;if(q==="insertParagraph"||q==="insertLineBreak"){te(qe);return}k(),V();return}R({keyPressed:We,sectionIndex:qe}),te(qe)});lu(()=>{if(!(!X||!Y.current)){if(_==="all")Y.current.getRoot().focus();else if(typeof _=="number"){const Se=Y.current.getSectionContent(_);Se&&Se.focus()}}},[_,X]);const me=F.useMemo(()=>M.sections.reduce((Se,he)=>(Se[he.type]=W[he.type]({currentDate:null,contentType:he.contentType,format:he.format}),Se),{}),[W,M.sections]),De=_==="all",Ne=F.useMemo(()=>M.sections.map((Se,he)=>{const We=!De&&!n&&!o;return{container:{"data-sectionindex":he,onClick:fe(he)},content:{tabIndex:De||he>0?-1:0,contentEditable:!De&&!n&&!o,role:"spinbutton",id:`${J}-${Se.type}`,"aria-labelledby":`${J}-${Se.type}`,"aria-readonly":o,"aria-valuenow":K3(Se,Z),"aria-valuemin":me[Se.type].minimum,"aria-valuemax":me[Se.type].maximum,"aria-valuetext":Se.value?G3(Se,Z):K.empty,"aria-label":K[Se.type],"aria-disabled":n,spellCheck:We?!1:void 0,autoCapitalize:We?"off":void 0,autoCorrect:We?"off":void 0,[parseInt(F.version,10)>=17?"enterKeyHint":"enterkeyhint"]:We?"next":void 0,children:Se.value||Se.placeholder,onInput:Ee,onPaste:ue,onFocus:Te(he),onDragOver:we,onMouseUp:Pe,inputMode:Se.contentType==="letter"?"text":"numeric"},before:{children:Se.startSeparator},after:{children:Se.endSeparator}}}),[M.sections,Te,ue,we,Ee,fe,Pe,n,o,De,K,Z,me,J]),je=Dt(Se=>{$(Se.target.value)}),re=F.useMemo(()=>H?"":E.getV7HiddenInputValueFromSections(M.sections),[H,M.sections,E]);return F.useEffect(()=>{if(Y.current==null)throw new Error(["MUI X: The `sectionListRef` prop has not been initialized by `PickersSectionList`","You probably tried to pass a component to the `textField` slot that contains an `<input />` element instead of a `PickersSectionList`.","","If you want to keep using an `<input />` HTML element for the editing, please remove the `enableAccessibleFieldDOMStructure` prop from your picker or field component:","","<DatePicker slots={{ textField: MyCustomTextField }} />","","Learn more about the field accessible DOM structure on the MUI documentation: https://mui.com/x/react-date-pickers/fields/#fields-to-edit-a-single-element"].join(`
|
|
438
|
+
`));w&&Y.current&&Y.current.getSectionContent(P.startIndex).focus()},[]),{interactions:ne,returnedValue:{autoFocus:w,readOnly:o,focused:S??X,sectionListRef:N,onBlur:U,onClick:se,onFocus:oe,onInput:ae,onPaste:xe,enableAccessibleFieldDOMStructure:!0,elements:Ne,tabIndex:_===0?-1:0,contentEditable:De,value:re,onChange:je,areAllSectionsEmpty:H}}},xp=e=>e.replace(/[\u2066\u2067\u2068\u2069]/g,""),S4=(e,n,o)=>{let i=0,u=o?1:0;const d=[];for(let m=0;m<e.length;m+=1){const v=e[m],g=tE(v,o?"input-rtl":"input-ltr",n),S=`${v.startSeparator}${g}${v.endSeparator}`,w=xp(S).length,E=S.length,R=xp(g),k=u+(R===""?0:g.indexOf(R[0]))+v.startSeparator.length,O=k+R.length;d.push(Ce({},v,{start:i,end:i+w,startInInput:k,endInInput:O})),i+=w,u+=E}return d},x4=e=>{const n=ou(),o=F.useRef(),i=F.useRef(),{forwardedProps:{onFocus:u,onClick:d,onPaste:m,onBlur:v,inputRef:g,placeholder:S},internalProps:{readOnly:w=!1,disabled:E=!1},parsedSelectedSections:R,activeSectionIndex:k,state:O,fieldValueManager:_,valueManager:M,applyCharacterEditing:V,resetCharacterQuery:j,updateSectionValue:A,updateValueFromValueStr:$,clearActiveSection:P,clearValue:H,setTempAndroidValueStr:W,setSelectedSections:Y,getSectionsFromValue:N,areAllSectionsEmpty:K,localizedDigits:Z}=e,J=F.useRef(null),X=ki(g,J),ee=F.useMemo(()=>S4(O.sections,Z,n),[O.sections,Z,n]),ne=F.useMemo(()=>({syncSelectionToDOM:()=>{if(!J.current)return;if(R==null){J.current.scrollLeft&&(J.current.scrollLeft=0);return}if(J.current!==Mi(document))return;const Ee=J.current.scrollTop;if(R==="all")J.current.select();else{const me=ee[R],De=me.type==="empty"?me.startInInput-me.startSeparator.length:me.startInInput,Ne=me.type==="empty"?me.endInInput+me.endSeparator.length:me.endInInput;(De!==J.current.selectionStart||Ne!==J.current.selectionEnd)&&J.current===Mi(document)&&J.current.setSelectionRange(De,Ne),clearTimeout(i.current),i.current=setTimeout(()=>{J.current&&J.current===Mi(document)&&J.current.selectionStart===J.current.selectionEnd&&(J.current.selectionStart!==De||J.current.selectionEnd!==Ne)&&ne.syncSelectionToDOM()})}J.current.scrollTop=Ee},getActiveSectionIndexFromDOM:()=>{const Ee=J.current.selectionStart??0,me=J.current.selectionEnd??0;if(Ee===0&&me===0)return null;const De=Ee<=ee[0].startInInput?1:ee.findIndex(Ne=>Ne.startInInput-Ne.startSeparator.length>Ee);return De===-1?ee.length-1:De-1},focusField:(Ee=0)=>{var me;(me=J.current)==null||me.focus(),Y(Ee)},setSelectedSections:Ee=>Y(Ee),isFieldFocused:()=>J.current===Mi(document)}),[J,R,ee,Y]),te=()=>{const Ee=J.current.selectionStart??0;let me;Ee<=ee[0].startInInput||Ee>=ee[ee.length-1].endInInput?me=1:me=ee.findIndex(Ne=>Ne.startInInput-Ne.startSeparator.length>Ee);const De=me===-1?ee.length-1:me-1;Y(De)},se=Dt((...Ee)=>{u==null||u(...Ee);const me=J.current;clearTimeout(o.current),o.current=setTimeout(()=>{!me||me!==J.current||k==null&&(me.value.length&&Number(me.selectionEnd)-Number(me.selectionStart)===me.value.length?Y("all"):te())})}),ae=Dt((Ee,...me)=>{Ee.isDefaultPrevented()||(d==null||d(Ee,...me),te())}),xe=Dt(Ee=>{if(m==null||m(Ee),Ee.preventDefault(),w||E)return;const me=Ee.clipboardData.getData("text");if(typeof R=="number"){const De=O.sections[R],Ne=/^[a-zA-Z]+$/.test(me),je=/^[0-9]+$/.test(me),re=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(me);if(De.contentType==="letter"&&Ne||De.contentType==="digit"&&je||De.contentType==="digit-with-letter"&&re){j(),A({activeSection:De,newSectionValue:me,shouldGoToNextSection:!0});return}if(Ne||je)return}j(),$(me)}),oe=Dt((...Ee)=>{v==null||v(...Ee),Y(null)}),U=Dt(Ee=>{if(w)return;const me=Ee.target.value;if(me===""){j(),H();return}const De=Ee.nativeEvent.data,Ne=De&&De.length>1,je=Ne?De:me,re=xp(je);if(k==null||Ne){$(Ne?De:re);return}let Se;if(R==="all"&&re.length===1)Se=re;else{const he=xp(_.getV6InputValueFromSections(ee,Z,n));let We=-1,qe=-1;for(let be=0;be<he.length;be+=1)We===-1&&he[be]!==re[be]&&(We=be),qe===-1&&he[he.length-be-1]!==re[re.length-be-1]&&(qe=be);const tt=ee[k];if(We<tt.start||he.length-qe-1>tt.end)return;const ce=re.length-he.length+tt.end-xp(tt.endSeparator||"").length;Se=re.slice(tt.start+xp(tt.startSeparator||"").length,ce)}if(Se.length===0){Y3()&&W(je),j(),P();return}V({keyPressed:Se,sectionIndex:k})}),fe=F.useMemo(()=>S!==void 0?S:_.getV6InputValueFromSections(N(M.emptyValue),Z,n),[S,_,N,M.emptyValue,Z,n]),Pe=F.useMemo(()=>O.tempValueStrAndroid??_.getV6InputValueFromSections(O.sections,Z,n),[O.sections,_,O.tempValueStrAndroid,Z,n]);F.useEffect(()=>(J.current&&J.current===Mi(document)&&Y("all"),()=>{clearTimeout(o.current),clearTimeout(i.current)}),[]);const Te=F.useMemo(()=>k==null||O.sections[k].contentType==="letter"?"text":"numeric",[k,O.sections]),we=!(J.current&&J.current===Mi(document))&&K;return{interactions:ne,returnedValue:{readOnly:w,onBlur:oe,onClick:ae,onFocus:se,onPaste:xe,inputRef:X,enableAccessibleFieldDOMStructure:!1,placeholder:fe,inputMode:Te,autoComplete:"off",value:we?"":Pe,onChange:U}}},w4=e=>{const n=Cr(),{internalProps:o,internalProps:{unstableFieldRef:i,minutesStep:u,enableAccessibleFieldDOMStructure:d=!1,disabled:m=!1,readOnly:v=!1},forwardedProps:{onKeyDown:g,error:S,clearable:w,onClear:E},fieldValueManager:R,valueManager:k,validator:O}=e,_=ou(),M=v4(e),{state:V,activeSectionIndex:j,parsedSelectedSections:A,setSelectedSections:$,clearValue:P,clearActiveSection:H,updateSectionValue:W,setTempAndroidValueStr:Y,sectionsValueBoundaries:N,localizedDigits:K,timezone:Z}=M,J=g4({sections:V.sections,updateSectionValue:W,sectionsValueBoundaries:N,localizedDigits:K,setTempAndroidValueStr:Y,timezone:Z}),{resetCharacterQuery:X}=J,ee=k.areValuesEqual(n,V.value,k.emptyValue),ne=d?b4:x4,te=F.useMemo(()=>q3(V.sections,_&&!d),[V.sections,_,d]),{returnedValue:se,interactions:ae}=ne(Ce({},e,M,J,{areAllSectionsEmpty:ee,sectionOrder:te})),xe=Dt(ue=>{if(g==null||g(ue),!m)switch(!0){case((ue.ctrlKey||ue.metaKey)&&String.fromCharCode(ue.keyCode)==="A"&&!ue.shiftKey&&!ue.altKey):{ue.preventDefault(),$("all");break}case ue.key==="ArrowRight":{if(ue.preventDefault(),A==null)$(te.startIndex);else if(A==="all")$(te.endIndex);else{const we=te.neighbors[A].rightIndex;we!==null&&$(we)}break}case ue.key==="ArrowLeft":{if(ue.preventDefault(),A==null)$(te.endIndex);else if(A==="all")$(te.startIndex);else{const we=te.neighbors[A].leftIndex;we!==null&&$(we)}break}case ue.key==="Delete":{if(ue.preventDefault(),v)break;A==null||A==="all"?P():H(),X();break}case["ArrowUp","ArrowDown","Home","End","PageUp","PageDown"].includes(ue.key):{if(ue.preventDefault(),v||j==null)break;const we=V.sections[j],Ee=R.getActiveDateManager(n,V,we),me=V3(n,Z,we,ue.key,N,K,Ee.date,{minutesStep:u});W({activeSection:we,newSectionValue:me,shouldGoToNextSection:!1});break}}});lu(()=>{ae.syncSelectionToDOM()});const{hasValidationError:oe}=lP({props:o,validator:O,timezone:Z,value:V.value,onError:o.onError}),U=F.useMemo(()=>S!==void 0?S:oe,[oe,S]);F.useEffect(()=>{!U&&j==null&&X()},[V.referenceValue,j,U]),F.useEffect(()=>{V.tempValueStrAndroid!=null&&j!=null&&(X(),H())},[V.sections]),F.useImperativeHandle(i,()=>({getSections:()=>V.sections,getActiveSectionIndex:ae.getActiveSectionIndexFromDOM,setSelectedSections:ae.setSelectedSections,focusField:ae.focusField,isFieldFocused:ae.isFieldFocused}));const fe=Dt((ue,...we)=>{ue.preventDefault(),E==null||E(ue,...we),P(),ae.isFieldFocused()?$(te.startIndex):ae.focusField(0)}),Pe={onKeyDown:xe,onClear:fe,error:U,clearable:!!(w&&!ee&&!v&&!m)},Te={disabled:m,readOnly:v};return Ce({},e.forwardedProps,Pe,Te,se)},C4=["clearable","onClear","InputProps","sx","slots","slotProps"],E4=["ownerState"],T4=e=>{const n=uu(),{clearable:o,onClear:i,InputProps:u,sx:d,slots:m,slotProps:v}=e,g=dn(e,C4),S=(m==null?void 0:m.clearButton)??Uh,w=nr({elementType:S,externalSlotProps:v==null?void 0:v.clearButton,ownerState:{},className:"clearButton",additionalProps:{title:n.fieldClearLabel}}),E=dn(w,E4),R=(m==null?void 0:m.clearIcon)??m3,k=nr({elementType:R,externalSlotProps:v==null?void 0:v.clearIcon,ownerState:{}});return Ce({},g,{InputProps:Ce({},u,{endAdornment:G.jsxs(F.Fragment,{children:[o&&G.jsx(CC,{position:"end",sx:{marginRight:u!=null&&u.endAdornment?-1:-1.5},children:G.jsx(S,Ce({},E,{onClick:i,children:G.jsx(R,Ce({fontSize:"small"},k))}))}),u==null?void 0:u.endAdornment]})}),sx:[{"& .clearButton":{opacity:1},"@media (pointer: fine)":{"& .clearButton":{opacity:0},"&:hover, &:focus-within":{".clearButton":{opacity:1}}}},...Array.isArray(d)?d:[d]]})},R4=["value","defaultValue","referenceDate","format","formatDensity","onChange","timezone","onError","shouldRespectLeadingZeros","selectedSections","onSelectedSectionsChange","unstableFieldRef","enableAccessibleFieldDOMStructure","disabled","readOnly","dateSeparator"],O4=(e,n)=>F.useMemo(()=>{const o=Ce({},e),i={},u=d=>{o.hasOwnProperty(d)&&(i[d]=o[d],delete o[d])};return R4.forEach(u),iP.forEach(u),{forwardedProps:o,internalProps:i}},[e,n]),D4=F.createContext(null);function cP(e){const{contextValue:n,localeText:o,children:i}=e;return G.jsx(D4.Provider,{value:n,children:G.jsx(YC,{localeText:o,children:i})})}const k4=e=>{const n=Cr(),o=Ev();return Ce({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??n.formats.keyboardDate,minDate:es(n,e.minDate,o.minDate),maxDate:es(n,e.maxDate,o.maxDate)})},M4=e=>{const n=k4(e),{forwardedProps:o,internalProps:i}=O4(n,"date");return w4({forwardedProps:o,internalProps:i,valueManager:pl,fieldValueManager:X3,validator:Mv,valueType:"date"})};function P4(e){return Kr("MuiPickersTextField",e)}ao("MuiPickersTextField",["root","focused","disabled","error","required"]);function _4(e){return Kr("MuiPickersInputBase",e)}const wp=ao("MuiPickersInputBase",["root","focused","disabled","error","notchedOutline","sectionContent","sectionBefore","sectionAfter","adornedStart","adornedEnd","input"]);function N4(e){return Kr("MuiPickersSectionList",e)}const Pv=ao("MuiPickersSectionList",["root","section","sectionContent"]),A4=["slots","slotProps","elements","sectionListRef"],dP=He("div",{name:"MuiPickersSectionList",slot:"Root",overridesResolver:(e,n)=>n.root})({direction:"ltr /*! @noflip */",outline:"none"}),fP=He("span",{name:"MuiPickersSectionList",slot:"Section",overridesResolver:(e,n)=>n.section})({}),pP=He("span",{name:"MuiPickersSectionList",slot:"SectionSeparator",overridesResolver:(e,n)=>n.sectionSeparator})({whiteSpace:"pre"}),mP=He("span",{name:"MuiPickersSectionList",slot:"SectionContent",overridesResolver:(e,n)=>n.sectionContent})({outline:"none"}),F4=e=>{const{classes:n}=e;return Gr({root:["root"],section:["section"],sectionContent:["sectionContent"]},N4,n)};function hP(e){const{slots:n,slotProps:o,element:i,classes:u}=e,d=(n==null?void 0:n.section)??fP,m=nr({elementType:d,externalSlotProps:o==null?void 0:o.section,externalForwardedProps:i.container,className:u.section,ownerState:{}}),v=(n==null?void 0:n.sectionContent)??mP,g=nr({elementType:v,externalSlotProps:o==null?void 0:o.sectionContent,externalForwardedProps:i.content,additionalProps:{suppressContentEditableWarning:!0},className:u.sectionContent,ownerState:{}}),S=(n==null?void 0:n.sectionSeparator)??pP,w=nr({elementType:S,externalSlotProps:o==null?void 0:o.sectionSeparator,externalForwardedProps:i.before,ownerState:{position:"before"}}),E=nr({elementType:S,externalSlotProps:o==null?void 0:o.sectionSeparator,externalForwardedProps:i.after,ownerState:{position:"after"}});return G.jsxs(d,Ce({},m,{children:[G.jsx(S,Ce({},w)),G.jsx(v,Ce({},g)),G.jsx(S,Ce({},E))]}))}process.env.NODE_ENV!=="production"&&(hP.propTypes={classes:s.object.isRequired,element:s.shape({after:s.object.isRequired,before:s.object.isRequired,container:s.object.isRequired,content:s.object.isRequired}).isRequired,slotProps:s.object,slots:s.object});const vP=F.forwardRef(function(n,o){const i=br({props:n,name:"MuiPickersSectionList"}),{slots:u,slotProps:d,elements:m,sectionListRef:v}=i,g=dn(i,A4),S=F4(i),w=F.useRef(null),E=ki(o,w),R=_=>{if(!w.current)throw new Error(`MUI X: Cannot call sectionListRef.${_} before the mount of the component.`);return w.current};F.useImperativeHandle(v,()=>({getRoot(){return R("getRoot")},getSectionContainer(_){return R("getSectionContainer").querySelector(`.${Pv.section}[data-sectionindex="${_}"]`)},getSectionContent(_){return R("getSectionContent").querySelector(`.${Pv.section}[data-sectionindex="${_}"] .${Pv.sectionContent}`)},getSectionIndexFromDOMElement(_){const M=R("getSectionIndexFromDOMElement");if(_==null||!M.contains(_))return null;let V=null;return _.classList.contains(Pv.section)?V=_:_.classList.contains(Pv.sectionContent)&&(V=_.parentElement),V==null?null:Number(V.dataset.sectionindex)}}));const k=(u==null?void 0:u.root)??dP,O=nr({elementType:k,externalSlotProps:d==null?void 0:d.root,externalForwardedProps:g,additionalProps:{ref:E,suppressContentEditableWarning:!0},className:S.root,ownerState:{}});return G.jsx(k,Ce({},O,{children:O.contentEditable?m.map(({content:_,before:M,after:V})=>`${M.children}${_.children}${V.children}`).join(""):G.jsx(F.Fragment,{children:m.map((_,M)=>G.jsx(hP,{slots:u,slotProps:d,element:_,classes:S},M))})}))});process.env.NODE_ENV!=="production"&&(vP.propTypes={classes:s.object,contentEditable:s.bool.isRequired,elements:s.arrayOf(s.shape({after:s.object.isRequired,before:s.object.isRequired,container:s.object.isRequired,content:s.object.isRequired})).isRequired,sectionListRef:s.oneOfType([s.func,s.shape({current:s.shape({getRoot:s.func.isRequired,getSectionContainer:s.func.isRequired,getSectionContent:s.func.isRequired,getSectionIndexFromDOMElement:s.func.isRequired})})]),slotProps:s.object,slots:s.object});const L4=["elements","areAllSectionsEmpty","defaultValue","label","value","onChange","id","autoFocus","endAdornment","startAdornment","renderSuffix","slots","slotProps","contentEditable","tabIndex","onInput","onPaste","onKeyDown","fullWidth","name","readOnly","inputProps","inputRef","sectionListRef"],I4=e=>Math.round(e*1e5)/1e5,h0=He("div",{name:"MuiPickersInputBase",slot:"Root",overridesResolver:(e,n)=>n.root})(({theme:e})=>Ce({},e.typography.body1,{color:(e.vars||e).palette.text.primary,cursor:"text",padding:0,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",boxSizing:"border-box",letterSpacing:`${I4(.15/16)}em`,variants:[{props:{fullWidth:!0},style:{width:"100%"}}]})),rE=He(dP,{name:"MuiPickersInputBase",slot:"SectionsContainer",overridesResolver:(e,n)=>n.sectionsContainer})(({theme:e})=>({padding:"4px 0 5px",fontFamily:e.typography.fontFamily,fontSize:"inherit",lineHeight:"1.4375em",flexGrow:1,outline:"none",display:"flex",flexWrap:"nowrap",overflow:"hidden",letterSpacing:"inherit",width:"182px",variants:[{props:{isRtl:!0},style:{textAlign:"right /*! @noflip */"}},{props:{size:"small"},style:{paddingTop:1}},{props:{adornedStart:!1,focused:!1,filled:!1},style:{color:"currentColor",opacity:0}},{props:({adornedStart:n,focused:o,filled:i,label:u})=>!n&&!o&&!i&&u==null,style:e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:e.palette.mode==="light"?.42:.5}}]})),$4=He(fP,{name:"MuiPickersInputBase",slot:"Section",overridesResolver:(e,n)=>n.section})(({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:"inherit",letterSpacing:"inherit",lineHeight:"1.4375em",display:"flex"})),j4=He(mP,{name:"MuiPickersInputBase",slot:"SectionContent",overridesResolver:(e,n)=>n.content})(({theme:e})=>({fontFamily:e.typography.fontFamily,lineHeight:"1.4375em",letterSpacing:"inherit",width:"fit-content",outline:"none"})),V4=He(pP,{name:"MuiPickersInputBase",slot:"Separator",overridesResolver:(e,n)=>n.separator})(()=>({whiteSpace:"pre",letterSpacing:"inherit"})),B4=He("input",{name:"MuiPickersInputBase",slot:"Input",overridesResolver:(e,n)=>n.hiddenInput})(Ce({},e3)),z4=e=>{const{focused:n,disabled:o,error:i,classes:u,fullWidth:d,readOnly:m,color:v,size:g,endAdornment:S,startAdornment:w}=e,E={root:["root",n&&!o&&"focused",o&&"disabled",m&&"readOnly",i&&"error",d&&"fullWidth",`color${XU(v)}`,g==="small"&&"inputSizeSmall",!!w&&"adornedStart",!!S&&"adornedEnd"],notchedOutline:["notchedOutline"],input:["input"],sectionsContainer:["sectionsContainer"],sectionContent:["sectionContent"],sectionBefore:["sectionBefore"],sectionAfter:["sectionAfter"]};return Gr(E,_4,u)},v0=F.forwardRef(function(n,o){const i=br({props:n,name:"MuiPickersInputBase"}),{elements:u,areAllSectionsEmpty:d,value:m,onChange:v,id:g,endAdornment:S,startAdornment:w,renderSuffix:E,slots:R,slotProps:k,contentEditable:O,tabIndex:_,onInput:M,onPaste:V,onKeyDown:j,name:A,readOnly:$,inputProps:P,inputRef:H,sectionListRef:W}=i,Y=dn(i,L4),N=F.useRef(null),K=ki(o,N),Z=ki(P==null?void 0:P.ref,H),J=ou(),X=Oi();if(!X)throw new Error("MUI X: PickersInputBase should always be used inside a PickersTextField component");const ee=oe=>{var U;if(X.disabled){oe.stopPropagation();return}(U=X.onFocus)==null||U.call(X,oe)};F.useEffect(()=>{X&&X.setAdornedStart(!!w)},[X,w]),F.useEffect(()=>{X&&(d?X.onEmpty():X.onFilled())},[X,d]);const ne=Ce({},i,X,{isRtl:J}),te=z4(ne),se=(R==null?void 0:R.root)||h0,ae=nr({elementType:se,externalSlotProps:k==null?void 0:k.root,externalForwardedProps:Y,additionalProps:{"aria-invalid":X.error,ref:K},className:te.root,ownerState:ne}),xe=(R==null?void 0:R.input)||rE;return G.jsxs(se,Ce({},ae,{children:[w,G.jsx(vP,{sectionListRef:W,elements:u,contentEditable:O,tabIndex:_,className:te.sectionsContainer,onFocus:ee,onBlur:X.onBlur,onInput:M,onPaste:V,onKeyDown:j,slots:{root:xe,section:$4,sectionContent:j4,sectionSeparator:V4},slotProps:{root:{ownerState:ne},sectionContent:{className:wp.sectionContent},sectionSeparator:({position:oe})=>({className:oe==="before"?wp.sectionBefore:wp.sectionAfter})}}),S,E?E(Ce({},X)):null,G.jsx(B4,Ce({name:A,className:te.input,value:m,onChange:v,id:g,"aria-hidden":"true",tabIndex:-1,readOnly:$,required:X.required,disabled:X.disabled},P,{ref:Z}))]}))});process.env.NODE_ENV!=="production"&&(v0.propTypes={areAllSectionsEmpty:s.bool.isRequired,className:s.string,component:s.elementType,contentEditable:s.bool.isRequired,elements:s.arrayOf(s.shape({after:s.object.isRequired,before:s.object.isRequired,container:s.object.isRequired,content:s.object.isRequired})).isRequired,endAdornment:s.node,fullWidth:s.bool,id:s.string,inputProps:s.object,inputRef:su,label:s.node,margin:s.oneOf(["dense","none","normal"]),name:s.string,onChange:s.func.isRequired,onClick:s.func.isRequired,onInput:s.func.isRequired,onKeyDown:s.func.isRequired,onPaste:s.func.isRequired,ownerState:s.any,readOnly:s.bool,renderSuffix:s.func,sectionListRef:s.oneOfType([s.func,s.shape({current:s.shape({getRoot:s.func.isRequired,getSectionContainer:s.func.isRequired,getSectionContent:s.func.isRequired,getSectionIndexFromDOMElement:s.func.isRequired})})]),slotProps:s.object,slots:s.object,startAdornment:s.node,style:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),value:s.string.isRequired});function U4(e){return Kr("MuiPickersOutlinedInput",e)}const Rs=Ce({},wp,ao("MuiPickersOutlinedInput",["root","notchedOutline","input"])),H4=["children","className","label","notched","shrink"],W4=He("fieldset",{name:"MuiPickersOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,n)=>n.notchedOutline})(({theme:e})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%",borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}}),yP=He("span")(({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:"inherit"})),Y4=He("legend")(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:{withLabel:!1},style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:{withLabel:!0},style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:{withLabel:!0,notched:!0},style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]}));function q4(e){const{className:n,label:o}=e,i=dn(e,H4),u=o!=null&&o!=="",d=Ce({},e,{withLabel:u});return G.jsx(W4,Ce({"aria-hidden":!0,className:n},i,{ownerState:d,children:G.jsx(Y4,{ownerState:d,children:u?G.jsx(yP,{children:o}):G.jsx(yP,{className:"notranslate",children:""})})}))}const G4=["label","autoFocus","ownerState","notched"],K4=He(h0,{name:"MuiPickersOutlinedInput",slot:"Root",overridesResolver:(e,n)=>n.root})(({theme:e})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{padding:"0 14px",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Rs.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Rs.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Rs.focused} .${Rs.notchedOutline}`]:{borderStyle:"solid",borderWidth:2},[`&.${Rs.disabled}`]:{[`& .${Rs.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled},"*":{color:(e.vars||e).palette.action.disabled}},[`&.${Rs.error} .${Rs.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},variants:Object.keys((e.vars??e).palette).filter(o=>{var i;return((i=(e.vars??e).palette[o])==null?void 0:i.main)??!1}).map(o=>({props:{color:o},style:{[`&.${Rs.focused}:not(.${Rs.error}) .${Rs.notchedOutline}`]:{borderColor:(e.vars||e).palette[o].main}}}))}}),Q4=He(rE,{name:"MuiPickersOutlinedInput",slot:"SectionsContainer",overridesResolver:(e,n)=>n.sectionsContainer})({padding:"16.5px 0",variants:[{props:{size:"small"},style:{padding:"8.5px 0"}}]}),X4=e=>{const{classes:n}=e,i=Gr({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},U4,n);return Ce({},n,i)},oE=F.forwardRef(function(n,o){const i=br({props:n,name:"MuiPickersOutlinedInput"}),{label:u,ownerState:d,notched:m}=i,v=dn(i,G4),g=Oi(),S=Ce({},i,d,g,{color:(g==null?void 0:g.color)||"primary"}),w=X4(S);return G.jsx(v0,Ce({slots:{root:K4,input:Q4},renderSuffix:E=>G.jsx(q4,{shrink:!!(m||E.adornedStart||E.focused||E.filled),notched:!!(m||E.adornedStart||E.focused||E.filled),className:w.notchedOutline,label:u!=null&&u!==""&&(g!=null&&g.required)?G.jsxs(F.Fragment,{children:[u," ","*"]}):u,ownerState:S})},v,{label:u,classes:w,ref:o}))});process.env.NODE_ENV!=="production"&&(oE.propTypes={areAllSectionsEmpty:s.bool.isRequired,className:s.string,component:s.elementType,contentEditable:s.bool.isRequired,elements:s.arrayOf(s.shape({after:s.object.isRequired,before:s.object.isRequired,container:s.object.isRequired,content:s.object.isRequired})).isRequired,endAdornment:s.node,fullWidth:s.bool,id:s.string,inputProps:s.object,inputRef:su,label:s.node,margin:s.oneOf(["dense","none","normal"]),name:s.string,notched:s.bool,onChange:s.func.isRequired,onClick:s.func.isRequired,onInput:s.func.isRequired,onKeyDown:s.func.isRequired,onPaste:s.func.isRequired,ownerState:s.any,readOnly:s.bool,renderSuffix:s.func,sectionListRef:s.oneOfType([s.func,s.shape({current:s.shape({getRoot:s.func.isRequired,getSectionContainer:s.func.isRequired,getSectionContent:s.func.isRequired,getSectionIndexFromDOMElement:s.func.isRequired})})]),slotProps:s.object,slots:s.object,startAdornment:s.node,style:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),value:s.string.isRequired}),oE.muiName="Input";function Z4(e){return Kr("MuiPickersFilledInput",e)}const Fd=Ce({},wp,ao("MuiPickersFilledInput",["root","underline","input"])),J4=["label","autoFocus","disableUnderline","ownerState"],eH=He(h0,{name:"MuiPickersFilledInput",slot:"Root",overridesResolver:(e,n)=>n.root,shouldForwardProp:e=>RU(e)&&e!=="disableUnderline"})(({theme:e})=>{const n=e.palette.mode==="light",o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",u=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",d=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:u,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${Fd.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${Fd.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:d},variants:[...Object.keys((e.vars??e).palette).filter(m=>(e.vars??e).palette[m].main).map(m=>{var v;return{props:{color:m,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(v=(e.vars||e).palette[m])==null?void 0:v.main}`}}}}),{props:{disableUnderline:!1},style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Fd.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Fd.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Fd.disabled}, .${Fd.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Fd.disabled}:before`]:{borderBottomStyle:"dotted"}}},{props:({startAdornment:m})=>!!m,style:{paddingLeft:12}},{props:({endAdornment:m})=>!!m,style:{paddingRight:12}}]}}),tH=He(rE,{name:"MuiPickersFilledInput",slot:"sectionsContainer",overridesResolver:(e,n)=>n.sectionsContainer})({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({startAdornment:e})=>!!e,style:{paddingLeft:0}},{props:({endAdornment:e})=>!!e,style:{paddingRight:0}},{props:{hiddenLabel:!0},style:{paddingTop:16,paddingBottom:17}},{props:{hiddenLabel:!0,size:"small"},style:{paddingTop:8,paddingBottom:9}}]}),nH=e=>{const{classes:n,disableUnderline:o}=e,u=Gr({root:["root",!o&&"underline"],input:["input"]},Z4,n);return Ce({},n,u)},aE=F.forwardRef(function(n,o){const i=br({props:n,name:"MuiPickersFilledInput"}),{label:u,disableUnderline:d=!1,ownerState:m}=i,v=dn(i,J4),g=Oi(),S=Ce({},i,m,g,{color:(g==null?void 0:g.color)||"primary"}),w=nH(S);return G.jsx(v0,Ce({slots:{root:eH,input:tH},slotProps:{root:{disableUnderline:d}}},v,{label:u,classes:w,ref:o}))});process.env.NODE_ENV!=="production"&&(aE.propTypes={areAllSectionsEmpty:s.bool.isRequired,className:s.string,component:s.elementType,contentEditable:s.bool.isRequired,disableUnderline:s.bool,elements:s.arrayOf(s.shape({after:s.object.isRequired,before:s.object.isRequired,container:s.object.isRequired,content:s.object.isRequired})).isRequired,endAdornment:s.node,fullWidth:s.bool,hiddenLabel:s.bool,id:s.string,inputProps:s.object,inputRef:su,label:s.node,margin:s.oneOf(["dense","none","normal"]),name:s.string,onChange:s.func.isRequired,onClick:s.func.isRequired,onInput:s.func.isRequired,onKeyDown:s.func.isRequired,onPaste:s.func.isRequired,ownerState:s.any,readOnly:s.bool,renderSuffix:s.func,sectionListRef:s.oneOfType([s.func,s.shape({current:s.shape({getRoot:s.func.isRequired,getSectionContainer:s.func.isRequired,getSectionContent:s.func.isRequired,getSectionIndexFromDOMElement:s.func.isRequired})})]),slotProps:s.object,slots:s.object,startAdornment:s.node,style:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),value:s.string.isRequired}),aE.muiName="Input";function rH(e){return Kr("MuiPickersFilledInput",e)}const _v=Ce({},wp,ao("MuiPickersInput",["root","input"])),oH=["label","autoFocus","disableUnderline","ownerState"],aH=He(h0,{name:"MuiPickersInput",slot:"Root",overridesResolver:(e,n)=>n.root})(({theme:e})=>{let o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(o=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{"label + &":{marginTop:16},variants:[...Object.keys((e.vars??e).palette).filter(i=>(e.vars??e).palette[i].main).map(i=>({props:{color:i},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[i].main}`}}})),{props:{disableUnderline:!1},style:{"&::after":{background:"red",left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${_v.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${_v.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${_v.disabled}, .${_v.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${o}`}},[`&.${_v.disabled}:before`]:{borderBottomStyle:"dotted"}}}]}}),iH=e=>{const{classes:n,disableUnderline:o}=e,u=Gr({root:["root",!o&&"underline"],input:["input"]},rH,n);return Ce({},n,u)},iE=F.forwardRef(function(n,o){const i=br({props:n,name:"MuiPickersInput"}),{label:u,disableUnderline:d=!1,ownerState:m}=i,v=dn(i,oH),g=Oi(),S=Ce({},i,m,g,{disableUnderline:d,color:(g==null?void 0:g.color)||"primary"}),w=iH(S);return G.jsx(v0,Ce({slots:{root:aH}},v,{label:u,classes:w,ref:o}))});process.env.NODE_ENV!=="production"&&(iE.propTypes={areAllSectionsEmpty:s.bool.isRequired,className:s.string,component:s.elementType,contentEditable:s.bool.isRequired,disableUnderline:s.bool,elements:s.arrayOf(s.shape({after:s.object.isRequired,before:s.object.isRequired,container:s.object.isRequired,content:s.object.isRequired})).isRequired,endAdornment:s.node,fullWidth:s.bool,id:s.string,inputProps:s.object,inputRef:su,label:s.node,margin:s.oneOf(["dense","none","normal"]),name:s.string,onChange:s.func.isRequired,onClick:s.func.isRequired,onInput:s.func.isRequired,onKeyDown:s.func.isRequired,onPaste:s.func.isRequired,ownerState:s.any,readOnly:s.bool,renderSuffix:s.func,sectionListRef:s.oneOfType([s.func,s.shape({current:s.shape({getRoot:s.func.isRequired,getSectionContainer:s.func.isRequired,getSectionContent:s.func.isRequired,getSectionIndexFromDOMElement:s.func.isRequired})})]),slotProps:s.object,slots:s.object,startAdornment:s.node,style:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),value:s.string.isRequired}),iE.muiName="Input";const sH=["onFocus","onBlur","className","color","disabled","error","variant","required","InputProps","inputProps","inputRef","sectionListRef","elements","areAllSectionsEmpty","onClick","onKeyDown","onKeyUp","onPaste","onInput","endAdornment","startAdornment","tabIndex","contentEditable","focused","value","onChange","fullWidth","id","name","helperText","FormHelperTextProps","label","InputLabelProps"],lH={standard:iE,filled:aE,outlined:oE},uH=He(vp,{name:"MuiPickersTextField",slot:"Root",overridesResolver:(e,n)=>n.root})({}),cH=e=>{const{focused:n,disabled:o,classes:i,required:u}=e;return Gr({root:["root",n&&!o&&"focused",o&&"disabled",u&&"required"]},P4,i)},gP=F.forwardRef(function(n,o){const i=br({props:n,name:"MuiPickersTextField"}),{onFocus:u,onBlur:d,className:m,color:v="primary",disabled:g=!1,error:S=!1,variant:w="outlined",required:E=!1,InputProps:R,inputProps:k,inputRef:O,sectionListRef:_,elements:M,areAllSectionsEmpty:V,onClick:j,onKeyDown:A,onKeyUp:$,onPaste:P,onInput:H,endAdornment:W,startAdornment:Y,tabIndex:N,contentEditable:K,focused:Z,value:J,onChange:X,fullWidth:ee,id:ne,name:te,helperText:se,FormHelperTextProps:ae,label:xe,InputLabelProps:oe}=i,U=dn(i,sH),fe=F.useRef(null),Pe=ki(o,fe),Te=Cv(ne),ue=se&&Te?`${Te}-helper-text`:void 0,we=xe&&Te?`${Te}-label`:void 0,Ee=Ce({},i,{color:v,disabled:g,error:S,focused:Z,required:E,variant:w}),me=cH(Ee),De=lH[w];return G.jsxs(uH,Ce({className:ct(me.root,m),ref:Pe,focused:Z,onFocus:u,onBlur:d,disabled:g,variant:w,error:S,color:v,fullWidth:ee,required:E,ownerState:Ee},U,{children:[G.jsx(EC,Ce({htmlFor:Te,id:we},oe,{children:xe})),G.jsx(De,Ce({elements:M,areAllSectionsEmpty:V,onClick:j,onKeyDown:A,onKeyUp:$,onInput:H,onPaste:P,endAdornment:W,startAdornment:Y,tabIndex:N,contentEditable:K,value:J,onChange:X,id:Te,fullWidth:ee,inputProps:k,inputRef:O,sectionListRef:_,label:xe,name:te,role:"group","aria-labelledby":we},R)),se&&G.jsx(sv,Ce({id:ue},ae,{children:se}))]}))});process.env.NODE_ENV!=="production"&&(gP.propTypes={areAllSectionsEmpty:s.bool.isRequired,className:s.string,color:s.oneOf(["error","info","primary","secondary","success","warning"]),component:s.elementType,contentEditable:s.bool.isRequired,disabled:s.bool.isRequired,elements:s.arrayOf(s.shape({after:s.object.isRequired,before:s.object.isRequired,container:s.object.isRequired,content:s.object.isRequired})).isRequired,endAdornment:s.node,error:s.bool.isRequired,focused:s.bool,FormHelperTextProps:s.object,fullWidth:s.bool,helperText:s.node,hiddenLabel:s.bool,id:s.string,InputLabelProps:s.object,inputProps:s.object,InputProps:s.object,inputRef:su,label:s.node,margin:s.oneOf(["dense","none","normal"]),name:s.string,onBlur:s.func.isRequired,onChange:s.func.isRequired,onClick:s.func.isRequired,onFocus:s.func.isRequired,onInput:s.func.isRequired,onKeyDown:s.func.isRequired,onPaste:s.func.isRequired,readOnly:s.bool,required:s.bool,sectionListRef:s.oneOfType([s.func,s.shape({current:s.shape({getRoot:s.func.isRequired,getSectionContainer:s.func.isRequired,getSectionContent:s.func.isRequired,getSectionIndexFromDOMElement:s.func.isRequired})})]),size:s.oneOf(["medium","small"]),startAdornment:s.node,style:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),value:s.string.isRequired,variant:s.oneOf(["filled","outlined","standard"])});const dH=["enableAccessibleFieldDOMStructure"],fH=["InputProps","readOnly"],pH=["onPaste","onKeyDown","inputMode","readOnly","InputProps","inputProps","inputRef"],mH=e=>{let{enableAccessibleFieldDOMStructure:n}=e,o=dn(e,dH);if(n){const{InputProps:E,readOnly:R}=o,k=dn(o,fH);return Ce({},k,{InputProps:Ce({},E??{},{readOnly:R})})}const{onPaste:i,onKeyDown:u,inputMode:d,readOnly:m,InputProps:v,inputProps:g,inputRef:S}=o,w=dn(o,pH);return Ce({},w,{InputProps:Ce({},v??{},{readOnly:m}),inputProps:Ce({},g??{},{inputMode:d,onPaste:i,onKeyDown:u,ref:S})})},hH=["slots","slotProps","InputProps","inputProps"],sE=F.forwardRef(function(n,o){const i=br({props:n,name:"MuiDateField"}),{slots:u,slotProps:d,InputProps:m,inputProps:v}=i,g=dn(i,hH),S=i,w=(u==null?void 0:u.textField)??(n.enableAccessibleFieldDOMStructure?gP:PC),E=nr({elementType:w,externalSlotProps:d==null?void 0:d.textField,externalForwardedProps:g,additionalProps:{ref:o},ownerState:S});E.inputProps=Ce({},v,E.inputProps),E.InputProps=Ce({},m,E.InputProps);const R=M4(E),k=mH(R),O=T4(Ce({},k,{slots:u,slotProps:d}));return G.jsx(w,Ce({},O))});process.env.NODE_ENV!=="production"&&(sE.propTypes={autoFocus:s.bool,className:s.string,clearable:s.bool,color:s.oneOf(["error","info","primary","secondary","success","warning"]),component:s.elementType,defaultValue:s.object,disabled:s.bool,disableFuture:s.bool,disablePast:s.bool,enableAccessibleFieldDOMStructure:s.bool,focused:s.bool,format:s.string,formatDensity:s.oneOf(["dense","spacious"]),FormHelperTextProps:s.object,fullWidth:s.bool,helperText:s.node,hiddenLabel:s.bool,id:s.string,InputLabelProps:s.object,inputProps:s.object,InputProps:s.object,inputRef:su,label:s.node,margin:s.oneOf(["dense","none","normal"]),maxDate:s.object,minDate:s.object,name:s.string,onBlur:s.func,onChange:s.func,onClear:s.func,onError:s.func,onFocus:s.func,onSelectedSectionsChange:s.func,readOnly:s.bool,referenceDate:s.object,required:s.bool,selectedSections:s.oneOfType([s.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),s.number]),shouldDisableDate:s.func,shouldDisableMonth:s.func,shouldDisableYear:s.func,shouldRespectLeadingZeros:s.bool,size:s.oneOf(["medium","small"]),slotProps:s.object,slots:s.object,style:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),timezone:s.string,unstableFieldRef:s.oneOfType([s.func,s.object]),value:s.object,variant:s.oneOf(["filled","outlined","standard"])});const bP=({shouldDisableDate:e,shouldDisableMonth:n,shouldDisableYear:o,minDate:i,maxDate:u,disableFuture:d,disablePast:m,timezone:v})=>{const g=_d();return F.useCallback(S=>Mv({adapter:g,value:S,timezone:v,props:{shouldDisableDate:e,shouldDisableMonth:n,shouldDisableYear:o,minDate:i,maxDate:u,disableFuture:d,disablePast:m}})!==null,[g,e,n,o,i,u,d,m,v])},vH=(e,n,o)=>(i,u)=>{switch(u.type){case"changeMonth":return Ce({},i,{slideDirection:u.direction,currentMonth:u.newMonth,isMonthSwitchingAnimating:!e});case"changeMonthTimezone":{const d=u.newTimezone;if(o.getTimezone(i.currentMonth)===d)return i;let m=o.setTimezone(i.currentMonth,d);return o.getMonth(m)!==o.getMonth(i.currentMonth)&&(m=o.setMonth(m,o.getMonth(i.currentMonth))),Ce({},i,{currentMonth:m})}case"finishMonthSwitchingAnimation":return Ce({},i,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":{if(i.focusedDay!=null&&u.focusedDay!=null&&o.isSameDay(u.focusedDay,i.focusedDay))return i;const d=u.focusedDay!=null&&!n&&!o.isSameMonth(i.currentMonth,u.focusedDay);return Ce({},i,{focusedDay:u.focusedDay,isMonthSwitchingAnimating:d&&!e&&!u.withoutMonthSwitchingAnimation,currentMonth:d?o.startOfMonth(u.focusedDay):i.currentMonth,slideDirection:u.focusedDay!=null&&o.isAfterDay(u.focusedDay,i.currentMonth)?"left":"right"})}default:throw new Error("missing support")}},yH=e=>{const{value:n,referenceDate:o,disableFuture:i,disablePast:u,disableSwitchToMonthOnDayFocus:d=!1,maxDate:m,minDate:v,onMonthChange:g,reduceAnimations:S,shouldDisableDate:w,timezone:E}=e,R=Cr(),k=F.useRef(vH(!!S,d,R)).current,O=F.useMemo(()=>pl.getInitialReferenceValue({value:n,utils:R,timezone:E,props:e,referenceDate:o,granularity:fl.day}),[o,E]),[_,M]=F.useReducer(k,{isMonthSwitchingAnimating:!1,focusedDay:O,currentMonth:R.startOfMonth(O),slideDirection:"left"});F.useEffect(()=>{M({type:"changeMonthTimezone",newTimezone:R.getTimezone(O)})},[O,R]);const V=F.useCallback(H=>{M(Ce({type:"changeMonth"},H)),g&&g(H.newMonth)},[g]),j=F.useCallback(H=>{const W=H;R.isSameMonth(W,_.currentMonth)||V({newMonth:R.startOfMonth(W),direction:R.isAfterDay(W,_.currentMonth)?"left":"right"})},[_.currentMonth,V,R]),A=bP({shouldDisableDate:w,minDate:v,maxDate:m,disableFuture:i,disablePast:u,timezone:E}),$=F.useCallback(()=>{M({type:"finishMonthSwitchingAnimation"})},[]),P=Dt((H,W)=>{A(H)||M({type:"changeFocusedDay",focusedDay:H,withoutMonthSwitchingAnimation:W})});return{referenceDate:O,calendarState:_,changeMonth:j,changeFocusedDay:P,isDateDisabled:A,onMonthSwitchingAnimationEnd:$,handleChangeMonth:V}},gH=e=>Kr("MuiPickersFadeTransitionGroup",e);ao("MuiPickersFadeTransitionGroup",["root"]);const bH=e=>{const{classes:n}=e;return Gr({root:["root"]},gH,n)},SH=He(Bh,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:(e,n)=>n.root})({display:"block",position:"relative"});function SP(e){const n=br({props:e,name:"MuiPickersFadeTransitionGroup"}),{children:o,className:i,reduceAnimations:u,transKey:d}=n,m=bH(n),v=bd();return u?o:G.jsx(SH,{className:ct(m.root,i),children:G.jsx(Od,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:v.transitions.duration.enteringScreen,enter:v.transitions.duration.enteringScreen,exit:0},children:o},d)})}const xH=e=>Kr("MuiPickersSlideTransition",e),ts=ao("MuiPickersSlideTransition",["root","slideEnter-left","slideEnter-right","slideEnterActive","slideExit","slideExitActiveLeft-left","slideExitActiveLeft-right"]),wH=["children","className","reduceAnimations","slideDirection","transKey","classes"],CH=e=>{const{classes:n,slideDirection:o}=e,i={root:["root"],exit:["slideExit"],enterActive:["slideEnterActive"],enter:[`slideEnter-${o}`],exitActive:[`slideExitActiveLeft-${o}`]};return Gr(i,xH,n)},EH=He(Bh,{name:"MuiPickersSlideTransition",slot:"Root",overridesResolver:(e,n)=>[n.root,{[`.${ts["slideEnter-left"]}`]:n["slideEnter-left"]},{[`.${ts["slideEnter-right"]}`]:n["slideEnter-right"]},{[`.${ts.slideEnterActive}`]:n.slideEnterActive},{[`.${ts.slideExit}`]:n.slideExit},{[`.${ts["slideExitActiveLeft-left"]}`]:n["slideExitActiveLeft-left"]},{[`.${ts["slideExitActiveLeft-right"]}`]:n["slideExitActiveLeft-right"]}]})(({theme:e})=>{const n=e.transitions.create("transform",{duration:e.transitions.duration.complex,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return{display:"block",position:"relative",overflowX:"hidden","& > *":{position:"absolute",top:0,right:0,left:0},[`& .${ts["slideEnter-left"]}`]:{willChange:"transform",transform:"translate(100%)",zIndex:1},[`& .${ts["slideEnter-right"]}`]:{willChange:"transform",transform:"translate(-100%)",zIndex:1},[`& .${ts.slideEnterActive}`]:{transform:"translate(0%)",transition:n},[`& .${ts.slideExit}`]:{transform:"translate(0%)"},[`& .${ts["slideExitActiveLeft-left"]}`]:{willChange:"transform",transform:"translate(-100%)",transition:n,zIndex:0},[`& .${ts["slideExitActiveLeft-right"]}`]:{willChange:"transform",transform:"translate(100%)",transition:n,zIndex:0}}});function TH(e){const n=br({props:e,name:"MuiPickersSlideTransition"}),{children:o,className:i,reduceAnimations:u,transKey:d}=n,m=dn(n,wH),v=CH(n),g=bd();if(u)return G.jsx("div",{className:ct(v.root,i),children:o});const S={exit:v.exit,enterActive:v.enterActive,enter:v.enter,exitActive:v.exitActive};return G.jsx(EH,{className:ct(v.root,i),childFactory:w=>F.cloneElement(w,{classNames:S}),role:"presentation",children:G.jsx(oC,Ce({mountOnEnter:!0,unmountOnExit:!0,timeout:g.transitions.duration.complex,classNames:S},m,{children:o}),d)})}const RH=e=>Kr("MuiDayCalendar",e);ao("MuiDayCalendar",["root","header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer","weekNumberLabel","weekNumber"]);const OH=["parentProps","day","focusableDay","selectedDays","isDateDisabled","currentMonthNumber","isViewFocused"],DH=["ownerState"],kH=e=>{const{classes:n}=e;return Gr({root:["root"],header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"],weekNumberLabel:["weekNumberLabel"],weekNumber:["weekNumber"]},RH,n)},xP=(Rv+d0*2)*6,MH=He("div",{name:"MuiDayCalendar",slot:"Root",overridesResolver:(e,n)=>n.root})({}),PH=He("div",{name:"MuiDayCalendar",slot:"Header",overridesResolver:(e,n)=>n.header})({display:"flex",justifyContent:"center",alignItems:"center"}),_H=He(Es,{name:"MuiDayCalendar",slot:"WeekDayLabel",overridesResolver:(e,n)=>n.weekDayLabel})(({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:(e.vars||e).palette.text.secondary})),NH=He(Es,{name:"MuiDayCalendar",slot:"WeekNumberLabel",overridesResolver:(e,n)=>n.weekNumberLabel})(({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:e.palette.text.disabled})),AH=He(Es,{name:"MuiDayCalendar",slot:"WeekNumber",overridesResolver:(e,n)=>n.weekNumber})(({theme:e})=>Ce({},e.typography.caption,{width:Rv,height:Rv,padding:0,margin:`0 ${d0}px`,color:e.palette.text.disabled,fontSize:"0.75rem",alignItems:"center",justifyContent:"center",display:"inline-flex"})),FH=He("div",{name:"MuiDayCalendar",slot:"LoadingContainer",overridesResolver:(e,n)=>n.loadingContainer})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:xP}),LH=He(TH,{name:"MuiDayCalendar",slot:"SlideTransition",overridesResolver:(e,n)=>n.slideTransition})({minHeight:xP}),IH=He("div",{name:"MuiDayCalendar",slot:"MonthContainer",overridesResolver:(e,n)=>n.monthContainer})({overflow:"hidden"}),$H=He("div",{name:"MuiDayCalendar",slot:"WeekContainer",overridesResolver:(e,n)=>n.weekContainer})({margin:`${d0}px 0`,display:"flex",justifyContent:"center"});function jH(e){let{parentProps:n,day:o,focusableDay:i,selectedDays:u,isDateDisabled:d,currentMonthNumber:m,isViewFocused:v}=e,g=dn(e,OH);const{disabled:S,disableHighlightToday:w,isMonthSwitchingAnimating:E,showDaysOutsideCurrentMonth:R,slots:k,slotProps:O,timezone:_}=n,M=Cr(),V=c0(_),j=i!==null&&M.isSameDay(o,i),A=u.some(J=>M.isSameDay(J,o)),$=M.isSameDay(o,V),P=(k==null?void 0:k.day)??i4,H=nr({elementType:P,externalSlotProps:O==null?void 0:O.day,additionalProps:Ce({disableHighlightToday:w,showDaysOutsideCurrentMonth:R,role:"gridcell",isAnimating:E,"data-timestamp":M.toJsDate(o).valueOf()},g),ownerState:Ce({},n,{day:o,selected:A})}),W=dn(H,DH),Y=F.useMemo(()=>S||d(o),[S,d,o]),N=F.useMemo(()=>M.getMonth(o)!==m,[M,o,m]),K=F.useMemo(()=>{const J=M.startOfMonth(M.setMonth(o,m));return R?M.isSameDay(o,M.startOfWeek(J)):M.isSameDay(o,J)},[m,o,R,M]),Z=F.useMemo(()=>{const J=M.endOfMonth(M.setMonth(o,m));return R?M.isSameDay(o,M.endOfWeek(J)):M.isSameDay(o,J)},[m,o,R,M]);return G.jsx(P,Ce({},W,{day:o,disabled:Y,autoFocus:v&&j,today:$,outsideCurrentMonth:N,isFirstVisibleCell:K,isLastVisibleCell:Z,selected:A,tabIndex:j?0:-1,"aria-selected":A,"aria-current":$?"date":void 0}))}function VH(e){const n=br({props:e,name:"MuiDayCalendar"}),o=Cr(),{onFocusedDayChange:i,className:u,currentMonth:d,selectedDays:m,focusedDay:v,loading:g,onSelectedDaysChange:S,onMonthSwitchingAnimationEnd:w,readOnly:E,reduceAnimations:R,renderLoading:k=()=>G.jsx("span",{children:"..."}),slideDirection:O,TransitionProps:_,disablePast:M,disableFuture:V,minDate:j,maxDate:A,shouldDisableDate:$,shouldDisableMonth:P,shouldDisableYear:H,dayOfWeekFormatter:W=qe=>o.format(qe,"weekdayShort").charAt(0).toUpperCase(),hasFocus:Y,onFocusedViewChange:N,gridLabelId:K,displayWeekNumber:Z,fixedWeekNumber:J,autoFocus:X,timezone:ee}=n,ne=c0(ee),te=kH(n),se=ou(),ae=bP({shouldDisableDate:$,shouldDisableMonth:P,shouldDisableYear:H,minDate:j,maxDate:A,disablePast:M,disableFuture:V,timezone:ee}),xe=uu(),[oe,U]=Pd({name:"DayCalendar",state:"hasFocus",controlled:Y,default:X??!1}),[fe,Pe]=F.useState(()=>v||ne),Te=Dt(qe=>{E||S(qe)}),ue=qe=>{ae(qe)||(i(qe),Pe(qe),N==null||N(!0),U(!0))},we=Dt((qe,tt)=>{switch(qe.key){case"ArrowUp":ue(o.addDays(tt,-7)),qe.preventDefault();break;case"ArrowDown":ue(o.addDays(tt,7)),qe.preventDefault();break;case"ArrowLeft":{const q=o.addDays(tt,se?1:-1),ce=o.addMonths(tt,se?1:-1),be=Ov({utils:o,date:q,minDate:se?q:o.startOfMonth(ce),maxDate:se?o.endOfMonth(ce):q,isDateDisabled:ae,timezone:ee});ue(be||q),qe.preventDefault();break}case"ArrowRight":{const q=o.addDays(tt,se?-1:1),ce=o.addMonths(tt,se?-1:1),be=Ov({utils:o,date:q,minDate:se?o.startOfMonth(ce):q,maxDate:se?q:o.endOfMonth(ce),isDateDisabled:ae,timezone:ee});ue(be||q),qe.preventDefault();break}case"Home":ue(o.startOfWeek(tt)),qe.preventDefault();break;case"End":ue(o.endOfWeek(tt)),qe.preventDefault();break;case"PageUp":ue(o.addMonths(tt,1)),qe.preventDefault();break;case"PageDown":ue(o.addMonths(tt,-1)),qe.preventDefault();break}}),Ee=Dt((qe,tt)=>ue(tt)),me=Dt((qe,tt)=>{oe&&o.isSameDay(fe,tt)&&(N==null||N(!1))}),De=o.getMonth(d),Ne=o.getYear(d),je=F.useMemo(()=>m.filter(qe=>!!qe).map(qe=>o.startOfDay(qe)),[o,m]),re=`${Ne}-${De}`,Se=F.useMemo(()=>F.createRef(),[re]),he=F.useMemo(()=>{const qe=o.startOfMonth(d),tt=o.endOfMonth(d);return ae(fe)||o.isAfterDay(fe,tt)||o.isBeforeDay(fe,qe)?Ov({utils:o,date:fe,minDate:qe,maxDate:tt,disablePast:M,disableFuture:V,isDateDisabled:ae,timezone:ee}):fe},[d,V,M,fe,ae,o,ee]),We=F.useMemo(()=>{const qe=o.getWeekArray(d);let tt=o.addMonths(d,1);for(;J&&qe.length<J;){const q=o.getWeekArray(tt),ce=o.isSameDay(qe[qe.length-1][0],q[0][0]);q.slice(ce?1:0).forEach(be=>{qe.length<J&&qe.push(be)}),tt=o.addMonths(tt,1)}return qe},[d,J,o]);return G.jsxs(MH,{role:"grid","aria-labelledby":K,className:te.root,children:[G.jsxs(PH,{role:"row",className:te.header,children:[Z&&G.jsx(NH,{variant:"caption",role:"columnheader","aria-label":xe.calendarWeekNumberHeaderLabel,className:te.weekNumberLabel,children:xe.calendarWeekNumberHeaderText}),A3(o,ne).map((qe,tt)=>G.jsx(_H,{variant:"caption",role:"columnheader","aria-label":o.format(qe,"weekday"),className:te.weekDayLabel,children:W(qe)},tt.toString()))]}),g?G.jsx(FH,{className:te.loadingContainer,children:k()}):G.jsx(LH,Ce({transKey:re,onExited:w,reduceAnimations:R,slideDirection:O,className:ct(u,te.slideTransition)},_,{nodeRef:Se,children:G.jsx(IH,{ref:Se,role:"rowgroup",className:te.monthContainer,children:We.map((qe,tt)=>G.jsxs($H,{role:"row",className:te.weekContainer,"aria-rowindex":tt+1,children:[Z&&G.jsx(AH,{className:te.weekNumber,role:"rowheader","aria-label":xe.calendarWeekNumberAriaLabelText(o.getWeekNumber(qe[0])),children:xe.calendarWeekNumberText(o.getWeekNumber(qe[0]))}),qe.map((q,ce)=>G.jsx(jH,{parentProps:n,day:q,selectedDays:je,focusableDay:he,onKeyDown:we,onFocus:Ee,onBlur:me,onDaySelect:Te,isDateDisabled:ae,currentMonthNumber:De,isViewFocused:oe,"aria-colindex":ce+1},q.toString()))]},`week-${qe[0]}`))})}))]})}function BH(e){return Kr("MuiPickersMonth",e)}const y0=ao("MuiPickersMonth",["root","monthButton","disabled","selected"]),zH=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","aria-label","monthsPerRow","slots","slotProps"],UH=e=>{const{disabled:n,selected:o,classes:i}=e;return Gr({root:["root"],monthButton:["monthButton",n&&"disabled",o&&"selected"]},BH,i)},HH=He("div",{name:"MuiPickersMonth",slot:"Root",overridesResolver:(e,n)=>[n.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{monthsPerRow:4},style:{flexBasis:"25%"}}]}),WH=He("button",{name:"MuiPickersMonth",slot:"MonthButton",overridesResolver:(e,n)=>[n.monthButton,{[`&.${y0.disabled}`]:n.disabled},{[`&.${y0.selected}`]:n.selected}]})(({theme:e})=>Ce({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette.action.active,e.palette.action.hoverOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${y0.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${y0.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}})),YH=F.memo(function(n){const o=br({props:n,name:"MuiPickersMonth"}),{autoFocus:i,className:u,children:d,disabled:m,selected:v,value:g,tabIndex:S,onClick:w,onKeyDown:E,onFocus:R,onBlur:k,"aria-current":O,"aria-label":_,slots:M,slotProps:V}=o,j=dn(o,zH),A=F.useRef(null),$=UH(o);lu(()=>{var W;i&&((W=A.current)==null||W.focus())},[i]);const P=(M==null?void 0:M.monthButton)??WH,H=nr({elementType:P,externalSlotProps:V==null?void 0:V.monthButton,additionalProps:{children:d,disabled:m,tabIndex:S,ref:A,type:"button",role:"radio","aria-current":O,"aria-checked":v,"aria-label":_,onClick:W=>w(W,g),onKeyDown:W=>E(W,g),onFocus:W=>R(W,g),onBlur:W=>k(W,g)},ownerState:o,className:$.monthButton});return G.jsx(HH,Ce({className:ct($.root,u),ownerState:o},j,{children:G.jsx(P,Ce({},H))}))});function qH(e){return Kr("MuiMonthCalendar",e)}ao("MuiMonthCalendar",["root"]);const GH=["className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","shouldDisableMonth","readOnly","disableHighlightToday","autoFocus","onMonthFocus","hasFocus","onFocusedViewChange","monthsPerRow","timezone","gridLabelId","slots","slotProps"],KH=e=>{const{classes:n}=e;return Gr({root:["root"]},qH,n)};function QH(e,n){const o=Cr(),i=Ev(),u=br({props:e,name:n});return Ce({disableFuture:!1,disablePast:!1},u,{minDate:es(o,u.minDate,i.minDate),maxDate:es(o,u.maxDate,i.maxDate)})}const XH=He("div",{name:"MuiMonthCalendar",slot:"Root",overridesResolver:(e,n)=>n.root})({display:"flex",flexWrap:"wrap",alignContent:"stretch",padding:"0 4px",width:f0,boxSizing:"border-box"}),wP=F.forwardRef(function(n,o){const i=QH(n,"MuiMonthCalendar"),{className:u,value:d,defaultValue:m,referenceDate:v,disabled:g,disableFuture:S,disablePast:w,maxDate:E,minDate:R,onChange:k,shouldDisableMonth:O,readOnly:_,autoFocus:M=!1,onMonthFocus:V,hasFocus:j,onFocusedViewChange:A,monthsPerRow:$=3,timezone:P,gridLabelId:H,slots:W,slotProps:Y}=i,N=dn(i,GH),{value:K,handleValueChange:Z,timezone:J}=ZC({name:"MonthCalendar",timezone:P,value:d,defaultValue:m,onChange:k,valueManager:pl}),X=c0(J),ee=ou(),ne=Cr(),te=F.useMemo(()=>pl.getInitialReferenceValue({value:K,utils:ne,props:i,timezone:J,referenceDate:v,granularity:fl.month}),[]),se=i,ae=KH(se),xe=F.useMemo(()=>ne.getMonth(X),[ne,X]),oe=F.useMemo(()=>K!=null?ne.getMonth(K):null,[K,ne]),[U,fe]=F.useState(()=>oe||ne.getMonth(te)),[Pe,Te]=Pd({name:"MonthCalendar",state:"hasFocus",controlled:j,default:M??!1}),ue=Dt(re=>{Te(re),A&&A(re)}),we=F.useCallback(re=>{const Se=ne.startOfMonth(w&&ne.isAfter(X,R)?X:R),he=ne.startOfMonth(S&&ne.isBefore(X,E)?X:E),We=ne.startOfMonth(re);return ne.isBefore(We,Se)||ne.isAfter(We,he)?!0:O?O(We):!1},[S,w,E,R,X,O,ne]),Ee=Dt((re,Se)=>{if(_)return;const he=ne.setMonth(K??te,Se);Z(he)}),me=Dt(re=>{we(ne.setMonth(K??te,re))||(fe(re),ue(!0),V&&V(re))});F.useEffect(()=>{fe(re=>oe!==null&&re!==oe?oe:re)},[oe]);const De=Dt((re,Se)=>{switch(re.key){case"ArrowUp":me((12+Se-3)%12),re.preventDefault();break;case"ArrowDown":me((12+Se+3)%12),re.preventDefault();break;case"ArrowLeft":me((12+Se+(ee?1:-1))%12),re.preventDefault();break;case"ArrowRight":me((12+Se+(ee?-1:1))%12),re.preventDefault();break}}),Ne=Dt((re,Se)=>{me(Se)}),je=Dt((re,Se)=>{U===Se&&ue(!1)});return G.jsx(XH,Ce({ref:o,className:ct(ae.root,u),ownerState:se,role:"radiogroup","aria-labelledby":H},N,{children:KC(ne,K??te).map(re=>{const Se=ne.getMonth(re),he=ne.format(re,"monthShort"),We=ne.format(re,"month"),qe=Se===oe,tt=g||we(re);return G.jsx(YH,{selected:qe,value:Se,onClick:Ee,onKeyDown:De,autoFocus:Pe&&Se===U,disabled:tt,tabIndex:Se===U&&!tt?0:-1,onFocus:Ne,onBlur:je,"aria-current":xe===Se?"date":void 0,"aria-label":We,monthsPerRow:$,slots:W,slotProps:Y,children:he},he)})}))});process.env.NODE_ENV!=="production"&&(wP.propTypes={autoFocus:s.bool,classes:s.object,className:s.string,defaultValue:s.object,disabled:s.bool,disableFuture:s.bool,disableHighlightToday:s.bool,disablePast:s.bool,gridLabelId:s.string,hasFocus:s.bool,maxDate:s.object,minDate:s.object,monthsPerRow:s.oneOf([3,4]),onChange:s.func,onFocusedViewChange:s.func,onMonthFocus:s.func,readOnly:s.bool,referenceDate:s.object,shouldDisableMonth:s.func,slotProps:s.object,slots:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),timezone:s.string,value:s.object});function ZH(e){return Kr("MuiPickersYear",e)}const g0=ao("MuiPickersYear",["root","yearButton","selected","disabled"]),JH=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","yearsPerRow","slots","slotProps"],e6=e=>{const{disabled:n,selected:o,classes:i}=e;return Gr({root:["root"],yearButton:["yearButton",n&&"disabled",o&&"selected"]},ZH,i)},t6=He("div",{name:"MuiPickersYear",slot:"Root",overridesResolver:(e,n)=>[n.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{yearsPerRow:4},style:{flexBasis:"25%"}}]}),n6=He("button",{name:"MuiPickersYear",slot:"YearButton",overridesResolver:(e,n)=>[n.yearButton,{[`&.${g0.disabled}`]:n.disabled},{[`&.${g0.selected}`]:n.selected}]})(({theme:e})=>Ce({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"6px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.focusOpacity})`:kn(e.palette.action.active,e.palette.action.focusOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${g0.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${g0.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}})),r6=F.memo(function(n){const o=br({props:n,name:"MuiPickersYear"}),{autoFocus:i,className:u,children:d,disabled:m,selected:v,value:g,tabIndex:S,onClick:w,onKeyDown:E,onFocus:R,onBlur:k,"aria-current":O,slots:_,slotProps:M}=o,V=dn(o,JH),j=F.useRef(null),A=e6(o);lu(()=>{var H;i&&((H=j.current)==null||H.focus())},[i]);const $=(_==null?void 0:_.yearButton)??n6,P=nr({elementType:$,externalSlotProps:M==null?void 0:M.yearButton,additionalProps:{children:d,disabled:m,tabIndex:S,ref:j,type:"button",role:"radio","aria-current":O,"aria-checked":v,onClick:H=>w(H,g),onKeyDown:H=>E(H,g),onFocus:H=>R(H,g),onBlur:H=>k(H,g)},ownerState:o,className:A.yearButton});return G.jsx(t6,Ce({className:ct(A.root,u),ownerState:o},V,{children:G.jsx($,Ce({},P))}))});function o6(e){return Kr("MuiYearCalendar",e)}ao("MuiYearCalendar",["root"]);const a6=["autoFocus","className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","readOnly","shouldDisableYear","disableHighlightToday","onYearFocus","hasFocus","onFocusedViewChange","yearsOrder","yearsPerRow","timezone","gridLabelId","slots","slotProps"],i6=e=>{const{classes:n}=e;return Gr({root:["root"]},o6,n)};function s6(e,n){const o=Cr(),i=Ev(),u=br({props:e,name:n});return Ce({disablePast:!1,disableFuture:!1},u,{yearsPerRow:u.yearsPerRow??3,minDate:es(o,u.minDate,i.minDate),maxDate:es(o,u.maxDate,i.maxDate)})}const l6=He("div",{name:"MuiYearCalendar",slot:"Root",overridesResolver:(e,n)=>n.root})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",padding:"0 4px",width:f0,maxHeight:k3,boxSizing:"border-box",position:"relative"}),CP=F.forwardRef(function(n,o){const i=s6(n,"MuiYearCalendar"),{autoFocus:u,className:d,value:m,defaultValue:v,referenceDate:g,disabled:S,disableFuture:w,disablePast:E,maxDate:R,minDate:k,onChange:O,readOnly:_,shouldDisableYear:M,onYearFocus:V,hasFocus:j,onFocusedViewChange:A,yearsOrder:$="asc",yearsPerRow:P,timezone:H,gridLabelId:W,slots:Y,slotProps:N}=i,K=dn(i,a6),{value:Z,handleValueChange:J,timezone:X}=ZC({name:"YearCalendar",timezone:H,value:m,defaultValue:v,onChange:O,valueManager:pl}),ee=c0(X),ne=ou(),te=Cr(),se=F.useMemo(()=>pl.getInitialReferenceValue({value:Z,utils:te,props:i,timezone:X,referenceDate:g,granularity:fl.year}),[]),ae=i,xe=i6(ae),oe=F.useMemo(()=>te.getYear(ee),[te,ee]),U=F.useMemo(()=>Z!=null?te.getYear(Z):null,[Z,te]),[fe,Pe]=F.useState(()=>U||te.getYear(se)),[Te,ue]=Pd({name:"YearCalendar",state:"hasFocus",controlled:j,default:u??!1}),we=Dt(q=>{ue(q),A&&A(q)}),Ee=F.useCallback(q=>{if(E&&te.isBeforeYear(q,ee)||w&&te.isAfterYear(q,ee)||k&&te.isBeforeYear(q,k)||R&&te.isAfterYear(q,R))return!0;if(!M)return!1;const ce=te.startOfYear(q);return M(ce)},[w,E,R,k,ee,M,te]),me=Dt((q,ce)=>{if(_)return;const be=te.setYear(Z??se,ce);J(be)}),De=Dt(q=>{Ee(te.setYear(Z??se,q))||(Pe(q),we(!0),V==null||V(q))});F.useEffect(()=>{Pe(q=>U!==null&&q!==U?U:q)},[U]);const Ne=$!=="desc"?P*1:P*-1,je=ne&&$==="asc"||!ne&&$==="desc"?-1:1,re=Dt((q,ce)=>{switch(q.key){case"ArrowUp":De(ce-Ne),q.preventDefault();break;case"ArrowDown":De(ce+Ne),q.preventDefault();break;case"ArrowLeft":De(ce-je),q.preventDefault();break;case"ArrowRight":De(ce+je),q.preventDefault();break}}),Se=Dt((q,ce)=>{De(ce)}),he=Dt((q,ce)=>{fe===ce&&we(!1)}),We=F.useRef(null),qe=ki(o,We);F.useEffect(()=>{if(u||We.current===null)return;const q=We.current.querySelector('[tabindex="0"]');if(!q)return;const ce=q.offsetHeight,be=q.offsetTop,Ve=We.current.clientHeight,Ke=We.current.scrollTop,Oe=be+ce;ce>Ve||be<Ke||(We.current.scrollTop=Oe-Ve/2-ce/2)},[u]);const tt=te.getYearRange([k,R]);return $==="desc"&&tt.reverse(),G.jsx(l6,Ce({ref:qe,className:ct(xe.root,d),ownerState:ae,role:"radiogroup","aria-labelledby":W},K,{children:tt.map(q=>{const ce=te.getYear(q),be=ce===U,Ve=S||Ee(q);return G.jsx(r6,{selected:be,value:ce,onClick:me,onKeyDown:re,autoFocus:Te&&ce===fe,disabled:Ve,tabIndex:ce===fe&&!Ve?0:-1,onFocus:Se,onBlur:he,"aria-current":oe===ce?"date":void 0,yearsPerRow:P,slots:Y,slotProps:N,children:te.format(q,"year")},te.format(q,"year"))})}))});process.env.NODE_ENV!=="production"&&(CP.propTypes={autoFocus:s.bool,classes:s.object,className:s.string,defaultValue:s.object,disabled:s.bool,disableFuture:s.bool,disableHighlightToday:s.bool,disablePast:s.bool,gridLabelId:s.string,hasFocus:s.bool,maxDate:s.object,minDate:s.object,onChange:s.func,onFocusedViewChange:s.func,onYearFocus:s.func,readOnly:s.bool,referenceDate:s.object,shouldDisableYear:s.func,slotProps:s.object,slots:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),timezone:s.string,value:s.object,yearsOrder:s.oneOf(["asc","desc"]),yearsPerRow:s.oneOf([3,4])});const u6=e=>Kr("MuiPickersCalendarHeader",e),c6=ao("MuiPickersCalendarHeader",["root","labelContainer","label","switchViewButton","switchViewIcon"]),d6=["slots","slotProps","currentMonth","disabled","disableFuture","disablePast","maxDate","minDate","onMonthChange","onViewChange","view","reduceAnimations","views","labelId","className","timezone","format"],f6=["ownerState"],p6=e=>{const{classes:n}=e;return Gr({root:["root"],labelContainer:["labelContainer"],label:["label"],switchViewButton:["switchViewButton"],switchViewIcon:["switchViewIcon"]},u6,n)},m6=He("div",{name:"MuiPickersCalendarHeader",slot:"Root",overridesResolver:(e,n)=>n.root})({display:"flex",alignItems:"center",marginTop:12,marginBottom:4,paddingLeft:24,paddingRight:12,maxHeight:40,minHeight:40}),h6=He("div",{name:"MuiPickersCalendarHeader",slot:"LabelContainer",overridesResolver:(e,n)=>n.labelContainer})(({theme:e})=>Ce({display:"flex",overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},e.typography.body1,{fontWeight:e.typography.fontWeightMedium})),v6=He("div",{name:"MuiPickersCalendarHeader",slot:"Label",overridesResolver:(e,n)=>n.label})({marginRight:6}),y6=He(Uh,{name:"MuiPickersCalendarHeader",slot:"SwitchViewButton",overridesResolver:(e,n)=>n.switchViewButton})({marginRight:"auto",variants:[{props:{view:"year"},style:{[`.${c6.switchViewIcon}`]:{transform:"rotate(180deg)"}}}]}),g6=He(c3,{name:"MuiPickersCalendarHeader",slot:"SwitchViewIcon",overridesResolver:(e,n)=>n.switchViewIcon})(({theme:e})=>({willChange:"transform",transition:e.transitions.create("transform"),transform:"rotate(0deg)"})),EP=F.forwardRef(function(n,o){const i=uu(),u=Cr(),d=br({props:n,name:"MuiPickersCalendarHeader"}),{slots:m,slotProps:v,currentMonth:g,disabled:S,disableFuture:w,disablePast:E,maxDate:R,minDate:k,onMonthChange:O,onViewChange:_,view:M,reduceAnimations:V,views:j,labelId:A,className:$,timezone:P,format:H=`${u.formats.month} ${u.formats.year}`}=d,W=dn(d,d6),Y=d,N=p6(d),K=(m==null?void 0:m.switchViewButton)??y6,Z=nr({elementType:K,externalSlotProps:v==null?void 0:v.switchViewButton,additionalProps:{size:"small","aria-label":i.calendarViewSwitchingButtonAriaLabel(M)},ownerState:Y,className:N.switchViewButton}),J=(m==null?void 0:m.switchViewIcon)??g6,X=nr({elementType:J,externalSlotProps:v==null?void 0:v.switchViewIcon,ownerState:Y,className:N.switchViewIcon}),ee=dn(X,f6),ne=()=>O(u.addMonths(g,1),"left"),te=()=>O(u.addMonths(g,-1),"right"),se=O3(g,{disableFuture:w,maxDate:R,timezone:P}),ae=D3(g,{disablePast:E,minDate:k,timezone:P}),xe=()=>{if(!(j.length===1||!_||S))if(j.length===2)_(j.find(U=>U!==M)||j[0]);else{const U=j.indexOf(M)!==0?0:1;_(j[U])}};if(j.length===1&&j[0]==="year")return null;const oe=u.formatByString(g,H);return G.jsxs(m6,Ce({},W,{ownerState:Y,className:ct(N.root,$),ref:o,children:[G.jsxs(h6,{role:"presentation",onClick:xe,ownerState:Y,"aria-live":"polite",className:N.labelContainer,children:[G.jsx(SP,{reduceAnimations:V,transKey:oe,children:G.jsx(v6,{id:A,ownerState:Y,className:N.label,children:oe})}),j.length>1&&!S&&G.jsx(K,Ce({},Z,{children:G.jsx(J,Ce({},ee))}))]}),G.jsx(Od,{in:M==="day",children:G.jsx(w3,{slots:m,slotProps:v,onGoToPrevious:te,isPreviousDisabled:ae,previousLabel:i.previousMonth,onGoToNext:ne,isNextDisabled:se,nextLabel:i.nextMonth})})]}))});process.env.NODE_ENV!=="production"&&(EP.propTypes={classes:s.object,className:s.string,currentMonth:s.object.isRequired,disabled:s.bool,disableFuture:s.bool,disablePast:s.bool,format:s.string,labelId:s.string,maxDate:s.object.isRequired,minDate:s.object.isRequired,onMonthChange:s.func.isRequired,onViewChange:s.func,reduceAnimations:s.bool.isRequired,slotProps:s.object,slots:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),timezone:s.string.isRequired,view:s.oneOf(["day","month","year"]).isRequired,views:s.arrayOf(s.oneOf(["day","month","year"]).isRequired).isRequired});const b6="@media (prefers-reduced-motion: reduce)",Cp=typeof navigator<"u"&&navigator.userAgent.match(/android\s(\d+)|OS\s(\d+)/i),TP=Cp&&Cp[1]?parseInt(Cp[1],10):null,RP=Cp&&Cp[2]?parseInt(Cp[2],10):null,S6=TP&&TP<10||RP&&RP<13||!1,OP=()=>QO(b6,{defaultMatches:!1})||S6,x6=e=>Kr("MuiDateCalendar",e);ao("MuiDateCalendar",["root","viewTransitionContainer"]);const w6=["autoFocus","onViewChange","value","defaultValue","referenceDate","disableFuture","disablePast","onChange","onYearChange","onMonthChange","reduceAnimations","shouldDisableDate","shouldDisableMonth","shouldDisableYear","view","views","openTo","className","disabled","readOnly","minDate","maxDate","disableHighlightToday","focusedView","onFocusedViewChange","showDaysOutsideCurrentMonth","fixedWeekNumber","dayOfWeekFormatter","slots","slotProps","loading","renderLoading","displayWeekNumber","yearsOrder","yearsPerRow","monthsPerRow","timezone"],C6=e=>{const{classes:n}=e;return Gr({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},x6,n)};function E6(e,n){const o=Cr(),i=Ev(),u=OP(),d=br({props:e,name:n});return Ce({},d,{loading:d.loading??!1,disablePast:d.disablePast??!1,disableFuture:d.disableFuture??!1,openTo:d.openTo??"day",views:d.views??["year","day"],reduceAnimations:d.reduceAnimations??u,renderLoading:d.renderLoading??(()=>G.jsx("span",{children:"..."})),minDate:es(o,d.minDate,i.minDate),maxDate:es(o,d.maxDate,i.maxDate)})}const T6=He(M3,{name:"MuiDateCalendar",slot:"Root",overridesResolver:(e,n)=>n.root})({display:"flex",flexDirection:"column",height:GC}),R6=He(SP,{name:"MuiDateCalendar",slot:"ViewTransitionContainer",overridesResolver:(e,n)=>n.viewTransitionContainer})({}),DP=F.forwardRef(function(n,o){const i=Cr(),u=Cv(),d=E6(n,"MuiDateCalendar"),{autoFocus:m,onViewChange:v,value:g,defaultValue:S,referenceDate:w,disableFuture:E,disablePast:R,onChange:k,onYearChange:O,onMonthChange:_,reduceAnimations:M,shouldDisableDate:V,shouldDisableMonth:j,shouldDisableYear:A,view:$,views:P,openTo:H,className:W,disabled:Y,readOnly:N,minDate:K,maxDate:Z,disableHighlightToday:J,focusedView:X,onFocusedViewChange:ee,showDaysOutsideCurrentMonth:ne,fixedWeekNumber:te,dayOfWeekFormatter:se,slots:ae,slotProps:xe,loading:oe,renderLoading:U,displayWeekNumber:fe,yearsOrder:Pe,yearsPerRow:Te,monthsPerRow:ue,timezone:we}=d,Ee=dn(d,w6),{value:me,handleValueChange:De,timezone:Ne}=ZC({name:"DateCalendar",timezone:we,value:g,defaultValue:S,onChange:k,valueManager:pl}),{view:je,setView:re,focusedView:Se,setFocusedView:he,goToNextView:We,setValueAndGoToNextView:qe}=zM({view:$,views:P,openTo:H,onChange:De,onViewChange:v,autoFocus:m,focusedView:X,onFocusedViewChange:ee}),{referenceDate:tt,calendarState:q,changeFocusedDay:ce,changeMonth:be,handleChangeMonth:Ve,isDateDisabled:Ke,onMonthSwitchingAnimationEnd:Oe}=yH({value:me,referenceDate:w,reduceAnimations:M,onMonthChange:_,minDate:K,maxDate:Z,shouldDisableDate:V,disablePast:R,disableFuture:E,timezone:Ne}),it=Y&&me||K,gt=Y&&me||Z,qt=`${u}-grid-label`,Mt=Se!==null,mn=(ae==null?void 0:ae.calendarHeader)??EP,or=nr({elementType:mn,externalSlotProps:xe==null?void 0:xe.calendarHeader,additionalProps:{views:P,view:je,currentMonth:q.currentMonth,onViewChange:re,onMonthChange:(Nt,Jn)=>Ve({newMonth:Nt,direction:Jn}),minDate:it,maxDate:gt,disabled:Y,disablePast:R,disableFuture:E,reduceAnimations:M,timezone:Ne,labelId:qt},ownerState:d}),Ln=Dt(Nt=>{const Jn=i.startOfMonth(Nt),hn=i.endOfMonth(Nt),an=Ke(Nt)?Ov({utils:i,date:Nt,minDate:i.isBefore(K,Jn)?Jn:K,maxDate:i.isAfter(Z,hn)?hn:Z,disablePast:R,disableFuture:E,isDateDisabled:Ke,timezone:Ne}):Nt;an?(qe(an,"finish"),_==null||_(Jn)):(We(),be(Jn)),ce(an,!0)}),Be=Dt(Nt=>{const Jn=i.startOfYear(Nt),hn=i.endOfYear(Nt),an=Ke(Nt)?Ov({utils:i,date:Nt,minDate:i.isBefore(K,Jn)?Jn:K,maxDate:i.isAfter(Z,hn)?hn:Z,disablePast:R,disableFuture:E,isDateDisabled:Ke,timezone:Ne}):Nt;an?(qe(an,"finish"),O==null||O(an)):(We(),be(Jn)),ce(an,!0)}),ht=Dt(Nt=>De(Nt&&p0(i,Nt,me??tt),"finish",je));F.useEffect(()=>{me!=null&&i.isValid(me)&&be(me)},[me]);const $t=d,tn=C6($t),at={disablePast:R,disableFuture:E,maxDate:Z,minDate:K},kt={disableHighlightToday:J,readOnly:N,disabled:Y,timezone:Ne,gridLabelId:qt,slots:ae,slotProps:xe},Kt=F.useRef(je);F.useEffect(()=>{Kt.current!==je&&(Se===Kt.current&&he(je,!0),Kt.current=je)},[Se,he,je]);const Zn=F.useMemo(()=>[me],[me]);return G.jsxs(T6,Ce({ref:o,className:ct(tn.root,W),ownerState:$t},Ee,{children:[G.jsx(mn,Ce({},or,{slots:ae,slotProps:xe})),G.jsx(R6,{reduceAnimations:M,className:tn.viewTransitionContainer,transKey:je,ownerState:$t,children:G.jsxs("div",{children:[je==="year"&&G.jsx(CP,Ce({},at,kt,{value:me,onChange:Be,shouldDisableYear:A,hasFocus:Mt,onFocusedViewChange:Nt=>he("year",Nt),yearsOrder:Pe,yearsPerRow:Te,referenceDate:tt})),je==="month"&&G.jsx(wP,Ce({},at,kt,{hasFocus:Mt,className:W,value:me,onChange:Ln,shouldDisableMonth:j,onFocusedViewChange:Nt=>he("month",Nt),monthsPerRow:ue,referenceDate:tt})),je==="day"&&G.jsx(VH,Ce({},q,at,kt,{onMonthSwitchingAnimationEnd:Oe,onFocusedDayChange:ce,reduceAnimations:M,selectedDays:Zn,onSelectedDaysChange:ht,shouldDisableDate:V,shouldDisableMonth:j,shouldDisableYear:A,hasFocus:Mt,onFocusedViewChange:Nt=>he("day",Nt),showDaysOutsideCurrentMonth:ne,fixedWeekNumber:te,dayOfWeekFormatter:se,displayWeekNumber:fe,loading:oe,renderLoading:U}))]})})]}))});process.env.NODE_ENV!=="production"&&(DP.propTypes={autoFocus:s.bool,classes:s.object,className:s.string,dayOfWeekFormatter:s.func,defaultValue:s.object,disabled:s.bool,disableFuture:s.bool,disableHighlightToday:s.bool,disablePast:s.bool,displayWeekNumber:s.bool,fixedWeekNumber:s.number,focusedView:s.oneOf(["day","month","year"]),loading:s.bool,maxDate:s.object,minDate:s.object,monthsPerRow:s.oneOf([3,4]),onChange:s.func,onFocusedViewChange:s.func,onMonthChange:s.func,onViewChange:s.func,onYearChange:s.func,openTo:s.oneOf(["day","month","year"]),readOnly:s.bool,reduceAnimations:s.bool,referenceDate:s.object,renderLoading:s.func,shouldDisableDate:s.func,shouldDisableMonth:s.func,shouldDisableYear:s.func,showDaysOutsideCurrentMonth:s.bool,slotProps:s.object,slots:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),timezone:s.string,value:s.object,view:s.oneOf(["day","month","year"]),views:s.arrayOf(s.oneOf(["day","month","year"]).isRequired),yearsOrder:s.oneOf(["asc","desc"]),yearsPerRow:s.oneOf([3,4])});function O6(e){return Kr("MuiPickersToolbar",e)}ao("MuiPickersToolbar",["root","content"]);const D6=["children","className","toolbarTitle","hidden","titleId","isLandscape","classes","landscapeDirection"],k6=e=>{const{classes:n,isLandscape:o}=e;return Gr({root:["root"],content:["content"],penIconButton:["penIconButton",o&&"penIconButtonLandscape"]},O6,n)},M6=He("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:(e,n)=>n.root})(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:e.spacing(2,3),variants:[{props:{isLandscape:!0},style:{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"}}]})),P6=He("div",{name:"MuiPickersToolbar",slot:"Content",overridesResolver:(e,n)=>n.content})({display:"flex",flexWrap:"wrap",width:"100%",flex:1,justifyContent:"space-between",alignItems:"center",flexDirection:"row",variants:[{props:{isLandscape:!0},style:{justifyContent:"flex-start",alignItems:"flex-start",flexDirection:"column"}},{props:{isLandscape:!0,landscapeDirection:"row"},style:{flexDirection:"row"}}]}),_6=F.forwardRef(function(n,o){const i=br({props:n,name:"MuiPickersToolbar"}),{children:u,className:d,toolbarTitle:m,hidden:v,titleId:g}=i,S=dn(i,D6),w=i,E=k6(w);return v?null:G.jsxs(M6,Ce({ref:o,className:ct(E.root,d),ownerState:w},S,{children:[G.jsx(Es,{color:"text.secondary",variant:"overline",id:g,children:m}),G.jsx(P6,{className:E.content,ownerState:w,children:u})]}))});function N6(e){return Kr("MuiDatePickerToolbar",e)}ao("MuiDatePickerToolbar",["root","title"]);const A6=["value","isLandscape","onChange","toolbarFormat","toolbarPlaceholder","views","className","onViewChange","view"],F6=e=>{const{classes:n}=e;return Gr({root:["root"],title:["title"]},N6,n)},L6=He(_6,{name:"MuiDatePickerToolbar",slot:"Root",overridesResolver:(e,n)=>n.root})({}),I6=He(Es,{name:"MuiDatePickerToolbar",slot:"Title",overridesResolver:(e,n)=>n.title})({variants:[{props:{isLandscape:!0},style:{margin:"auto 16px auto auto"}}]}),kP=F.forwardRef(function(n,o){const i=br({props:n,name:"MuiDatePickerToolbar"}),{value:u,isLandscape:d,toolbarFormat:m,toolbarPlaceholder:v="––",views:g,className:S}=i,w=dn(i,A6),E=Cr(),R=uu(),k=F6(i),O=F.useMemo(()=>{if(!u)return v;const M=QC(E,{format:m,views:g},!0);return E.formatByString(u,M)},[u,m,v,E,g]),_=i;return G.jsx(L6,Ce({ref:o,toolbarTitle:R.datePickerToolbarTitle,isLandscape:d,className:ct(k.root,S)},w,{children:G.jsx(I6,{variant:"h4",align:d?"left":"center",ownerState:_,className:k.title,children:O})}))});process.env.NODE_ENV!=="production"&&(kP.propTypes={classes:s.object,className:s.string,disabled:s.bool,hidden:s.bool,isLandscape:s.bool.isRequired,onChange:s.func.isRequired,onViewChange:s.func.isRequired,readOnly:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),titleId:s.string,toolbarFormat:s.string,toolbarPlaceholder:s.node,value:s.object,view:s.oneOf(["day","month","year"]).isRequired,views:s.arrayOf(s.oneOf(["day","month","year"]).isRequired).isRequired});function MP(e,n){const o=Cr(),i=Ev(),u=br({props:e,name:n}),d=F.useMemo(()=>{var m;return((m=u.localeText)==null?void 0:m.toolbarTitle)==null?u.localeText:Ce({},u.localeText,{datePickerToolbarTitle:u.localeText.toolbarTitle})},[u.localeText]);return Ce({},u,{localeText:d},C3({views:u.views,openTo:u.openTo,defaultViews:["year","day"],defaultOpenTo:"day"}),{disableFuture:u.disableFuture??!1,disablePast:u.disablePast??!1,minDate:es(o,u.minDate,i.minDate),maxDate:es(o,u.maxDate,i.maxDate),slots:Ce({toolbar:kP},u.slots)})}function $6(e){return Kr("MuiPickersPopper",e)}ao("MuiPickersPopper",["root","paper"]);const j6=["PaperComponent","popperPlacement","ownerState","children","paperSlotProps","paperClasses","onPaperClick","onPaperTouchStart"],V6=e=>{const{classes:n}=e;return Gr({root:["root"],paper:["paper"]},$6,n)},B6=He(_b,{name:"MuiPickersPopper",slot:"Root",overridesResolver:(e,n)=>n.root})(({theme:e})=>({zIndex:e.zIndex.modal})),z6=He(zh,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:(e,n)=>n.paper})({outline:0,transformOrigin:"top center",variants:[{props:({placement:e})=>["top","top-start","top-end"].includes(e),style:{transformOrigin:"bottom center"}}]});function U6(e,n){return n.documentElement.clientWidth<e.clientX||n.documentElement.clientHeight<e.clientY}function H6(e,n){const o=F.useRef(!1),i=F.useRef(!1),u=F.useRef(null),d=F.useRef(!1);F.useEffect(()=>{if(!e)return;function g(){d.current=!0}return document.addEventListener("mousedown",g,!0),document.addEventListener("touchstart",g,!0),()=>{document.removeEventListener("mousedown",g,!0),document.removeEventListener("touchstart",g,!0),d.current=!1}},[e]);const m=Dt(g=>{if(!d.current)return;const S=i.current;i.current=!1;const w=HC(u.current);if(!u.current||"clientX"in g&&U6(g,w))return;if(o.current){o.current=!1;return}let E;g.composedPath?E=g.composedPath().indexOf(u.current)>-1:E=!w.documentElement.contains(g.target)||u.current.contains(g.target),!E&&!S&&n(g)}),v=()=>{i.current=!0};return F.useEffect(()=>{if(e){const g=HC(u.current),S=()=>{o.current=!0};return g.addEventListener("touchstart",m),g.addEventListener("touchmove",S),()=>{g.removeEventListener("touchstart",m),g.removeEventListener("touchmove",S)}}},[e,m]),F.useEffect(()=>{if(e){const g=HC(u.current);return g.addEventListener("click",m),()=>{g.removeEventListener("click",m),i.current=!1}}},[e,m]),[u,v,v]}const W6=F.forwardRef((e,n)=>{const{PaperComponent:o,popperPlacement:i,ownerState:u,children:d,paperSlotProps:m,paperClasses:v,onPaperClick:g,onPaperTouchStart:S}=e,w=dn(e,j6),E=Ce({},u,{placement:i}),R=nr({elementType:o,externalSlotProps:m,additionalProps:{tabIndex:-1,elevation:8,ref:n},className:v,ownerState:E});return G.jsx(o,Ce({},w,R,{onClick:k=>{var O;g(k),(O=R.onClick)==null||O.call(R,k)},onTouchStart:k=>{var O;S(k),(O=R.onTouchStart)==null||O.call(R,k)},ownerState:E,children:d}))});function Y6(e){const n=br({props:e,name:"MuiPickersPopper"}),{anchorEl:o,children:i,containerRef:u=null,shouldRestoreFocus:d,onBlur:m,onDismiss:v,open:g,role:S,placement:w,slots:E,slotProps:R,reduceAnimations:k}=n;F.useEffect(()=>{function ne(te){g&&te.key==="Escape"&&v()}return document.addEventListener("keydown",ne),()=>{document.removeEventListener("keydown",ne)}},[v,g]);const O=F.useRef(null);F.useEffect(()=>{S==="tooltip"||d&&!d()||(g?O.current=Mi(document):O.current&&O.current instanceof HTMLElement&&setTimeout(()=>{O.current instanceof HTMLElement&&O.current.focus()}))},[g,S,d]);const[_,M,V]=H6(g,m??v),j=F.useRef(null),A=ki(j,u),$=ki(A,_),P=n,H=V6(P),W=OP(),Y=k??W,N=ne=>{ne.key==="Escape"&&(ne.stopPropagation(),v())},K=(E==null?void 0:E.desktopTransition)??Y?Od:Dd,Z=(E==null?void 0:E.desktopTrapFocus)??rv,J=(E==null?void 0:E.desktopPaper)??z6,X=(E==null?void 0:E.popper)??B6,ee=nr({elementType:X,externalSlotProps:R==null?void 0:R.popper,additionalProps:{transition:!0,role:S,open:g,anchorEl:o,placement:w,onKeyDown:N},className:H.root,ownerState:n});return G.jsx(X,Ce({},ee,{children:({TransitionProps:ne,placement:te})=>G.jsx(Z,Ce({open:g,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:S==="tooltip",isEnabled:()=>!0},R==null?void 0:R.desktopTrapFocus,{children:G.jsx(K,Ce({},ne,R==null?void 0:R.desktopTransition,{children:G.jsx(W6,{PaperComponent:J,ownerState:P,popperPlacement:te,ref:$,onPaperClick:M,onPaperTouchStart:V,paperClasses:H.paper,paperSlotProps:R==null?void 0:R.desktopPaper,children:i})}))}))}))}const PP=new Set;function q6(e,n="warning"){if(process.env.NODE_ENV==="production")return;const o=Array.isArray(e)?e.join(`
|
|
439
|
+
`):e;PP.has(o)||(PP.add(o),n==="error"?console.error(o):console.warn(o))}const G6=({open:e,onOpen:n,onClose:o})=>{const i=F.useRef(typeof e=="boolean").current,[u,d]=F.useState(!1);F.useEffect(()=>{if(i){if(typeof e!="boolean")throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");d(e)}},[i,e]);const m=F.useCallback(v=>{i||d(v),v&&n&&n(),!v&&o&&o()},[i,n,o]);return{isOpen:u,setIsOpen:m}},K6=e=>{const{action:n,hasChanged:o,dateState:i,isControlled:u}=e,d=!u&&!i.hasBeenModifiedSinceMount;return n.name==="setValueFromField"?!0:n.name==="setValueFromAction"?d&&["accept","today","clear"].includes(n.pickerAction)?!0:o(i.lastPublishedValue):n.name==="setValueFromView"&&n.selectionState!=="shallow"||n.name==="setValueFromShortcut"?d?!0:o(i.lastPublishedValue):!1},Q6=e=>{const{action:n,hasChanged:o,dateState:i,isControlled:u,closeOnSelect:d}=e,m=!u&&!i.hasBeenModifiedSinceMount;return n.name==="setValueFromAction"?m&&["accept","today","clear"].includes(n.pickerAction)?!0:o(i.lastCommittedValue):n.name==="setValueFromView"&&n.selectionState==="finish"&&d?m?!0:o(i.lastCommittedValue):n.name==="setValueFromShortcut"?n.changeImportance==="accept"&&o(i.lastCommittedValue):!1},X6=e=>{const{action:n,closeOnSelect:o}=e;return n.name==="setValueFromAction"?!0:n.name==="setValueFromView"?n.selectionState==="finish"&&o:n.name==="setValueFromShortcut"?n.changeImportance==="accept":!1},Z6=({props:e,valueManager:n,valueType:o,wrapperVariant:i,validator:u})=>{const{onAccept:d,onChange:m,value:v,defaultValue:g,closeOnSelect:S=i==="desktop",timezone:w}=e,{current:E}=F.useRef(g),{current:R}=F.useRef(v!==void 0);process.env.NODE_ENV!=="production"&&(F.useEffect(()=>{R!==(v!==void 0)&&console.error([`MUI X: A component is changing the ${R?"":"un"}controlled value of a picker to be ${R?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).","Decide between using a controlled or uncontrolled valuefor the lifetime of the component.","The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
440
|
+
`))},[v]),F.useEffect(()=>{!R&&E!==g&&console.error(["MUI X: A component is changing the defaultValue of an uncontrolled picker after being initialized. To suppress this warning opt to use a controlled value."].join(`
|
|
441
|
+
`))},[JSON.stringify(E)]));const k=Cr(),O=_d(),{isOpen:_,setIsOpen:M}=G6(e),{timezone:V,value:j,handleValueChange:A}=XC({timezone:w,value:v,defaultValue:E,onChange:m,valueManager:n}),[$,P]=F.useState(()=>{let ue;return j!==void 0?ue=j:E!==void 0?ue=E:ue=n.emptyValue,{draft:ue,lastPublishedValue:ue,lastCommittedValue:ue,lastControlledValue:j,hasBeenModifiedSinceMount:!1}}),{getValidationErrorForNewValue:H}=lP({props:e,validator:u,timezone:V,value:$.draft,onError:e.onError}),W=Dt(ue=>{const we={action:ue,dateState:$,hasChanged:re=>!n.areValuesEqual(k,ue.value,re),isControlled:R,closeOnSelect:S},Ee=K6(we),me=Q6(we),De=X6(we);P(re=>Ce({},re,{draft:ue.value,lastPublishedValue:Ee?ue.value:re.lastPublishedValue,lastCommittedValue:me?ue.value:re.lastCommittedValue,hasBeenModifiedSinceMount:!0}));let Ne=null;const je=()=>(Ne||(Ne={validationError:ue.name==="setValueFromField"?ue.context.validationError:H(ue.value)},ue.name==="setValueFromShortcut"&&(Ne.shortcut=ue.shortcut)),Ne);Ee&&A(ue.value,je()),me&&d&&d(ue.value,je()),De&&M(!1)});if(j!==void 0&&($.lastControlledValue===void 0||!n.areValuesEqual(k,$.lastControlledValue,j))){const ue=n.areValuesEqual(k,$.draft,j);P(we=>Ce({},we,{lastControlledValue:j},ue?{}:{lastCommittedValue:j,lastPublishedValue:j,draft:j,hasBeenModifiedSinceMount:!0}))}const Y=Dt(()=>{W({value:n.emptyValue,name:"setValueFromAction",pickerAction:"clear"})}),N=Dt(()=>{W({value:$.lastPublishedValue,name:"setValueFromAction",pickerAction:"accept"})}),K=Dt(()=>{W({value:$.lastPublishedValue,name:"setValueFromAction",pickerAction:"dismiss"})}),Z=Dt(()=>{W({value:$.lastCommittedValue,name:"setValueFromAction",pickerAction:"cancel"})}),J=Dt(()=>{W({value:n.getTodayValue(k,V,o),name:"setValueFromAction",pickerAction:"today"})}),X=Dt(ue=>{ue.preventDefault(),M(!0)}),ee=Dt(ue=>{ue==null||ue.preventDefault(),M(!1)}),ne=Dt((ue,we="partial")=>W({name:"setValueFromView",value:ue,selectionState:we})),te=Dt((ue,we,Ee)=>W({name:"setValueFromShortcut",value:ue,changeImportance:we,shortcut:Ee})),se=Dt((ue,we)=>W({name:"setValueFromField",value:ue,context:we})),ae={onClear:Y,onAccept:N,onDismiss:K,onCancel:Z,onSetToday:J,onOpen:X,onClose:ee},xe={value:$.draft,onChange:se},oe=F.useMemo(()=>n.cleanValue(k,$.draft),[k,n,$.draft]),U={value:oe,onChange:ne,onClose:ee,open:_},Pe=Ce({},ae,{value:oe,onChange:ne,onSelectShortcut:te,isValid:ue=>{const we=u({adapter:O,value:ue,timezone:V,props:e});return!n.hasError(we)}}),Te=F.useMemo(()=>({onOpen:X,onClose:ee,open:_}),[_,ee,X]);return{open:_,fieldProps:xe,viewProps:U,layoutProps:Pe,actions:ae,contextValue:Te}},J6=["className","sx"],eW=({props:e,propsFromPickerValue:n,additionalViewProps:o,autoFocusView:i,rendererInterceptor:u,fieldRef:d})=>{const{onChange:m,open:v,onClose:g}=n,{view:S,views:w,openTo:E,onViewChange:R,viewRenderers:k,timezone:O}=e,_=dn(e,J6),{view:M,setView:V,defaultView:j,focusedView:A,setFocusedView:$,setValueAndGoToNextView:P}=zM({view:S,views:w,openTo:E,onChange:m,onViewChange:R,autoFocus:i}),{hasUIView:H,viewModeLookup:W}=F.useMemo(()=>w.reduce((ee,ne)=>{let te;return k[ne]!=null?te="UI":te="field",ee.viewModeLookup[ne]=te,te==="UI"&&(ee.hasUIView=!0),ee},{hasUIView:!1,viewModeLookup:{}}),[k,w]),Y=F.useMemo(()=>w.reduce((ee,ne)=>k[ne]!=null&&T3(ne)?ee+1:ee,0),[k,w]),N=W[M],K=Dt(()=>N==="UI"),[Z,J]=F.useState(N==="UI"?M:null);return Z!==M&&W[M]==="UI"&&J(M),lu(()=>{N==="field"&&v&&(g(),setTimeout(()=>{var ee,ne;(ee=d==null?void 0:d.current)==null||ee.setSelectedSections(M),(ne=d==null?void 0:d.current)==null||ne.focusField(M)}))},[M]),lu(()=>{if(!v)return;let ee=M;N==="field"&&Z!=null&&(ee=Z),ee!==j&&W[ee]==="UI"&&W[j]==="UI"&&(ee=j),ee!==M&&V(ee),$(ee,!0)},[v]),{hasUIView:H,shouldRestoreFocus:K,layoutProps:{views:w,view:Z,onViewChange:V},renderCurrentView:()=>{if(Z==null)return null;const ee=k[Z];if(ee==null)return null;const ne=Ce({},_,o,n,{views:w,timezone:O,onChange:P,view:Z,onViewChange:V,focusedView:A,onFocusedViewChange:$,showViewSwitcher:Y>1,timeViewsCount:Y});return u?u(k,Z,ne):ee(ne)}}};function _P(){return typeof window>"u"?"portrait":window.screen&&window.screen.orientation&&window.screen.orientation.angle?Math.abs(window.screen.orientation.angle)===90?"landscape":"portrait":window.orientation&&Math.abs(Number(window.orientation))===90?"landscape":"portrait"}const tW=(e,n)=>{const[o,i]=F.useState(_P);return lu(()=>{const d=()=>{i(_P())};return window.addEventListener("orientationchange",d),()=>{window.removeEventListener("orientationchange",d)}},[]),Z3(e,["hours","minutes","seconds"])?!1:(n||o)==="landscape"},nW=({props:e,propsFromPickerValue:n,propsFromPickerViews:o,wrapperVariant:i})=>{const{orientation:u}=e,d=tW(o.views,u),m=ou();return{layoutProps:Ce({},o,n,{isLandscape:d,isRtl:m,wrapperVariant:i,disabled:e.disabled,readOnly:e.readOnly})}};function rW(e){const{props:n,pickerValueResponse:o}=e;return F.useMemo(()=>({value:o.viewProps.value,open:o.open,disabled:n.disabled??!1,readOnly:n.readOnly??!1}),[o.viewProps.value,o.open,n.disabled,n.readOnly])}const NP=({props:e,valueManager:n,valueType:o,wrapperVariant:i,additionalViewProps:u,validator:d,autoFocusView:m,rendererInterceptor:v,fieldRef:g})=>{process.env.NODE_ENV!=="production"&&e.renderInput!=null&&q6(["MUI X: The `renderInput` prop has been removed in version 6.0 of the Date and Time Pickers.","You can replace it with the `textField` component slot in most cases.","For more information, please have a look at the migration guide (https://mui.com/x/migration/migration-pickers-v5/#input-renderer-required-in-v5)."]);const S=Z6({props:e,valueManager:n,valueType:o,wrapperVariant:i,validator:d}),w=eW({props:e,additionalViewProps:u,autoFocusView:m,fieldRef:g,propsFromPickerValue:S.viewProps,rendererInterceptor:v}),E=nW({props:e,wrapperVariant:i,propsFromPickerValue:S.layoutProps,propsFromPickerViews:w.layoutProps}),R=rW({props:e,pickerValueResponse:S});return{open:S.open,actions:S.actions,fieldProps:S.fieldProps,renderCurrentView:w.renderCurrentView,hasUIView:w.hasUIView,shouldRestoreFocus:w.shouldRestoreFocus,layoutProps:E.layoutProps,contextValue:S.contextValue,ownerState:R}};function AP(e){return Kr("MuiPickersLayout",e)}const Ld=ao("MuiPickersLayout",["root","landscape","contentWrapper","toolbar","actionBar","tabs","shortcuts"]),oW=["onAccept","onClear","onCancel","onSetToday","actions"];function FP(e){const{onAccept:n,onClear:o,onCancel:i,onSetToday:u,actions:d}=e,m=dn(e,oW),v=uu();if(d==null||d.length===0)return null;const g=d==null?void 0:d.map(S=>{switch(S){case"clear":return G.jsx(tv,{onClick:o,children:v.clearButtonLabel},S);case"cancel":return G.jsx(tv,{onClick:i,children:v.cancelButtonLabel},S);case"accept":return G.jsx(tv,{onClick:n,children:v.okButtonLabel},S);case"today":return G.jsx(tv,{onClick:u,children:v.todayButtonLabel},S);default:return null}});return G.jsx(Ek,Ce({},m,{children:g}))}process.env.NODE_ENV!=="production"&&(FP.propTypes={actions:s.arrayOf(s.oneOf(["accept","cancel","clear","today"]).isRequired),disableSpacing:s.bool,onAccept:s.func.isRequired,onCancel:s.func.isRequired,onClear:s.func.isRequired,onSetToday:s.func.isRequired,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});const aW=["items","changeImportance","isLandscape","onChange","isValid"],iW=["getValue"];function LP(e){const{items:n,changeImportance:o="accept",onChange:i,isValid:u}=e,d=dn(e,aW);if(n==null||n.length===0)return null;const m=n.map(v=>{let{getValue:g}=v,S=dn(v,iW);const w=g({isValid:u});return Ce({},S,{label:S.label,onClick:()=>{i(w,o,S)},disabled:!u(w)})});return G.jsx(TC,Ce({dense:!0,sx:[{maxHeight:GC,maxWidth:200,overflow:"auto"},...Array.isArray(d.sx)?d.sx:[d.sx]]},d,{children:m.map(v=>G.jsx(_k,{children:G.jsx(uk,Ce({},v))},v.id??v.label))}))}process.env.NODE_ENV!=="production"&&(LP.propTypes={changeImportance:s.oneOf(["accept","set"]),className:s.string,component:s.elementType,dense:s.bool,disablePadding:s.bool,isLandscape:s.bool.isRequired,isValid:s.func.isRequired,items:s.arrayOf(s.shape({getValue:s.func.isRequired,id:s.string,label:s.string.isRequired})),onChange:s.func.isRequired,style:s.object,subheader:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function sW(e){return e.view!==null}const lW=e=>{const{classes:n,isLandscape:o}=e;return Gr({root:["root",o&&"landscape"],contentWrapper:["contentWrapper"],toolbar:["toolbar"],actionBar:["actionBar"],tabs:["tabs"],landscape:["landscape"],shortcuts:["shortcuts"]},AP,n)},uW=e=>{const{wrapperVariant:n,onAccept:o,onClear:i,onCancel:u,onSetToday:d,view:m,views:v,onViewChange:g,value:S,onChange:w,onSelectShortcut:E,isValid:R,isLandscape:k,disabled:O,readOnly:_,children:M,slots:V,slotProps:j}=e,A=lW(e),$=(V==null?void 0:V.actionBar)??FP,P=nr({elementType:$,externalSlotProps:j==null?void 0:j.actionBar,additionalProps:{onAccept:o,onClear:i,onCancel:u,onSetToday:d,actions:n==="desktop"?[]:["cancel","accept"]},className:A.actionBar,ownerState:Ce({},e,{wrapperVariant:n})}),H=G.jsx($,Ce({},P)),W=V==null?void 0:V.toolbar,Y=nr({elementType:W,externalSlotProps:j==null?void 0:j.toolbar,additionalProps:{isLandscape:k,onChange:w,value:S,view:m,onViewChange:g,views:v,disabled:O,readOnly:_},className:A.toolbar,ownerState:Ce({},e,{wrapperVariant:n})}),N=sW(Y)&&W?G.jsx(W,Ce({},Y)):null,K=M,Z=V==null?void 0:V.tabs,J=m&&Z?G.jsx(Z,Ce({view:m,onViewChange:g,className:A.tabs},j==null?void 0:j.tabs)):null,X=(V==null?void 0:V.shortcuts)??LP,ee=nr({elementType:X,externalSlotProps:j==null?void 0:j.shortcuts,additionalProps:{isValid:R,isLandscape:k,onChange:E},className:A.shortcuts,ownerState:{isValid:R,isLandscape:k,onChange:E,wrapperVariant:n}}),ne=m&&X?G.jsx(X,Ce({},ee)):null;return{toolbar:N,content:K,tabs:J,actionBar:H,shortcuts:ne}},cW=e=>{const{isLandscape:n,classes:o}=e;return Gr({root:["root",n&&"landscape"],contentWrapper:["contentWrapper"]},AP,o)},dW=He("div",{name:"MuiPickersLayout",slot:"Root",overridesResolver:(e,n)=>n.root})({display:"grid",gridAutoColumns:"max-content auto max-content",gridAutoRows:"max-content auto max-content",[`& .${Ld.actionBar}`]:{gridColumn:"1 / 4",gridRow:3},variants:[{props:{isLandscape:!0},style:{[`& .${Ld.toolbar}`]:{gridColumn:1,gridRow:"2 / 3"},[`.${Ld.shortcuts}`]:{gridColumn:"2 / 4",gridRow:1}}},{props:{isLandscape:!0,isRtl:!0},style:{[`& .${Ld.toolbar}`]:{gridColumn:3}}},{props:{isLandscape:!1},style:{[`& .${Ld.toolbar}`]:{gridColumn:"2 / 4",gridRow:1},[`& .${Ld.shortcuts}`]:{gridColumn:1,gridRow:"2 / 3"}}},{props:{isLandscape:!1,isRtl:!0},style:{[`& .${Ld.shortcuts}`]:{gridColumn:3}}}]}),fW=He("div",{name:"MuiPickersLayout",slot:"ContentWrapper",overridesResolver:(e,n)=>n.contentWrapper})({gridColumn:2,gridRow:2,display:"flex",flexDirection:"column"}),lE=F.forwardRef(function(n,o){const i=br({props:n,name:"MuiPickersLayout"}),{toolbar:u,content:d,tabs:m,actionBar:v,shortcuts:g}=uW(i),{sx:S,className:w,isLandscape:E,wrapperVariant:R}=i,k=cW(i);return G.jsxs(dW,{ref:o,sx:S,className:ct(k.root,w),ownerState:i,children:[E?g:u,E?u:g,G.jsx(fW,{className:k.contentWrapper,children:R==="desktop"?G.jsxs(F.Fragment,{children:[d,m]}):G.jsxs(F.Fragment,{children:[m,d]})}),v]})});process.env.NODE_ENV!=="production"&&(lE.propTypes={children:s.node,classes:s.object,className:s.string,disabled:s.bool,isLandscape:s.bool.isRequired,isRtl:s.bool.isRequired,isValid:s.func.isRequired,onAccept:s.func.isRequired,onCancel:s.func.isRequired,onChange:s.func.isRequired,onClear:s.func.isRequired,onClose:s.func.isRequired,onDismiss:s.func.isRequired,onOpen:s.func.isRequired,onSelectShortcut:s.func.isRequired,onSetToday:s.func.isRequired,onViewChange:s.func.isRequired,orientation:s.oneOf(["landscape","portrait"]),readOnly:s.bool,slotProps:s.object,slots:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),value:s.any,view:s.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),views:s.arrayOf(s.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]).isRequired).isRequired,wrapperVariant:s.oneOf(["desktop","mobile"])});const pW=["props","getOpenDialogAriaText"],mW=["ownerState"],hW=["ownerState"],vW=e=>{var We;let{props:n,getOpenDialogAriaText:o}=e,i=dn(e,pW);const{slots:u,slotProps:d,className:m,sx:v,format:g,formatDensity:S,enableAccessibleFieldDOMStructure:w,selectedSections:E,onSelectedSectionsChange:R,timezone:k,name:O,label:_,inputRef:M,readOnly:V,disabled:j,autoFocus:A,localeText:$,reduceAnimations:P}=n,H=F.useRef(null),W=F.useRef(null),Y=Cv(),N=((We=d==null?void 0:d.toolbar)==null?void 0:We.hidden)??!1,{open:K,actions:Z,hasUIView:J,layoutProps:X,renderCurrentView:ee,shouldRestoreFocus:ne,fieldProps:te,contextValue:se,ownerState:ae}=NP(Ce({},i,{props:n,fieldRef:W,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"desktop"})),xe=u.inputAdornment??CC,oe=nr({elementType:xe,externalSlotProps:d==null?void 0:d.inputAdornment,additionalProps:{position:"end"},ownerState:n}),U=dn(oe,mW),fe=u.openPickerButton??Uh,Pe=nr({elementType:fe,externalSlotProps:d==null?void 0:d.openPickerButton,additionalProps:{disabled:j||V,onClick:K?Z.onClose:Z.onOpen,"aria-label":o(te.value),edge:U.position},ownerState:n}),Te=dn(Pe,hW),ue=u.openPickerIcon,we=nr({elementType:ue,externalSlotProps:d==null?void 0:d.openPickerIcon,ownerState:ae}),Ee=u.field,me=nr({elementType:Ee,externalSlotProps:d==null?void 0:d.field,additionalProps:Ce({},te,N&&{id:Y},{readOnly:V,disabled:j,className:m,sx:v,format:g,formatDensity:S,enableAccessibleFieldDOMStructure:w,selectedSections:E,onSelectedSectionsChange:R,timezone:k,label:_,name:O,autoFocus:A&&!n.open,focused:K?!0:void 0},M?{inputRef:M}:{}),ownerState:n});J&&(me.InputProps=Ce({},me.InputProps,{ref:H},!n.disableOpenPicker&&{[`${U.position}Adornment`]:G.jsx(xe,Ce({},U,{children:G.jsx(fe,Ce({},Te,{children:G.jsx(ue,Ce({},we))}))}))}));const De=Ce({textField:u.textField,clearIcon:u.clearIcon,clearButton:u.clearButton},me.slots),Ne=u.layout??lE;let je=Y;N&&(_?je=`${Y}-label`:je=void 0);const re=Ce({},d,{toolbar:Ce({},d==null?void 0:d.toolbar,{titleId:Y}),popper:Ce({"aria-labelledby":je},d==null?void 0:d.popper)}),Se=ki(W,me.unstableFieldRef);return{renderPicker:()=>G.jsxs(cP,{contextValue:se,localeText:$,children:[G.jsx(Ee,Ce({},me,{slots:De,slotProps:re,unstableFieldRef:Se})),G.jsx(Y6,Ce({role:"dialog",placement:"bottom-start",anchorEl:H.current},Z,{open:K,slots:u,slotProps:re,shouldRestoreFocus:ne,reduceAnimations:P,children:G.jsx(Ne,Ce({},X,re==null?void 0:re.layout,{slots:u,slotProps:re,children:ee()}))}))]})}},Ep=({view:e,onViewChange:n,views:o,focusedView:i,onFocusedViewChange:u,value:d,defaultValue:m,referenceDate:v,onChange:g,className:S,classes:w,disableFuture:E,disablePast:R,minDate:k,maxDate:O,shouldDisableDate:_,shouldDisableMonth:M,shouldDisableYear:V,reduceAnimations:j,onMonthChange:A,monthsPerRow:$,onYearChange:P,yearsOrder:H,yearsPerRow:W,slots:Y,slotProps:N,loading:K,renderLoading:Z,disableHighlightToday:J,readOnly:X,disabled:ee,showDaysOutsideCurrentMonth:ne,dayOfWeekFormatter:te,sx:se,autoFocus:ae,fixedWeekNumber:xe,displayWeekNumber:oe,timezone:U})=>G.jsx(DP,{view:e,onViewChange:n,views:o.filter(HM),focusedView:i&&HM(i)?i:null,onFocusedViewChange:u,value:d,defaultValue:m,referenceDate:v,onChange:g,className:S,classes:w,disableFuture:E,disablePast:R,minDate:k,maxDate:O,shouldDisableDate:_,shouldDisableMonth:M,shouldDisableYear:V,reduceAnimations:j,onMonthChange:A,monthsPerRow:$,onYearChange:P,yearsOrder:H,yearsPerRow:W,slots:Y,slotProps:N,loading:K,renderLoading:Z,disableHighlightToday:J,readOnly:X,disabled:ee,showDaysOutsideCurrentMonth:ne,dayOfWeekFormatter:te,sx:se,autoFocus:ae,fixedWeekNumber:xe,displayWeekNumber:oe,timezone:U}),IP=F.forwardRef(function(n,o){var S,w;const i=uu(),u=Cr(),d=MP(n,"MuiDesktopDatePicker"),m=Ce({day:Ep,month:Ep,year:Ep},d.viewRenderers),v=Ce({},d,{viewRenderers:m,format:QC(u,d,!1),yearsPerRow:d.yearsPerRow??4,slots:Ce({openPickerIcon:p3,field:sE},d.slots),slotProps:Ce({},d.slotProps,{field:E=>{var R;return Ce({},WC((R=d.slotProps)==null?void 0:R.field,E),sP(d),{ref:o})},toolbar:Ce({hidden:!0},(S=d.slotProps)==null?void 0:S.toolbar)})}),{renderPicker:g}=vW({props:v,valueManager:pl,valueType:"date",getOpenDialogAriaText:$M({utils:u,formatKey:"fullDate",contextTranslation:i.openDatePickerDialogue,propsTranslation:(w=v.localeText)==null?void 0:w.openDatePickerDialogue}),validator:Mv});return g()});IP.propTypes={autoFocus:s.bool,className:s.string,closeOnSelect:s.bool,dayOfWeekFormatter:s.func,defaultValue:s.object,disabled:s.bool,disableFuture:s.bool,disableHighlightToday:s.bool,disableOpenPicker:s.bool,disablePast:s.bool,displayWeekNumber:s.bool,enableAccessibleFieldDOMStructure:s.any,fixedWeekNumber:s.number,format:s.string,formatDensity:s.oneOf(["dense","spacious"]),inputRef:su,label:s.node,loading:s.bool,localeText:s.object,maxDate:s.object,minDate:s.object,monthsPerRow:s.oneOf([3,4]),name:s.string,onAccept:s.func,onChange:s.func,onClose:s.func,onError:s.func,onMonthChange:s.func,onOpen:s.func,onSelectedSectionsChange:s.func,onViewChange:s.func,onYearChange:s.func,open:s.bool,openTo:s.oneOf(["day","month","year"]),orientation:s.oneOf(["landscape","portrait"]),readOnly:s.bool,reduceAnimations:s.bool,referenceDate:s.object,renderLoading:s.func,selectedSections:s.oneOfType([s.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),s.number]),shouldDisableDate:s.func,shouldDisableMonth:s.func,shouldDisableYear:s.func,showDaysOutsideCurrentMonth:s.bool,slotProps:s.object,slots:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),timezone:s.string,value:s.object,view:s.oneOf(["day","month","year"]),viewRenderers:s.shape({day:s.func,month:s.func,year:s.func}),views:s.arrayOf(s.oneOf(["day","month","year"]).isRequired),yearsOrder:s.oneOf(["asc","desc"]),yearsPerRow:s.oneOf([3,4])};const yW=He(Ck)({[`& .${ov.container}`]:{outline:0},[`& .${ov.paper}`]:{outline:0,minWidth:f0}}),gW=He(Tk)({"&:first-of-type":{padding:0}});function bW(e){const{children:n,onDismiss:o,open:i,slots:u,slotProps:d}=e,m=(u==null?void 0:u.dialog)??yW,v=(u==null?void 0:u.mobileTransition)??Od;return G.jsx(m,Ce({open:i,onClose:o},d==null?void 0:d.dialog,{TransitionComponent:v,TransitionProps:d==null?void 0:d.mobileTransition,PaperComponent:u==null?void 0:u.mobilePaper,PaperProps:d==null?void 0:d.mobilePaper,children:G.jsx(gW,{children:n})}))}const SW=["props","getOpenDialogAriaText"],xW=e=>{var U;let{props:n,getOpenDialogAriaText:o}=e,i=dn(e,SW);const{slots:u,slotProps:d,className:m,sx:v,format:g,formatDensity:S,enableAccessibleFieldDOMStructure:w,selectedSections:E,onSelectedSectionsChange:R,timezone:k,name:O,label:_,inputRef:M,readOnly:V,disabled:j,localeText:A}=n,$=F.useRef(null),P=Cv(),H=((U=d==null?void 0:d.toolbar)==null?void 0:U.hidden)??!1,{open:W,actions:Y,layoutProps:N,renderCurrentView:K,fieldProps:Z,contextValue:J}=NP(Ce({},i,{props:n,fieldRef:$,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"mobile"})),X=u.field,ee=nr({elementType:X,externalSlotProps:d==null?void 0:d.field,additionalProps:Ce({},Z,H&&{id:P},!(j||V)&&{onClick:Y.onOpen,onKeyDown:J3(Y.onOpen)},{readOnly:V??!0,disabled:j,className:m,sx:v,format:g,formatDensity:S,enableAccessibleFieldDOMStructure:w,selectedSections:E,onSelectedSectionsChange:R,timezone:k,label:_,name:O},M?{inputRef:M}:{}),ownerState:n});ee.inputProps=Ce({},ee.inputProps,{"aria-label":o(Z.value)});const ne=Ce({textField:u.textField},ee.slots),te=u.layout??lE;let se=P;H&&(_?se=`${P}-label`:se=void 0);const ae=Ce({},d,{toolbar:Ce({},d==null?void 0:d.toolbar,{titleId:P}),mobilePaper:Ce({"aria-labelledby":se},d==null?void 0:d.mobilePaper)}),xe=ki($,ee.unstableFieldRef);return{renderPicker:()=>G.jsxs(cP,{contextValue:J,localeText:A,children:[G.jsx(X,Ce({},ee,{slots:ne,slotProps:ae,unstableFieldRef:xe})),G.jsx(bW,Ce({},Y,{open:W,slots:u,slotProps:ae,children:G.jsx(te,Ce({},N,ae==null?void 0:ae.layout,{slots:u,slotProps:ae,children:K()}))}))]})}},$P=F.forwardRef(function(n,o){var S,w;const i=uu(),u=Cr(),d=MP(n,"MuiMobileDatePicker"),m=Ce({day:Ep,month:Ep,year:Ep},d.viewRenderers),v=Ce({},d,{viewRenderers:m,format:QC(u,d,!1),slots:Ce({field:sE},d.slots),slotProps:Ce({},d.slotProps,{field:E=>{var R;return Ce({},WC((R=d.slotProps)==null?void 0:R.field,E),sP(d),{ref:o})},toolbar:Ce({hidden:!1},(S=d.slotProps)==null?void 0:S.toolbar)})}),{renderPicker:g}=xW({props:v,valueManager:pl,valueType:"date",getOpenDialogAriaText:$M({utils:u,formatKey:"fullDate",contextTranslation:i.openDatePickerDialogue,propsTranslation:(w=v.localeText)==null?void 0:w.openDatePickerDialogue}),validator:Mv});return g()});$P.propTypes={autoFocus:s.bool,className:s.string,closeOnSelect:s.bool,dayOfWeekFormatter:s.func,defaultValue:s.object,disabled:s.bool,disableFuture:s.bool,disableHighlightToday:s.bool,disableOpenPicker:s.bool,disablePast:s.bool,displayWeekNumber:s.bool,enableAccessibleFieldDOMStructure:s.any,fixedWeekNumber:s.number,format:s.string,formatDensity:s.oneOf(["dense","spacious"]),inputRef:su,label:s.node,loading:s.bool,localeText:s.object,maxDate:s.object,minDate:s.object,monthsPerRow:s.oneOf([3,4]),name:s.string,onAccept:s.func,onChange:s.func,onClose:s.func,onError:s.func,onMonthChange:s.func,onOpen:s.func,onSelectedSectionsChange:s.func,onViewChange:s.func,onYearChange:s.func,open:s.bool,openTo:s.oneOf(["day","month","year"]),orientation:s.oneOf(["landscape","portrait"]),readOnly:s.bool,reduceAnimations:s.bool,referenceDate:s.object,renderLoading:s.func,selectedSections:s.oneOfType([s.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),s.number]),shouldDisableDate:s.func,shouldDisableMonth:s.func,shouldDisableYear:s.func,showDaysOutsideCurrentMonth:s.bool,slotProps:s.object,slots:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),timezone:s.string,value:s.object,view:s.oneOf(["day","month","year"]),viewRenderers:s.shape({day:s.func,month:s.func,year:s.func}),views:s.arrayOf(s.oneOf(["day","month","year"]).isRequired),yearsOrder:s.oneOf(["asc","desc"]),yearsPerRow:s.oneOf([3,4])};const wW=["desktopModeMediaQuery"],jP=F.forwardRef(function(n,o){const i=br({props:n,name:"MuiDatePicker"}),{desktopModeMediaQuery:u=e4}=i,d=dn(i,wW);return QO(u,{defaultMatches:!0})?G.jsx(IP,Ce({ref:o},d)):G.jsx($P,Ce({ref:o},d))});process.env.NODE_ENV!=="production"&&(jP.propTypes={autoFocus:s.bool,className:s.string,closeOnSelect:s.bool,dayOfWeekFormatter:s.func,defaultValue:s.object,desktopModeMediaQuery:s.string,disabled:s.bool,disableFuture:s.bool,disableHighlightToday:s.bool,disableOpenPicker:s.bool,disablePast:s.bool,displayWeekNumber:s.bool,enableAccessibleFieldDOMStructure:s.any,fixedWeekNumber:s.number,format:s.string,formatDensity:s.oneOf(["dense","spacious"]),inputRef:su,label:s.node,loading:s.bool,localeText:s.object,maxDate:s.object,minDate:s.object,monthsPerRow:s.oneOf([3,4]),name:s.string,onAccept:s.func,onChange:s.func,onClose:s.func,onError:s.func,onMonthChange:s.func,onOpen:s.func,onSelectedSectionsChange:s.func,onViewChange:s.func,onYearChange:s.func,open:s.bool,openTo:s.oneOf(["day","month","year"]),orientation:s.oneOf(["landscape","portrait"]),readOnly:s.bool,reduceAnimations:s.bool,referenceDate:s.object,renderLoading:s.func,selectedSections:s.oneOfType([s.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),s.number]),shouldDisableDate:s.func,shouldDisableMonth:s.func,shouldDisableYear:s.func,showDaysOutsideCurrentMonth:s.bool,slotProps:s.object,slots:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),timezone:s.string,value:s.object,view:s.oneOf(["day","month","year"]),viewRenderers:s.shape({day:s.func,month:s.func,year:s.func}),views:s.arrayOf(s.oneOf(["day","month","year"]).isRequired),yearsOrder:s.oneOf(["asc","desc"]),yearsPerRow:s.oneOf([3,4])});function CW({name:e,rules:n={},sx:o={},...i}){const{field:u,fieldState:{error:d}}=o0({name:e,rules:n});return G.jsx(mp,{sx:o,children:G.jsx(jP,{...u,value:new Date(u.value),...i,sx:{width:"100%"},slotProps:{textField:{helperText:!!d&&d.message,error:!!d}}})})}function VP({name:e,label:n,rules:o={},sx:i={},...u}){const{field:d,fieldState:{error:m}}=o0({name:e,rules:o}),g={...UC(),...i};return G.jsx(mp,{sx:g,children:G.jsx(PC,{...d,label:n,fullWidth:!0,...u,error:!!m,helperText:!!m&&m.message,onChange:S=>d.onChange(u.type==="number"?parseFloat(S.target.value):S.target.value)})})}function EW(e){return G.jsx(VP,{...e,type:"number"})}function TW({name:e,label:n,options:o,sx:i={},disabled:u,rules:d={},...m}){const{field:v,fieldState:{error:g}}=o0({name:e,rules:d}),w={...UC(),...i};return G.jsx(mp,{sx:w,children:G.jsxs(vp,{fullWidth:!0,error:!!g,disabled:u,children:[G.jsx(jb,{id:`${e}-label`,sx:{fontWeight:500,color:Hb.foundations.colors.gray1000,marginBottom:1},children:n}),G.jsx(Bb,{labelId:`${e}-label`,id:`${e}-select`,...v,...m,displayEmpty:!0,variant:"outlined",fullWidth:!0,children:o.map(E=>G.jsx(Hk,{value:E.value,children:E.label},E.value))}),g&&G.jsx(sv,{children:g.message})]})})}function RW({children:e,internal:n,required:o,helpText:i}){return G.jsxs(mp,{sx:{display:"flex",alignItems:"center",gap:.5},children:[n&&G.jsx(MC,{placement:"top",title:"This field is hidden from the public.",sx:{cursor:"default"},children:G.jsx(DU,{fontSize:"small",htmlColor:Hb.foundations.colors.gray600})}),G.jsxs(Es,{variant:"h4",children:[e,o&&"*"]}),i&&i!==""&&G.jsx(MC,{placement:"top",title:i,sx:{cursor:"default"},children:G.jsx(kU,{fontSize:"small",htmlColor:Hb.foundations.colors.gray600})})]})}const BP=6048e5,OW=864e5,zP=6e4,UP=36e5,DW=1e3,HP=Symbol.for("constructDateFrom");function kr(e,n){return typeof e=="function"?e(n):e&&typeof e=="object"&&HP in e?e[HP](n):e instanceof Date?new e.constructor(n):new Date(n)}function Wt(e,n){return kr(n||e,e)}function Nv(e,n,o){const i=Wt(e,o==null?void 0:o.in);return isNaN(n)?kr((o==null?void 0:o.in)||e,NaN):(n&&i.setDate(i.getDate()+n),i)}function WP(e,n,o){return kr(e,+Wt(e)+n)}function kW(e,n,o){return WP(e,n*1e3)}function MW(e,n,o){const i=Wt(e,o==null?void 0:o.in);return i.setTime(i.getTime()+n*zP),i}function PW(e,n,o){return WP(e,n*UP)}function _W(e,n,o){return Nv(e,n*7,o)}function YP(e,n,o){const i=Wt(e,o==null?void 0:o.in);if(isNaN(n))return kr(e,NaN);if(!n)return i;const u=i.getDate(),d=kr(e,i.getTime());d.setMonth(i.getMonth()+n+1,0);const m=d.getDate();return u>=m?d:(i.setFullYear(d.getFullYear(),d.getMonth(),u),i)}function NW(e,n,o){return YP(e,n*12,o)}function qP(e,n){const o=Wt(e,n==null?void 0:n.in);return o.setHours(23,59,59,999),o}let AW={};function Id(){return AW}function FW(e,n){var v,g,S,w;const o=Id(),i=(n==null?void 0:n.weekStartsOn)??((g=(v=n==null?void 0:n.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??o.weekStartsOn??((w=(S=o.locale)==null?void 0:S.options)==null?void 0:w.weekStartsOn)??0,u=Wt(e,n==null?void 0:n.in),d=u.getDay(),m=(d<i?-7:0)+6-(d-i);return u.setDate(u.getDate()+m),u.setHours(23,59,59,999),u}function GP(e,n){const o=Wt(e,n==null?void 0:n.in),i=o.getFullYear();return o.setFullYear(i+1,0,0),o.setHours(23,59,59,999),o}const LW={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"}},IW=(e,n,o)=>{let i;const u=LW[e];return typeof u=="string"?i=u:n===1?i=u.one:i=u.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"in "+i:i+" ago":i};function uE(e){return(n={})=>{const o=n.width?String(n.width):e.defaultWidth;return e.formats[o]||e.formats[e.defaultWidth]}}const $W={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},jW={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},VW={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},BW={date:uE({formats:$W,defaultWidth:"full"}),time:uE({formats:jW,defaultWidth:"full"}),dateTime:uE({formats:VW,defaultWidth:"full"})},zW={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},UW=(e,n,o,i)=>zW[e];function Av(e){return(n,o)=>{const i=o!=null&&o.context?String(o.context):"standalone";let u;if(i==="formatting"&&e.formattingValues){const m=e.defaultFormattingWidth||e.defaultWidth,v=o!=null&&o.width?String(o.width):m;u=e.formattingValues[v]||e.formattingValues[m]}else{const m=e.defaultWidth,v=o!=null&&o.width?String(o.width):e.defaultWidth;u=e.values[v]||e.values[m]}const d=e.argumentCallback?e.argumentCallback(n):n;return u[d]}}const HW={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},WW={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},YW={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"]},qW={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"]},GW={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"}},KW={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"}},QW={ordinalNumber:(e,n)=>{const o=Number(e),i=o%100;if(i>20||i<10)switch(i%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},era:Av({values:HW,defaultWidth:"wide"}),quarter:Av({values:WW,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Av({values:YW,defaultWidth:"wide"}),day:Av({values:qW,defaultWidth:"wide"}),dayPeriod:Av({values:GW,defaultWidth:"wide",formattingValues:KW,defaultFormattingWidth:"wide"})};function Fv(e){return(n,o={})=>{const i=o.width,u=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],d=n.match(u);if(!d)return null;const m=d[0],v=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],g=Array.isArray(v)?ZW(v,E=>E.test(m)):XW(v,E=>E.test(m));let S;S=e.valueCallback?e.valueCallback(g):g,S=o.valueCallback?o.valueCallback(S):S;const w=n.slice(m.length);return{value:S,rest:w}}}function XW(e,n){for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&n(e[o]))return o}function ZW(e,n){for(let o=0;o<e.length;o++)if(n(e[o]))return o}function JW(e){return(n,o={})=>{const i=n.match(e.matchPattern);if(!i)return null;const u=i[0],d=n.match(e.parsePattern);if(!d)return null;let m=e.valueCallback?e.valueCallback(d[0]):d[0];m=o.valueCallback?o.valueCallback(m):m;const v=n.slice(u.length);return{value:m,rest:v}}}const e8=/^(\d+)(th|st|nd|rd)?/i,t8=/\d+/i,n8={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},r8={any:[/^b/i,/^(a|c)/i]},o8={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},a8={any:[/1/i,/2/i,/3/i,/4/i]},i8={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},s8={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]},l8={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},u8={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]},c8={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},d8={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}},f8={ordinalNumber:JW({matchPattern:e8,parsePattern:t8,valueCallback:e=>parseInt(e,10)}),era:Fv({matchPatterns:n8,defaultMatchWidth:"wide",parsePatterns:r8,defaultParseWidth:"any"}),quarter:Fv({matchPatterns:o8,defaultMatchWidth:"wide",parsePatterns:a8,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Fv({matchPatterns:i8,defaultMatchWidth:"wide",parsePatterns:s8,defaultParseWidth:"any"}),day:Fv({matchPatterns:l8,defaultMatchWidth:"wide",parsePatterns:u8,defaultParseWidth:"any"}),dayPeriod:Fv({matchPatterns:c8,defaultMatchWidth:"any",parsePatterns:d8,defaultParseWidth:"any"})},cE={code:"en-US",formatDistance:IW,formatLong:BW,formatRelative:UW,localize:QW,match:f8,options:{weekStartsOn:0,firstWeekContainsDate:1}};function b0(e){const n=Wt(e),o=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return o.setUTCFullYear(n.getFullYear()),+e-+o}function Lv(e,...n){const o=kr.bind(null,n.find(i=>typeof i=="object"));return n.map(o)}function Iv(e,n){const o=Wt(e,n==null?void 0:n.in);return o.setHours(0,0,0,0),o}function p8(e,n,o){const[i,u]=Lv(o==null?void 0:o.in,e,n),d=Iv(i),m=Iv(u),v=+d-b0(d),g=+m-b0(m);return Math.round((v-g)/OW)}function KP(e,n){const o=Wt(e,n==null?void 0:n.in);return o.setFullYear(o.getFullYear(),0,1),o.setHours(0,0,0,0),o}function m8(e,n){const o=Wt(e,n==null?void 0:n.in);return p8(o,KP(o))+1}function cu(e,n){var v,g,S,w;const o=Id(),i=(n==null?void 0:n.weekStartsOn)??((g=(v=n==null?void 0:n.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??o.weekStartsOn??((w=(S=o.locale)==null?void 0:S.options)==null?void 0:w.weekStartsOn)??0,u=Wt(e,n==null?void 0:n.in),d=u.getDay(),m=(d<i?7:0)+d-i;return u.setDate(u.getDate()-m),u.setHours(0,0,0,0),u}function Tp(e,n){return cu(e,{...n,weekStartsOn:1})}function QP(e,n){const o=Wt(e,n==null?void 0:n.in),i=o.getFullYear(),u=kr(o,0);u.setFullYear(i+1,0,4),u.setHours(0,0,0,0);const d=Tp(u),m=kr(o,0);m.setFullYear(i,0,4),m.setHours(0,0,0,0);const v=Tp(m);return o.getTime()>=d.getTime()?i+1:o.getTime()>=v.getTime()?i:i-1}function h8(e,n){const o=QP(e,n),i=kr(e,0);return i.setFullYear(o,0,4),i.setHours(0,0,0,0),Tp(i)}function XP(e,n){const o=Wt(e,n==null?void 0:n.in),i=+Tp(o)-+h8(o);return Math.round(i/BP)+1}function dE(e,n){var w,E,R,k;const o=Wt(e,n==null?void 0:n.in),i=o.getFullYear(),u=Id(),d=(n==null?void 0:n.firstWeekContainsDate)??((E=(w=n==null?void 0:n.locale)==null?void 0:w.options)==null?void 0:E.firstWeekContainsDate)??u.firstWeekContainsDate??((k=(R=u.locale)==null?void 0:R.options)==null?void 0:k.firstWeekContainsDate)??1,m=kr((n==null?void 0:n.in)||e,0);m.setFullYear(i+1,0,d),m.setHours(0,0,0,0);const v=cu(m,n),g=kr((n==null?void 0:n.in)||e,0);g.setFullYear(i,0,d),g.setHours(0,0,0,0);const S=cu(g,n);return+o>=+v?i+1:+o>=+S?i:i-1}function v8(e,n){var v,g,S,w;const o=Id(),i=(n==null?void 0:n.firstWeekContainsDate)??((g=(v=n==null?void 0:n.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??o.firstWeekContainsDate??((w=(S=o.locale)==null?void 0:S.options)==null?void 0:w.firstWeekContainsDate)??1,u=dE(e,n),d=kr((n==null?void 0:n.in)||e,0);return d.setFullYear(u,0,i),d.setHours(0,0,0,0),cu(d,n)}function fE(e,n){const o=Wt(e,n==null?void 0:n.in),i=+cu(o,n)-+v8(o,n);return Math.round(i/BP)+1}function rr(e,n){const o=e<0?"-":"",i=Math.abs(e).toString().padStart(n,"0");return o+i}const ic={y(e,n){const o=e.getFullYear(),i=o>0?o:1-o;return rr(n==="yy"?i%100:i,n.length)},M(e,n){const o=e.getMonth();return n==="M"?String(o+1):rr(o+1,2)},d(e,n){return rr(e.getDate(),n.length)},a(e,n){const o=e.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return o.toUpperCase();case"aaa":return o;case"aaaaa":return o[0];case"aaaa":default:return o==="am"?"a.m.":"p.m."}},h(e,n){return rr(e.getHours()%12||12,n.length)},H(e,n){return rr(e.getHours(),n.length)},m(e,n){return rr(e.getMinutes(),n.length)},s(e,n){return rr(e.getSeconds(),n.length)},S(e,n){const o=n.length,i=e.getMilliseconds(),u=Math.trunc(i*Math.pow(10,o-3));return rr(u,n.length)}},Rp={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ZP={G:function(e,n,o){const i=e.getFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return o.era(i,{width:"abbreviated"});case"GGGGG":return o.era(i,{width:"narrow"});case"GGGG":default:return o.era(i,{width:"wide"})}},y:function(e,n,o){if(n==="yo"){const i=e.getFullYear(),u=i>0?i:1-i;return o.ordinalNumber(u,{unit:"year"})}return ic.y(e,n)},Y:function(e,n,o,i){const u=dE(e,i),d=u>0?u:1-u;if(n==="YY"){const m=d%100;return rr(m,2)}return n==="Yo"?o.ordinalNumber(d,{unit:"year"}):rr(d,n.length)},R:function(e,n){const o=QP(e);return rr(o,n.length)},u:function(e,n){const o=e.getFullYear();return rr(o,n.length)},Q:function(e,n,o){const i=Math.ceil((e.getMonth()+1)/3);switch(n){case"Q":return String(i);case"QQ":return rr(i,2);case"Qo":return o.ordinalNumber(i,{unit:"quarter"});case"QQQ":return o.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return o.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,n,o){const i=Math.ceil((e.getMonth()+1)/3);switch(n){case"q":return String(i);case"qq":return rr(i,2);case"qo":return o.ordinalNumber(i,{unit:"quarter"});case"qqq":return o.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return o.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,n,o){const i=e.getMonth();switch(n){case"M":case"MM":return ic.M(e,n);case"Mo":return o.ordinalNumber(i+1,{unit:"month"});case"MMM":return o.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return o.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(i,{width:"wide",context:"formatting"})}},L:function(e,n,o){const i=e.getMonth();switch(n){case"L":return String(i+1);case"LL":return rr(i+1,2);case"Lo":return o.ordinalNumber(i+1,{unit:"month"});case"LLL":return o.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return o.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(i,{width:"wide",context:"standalone"})}},w:function(e,n,o,i){const u=fE(e,i);return n==="wo"?o.ordinalNumber(u,{unit:"week"}):rr(u,n.length)},I:function(e,n,o){const i=XP(e);return n==="Io"?o.ordinalNumber(i,{unit:"week"}):rr(i,n.length)},d:function(e,n,o){return n==="do"?o.ordinalNumber(e.getDate(),{unit:"date"}):ic.d(e,n)},D:function(e,n,o){const i=m8(e);return n==="Do"?o.ordinalNumber(i,{unit:"dayOfYear"}):rr(i,n.length)},E:function(e,n,o){const i=e.getDay();switch(n){case"E":case"EE":case"EEE":return o.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return o.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(i,{width:"short",context:"formatting"});case"EEEE":default:return o.day(i,{width:"wide",context:"formatting"})}},e:function(e,n,o,i){const u=e.getDay(),d=(u-i.weekStartsOn+8)%7||7;switch(n){case"e":return String(d);case"ee":return rr(d,2);case"eo":return o.ordinalNumber(d,{unit:"day"});case"eee":return o.day(u,{width:"abbreviated",context:"formatting"});case"eeeee":return o.day(u,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(u,{width:"short",context:"formatting"});case"eeee":default:return o.day(u,{width:"wide",context:"formatting"})}},c:function(e,n,o,i){const u=e.getDay(),d=(u-i.weekStartsOn+8)%7||7;switch(n){case"c":return String(d);case"cc":return rr(d,n.length);case"co":return o.ordinalNumber(d,{unit:"day"});case"ccc":return o.day(u,{width:"abbreviated",context:"standalone"});case"ccccc":return o.day(u,{width:"narrow",context:"standalone"});case"cccccc":return o.day(u,{width:"short",context:"standalone"});case"cccc":default:return o.day(u,{width:"wide",context:"standalone"})}},i:function(e,n,o){const i=e.getDay(),u=i===0?7:i;switch(n){case"i":return String(u);case"ii":return rr(u,n.length);case"io":return o.ordinalNumber(u,{unit:"day"});case"iii":return o.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return o.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return o.day(i,{width:"short",context:"formatting"});case"iiii":default:return o.day(i,{width:"wide",context:"formatting"})}},a:function(e,n,o){const u=e.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return o.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"aaa":return o.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return o.dayPeriod(u,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(u,{width:"wide",context:"formatting"})}},b:function(e,n,o){const i=e.getHours();let u;switch(i===12?u=Rp.noon:i===0?u=Rp.midnight:u=i/12>=1?"pm":"am",n){case"b":case"bb":return o.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"bbb":return o.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return o.dayPeriod(u,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(u,{width:"wide",context:"formatting"})}},B:function(e,n,o){const i=e.getHours();let u;switch(i>=17?u=Rp.evening:i>=12?u=Rp.afternoon:i>=4?u=Rp.morning:u=Rp.night,n){case"B":case"BB":case"BBB":return o.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"BBBBB":return o.dayPeriod(u,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(u,{width:"wide",context:"formatting"})}},h:function(e,n,o){if(n==="ho"){let i=e.getHours()%12;return i===0&&(i=12),o.ordinalNumber(i,{unit:"hour"})}return ic.h(e,n)},H:function(e,n,o){return n==="Ho"?o.ordinalNumber(e.getHours(),{unit:"hour"}):ic.H(e,n)},K:function(e,n,o){const i=e.getHours()%12;return n==="Ko"?o.ordinalNumber(i,{unit:"hour"}):rr(i,n.length)},k:function(e,n,o){let i=e.getHours();return i===0&&(i=24),n==="ko"?o.ordinalNumber(i,{unit:"hour"}):rr(i,n.length)},m:function(e,n,o){return n==="mo"?o.ordinalNumber(e.getMinutes(),{unit:"minute"}):ic.m(e,n)},s:function(e,n,o){return n==="so"?o.ordinalNumber(e.getSeconds(),{unit:"second"}):ic.s(e,n)},S:function(e,n){return ic.S(e,n)},X:function(e,n,o){const i=e.getTimezoneOffset();if(i===0)return"Z";switch(n){case"X":return e_(i);case"XXXX":case"XX":return $d(i);case"XXXXX":case"XXX":default:return $d(i,":")}},x:function(e,n,o){const i=e.getTimezoneOffset();switch(n){case"x":return e_(i);case"xxxx":case"xx":return $d(i);case"xxxxx":case"xxx":default:return $d(i,":")}},O:function(e,n,o){const i=e.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+JP(i,":");case"OOOO":default:return"GMT"+$d(i,":")}},z:function(e,n,o){const i=e.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+JP(i,":");case"zzzz":default:return"GMT"+$d(i,":")}},t:function(e,n,o){const i=Math.trunc(+e/1e3);return rr(i,n.length)},T:function(e,n,o){return rr(+e,n.length)}};function JP(e,n=""){const o=e>0?"-":"+",i=Math.abs(e),u=Math.trunc(i/60),d=i%60;return d===0?o+String(u):o+String(u)+n+rr(d,2)}function e_(e,n){return e%60===0?(e>0?"-":"+")+rr(Math.abs(e)/60,2):$d(e,n)}function $d(e,n=""){const o=e>0?"-":"+",i=Math.abs(e),u=rr(Math.trunc(i/60),2),d=rr(i%60,2);return o+u+n+d}const t_=(e,n)=>{switch(e){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},n_=(e,n)=>{switch(e){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},$v={p:n_,P:(e,n)=>{const o=e.match(/(P+)(p+)?/)||[],i=o[1],u=o[2];if(!u)return t_(e,n);let d;switch(i){case"P":d=n.dateTime({width:"short"});break;case"PP":d=n.dateTime({width:"medium"});break;case"PPP":d=n.dateTime({width:"long"});break;case"PPPP":default:d=n.dateTime({width:"full"});break}return d.replace("{{date}}",t_(i,n)).replace("{{time}}",n_(u,n))}},y8=/^D+$/,g8=/^Y+$/,b8=["D","DD","YY","YYYY"];function r_(e){return y8.test(e)}function o_(e){return g8.test(e)}function pE(e,n,o){const i=S8(e,n,o);if(console.warn(i),b8.includes(e))throw new RangeError(i)}function S8(e,n,o){const i=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${n}\`) for formatting ${i} to the input \`${o}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function x8(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function a_(e){return!(!x8(e)&&typeof e!="number"||isNaN(+Wt(e)))}const w8=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,C8=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,E8=/^'([^]*?)'?$/,T8=/''/g,R8=/[a-zA-Z]/;function O8(e,n,o){var w,E,R,k,O,_,M,V;const i=Id(),u=(o==null?void 0:o.locale)??i.locale??cE,d=(o==null?void 0:o.firstWeekContainsDate)??((E=(w=o==null?void 0:o.locale)==null?void 0:w.options)==null?void 0:E.firstWeekContainsDate)??i.firstWeekContainsDate??((k=(R=i.locale)==null?void 0:R.options)==null?void 0:k.firstWeekContainsDate)??1,m=(o==null?void 0:o.weekStartsOn)??((_=(O=o==null?void 0:o.locale)==null?void 0:O.options)==null?void 0:_.weekStartsOn)??i.weekStartsOn??((V=(M=i.locale)==null?void 0:M.options)==null?void 0:V.weekStartsOn)??0,v=Wt(e,o==null?void 0:o.in);if(!a_(v))throw new RangeError("Invalid time value");let g=n.match(C8).map(j=>{const A=j[0];if(A==="p"||A==="P"){const $=$v[A];return $(j,u.formatLong)}return j}).join("").match(w8).map(j=>{if(j==="''")return{isToken:!1,value:"'"};const A=j[0];if(A==="'")return{isToken:!1,value:D8(j)};if(ZP[A])return{isToken:!0,value:j};if(A.match(R8))throw new RangeError("Format string contains an unescaped latin alphabet character `"+A+"`");return{isToken:!1,value:j}});u.localize.preprocessor&&(g=u.localize.preprocessor(v,g));const S={firstWeekContainsDate:d,weekStartsOn:m,locale:u};return g.map(j=>{if(!j.isToken)return j.value;const A=j.value;(!(o!=null&&o.useAdditionalWeekYearTokens)&&o_(A)||!(o!=null&&o.useAdditionalDayOfYearTokens)&&r_(A))&&pE(A,n,String(e));const $=ZP[A[0]];return $(v,A,u.localize,S)}).join("")}function D8(e){const n=e.match(E8);return n?n[1].replace(T8,"'"):e}function k8(e,n){return Wt(e,n==null?void 0:n.in).getDate()}function i_(e,n){const o=Wt(e,n==null?void 0:n.in),i=o.getFullYear(),u=o.getMonth(),d=kr(o,0);return d.setFullYear(i,u+1,0),d.setHours(0,0,0,0),d.getDate()}function M8(e,n){return Wt(e,n==null?void 0:n.in).getHours()}function P8(e,n){return Wt(e,n==null?void 0:n.in).getMinutes()}function _8(e,n){return Wt(e,n==null?void 0:n.in).getMonth()}function N8(e){return Wt(e).getSeconds()}function A8(e){return Wt(e).getMilliseconds()}function F8(e,n){return Wt(e,n==null?void 0:n.in).getFullYear()}function mE(e,n){return+Wt(e)>+Wt(n)}function hE(e,n){return+Wt(e)<+Wt(n)}function L8(e,n){return+Wt(e)==+Wt(n)}function I8(e,n,o){const[i,u]=Lv(o==null?void 0:o.in,e,n);return+Iv(i)==+Iv(u)}function $8(e,n,o){const[i,u]=Lv(o==null?void 0:o.in,e,n);return i.getFullYear()===u.getFullYear()}function j8(e,n,o){const[i,u]=Lv(o==null?void 0:o.in,e,n);return i.getFullYear()===u.getFullYear()&&i.getMonth()===u.getMonth()}function s_(e,n){const o=Wt(e,n==null?void 0:n.in);return o.setMinutes(0,0,0),o}function V8(e,n,o){const[i,u]=Lv(o==null?void 0:o.in,e,n);return+s_(i)==+s_(u)}function B8(){return Object.assign({},Id())}function z8(e,n){const o=U8(n)?new n(0):kr(n,0);return o.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),o.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),o}function U8(e){var n;return typeof e=="function"&&((n=e.prototype)==null?void 0:n.constructor)===e}const H8=10;class l_{constructor(){xt(this,"subPriority",0)}validate(n,o){return!0}}class W8 extends l_{constructor(n,o,i,u,d){super(),this.value=n,this.validateValue=o,this.setValue=i,this.priority=u,d&&(this.subPriority=d)}validate(n,o){return this.validateValue(n,this.value,o)}set(n,o,i){return this.setValue(n,o,this.value,i)}}class Y8 extends l_{constructor(o,i){super();xt(this,"priority",H8);xt(this,"subPriority",-1);this.context=o||(u=>kr(i,u))}set(o,i){return i.timestampIsSet?o:kr(o,z8(o,this.context))}}class Hn{run(n,o,i,u){const d=this.parse(n,o,i,u);return d?{setter:new W8(d.value,this.validate,this.set,this.priority,this.subPriority),rest:d.rest}:null}validate(n,o,i){return!0}}class q8 extends Hn{constructor(){super(...arguments);xt(this,"priority",140);xt(this,"incompatibleTokens",["R","u","t","T"])}parse(o,i,u){switch(i){case"G":case"GG":case"GGG":return u.era(o,{width:"abbreviated"})||u.era(o,{width:"narrow"});case"GGGGG":return u.era(o,{width:"narrow"});case"GGGG":default:return u.era(o,{width:"wide"})||u.era(o,{width:"abbreviated"})||u.era(o,{width:"narrow"})}}set(o,i,u){return i.era=u,o.setFullYear(u,0,1),o.setHours(0,0,0,0),o}}const io={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}/},ml={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 so(e,n){return e&&{value:n(e.value),rest:e.rest}}function Fr(e,n){const o=n.match(e);return o?{value:parseInt(o[0],10),rest:n.slice(o[0].length)}:null}function hl(e,n){const o=n.match(e);if(!o)return null;if(o[0]==="Z")return{value:0,rest:n.slice(1)};const i=o[1]==="+"?1:-1,u=o[2]?parseInt(o[2],10):0,d=o[3]?parseInt(o[3],10):0,m=o[5]?parseInt(o[5],10):0;return{value:i*(u*UP+d*zP+m*DW),rest:n.slice(o[0].length)}}function u_(e){return Fr(io.anyDigitsSigned,e)}function Qr(e,n){switch(e){case 1:return Fr(io.singleDigit,n);case 2:return Fr(io.twoDigits,n);case 3:return Fr(io.threeDigits,n);case 4:return Fr(io.fourDigits,n);default:return Fr(new RegExp("^\\d{1,"+e+"}"),n)}}function S0(e,n){switch(e){case 1:return Fr(io.singleDigitSigned,n);case 2:return Fr(io.twoDigitsSigned,n);case 3:return Fr(io.threeDigitsSigned,n);case 4:return Fr(io.fourDigitsSigned,n);default:return Fr(new RegExp("^-?\\d{1,"+e+"}"),n)}}function vE(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 c_(e,n){const o=n>0,i=o?n:1-n;let u;if(i<=50)u=e||100;else{const d=i+50,m=Math.trunc(d/100)*100,v=e>=d%100;u=e+m-(v?100:0)}return o?u:1-u}function d_(e){return e%400===0||e%4===0&&e%100!==0}class G8 extends Hn{constructor(){super(...arguments);xt(this,"priority",130);xt(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(o,i,u){const d=m=>({year:m,isTwoDigitYear:i==="yy"});switch(i){case"y":return so(Qr(4,o),d);case"yo":return so(u.ordinalNumber(o,{unit:"year"}),d);default:return so(Qr(i.length,o),d)}}validate(o,i){return i.isTwoDigitYear||i.year>0}set(o,i,u){const d=o.getFullYear();if(u.isTwoDigitYear){const v=c_(u.year,d);return o.setFullYear(v,0,1),o.setHours(0,0,0,0),o}const m=!("era"in i)||i.era===1?u.year:1-u.year;return o.setFullYear(m,0,1),o.setHours(0,0,0,0),o}}class K8 extends Hn{constructor(){super(...arguments);xt(this,"priority",130);xt(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(o,i,u){const d=m=>({year:m,isTwoDigitYear:i==="YY"});switch(i){case"Y":return so(Qr(4,o),d);case"Yo":return so(u.ordinalNumber(o,{unit:"year"}),d);default:return so(Qr(i.length,o),d)}}validate(o,i){return i.isTwoDigitYear||i.year>0}set(o,i,u,d){const m=dE(o,d);if(u.isTwoDigitYear){const g=c_(u.year,m);return o.setFullYear(g,0,d.firstWeekContainsDate),o.setHours(0,0,0,0),cu(o,d)}const v=!("era"in i)||i.era===1?u.year:1-u.year;return o.setFullYear(v,0,d.firstWeekContainsDate),o.setHours(0,0,0,0),cu(o,d)}}class Q8 extends Hn{constructor(){super(...arguments);xt(this,"priority",130);xt(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(o,i){return S0(i==="R"?4:i.length,o)}set(o,i,u){const d=kr(o,0);return d.setFullYear(u,0,4),d.setHours(0,0,0,0),Tp(d)}}class X8 extends Hn{constructor(){super(...arguments);xt(this,"priority",130);xt(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(o,i){return S0(i==="u"?4:i.length,o)}set(o,i,u){return o.setFullYear(u,0,1),o.setHours(0,0,0,0),o}}class Z8 extends Hn{constructor(){super(...arguments);xt(this,"priority",120);xt(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(o,i,u){switch(i){case"Q":case"QQ":return Qr(i.length,o);case"Qo":return u.ordinalNumber(o,{unit:"quarter"});case"QQQ":return u.quarter(o,{width:"abbreviated",context:"formatting"})||u.quarter(o,{width:"narrow",context:"formatting"});case"QQQQQ":return u.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return u.quarter(o,{width:"wide",context:"formatting"})||u.quarter(o,{width:"abbreviated",context:"formatting"})||u.quarter(o,{width:"narrow",context:"formatting"})}}validate(o,i){return i>=1&&i<=4}set(o,i,u){return o.setMonth((u-1)*3,1),o.setHours(0,0,0,0),o}}class J8 extends Hn{constructor(){super(...arguments);xt(this,"priority",120);xt(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(o,i,u){switch(i){case"q":case"qq":return Qr(i.length,o);case"qo":return u.ordinalNumber(o,{unit:"quarter"});case"qqq":return u.quarter(o,{width:"abbreviated",context:"standalone"})||u.quarter(o,{width:"narrow",context:"standalone"});case"qqqqq":return u.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return u.quarter(o,{width:"wide",context:"standalone"})||u.quarter(o,{width:"abbreviated",context:"standalone"})||u.quarter(o,{width:"narrow",context:"standalone"})}}validate(o,i){return i>=1&&i<=4}set(o,i,u){return o.setMonth((u-1)*3,1),o.setHours(0,0,0,0),o}}class e9 extends Hn{constructor(){super(...arguments);xt(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);xt(this,"priority",110)}parse(o,i,u){const d=m=>m-1;switch(i){case"M":return so(Fr(io.month,o),d);case"MM":return so(Qr(2,o),d);case"Mo":return so(u.ordinalNumber(o,{unit:"month"}),d);case"MMM":return u.month(o,{width:"abbreviated",context:"formatting"})||u.month(o,{width:"narrow",context:"formatting"});case"MMMMM":return u.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return u.month(o,{width:"wide",context:"formatting"})||u.month(o,{width:"abbreviated",context:"formatting"})||u.month(o,{width:"narrow",context:"formatting"})}}validate(o,i){return i>=0&&i<=11}set(o,i,u){return o.setMonth(u,1),o.setHours(0,0,0,0),o}}class t9 extends Hn{constructor(){super(...arguments);xt(this,"priority",110);xt(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(o,i,u){const d=m=>m-1;switch(i){case"L":return so(Fr(io.month,o),d);case"LL":return so(Qr(2,o),d);case"Lo":return so(u.ordinalNumber(o,{unit:"month"}),d);case"LLL":return u.month(o,{width:"abbreviated",context:"standalone"})||u.month(o,{width:"narrow",context:"standalone"});case"LLLLL":return u.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return u.month(o,{width:"wide",context:"standalone"})||u.month(o,{width:"abbreviated",context:"standalone"})||u.month(o,{width:"narrow",context:"standalone"})}}validate(o,i){return i>=0&&i<=11}set(o,i,u){return o.setMonth(u,1),o.setHours(0,0,0,0),o}}function n9(e,n,o){const i=Wt(e,o==null?void 0:o.in),u=fE(i,o)-n;return i.setDate(i.getDate()-u*7),Wt(i,o==null?void 0:o.in)}class r9 extends Hn{constructor(){super(...arguments);xt(this,"priority",100);xt(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(o,i,u){switch(i){case"w":return Fr(io.week,o);case"wo":return u.ordinalNumber(o,{unit:"week"});default:return Qr(i.length,o)}}validate(o,i){return i>=1&&i<=53}set(o,i,u,d){return cu(n9(o,u,d),d)}}function o9(e,n,o){const i=Wt(e,o==null?void 0:o.in),u=XP(i,o)-n;return i.setDate(i.getDate()-u*7),i}class a9 extends Hn{constructor(){super(...arguments);xt(this,"priority",100);xt(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(o,i,u){switch(i){case"I":return Fr(io.week,o);case"Io":return u.ordinalNumber(o,{unit:"week"});default:return Qr(i.length,o)}}validate(o,i){return i>=1&&i<=53}set(o,i,u){return Tp(o9(o,u))}}const i9=[31,28,31,30,31,30,31,31,30,31,30,31],s9=[31,29,31,30,31,30,31,31,30,31,30,31];class l9 extends Hn{constructor(){super(...arguments);xt(this,"priority",90);xt(this,"subPriority",1);xt(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(o,i,u){switch(i){case"d":return Fr(io.date,o);case"do":return u.ordinalNumber(o,{unit:"date"});default:return Qr(i.length,o)}}validate(o,i){const u=o.getFullYear(),d=d_(u),m=o.getMonth();return d?i>=1&&i<=s9[m]:i>=1&&i<=i9[m]}set(o,i,u){return o.setDate(u),o.setHours(0,0,0,0),o}}class u9 extends Hn{constructor(){super(...arguments);xt(this,"priority",90);xt(this,"subpriority",1);xt(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(o,i,u){switch(i){case"D":case"DD":return Fr(io.dayOfYear,o);case"Do":return u.ordinalNumber(o,{unit:"date"});default:return Qr(i.length,o)}}validate(o,i){const u=o.getFullYear();return d_(u)?i>=1&&i<=366:i>=1&&i<=365}set(o,i,u){return o.setMonth(0,u),o.setHours(0,0,0,0),o}}function yE(e,n,o){var E,R,k,O;const i=Id(),u=(o==null?void 0:o.weekStartsOn)??((R=(E=o==null?void 0:o.locale)==null?void 0:E.options)==null?void 0:R.weekStartsOn)??i.weekStartsOn??((O=(k=i.locale)==null?void 0:k.options)==null?void 0:O.weekStartsOn)??0,d=Wt(e,o==null?void 0:o.in),m=d.getDay(),g=(n%7+7)%7,S=7-u,w=n<0||n>6?n-(m+S)%7:(g+S)%7-(m+S)%7;return Nv(d,w,o)}class c9 extends Hn{constructor(){super(...arguments);xt(this,"priority",90);xt(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(o,i,u){switch(i){case"E":case"EE":case"EEE":return u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"EEEEE":return u.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"EEEE":default:return u.day(o,{width:"wide",context:"formatting"})||u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"})}}validate(o,i){return i>=0&&i<=6}set(o,i,u,d){return o=yE(o,u,d),o.setHours(0,0,0,0),o}}class d9 extends Hn{constructor(){super(...arguments);xt(this,"priority",90);xt(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(o,i,u,d){const m=v=>{const g=Math.floor((v-1)/7)*7;return(v+d.weekStartsOn+6)%7+g};switch(i){case"e":case"ee":return so(Qr(i.length,o),m);case"eo":return so(u.ordinalNumber(o,{unit:"day"}),m);case"eee":return u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"eeeee":return u.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"});case"eeee":default:return u.day(o,{width:"wide",context:"formatting"})||u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"})}}validate(o,i){return i>=0&&i<=6}set(o,i,u,d){return o=yE(o,u,d),o.setHours(0,0,0,0),o}}class f9 extends Hn{constructor(){super(...arguments);xt(this,"priority",90);xt(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(o,i,u,d){const m=v=>{const g=Math.floor((v-1)/7)*7;return(v+d.weekStartsOn+6)%7+g};switch(i){case"c":case"cc":return so(Qr(i.length,o),m);case"co":return so(u.ordinalNumber(o,{unit:"day"}),m);case"ccc":return u.day(o,{width:"abbreviated",context:"standalone"})||u.day(o,{width:"short",context:"standalone"})||u.day(o,{width:"narrow",context:"standalone"});case"ccccc":return u.day(o,{width:"narrow",context:"standalone"});case"cccccc":return u.day(o,{width:"short",context:"standalone"})||u.day(o,{width:"narrow",context:"standalone"});case"cccc":default:return u.day(o,{width:"wide",context:"standalone"})||u.day(o,{width:"abbreviated",context:"standalone"})||u.day(o,{width:"short",context:"standalone"})||u.day(o,{width:"narrow",context:"standalone"})}}validate(o,i){return i>=0&&i<=6}set(o,i,u,d){return o=yE(o,u,d),o.setHours(0,0,0,0),o}}function p9(e,n){const o=Wt(e,n==null?void 0:n.in).getDay();return o===0?7:o}function m9(e,n,o){const i=Wt(e,o==null?void 0:o.in),u=p9(i,o),d=n-u;return Nv(i,d,o)}class h9 extends Hn{constructor(){super(...arguments);xt(this,"priority",90);xt(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(o,i,u){const d=m=>m===0?7:m;switch(i){case"i":case"ii":return Qr(i.length,o);case"io":return u.ordinalNumber(o,{unit:"day"});case"iii":return so(u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"}),d);case"iiiii":return so(u.day(o,{width:"narrow",context:"formatting"}),d);case"iiiiii":return so(u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"}),d);case"iiii":default:return so(u.day(o,{width:"wide",context:"formatting"})||u.day(o,{width:"abbreviated",context:"formatting"})||u.day(o,{width:"short",context:"formatting"})||u.day(o,{width:"narrow",context:"formatting"}),d)}}validate(o,i){return i>=1&&i<=7}set(o,i,u){return o=m9(o,u),o.setHours(0,0,0,0),o}}class v9 extends Hn{constructor(){super(...arguments);xt(this,"priority",80);xt(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(o,i,u){switch(i){case"a":case"aa":case"aaa":return u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaaa":return u.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return u.dayPeriod(o,{width:"wide",context:"formatting"})||u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"})}}set(o,i,u){return o.setHours(vE(u),0,0,0),o}}class y9 extends Hn{constructor(){super(...arguments);xt(this,"priority",80);xt(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(o,i,u){switch(i){case"b":case"bb":case"bbb":return u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbbb":return u.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return u.dayPeriod(o,{width:"wide",context:"formatting"})||u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"})}}set(o,i,u){return o.setHours(vE(u),0,0,0),o}}class g9 extends Hn{constructor(){super(...arguments);xt(this,"priority",80);xt(this,"incompatibleTokens",["a","b","t","T"])}parse(o,i,u){switch(i){case"B":case"BB":case"BBB":return u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBBB":return u.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return u.dayPeriod(o,{width:"wide",context:"formatting"})||u.dayPeriod(o,{width:"abbreviated",context:"formatting"})||u.dayPeriod(o,{width:"narrow",context:"formatting"})}}set(o,i,u){return o.setHours(vE(u),0,0,0),o}}class b9 extends Hn{constructor(){super(...arguments);xt(this,"priority",70);xt(this,"incompatibleTokens",["H","K","k","t","T"])}parse(o,i,u){switch(i){case"h":return Fr(io.hour12h,o);case"ho":return u.ordinalNumber(o,{unit:"hour"});default:return Qr(i.length,o)}}validate(o,i){return i>=1&&i<=12}set(o,i,u){const d=o.getHours()>=12;return d&&u<12?o.setHours(u+12,0,0,0):!d&&u===12?o.setHours(0,0,0,0):o.setHours(u,0,0,0),o}}class S9 extends Hn{constructor(){super(...arguments);xt(this,"priority",70);xt(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(o,i,u){switch(i){case"H":return Fr(io.hour23h,o);case"Ho":return u.ordinalNumber(o,{unit:"hour"});default:return Qr(i.length,o)}}validate(o,i){return i>=0&&i<=23}set(o,i,u){return o.setHours(u,0,0,0),o}}class x9 extends Hn{constructor(){super(...arguments);xt(this,"priority",70);xt(this,"incompatibleTokens",["h","H","k","t","T"])}parse(o,i,u){switch(i){case"K":return Fr(io.hour11h,o);case"Ko":return u.ordinalNumber(o,{unit:"hour"});default:return Qr(i.length,o)}}validate(o,i){return i>=0&&i<=11}set(o,i,u){return o.getHours()>=12&&u<12?o.setHours(u+12,0,0,0):o.setHours(u,0,0,0),o}}class w9 extends Hn{constructor(){super(...arguments);xt(this,"priority",70);xt(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(o,i,u){switch(i){case"k":return Fr(io.hour24h,o);case"ko":return u.ordinalNumber(o,{unit:"hour"});default:return Qr(i.length,o)}}validate(o,i){return i>=1&&i<=24}set(o,i,u){const d=u<=24?u%24:u;return o.setHours(d,0,0,0),o}}class C9 extends Hn{constructor(){super(...arguments);xt(this,"priority",60);xt(this,"incompatibleTokens",["t","T"])}parse(o,i,u){switch(i){case"m":return Fr(io.minute,o);case"mo":return u.ordinalNumber(o,{unit:"minute"});default:return Qr(i.length,o)}}validate(o,i){return i>=0&&i<=59}set(o,i,u){return o.setMinutes(u,0,0),o}}class E9 extends Hn{constructor(){super(...arguments);xt(this,"priority",50);xt(this,"incompatibleTokens",["t","T"])}parse(o,i,u){switch(i){case"s":return Fr(io.second,o);case"so":return u.ordinalNumber(o,{unit:"second"});default:return Qr(i.length,o)}}validate(o,i){return i>=0&&i<=59}set(o,i,u){return o.setSeconds(u,0),o}}class T9 extends Hn{constructor(){super(...arguments);xt(this,"priority",30);xt(this,"incompatibleTokens",["t","T"])}parse(o,i){const u=d=>Math.trunc(d*Math.pow(10,-i.length+3));return so(Qr(i.length,o),u)}set(o,i,u){return o.setMilliseconds(u),o}}class R9 extends Hn{constructor(){super(...arguments);xt(this,"priority",10);xt(this,"incompatibleTokens",["t","T","x"])}parse(o,i){switch(i){case"X":return hl(ml.basicOptionalMinutes,o);case"XX":return hl(ml.basic,o);case"XXXX":return hl(ml.basicOptionalSeconds,o);case"XXXXX":return hl(ml.extendedOptionalSeconds,o);case"XXX":default:return hl(ml.extended,o)}}set(o,i,u){return i.timestampIsSet?o:kr(o,o.getTime()-b0(o)-u)}}class O9 extends Hn{constructor(){super(...arguments);xt(this,"priority",10);xt(this,"incompatibleTokens",["t","T","X"])}parse(o,i){switch(i){case"x":return hl(ml.basicOptionalMinutes,o);case"xx":return hl(ml.basic,o);case"xxxx":return hl(ml.basicOptionalSeconds,o);case"xxxxx":return hl(ml.extendedOptionalSeconds,o);case"xxx":default:return hl(ml.extended,o)}}set(o,i,u){return i.timestampIsSet?o:kr(o,o.getTime()-b0(o)-u)}}class D9 extends Hn{constructor(){super(...arguments);xt(this,"priority",40);xt(this,"incompatibleTokens","*")}parse(o){return u_(o)}set(o,i,u){return[kr(o,u*1e3),{timestampIsSet:!0}]}}class k9 extends Hn{constructor(){super(...arguments);xt(this,"priority",20);xt(this,"incompatibleTokens","*")}parse(o){return u_(o)}set(o,i,u){return[kr(o,u),{timestampIsSet:!0}]}}const M9={G:new q8,y:new G8,Y:new K8,R:new Q8,u:new X8,Q:new Z8,q:new J8,M:new e9,L:new t9,w:new r9,I:new a9,d:new l9,D:new u9,E:new c9,e:new d9,c:new f9,i:new h9,a:new v9,b:new y9,B:new g9,h:new b9,H:new S9,K:new x9,k:new w9,m:new C9,s:new E9,S:new T9,X:new R9,x:new O9,t:new D9,T:new k9},P9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,N9=/^'([^]*?)'?$/,A9=/''/g,F9=/\S/,L9=/[a-zA-Z]/;function I9(e,n,o,i){var M,V,j,A,$,P,H,W;const u=()=>kr((i==null?void 0:i.in)||o,NaN),d=B8(),m=(i==null?void 0:i.locale)??d.locale??cE,v=(i==null?void 0:i.firstWeekContainsDate)??((V=(M=i==null?void 0:i.locale)==null?void 0:M.options)==null?void 0:V.firstWeekContainsDate)??d.firstWeekContainsDate??((A=(j=d.locale)==null?void 0:j.options)==null?void 0:A.firstWeekContainsDate)??1,g=(i==null?void 0:i.weekStartsOn)??((P=($=i==null?void 0:i.locale)==null?void 0:$.options)==null?void 0:P.weekStartsOn)??d.weekStartsOn??((W=(H=d.locale)==null?void 0:H.options)==null?void 0:W.weekStartsOn)??0;if(!n)return e?u():Wt(o,i==null?void 0:i.in);const S={firstWeekContainsDate:v,weekStartsOn:g,locale:m},w=[new Y8(i==null?void 0:i.in,o)],E=n.match(_9).map(Y=>{const N=Y[0];if(N in $v){const K=$v[N];return K(Y,m.formatLong)}return Y}).join("").match(P9),R=[];for(let Y of E){!(i!=null&&i.useAdditionalWeekYearTokens)&&o_(Y)&&pE(Y,n,e),!(i!=null&&i.useAdditionalDayOfYearTokens)&&r_(Y)&&pE(Y,n,e);const N=Y[0],K=M9[N];if(K){const{incompatibleTokens:Z}=K;if(Array.isArray(Z)){const X=R.find(ee=>Z.includes(ee.token)||ee.token===N);if(X)throw new RangeError(`The format string mustn't contain \`${X.fullToken}\` and \`${Y}\` at the same time`)}else if(K.incompatibleTokens==="*"&&R.length>0)throw new RangeError(`The format string mustn't contain \`${Y}\` and any other token at the same time`);R.push({token:N,fullToken:Y});const J=K.run(e,Y,m.match,S);if(!J)return u();w.push(J.setter),e=J.rest}else{if(N.match(L9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+N+"`");if(Y==="''"?Y="'":N==="'"&&(Y=$9(Y)),e.indexOf(Y)===0)e=e.slice(Y.length);else return u()}}if(e.length>0&&F9.test(e))return u();const k=w.map(Y=>Y.priority).sort((Y,N)=>N-Y).filter((Y,N,K)=>K.indexOf(Y)===N).map(Y=>w.filter(N=>N.priority===Y).sort((N,K)=>K.subPriority-N.subPriority)).map(Y=>Y[0]);let O=Wt(o,i==null?void 0:i.in);if(isNaN(+O))return u();const _={};for(const Y of k){if(!Y.validate(O,S))return u();const N=Y.set(O,_,S);Array.isArray(N)?(O=N[0],Object.assign(_,N[1])):O=N}return O}function $9(e){return e.match(N9)[1].replace(A9,"'")}function j9(e,n,o){const i=Wt(e,o==null?void 0:o.in);return i.setDate(n),i}function V9(e,n,o){const i=Wt(e,o==null?void 0:o.in);return i.setHours(n),i}function B9(e,n,o){const i=Wt(e,o==null?void 0:o.in);return i.setMinutes(n),i}function z9(e,n,o){const i=Wt(e,o==null?void 0:o.in),u=i.getFullYear(),d=i.getDate(),m=kr(e,0);m.setFullYear(u,n,15),m.setHours(0,0,0,0);const v=i_(m);return i.setMonth(n,Math.min(d,v)),i}function U9(e,n,o){const i=Wt(e,o==null?void 0:o.in);return i.setSeconds(n),i}function H9(e,n,o){const i=Wt(e,o==null?void 0:o.in);return i.setMilliseconds(n),i}function W9(e,n,o){const i=Wt(e,o==null?void 0:o.in);return isNaN(+i)?kr(e,NaN):(i.setFullYear(n),i)}function Y9(e,n){const o=Wt(e,n==null?void 0:n.in);return o.setDate(1),o.setHours(0,0,0,0),o}function q9(e,n){const o=Wt(e,n==null?void 0:n.in),i=o.getMonth();return o.setFullYear(o.getFullYear(),i+1,0),o.setHours(23,59,59,999),o}function G9(e,n,o){const i=+Wt(e,o==null?void 0:o.in),[u,d]=[+Wt(n.start,o==null?void 0:o.in),+Wt(n.end,o==null?void 0:o.in)].sort((m,v)=>m-v);return i>=u&&i<=d}const K9={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"},Q9={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 X9{constructor(n){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib=void 0,this.locale=void 0,this.formats=void 0,this.formatTokenMap=K9,this.escapedCharacters={start:"'",end:"'"},this.longFormatters=void 0,this.date=m=>typeof m>"u"?new Date:m===null?null:new Date(m),this.getInvalidDate=()=>new Date("Invalid Date"),this.getTimezone=()=>"default",this.setTimezone=m=>m,this.toJsDate=m=>m,this.getCurrentLocaleCode=()=>this.locale.code,this.is12HourCycleInCurrentLocale=()=>/a/.test(this.locale.formatLong.time({width:"short"})),this.expandFormat=m=>{const v=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return m.match(v).map(g=>{const S=g[0];if(S==="p"||S==="P"){const w=this.longFormatters[S];return w(g,this.locale.formatLong)}return g}).join("")},this.formatNumber=m=>m,this.getDayOfWeek=m=>m.getDay()+1;const{locale:o,formats:i,longFormatters:u,lib:d}=n;this.locale=o,this.formats=Ce({},Q9,i),this.longFormatters=u,this.lib=d||"date-fns"}}class Z9 extends X9{constructor({locale:n,formats:o}={}){if(process.env.NODE_ENV!=="production"){if(typeof Nv!="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(`
|
|
442
|
+
`));if(!$v)throw new Error("MUI: The minimum supported `date-fns` package version compatible with this adapter is `3.2.x`.")}super({locale:n??cE,formats:o,longFormatters:$v}),this.parse=(i,u)=>i===""?null:I9(i,u,new Date,{locale:this.locale}),this.isValid=i=>i==null?!1:a_(i),this.format=(i,u)=>this.formatByString(i,this.formats[u]),this.formatByString=(i,u)=>O8(i,u,{locale:this.locale}),this.isEqual=(i,u)=>i===null&&u===null?!0:i===null||u===null?!1:L8(i,u),this.isSameYear=(i,u)=>$8(i,u),this.isSameMonth=(i,u)=>j8(i,u),this.isSameDay=(i,u)=>I8(i,u),this.isSameHour=(i,u)=>V8(i,u),this.isAfter=(i,u)=>mE(i,u),this.isAfterYear=(i,u)=>mE(i,GP(u)),this.isAfterDay=(i,u)=>mE(i,qP(u)),this.isBefore=(i,u)=>hE(i,u),this.isBeforeYear=(i,u)=>hE(i,this.startOfYear(u)),this.isBeforeDay=(i,u)=>hE(i,this.startOfDay(u)),this.isWithinRange=(i,[u,d])=>G9(i,{start:u,end:d}),this.startOfYear=i=>KP(i),this.startOfMonth=i=>Y9(i),this.startOfWeek=i=>cu(i,{locale:this.locale}),this.startOfDay=i=>Iv(i),this.endOfYear=i=>GP(i),this.endOfMonth=i=>q9(i),this.endOfWeek=i=>FW(i,{locale:this.locale}),this.endOfDay=i=>qP(i),this.addYears=(i,u)=>NW(i,u),this.addMonths=(i,u)=>YP(i,u),this.addWeeks=(i,u)=>_W(i,u),this.addDays=(i,u)=>Nv(i,u),this.addHours=(i,u)=>PW(i,u),this.addMinutes=(i,u)=>MW(i,u),this.addSeconds=(i,u)=>kW(i,u),this.getYear=i=>F8(i),this.getMonth=i=>_8(i),this.getDate=i=>k8(i),this.getHours=i=>M8(i),this.getMinutes=i=>P8(i),this.getSeconds=i=>N8(i),this.getMilliseconds=i=>A8(i),this.setYear=(i,u)=>W9(i,u),this.setMonth=(i,u)=>z9(i,u),this.setDate=(i,u)=>j9(i,u),this.setHours=(i,u)=>V9(i,u),this.setMinutes=(i,u)=>B9(i,u),this.setSeconds=(i,u)=>U9(i,u),this.setMilliseconds=(i,u)=>H9(i,u),this.getDaysInMonth=i=>i_(i),this.getWeekArray=i=>{const u=this.startOfWeek(this.startOfMonth(i)),d=this.endOfWeek(this.endOfMonth(i));let m=0,v=u;const g=[];for(;this.isBefore(v,d);){const S=Math.floor(m/7);g[S]=g[S]||[],g[S].push(v),v=this.addDays(v,1),m+=1}return g},this.getWeekNumber=i=>fE(i,{locale:this.locale}),this.getYearRange=([i,u])=>{const d=this.startOfYear(i),m=this.endOfYear(u),v=[];let g=d;for(;this.isBefore(g,m);)v.push(g),g=this.addYears(g,1);return v}}}function J9({children:e,onSubmit:n,layout:o,sx:i}){return G.jsx(YC,{dateAdapter:Z9,adapterLocale:void 0,children:G.jsx(GU,{layout:o,children:G.jsx(vp,{sx:i,children:G.jsx("form",{onSubmit:n,children:e})})})})}function e7({children:e,onSubmit:n=()=>{},layout:o,formOptions:i={},sx:u}){const d=qU(i);return G.jsx(_U,{...d,children:G.jsx(J9,{onSubmit:d.handleSubmit(n),layout:o,sx:u,children:e})})}function t7(){return G.jsx("div",{children:"FormRenderer"})}Eo.Checkbox=KU,Eo.DateInput=CW,Eo.FormFieldLabel=RW,Eo.FormProvider=e7,Eo.NumberInput=EW,Eo.Select=TW,Eo.TextInput=VP,Eo.default=t7,Object.defineProperties(Eo,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|