@hievilmath/browser-formidavim 1.4.40 → 1.5.1
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/README.md +17 -0
- package/index.js +60 -60
- package/index.mjs +1996 -1954
- package/lib/components/inputs/GAClientId.d.ts +16 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
17
|
*/var iO;function z6(){return iO||(iO=1,process.env.NODE_ENV!=="production"&&function(){var e=Ve,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),v=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),L=Symbol.iterator,P="@@iterator";function j(ae){if(ae===null||typeof ae!="object")return null;var Ye=L&&ae[L]||ae[P];return typeof Ye=="function"?Ye:null}var G=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Y(ae){{for(var Ye=arguments.length,at=new Array(Ye>1?Ye-1:0),_t=1;_t<Ye;_t++)at[_t-1]=arguments[_t];k("error",ae,at)}}function k(ae,Ye,at){{var _t=G.ReactDebugCurrentFrame,At=_t.getStackAddendum();At!==""&&(Ye+="%s",at=at.concat([At]));var Wt=at.map(function(Jt){return String(Jt)});Wt.unshift("Warning: "+Ye),Function.prototype.apply.call(console[ae],console,Wt)}}var V=!1,N=!1,z=!1,Z=!1,ie=!1,ge;ge=Symbol.for("react.module.reference");function M(ae){return!!(typeof ae=="string"||typeof ae=="function"||ae===s||ae===p||ie||ae===c||ae===S||ae===T||Z||ae===A||V||N||z||typeof ae=="object"&&ae!==null&&(ae.$$typeof===R||ae.$$typeof===w||ae.$$typeof===d||ae.$$typeof===v||ae.$$typeof===b||ae.$$typeof===ge||ae.getModuleId!==void 0))}function se(ae,Ye,at){var _t=ae.displayName;if(_t)return _t;var At=Ye.displayName||Ye.name||"";return At!==""?at+"("+At+")":at}function Te(ae){return ae.displayName||"Context"}function he(ae){if(ae==null)return null;if(typeof ae.tag=="number"&&Y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof ae=="function")return ae.displayName||ae.name||null;if(typeof ae=="string")return ae;switch(ae){case s:return"Fragment";case i:return"Portal";case p:return"Profiler";case c:return"StrictMode";case S:return"Suspense";case T:return"SuspenseList"}if(typeof ae=="object")switch(ae.$$typeof){case v:var Ye=ae;return Te(Ye)+".Consumer";case d:var at=ae;return Te(at._context)+".Provider";case b:return se(ae,ae.render,"ForwardRef");case w:var _t=ae.displayName||null;return _t!==null?_t:he(ae.type)||"Memo";case R:{var At=ae,Wt=At._payload,Jt=At._init;try{return he(Jt(Wt))}catch{return null}}}return null}var we=Object.assign,ce=0,fe,ve,pe,ne,ee,Re,B;function W(){}W.__reactDisabledLog=!0;function $e(){{if(ce===0){fe=console.log,ve=console.info,pe=console.warn,ne=console.error,ee=console.group,Re=console.groupCollapsed,B=console.groupEnd;var ae={configurable:!0,enumerable:!0,value:W,writable:!0};Object.defineProperties(console,{info:ae,log:ae,warn:ae,error:ae,group:ae,groupCollapsed:ae,groupEnd:ae})}ce++}}function Be(){{if(ce--,ce===0){var ae={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:we({},ae,{value:fe}),info:we({},ae,{value:ve}),warn:we({},ae,{value:pe}),error:we({},ae,{value:ne}),group:we({},ae,{value:ee}),groupCollapsed:we({},ae,{value:Re}),groupEnd:we({},ae,{value:B})})}ce<0&&Y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Qe=G.ReactCurrentDispatcher,We;function X(ae,Ye,at){{if(We===void 0)try{throw Error()}catch(At){var _t=At.stack.trim().match(/\n( *(at )?)/);We=_t&&_t[1]||""}return`
|
|
18
18
|
`+We+ae}}var oe=!1,K;{var Ee=typeof WeakMap=="function"?WeakMap:Map;K=new Ee}function te(ae,Ye){if(!ae||oe)return"";{var at=K.get(ae);if(at!==void 0)return at}var _t;oe=!0;var At=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Wt;Wt=Qe.current,Qe.current=null,$e();try{if(Ye){var Jt=function(){throw Error()};if(Object.defineProperty(Jt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Jt,[])}catch(Xt){_t=Xt}Reflect.construct(ae,[],Jt)}else{try{Jt.call()}catch(Xt){_t=Xt}ae.call(Jt.prototype)}}else{try{throw Error()}catch(Xt){_t=Xt}ae()}}catch(Xt){if(Xt&&_t&&typeof Xt.stack=="string"){for(var en=Xt.stack.split(`
|
|
19
|
-
`),
|
|
20
|
-
`),Zn=en.length-1,ar=
|
|
21
|
-
`+en[Zn].replace(" at new "," at ");return ae.displayName&&Kr.includes("<anonymous>")&&(Kr=Kr.replace("<anonymous>",ae.displayName)),typeof ae=="function"&&K.set(ae,Kr),Kr}while(Zn>=1&&ar>=0);break}}}finally{oe=!1,Qe.current=Wt,Be(),Error.prepareStackTrace=At}var Yt=ae?ae.displayName||ae.name:"",Jn=Yt?X(Yt):"";return typeof ae=="function"&&K.set(ae,Jn),Jn}function De(ae,Ye,at){return te(ae,!1)}function Ce(ae){var Ye=ae.prototype;return!!(Ye&&Ye.isReactComponent)}function Fe(ae,Ye,at){if(ae==null)return"";if(typeof ae=="function")return te(ae,Ce(ae));if(typeof ae=="string")return X(ae);switch(ae){case S:return X("Suspense");case T:return X("SuspenseList")}if(typeof ae=="object")switch(ae.$$typeof){case b:return De(ae.render);case w:return Fe(ae.type,Ye,at);case R:{var _t=ae,At=_t._payload,Wt=_t._init;try{return Fe(Wt(At),Ye,at)}catch{}}}return""}var rt=Object.prototype.hasOwnProperty,Lt={},Dt=G.ReactDebugCurrentFrame;function vt(ae){if(ae){var Ye=ae._owner,at=Fe(ae.type,ae._source,Ye?Ye.type:null);Dt.setExtraStackFrame(at)}else Dt.setExtraStackFrame(null)}function yt(ae,Ye,at,_t,At){{var Wt=Function.call.bind(rt);for(var Jt in ae)if(Wt(ae,Jt)){var en=void 0;try{if(typeof ae[Jt]!="function"){var
|
|
19
|
+
`),Er=_t.stack.split(`
|
|
20
|
+
`),Zn=en.length-1,ar=Er.length-1;Zn>=1&&ar>=0&&en[Zn]!==Er[ar];)ar--;for(;Zn>=1&&ar>=0;Zn--,ar--)if(en[Zn]!==Er[ar]){if(Zn!==1||ar!==1)do if(Zn--,ar--,ar<0||en[Zn]!==Er[ar]){var Kr=`
|
|
21
|
+
`+en[Zn].replace(" at new "," at ");return ae.displayName&&Kr.includes("<anonymous>")&&(Kr=Kr.replace("<anonymous>",ae.displayName)),typeof ae=="function"&&K.set(ae,Kr),Kr}while(Zn>=1&&ar>=0);break}}}finally{oe=!1,Qe.current=Wt,Be(),Error.prepareStackTrace=At}var Yt=ae?ae.displayName||ae.name:"",Jn=Yt?X(Yt):"";return typeof ae=="function"&&K.set(ae,Jn),Jn}function De(ae,Ye,at){return te(ae,!1)}function Ce(ae){var Ye=ae.prototype;return!!(Ye&&Ye.isReactComponent)}function Fe(ae,Ye,at){if(ae==null)return"";if(typeof ae=="function")return te(ae,Ce(ae));if(typeof ae=="string")return X(ae);switch(ae){case S:return X("Suspense");case T:return X("SuspenseList")}if(typeof ae=="object")switch(ae.$$typeof){case b:return De(ae.render);case w:return Fe(ae.type,Ye,at);case R:{var _t=ae,At=_t._payload,Wt=_t._init;try{return Fe(Wt(At),Ye,at)}catch{}}}return""}var rt=Object.prototype.hasOwnProperty,Lt={},Dt=G.ReactDebugCurrentFrame;function vt(ae){if(ae){var Ye=ae._owner,at=Fe(ae.type,ae._source,Ye?Ye.type:null);Dt.setExtraStackFrame(at)}else Dt.setExtraStackFrame(null)}function yt(ae,Ye,at,_t,At){{var Wt=Function.call.bind(rt);for(var Jt in ae)if(Wt(ae,Jt)){var en=void 0;try{if(typeof ae[Jt]!="function"){var Er=Error((_t||"React class")+": "+at+" type `"+Jt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof ae[Jt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Er.name="Invariant Violation",Er}en=ae[Jt](Ye,Jt,_t,at,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Zn){en=Zn}en&&!(en instanceof Error)&&(vt(At),Y("%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).",_t||"React class",at,Jt,typeof en),vt(null)),en instanceof Error&&!(en.message in Lt)&&(Lt[en.message]=!0,vt(At),Y("Failed %s type: %s",at,en.message),vt(null))}}}var St=Array.isArray;function lt(ae){return St(ae)}function sn(ae){{var Ye=typeof Symbol=="function"&&Symbol.toStringTag,at=Ye&&ae[Symbol.toStringTag]||ae.constructor.name||"Object";return at}}function mn(ae){try{return fn(ae),!1}catch{return!0}}function fn(ae){return""+ae}function un(ae){if(mn(ae))return Y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",sn(ae)),fn(ae)}var Tn=G.ReactCurrentOwner,rr={key:!0,ref:!0,__self:!0,__source:!0},or,it;function ot(ae){if(rt.call(ae,"ref")){var Ye=Object.getOwnPropertyDescriptor(ae,"ref").get;if(Ye&&Ye.isReactWarning)return!1}return ae.ref!==void 0}function He(ae){if(rt.call(ae,"key")){var Ye=Object.getOwnPropertyDescriptor(ae,"key").get;if(Ye&&Ye.isReactWarning)return!1}return ae.key!==void 0}function cn(ae,Ye){typeof ae.ref=="string"&&Tn.current}function Rn(ae,Ye){{var at=function(){or||(or=!0,Y("%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)",Ye))};at.isReactWarning=!0,Object.defineProperty(ae,"key",{get:at,configurable:!0})}}function Dn(ae,Ye){{var at=function(){it||(it=!0,Y("%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)",Ye))};at.isReactWarning=!0,Object.defineProperty(ae,"ref",{get:at,configurable:!0})}}var On=function(ae,Ye,at,_t,At,Wt,Jt){var en={$$typeof:r,type:ae,key:Ye,ref:at,props:Jt,_owner:Wt};return en._store={},Object.defineProperty(en._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(en,"_self",{configurable:!1,enumerable:!1,writable:!1,value:_t}),Object.defineProperty(en,"_source",{configurable:!1,enumerable:!1,writable:!1,value:At}),Object.freeze&&(Object.freeze(en.props),Object.freeze(en)),en};function Ln(ae,Ye,at,_t,At){{var Wt,Jt={},en=null,Er=null;at!==void 0&&(un(at),en=""+at),He(Ye)&&(un(Ye.key),en=""+Ye.key),ot(Ye)&&(Er=Ye.ref,cn(Ye,At));for(Wt in Ye)rt.call(Ye,Wt)&&!rr.hasOwnProperty(Wt)&&(Jt[Wt]=Ye[Wt]);if(ae&&ae.defaultProps){var Zn=ae.defaultProps;for(Wt in Zn)Jt[Wt]===void 0&&(Jt[Wt]=Zn[Wt])}if(en||Er){var ar=typeof ae=="function"?ae.displayName||ae.name||"Unknown":ae;en&&Rn(Jt,ar),Er&&Dn(Jt,ar)}return On(ae,en,Er,At,_t,Tn.current,Jt)}}var qe=G.ReactCurrentOwner,U=G.ReactDebugCurrentFrame;function J(ae){if(ae){var Ye=ae._owner,at=Fe(ae.type,ae._source,Ye?Ye.type:null);U.setExtraStackFrame(at)}else U.setExtraStackFrame(null)}var le;le=!1;function $(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===r}function F(){{if(qe.current){var ae=he(qe.current.type);if(ae)return`
|
|
22
22
|
|
|
23
23
|
Check the render method of \``+ae+"`."}return""}}function q(ae){return""}var me={};function ue(ae){{var Ye=F();if(!Ye){var at=typeof ae=="string"?ae:ae.displayName||ae.name;at&&(Ye=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+at+">.")}return Ye}}function Ie(ae,Ye){{if(!ae._store||ae._store.validated||ae.key!=null)return;ae._store.validated=!0;var at=ue(Ye);if(me[at])return;me[at]=!0;var _t="";ae&&ae._owner&&ae._owner!==qe.current&&(_t=" It was passed a child from "+he(ae._owner.type)+"."),J(ae),Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',at,_t),J(null)}}function nt(ae,Ye){{if(typeof ae!="object")return;if(lt(ae))for(var at=0;at<ae.length;at++){var _t=ae[at];$(_t)&&Ie(_t,Ye)}else if($(ae))ae._store&&(ae._store.validated=!0);else if(ae){var At=j(ae);if(typeof At=="function"&&At!==ae.entries)for(var Wt=At.call(ae),Jt;!(Jt=Wt.next()).done;)$(Jt.value)&&Ie(Jt.value,Ye)}}}function Tt(ae){{var Ye=ae.type;if(Ye==null||typeof Ye=="string")return;var at;if(typeof Ye=="function")at=Ye.propTypes;else if(typeof Ye=="object"&&(Ye.$$typeof===b||Ye.$$typeof===w))at=Ye.propTypes;else return;if(at){var _t=he(Ye);yt(at,ae.props,"prop",_t,ae)}else if(Ye.PropTypes!==void 0&&!le){le=!0;var At=he(Ye);Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",At||"Unknown")}typeof Ye.getDefaultProps=="function"&&!Ye.getDefaultProps.isReactClassApproved&&Y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function $t(ae){{for(var Ye=Object.keys(ae.props),at=0;at<Ye.length;at++){var _t=Ye[at];if(_t!=="children"&&_t!=="key"){J(ae),Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",_t),J(null);break}}ae.ref!==null&&(J(ae),Y("Invalid attribute `ref` supplied to `React.Fragment`."),J(null))}}var dn={};function zt(ae,Ye,at,_t,At,Wt){{var Jt=M(ae);if(!Jt){var en="";(ae===void 0||typeof ae=="object"&&ae!==null&&Object.keys(ae).length===0)&&(en+=" 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
|
|
25
|
+
Check the top-level render call using <`+at+">.")}return Ye}}function Ie(ae,Ye){{if(!ae._store||ae._store.validated||ae.key!=null)return;ae._store.validated=!0;var at=ue(Ye);if(me[at])return;me[at]=!0;var _t="";ae&&ae._owner&&ae._owner!==qe.current&&(_t=" It was passed a child from "+he(ae._owner.type)+"."),J(ae),Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',at,_t),J(null)}}function nt(ae,Ye){{if(typeof ae!="object")return;if(lt(ae))for(var at=0;at<ae.length;at++){var _t=ae[at];$(_t)&&Ie(_t,Ye)}else if($(ae))ae._store&&(ae._store.validated=!0);else if(ae){var At=j(ae);if(typeof At=="function"&&At!==ae.entries)for(var Wt=At.call(ae),Jt;!(Jt=Wt.next()).done;)$(Jt.value)&&Ie(Jt.value,Ye)}}}function Tt(ae){{var Ye=ae.type;if(Ye==null||typeof Ye=="string")return;var at;if(typeof Ye=="function")at=Ye.propTypes;else if(typeof Ye=="object"&&(Ye.$$typeof===b||Ye.$$typeof===w))at=Ye.propTypes;else return;if(at){var _t=he(Ye);yt(at,ae.props,"prop",_t,ae)}else if(Ye.PropTypes!==void 0&&!le){le=!0;var At=he(Ye);Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",At||"Unknown")}typeof Ye.getDefaultProps=="function"&&!Ye.getDefaultProps.isReactClassApproved&&Y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function $t(ae){{for(var Ye=Object.keys(ae.props),at=0;at<Ye.length;at++){var _t=Ye[at];if(_t!=="children"&&_t!=="key"){J(ae),Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",_t),J(null);break}}ae.ref!==null&&(J(ae),Y("Invalid attribute `ref` supplied to `React.Fragment`."),J(null))}}var dn={};function zt(ae,Ye,at,_t,At,Wt){{var Jt=M(ae);if(!Jt){var en="";(ae===void 0||typeof ae=="object"&&ae!==null&&Object.keys(ae).length===0)&&(en+=" 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 Er=q();Er?en+=Er:en+=F();var Zn;ae===null?Zn="null":lt(ae)?Zn="array":ae!==void 0&&ae.$$typeof===r?(Zn="<"+(he(ae.type)||"Unknown")+" />",en=" Did you accidentally export a JSX literal instead of a component?"):Zn=typeof ae,Y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Zn,en)}var ar=Ln(ae,Ye,at,At,Wt);if(ar==null)return ar;if(Jt){var Kr=Ye.children;if(Kr!==void 0)if(_t)if(lt(Kr)){for(var Yt=0;Yt<Kr.length;Yt++)nt(Kr[Yt],ae);Object.freeze&&Object.freeze(Kr)}else Y("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 nt(Kr,ae)}if(rt.call(Ye,"key")){var Jn=he(ae),Xt=Object.keys(Ye).filter(function(ci){return ci!=="key"}),nn=Xt.length>0?"{key: someKey, "+Xt.join(": ..., ")+": ...}":"{key: someKey}";if(!dn[Jn+nn]){var Xa=Xt.length>0?"{"+Xt.join(": ..., ")+": ...}":"{}";Y(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,nn,Jn,
|
|
30
|
+
<%s key={someKey} {...props} />`,nn,Jn,Xa,Jn),dn[Jn+nn]=!0}}return ae===s?$t(ar):Tt(ar),ar}}function bn(ae,Ye,at){return zt(ae,Ye,at,!0)}function pn(ae,Ye,at){return zt(ae,Ye,at,!1)}var Xn=pn,an=bn;jm.Fragment=s,jm.jsx=Xn,jm.jsxs=an}()),jm}var lO;function H6(){return lO||(lO=1,process.env.NODE_ENV==="production"?p0.exports=B6():p0.exports=z6()),p0.exports}var I=H6();const G6=be.h2`
|
|
31
31
|
&&{
|
|
32
32
|
font-family: ${e=>e.theme.fonts.poppins};
|
|
33
33
|
font-weight: 600; //semibold
|
|
@@ -564,7 +564,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
564
564
|
display: flex;
|
|
565
565
|
flex-direction: column;
|
|
566
566
|
}
|
|
567
|
-
`,
|
|
567
|
+
`,Ya=be.div`
|
|
568
568
|
&&{
|
|
569
569
|
display: flex;
|
|
570
570
|
// flex-grow: 1;
|
|
@@ -2466,7 +2466,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2466
2466
|
height: 100%;
|
|
2467
2467
|
background-color: ${e=>{var r,i;return((i=(r=e.theme)==null?void 0:r.colors)==null?void 0:i.ivimGreen)||"#85AF61"}};
|
|
2468
2468
|
transition: width 0.3s ease-in-out;
|
|
2469
|
-
`;function Go(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var TM=typeof Symbol=="function"&&Symbol.observable||"@@observable",fO=TM,XS=()=>Math.random().toString(36).substring(7).split("").join("."),RM={INIT:`@@redux/INIT${XS()}`,REPLACE:`@@redux/REPLACE${XS()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${XS()}`},cd=RM;function sv(e){if(typeof e!="object"||e===null)return!1;let r=e;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r||Object.getPrototypeOf(e)===null}function OM(e){if(e===void 0)return"undefined";if(e===null)return"null";const r=typeof e;switch(r){case"boolean":case"string":case"number":case"symbol":case"function":return r}if(Array.isArray(e))return"array";if(kM(e))return"date";if(AM(e))return"error";const i=$M(e);switch(i){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return i}return Object.prototype.toString.call(e).slice(8,-1).toLowerCase().replace(/\s/g,"")}function $M(e){return typeof e.constructor=="function"?e.constructor.name:null}function AM(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function kM(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function Vu(e){let r=typeof e;return process.env.NODE_ENV!=="production"&&(r=OM(e)),r}function e3(e,r,i){if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?Go(2):`Expected the root reducer to be a function. Instead, received: '${Vu(e)}'`);if(typeof r=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Go(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof r=="function"&&typeof i>"u"&&(i=r,r=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(process.env.NODE_ENV==="production"?Go(1):`Expected the enhancer to be a function. Instead, received: '${Vu(i)}'`);return i(e3)(e,r)}let s=e,c=r,p=new Map,d=p,v=0,b=!1;function S(){d===p&&(d=new Map,p.forEach((j,G)=>{d.set(G,j)}))}function T(){if(b)throw new Error(process.env.NODE_ENV==="production"?Go(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function w(j){if(typeof j!="function")throw new Error(process.env.NODE_ENV==="production"?Go(4):`Expected the listener to be a function. Instead, received: '${Vu(j)}'`);if(b)throw new Error(process.env.NODE_ENV==="production"?Go(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let G=!0;S();const Y=v++;return d.set(Y,j),function(){if(G){if(b)throw new Error(process.env.NODE_ENV==="production"?Go(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");G=!1,S(),d.delete(Y),p=null}}}function R(j){if(!sv(j))throw new Error(process.env.NODE_ENV==="production"?Go(7):`Actions must be plain objects. Instead, the actual type was: '${Vu(j)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof j.type>"u")throw new Error(process.env.NODE_ENV==="production"?Go(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof j.type!="string")throw new Error(process.env.NODE_ENV==="production"?Go(17):`Action "type" property must be a string. Instead, the actual type was: '${Vu(j.type)}'. Value was: '${j.type}' (stringified)`);if(b)throw new Error(process.env.NODE_ENV==="production"?Go(9):"Reducers may not dispatch actions.");try{b=!0,c=s(c,j)}finally{b=!1}return(p=d).forEach(Y=>{Y()}),j}function A(j){if(typeof j!="function")throw new Error(process.env.NODE_ENV==="production"?Go(10):`Expected the nextReducer to be a function. Instead, received: '${Vu(j)}`);s=j,R({type:cd.REPLACE})}function L(){const j=w;return{subscribe(G){if(typeof G!="object"||G===null)throw new Error(process.env.NODE_ENV==="production"?Go(11):`Expected the observer to be an object. Instead, received: '${Vu(G)}'`);function Y(){const V=G;V.next&&V.next(T())}return Y(),{unsubscribe:j(Y)}},[fO](){return this}}}return R({type:cd.INIT}),{dispatch:R,subscribe:w,getState:T,replaceReducer:A,[fO]:L}}function pO(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function PM(e,r,i,s){const c=Object.keys(r),p=i&&i.type===cd.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(c.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!sv(e))return`The ${p} has unexpected type of "${Vu(e)}". Expected argument to be an object with the following keys: "${c.join('", "')}"`;const d=Object.keys(e).filter(v=>!r.hasOwnProperty(v)&&!s[v]);if(d.forEach(v=>{s[v]=!0}),!(i&&i.type===cd.REPLACE)&&d.length>0)return`Unexpected ${d.length>1?"keys":"key"} "${d.join('", "')}" found in ${p}. Expected to find one of the known reducer keys instead: "${c.join('", "')}". Unexpected keys will be ignored.`}function NM(e){Object.keys(e).forEach(r=>{const i=e[r];if(typeof i(void 0,{type:cd.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?Go(12):`The slice reducer for key "${r}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof i(void 0,{type:cd.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?Go(13):`The slice reducer for key "${r}" returned undefined when probed with a random type. Don't try to handle '${cd.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function DM(e){const r=Object.keys(e),i={};for(let d=0;d<r.length;d++){const v=r[d];process.env.NODE_ENV!=="production"&&typeof e[v]>"u"&&pO(`No reducer provided for key "${v}"`),typeof e[v]=="function"&&(i[v]=e[v])}const s=Object.keys(i);let c;process.env.NODE_ENV!=="production"&&(c={});let p;try{NM(i)}catch(d){p=d}return function(v={},b){if(p)throw p;if(process.env.NODE_ENV!=="production"){const w=PM(v,i,b,c);w&&pO(w)}let S=!1;const T={};for(let w=0;w<s.length;w++){const R=s[w],A=i[R],L=v[R],P=A(L,b);if(typeof P>"u"){const j=b&&b.type;throw new Error(process.env.NODE_ENV==="production"?Go(14):`When called with an action of type ${j?`"${String(j)}"`:"(unknown type)"}, the slice reducer for key "${R}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}T[R]=P,S=S||P!==L}return S=S||s.length!==Object.keys(v).length,S?T:v}}function M0(...e){return e.length===0?r=>r:e.length===1?e[0]:e.reduce((r,i)=>(...s)=>r(i(...s)))}function MM(...e){return r=>(i,s)=>{const c=r(i,s);let p=()=>{throw new Error(process.env.NODE_ENV==="production"?Go(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const d={getState:c.getState,dispatch:(b,...S)=>p(b,...S)},v=e.map(b=>b(d));return p=M0(...v)(c.dispatch),{...c,dispatch:p}}}function t3(e){return sv(e)&&"type"in e&&typeof e.type=="string"}var n3=Symbol.for("immer-nothing"),hO=Symbol.for("immer-draftable"),si=Symbol.for("immer-state"),LM=process.env.NODE_ENV!=="production"?[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},"This object has been frozen and should not be mutated",function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}]:[];function Ya(e,...r){if(process.env.NODE_ENV!=="production"){const i=LM[e],s=typeof i=="function"?i.apply(null,r):i;throw new Error(`[Immer] ${s}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var xp=Object.getPrototypeOf;function dd(e){return!!e&&!!e[si]}function Ws(e){var r;return e?r3(e)||Array.isArray(e)||!!e[hO]||!!((r=e.constructor)!=null&&r[hO])||K0(e)||Z0(e):!1}var IM=Object.prototype.constructor.toString();function r3(e){if(!e||typeof e!="object")return!1;const r=xp(e);if(r===null)return!0;const i=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return i===Object?!0:typeof i=="function"&&Function.toString.call(i)===IM}function L0(e,r){X0(e)===0?Reflect.ownKeys(e).forEach(i=>{r(i,e[i],e)}):e.forEach((i,s)=>r(s,i,e))}function X0(e){const r=e[si];return r?r.type_:Array.isArray(e)?1:K0(e)?2:Z0(e)?3:0}function xC(e,r){return X0(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function o3(e,r,i){const s=X0(e);s===2?e.set(r,i):s===3?e.add(i):e[r]=i}function _M(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}function K0(e){return e instanceof Map}function Z0(e){return e instanceof Set}function id(e){return e.copy_||e.base_}function SC(e,r){if(K0(e))return new Map(e);if(Z0(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const i=r3(e);if(r===!0||r==="class_only"&&!i){const s=Object.getOwnPropertyDescriptors(e);delete s[si];let c=Reflect.ownKeys(s);for(let p=0;p<c.length;p++){const d=c[p],v=s[d];v.writable===!1&&(v.writable=!0,v.configurable=!0),(v.get||v.set)&&(s[d]={configurable:!0,writable:!0,enumerable:v.enumerable,value:e[d]})}return Object.create(xp(e),s)}else{const s=xp(e);if(s!==null&&i)return{...e};const c=Object.create(s);return Object.assign(c,e)}}function XC(e,r=!1){return J0(e)||dd(e)||!Ws(e)||(X0(e)>1&&(e.set=e.add=e.clear=e.delete=FM),Object.freeze(e),r&&Object.entries(e).forEach(([i,s])=>XC(s,!0))),e}function FM(){Ya(2)}function J0(e){return Object.isFrozen(e)}var VM={};function fd(e){const r=VM[e];return r||Ya(0,e),r}var ev;function a3(){return ev}function jM(e,r){return{drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function mO(e,r){r&&(fd("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=r)}function CC(e){wC(e),e.drafts_.forEach(UM),e.drafts_=null}function wC(e){e===ev&&(ev=e.parent_)}function vO(e){return ev=jM(ev,e)}function UM(e){const r=e[si];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function yO(e,r){r.unfinalizedDrafts_=r.drafts_.length;const i=r.drafts_[0];return e!==void 0&&e!==i?(i[si].modified_&&(CC(r),Ya(4)),Ws(e)&&(e=I0(r,e),r.parent_||_0(r,e)),r.patches_&&fd("Patches").generateReplacementPatches_(i[si].base_,e,r.patches_,r.inversePatches_)):e=I0(r,i,[]),CC(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),e!==n3?e:void 0}function I0(e,r,i){if(J0(r))return r;const s=r[si];if(!s)return L0(r,(c,p)=>gO(e,s,r,c,p,i)),r;if(s.scope_!==e)return r;if(!s.modified_)return _0(e,s.base_,!0),s.base_;if(!s.finalized_){s.finalized_=!0,s.scope_.unfinalizedDrafts_--;const c=s.copy_;let p=c,d=!1;s.type_===3&&(p=new Set(c),c.clear(),d=!0),L0(p,(v,b)=>gO(e,s,c,v,b,i,d)),_0(e,c,!1),i&&e.patches_&&fd("Patches").generatePatches_(s,i,e.patches_,e.inversePatches_)}return s.copy_}function gO(e,r,i,s,c,p,d){if(process.env.NODE_ENV!=="production"&&c===i&&Ya(5),dd(c)){const v=p&&r&&r.type_!==3&&!xC(r.assigned_,s)?p.concat(s):void 0,b=I0(e,c,v);if(o3(i,s,b),dd(b))e.canAutoFreeze_=!1;else return}else d&&i.add(c);if(Ws(c)&&!J0(c)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;I0(e,c),(!r||!r.scope_.parent_)&&typeof s!="symbol"&&Object.prototype.propertyIsEnumerable.call(i,s)&&_0(e,c)}}function _0(e,r,i=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&XC(r,i)}function BM(e,r){const i=Array.isArray(e),s={type_:i?1:0,scope_:r?r.scope_:a3(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let c=s,p=KC;i&&(c=[s],p=tv);const{revoke:d,proxy:v}=Proxy.revocable(c,p);return s.draft_=v,s.revoke_=d,v}var KC={get(e,r){if(r===si)return e;const i=id(e);if(!xC(i,r))return zM(e,i,r);const s=i[r];return e.finalized_||!Ws(s)?s:s===KS(e.base_,r)?(ZS(e),e.copy_[r]=TC(s,e)):s},has(e,r){return r in id(e)},ownKeys(e){return Reflect.ownKeys(id(e))},set(e,r,i){const s=i3(id(e),r);if(s!=null&&s.set)return s.set.call(e.draft_,i),!0;if(!e.modified_){const c=KS(id(e),r),p=c==null?void 0:c[si];if(p&&p.base_===i)return e.copy_[r]=i,e.assigned_[r]=!1,!0;if(_M(i,c)&&(i!==void 0||xC(e.base_,r)))return!0;ZS(e),EC(e)}return e.copy_[r]===i&&(i!==void 0||r in e.copy_)||Number.isNaN(i)&&Number.isNaN(e.copy_[r])||(e.copy_[r]=i,e.assigned_[r]=!0),!0},deleteProperty(e,r){return KS(e.base_,r)!==void 0||r in e.base_?(e.assigned_[r]=!1,ZS(e),EC(e)):delete e.assigned_[r],e.copy_&&delete e.copy_[r],!0},getOwnPropertyDescriptor(e,r){const i=id(e),s=Reflect.getOwnPropertyDescriptor(i,r);return s&&{writable:!0,configurable:e.type_!==1||r!=="length",enumerable:s.enumerable,value:i[r]}},defineProperty(){Ya(11)},getPrototypeOf(e){return xp(e.base_)},setPrototypeOf(){Ya(12)}},tv={};L0(KC,(e,r)=>{tv[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});tv.deleteProperty=function(e,r){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(r))&&Ya(13),tv.set.call(this,e,r,void 0)};tv.set=function(e,r,i){return process.env.NODE_ENV!=="production"&&r!=="length"&&isNaN(parseInt(r))&&Ya(14),KC.set.call(this,e[0],r,i,e[0])};function KS(e,r){const i=e[si];return(i?id(i):e)[r]}function zM(e,r,i){var c;const s=i3(r,i);return s?"value"in s?s.value:(c=s.get)==null?void 0:c.call(e.draft_):void 0}function i3(e,r){if(!(r in e))return;let i=xp(e);for(;i;){const s=Object.getOwnPropertyDescriptor(i,r);if(s)return s;i=xp(i)}}function EC(e){e.modified_||(e.modified_=!0,e.parent_&&EC(e.parent_))}function ZS(e){e.copy_||(e.copy_=SC(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var HM=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(r,i,s)=>{if(typeof r=="function"&&typeof i!="function"){const p=i;i=r;const d=this;return function(b=p,...S){return d.produce(b,T=>i.call(this,T,...S))}}typeof i!="function"&&Ya(6),s!==void 0&&typeof s!="function"&&Ya(7);let c;if(Ws(r)){const p=vO(this),d=TC(r,void 0);let v=!0;try{c=i(d),v=!1}finally{v?CC(p):wC(p)}return mO(p,s),yO(c,p)}else if(!r||typeof r!="object"){if(c=i(r),c===void 0&&(c=r),c===n3&&(c=void 0),this.autoFreeze_&&XC(c,!0),s){const p=[],d=[];fd("Patches").generateReplacementPatches_(r,c,p,d),s(p,d)}return c}else Ya(1,r)},this.produceWithPatches=(r,i)=>{if(typeof r=="function")return(d,...v)=>this.produceWithPatches(d,b=>r(b,...v));let s,c;return[this.produce(r,i,(d,v)=>{s=d,c=v}),s,c]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Ws(e)||Ya(8),dd(e)&&(e=GM(e));const r=vO(this),i=TC(e,void 0);return i[si].isManual_=!0,wC(r),i}finishDraft(e,r){const i=e&&e[si];(!i||!i.isManual_)&&Ya(9);const{scope_:s}=i;return mO(s,r),yO(void 0,s)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,r){let i;for(i=r.length-1;i>=0;i--){const c=r[i];if(c.path.length===0&&c.op==="replace"){e=c.value;break}}i>-1&&(r=r.slice(i+1));const s=fd("Patches").applyPatches_;return dd(e)?s(e,r):this.produce(e,c=>s(c,r))}};function TC(e,r){const i=K0(e)?fd("MapSet").proxyMap_(e,r):Z0(e)?fd("MapSet").proxySet_(e,r):BM(e,r);return(r?r.scope_:a3()).drafts_.push(i),i}function GM(e){return dd(e)||Ya(10,e),l3(e)}function l3(e){if(!Ws(e)||J0(e))return e;const r=e[si];let i;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,i=SC(e,r.scope_.immer_.useStrictShallowCopy_)}else i=SC(e,!0);return L0(i,(s,c)=>{o3(i,s,l3(c))}),r&&(r.finalized_=!1),i}var ui=new HM,s3=ui.produce;ui.produceWithPatches.bind(ui);ui.setAutoFreeze.bind(ui);ui.setUseStrictShallowCopy.bind(ui);ui.applyPatches.bind(ui);ui.createDraft.bind(ui);ui.finishDraft.bind(ui);function u3(e){return({dispatch:i,getState:s})=>c=>p=>typeof p=="function"?p(i,s,e):c(p)}var WM=u3(),YM=u3,qM=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?M0:M0.apply(null,arguments)},QM=e=>e&&typeof e.match=="function";function bO(e,r){function i(...s){if(r){let c=r(...s);if(!c)throw new Error(process.env.NODE_ENV==="production"?fr(0):"prepareAction did not return an object");return{type:e,payload:c.payload,..."meta"in c&&{meta:c.meta},..."error"in c&&{error:c.error}}}return{type:e,payload:s[0]}}return i.toString=()=>`${e}`,i.type=e,i.match=s=>t3(s)&&s.type===e,i}function XM(e){return typeof e=="function"&&"type"in e&&QM(e)}function KM(e){const r=e?`${e}`.split("/"):[],i=r[r.length-1]||"actionCreator";return`Detected an action creator with type "${e||"unknown"}" being dispatched.
|
|
2469
|
+
`;function Go(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var TM=typeof Symbol=="function"&&Symbol.observable||"@@observable",fO=TM,XS=()=>Math.random().toString(36).substring(7).split("").join("."),RM={INIT:`@@redux/INIT${XS()}`,REPLACE:`@@redux/REPLACE${XS()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${XS()}`},cd=RM;function sv(e){if(typeof e!="object"||e===null)return!1;let r=e;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r||Object.getPrototypeOf(e)===null}function OM(e){if(e===void 0)return"undefined";if(e===null)return"null";const r=typeof e;switch(r){case"boolean":case"string":case"number":case"symbol":case"function":return r}if(Array.isArray(e))return"array";if(kM(e))return"date";if(AM(e))return"error";const i=$M(e);switch(i){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return i}return Object.prototype.toString.call(e).slice(8,-1).toLowerCase().replace(/\s/g,"")}function $M(e){return typeof e.constructor=="function"?e.constructor.name:null}function AM(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function kM(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function Vu(e){let r=typeof e;return process.env.NODE_ENV!=="production"&&(r=OM(e)),r}function e3(e,r,i){if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?Go(2):`Expected the root reducer to be a function. Instead, received: '${Vu(e)}'`);if(typeof r=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Go(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof r=="function"&&typeof i>"u"&&(i=r,r=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(process.env.NODE_ENV==="production"?Go(1):`Expected the enhancer to be a function. Instead, received: '${Vu(i)}'`);return i(e3)(e,r)}let s=e,c=r,p=new Map,d=p,v=0,b=!1;function S(){d===p&&(d=new Map,p.forEach((j,G)=>{d.set(G,j)}))}function T(){if(b)throw new Error(process.env.NODE_ENV==="production"?Go(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function w(j){if(typeof j!="function")throw new Error(process.env.NODE_ENV==="production"?Go(4):`Expected the listener to be a function. Instead, received: '${Vu(j)}'`);if(b)throw new Error(process.env.NODE_ENV==="production"?Go(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let G=!0;S();const Y=v++;return d.set(Y,j),function(){if(G){if(b)throw new Error(process.env.NODE_ENV==="production"?Go(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");G=!1,S(),d.delete(Y),p=null}}}function R(j){if(!sv(j))throw new Error(process.env.NODE_ENV==="production"?Go(7):`Actions must be plain objects. Instead, the actual type was: '${Vu(j)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof j.type>"u")throw new Error(process.env.NODE_ENV==="production"?Go(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof j.type!="string")throw new Error(process.env.NODE_ENV==="production"?Go(17):`Action "type" property must be a string. Instead, the actual type was: '${Vu(j.type)}'. Value was: '${j.type}' (stringified)`);if(b)throw new Error(process.env.NODE_ENV==="production"?Go(9):"Reducers may not dispatch actions.");try{b=!0,c=s(c,j)}finally{b=!1}return(p=d).forEach(Y=>{Y()}),j}function A(j){if(typeof j!="function")throw new Error(process.env.NODE_ENV==="production"?Go(10):`Expected the nextReducer to be a function. Instead, received: '${Vu(j)}`);s=j,R({type:cd.REPLACE})}function L(){const j=w;return{subscribe(G){if(typeof G!="object"||G===null)throw new Error(process.env.NODE_ENV==="production"?Go(11):`Expected the observer to be an object. Instead, received: '${Vu(G)}'`);function Y(){const V=G;V.next&&V.next(T())}return Y(),{unsubscribe:j(Y)}},[fO](){return this}}}return R({type:cd.INIT}),{dispatch:R,subscribe:w,getState:T,replaceReducer:A,[fO]:L}}function pO(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function PM(e,r,i,s){const c=Object.keys(r),p=i&&i.type===cd.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(c.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!sv(e))return`The ${p} has unexpected type of "${Vu(e)}". Expected argument to be an object with the following keys: "${c.join('", "')}"`;const d=Object.keys(e).filter(v=>!r.hasOwnProperty(v)&&!s[v]);if(d.forEach(v=>{s[v]=!0}),!(i&&i.type===cd.REPLACE)&&d.length>0)return`Unexpected ${d.length>1?"keys":"key"} "${d.join('", "')}" found in ${p}. Expected to find one of the known reducer keys instead: "${c.join('", "')}". Unexpected keys will be ignored.`}function NM(e){Object.keys(e).forEach(r=>{const i=e[r];if(typeof i(void 0,{type:cd.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?Go(12):`The slice reducer for key "${r}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof i(void 0,{type:cd.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?Go(13):`The slice reducer for key "${r}" returned undefined when probed with a random type. Don't try to handle '${cd.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function DM(e){const r=Object.keys(e),i={};for(let d=0;d<r.length;d++){const v=r[d];process.env.NODE_ENV!=="production"&&typeof e[v]>"u"&&pO(`No reducer provided for key "${v}"`),typeof e[v]=="function"&&(i[v]=e[v])}const s=Object.keys(i);let c;process.env.NODE_ENV!=="production"&&(c={});let p;try{NM(i)}catch(d){p=d}return function(v={},b){if(p)throw p;if(process.env.NODE_ENV!=="production"){const w=PM(v,i,b,c);w&&pO(w)}let S=!1;const T={};for(let w=0;w<s.length;w++){const R=s[w],A=i[R],L=v[R],P=A(L,b);if(typeof P>"u"){const j=b&&b.type;throw new Error(process.env.NODE_ENV==="production"?Go(14):`When called with an action of type ${j?`"${String(j)}"`:"(unknown type)"}, the slice reducer for key "${R}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}T[R]=P,S=S||P!==L}return S=S||s.length!==Object.keys(v).length,S?T:v}}function M0(...e){return e.length===0?r=>r:e.length===1?e[0]:e.reduce((r,i)=>(...s)=>r(i(...s)))}function MM(...e){return r=>(i,s)=>{const c=r(i,s);let p=()=>{throw new Error(process.env.NODE_ENV==="production"?Go(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const d={getState:c.getState,dispatch:(b,...S)=>p(b,...S)},v=e.map(b=>b(d));return p=M0(...v)(c.dispatch),{...c,dispatch:p}}}function t3(e){return sv(e)&&"type"in e&&typeof e.type=="string"}var n3=Symbol.for("immer-nothing"),hO=Symbol.for("immer-draftable"),si=Symbol.for("immer-state"),LM=process.env.NODE_ENV!=="production"?[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},"This object has been frozen and should not be mutated",function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}]:[];function qa(e,...r){if(process.env.NODE_ENV!=="production"){const i=LM[e],s=typeof i=="function"?i.apply(null,r):i;throw new Error(`[Immer] ${s}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var xp=Object.getPrototypeOf;function dd(e){return!!e&&!!e[si]}function Ws(e){var r;return e?r3(e)||Array.isArray(e)||!!e[hO]||!!((r=e.constructor)!=null&&r[hO])||K0(e)||Z0(e):!1}var IM=Object.prototype.constructor.toString();function r3(e){if(!e||typeof e!="object")return!1;const r=xp(e);if(r===null)return!0;const i=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return i===Object?!0:typeof i=="function"&&Function.toString.call(i)===IM}function L0(e,r){X0(e)===0?Reflect.ownKeys(e).forEach(i=>{r(i,e[i],e)}):e.forEach((i,s)=>r(s,i,e))}function X0(e){const r=e[si];return r?r.type_:Array.isArray(e)?1:K0(e)?2:Z0(e)?3:0}function xC(e,r){return X0(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function o3(e,r,i){const s=X0(e);s===2?e.set(r,i):s===3?e.add(i):e[r]=i}function _M(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}function K0(e){return e instanceof Map}function Z0(e){return e instanceof Set}function id(e){return e.copy_||e.base_}function SC(e,r){if(K0(e))return new Map(e);if(Z0(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const i=r3(e);if(r===!0||r==="class_only"&&!i){const s=Object.getOwnPropertyDescriptors(e);delete s[si];let c=Reflect.ownKeys(s);for(let p=0;p<c.length;p++){const d=c[p],v=s[d];v.writable===!1&&(v.writable=!0,v.configurable=!0),(v.get||v.set)&&(s[d]={configurable:!0,writable:!0,enumerable:v.enumerable,value:e[d]})}return Object.create(xp(e),s)}else{const s=xp(e);if(s!==null&&i)return{...e};const c=Object.create(s);return Object.assign(c,e)}}function XC(e,r=!1){return J0(e)||dd(e)||!Ws(e)||(X0(e)>1&&(e.set=e.add=e.clear=e.delete=FM),Object.freeze(e),r&&Object.entries(e).forEach(([i,s])=>XC(s,!0))),e}function FM(){qa(2)}function J0(e){return Object.isFrozen(e)}var VM={};function fd(e){const r=VM[e];return r||qa(0,e),r}var ev;function a3(){return ev}function jM(e,r){return{drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function mO(e,r){r&&(fd("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=r)}function CC(e){wC(e),e.drafts_.forEach(UM),e.drafts_=null}function wC(e){e===ev&&(ev=e.parent_)}function vO(e){return ev=jM(ev,e)}function UM(e){const r=e[si];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function yO(e,r){r.unfinalizedDrafts_=r.drafts_.length;const i=r.drafts_[0];return e!==void 0&&e!==i?(i[si].modified_&&(CC(r),qa(4)),Ws(e)&&(e=I0(r,e),r.parent_||_0(r,e)),r.patches_&&fd("Patches").generateReplacementPatches_(i[si].base_,e,r.patches_,r.inversePatches_)):e=I0(r,i,[]),CC(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),e!==n3?e:void 0}function I0(e,r,i){if(J0(r))return r;const s=r[si];if(!s)return L0(r,(c,p)=>gO(e,s,r,c,p,i)),r;if(s.scope_!==e)return r;if(!s.modified_)return _0(e,s.base_,!0),s.base_;if(!s.finalized_){s.finalized_=!0,s.scope_.unfinalizedDrafts_--;const c=s.copy_;let p=c,d=!1;s.type_===3&&(p=new Set(c),c.clear(),d=!0),L0(p,(v,b)=>gO(e,s,c,v,b,i,d)),_0(e,c,!1),i&&e.patches_&&fd("Patches").generatePatches_(s,i,e.patches_,e.inversePatches_)}return s.copy_}function gO(e,r,i,s,c,p,d){if(process.env.NODE_ENV!=="production"&&c===i&&qa(5),dd(c)){const v=p&&r&&r.type_!==3&&!xC(r.assigned_,s)?p.concat(s):void 0,b=I0(e,c,v);if(o3(i,s,b),dd(b))e.canAutoFreeze_=!1;else return}else d&&i.add(c);if(Ws(c)&&!J0(c)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;I0(e,c),(!r||!r.scope_.parent_)&&typeof s!="symbol"&&Object.prototype.propertyIsEnumerable.call(i,s)&&_0(e,c)}}function _0(e,r,i=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&XC(r,i)}function BM(e,r){const i=Array.isArray(e),s={type_:i?1:0,scope_:r?r.scope_:a3(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let c=s,p=KC;i&&(c=[s],p=tv);const{revoke:d,proxy:v}=Proxy.revocable(c,p);return s.draft_=v,s.revoke_=d,v}var KC={get(e,r){if(r===si)return e;const i=id(e);if(!xC(i,r))return zM(e,i,r);const s=i[r];return e.finalized_||!Ws(s)?s:s===KS(e.base_,r)?(ZS(e),e.copy_[r]=TC(s,e)):s},has(e,r){return r in id(e)},ownKeys(e){return Reflect.ownKeys(id(e))},set(e,r,i){const s=i3(id(e),r);if(s!=null&&s.set)return s.set.call(e.draft_,i),!0;if(!e.modified_){const c=KS(id(e),r),p=c==null?void 0:c[si];if(p&&p.base_===i)return e.copy_[r]=i,e.assigned_[r]=!1,!0;if(_M(i,c)&&(i!==void 0||xC(e.base_,r)))return!0;ZS(e),EC(e)}return e.copy_[r]===i&&(i!==void 0||r in e.copy_)||Number.isNaN(i)&&Number.isNaN(e.copy_[r])||(e.copy_[r]=i,e.assigned_[r]=!0),!0},deleteProperty(e,r){return KS(e.base_,r)!==void 0||r in e.base_?(e.assigned_[r]=!1,ZS(e),EC(e)):delete e.assigned_[r],e.copy_&&delete e.copy_[r],!0},getOwnPropertyDescriptor(e,r){const i=id(e),s=Reflect.getOwnPropertyDescriptor(i,r);return s&&{writable:!0,configurable:e.type_!==1||r!=="length",enumerable:s.enumerable,value:i[r]}},defineProperty(){qa(11)},getPrototypeOf(e){return xp(e.base_)},setPrototypeOf(){qa(12)}},tv={};L0(KC,(e,r)=>{tv[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});tv.deleteProperty=function(e,r){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(r))&&qa(13),tv.set.call(this,e,r,void 0)};tv.set=function(e,r,i){return process.env.NODE_ENV!=="production"&&r!=="length"&&isNaN(parseInt(r))&&qa(14),KC.set.call(this,e[0],r,i,e[0])};function KS(e,r){const i=e[si];return(i?id(i):e)[r]}function zM(e,r,i){var c;const s=i3(r,i);return s?"value"in s?s.value:(c=s.get)==null?void 0:c.call(e.draft_):void 0}function i3(e,r){if(!(r in e))return;let i=xp(e);for(;i;){const s=Object.getOwnPropertyDescriptor(i,r);if(s)return s;i=xp(i)}}function EC(e){e.modified_||(e.modified_=!0,e.parent_&&EC(e.parent_))}function ZS(e){e.copy_||(e.copy_=SC(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var HM=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(r,i,s)=>{if(typeof r=="function"&&typeof i!="function"){const p=i;i=r;const d=this;return function(b=p,...S){return d.produce(b,T=>i.call(this,T,...S))}}typeof i!="function"&&qa(6),s!==void 0&&typeof s!="function"&&qa(7);let c;if(Ws(r)){const p=vO(this),d=TC(r,void 0);let v=!0;try{c=i(d),v=!1}finally{v?CC(p):wC(p)}return mO(p,s),yO(c,p)}else if(!r||typeof r!="object"){if(c=i(r),c===void 0&&(c=r),c===n3&&(c=void 0),this.autoFreeze_&&XC(c,!0),s){const p=[],d=[];fd("Patches").generateReplacementPatches_(r,c,p,d),s(p,d)}return c}else qa(1,r)},this.produceWithPatches=(r,i)=>{if(typeof r=="function")return(d,...v)=>this.produceWithPatches(d,b=>r(b,...v));let s,c;return[this.produce(r,i,(d,v)=>{s=d,c=v}),s,c]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Ws(e)||qa(8),dd(e)&&(e=GM(e));const r=vO(this),i=TC(e,void 0);return i[si].isManual_=!0,wC(r),i}finishDraft(e,r){const i=e&&e[si];(!i||!i.isManual_)&&qa(9);const{scope_:s}=i;return mO(s,r),yO(void 0,s)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,r){let i;for(i=r.length-1;i>=0;i--){const c=r[i];if(c.path.length===0&&c.op==="replace"){e=c.value;break}}i>-1&&(r=r.slice(i+1));const s=fd("Patches").applyPatches_;return dd(e)?s(e,r):this.produce(e,c=>s(c,r))}};function TC(e,r){const i=K0(e)?fd("MapSet").proxyMap_(e,r):Z0(e)?fd("MapSet").proxySet_(e,r):BM(e,r);return(r?r.scope_:a3()).drafts_.push(i),i}function GM(e){return dd(e)||qa(10,e),l3(e)}function l3(e){if(!Ws(e)||J0(e))return e;const r=e[si];let i;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,i=SC(e,r.scope_.immer_.useStrictShallowCopy_)}else i=SC(e,!0);return L0(i,(s,c)=>{o3(i,s,l3(c))}),r&&(r.finalized_=!1),i}var ui=new HM,s3=ui.produce;ui.produceWithPatches.bind(ui);ui.setAutoFreeze.bind(ui);ui.setUseStrictShallowCopy.bind(ui);ui.applyPatches.bind(ui);ui.createDraft.bind(ui);ui.finishDraft.bind(ui);function u3(e){return({dispatch:i,getState:s})=>c=>p=>typeof p=="function"?p(i,s,e):c(p)}var WM=u3(),YM=u3,qM=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?M0:M0.apply(null,arguments)},QM=e=>e&&typeof e.match=="function";function bO(e,r){function i(...s){if(r){let c=r(...s);if(!c)throw new Error(process.env.NODE_ENV==="production"?fr(0):"prepareAction did not return an object");return{type:e,payload:c.payload,..."meta"in c&&{meta:c.meta},..."error"in c&&{error:c.error}}}return{type:e,payload:s[0]}}return i.toString=()=>`${e}`,i.type=e,i.match=s=>t3(s)&&s.type===e,i}function XM(e){return typeof e=="function"&&"type"in e&&QM(e)}function KM(e){const r=e?`${e}`.split("/"):[],i=r[r.length-1]||"actionCreator";return`Detected an action creator with type "${e||"unknown"}" being dispatched.
|
|
2470
2470
|
Make sure you're calling the action creator before dispatching, i.e. \`dispatch(${i}())\` instead of \`dispatch(${i})\`. This is necessary even if the action has no payload.`}function ZM(e={}){if(process.env.NODE_ENV==="production")return()=>i=>s=>i(s);const{isActionCreator:r=XM}=e;return()=>i=>s=>(r(s)&&console.warn(KM(s.type)),i(s))}function c3(e,r){let i=0;return{measureTime(s){const c=Date.now();try{return s()}finally{const p=Date.now();i+=p-c}},warnIfExceeded(){i>e&&console.warn(`${r} took ${i}ms, which is more than the warning threshold of ${e}ms.
|
|
2471
2471
|
If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
|
|
2472
2472
|
It is disabled in production builds, so you don't need to worry about that.`)}}}var d3=class Wm extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,Wm.prototype)}static get[Symbol.species](){return Wm}concat(...r){return super.concat.apply(this,r)}prepend(...r){return r.length===1&&Array.isArray(r[0])?new Wm(...r[0].concat(this)):new Wm(...r.concat(this))}};function xO(e){return Ws(e)?s3(e,()=>{}):e}function SO(e,r,i){if(e.has(r)){let c=e.get(r);return i.update&&(c=i.update(c,r,e),e.set(r,c)),c}if(!i.insert)throw new Error(process.env.NODE_ENV==="production"?fr(10):"No insert provided for key not already in map");const s=i.insert(r,e);return e.set(r,s),s}function JM(e){return typeof e!="object"||e==null||Object.isFrozen(e)}function e5(e,r,i){const s=f3(e,r,i);return{detectMutations(){return p3(e,r,s,i)}}}function f3(e,r=[],i,s="",c=new Set){const p={value:i};if(!e(i)&&!c.has(i)){c.add(i),p.children={};for(const d in i){const v=s?s+"."+d:d;r.length&&r.indexOf(v)!==-1||(p.children[d]=f3(e,r,i[d],v))}}return p}function p3(e,r=[],i,s,c=!1,p=""){const d=i?i.value:void 0,v=d===s;if(c&&!v&&!Number.isNaN(s))return{wasMutated:!0,path:p};if(e(d)||e(s))return{wasMutated:!1};const b={};for(let T in i.children)b[T]=!0;for(let T in s)b[T]=!0;const S=r.length>0;for(let T in b){const w=p?p+"."+T:T;if(S&&r.some(L=>L instanceof RegExp?L.test(w):w===L))continue;const R=p3(e,r,i.children[T],s[T],v,w);if(R.wasMutated)return R}return{wasMutated:!1}}function t5(e={}){if(process.env.NODE_ENV==="production")return()=>r=>i=>r(i);{let r=function(v,b,S,T){return JSON.stringify(v,i(b,T),S)},i=function(v,b){let S=[],T=[];return b||(b=function(w,R){return S[0]===R?"[Circular ~]":"[Circular ~."+T.slice(0,S.indexOf(R)).join(".")+"]"}),function(w,R){if(S.length>0){var A=S.indexOf(this);~A?S.splice(A+1):S.push(this),~A?T.splice(A,1/0,w):T.push(w),~S.indexOf(R)&&(R=b.call(this,w,R))}else S.push(R);return v==null?R:v.call(this,w,R)}},{isImmutable:s=JM,ignoredPaths:c,warnAfter:p=32}=e;const d=e5.bind(null,s,c);return({getState:v})=>{let b=v(),S=d(b),T;return w=>R=>{const A=c3(p,"ImmutableStateInvariantMiddleware");A.measureTime(()=>{if(b=v(),T=S.detectMutations(),S=d(b),T.wasMutated)throw new Error(process.env.NODE_ENV==="production"?fr(19):`A state mutation was detected between dispatches, in the path '${T.path||""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)});const L=w(R);return A.measureTime(()=>{if(b=v(),T=S.detectMutations(),S=d(b),T.wasMutated)throw new Error(process.env.NODE_ENV==="production"?fr(20):`A state mutation was detected inside a dispatch, in the path: ${T.path||""}. Take a look at the reducer(s) handling the action ${r(R)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}),A.warnIfExceeded(),L}}}}function h3(e){const r=typeof e;return e==null||r==="string"||r==="boolean"||r==="number"||Array.isArray(e)||sv(e)}function RC(e,r="",i=h3,s,c=[],p){let d;if(!i(e))return{keyPath:r||"<root>",value:e};if(typeof e!="object"||e===null||p!=null&&p.has(e))return!1;const v=s!=null?s(e):Object.entries(e),b=c.length>0;for(const[S,T]of v){const w=r?r+"."+S:S;if(!(b&&c.some(A=>A instanceof RegExp?A.test(w):w===A))){if(!i(T))return{keyPath:w,value:T};if(typeof T=="object"&&(d=RC(T,w,i,s,c,p),d))return d}}return p&&m3(e)&&p.add(e),!1}function m3(e){if(!Object.isFrozen(e))return!1;for(const r of Object.values(e))if(!(typeof r!="object"||r===null)&&!m3(r))return!1;return!0}function n5(e={}){if(process.env.NODE_ENV==="production")return()=>r=>i=>r(i);{const{isSerializable:r=h3,getEntries:i,ignoredActions:s=[],ignoredActionPaths:c=["meta.arg","meta.baseQueryMeta"],ignoredPaths:p=[],warnAfter:d=32,ignoreState:v=!1,ignoreActions:b=!1,disableCache:S=!1}=e,T=!S&&WeakSet?new WeakSet:void 0;return w=>R=>A=>{if(!t3(A))return R(A);const L=R(A),P=c3(d,"SerializableStateInvariantMiddleware");return!b&&!(s.length&&s.indexOf(A.type)!==-1)&&P.measureTime(()=>{const j=RC(A,"",r,i,c,T);if(j){const{keyPath:G,value:Y}=j;console.error(`A non-serializable value was detected in an action, in the path: \`${G}\`. Value:`,Y,`
|
|
@@ -2474,7 +2474,7 @@ Take a look at the logic that dispatched this action: `,A,`
|
|
|
2474
2474
|
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
|
|
2475
2475
|
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),v||(P.measureTime(()=>{const j=w.getState(),G=RC(j,"",r,i,p,T);if(G){const{keyPath:Y,value:k}=G;console.error(`A non-serializable value was detected in the state, in the path: \`${Y}\`. Value:`,k,`
|
|
2476
2476
|
Take a look at the reducer(s) handling this action type: ${A.type}.
|
|
2477
|
-
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),P.warnIfExceeded()),L}}}function h0(e){return typeof e=="boolean"}var r5=()=>function(r){const{thunk:i=!0,immutableCheck:s=!0,serializableCheck:c=!0,actionCreatorCheck:p=!0}=r??{};let d=new d3;if(i&&(h0(i)?d.push(WM):d.push(YM(i.extraArgument))),process.env.NODE_ENV!=="production"){if(s){let v={};h0(s)||(v=s),d.unshift(t5(v))}if(c){let v={};h0(c)||(v=c),d.push(n5(v))}if(p){let v={};h0(p)||(v=p),d.unshift(ZM(v))}}return d},o5="RTK_autoBatch",v3=e=>r=>{setTimeout(r,e)},a5=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:v3(10),i5=(e={type:"raf"})=>r=>(...i)=>{const s=r(...i);let c=!0,p=!1,d=!1;const v=new Set,b=e.type==="tick"?queueMicrotask:e.type==="raf"?a5:e.type==="callback"?e.queueNotification:v3(e.timeout),S=()=>{d=!1,p&&(p=!1,v.forEach(T=>T()))};return Object.assign({},s,{subscribe(T){const w=()=>c&&T(),R=s.subscribe(w);return v.add(T),()=>{R(),v.delete(T)}},dispatch(T){var w;try{return c=!((w=T==null?void 0:T.meta)!=null&&w[o5]),p=!c,p&&(d||(d=!0,b(S))),s.dispatch(T)}finally{c=!0}}})},l5=e=>function(i){const{autoBatch:s=!0}=i??{};let c=new d3(e);return s&&c.push(i5(typeof s=="object"?s:void 0)),c};function s5(e){const r=r5(),{reducer:i=void 0,middleware:s,devTools:c=!0,preloadedState:p=void 0,enhancers:d=void 0}=e||{};let v;if(typeof i=="function")v=i;else if(sv(i))v=DM(i);else throw new Error(process.env.NODE_ENV==="production"?fr(1):"`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");if(process.env.NODE_ENV!=="production"&&s&&typeof s!="function")throw new Error(process.env.NODE_ENV==="production"?fr(2):"`middleware` field must be a callback");let b;if(typeof s=="function"){if(b=s(r),process.env.NODE_ENV!=="production"&&!Array.isArray(b))throw new Error(process.env.NODE_ENV==="production"?fr(3):"when using a middleware builder function, an array of middleware must be returned")}else b=r();if(process.env.NODE_ENV!=="production"&&b.some(L=>typeof L!="function"))throw new Error(process.env.NODE_ENV==="production"?fr(4):"each middleware provided to configureStore must be a function");let S=M0;c&&(S=qM({trace:process.env.NODE_ENV!=="production",...typeof c=="object"&&c}));const T=MM(...b),w=l5(T);if(process.env.NODE_ENV!=="production"&&d&&typeof d!="function")throw new Error(process.env.NODE_ENV==="production"?fr(5):"`enhancers` field must be a callback");let R=typeof d=="function"?d(w):w();if(process.env.NODE_ENV!=="production"&&!Array.isArray(R))throw new Error(process.env.NODE_ENV==="production"?fr(6):"`enhancers` callback must return an array");if(process.env.NODE_ENV!=="production"&&R.some(L=>typeof L!="function"))throw new Error(process.env.NODE_ENV==="production"?fr(7):"each enhancer provided to configureStore must be a function");process.env.NODE_ENV!=="production"&&b.length&&!R.includes(T)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const A=S(...R);return e3(v,p,A)}function y3(e){const r={},i=[];let s;const c={addCase(p,d){if(process.env.NODE_ENV!=="production"){if(i.length>0)throw new Error(process.env.NODE_ENV==="production"?fr(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(s)throw new Error(process.env.NODE_ENV==="production"?fr(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const v=typeof p=="string"?p:p.type;if(!v)throw new Error(process.env.NODE_ENV==="production"?fr(28):"`builder.addCase` cannot be called with an empty action type");if(v in r)throw new Error(process.env.NODE_ENV==="production"?fr(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${v}'`);return r[v]=d,c},addMatcher(p,d){if(process.env.NODE_ENV!=="production"&&s)throw new Error(process.env.NODE_ENV==="production"?fr(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return i.push({matcher:p,reducer:d}),c},addDefaultCase(p){if(process.env.NODE_ENV!=="production"&&s)throw new Error(process.env.NODE_ENV==="production"?fr(31):"`builder.addDefaultCase` can only be called once");return s=p,c}};return e(c),[r,i,s]}function u5(e){return typeof e=="function"}function c5(e,r){if(process.env.NODE_ENV!=="production"&&typeof r=="object")throw new Error(process.env.NODE_ENV==="production"?fr(8):"The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let[i,s,c]=y3(r),p;if(u5(e))p=()=>xO(e());else{const v=xO(e);p=()=>v}function d(v=p(),b){let S=[i[b.type],...s.filter(({matcher:T})=>T(b)).map(({reducer:T})=>T)];return S.filter(T=>!!T).length===0&&(S=[c]),S.reduce((T,w)=>{if(w)if(dd(T)){const A=w(T,b);return A===void 0?T:A}else{if(Ws(T))return s3(T,R=>w(R,b));{const R=w(T,b);if(R===void 0){if(T===null)return T;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}}return T},v)}return d.getInitialState=p,d}var d5=Symbol.for("rtk-slice-createasyncthunk");function f5(e,r){return`${e}/${r}`}function p5({creators:e}={}){var i;const r=(i=e==null?void 0:e.asyncThunk)==null?void 0:i[d5];return function(c){const{name:p,reducerPath:d=p}=c;if(!p)throw new Error(process.env.NODE_ENV==="production"?fr(11):"`name` is a required option for createSlice");typeof process<"u"&&process.env.NODE_ENV==="development"&&c.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");const v=(typeof c.reducers=="function"?c.reducers(m5()):c.reducers)||{},b=Object.keys(v),S={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},T={addCase(k,V){const N=typeof k=="string"?k:k.type;if(!N)throw new Error(process.env.NODE_ENV==="production"?fr(12):"`context.addCase` cannot be called with an empty action type");if(N in S.sliceCaseReducersByType)throw new Error(process.env.NODE_ENV==="production"?fr(13):"`context.addCase` cannot be called with two reducers for the same action type: "+N);return S.sliceCaseReducersByType[N]=V,T},addMatcher(k,V){return S.sliceMatchers.push({matcher:k,reducer:V}),T},exposeAction(k,V){return S.actionCreators[k]=V,T},exposeCaseReducer(k,V){return S.sliceCaseReducersByName[k]=V,T}};b.forEach(k=>{const V=v[k],N={reducerName:k,type:f5(p,k),createNotation:typeof c.reducers=="function"};y5(V)?b5(N,V,T,r):v5(N,V,T)});function w(){if(process.env.NODE_ENV!=="production"&&typeof c.extraReducers=="object")throw new Error(process.env.NODE_ENV==="production"?fr(14):"The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");const[k={},V=[],N=void 0]=typeof c.extraReducers=="function"?y3(c.extraReducers):[c.extraReducers],z={...k,...S.sliceCaseReducersByType};return c5(c.initialState,Z=>{for(let ie in z)Z.addCase(ie,z[ie]);for(let ie of S.sliceMatchers)Z.addMatcher(ie.matcher,ie.reducer);for(let ie of V)Z.addMatcher(ie.matcher,ie.reducer);N&&Z.addDefaultCase(N)})}const R=k=>k,A=new Map;let L;function P(k,V){return L||(L=w()),L(k,V)}function j(){return L||(L=w()),L.getInitialState()}function G(k,V=!1){function N(Z){let ie=Z[k];if(typeof ie>"u"){if(V)ie=j();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?fr(15):"selectSlice returned undefined for an uninjected slice reducer")}return ie}function z(Z=R){const ie=SO(A,V,{insert:()=>new WeakMap});return SO(ie,Z,{insert:()=>{const ge={};for(const[M,se]of Object.entries(c.selectors??{}))ge[M]=h5(se,Z,j,V);return ge}})}return{reducerPath:k,getSelectors:z,get selectors(){return z(N)},selectSlice:N}}const Y={name:p,reducer:P,actions:S.actionCreators,caseReducers:S.sliceCaseReducersByName,getInitialState:j,...G(d),injectInto(k,{reducerPath:V,...N}={}){const z=V??d;return k.inject({reducerPath:z,reducer:P},N),{...Y,...G(z,!0)}}};return Y}}function h5(e,r,i,s){function c(p,...d){let v=r(p);if(typeof v>"u"){if(s)v=i();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?fr(16):"selectState returned undefined for an uninjected slice reducer")}return e(v,...d)}return c.unwrapped=e,c}var g3=p5();function m5(){function e(r,i){return{_reducerDefinitionType:"asyncThunk",payloadCreator:r,...i}}return e.withTypes=()=>e,{reducer(r){return Object.assign({[r.name](...i){return r(...i)}}[r.name],{_reducerDefinitionType:"reducer"})},preparedReducer(r,i){return{_reducerDefinitionType:"reducerWithPrepare",prepare:r,reducer:i}},asyncThunk:e}}function v5({type:e,reducerName:r,createNotation:i},s,c){let p,d;if("reducer"in s){if(i&&!g5(s))throw new Error(process.env.NODE_ENV==="production"?fr(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");p=s.reducer,d=s.prepare}else p=s;c.addCase(e,p).exposeCaseReducer(r,p).exposeAction(r,d?bO(e,d):bO(e))}function y5(e){return e._reducerDefinitionType==="asyncThunk"}function g5(e){return e._reducerDefinitionType==="reducerWithPrepare"}function b5({type:e,reducerName:r},i,s,c){if(!c)throw new Error(process.env.NODE_ENV==="production"?fr(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:p,fulfilled:d,pending:v,rejected:b,settled:S,options:T}=i,w=c(e,p,T);s.exposeAction(r,w),d&&s.addCase(w.fulfilled,d),v&&s.addCase(w.pending,v),b&&s.addCase(w.rejected,b),S&&s.addMatcher(w.settled,S),s.exposeCaseReducer(r,{fulfilled:d||m0,pending:v||m0,rejected:b||m0,settled:S||m0})}function m0(){}function fr(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const x5={inputValues:{},inputErrors:{},disableSubmit:!1,currentFlow:{},currentForm:{}},F0=g3({name:"flow",initialState:x5,reducers:{setInputValue:(e,r)=>{const{field:i,value:s}=r.payload;e.inputValues[i]=s},setInputValues:(e,r)=>{e.inputValues={...e.inputValues,...r.payload}},resetAndSetInputValues:(e,r)=>{e.inputValues=r.payload},setInputError:(e,r)=>{const{field:i,error:s}=r.payload;s===null?delete e.inputErrors[i]:e.inputErrors[i]=s},setDisableSubmit:(e,r)=>{e.disableSubmit=r.payload},setCurrentFlow:(e,r)=>{e.currentFlow=r.payload},setCurrentForm:(e,r)=>{e.currentForm=r.payload}},selectors:{selectInputValues:e=>e.inputValues,selectInputErrors:e=>e.inputErrors,selectDisableSubmit:e=>e.disableSubmit,selectCurrentFlow:e=>e.currentFlow,selectCurrentForm:e=>e.currentForm}}),{setInputValue:S5,setInputValues:C5,resetAndSetInputValues:w5,setInputError:E5,setDisableSubmit:T5,setCurrentFlow:R5,setCurrentForm:O5}=F0.actions,{selectInputValues:$5,selectInputErrors:A5,selectDisableSubmit:k5,selectCurrentFlow:P5,selectCurrentForm:N5}=F0.selectors,D5={patient:{id:null,profile:{}}},V0=g3({name:"patient",initialState:D5,reducers:{setPatient:(e,r)=>{e.patient=r.payload},updatePatient:(e,r)=>{e.patient&&(e.patient.profile={...e.patient.profile,...r.payload})}},selectors:{selectPatient:e=>{var r;return((r=e.patient)==null?void 0:r.profile)||null}}}),{setPatient:M5,updatePatient:L5}=V0.actions,{selectPatient:I5}=V0.selectors,Sp=e=>e==null?"":String(e),_5=e=>e===""?null:e,F5=e=>e?"true":"false",b3=e=>e==="true",V5=e=>e==="true"||e==="false"?b3(e):e,CO=e=>typeof e=="boolean"?F5(e):e,j5=e=>e==null?"":String(e),U5=e=>{if(e===""||e===null||e===void 0)return null;const r=Number(e);return isNaN(r)?null:r},B5=({formComponent:e})=>{const r=e.props,{propertyId:i,label:s="Input Label",min:c,max:p,allowLeadingZero:d,required:v}=r||{},{getFlowValue:b,setFlowAndPatientValue:S,getFlowError:T}=Nr(),w=j5(b(i)),R=T(i),A=!!R&&R!=="Required",L=1,P=v==="true",j=G=>{let{value:Y}=G.target;d||(Y=Y.replace(/^0+/,""));const k=U5(Y);S(i,k)};return I.jsxs(ai,{$visible:!0,$hasError:A,children:[I.jsx(Mi,{$color:A?"danger":void 0,children:s}),I.jsx("input",{type:"number",value:w,onInput:j,min:c,max:p,step:L,inputMode:"numeric",pattern:"\\[0-9\\]\\*"}),P&&!w&&!A?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):A?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),R]}):null]})},Cp=({errors:e})=>I.jsx(z5,{children:e.map((r,i)=>I.jsx(H5,{children:r},i))}),z5=be.div`
|
|
2477
|
+
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),P.warnIfExceeded()),L}}}function h0(e){return typeof e=="boolean"}var r5=()=>function(r){const{thunk:i=!0,immutableCheck:s=!0,serializableCheck:c=!0,actionCreatorCheck:p=!0}=r??{};let d=new d3;if(i&&(h0(i)?d.push(WM):d.push(YM(i.extraArgument))),process.env.NODE_ENV!=="production"){if(s){let v={};h0(s)||(v=s),d.unshift(t5(v))}if(c){let v={};h0(c)||(v=c),d.push(n5(v))}if(p){let v={};h0(p)||(v=p),d.unshift(ZM(v))}}return d},o5="RTK_autoBatch",v3=e=>r=>{setTimeout(r,e)},a5=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:v3(10),i5=(e={type:"raf"})=>r=>(...i)=>{const s=r(...i);let c=!0,p=!1,d=!1;const v=new Set,b=e.type==="tick"?queueMicrotask:e.type==="raf"?a5:e.type==="callback"?e.queueNotification:v3(e.timeout),S=()=>{d=!1,p&&(p=!1,v.forEach(T=>T()))};return Object.assign({},s,{subscribe(T){const w=()=>c&&T(),R=s.subscribe(w);return v.add(T),()=>{R(),v.delete(T)}},dispatch(T){var w;try{return c=!((w=T==null?void 0:T.meta)!=null&&w[o5]),p=!c,p&&(d||(d=!0,b(S))),s.dispatch(T)}finally{c=!0}}})},l5=e=>function(i){const{autoBatch:s=!0}=i??{};let c=new d3(e);return s&&c.push(i5(typeof s=="object"?s:void 0)),c};function s5(e){const r=r5(),{reducer:i=void 0,middleware:s,devTools:c=!0,preloadedState:p=void 0,enhancers:d=void 0}=e||{};let v;if(typeof i=="function")v=i;else if(sv(i))v=DM(i);else throw new Error(process.env.NODE_ENV==="production"?fr(1):"`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");if(process.env.NODE_ENV!=="production"&&s&&typeof s!="function")throw new Error(process.env.NODE_ENV==="production"?fr(2):"`middleware` field must be a callback");let b;if(typeof s=="function"){if(b=s(r),process.env.NODE_ENV!=="production"&&!Array.isArray(b))throw new Error(process.env.NODE_ENV==="production"?fr(3):"when using a middleware builder function, an array of middleware must be returned")}else b=r();if(process.env.NODE_ENV!=="production"&&b.some(L=>typeof L!="function"))throw new Error(process.env.NODE_ENV==="production"?fr(4):"each middleware provided to configureStore must be a function");let S=M0;c&&(S=qM({trace:process.env.NODE_ENV!=="production",...typeof c=="object"&&c}));const T=MM(...b),w=l5(T);if(process.env.NODE_ENV!=="production"&&d&&typeof d!="function")throw new Error(process.env.NODE_ENV==="production"?fr(5):"`enhancers` field must be a callback");let R=typeof d=="function"?d(w):w();if(process.env.NODE_ENV!=="production"&&!Array.isArray(R))throw new Error(process.env.NODE_ENV==="production"?fr(6):"`enhancers` callback must return an array");if(process.env.NODE_ENV!=="production"&&R.some(L=>typeof L!="function"))throw new Error(process.env.NODE_ENV==="production"?fr(7):"each enhancer provided to configureStore must be a function");process.env.NODE_ENV!=="production"&&b.length&&!R.includes(T)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const A=S(...R);return e3(v,p,A)}function y3(e){const r={},i=[];let s;const c={addCase(p,d){if(process.env.NODE_ENV!=="production"){if(i.length>0)throw new Error(process.env.NODE_ENV==="production"?fr(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(s)throw new Error(process.env.NODE_ENV==="production"?fr(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const v=typeof p=="string"?p:p.type;if(!v)throw new Error(process.env.NODE_ENV==="production"?fr(28):"`builder.addCase` cannot be called with an empty action type");if(v in r)throw new Error(process.env.NODE_ENV==="production"?fr(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${v}'`);return r[v]=d,c},addMatcher(p,d){if(process.env.NODE_ENV!=="production"&&s)throw new Error(process.env.NODE_ENV==="production"?fr(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return i.push({matcher:p,reducer:d}),c},addDefaultCase(p){if(process.env.NODE_ENV!=="production"&&s)throw new Error(process.env.NODE_ENV==="production"?fr(31):"`builder.addDefaultCase` can only be called once");return s=p,c}};return e(c),[r,i,s]}function u5(e){return typeof e=="function"}function c5(e,r){if(process.env.NODE_ENV!=="production"&&typeof r=="object")throw new Error(process.env.NODE_ENV==="production"?fr(8):"The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let[i,s,c]=y3(r),p;if(u5(e))p=()=>xO(e());else{const v=xO(e);p=()=>v}function d(v=p(),b){let S=[i[b.type],...s.filter(({matcher:T})=>T(b)).map(({reducer:T})=>T)];return S.filter(T=>!!T).length===0&&(S=[c]),S.reduce((T,w)=>{if(w)if(dd(T)){const A=w(T,b);return A===void 0?T:A}else{if(Ws(T))return s3(T,R=>w(R,b));{const R=w(T,b);if(R===void 0){if(T===null)return T;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}}return T},v)}return d.getInitialState=p,d}var d5=Symbol.for("rtk-slice-createasyncthunk");function f5(e,r){return`${e}/${r}`}function p5({creators:e}={}){var i;const r=(i=e==null?void 0:e.asyncThunk)==null?void 0:i[d5];return function(c){const{name:p,reducerPath:d=p}=c;if(!p)throw new Error(process.env.NODE_ENV==="production"?fr(11):"`name` is a required option for createSlice");typeof process<"u"&&process.env.NODE_ENV==="development"&&c.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");const v=(typeof c.reducers=="function"?c.reducers(m5()):c.reducers)||{},b=Object.keys(v),S={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},T={addCase(k,V){const N=typeof k=="string"?k:k.type;if(!N)throw new Error(process.env.NODE_ENV==="production"?fr(12):"`context.addCase` cannot be called with an empty action type");if(N in S.sliceCaseReducersByType)throw new Error(process.env.NODE_ENV==="production"?fr(13):"`context.addCase` cannot be called with two reducers for the same action type: "+N);return S.sliceCaseReducersByType[N]=V,T},addMatcher(k,V){return S.sliceMatchers.push({matcher:k,reducer:V}),T},exposeAction(k,V){return S.actionCreators[k]=V,T},exposeCaseReducer(k,V){return S.sliceCaseReducersByName[k]=V,T}};b.forEach(k=>{const V=v[k],N={reducerName:k,type:f5(p,k),createNotation:typeof c.reducers=="function"};y5(V)?b5(N,V,T,r):v5(N,V,T)});function w(){if(process.env.NODE_ENV!=="production"&&typeof c.extraReducers=="object")throw new Error(process.env.NODE_ENV==="production"?fr(14):"The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");const[k={},V=[],N=void 0]=typeof c.extraReducers=="function"?y3(c.extraReducers):[c.extraReducers],z={...k,...S.sliceCaseReducersByType};return c5(c.initialState,Z=>{for(let ie in z)Z.addCase(ie,z[ie]);for(let ie of S.sliceMatchers)Z.addMatcher(ie.matcher,ie.reducer);for(let ie of V)Z.addMatcher(ie.matcher,ie.reducer);N&&Z.addDefaultCase(N)})}const R=k=>k,A=new Map;let L;function P(k,V){return L||(L=w()),L(k,V)}function j(){return L||(L=w()),L.getInitialState()}function G(k,V=!1){function N(Z){let ie=Z[k];if(typeof ie>"u"){if(V)ie=j();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?fr(15):"selectSlice returned undefined for an uninjected slice reducer")}return ie}function z(Z=R){const ie=SO(A,V,{insert:()=>new WeakMap});return SO(ie,Z,{insert:()=>{const ge={};for(const[M,se]of Object.entries(c.selectors??{}))ge[M]=h5(se,Z,j,V);return ge}})}return{reducerPath:k,getSelectors:z,get selectors(){return z(N)},selectSlice:N}}const Y={name:p,reducer:P,actions:S.actionCreators,caseReducers:S.sliceCaseReducersByName,getInitialState:j,...G(d),injectInto(k,{reducerPath:V,...N}={}){const z=V??d;return k.inject({reducerPath:z,reducer:P},N),{...Y,...G(z,!0)}}};return Y}}function h5(e,r,i,s){function c(p,...d){let v=r(p);if(typeof v>"u"){if(s)v=i();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?fr(16):"selectState returned undefined for an uninjected slice reducer")}return e(v,...d)}return c.unwrapped=e,c}var g3=p5();function m5(){function e(r,i){return{_reducerDefinitionType:"asyncThunk",payloadCreator:r,...i}}return e.withTypes=()=>e,{reducer(r){return Object.assign({[r.name](...i){return r(...i)}}[r.name],{_reducerDefinitionType:"reducer"})},preparedReducer(r,i){return{_reducerDefinitionType:"reducerWithPrepare",prepare:r,reducer:i}},asyncThunk:e}}function v5({type:e,reducerName:r,createNotation:i},s,c){let p,d;if("reducer"in s){if(i&&!g5(s))throw new Error(process.env.NODE_ENV==="production"?fr(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");p=s.reducer,d=s.prepare}else p=s;c.addCase(e,p).exposeCaseReducer(r,p).exposeAction(r,d?bO(e,d):bO(e))}function y5(e){return e._reducerDefinitionType==="asyncThunk"}function g5(e){return e._reducerDefinitionType==="reducerWithPrepare"}function b5({type:e,reducerName:r},i,s,c){if(!c)throw new Error(process.env.NODE_ENV==="production"?fr(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:p,fulfilled:d,pending:v,rejected:b,settled:S,options:T}=i,w=c(e,p,T);s.exposeAction(r,w),d&&s.addCase(w.fulfilled,d),v&&s.addCase(w.pending,v),b&&s.addCase(w.rejected,b),S&&s.addMatcher(w.settled,S),s.exposeCaseReducer(r,{fulfilled:d||m0,pending:v||m0,rejected:b||m0,settled:S||m0})}function m0(){}function fr(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const x5={inputValues:{},inputErrors:{},disableSubmit:!1,currentFlow:{},currentForm:{}},F0=g3({name:"flow",initialState:x5,reducers:{setInputValue:(e,r)=>{const{field:i,value:s}=r.payload;e.inputValues[i]=s},setInputValues:(e,r)=>{e.inputValues={...e.inputValues,...r.payload}},resetAndSetInputValues:(e,r)=>{e.inputValues=r.payload},setInputError:(e,r)=>{const{field:i,error:s}=r.payload;s===null?delete e.inputErrors[i]:e.inputErrors[i]=s},setDisableSubmit:(e,r)=>{e.disableSubmit=r.payload},setCurrentFlow:(e,r)=>{e.currentFlow=r.payload},setCurrentForm:(e,r)=>{e.currentForm=r.payload}},selectors:{selectInputValues:e=>e.inputValues,selectInputErrors:e=>e.inputErrors,selectDisableSubmit:e=>e.disableSubmit,selectCurrentFlow:e=>e.currentFlow,selectCurrentForm:e=>e.currentForm}}),{setInputValue:S5,setInputValues:C5,resetAndSetInputValues:w5,setInputError:E5,setDisableSubmit:T5,setCurrentFlow:R5,setCurrentForm:O5}=F0.actions,{selectInputValues:$5,selectInputErrors:A5,selectDisableSubmit:k5,selectCurrentFlow:P5,selectCurrentForm:N5}=F0.selectors,D5={patient:{id:null,profile:{}}},V0=g3({name:"patient",initialState:D5,reducers:{setPatient:(e,r)=>{e.patient=r.payload},updatePatient:(e,r)=>{e.patient&&(e.patient.profile={...e.patient.profile,...r.payload})}},selectors:{selectPatient:e=>{var r;return((r=e.patient)==null?void 0:r.profile)||null}}}),{setPatient:M5,updatePatient:L5}=V0.actions,{selectPatient:I5}=V0.selectors,Sp=e=>e==null?"":String(e),_5=e=>e===""?null:e,F5=e=>e?"true":"false",b3=e=>e==="true",V5=e=>e==="true"||e==="false"?b3(e):e,CO=e=>typeof e=="boolean"?F5(e):e,j5=e=>e==null?"":String(e),U5=e=>{if(e===""||e===null||e===void 0)return null;const r=Number(e);return isNaN(r)?null:r},B5=({formComponent:e})=>{const r=e.props,{propertyId:i,label:s="Input Label",min:c,max:p,allowLeadingZero:d,required:v}=r||{},{getFlowValue:b,setFlowAndPatientValue:S,getFlowError:T}=wr(),w=j5(b(i)),R=T(i),A=!!R&&R!=="Required",L=1,P=v==="true",j=G=>{let{value:Y}=G.target;d||(Y=Y.replace(/^0+/,""));const k=U5(Y);S(i,k)};return I.jsxs(Ya,{$visible:!0,$hasError:A,children:[I.jsx(Mi,{$color:A?"danger":void 0,children:s}),I.jsx("input",{type:"number",value:w,onInput:j,min:c,max:p,step:L,inputMode:"numeric",pattern:"\\[0-9\\]\\*"}),P&&!w&&!A?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):A?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),R]}):null]})},Cp=({errors:e})=>I.jsx(z5,{children:e.map((r,i)=>I.jsx(H5,{children:r},i))}),z5=be.div`
|
|
2478
2478
|
padding: 16px;
|
|
2479
2479
|
background-color: #f5f5f5;
|
|
2480
2480
|
border-radius: 8px;
|
|
@@ -2485,7 +2485,7 @@ Take a look at the reducer(s) handling this action type: ${A.type}.
|
|
|
2485
2485
|
font-size: 14px;
|
|
2486
2486
|
color: #666;
|
|
2487
2487
|
margin-bottom: 4px;
|
|
2488
|
-
`,wO=({formComponent:e})=>{var j;const{getFlowValue:r,setFlowAndPatientValue:i,getFlowError:s}=
|
|
2488
|
+
`,wO=({formComponent:e})=>{var j;const{getFlowValue:r,setFlowAndPatientValue:i,getFlowError:s}=wr(),[c,p]=Ve.useState({}),d=e.props,v=(d==null?void 0:d.options)||[],b=[],S=r(d.propertyId),T=s(d.propertyId),w=!!T&&T!=="Required";d.propertyId||b.push("Error");const R=(d==null?void 0:d.required)==="true";Ve.useEffect(()=>{},[S]);const A=G=>{const{value:Y}=G.target;let k=S,V={...c};if(e.componentId==="radio"||e.componentId==="radio-group")CO(S)===Y?k=null:k=V5(Y);else if(Array.isArray(k)||(k=[]),k.indexOf(Y)!==-1){let N=k.indexOf(Y);k.splice(N,1)}else k.push(Y);i(d.propertyId,k),p(V)},L=G=>{var Y;if(e.componentId==="radio"||e.componentId==="radio-group"){const k=(Y=v[G])==null?void 0:Y.value;return CO(S)===k}},P=(v==null?void 0:v.length)||0;return b.length>0?I.jsx(Cp,{errors:b}):I.jsxs(YC,{id:e.id,$style:"input",children:[I.jsxs(Q0,{children:[I.jsx(dl,{$margin:"0px 0px 5px 10px",$color:w?"danger":void 0,children:(j=e.props)==null?void 0:j.label}),v&&v.map((G,Y)=>{const k=Y===0&&Y+1!=P?"first":P===Y+1?"last":null,V=e.id+"_"+Y,N=e.componentId==="radio-group"?d.propertyId:e.id;return I.jsx(lv,{$justify:"flex-start",$inputBoundary:k,children:I.jsxs("label",{htmlFor:V,children:[I.jsx(QC,{dangerouslySetInnerHTML:{__html:G.labelText}}),I.jsx("input",{type:"checkbox",id:V,name:N,value:G.value,onChange:z=>A(z),checked:L(Y)}),I.jsx("span",{})]})},V)})]}),R&&!S&&!w?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):w?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),T]}):null]},e.id)},G5=({formComponent:e})=>{const r=e.props,{required:i,maxLength:s,propertyId:c,label:p="Text Area Input"}=r||{},{getFlowValue:d,setFlowAndPatientValue:v,getFlowError:b}=wr(),S=d(c)||"",T=b(c),w=!!T&&T!=="Required",R=i===!0||i==="true",A=L=>{const{value:P}=L.target;v(c,P)};return I.jsxs(Ya,{$visible:!0,$type:"textArea",$hasError:w,children:[I.jsx(dl,{$color:w?"danger":void 0,children:p}),I.jsx("textarea",{id:c,name:c,value:S,onInput:A,rows:3,maxLength:s||600}),R&&!S&&!w?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):w?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),T]}):null]})},W5=({formComponent:e})=>{var L;const r=e.props,{required:i,propertyId:s,label:c,inlineLabelText:p="Yes"}=r||{},{getFlowValue:d,setFlowAndPatientValue:v,getFlowError:b}=wr(),S=d(s),T=b(s),w=!!T&&T!=="Required",R=!!S,A=P=>{const{checked:j}=P.target;v(r.propertyId,!!j)};return I.jsxs(YC,{children:[I.jsxs(Q0,{children:[I.jsx(dl,{$margin:"0px 0px 5px 10px",$color:w?"danger":void 0,children:(L=e.props)==null?void 0:L.label}),I.jsx(lv,{$justify:"flex-start",children:I.jsxs("label",{children:[I.jsx(QC,{dangerouslySetInnerHTML:{__html:p}}),I.jsx("input",{type:"checkbox",name:s,value:S,onChange:P=>A(P),checked:R}),I.jsx("span",{})]})})]}),r!=null&&r.required&&!S&&!w?r.requiredErrorText?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),r.requiredErrorText]}):I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):w?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),T]}):null]})},Y5=({formComponent:e})=>{var Y;const r=e.props,{required:i,propertyId:s,label:c,options:p,jsonataData:d}=r||{},v=i==="true";let b=[];d?b=(Array.isArray(d)?d:[d]).map(V=>({value:V,labelText:V})):b=p||[];const{getFlowValue:S,setFlowAndPatientValue:T,getFlowError:w}=wr(),R=S(s),A=w(s),L=!!A&&A!=="Required",P=k=>{const{value:V}=k.target;let N=Array.isArray(R)?[...R]:[];if(N.indexOf(V)!==-1){let z=N.indexOf(V);N.splice(z,1)}else N.push(V);console.log(N),T(r.propertyId,N)},j=k=>{var N;const V=(N=b[k])==null?void 0:N.value;return Array.isArray(R)&&R.includes(V)},G=(b==null?void 0:b.length)||0;return I.jsxs(YC,{id:e.id,$style:"input",children:[I.jsxs(Q0,{children:[I.jsx(dl,{$margin:"0px 0px 5px 10px",$color:L?"danger":void 0,children:(Y=e.props)==null?void 0:Y.label}),b&&b.map((k,V)=>{const N=V===0&&V+1!=G?"first":G===V+1?"last":null,z=e.id+"_"+V,Z=e.componentId==="radio-group"?r.propertyId:e.id;return I.jsx(lv,{$justify:"flex-start",$inputBoundary:N,children:I.jsxs("label",{htmlFor:z,children:[I.jsx(QC,{dangerouslySetInnerHTML:{__html:k.labelText}}),I.jsx("input",{type:"checkbox",id:z,name:Z,value:k.value,onChange:ie=>P(ie),checked:j(V)}),I.jsx("span",{})]})},z)})]}),v&&(!R||Array.isArray(R)&&R.length===0)&&!L?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):L?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),A]}):null]},e.id)},q5=({formComponent:e})=>{const{getFlowValue:r,setFlowAndPatientValue:i,getFlowError:s}=wr(),c=e.props,{labelText:p,leftText:d,middleText:v,rightText:b,propertyId:S,required:T,colorDirection:w="green-to-red"}=c||{},R=r(S),A=s(S),L=!!A&&A!=="Required",P=Y=>{i(S,Y)},j=Y=>{const k=["#9AB777","#949455","#A07D4B","#AC6741","#BD5E46"];let V;return w==="green-to-red"?V={1:k[0],2:k[1],3:k[2],4:k[3],5:k[4]}:V={1:k[4],2:k[3],3:k[2],4:k[1],5:k[0]},V[Y]||k[0]},G=Y=>R===Y;return I.jsxs(Ya,{$visible:!0,$hasError:L,$type:"symptomSurvey",children:[I.jsxs(Q5,{children:[p&&I.jsx(X$,{$color:"primary",$margin:"0px 0px 10px 0px",children:p}),I.jsxs(X5,{children:[I.jsxs(K5,{children:[d&&I.jsx(JS,{children:d}),v&&I.jsx(JS,{children:v}),b&&I.jsx(JS,{children:b})]}),I.jsx(Z5,{children:[1,2,3,4,5].map(Y=>I.jsx(J5,{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:I.jsx(eL,{$severity:Y,$color:j(Y),$isSelected:G(Y),onClick:()=>P(Y),type:"button",children:Y})},Y))})]})]}),c!=null&&c.required&&!R&&!L?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):L?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),A]}):null]},S)};be.div`
|
|
2489
2489
|
&&{
|
|
2490
2490
|
display: flex;
|
|
2491
2491
|
align-items: center;
|
|
@@ -2583,7 +2583,7 @@ Take a look at the reducer(s) handling this action type: ${A.type}.
|
|
|
2583
2583
|
box-shadow: 0 0 0 2px ${e=>e.theme.colors.primary}40;
|
|
2584
2584
|
}
|
|
2585
2585
|
}
|
|
2586
|
-
`,v0=e=>e instanceof Date&&!isNaN(e.getTime()),eC=e=>{const r=new Date;let i=r.getFullYear()-e.getFullYear();const s=r.getMonth()-e.getMonth();return(s<0||s===0&&r.getDate()<e.getDate())&&i--,i},tL=({formComponent:e})=>{const r=e.props,{propertyId:i,label:s="Label",minDate:c,maxDate:p,minAge:d}=r||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S,setFlowError:T}=Nr(),w=v(r.propertyId),R=S(r.propertyId),A=!!R&&R!=="Required";Ve.useEffect(()=>{if(d&&w){const G=new Date(w);v0(G)&&(eC(G)<d?T(i,`Must be over ${d}`):T(i,""))}},[d,w,i,T]),Ve.useEffect(()=>{if(d&&w){const G=new Date(w);v0(G)&&(eC(G)<d?T(i,`Must be over ${d}`):T(i,""))}},[d,w,i,T]);const L=G=>(b(i,P(G)),d&&G&&v0(G)?eC(G)<d?T(i,`Must be over ${d}`):T(i,""):d&&!G&&T(i,""),null),P=G=>{if(!v0(G))return"";const Y=new Date(G),k=String(Y.getDate()).padStart(2,"0"),V=String(Y.getMonth()+1).padStart(2,"0"),N=Y.getFullYear();return`${V}/${k}/${N}`},j=QS.default.default||QS.default||QS;return I.jsx(nM,{$justify:"start",$margin:"",id:`datepicker_${i}`,children:I.jsxs(aM,{$visible:!0,$margin:"0px auto 40px 0px",$hasError:A,children:[I.jsx(Mi,{$color:A?"danger":void 0,children:s}),I.jsx(j,{selected:w,onChange:G=>L(G),allowSameDay:!0,dateFormat:"MM/dd/yyyy",showYearDropdown:!0,scrollableYearDropdown:!0,showMonthDropdown:!0,yearDropdownItemNumber:100,popperClassName:"DPCalendar",popperPlacement:"top-end",minDate:c?new Date(c):null,maxDate:p?new Date(p):null}),r!=null&&r.required&&!w&&!A?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):A?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),R]}):null]})})},nL=({formComponent:e})=>{const r=e.props,{propertyId:i,label:s="Text Area Input"}=r||{},{getFlowValue:c,setFlowAndPatientValue:p,getFlowError:d}=Nr(),v=c(r.propertyId),b=d(i),S=!!b&&b!=="Required",T=(r==null?void 0:r.options)||[],[w,R]=Ve.useState(!1),A=()=>{w||R(!0)},L=P=>{const{value:j}=P.target;p(r.propertyId,j)};return I.jsxs(qC,{$visible:!0,$hasError:S,children:[I.jsx(dl,{$color:S?"danger":void 0,children:s}),I.jsxs("select",{id:i,name:i,onChange:P=>L(P),onBlur:A,value:v||"",children:[I.jsx("option",{value:"",disabled:!0,children:"Make a selection"}),T&&T.map((P,j)=>I.jsx("option",{value:P.value,children:P.labelText},j))]}),r!=null&&r.required&&!v&&!S?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):S?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),b]}):null]})},rL=({formComponent:e})=>{const r=e.props,{required:i,maxLength:s,propertyId:c,label:p="Text Input",type:d="text"}=r||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S}=Nr(),T=Sp(v(c)),w=S(c),R=!!w&&w!=="Required",A=i==="true",L=P=>{const{value:j}=P.target;b(c,_5(j))};return I.jsxs(ai,{$visible:!0,$hasError:R,children:[I.jsx(Mi,{$color:R?"danger":void 0,children:p}),I.jsx("input",{id:c,name:c,type:d,value:T,onInput:L,maxLength:s||255}),A&&!T&&!R?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):R?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),w]}):null]})},oL=({formComponent:e})=>{const r=e.props,{propertyId:i,label:s="Input Label"}=r||{},{getFlowValue:c,setFlowAndPatientValue:p,getPatientValue:d,getFlowError:v}=Nr(),b=c(i),S=v(i),T=!!S&&S!=="Required",w=d("dosing"),[R,A]=Ve.useState(!1);if(!w)return I.jsx("p",{children:"Titration options not available for preview"});const L=Object.values(w)[0],P=typeof L=="object"&&L!==null&&"titrations"in L?L.titrations:[],j=()=>{R||A(!0)},G=Y=>{const{value:k}=Y.target;p(r.propertyId,k)};return I.jsxs(qC,{$visible:!0,$hasError:T,children:[I.jsx(dl,{$color:T?"danger":void 0,children:s}),I.jsxs("select",{id:i,name:i,onChange:Y=>G(Y),onBlur:j,value:b||"",children:[I.jsx("option",{value:"",disabled:!0,children:"Make a selection"}),P&&P.map((Y,k)=>I.jsxs("option",{value:Y,children:[Y," mg"]},k))]}),r!=null&&r.required&&!b&&!T?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):T?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),S]}):null]})},aL=["AAA","AARP","ABB","ABBOTT","ABBVIE","ABC","ABLE","ABOGADO","ABUDHABI","AC","ACADEMY","ACCENTURE","ACCOUNTANT","ACCOUNTANTS","ACO","ACTOR","AD","ADS","ADULT","AE","AEG","AERO","AETNA","AF","AFL","AFRICA","AG","AGAKHAN","AGENCY","AI","AIG","AIRBUS","AIRFORCE","AIRTEL","AKDN","AL","ALIBABA","ALIPAY","ALLFINANZ","ALLSTATE","ALLY","ALSACE","ALSTOM","AM","AMAZON","AMERICANEXPRESS","AMERICANFAMILY","AMEX","AMFAM","AMICA","AMSTERDAM","ANALYTICS","ANDROID","ANQUAN","ANZ","AO","AOL","APARTMENTS","APP","APPLE","AQ","AQUARELLE","AR","ARAB","ARAMCO","ARCHI","ARMY","ARPA","ART","ARTE","AS","ASDA","ASIA","ASSOCIATES","AT","ATHLETA","ATTORNEY","AU","AUCTION","AUDI","AUDIBLE","AUDIO","AUSPOST","AUTHOR","AUTO","AUTOS","AW","AWS","AX","AXA","AZ","AZURE","BA","BABY","BAIDU","BANAMEX","BAND","BANK","BAR","BARCELONA","BARCLAYCARD","BARCLAYS","BAREFOOT","BARGAINS","BASEBALL","BASKETBALL","BAUHAUS","BAYERN","BB","BBC","BBT","BBVA","BCG","BCN","BD","BE","BEATS","BEAUTY","BEER","BENTLEY","BERLIN","BEST","BESTBUY","BET","BF","BG","BH","BHARTI","BI","BIBLE","BID","BIKE","BING","BINGO","BIO","BIZ","BJ","BLACK","BLACKFRIDAY","BLOCKBUSTER","BLOG","BLOOMBERG","BLUE","BM","BMS","BMW","BN","BNPPARIBAS","BO","BOATS","BOEHRINGER","BOFA","BOM","BOND","BOO","BOOK","BOOKING","BOSCH","BOSTIK","BOSTON","BOT","BOUTIQUE","BOX","BR","BRADESCO","BRIDGESTONE","BROADWAY","BROKER","BROTHER","BRUSSELS","BS","BT","BUILD","BUILDERS","BUSINESS","BUY","BUZZ","BV","BW","BY","BZ","BZH","CA","CAB","CAFE","CAL","CALL","CALVINKLEIN","CAM","CAMERA","CAMP","CANON","CAPETOWN","CAPITAL","CAPITALONE","CAR","CARAVAN","CARDS","CARE","CAREER","CAREERS","CARS","CASA","CASE","CASH","CASINO","CAT","CATERING","CATHOLIC","CBA","CBN","CBRE","CC","CD","CENTER","CEO","CERN","CF","CFA","CFD","CG","CH","CHANEL","CHANNEL","CHARITY","CHASE","CHAT","CHEAP","CHINTAI","CHRISTMAS","CHROME","CHURCH","CI","CIPRIANI","CIRCLE","CISCO","CITADEL","CITI","CITIC","CITY","CK","CL","CLAIMS","CLEANING","CLICK","CLINIC","CLINIQUE","CLOTHING","CLOUD","CLUB","CLUBMED","CM","CN","CO","COACH","CODES","COFFEE","COLLEGE","COLOGNE","COM","COMMBANK","COMMUNITY","COMPANY","COMPARE","COMPUTER","COMSEC","CONDOS","CONSTRUCTION","CONSULTING","CONTACT","CONTRACTORS","COOKING","COOL","COOP","CORSICA","COUNTRY","COUPON","COUPONS","COURSES","CPA","CR","CREDIT","CREDITCARD","CREDITUNION","CRICKET","CROWN","CRS","CRUISE","CRUISES","CU","CUISINELLA","CV","CW","CX","CY","CYMRU","CYOU","CZ","DABUR","DAD","DANCE","DATA","DATE","DATING","DATSUN","DAY","DCLK","DDS","DE","DEAL","DEALER","DEALS","DEGREE","DELIVERY","DELL","DELOITTE","DELTA","DEMOCRAT","DENTAL","DENTIST","DESI","DESIGN","DEV","DHL","DIAMONDS","DIET","DIGITAL","DIRECT","DIRECTORY","DISCOUNT","DISCOVER","DISH","DIY","DJ","DK","DM","DNP","DO","DOCS","DOCTOR","DOG","DOMAINS","DOT","DOWNLOAD","DRIVE","DTV","DUBAI","DUNLOP","DUPONT","DURBAN","DVAG","DVR","DZ","EARTH","EAT","EC","ECO","EDEKA","EDU","EDUCATION","EE","EG","EMAIL","EMERCK","ENERGY","ENGINEER","ENGINEERING","ENTERPRISES","EPSON","EQUIPMENT","ER","ERICSSON","ERNI","ES","ESQ","ESTATE","ET","EU","EUROVISION","EUS","EVENTS","EXCHANGE","EXPERT","EXPOSED","EXPRESS","EXTRASPACE","FAGE","FAIL","FAIRWINDS","FAITH","FAMILY","FAN","FANS","FARM","FARMERS","FASHION","FAST","FEDEX","FEEDBACK","FERRARI","FERRERO","FI","FIDELITY","FIDO","FILM","FINAL","FINANCE","FINANCIAL","FIRE","FIRESTONE","FIRMDALE","FISH","FISHING","FIT","FITNESS","FJ","FK","FLICKR","FLIGHTS","FLIR","FLORIST","FLOWERS","FLY","FM","FO","FOO","FOOD","FOOTBALL","FORD","FOREX","FORSALE","FORUM","FOUNDATION","FOX","FR","FREE","FRESENIUS","FRL","FROGANS","FRONTIER","FTR","FUJITSU","FUN","FUND","FURNITURE","FUTBOL","FYI","GA","GAL","GALLERY","GALLO","GALLUP","GAME","GAMES","GAP","GARDEN","GAY","GB","GBIZ","GD","GDN","GE","GEA","GENT","GENTING","GEORGE","GF","GG","GGEE","GH","GI","GIFT","GIFTS","GIVES","GIVING","GL","GLASS","GLE","GLOBAL","GLOBO","GM","GMAIL","GMBH","GMO","GMX","GN","GODADDY","GOLD","GOLDPOINT","GOLF","GOO","GOODYEAR","GOOG","GOOGLE","GOP","GOT","GOV","GP","GQ","GR","GRAINGER","GRAPHICS","GRATIS","GREEN","GRIPE","GROCERY","GROUP","GS","GT","GU","GUCCI","GUGE","GUIDE","GUITARS","GURU","GW","GY","HAIR","HAMBURG","HANGOUT","HAUS","HBO","HDFC","HDFCBANK","HEALTH","HEALTHCARE","HELP","HELSINKI","HERE","HERMES","HIPHOP","HISAMITSU","HITACHI","HIV","HK","HKT","HM","HN","HOCKEY","HOLDINGS","HOLIDAY","HOMEDEPOT","HOMEGOODS","HOMES","HOMESENSE","HONDA","HORSE","HOSPITAL","HOST","HOSTING","HOT","HOTELS","HOTMAIL","HOUSE","HOW","HR","HSBC","HT","HU","HUGHES","HYATT","HYUNDAI","IBM","ICBC","ICE","ICU","ID","IE","IEEE","IFM","IKANO","IL","IM","IMAMAT","IMDB","IMMO","IMMOBILIEN","IN","INC","INDUSTRIES","INFINITI","INFO","ING","INK","INSTITUTE","INSURANCE","INSURE","INT","INTERNATIONAL","INTUIT","INVESTMENTS","IO","IPIRANGA","IQ","IR","IRISH","IS","ISMAILI","IST","ISTANBUL","IT","ITAU","ITV","JAGUAR","JAVA","JCB","JE","JEEP","JETZT","JEWELRY","JIO","JLL","JM","JMP","JNJ","JO","JOBS","JOBURG","JOT","JOY","JP","JPMORGAN","JPRS","JUEGOS","JUNIPER","KAUFEN","KDDI","KE","KERRYHOTELS","KERRYLOGISTICS","KERRYPROPERTIES","KFH","KG","KH","KI","KIA","KIDS","KIM","KINDLE","KITCHEN","KIWI","KM","KN","KOELN","KOMATSU","KOSHER","KP","KPMG","KPN","KR","KRD","KRED","KUOKGROUP","KW","KY","KYOTO","KZ","LA","LACAIXA","LAMBORGHINI","LAMER","LANCASTER","LAND","LANDROVER","LANXESS","LASALLE","LAT","LATINO","LATROBE","LAW","LAWYER","LB","LC","LDS","LEASE","LECLERC","LEFRAK","LEGAL","LEGO","LEXUS","LGBT","LI","LIDL","LIFE","LIFEINSURANCE","LIFESTYLE","LIGHTING","LIKE","LILLY","LIMITED","LIMO","LINCOLN","LINK","LIPSY","LIVE","LIVING","LK","LLC","LLP","LOAN","LOANS","LOCKER","LOCUS","LOL","LONDON","LOTTE","LOTTO","LOVE","LPL","LPLFINANCIAL","LR","LS","LT","LTD","LTDA","LU","LUNDBECK","LUXE","LUXURY","LV","LY","MA","MADRID","MAIF","MAISON","MAKEUP","MAN","MANAGEMENT","MANGO","MAP","MARKET","MARKETING","MARKETS","MARRIOTT","MARSHALLS","MATTEL","MBA","MC","MCKINSEY","MD","ME","MED","MEDIA","MEET","MELBOURNE","MEME","MEMORIAL","MEN","MENU","MERCKMSD","MG","MH","MIAMI","MICROSOFT","MIL","MINI","MINT","MIT","MITSUBISHI","MK","ML","MLB","MLS","MM","MMA","MN","MO","MOBI","MOBILE","MODA","MOE","MOI","MOM","MONASH","MONEY","MONSTER","MORMON","MORTGAGE","MOSCOW","MOTO","MOTORCYCLES","MOV","MOVIE","MP","MQ","MR","MS","MSD","MT","MTN","MTR","MU","MUSEUM","MUSIC","MV","MW","MX","MY","MZ","NA","NAB","NAGOYA","NAME","NATURA","NAVY","NBA","NC","NE","NEC","NET","NETBANK","NETFLIX","NETWORK","NEUSTAR","NEW","NEWS","NEXT","NEXTDIRECT","NEXUS","NF","NFL","NG","NGO","NHK","NI","NICO","NIKE","NIKON","NINJA","NISSAN","NISSAY","NL","NO","NOKIA","NORTON","NOW","NOWRUZ","NOWTV","NP","NR","NRA","NRW","NTT","NU","NYC","NZ","OBI","OBSERVER","OFFICE","OKINAWA","OLAYAN","OLAYANGROUP","OLLO","OM","OMEGA","ONE","ONG","ONL","ONLINE","OOO","OPEN","ORACLE","ORANGE","ORG","ORGANIC","ORIGINS","OSAKA","OTSUKA","OTT","OVH","PA","PAGE","PANASONIC","PARIS","PARS","PARTNERS","PARTS","PARTY","PAY","PCCW","PE","PET","PF","PFIZER","PG","PH","PHARMACY","PHD","PHILIPS","PHONE","PHOTO","PHOTOGRAPHY","PHOTOS","PHYSIO","PICS","PICTET","PICTURES","PID","PIN","PING","PINK","PIONEER","PIZZA","PK","PL","PLACE","PLAY","PLAYSTATION","PLUMBING","PLUS","PM","PN","PNC","POHL","POKER","POLITIE","PORN","POST","PR","PRAMERICA","PRAXI","PRESS","PRIME","PRO","PROD","PRODUCTIONS","PROF","PROGRESSIVE","PROMO","PROPERTIES","PROPERTY","PROTECTION","PRU","PRUDENTIAL","PS","PT","PUB","PW","PWC","PY","QA","QPON","QUEBEC","QUEST","RACING","RADIO","RE","READ","REALESTATE","REALTOR","REALTY","RECIPES","RED","REDSTONE","REDUMBRELLA","REHAB","REISE","REISEN","REIT","RELIANCE","REN","RENT","RENTALS","REPAIR","REPORT","REPUBLICAN","REST","RESTAURANT","REVIEW","REVIEWS","REXROTH","RICH","RICHARDLI","RICOH","RIL","RIO","RIP","RO","ROCKS","RODEO","ROGERS","ROOM","RS","RSVP","RU","RUGBY","RUHR","RUN","RW","RWE","RYUKYU","SA","SAARLAND","SAFE","SAFETY","SAKURA","SALE","SALON","SAMSCLUB","SAMSUNG","SANDVIK","SANDVIKCOROMANT","SANOFI","SAP","SARL","SAS","SAVE","SAXO","SB","SBI","SBS","SC","SCB","SCHAEFFLER","SCHMIDT","SCHOLARSHIPS","SCHOOL","SCHULE","SCHWARZ","SCIENCE","SCOT","SD","SE","SEARCH","SEAT","SECURE","SECURITY","SEEK","SELECT","SENER","SERVICES","SEVEN","SEW","SEX","SEXY","SFR","SG","SH","SHANGRILA","SHARP","SHAW","SHELL","SHIA","SHIKSHA","SHOES","SHOP","SHOPPING","SHOUJI","SHOW","SI","SILK","SINA","SINGLES","SITE","SJ","SK","SKI","SKIN","SKY","SKYPE","SL","SLING","SM","SMART","SMILE","SN","SNCF","SO","SOCCER","SOCIAL","SOFTBANK","SOFTWARE","SOHU","SOLAR","SOLUTIONS","SONG","SONY","SOY","SPA","SPACE","SPORT","SPOT","SR","SRL","SS","ST","STADA","STAPLES","STAR","STATEBANK","STATEFARM","STC","STCGROUP","STOCKHOLM","STORAGE","STORE","STREAM","STUDIO","STUDY","STYLE","SU","SUCKS","SUPPLIES","SUPPLY","SUPPORT","SURF","SURGERY","SUZUKI","SV","SWATCH","SWISS","SX","SY","SYDNEY","SYSTEMS","SZ","TAB","TAIPEI","TALK","TAOBAO","TARGET","TATAMOTORS","TATAR","TATTOO","TAX","TAXI","TC","TCI","TD","TDK","TEAM","TECH","TECHNOLOGY","TEL","TEMASEK","TENNIS","TEVA","TF","TG","TH","THD","THEATER","THEATRE","TIAA","TICKETS","TIENDA","TIPS","TIRES","TIROL","TJ","TJMAXX","TJX","TK","TKMAXX","TL","TM","TMALL","TN","TO","TODAY","TOKYO","TOOLS","TOP","TORAY","TOSHIBA","TOTAL","TOURS","TOWN","TOYOTA","TOYS","TR","TRADE","TRADING","TRAINING","TRAVEL","TRAVELERS","TRAVELERSINSURANCE","TRUST","TRV","TT","TUBE","TUI","TUNES","TUSHU","TV","TVS","TW","TZ","UA","UBANK","UBS","UG","UK","UNICOM","UNIVERSITY","UNO","UOL","UPS","US","UY","UZ","VA","VACATIONS","VANA","VANGUARD","VC","VE","VEGAS","VENTURES","VERISIGN","VERSICHERUNG","VET","VG","VI","VIAJES","VIDEO","VIG","VIKING","VILLAS","VIN","VIP","VIRGIN","VISA","VISION","VIVA","VIVO","VLAANDEREN","VN","VODKA","VOLVO","VOTE","VOTING","VOTO","VOYAGE","VU","WALES","WALMART","WALTER","WANG","WANGGOU","WATCH","WATCHES","WEATHER","WEATHERCHANNEL","WEBCAM","WEBER","WEBSITE","WED","WEDDING","WEIBO","WEIR","WF","WHOSWHO","WIEN","WIKI","WILLIAMHILL","WIN","WINDOWS","WINE","WINNERS","WME","WOLTERSKLUWER","WOODSIDE","WORK","WORKS","WORLD","WOW","WS","WTC","WTF","XBOX","XEROX","XIHUAN","XIN","XN--11B4C3D","XN--1CK2E1B","XN--1QQW23A","XN--2SCRJ9C","XN--30RR7Y","XN--3BST00M","XN--3DS443G","XN--3E0B707E","XN--3HCRJ9C","XN--3PXU8K","XN--42C2D9A","XN--45BR5CYL","XN--45BRJ9C","XN--45Q11C","XN--4DBRK0CE","XN--4GBRIM","XN--54B7FTA0CC","XN--55QW42G","XN--55QX5D","XN--5SU34J936BGSG","XN--5TZM5G","XN--6FRZ82G","XN--6QQ986B3XL","XN--80ADXHKS","XN--80AO21A","XN--80AQECDR1A","XN--80ASEHDB","XN--80ASWG","XN--8Y0A063A","XN--90A3AC","XN--90AE","XN--90AIS","XN--9DBQ2A","XN--9ET52U","XN--9KRT00A","XN--B4W605FERD","XN--BCK1B9A5DRE4C","XN--C1AVG","XN--C2BR7G","XN--CCK2B3B","XN--CCKWCXETD","XN--CG4BKI","XN--CLCHC0EA0B2G2A9GCD","XN--CZR694B","XN--CZRS0T","XN--CZRU2D","XN--D1ACJ3B","XN--D1ALF","XN--E1A4C","XN--ECKVDTC9D","XN--EFVY88H","XN--FCT429K","XN--FHBEI","XN--FIQ228C5HS","XN--FIQ64B","XN--FIQS8S","XN--FIQZ9S","XN--FJQ720A","XN--FLW351E","XN--FPCRJ9C3D","XN--FZC2C9E2C","XN--FZYS8D69UVGM","XN--G2XX48C","XN--GCKR3F0F","XN--GECRJ9C","XN--GK3AT1E","XN--H2BREG3EVE","XN--H2BRJ9C","XN--H2BRJ9C8C","XN--HXT814E","XN--I1B6B1A6A2E","XN--IMR513N","XN--IO0A7I","XN--J1AEF","XN--J1AMH","XN--J6W193G","XN--JLQ480N2RG","XN--JVR189M","XN--KCRX77D1X4A","XN--KPRW13D","XN--KPRY57D","XN--KPUT3I","XN--L1ACC","XN--LGBBAT1AD8J","XN--MGB9AWBF","XN--MGBA3A3EJT","XN--MGBA3A4F16A","XN--MGBA7C0BBN0A","XN--MGBAAM7A8H","XN--MGBAB2BD","XN--MGBAH1A3HJKRD","XN--MGBAI9AZGQP6J","XN--MGBAYH7GPA","XN--MGBBH1A","XN--MGBBH1A71E","XN--MGBC0A9AZCG","XN--MGBCA7DZDO","XN--MGBCPQ6GPA1A","XN--MGBERP4A5D4AR","XN--MGBGU82A","XN--MGBI4ECEXP","XN--MGBPL2FH","XN--MGBT3DHD","XN--MGBTX2B","XN--MGBX4CD0AB","XN--MIX891F","XN--MK1BU44C","XN--MXTQ1M","XN--NGBC5AZD","XN--NGBE9E0A","XN--NGBRX","XN--NODE","XN--NQV7F","XN--NQV7FS00EMA","XN--NYQY26A","XN--O3CW4H","XN--OGBPF8FL","XN--OTU796D","XN--P1ACF","XN--P1AI","XN--PGBS0DH","XN--PSSY2U","XN--Q7CE6A","XN--Q9JYB4C","XN--QCKA1PMC","XN--QXA6A","XN--QXAM","XN--RHQV96G","XN--ROVU88B","XN--RVC1E0AM3E","XN--S9BRJ9C","XN--SES554G","XN--T60B56A","XN--TCKWE","XN--TIQ49XQYJ","XN--UNUP4Y","XN--VERMGENSBERATER-CTB","XN--VERMGENSBERATUNG-PWB","XN--VHQUV","XN--VUQ861B","XN--W4R85EL8FHU5DNRA","XN--W4RS40L","XN--WGBH1C","XN--WGBL6A","XN--XHQ521B","XN--XKC2AL3HYE2A","XN--XKC2DL3A5EE0H","XN--Y9A3AQ","XN--YFRO4I67O","XN--YGBI2AMMX","XN--ZFR164B","XXX","XYZ","YACHTS","YAHOO","YAMAXUN","YANDEX","YE","YODOBASHI","YOGA","YOKOHAMA","YOU","YOUTUBE","YT","YUN","ZA","ZAPPOS","ZARA","ZERO","ZIP","ZM","ZONE","ZUERICH","ZW"],up=e=>{const r=e.trim().toLowerCase(),i=/^[a-zA-Z0-9!#$%&'*+\-/=?^_`{|}~](?:[a-zA-Z0-9!#$%&'*+\-/=?^_`{|}~]|(?:\.(?=[a-zA-Z0-9!#$%&'*+\-/=?^_`{|}~]))){0,63}@[a-zA-Z0-9](?:[a-zA-Z0-9-]|[.](?=[a-zA-Z0-9])){1,253}(?:\.[a-zA-Z]{2,}){1,}$/;let s={valid:!1,errorMsg:"",suggestion:""};if(i.test(r)){const c=r.split("@")[1].split("."),p=c[c.length-1];aL.map(d=>d.toUpperCase()).includes(p.toUpperCase())?s.valid=!0:s.errorMsg=`.${p} is not a valid domain.`}else s.errorMsg="Must be a valid email format";return s};function iL(e){const{onError:r,on401:i,on403:s,on400:c,on500:p,addHeaders:d,onRequest:v,onResponse:b,modifyRequest:S}=e,T=st.create();return T.interceptors.request.use(w=>(w.headers||(w.headers={}),typeof d=="function"&&Object.entries(d(w)||{}).forEach(([R,A])=>w.headers[R]=A),typeof v=="function"&&v(w),typeof S=="function"?S(w):w)),T.interceptors.response.use(w=>(typeof b=="function"&&b(w),w),w=>{var A,L,P,j;const R={config:{}};if(typeof r=="function"&&r((w==null?void 0:w.response)||R),((A=w==null?void 0:w.response)==null?void 0:A.status)===400)typeof c=="function"&&c((w==null?void 0:w.response)||R);else if(((L=w==null?void 0:w.response)==null?void 0:L.status)===401)typeof i=="function"&&i((w==null?void 0:w.response)||R);else if(((P=w==null?void 0:w.response)==null?void 0:P.status)===403)typeof s=="function"&&s((w==null?void 0:w.response)||R);else if(((j=w==null?void 0:w.response)==null?void 0:j.status)===500)typeof p=="function"&&p((w==null?void 0:w.response)||R);else throw w}),T}function lL(e,r){const{apiUrl:i}=r;return new e({basePath:i},i,iL(r))}const ut="http://localhost".replace(/\/+$/,"");class sL{constructor(r,i=ut,s=st){this.basePath=i,this.axios=s,r&&(this.configuration=r,this.basePath=r.basePath||this.basePath)}}class uL extends Error{constructor(r,i){super(i),this.field=r,this.name="RequiredError"}}const ct="https://example.com",dt=function(e,r,i){if(i==null)throw new uL(r,`Required parameter ${r} was null or undefined when calling ${e}.`)};function OC(e,r,i=""){r!=null&&(typeof r=="object"?Array.isArray(r)?r.forEach(s=>OC(e,s,i)):Object.keys(r).forEach(s=>OC(e,r[s],`${i}${i!==""?".":""}${s}`)):e.has(i)?e.append(i,r):e.set(i,r))}const ft=function(e,...r){const i=new URLSearchParams(e.search);OC(i,r),e.search=i.toString()},vn=function(e,r,i){const s=typeof e!="string";return(s&&i&&i.isJsonMime?i.isJsonMime(r.headers["Content-Type"]):s)?JSON.stringify(e!==void 0?e:{}):e||""},pt=function(e){return e.pathname+e.search+e.hash},ht=function(e,r,i,s){return(c=r,p=i)=>{const d={...e.options,url:((s==null?void 0:s.basePath)||p)+e.url};return c.request(d)}},cL=function(e){return{abTestControllerDelete:async(r,i={})=>{dt("abTestControllerDelete","id",r);const s="/api/ab-test/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},abTestControllerGet:async(r,i={})=>{dt("abTestControllerGet","id",r);const s="/api/ab-test/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},abTestControllerGetBySlug:async(r,i={})=>{dt("abTestControllerGetBySlug","slug",r);const s="/api/ab-test/slug/{slug}".replace("{slug}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},abTestControllerIndex:async(r={})=>{const i="/api/ab-test",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},abTestControllerPatch:async(r,i,s={})=>{dt("abTestControllerPatch","id",r),dt("abTestControllerPatch","abTest",i);const c="/api/ab-test/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},abTestControllerPost:async(r,i={})=>{dt("abTestControllerPost","abTest",r);const s="/api/ab-test",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},abTestSearchControllerPost:async(r,i,s,c={})=>{dt("abTestSearchControllerPost","abTest",r);const p="/api/ab-test-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},componentControllerDelete:async(r,i={})=>{dt("componentControllerDelete","id",r);const s="/api/component/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},componentControllerGet:async(r,i={})=>{dt("componentControllerGet","id",r);const s="/api/component/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},componentControllerIndex:async(r={})=>{const i="/api/component",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},componentControllerPatch:async(r,i,s={})=>{dt("componentControllerPatch","id",r),dt("componentControllerPatch","component",i);const c="/api/component/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},componentControllerPost:async(r,i={})=>{dt("componentControllerPost","component",r);const s="/api/component",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},componentSearchControllerPost:async(r,i,s,c={})=>{dt("componentSearchControllerPost","component",r);const p="/api/component-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},conditionControllerDelete:async(r,i={})=>{dt("conditionControllerDelete","id",r);const s="/api/condition/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},conditionControllerGet:async(r,i={})=>{dt("conditionControllerGet","id",r);const s="/api/condition/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},conditionControllerIndex:async(r={})=>{const i="/api/condition",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},conditionControllerPatch:async(r,i,s={})=>{dt("conditionControllerPatch","id",r),dt("conditionControllerPatch","condition",i);const c="/api/condition/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},conditionControllerPost:async(r,i={})=>{dt("conditionControllerPost","condition",r);const s="/api/condition",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},conditionSearchControllerPost:async(r,i,s,c={})=>{dt("conditionSearchControllerPost","condition",r);const p="/api/condition-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},defaultControllerPost:async(r,i,s={})=>{dt("defaultControllerPost","origin",r),dt("defaultControllerPost","tokensDto",i);const c="/api".replace("{origin}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"POST",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},flowControllerCopy:async(r,i={})=>{dt("flowControllerCopy","flowCopyDto",r);const s="/api/flow/copy",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},flowControllerDelete:async(r,i={})=>{dt("flowControllerDelete","id",r);const s="/api/flow/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},flowControllerGet:async(r,i={})=>{dt("flowControllerGet","id",r);const s="/api/flow/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},flowControllerGetBySlug:async(r,i,s={})=>{dt("flowControllerGetBySlug","slug",r);const c="/api/flow/slug/{slug}".replace("{slug}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"GET",...d,...s},b={},S={};i!==void 0&&(S.version=i),ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},flowControllerGetFull:async(r,i={})=>{dt("flowControllerGetFull","id",r);const s="/api/flow/{id}/full".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},flowControllerIndex:async(r={})=>{const i="/api/flow",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},flowControllerPatch:async(r,i,s={})=>{dt("flowControllerPatch","id",r),dt("flowControllerPatch","flow",i);const c="/api/flow/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},flowControllerPost:async(r,i={})=>{dt("flowControllerPost","flow",r);const s="/api/flow",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},flowFormControllerCopyReplaceForm:async(r,i,s,c={})=>{dt("flowFormControllerCopyReplaceForm","flowId",r),dt("flowFormControllerCopyReplaceForm","formId",i),dt("flowFormControllerCopyReplaceForm","flowFormCopyDto",s);const p="/api/flow-form/{flowId}/{formId}/copy-replace-form".replace("{flowId}",encodeURIComponent(String(r))).replace("{formId}",encodeURIComponent(String(i))),d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(s,b,e),{url:pt(d),options:b}},flowFormControllerDelete:async(r,i,s={})=>{dt("flowFormControllerDelete","flowId",r),dt("flowFormControllerDelete","formId",i);const c="/api/flow-form/{flowId}/{formId}".replace("{flowId}",encodeURIComponent(String(r))).replace("{formId}",encodeURIComponent(String(i))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"DELETE",...d,...s},b={};ft(p,{});let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},flowFormControllerGet:async(r,i,s={})=>{dt("flowFormControllerGet","flowId",r),dt("flowFormControllerGet","formId",i);const c="/api/flow-form/{flowId}/{formId}".replace("{flowId}",encodeURIComponent(String(r))).replace("{formId}",encodeURIComponent(String(i))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"GET",...d,...s},b={};ft(p,{});let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},flowFormControllerIndex:async(r={})=>{const i="/api/flow-form",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},flowFormControllerPatch:async(r,i,s,c={})=>{dt("flowFormControllerPatch","flowId",r),dt("flowFormControllerPatch","formId",i),dt("flowFormControllerPatch","flowForm",s);const p="/api/flow-form/{flowId}/{formId}".replace("{flowId}",encodeURIComponent(String(r))).replace("{formId}",encodeURIComponent(String(i))),d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"PATCH",...v,...c},S={},T={};S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(s,b,e),{url:pt(d),options:b}},flowFormControllerPost:async(r,i={})=>{dt("flowFormControllerPost","flowForm",r);const s="/api/flow-form",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},flowFormSearchControllerPost:async(r,i,s,c={})=>{dt("flowFormSearchControllerPost","flowForm",r);const p="/api/flow-form-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},flowSearchControllerPost:async(r,i,s,c,p,d={})=>{dt("flowSearchControllerPost","flow",r);const v="/api/flow-search",b=new URL(v,ct);let S;e&&(S=e.baseOptions);const T={method:"POST",...S,...d},w={},R={};i!==void 0&&(R.sortKey=i),s!==void 0&&(R.sortDirection=s),c!==void 0&&(R.pagingKey=c),p!==void 0&&(R.pageSize=p),w["Content-Type"]="application/json",ft(b,R);let A=S&&S.headers?S.headers:{};return T.headers={...w,...A,...d.headers},T.data=vn(r,T,e),{url:pt(b),options:T}},formComponentControllerDelete:async(r,i={})=>{dt("formComponentControllerDelete","id",r);const s="/api/form-component/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formComponentControllerGetById:async(r,i={})=>{dt("formComponentControllerGetById","id",r);const s="/api/form-component/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formComponentControllerIndex:async(r={})=>{const i="/api/form-component",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},formComponentControllerPatch:async(r,i,s={})=>{dt("formComponentControllerPatch","id",r),dt("formComponentControllerPatch","formComponent",i);const c="/api/form-component/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},formComponentControllerPost:async(r,i={})=>{dt("formComponentControllerPost","formComponent",r);const s="/api/form-component",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},formComponentSearchControllerPost:async(r,i,s,c={})=>{dt("formComponentSearchControllerPost","formComponent",r);const p="/api/form-component-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},formControllerCopy:async(r,i={})=>{dt("formControllerCopy","formCopyDto",r);const s="/api/form/copy",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},formControllerDelete:async(r,i={})=>{dt("formControllerDelete","id",r);const s="/api/form/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formControllerGet:async(r,i={})=>{dt("formControllerGet","id",r);const s="/api/form/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formControllerIndex:async(r={})=>{const i="/api/form",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},formControllerPatch:async(r,i,s={})=>{dt("formControllerPatch","id",r),dt("formControllerPatch","form",i);const c="/api/form/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},formControllerPost:async(r,i={})=>{dt("formControllerPost","form",r);const s="/api/form",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},formSearchControllerPost:async(r,i,s,c={})=>{dt("formSearchControllerPost","form",r);const p="/api/form-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},healthControllerGet:async(r={})=>{const i="/api/health",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},oidcConfigControllerGetClient:async(r,i={})=>{dt("oidcConfigControllerGetClient","redirectUri",r);const s="/api/oidc-config/client/{redirectUri}".replace("{redirectUri}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},oidcConfigControllerGetEntra:async(r={})=>{const i="/api/oidc-config/entra",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},oidcCookieControllerPost:async(r,i,s={})=>{dt("oidcCookieControllerPost","origin",r),dt("oidcCookieControllerPost","tokensDto",i);const c="/api/oidc-cookie/{origin}".replace("{origin}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"POST",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},otpControllerSendOtp:async(r,i={})=>{dt("otpControllerSendOtp","body",r);const s="/api/otp/send",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},otpControllerVerifyOtp:async(r,i={})=>{dt("otpControllerVerifyOtp","body",r);const s="/api/otp/verify",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},patientControllerDelete:async(r,i={})=>{dt("patientControllerDelete","id",r);const s="/api/patient/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},patientControllerGet:async(r,i={})=>{dt("patientControllerGet","id",r);const s="/api/patient/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},patientControllerIndex:async(r={})=>{const i="/api/patient",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},patientControllerPatch:async(r,i,s={})=>{dt("patientControllerPatch","id",r),dt("patientControllerPatch","patient",i);const c="/api/patient/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},patientControllerPost:async(r,i={})=>{dt("patientControllerPost","patient",r);const s="/api/patient",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},patientSearchControllerPost:async(r,i,s,c={})=>{dt("patientSearchControllerPost","patient",r);const p="/api/patient-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},pipelineControllerCopy:async(r,i={})=>{dt("pipelineControllerCopy","pipelineCopyDto",r);const s="/api/pipeline/copy",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},pipelineControllerDelete:async(r,i={})=>{dt("pipelineControllerDelete","id",r);const s="/api/pipeline/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineControllerGet:async(r,i={})=>{dt("pipelineControllerGet","id",r);const s="/api/pipeline/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineControllerGetBySlug:async(r,i,s={})=>{dt("pipelineControllerGetBySlug","slug",r);const c="/api/pipeline/slug/{slug}".replace("{slug}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"GET",...d,...s},b={},S={};i!==void 0&&(S.version=i),ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},pipelineControllerIndex:async(r={})=>{const i="/api/pipeline",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},pipelineControllerPatch:async(r,i,s={})=>{dt("pipelineControllerPatch","id",r),dt("pipelineControllerPatch","pipeline",i);const c="/api/pipeline/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},pipelineControllerPost:async(r,i={})=>{dt("pipelineControllerPost","pipeline",r);const s="/api/pipeline",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},pipelineFlowControllerDelete:async(r,i={})=>{dt("pipelineFlowControllerDelete","id",r);const s="/api/pipeline-flow/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineFlowControllerGetById:async(r,i={})=>{dt("pipelineFlowControllerGetById","id",r);const s="/api/pipeline-flow/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineFlowControllerIndex:async(r={})=>{const i="/api/pipeline-flow",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},pipelineFlowControllerPatch:async(r,i,s={})=>{dt("pipelineFlowControllerPatch","id",r),dt("pipelineFlowControllerPatch","pipelineFlow",i);const c="/api/pipeline-flow/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},pipelineFlowControllerPost:async(r,i={})=>{dt("pipelineFlowControllerPost","pipelineFlow",r);const s="/api/pipeline-flow",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},pipelineFlowSearchControllerPost:async(r,i,s,c={})=>{dt("pipelineFlowSearchControllerPost","pipelineFlow",r);const p="/api/pipeline-flow-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},pipelineSearchControllerPost:async(r,i,s,c={})=>{dt("pipelineSearchControllerPost","pipeline",r);const p="/api/pipeline-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},previewFlowControllerGetBySlug:async(r,i,s={})=>{dt("previewFlowControllerGetBySlug","slug",r);const c="/api/preview-flow/slug/{slug}".replace("{slug}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"GET",...d,...s},b={},S={};i!==void 0&&(S.version=i),ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},previewPipelineControllerGetBySlug:async(r,i,s={})=>{dt("previewPipelineControllerGetBySlug","slug",r);const c="/api/preview-pipeline/slug/{slug}".replace("{slug}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"GET",...d,...s},b={},S={};i!==void 0&&(S.version=i),ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},propertyControllerDelete:async(r,i={})=>{dt("propertyControllerDelete","id",r);const s="/api/property/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},propertyControllerGet:async(r,i={})=>{dt("propertyControllerGet","id",r);const s="/api/property/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},propertyControllerIndex:async(r={})=>{const i="/api/property",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},propertyControllerPatch:async(r,i,s={})=>{dt("propertyControllerPatch","id",r),dt("propertyControllerPatch","property",i);const c="/api/property/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},propertyControllerPost:async(r,i={})=>{dt("propertyControllerPost","property",r);const s="/api/property",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},propertySearchControllerPost:async(r,i,s,c={})=>{dt("propertySearchControllerPost","property",r);const p="/api/property-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},uploadControllerListImages:async(r={})=>{const i="/api/upload/images",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},uploadControllerListVideos:async(r={})=>{const i="/api/upload/videos",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},uploadControllerUploadImage:async(r,i={})=>{const s="/api/upload/image",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={},S=new(e&&e.formDataCtor||FormData);r!==void 0&&S.append("file",r),v["Content-Type"]="multipart/form-data",ft(c,b);let T=p&&p.headers?p.headers:{};return d.headers={...v,...T,...i.headers},d.data=S,{url:pt(c),options:d}},uploadControllerUploadVideo:async(r,i={})=>{const s="/api/upload/video",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={},S=new(e&&e.formDataCtor||FormData);r!==void 0&&S.append("file",r),v["Content-Type"]="multipart/form-data",ft(c,b);let T=p&&p.headers?p.headers:{};return d.headers={...v,...T,...i.headers},d.data=S,{url:pt(c),options:d}},userControllerGetUser:async(r,i,s={})=>{const c="/api/user",p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"GET",...d,...s},b={},S={};r!==void 0&&(S.email=r),i!==void 0&&(S.phone=i),ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}}}},mt=function(e){const r=cL(e);return{async abTestControllerDelete(i,s){const c=await r.abTestControllerDelete(i,s);return ht(c,st,ut,e)},async abTestControllerGet(i,s){const c=await r.abTestControllerGet(i,s);return ht(c,st,ut,e)},async abTestControllerGetBySlug(i,s){const c=await r.abTestControllerGetBySlug(i,s);return ht(c,st,ut,e)},async abTestControllerIndex(i){const s=await r.abTestControllerIndex(i);return ht(s,st,ut,e)},async abTestControllerPatch(i,s,c){const p=await r.abTestControllerPatch(i,s,c);return ht(p,st,ut,e)},async abTestControllerPost(i,s){const c=await r.abTestControllerPost(i,s);return ht(c,st,ut,e)},async abTestSearchControllerPost(i,s,c,p){const d=await r.abTestSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async componentControllerDelete(i,s){const c=await r.componentControllerDelete(i,s);return ht(c,st,ut,e)},async componentControllerGet(i,s){const c=await r.componentControllerGet(i,s);return ht(c,st,ut,e)},async componentControllerIndex(i){const s=await r.componentControllerIndex(i);return ht(s,st,ut,e)},async componentControllerPatch(i,s,c){const p=await r.componentControllerPatch(i,s,c);return ht(p,st,ut,e)},async componentControllerPost(i,s){const c=await r.componentControllerPost(i,s);return ht(c,st,ut,e)},async componentSearchControllerPost(i,s,c,p){const d=await r.componentSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async conditionControllerDelete(i,s){const c=await r.conditionControllerDelete(i,s);return ht(c,st,ut,e)},async conditionControllerGet(i,s){const c=await r.conditionControllerGet(i,s);return ht(c,st,ut,e)},async conditionControllerIndex(i){const s=await r.conditionControllerIndex(i);return ht(s,st,ut,e)},async conditionControllerPatch(i,s,c){const p=await r.conditionControllerPatch(i,s,c);return ht(p,st,ut,e)},async conditionControllerPost(i,s){const c=await r.conditionControllerPost(i,s);return ht(c,st,ut,e)},async conditionSearchControllerPost(i,s,c,p){const d=await r.conditionSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async defaultControllerPost(i,s,c){const p=await r.defaultControllerPost(i,s,c);return ht(p,st,ut,e)},async flowControllerCopy(i,s){const c=await r.flowControllerCopy(i,s);return ht(c,st,ut,e)},async flowControllerDelete(i,s){const c=await r.flowControllerDelete(i,s);return ht(c,st,ut,e)},async flowControllerGet(i,s){const c=await r.flowControllerGet(i,s);return ht(c,st,ut,e)},async flowControllerGetBySlug(i,s,c){const p=await r.flowControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async flowControllerGetFull(i,s){const c=await r.flowControllerGetFull(i,s);return ht(c,st,ut,e)},async flowControllerIndex(i){const s=await r.flowControllerIndex(i);return ht(s,st,ut,e)},async flowControllerPatch(i,s,c){const p=await r.flowControllerPatch(i,s,c);return ht(p,st,ut,e)},async flowControllerPost(i,s){const c=await r.flowControllerPost(i,s);return ht(c,st,ut,e)},async flowFormControllerCopyReplaceForm(i,s,c,p){const d=await r.flowFormControllerCopyReplaceForm(i,s,c,p);return ht(d,st,ut,e)},async flowFormControllerDelete(i,s,c){const p=await r.flowFormControllerDelete(i,s,c);return ht(p,st,ut,e)},async flowFormControllerGet(i,s,c){const p=await r.flowFormControllerGet(i,s,c);return ht(p,st,ut,e)},async flowFormControllerIndex(i){const s=await r.flowFormControllerIndex(i);return ht(s,st,ut,e)},async flowFormControllerPatch(i,s,c,p){const d=await r.flowFormControllerPatch(i,s,c,p);return ht(d,st,ut,e)},async flowFormControllerPost(i,s){const c=await r.flowFormControllerPost(i,s);return ht(c,st,ut,e)},async flowFormSearchControllerPost(i,s,c,p){const d=await r.flowFormSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async flowSearchControllerPost(i,s,c,p,d,v){const b=await r.flowSearchControllerPost(i,s,c,p,d,v);return ht(b,st,ut,e)},async formComponentControllerDelete(i,s){const c=await r.formComponentControllerDelete(i,s);return ht(c,st,ut,e)},async formComponentControllerGetById(i,s){const c=await r.formComponentControllerGetById(i,s);return ht(c,st,ut,e)},async formComponentControllerIndex(i){const s=await r.formComponentControllerIndex(i);return ht(s,st,ut,e)},async formComponentControllerPatch(i,s,c){const p=await r.formComponentControllerPatch(i,s,c);return ht(p,st,ut,e)},async formComponentControllerPost(i,s){const c=await r.formComponentControllerPost(i,s);return ht(c,st,ut,e)},async formComponentSearchControllerPost(i,s,c,p){const d=await r.formComponentSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async formControllerCopy(i,s){const c=await r.formControllerCopy(i,s);return ht(c,st,ut,e)},async formControllerDelete(i,s){const c=await r.formControllerDelete(i,s);return ht(c,st,ut,e)},async formControllerGet(i,s){const c=await r.formControllerGet(i,s);return ht(c,st,ut,e)},async formControllerIndex(i){const s=await r.formControllerIndex(i);return ht(s,st,ut,e)},async formControllerPatch(i,s,c){const p=await r.formControllerPatch(i,s,c);return ht(p,st,ut,e)},async formControllerPost(i,s){const c=await r.formControllerPost(i,s);return ht(c,st,ut,e)},async formSearchControllerPost(i,s,c,p){const d=await r.formSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async healthControllerGet(i){const s=await r.healthControllerGet(i);return ht(s,st,ut,e)},async oidcConfigControllerGetClient(i,s){const c=await r.oidcConfigControllerGetClient(i,s);return ht(c,st,ut,e)},async oidcConfigControllerGetEntra(i){const s=await r.oidcConfigControllerGetEntra(i);return ht(s,st,ut,e)},async oidcCookieControllerPost(i,s,c){const p=await r.oidcCookieControllerPost(i,s,c);return ht(p,st,ut,e)},async otpControllerSendOtp(i,s){const c=await r.otpControllerSendOtp(i,s);return ht(c,st,ut,e)},async otpControllerVerifyOtp(i,s){const c=await r.otpControllerVerifyOtp(i,s);return ht(c,st,ut,e)},async patientControllerDelete(i,s){const c=await r.patientControllerDelete(i,s);return ht(c,st,ut,e)},async patientControllerGet(i,s){const c=await r.patientControllerGet(i,s);return ht(c,st,ut,e)},async patientControllerIndex(i){const s=await r.patientControllerIndex(i);return ht(s,st,ut,e)},async patientControllerPatch(i,s,c){const p=await r.patientControllerPatch(i,s,c);return ht(p,st,ut,e)},async patientControllerPost(i,s){const c=await r.patientControllerPost(i,s);return ht(c,st,ut,e)},async patientSearchControllerPost(i,s,c,p){const d=await r.patientSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async pipelineControllerCopy(i,s){const c=await r.pipelineControllerCopy(i,s);return ht(c,st,ut,e)},async pipelineControllerDelete(i,s){const c=await r.pipelineControllerDelete(i,s);return ht(c,st,ut,e)},async pipelineControllerGet(i,s){const c=await r.pipelineControllerGet(i,s);return ht(c,st,ut,e)},async pipelineControllerGetBySlug(i,s,c){const p=await r.pipelineControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async pipelineControllerIndex(i){const s=await r.pipelineControllerIndex(i);return ht(s,st,ut,e)},async pipelineControllerPatch(i,s,c){const p=await r.pipelineControllerPatch(i,s,c);return ht(p,st,ut,e)},async pipelineControllerPost(i,s){const c=await r.pipelineControllerPost(i,s);return ht(c,st,ut,e)},async pipelineFlowControllerDelete(i,s){const c=await r.pipelineFlowControllerDelete(i,s);return ht(c,st,ut,e)},async pipelineFlowControllerGetById(i,s){const c=await r.pipelineFlowControllerGetById(i,s);return ht(c,st,ut,e)},async pipelineFlowControllerIndex(i){const s=await r.pipelineFlowControllerIndex(i);return ht(s,st,ut,e)},async pipelineFlowControllerPatch(i,s,c){const p=await r.pipelineFlowControllerPatch(i,s,c);return ht(p,st,ut,e)},async pipelineFlowControllerPost(i,s){const c=await r.pipelineFlowControllerPost(i,s);return ht(c,st,ut,e)},async pipelineFlowSearchControllerPost(i,s,c,p){const d=await r.pipelineFlowSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async pipelineSearchControllerPost(i,s,c,p){const d=await r.pipelineSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async previewFlowControllerGetBySlug(i,s,c){const p=await r.previewFlowControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async previewPipelineControllerGetBySlug(i,s,c){const p=await r.previewPipelineControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async propertyControllerDelete(i,s){const c=await r.propertyControllerDelete(i,s);return ht(c,st,ut,e)},async propertyControllerGet(i,s){const c=await r.propertyControllerGet(i,s);return ht(c,st,ut,e)},async propertyControllerIndex(i){const s=await r.propertyControllerIndex(i);return ht(s,st,ut,e)},async propertyControllerPatch(i,s,c){const p=await r.propertyControllerPatch(i,s,c);return ht(p,st,ut,e)},async propertyControllerPost(i,s){const c=await r.propertyControllerPost(i,s);return ht(c,st,ut,e)},async propertySearchControllerPost(i,s,c,p){const d=await r.propertySearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async uploadControllerListImages(i){const s=await r.uploadControllerListImages(i);return ht(s,st,ut,e)},async uploadControllerListVideos(i){const s=await r.uploadControllerListVideos(i);return ht(s,st,ut,e)},async uploadControllerUploadImage(i,s){const c=await r.uploadControllerUploadImage(i,s);return ht(c,st,ut,e)},async uploadControllerUploadVideo(i,s){const c=await r.uploadControllerUploadVideo(i,s);return ht(c,st,ut,e)},async userControllerGetUser(i,s,c){const p=await r.userControllerGetUser(i,s,c);return ht(p,st,ut,e)}}};class dL extends sL{abTestControllerDelete(r,i){return mt(this.configuration).abTestControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}abTestControllerGet(r,i){return mt(this.configuration).abTestControllerGet(r,i).then(s=>s(this.axios,this.basePath))}abTestControllerGetBySlug(r,i){return mt(this.configuration).abTestControllerGetBySlug(r,i).then(s=>s(this.axios,this.basePath))}abTestControllerIndex(r){return mt(this.configuration).abTestControllerIndex(r).then(i=>i(this.axios,this.basePath))}abTestControllerPatch(r,i,s){return mt(this.configuration).abTestControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}abTestControllerPost(r,i){return mt(this.configuration).abTestControllerPost(r,i).then(s=>s(this.axios,this.basePath))}abTestSearchControllerPost(r,i,s,c){return mt(this.configuration).abTestSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}componentControllerDelete(r,i){return mt(this.configuration).componentControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}componentControllerGet(r,i){return mt(this.configuration).componentControllerGet(r,i).then(s=>s(this.axios,this.basePath))}componentControllerIndex(r){return mt(this.configuration).componentControllerIndex(r).then(i=>i(this.axios,this.basePath))}componentControllerPatch(r,i,s){return mt(this.configuration).componentControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}componentControllerPost(r,i){return mt(this.configuration).componentControllerPost(r,i).then(s=>s(this.axios,this.basePath))}componentSearchControllerPost(r,i,s,c){return mt(this.configuration).componentSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}conditionControllerDelete(r,i){return mt(this.configuration).conditionControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}conditionControllerGet(r,i){return mt(this.configuration).conditionControllerGet(r,i).then(s=>s(this.axios,this.basePath))}conditionControllerIndex(r){return mt(this.configuration).conditionControllerIndex(r).then(i=>i(this.axios,this.basePath))}conditionControllerPatch(r,i,s){return mt(this.configuration).conditionControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}conditionControllerPost(r,i){return mt(this.configuration).conditionControllerPost(r,i).then(s=>s(this.axios,this.basePath))}conditionSearchControllerPost(r,i,s,c){return mt(this.configuration).conditionSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}defaultControllerPost(r,i,s){return mt(this.configuration).defaultControllerPost(r,i,s).then(c=>c(this.axios,this.basePath))}flowControllerCopy(r,i){return mt(this.configuration).flowControllerCopy(r,i).then(s=>s(this.axios,this.basePath))}flowControllerDelete(r,i){return mt(this.configuration).flowControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}flowControllerGet(r,i){return mt(this.configuration).flowControllerGet(r,i).then(s=>s(this.axios,this.basePath))}flowControllerGetBySlug(r,i,s){return mt(this.configuration).flowControllerGetBySlug(r,i,s).then(c=>c(this.axios,this.basePath))}flowControllerGetFull(r,i){return mt(this.configuration).flowControllerGetFull(r,i).then(s=>s(this.axios,this.basePath))}flowControllerIndex(r){return mt(this.configuration).flowControllerIndex(r).then(i=>i(this.axios,this.basePath))}flowControllerPatch(r,i,s){return mt(this.configuration).flowControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}flowControllerPost(r,i){return mt(this.configuration).flowControllerPost(r,i).then(s=>s(this.axios,this.basePath))}flowFormControllerCopyReplaceForm(r,i,s,c){return mt(this.configuration).flowFormControllerCopyReplaceForm(r,i,s,c).then(p=>p(this.axios,this.basePath))}flowFormControllerDelete(r,i,s){return mt(this.configuration).flowFormControllerDelete(r,i,s).then(c=>c(this.axios,this.basePath))}flowFormControllerGet(r,i,s){return mt(this.configuration).flowFormControllerGet(r,i,s).then(c=>c(this.axios,this.basePath))}flowFormControllerIndex(r){return mt(this.configuration).flowFormControllerIndex(r).then(i=>i(this.axios,this.basePath))}flowFormControllerPatch(r,i,s,c){return mt(this.configuration).flowFormControllerPatch(r,i,s,c).then(p=>p(this.axios,this.basePath))}flowFormControllerPost(r,i){return mt(this.configuration).flowFormControllerPost(r,i).then(s=>s(this.axios,this.basePath))}flowFormSearchControllerPost(r,i,s,c){return mt(this.configuration).flowFormSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}flowSearchControllerPost(r,i,s,c,p,d){return mt(this.configuration).flowSearchControllerPost(r,i,s,c,p,d).then(v=>v(this.axios,this.basePath))}formComponentControllerDelete(r,i){return mt(this.configuration).formComponentControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}formComponentControllerGetById(r,i){return mt(this.configuration).formComponentControllerGetById(r,i).then(s=>s(this.axios,this.basePath))}formComponentControllerIndex(r){return mt(this.configuration).formComponentControllerIndex(r).then(i=>i(this.axios,this.basePath))}formComponentControllerPatch(r,i,s){return mt(this.configuration).formComponentControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}formComponentControllerPost(r,i){return mt(this.configuration).formComponentControllerPost(r,i).then(s=>s(this.axios,this.basePath))}formComponentSearchControllerPost(r,i,s,c){return mt(this.configuration).formComponentSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}formControllerCopy(r,i){return mt(this.configuration).formControllerCopy(r,i).then(s=>s(this.axios,this.basePath))}formControllerDelete(r,i){return mt(this.configuration).formControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}formControllerGet(r,i){return mt(this.configuration).formControllerGet(r,i).then(s=>s(this.axios,this.basePath))}formControllerIndex(r){return mt(this.configuration).formControllerIndex(r).then(i=>i(this.axios,this.basePath))}formControllerPatch(r,i,s){return mt(this.configuration).formControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}formControllerPost(r,i){return mt(this.configuration).formControllerPost(r,i).then(s=>s(this.axios,this.basePath))}formSearchControllerPost(r,i,s,c){return mt(this.configuration).formSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}healthControllerGet(r){return mt(this.configuration).healthControllerGet(r).then(i=>i(this.axios,this.basePath))}oidcConfigControllerGetClient(r,i){return mt(this.configuration).oidcConfigControllerGetClient(r,i).then(s=>s(this.axios,this.basePath))}oidcConfigControllerGetEntra(r){return mt(this.configuration).oidcConfigControllerGetEntra(r).then(i=>i(this.axios,this.basePath))}oidcCookieControllerPost(r,i,s){return mt(this.configuration).oidcCookieControllerPost(r,i,s).then(c=>c(this.axios,this.basePath))}otpControllerSendOtp(r,i){return mt(this.configuration).otpControllerSendOtp(r,i).then(s=>s(this.axios,this.basePath))}otpControllerVerifyOtp(r,i){return mt(this.configuration).otpControllerVerifyOtp(r,i).then(s=>s(this.axios,this.basePath))}patientControllerDelete(r,i){return mt(this.configuration).patientControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}patientControllerGet(r,i){return mt(this.configuration).patientControllerGet(r,i).then(s=>s(this.axios,this.basePath))}patientControllerIndex(r){return mt(this.configuration).patientControllerIndex(r).then(i=>i(this.axios,this.basePath))}patientControllerPatch(r,i,s){return mt(this.configuration).patientControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}patientControllerPost(r,i){return mt(this.configuration).patientControllerPost(r,i).then(s=>s(this.axios,this.basePath))}patientSearchControllerPost(r,i,s,c){return mt(this.configuration).patientSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}pipelineControllerCopy(r,i){return mt(this.configuration).pipelineControllerCopy(r,i).then(s=>s(this.axios,this.basePath))}pipelineControllerDelete(r,i){return mt(this.configuration).pipelineControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}pipelineControllerGet(r,i){return mt(this.configuration).pipelineControllerGet(r,i).then(s=>s(this.axios,this.basePath))}pipelineControllerGetBySlug(r,i,s){return mt(this.configuration).pipelineControllerGetBySlug(r,i,s).then(c=>c(this.axios,this.basePath))}pipelineControllerIndex(r){return mt(this.configuration).pipelineControllerIndex(r).then(i=>i(this.axios,this.basePath))}pipelineControllerPatch(r,i,s){return mt(this.configuration).pipelineControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}pipelineControllerPost(r,i){return mt(this.configuration).pipelineControllerPost(r,i).then(s=>s(this.axios,this.basePath))}pipelineFlowControllerDelete(r,i){return mt(this.configuration).pipelineFlowControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}pipelineFlowControllerGetById(r,i){return mt(this.configuration).pipelineFlowControllerGetById(r,i).then(s=>s(this.axios,this.basePath))}pipelineFlowControllerIndex(r){return mt(this.configuration).pipelineFlowControllerIndex(r).then(i=>i(this.axios,this.basePath))}pipelineFlowControllerPatch(r,i,s){return mt(this.configuration).pipelineFlowControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}pipelineFlowControllerPost(r,i){return mt(this.configuration).pipelineFlowControllerPost(r,i).then(s=>s(this.axios,this.basePath))}pipelineFlowSearchControllerPost(r,i,s,c){return mt(this.configuration).pipelineFlowSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}pipelineSearchControllerPost(r,i,s,c){return mt(this.configuration).pipelineSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}previewFlowControllerGetBySlug(r,i,s){return mt(this.configuration).previewFlowControllerGetBySlug(r,i,s).then(c=>c(this.axios,this.basePath))}previewPipelineControllerGetBySlug(r,i,s){return mt(this.configuration).previewPipelineControllerGetBySlug(r,i,s).then(c=>c(this.axios,this.basePath))}propertyControllerDelete(r,i){return mt(this.configuration).propertyControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}propertyControllerGet(r,i){return mt(this.configuration).propertyControllerGet(r,i).then(s=>s(this.axios,this.basePath))}propertyControllerIndex(r){return mt(this.configuration).propertyControllerIndex(r).then(i=>i(this.axios,this.basePath))}propertyControllerPatch(r,i,s){return mt(this.configuration).propertyControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}propertyControllerPost(r,i){return mt(this.configuration).propertyControllerPost(r,i).then(s=>s(this.axios,this.basePath))}propertySearchControllerPost(r,i,s,c){return mt(this.configuration).propertySearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}uploadControllerListImages(r){return mt(this.configuration).uploadControllerListImages(r).then(i=>i(this.axios,this.basePath))}uploadControllerListVideos(r){return mt(this.configuration).uploadControllerListVideos(r).then(i=>i(this.axios,this.basePath))}uploadControllerUploadImage(r,i){return mt(this.configuration).uploadControllerUploadImage(r,i).then(s=>s(this.axios,this.basePath))}uploadControllerUploadVideo(r,i){return mt(this.configuration).uploadControllerUploadVideo(r,i).then(s=>s(this.axios,this.basePath))}userControllerGetUser(r,i,s){return mt(this.configuration).userControllerGetUser(r,i,s).then(c=>c(this.axios,this.basePath))}}function fL(e,r=""){return{api:r||(!location.port||location.port==="80"?"":e),ui:location.origin}}const uv=e=>{const r=fL("http://localhost:3129",e);return lL(dL,{apiUrl:r.api})},pL=({formComponent:e,formidavimHost:r})=>{const i=e.props,{required:s,maxLength:c,propertyId:p,label:d="Email",inlineCopy:v}=i||{},{getFlowValue:b,setFlowAndPatientValue:S,getFlowError:T,setFlowError:w,setDisableSubmitValue:R,setFlowValue:A}=Nr(),L=Sp(b(p)),[P,j]=Ve.useState(""),[G,Y]=Ve.useState(!1),[k,V]=Ve.useState(null),N=Ve.useRef(!1),z=uv(r),Z=Ve.useCallback(async he=>{if(!he||!up(he).valid||N.current){V(null);return}N.current=!0,Y(!0),V(null);try{const we=await z.userControllerGetUser(he);(we==null?void 0:we.data)&&typeof we.data=="object"&&Object.keys(we.data).length>0?(V("An account with this email already exists"),R(!0)):(V(null),R(!1))}catch(we){console.warn("Error checking for duplicate user:",we),V(null)}finally{Y(!1),N.current=!1}},[z,R]);Ve.useEffect(()=>{j(L)},[L]),Ve.useEffect(()=>{s&&(!L||L==="")?(w(p,"Required"),R(!0)):L&&!up(L).valid?(w(p,"Please enter a valid email address"),R(!0)):L&&up(L).valid&&(w(p,null),G&&R(!0))},[L,s,p,w,R,G]),Ve.useEffect(()=>{const he=setTimeout(()=>{L&&up(L).valid?Z(L):(V(null),R(!1))},500);return()=>clearTimeout(he)},[L]);const ie=he=>{const{value:we}=he.target;j(we),A(p,we);const ce=we==="",fe=up(we).valid;!ce&&!fe?w(p,"Please enter a valid email address"):w(p,null)},ge=he=>{const{value:we}=he.target;we&&!up(we).valid&&w(p,"Please enter a valid email address")},Te=!!T(p)&&T(p)!=="Required"||!!k;return I.jsxs(ai,{$visible:!0,$hasError:Te,children:[I.jsx(Mi,{$color:Te?"danger":void 0,children:d}),I.jsx("input",{id:p,name:p,type:"email",value:P,onInput:ie,onBlur:ge,maxLength:c||255,className:Te?"error":"",disabled:G}),v&&I.jsx(dl,{children:v}),G&&I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Checking availability..."}),i!=null&&i.required&&!L&&!Te?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):Te?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),k||T(p)]}):null]})},hL=({formComponent:e})=>{const r=e.props,{required:i,maxLength:s,propertyId:c,label:p="Password",inlineCopy:d,minLength:v=8,confirmPasswordPropertyId:b}=r||{},{getFlowValue:S,setFlowAndPatientValue:T,getFlowError:w,setFlowError:R,setDisableSubmitValue:A,setFlowValue:L}=Nr(),P=Sp(S(c)),j=b?Sp(S(b)):"",G=w(c),Y=b?w(b):null,k=!!G&&G!=="Required",V=!!Y&&Y!=="Required",[N,z]=Ve.useState(!1),[Z,ie]=Ve.useState(!1),[ge,M]=Ve.useState(""),[se,Te]=Ve.useState(""),he=Re=>{if(Re.length<v)return!1;const B=/[a-z]/.test(Re),W=/[A-Z]/.test(Re),$e=/\d/.test(Re),Be=/[^A-Za-z0-9]/.test(Re);return B&&W&&$e&&Be},we=(Re,B)=>Re===B;Ve.useEffect(()=>{M(P)},[P]),Ve.useEffect(()=>{b&&Te(j)},[j,b]),Ve.useEffect(()=>{const Re=he(ge),B=b?we(ge,se):!0;i&&(!ge||ge==="")?(R(c,"Required"),A(!0)):ge&&!Re?(R(c,`Password must be at least ${v} characters with lowercase, uppercase, number, and special character`),A(!0)):b&&ge&&se&&!B?(R(b,"Passwords do not match"),A(!0)):ge&&Re&&(!b||B)&&(R(c,null),b&&R(b,null),A(!1))},[ge,se,i,c,b,R,A,v]);const ce=Re=>{const{value:B}=Re.target;M(B);const W=B==="",$e=he(B),Be=b?we(B,se):!0;!W&&!$e?(R(c,`Password must be at least ${v} characters with lowercase, uppercase, number, and special character`),L(c,null)):$e?!b||Be?(T(c,B),R(c,null),b&&R(b,null),A(!1)):(L(c,null),R(c,null),R(b,"Passwords do not match"),A(!0)):(R(c,null),L(c,null))},fe=Re=>{if(!b)return;const{value:B}=Re.target;Te(B),T(b,B);const W=we(ge,B);B&&!W?(R(b,"Passwords do not match"),A(!0)):W&&he(ge)?(T(c,ge),R(b,null),R(c,null),A(!1)):R(b,null)},ve=Re=>{const{value:B}=Re.target;B&&!he(B)&&(R(c,`Password must be at least ${v} characters with lowercase, uppercase, number, and special character`),L(c,null))},pe=Re=>{if(!b)return;const{value:B}=Re.target;B&&!we(ge,B)&&R(b,"Passwords do not match")};w(c)||r!=null&&r.required,b&&w(b),w(c)||r!=null&&r.required,b&&w(b);const ne=()=>{z(!N)},ee=()=>{ie(!Z)};return I.jsxs(ai,{$visible:!0,$hasError:k||V,$type:"password",$isPass:"true",$show:N?"true":"false",children:[I.jsx(Mi,{$color:k?"danger":void 0,children:p}),I.jsxs("div",{style:{position:"relative"},children:[I.jsx("input",{id:c,name:c,type:N?"text":"password",value:ge,onInput:ce,onBlur:ve,maxLength:s||255,minLength:v,className:w(c)?"error":""}),I.jsx("button",{type:"button",onClick:ne,style:{position:"absolute",right:"15px",top:"50%",transform:"translateY(-50%)",zIndex:3,width:"30px",height:"30px",border:"none",backgroundColor:"transparent",opacity:.8,transition:"all 0.2s",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:Re=>{Re.currentTarget.style.opacity="1"},onMouseLeave:Re=>{Re.currentTarget.style.opacity="0.8"},children:N?I.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[I.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),I.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}):I.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[I.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),I.jsx("circle",{cx:"12",cy:"12",r:"3"})]})})]}),i&&!P&&!k?I.jsx(ao,{$visible:!0,children:"Required"}):k?I.jsxs(Yo,{$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),G]}):null,b&&I.jsxs(I.Fragment,{children:[I.jsxs("div",{style:{position:"relative",marginTop:"1rem"},children:[I.jsx(Mi,{children:"Confirm Password"}),I.jsx("input",{id:b,name:b,type:Z?"text":"password",value:se,onInput:fe,onBlur:pe,maxLength:s||255,minLength:v,className:w(b)?"error":""}),I.jsx("button",{type:"button",onClick:ee,style:{position:"absolute",right:"15px",top:"50%",transform:"translateY(-50%)",zIndex:3,width:"30px",height:"30px",border:"none",backgroundColor:"transparent",opacity:.8,transition:"all 0.2s",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:Re=>{Re.currentTarget.style.opacity="1"},onMouseLeave:Re=>{Re.currentTarget.style.opacity="0.8"},children:Z?I.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[I.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),I.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}):I.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[I.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),I.jsx("circle",{cx:"12",cy:"12",r:"3"})]})})]}),i&&!j&&!V?I.jsx(ao,{$visible:!0,children:"Required"}):V?I.jsxs(Yo,{$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),Y]}):null]}),d&&I.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:"0.75rem"},children:[I.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{flexShrink:0,marginTop:"0.125rem"},children:I.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.92893 4.92893C6.8043 3.05357 9.34784 2 12 2C14.6522 2 17.1957 3.05357 19.0711 4.92893C20.9464 6.8043 22 9.34784 22 12C22 13.3132 21.7413 14.6136 21.2388 15.8268C20.7362 17.0401 19.9997 18.1425 19.0711 19.0711C18.1425 19.9997 17.0401 20.7362 15.8268 21.2388C14.6136 21.7413 13.3132 22 12 22C10.6868 22 9.38642 21.7413 8.17317 21.2388C6.95991 20.7362 5.85752 19.9997 4.92893 19.0711C4.00035 18.1425 3.26375 17.0401 2.7612 15.8268C2.25866 14.6136 2 13.3132 2 12C2 9.34784 3.05357 6.8043 4.92893 4.92893ZM12 4C9.87827 4 7.84344 4.84285 6.34315 6.34315C4.84285 7.84344 4 9.87827 4 12C4 13.0506 4.20693 14.0909 4.60896 15.0615C5.011 16.0321 5.60028 16.914 6.34315 17.6569C7.08601 18.3997 7.96793 18.989 8.93853 19.391C9.90914 19.7931 10.9494 20 12 20C13.0506 20 14.0909 19.7931 15.0615 19.391C16.0321 18.989 16.914 18.3997 17.6569 17.6569C18.3997 16.914 18.989 16.0321 19.391 15.0615C19.7931 14.0909 20 13.0506 20 12C20 9.87827 19.1571 7.84344 17.6569 6.34315C16.1566 4.84285 14.1217 4 12 4ZM11 9C11 8.44772 11.4477 8 12 8H12.01C12.5623 8 13.01 8.44772 13.01 9C13.01 9.55228 12.5623 10 12.01 10H12C11.4477 10 11 9.55228 11 9ZM10 12C10 11.4477 10.4477 11 11 11H12C12.5523 11 13 11.4477 13 12V15C13.5523 15 14 15.4477 14 16C14 16.5523 13.5523 17 13 17H12C11.4477 17 11 16.5523 11 16V13C10.4477 13 10 12.5523 10 12Z",fill:"#6F9351"})}),I.jsx(dl,{style:{flex:1,color:"rgba(22, 21, 19, 0.70)",fontVariantNumeric:"lining-nums tabular-nums",fontSize:"0.625em",fontWeight:400,lineHeight:"1.6em",marginTop:"0.25rem"},children:d})]})]})},mL=({formComponent:e,formidavimHost:r})=>{const i=e.props,{required:s,maxLength:c,propertyId:p,label:d="Phone Number"}=i||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S,setFlowError:T,setDisableSubmitValue:w,setFlowValue:R}=Nr(),A=Sp(v(p)),[L,P]=Ve.useState(A),[j,G]=Ve.useState(!1),[Y,k]=Ve.useState(null),V=Ve.useRef(!1),N=uv(r),z=Ve.useCallback(async we=>{if(!we||!ie(we)||V.current){k(null);return}V.current=!0,G(!0),k(null);try{const ce=pe=>{const ne=pe.replace(/\D/g,"");return ne.length===10?`1${ne}`:ne},fe=await N.userControllerGetUser(void 0,ce(we));(fe==null?void 0:fe.data)&&typeof fe.data=="object"&&Object.keys(fe.data).length>0?(k("An account with this phone number already exists"),w(!0)):(k(null),w(!1))}catch(ce){console.warn("Error checking for duplicate user:",ce),k(null)}finally{G(!1),V.current=!1}},[N,w]),Z=we=>{let ce=we.replace(/\D/g,"");return ce.length===0?"":(ce.startsWith("1")&&ce.length===11&&(ce=ce.slice(1)),ce.length===10&&!ce.startsWith("1")?`+1(${ce.slice(0,3)})-${ce.slice(3,6)}-${ce.slice(6)}`:ce)},ie=we=>{let ce=we.replace(/\D/g,"");return ce.startsWith("1")&&ce.length===11&&(ce=ce.slice(1)),ce.length===10},ge=we=>{const{value:ce}=we.target,fe=Z(ce);P(fe);const ve=fe==="",pe=ie(fe);!ve&&!pe?(T(p,"Please enter a valid phone number"),R(p,null)):pe?(T(p,null),b(p,fe)):(T(p,null),R(p,null))};Ve.useEffect(()=>{P(A)},[A]),Ve.useEffect(()=>{s&&(!A||A==="")?(T(p,"Required"),w(!0)):A&&A.length>0&&!ie(A)?(T(p,"Please enter a valid phone number"),w(!0)):A&&ie(A)&&(T(p,null),j&&w(!0))},[A,s,p,T,w,j]),Ve.useEffect(()=>{const we=setTimeout(()=>{A&&ie(A)?z(A):(k(null),w(!1))},500);return()=>clearTimeout(we)},[A]);const M=we=>{const{value:ce}=we.target;ce&&!ie(ce)&&(T(p,"Please enter a valid phone number"),R(p,null))},he=!!S(p)&&S(p)!=="Required"||!!Y;return I.jsxs(ai,{$visible:!0,$hasError:he,children:[I.jsx(Mi,{$color:he?"danger":void 0,children:d}),I.jsx("input",{id:p,name:p,type:"tel",value:L,onInput:ge,onBlur:M,maxLength:c||15,placeholder:"",className:he?"error":"",disabled:j}),j&&I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Checking availability..."}),i!=null&&i.required&&!A&&!he?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):he?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),Y||S(p)]}):null]})},nv={black:"#000",white:"#fff"},cp={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},dp={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},fp={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},pp={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},hp={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Um={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},vL={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 es(e,...r){const i=new URL(`https://mui.com/production-error/?code=${e}`);return r.forEach(s=>i.searchParams.append("args[]",s)),`Minified MUI error #${e}; visit ${i} for the full message.`}const eb="$$material";function $C(){return $C=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var s in i)({}).hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e},$C.apply(null,arguments)}function yL(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function gL(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var bL=function(){function e(i){var s=this;this._insertTag=function(c){var p;s.tags.length===0?s.insertionPoint?p=s.insertionPoint.nextSibling:s.prepend?p=s.container.firstChild:p=s.before:p=s.tags[s.tags.length-1].nextSibling,s.container.insertBefore(c,p),s.tags.push(c)},this.isSpeedy=i.speedy===void 0?!0:i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(s){s.forEach(this._insertTag)},r.insert=function(s){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(gL(this));var c=this.tags[this.tags.length-1];if(this.isSpeedy){var p=yL(c);try{p.insertRule(s,p.cssRules.length)}catch{}}else c.appendChild(document.createTextNode(s));this.ctr++},r.flush=function(){this.tags.forEach(function(s){var c;return(c=s.parentNode)==null?void 0:c.removeChild(s)}),this.tags=[],this.ctr=0},e}(),ha="-ms-",j0="-moz-",jn="-webkit-",x3="comm",ZC="rule",JC="decl",xL="@import",S3="@keyframes",SL="@layer",CL=Math.abs,tb=String.fromCharCode,wL=Object.assign;function EL(e,r){return Wo(e,0)^45?(((r<<2^Wo(e,0))<<2^Wo(e,1))<<2^Wo(e,2))<<2^Wo(e,3):0}function C3(e){return e.trim()}function TL(e,r){return(e=r.exec(e))?e[0]:e}function Un(e,r,i){return e.replace(r,i)}function AC(e,r){return e.indexOf(r)}function Wo(e,r){return e.charCodeAt(r)|0}function rv(e,r,i){return e.slice(r,i)}function Xl(e){return e.length}function ew(e){return e.length}function y0(e,r){return r.push(e),e}function RL(e,r){return e.map(r).join("")}var nb=1,wp=1,w3=0,qa=0,oo=0,Tp="";function rb(e,r,i,s,c,p,d){return{value:e,root:r,parent:i,type:s,props:c,children:p,line:nb,column:wp,length:d,return:""}}function Bm(e,r){return wL(rb("",null,null,"",null,null,0),e,{length:-e.length},r)}function OL(){return oo}function $L(){return oo=qa>0?Wo(Tp,--qa):0,wp--,oo===10&&(wp=1,nb--),oo}function li(){return oo=qa<w3?Wo(Tp,qa++):0,wp++,oo===10&&(wp=1,nb++),oo}function Jl(){return Wo(Tp,qa)}function k0(){return qa}function cv(e,r){return rv(Tp,e,r)}function ov(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 E3(e){return nb=wp=1,w3=Xl(Tp=e),qa=0,[]}function T3(e){return Tp="",e}function P0(e){return C3(cv(qa-1,kC(e===91?e+2:e===40?e+1:e)))}function AL(e){for(;(oo=Jl())&&oo<33;)li();return ov(e)>2||ov(oo)>3?"":" "}function kL(e,r){for(;--r&&li()&&!(oo<48||oo>102||oo>57&&oo<65||oo>70&&oo<97););return cv(e,k0()+(r<6&&Jl()==32&&li()==32))}function kC(e){for(;li();)switch(oo){case e:return qa;case 34:case 39:e!==34&&e!==39&&kC(oo);break;case 40:e===41&&kC(e);break;case 92:li();break}return qa}function PL(e,r){for(;li()&&e+oo!==57;)if(e+oo===84&&Jl()===47)break;return"/*"+cv(r,qa-1)+"*"+tb(e===47?e:li())}function NL(e){for(;!ov(Jl());)li();return cv(e,qa)}function DL(e){return T3(N0("",null,null,null,[""],e=E3(e),0,[0],e))}function N0(e,r,i,s,c,p,d,v,b){for(var S=0,T=0,w=d,R=0,A=0,L=0,P=1,j=1,G=1,Y=0,k="",V=c,N=p,z=s,Z=k;j;)switch(L=Y,Y=li()){case 40:if(L!=108&&Wo(Z,w-1)==58){AC(Z+=Un(P0(Y),"&","&\f"),"&\f")!=-1&&(G=-1);break}case 34:case 39:case 91:Z+=P0(Y);break;case 9:case 10:case 13:case 32:Z+=AL(L);break;case 92:Z+=kL(k0()-1,7);continue;case 47:switch(Jl()){case 42:case 47:y0(ML(PL(li(),k0()),r,i),b);break;default:Z+="/"}break;case 123*P:v[S++]=Xl(Z)*G;case 125*P:case 59:case 0:switch(Y){case 0:case 125:j=0;case 59+T:G==-1&&(Z=Un(Z,/\f/g,"")),A>0&&Xl(Z)-w&&y0(A>32?TO(Z+";",s,i,w-1):TO(Un(Z," ","")+";",s,i,w-2),b);break;case 59:Z+=";";default:if(y0(z=EO(Z,r,i,S,T,c,v,k,V=[],N=[],w),p),Y===123)if(T===0)N0(Z,r,z,z,V,p,w,v,N);else switch(R===99&&Wo(Z,3)===110?100:R){case 100:case 108:case 109:case 115:N0(e,z,z,s&&y0(EO(e,z,z,0,0,c,v,k,c,V=[],w),N),c,N,w,v,s?V:N);break;default:N0(Z,z,z,z,[""],N,0,v,N)}}S=T=A=0,P=G=1,k=Z="",w=d;break;case 58:w=1+Xl(Z),A=L;default:if(P<1){if(Y==123)--P;else if(Y==125&&P++==0&&$L()==125)continue}switch(Z+=tb(Y),Y*P){case 38:G=T>0?1:(Z+="\f",-1);break;case 44:v[S++]=(Xl(Z)-1)*G,G=1;break;case 64:Jl()===45&&(Z+=P0(li())),R=Jl(),T=w=Xl(k=Z+=NL(k0())),Y++;break;case 45:L===45&&Xl(Z)==2&&(P=0)}}return p}function EO(e,r,i,s,c,p,d,v,b,S,T){for(var w=c-1,R=c===0?p:[""],A=ew(R),L=0,P=0,j=0;L<s;++L)for(var G=0,Y=rv(e,w+1,w=CL(P=d[L])),k=e;G<A;++G)(k=C3(P>0?R[G]+" "+Y:Un(Y,/&\f/g,R[G])))&&(b[j++]=k);return rb(e,r,i,c===0?ZC:v,b,S,T)}function ML(e,r,i){return rb(e,r,i,x3,tb(OL()),rv(e,2,-2),0)}function TO(e,r,i,s){return rb(e,r,i,JC,rv(e,0,s),rv(e,s+1,-1),s)}function yp(e,r){for(var i="",s=ew(e),c=0;c<s;c++)i+=r(e[c],c,e,r)||"";return i}function LL(e,r,i,s){switch(e.type){case SL:if(e.children.length)break;case xL:case JC:return e.return=e.return||e.value;case x3:return"";case S3:return e.return=e.value+"{"+yp(e.children,s)+"}";case ZC:e.value=e.props.join(",")}return Xl(i=yp(e.children,s))?e.return=e.value+"{"+i+"}":""}function IL(e){var r=ew(e);return function(i,s,c,p){for(var d="",v=0;v<r;v++)d+=e[v](i,s,c,p)||"";return d}}function _L(e){return function(r){r.root||(r=r.return)&&e(r)}}function R3(e){var r=Object.create(null);return function(i){return r[i]===void 0&&(r[i]=e(i)),r[i]}}var FL=function(r,i,s){for(var c=0,p=0;c=p,p=Jl(),c===38&&p===12&&(i[s]=1),!ov(p);)li();return cv(r,qa)},VL=function(r,i){var s=-1,c=44;do switch(ov(c)){case 0:c===38&&Jl()===12&&(i[s]=1),r[s]+=FL(qa-1,i,s);break;case 2:r[s]+=P0(c);break;case 4:if(c===44){r[++s]=Jl()===58?"&\f":"",i[s]=r[s].length;break}default:r[s]+=tb(c)}while(c=li());return r},jL=function(r,i){return T3(VL(E3(r),i))},RO=new WeakMap,UL=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var i=r.value,s=r.parent,c=r.column===s.column&&r.line===s.line;s.type!=="rule";)if(s=s.parent,!s)return;if(!(r.props.length===1&&i.charCodeAt(0)!==58&&!RO.get(s))&&!c){RO.set(r,!0);for(var p=[],d=jL(i,p),v=s.props,b=0,S=0;b<d.length;b++)for(var T=0;T<v.length;T++,S++)r.props[S]=p[b]?d[b].replace(/&\f/g,v[T]):v[T]+" "+d[b]}}},BL=function(r){if(r.type==="decl"){var i=r.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(r.return="",r.value="")}};function O3(e,r){switch(EL(e,r)){case 5103:return jn+"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 jn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return jn+e+j0+e+ha+e+e;case 6828:case 4268:return jn+e+ha+e+e;case 6165:return jn+e+ha+"flex-"+e+e;case 5187:return jn+e+Un(e,/(\w+).+(:[^]+)/,jn+"box-$1$2"+ha+"flex-$1$2")+e;case 5443:return jn+e+ha+"flex-item-"+Un(e,/flex-|-self/,"")+e;case 4675:return jn+e+ha+"flex-line-pack"+Un(e,/align-content|flex-|-self/,"")+e;case 5548:return jn+e+ha+Un(e,"shrink","negative")+e;case 5292:return jn+e+ha+Un(e,"basis","preferred-size")+e;case 6060:return jn+"box-"+Un(e,"-grow","")+jn+e+ha+Un(e,"grow","positive")+e;case 4554:return jn+Un(e,/([^-])(transform)/g,"$1"+jn+"$2")+e;case 6187:return Un(Un(Un(e,/(zoom-|grab)/,jn+"$1"),/(image-set)/,jn+"$1"),e,"")+e;case 5495:case 3959:return Un(e,/(image-set\([^]*)/,jn+"$1$`$1");case 4968:return Un(Un(e,/(.+:)(flex-)?(.*)/,jn+"box-pack:$3"+ha+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+jn+e+e;case 4095:case 3583:case 4068:case 2532:return Un(e,/(.+)-inline(.+)/,jn+"$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(Xl(e)-1-r>6)switch(Wo(e,r+1)){case 109:if(Wo(e,r+4)!==45)break;case 102:return Un(e,/(.+:)(.+)-([^]+)/,"$1"+jn+"$2-$3$1"+j0+(Wo(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~AC(e,"stretch")?O3(Un(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(Wo(e,r+1)!==115)break;case 6444:switch(Wo(e,Xl(e)-3-(~AC(e,"!important")&&10))){case 107:return Un(e,":",":"+jn)+e;case 101:return Un(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+jn+(Wo(e,14)===45?"inline-":"")+"box$3$1"+jn+"$2$3$1"+ha+"$2box$3")+e}break;case 5936:switch(Wo(e,r+11)){case 114:return jn+e+ha+Un(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return jn+e+ha+Un(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return jn+e+ha+Un(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return jn+e+ha+e+e}return e}var zL=function(r,i,s,c){if(r.length>-1&&!r.return)switch(r.type){case JC:r.return=O3(r.value,r.length);break;case S3:return yp([Bm(r,{value:Un(r.value,"@","@"+jn)})],c);case ZC:if(r.length)return RL(r.props,function(p){switch(TL(p,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return yp([Bm(r,{props:[Un(p,/:(read-\w+)/,":"+j0+"$1")]})],c);case"::placeholder":return yp([Bm(r,{props:[Un(p,/:(plac\w+)/,":"+jn+"input-$1")]}),Bm(r,{props:[Un(p,/:(plac\w+)/,":"+j0+"$1")]}),Bm(r,{props:[Un(p,/:(plac\w+)/,ha+"input-$1")]})],c)}return""})}},HL=[zL],GL=function(r){var i=r.key;if(i==="css"){var s=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(s,function(P){var j=P.getAttribute("data-emotion");j.indexOf(" ")!==-1&&(document.head.appendChild(P),P.setAttribute("data-s",""))})}var c=r.stylisPlugins||HL,p={},d,v=[];d=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(P){for(var j=P.getAttribute("data-emotion").split(" "),G=1;G<j.length;G++)p[j[G]]=!0;v.push(P)});var b,S=[UL,BL];{var T,w=[LL,_L(function(P){T.insert(P)})],R=IL(S.concat(c,w)),A=function(j){return yp(DL(j),R)};b=function(j,G,Y,k){T=Y,A(j?j+"{"+G.styles+"}":G.styles),k&&(L.inserted[G.name]=!0)}}var L={key:i,sheet:new bL({key:i,container:d,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:p,registered:{},insert:b};return L.sheet.hydrate(v),L},g0={exports:{}},Wn={};/** @license React v16.13.1
|
|
2586
|
+
`,v0=e=>e instanceof Date&&!isNaN(e.getTime()),eC=e=>{const r=new Date;let i=r.getFullYear()-e.getFullYear();const s=r.getMonth()-e.getMonth();return(s<0||s===0&&r.getDate()<e.getDate())&&i--,i},tL=({formComponent:e})=>{const r=e.props,{propertyId:i,label:s="Label",minDate:c,maxDate:p,minAge:d}=r||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S,setFlowError:T}=wr(),w=v(r.propertyId),R=S(r.propertyId),A=!!R&&R!=="Required";Ve.useEffect(()=>{if(d&&w){const G=new Date(w);v0(G)&&(eC(G)<d?T(i,`Must be over ${d}`):T(i,""))}},[d,w,i,T]),Ve.useEffect(()=>{if(d&&w){const G=new Date(w);v0(G)&&(eC(G)<d?T(i,`Must be over ${d}`):T(i,""))}},[d,w,i,T]);const L=G=>(b(i,P(G)),d&&G&&v0(G)?eC(G)<d?T(i,`Must be over ${d}`):T(i,""):d&&!G&&T(i,""),null),P=G=>{if(!v0(G))return"";const Y=new Date(G),k=String(Y.getDate()).padStart(2,"0"),V=String(Y.getMonth()+1).padStart(2,"0"),N=Y.getFullYear();return`${V}/${k}/${N}`},j=QS.default.default||QS.default||QS;return I.jsx(nM,{$justify:"start",$margin:"",id:`datepicker_${i}`,children:I.jsxs(aM,{$visible:!0,$margin:"0px auto 40px 0px",$hasError:A,children:[I.jsx(Mi,{$color:A?"danger":void 0,children:s}),I.jsx(j,{selected:w,onChange:G=>L(G),allowSameDay:!0,dateFormat:"MM/dd/yyyy",showYearDropdown:!0,scrollableYearDropdown:!0,showMonthDropdown:!0,yearDropdownItemNumber:100,popperClassName:"DPCalendar",popperPlacement:"top-end",minDate:c?new Date(c):null,maxDate:p?new Date(p):null}),r!=null&&r.required&&!w&&!A?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):A?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),R]}):null]})})},nL=({formComponent:e})=>{const r=e.props,{propertyId:i,label:s="Text Area Input"}=r||{},{getFlowValue:c,setFlowAndPatientValue:p,getFlowError:d}=wr(),v=c(r.propertyId),b=d(i),S=!!b&&b!=="Required",T=(r==null?void 0:r.options)||[],[w,R]=Ve.useState(!1),A=()=>{w||R(!0)},L=P=>{const{value:j}=P.target;p(r.propertyId,j)};return I.jsxs(qC,{$visible:!0,$hasError:S,children:[I.jsx(dl,{$color:S?"danger":void 0,children:s}),I.jsxs("select",{id:i,name:i,onChange:P=>L(P),onBlur:A,value:v||"",children:[I.jsx("option",{value:"",disabled:!0,children:"Make a selection"}),T&&T.map((P,j)=>I.jsx("option",{value:P.value,children:P.labelText},j))]}),r!=null&&r.required&&!v&&!S?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):S?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),b]}):null]})},rL=({formComponent:e})=>{const r=e.props,{required:i,maxLength:s,propertyId:c,label:p="Text Input",type:d="text"}=r||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S}=wr(),T=Sp(v(c)),w=S(c),R=!!w&&w!=="Required",A=i==="true",L=P=>{const{value:j}=P.target;b(c,_5(j))};return I.jsxs(Ya,{$visible:!0,$hasError:R,children:[I.jsx(Mi,{$color:R?"danger":void 0,children:p}),I.jsx("input",{id:c,name:c,type:d,value:T,onInput:L,maxLength:s||255}),A&&!T&&!R?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):R?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),w]}):null]})},oL=({formComponent:e})=>{const r=e.props,{propertyId:i,label:s="Input Label"}=r||{},{getFlowValue:c,setFlowAndPatientValue:p,getPatientValue:d,getFlowError:v}=wr(),b=c(i),S=v(i),T=!!S&&S!=="Required",w=d("dosing"),[R,A]=Ve.useState(!1);if(!w)return I.jsx("p",{children:"Titration options not available for preview"});const L=Object.values(w)[0],P=typeof L=="object"&&L!==null&&"titrations"in L?L.titrations:[],j=()=>{R||A(!0)},G=Y=>{const{value:k}=Y.target;p(r.propertyId,k)};return I.jsxs(qC,{$visible:!0,$hasError:T,children:[I.jsx(dl,{$color:T?"danger":void 0,children:s}),I.jsxs("select",{id:i,name:i,onChange:Y=>G(Y),onBlur:j,value:b||"",children:[I.jsx("option",{value:"",disabled:!0,children:"Make a selection"}),P&&P.map((Y,k)=>I.jsxs("option",{value:Y,children:[Y," mg"]},k))]}),r!=null&&r.required&&!b&&!T?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):T?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),S]}):null]})},aL=["AAA","AARP","ABB","ABBOTT","ABBVIE","ABC","ABLE","ABOGADO","ABUDHABI","AC","ACADEMY","ACCENTURE","ACCOUNTANT","ACCOUNTANTS","ACO","ACTOR","AD","ADS","ADULT","AE","AEG","AERO","AETNA","AF","AFL","AFRICA","AG","AGAKHAN","AGENCY","AI","AIG","AIRBUS","AIRFORCE","AIRTEL","AKDN","AL","ALIBABA","ALIPAY","ALLFINANZ","ALLSTATE","ALLY","ALSACE","ALSTOM","AM","AMAZON","AMERICANEXPRESS","AMERICANFAMILY","AMEX","AMFAM","AMICA","AMSTERDAM","ANALYTICS","ANDROID","ANQUAN","ANZ","AO","AOL","APARTMENTS","APP","APPLE","AQ","AQUARELLE","AR","ARAB","ARAMCO","ARCHI","ARMY","ARPA","ART","ARTE","AS","ASDA","ASIA","ASSOCIATES","AT","ATHLETA","ATTORNEY","AU","AUCTION","AUDI","AUDIBLE","AUDIO","AUSPOST","AUTHOR","AUTO","AUTOS","AW","AWS","AX","AXA","AZ","AZURE","BA","BABY","BAIDU","BANAMEX","BAND","BANK","BAR","BARCELONA","BARCLAYCARD","BARCLAYS","BAREFOOT","BARGAINS","BASEBALL","BASKETBALL","BAUHAUS","BAYERN","BB","BBC","BBT","BBVA","BCG","BCN","BD","BE","BEATS","BEAUTY","BEER","BENTLEY","BERLIN","BEST","BESTBUY","BET","BF","BG","BH","BHARTI","BI","BIBLE","BID","BIKE","BING","BINGO","BIO","BIZ","BJ","BLACK","BLACKFRIDAY","BLOCKBUSTER","BLOG","BLOOMBERG","BLUE","BM","BMS","BMW","BN","BNPPARIBAS","BO","BOATS","BOEHRINGER","BOFA","BOM","BOND","BOO","BOOK","BOOKING","BOSCH","BOSTIK","BOSTON","BOT","BOUTIQUE","BOX","BR","BRADESCO","BRIDGESTONE","BROADWAY","BROKER","BROTHER","BRUSSELS","BS","BT","BUILD","BUILDERS","BUSINESS","BUY","BUZZ","BV","BW","BY","BZ","BZH","CA","CAB","CAFE","CAL","CALL","CALVINKLEIN","CAM","CAMERA","CAMP","CANON","CAPETOWN","CAPITAL","CAPITALONE","CAR","CARAVAN","CARDS","CARE","CAREER","CAREERS","CARS","CASA","CASE","CASH","CASINO","CAT","CATERING","CATHOLIC","CBA","CBN","CBRE","CC","CD","CENTER","CEO","CERN","CF","CFA","CFD","CG","CH","CHANEL","CHANNEL","CHARITY","CHASE","CHAT","CHEAP","CHINTAI","CHRISTMAS","CHROME","CHURCH","CI","CIPRIANI","CIRCLE","CISCO","CITADEL","CITI","CITIC","CITY","CK","CL","CLAIMS","CLEANING","CLICK","CLINIC","CLINIQUE","CLOTHING","CLOUD","CLUB","CLUBMED","CM","CN","CO","COACH","CODES","COFFEE","COLLEGE","COLOGNE","COM","COMMBANK","COMMUNITY","COMPANY","COMPARE","COMPUTER","COMSEC","CONDOS","CONSTRUCTION","CONSULTING","CONTACT","CONTRACTORS","COOKING","COOL","COOP","CORSICA","COUNTRY","COUPON","COUPONS","COURSES","CPA","CR","CREDIT","CREDITCARD","CREDITUNION","CRICKET","CROWN","CRS","CRUISE","CRUISES","CU","CUISINELLA","CV","CW","CX","CY","CYMRU","CYOU","CZ","DABUR","DAD","DANCE","DATA","DATE","DATING","DATSUN","DAY","DCLK","DDS","DE","DEAL","DEALER","DEALS","DEGREE","DELIVERY","DELL","DELOITTE","DELTA","DEMOCRAT","DENTAL","DENTIST","DESI","DESIGN","DEV","DHL","DIAMONDS","DIET","DIGITAL","DIRECT","DIRECTORY","DISCOUNT","DISCOVER","DISH","DIY","DJ","DK","DM","DNP","DO","DOCS","DOCTOR","DOG","DOMAINS","DOT","DOWNLOAD","DRIVE","DTV","DUBAI","DUNLOP","DUPONT","DURBAN","DVAG","DVR","DZ","EARTH","EAT","EC","ECO","EDEKA","EDU","EDUCATION","EE","EG","EMAIL","EMERCK","ENERGY","ENGINEER","ENGINEERING","ENTERPRISES","EPSON","EQUIPMENT","ER","ERICSSON","ERNI","ES","ESQ","ESTATE","ET","EU","EUROVISION","EUS","EVENTS","EXCHANGE","EXPERT","EXPOSED","EXPRESS","EXTRASPACE","FAGE","FAIL","FAIRWINDS","FAITH","FAMILY","FAN","FANS","FARM","FARMERS","FASHION","FAST","FEDEX","FEEDBACK","FERRARI","FERRERO","FI","FIDELITY","FIDO","FILM","FINAL","FINANCE","FINANCIAL","FIRE","FIRESTONE","FIRMDALE","FISH","FISHING","FIT","FITNESS","FJ","FK","FLICKR","FLIGHTS","FLIR","FLORIST","FLOWERS","FLY","FM","FO","FOO","FOOD","FOOTBALL","FORD","FOREX","FORSALE","FORUM","FOUNDATION","FOX","FR","FREE","FRESENIUS","FRL","FROGANS","FRONTIER","FTR","FUJITSU","FUN","FUND","FURNITURE","FUTBOL","FYI","GA","GAL","GALLERY","GALLO","GALLUP","GAME","GAMES","GAP","GARDEN","GAY","GB","GBIZ","GD","GDN","GE","GEA","GENT","GENTING","GEORGE","GF","GG","GGEE","GH","GI","GIFT","GIFTS","GIVES","GIVING","GL","GLASS","GLE","GLOBAL","GLOBO","GM","GMAIL","GMBH","GMO","GMX","GN","GODADDY","GOLD","GOLDPOINT","GOLF","GOO","GOODYEAR","GOOG","GOOGLE","GOP","GOT","GOV","GP","GQ","GR","GRAINGER","GRAPHICS","GRATIS","GREEN","GRIPE","GROCERY","GROUP","GS","GT","GU","GUCCI","GUGE","GUIDE","GUITARS","GURU","GW","GY","HAIR","HAMBURG","HANGOUT","HAUS","HBO","HDFC","HDFCBANK","HEALTH","HEALTHCARE","HELP","HELSINKI","HERE","HERMES","HIPHOP","HISAMITSU","HITACHI","HIV","HK","HKT","HM","HN","HOCKEY","HOLDINGS","HOLIDAY","HOMEDEPOT","HOMEGOODS","HOMES","HOMESENSE","HONDA","HORSE","HOSPITAL","HOST","HOSTING","HOT","HOTELS","HOTMAIL","HOUSE","HOW","HR","HSBC","HT","HU","HUGHES","HYATT","HYUNDAI","IBM","ICBC","ICE","ICU","ID","IE","IEEE","IFM","IKANO","IL","IM","IMAMAT","IMDB","IMMO","IMMOBILIEN","IN","INC","INDUSTRIES","INFINITI","INFO","ING","INK","INSTITUTE","INSURANCE","INSURE","INT","INTERNATIONAL","INTUIT","INVESTMENTS","IO","IPIRANGA","IQ","IR","IRISH","IS","ISMAILI","IST","ISTANBUL","IT","ITAU","ITV","JAGUAR","JAVA","JCB","JE","JEEP","JETZT","JEWELRY","JIO","JLL","JM","JMP","JNJ","JO","JOBS","JOBURG","JOT","JOY","JP","JPMORGAN","JPRS","JUEGOS","JUNIPER","KAUFEN","KDDI","KE","KERRYHOTELS","KERRYLOGISTICS","KERRYPROPERTIES","KFH","KG","KH","KI","KIA","KIDS","KIM","KINDLE","KITCHEN","KIWI","KM","KN","KOELN","KOMATSU","KOSHER","KP","KPMG","KPN","KR","KRD","KRED","KUOKGROUP","KW","KY","KYOTO","KZ","LA","LACAIXA","LAMBORGHINI","LAMER","LANCASTER","LAND","LANDROVER","LANXESS","LASALLE","LAT","LATINO","LATROBE","LAW","LAWYER","LB","LC","LDS","LEASE","LECLERC","LEFRAK","LEGAL","LEGO","LEXUS","LGBT","LI","LIDL","LIFE","LIFEINSURANCE","LIFESTYLE","LIGHTING","LIKE","LILLY","LIMITED","LIMO","LINCOLN","LINK","LIPSY","LIVE","LIVING","LK","LLC","LLP","LOAN","LOANS","LOCKER","LOCUS","LOL","LONDON","LOTTE","LOTTO","LOVE","LPL","LPLFINANCIAL","LR","LS","LT","LTD","LTDA","LU","LUNDBECK","LUXE","LUXURY","LV","LY","MA","MADRID","MAIF","MAISON","MAKEUP","MAN","MANAGEMENT","MANGO","MAP","MARKET","MARKETING","MARKETS","MARRIOTT","MARSHALLS","MATTEL","MBA","MC","MCKINSEY","MD","ME","MED","MEDIA","MEET","MELBOURNE","MEME","MEMORIAL","MEN","MENU","MERCKMSD","MG","MH","MIAMI","MICROSOFT","MIL","MINI","MINT","MIT","MITSUBISHI","MK","ML","MLB","MLS","MM","MMA","MN","MO","MOBI","MOBILE","MODA","MOE","MOI","MOM","MONASH","MONEY","MONSTER","MORMON","MORTGAGE","MOSCOW","MOTO","MOTORCYCLES","MOV","MOVIE","MP","MQ","MR","MS","MSD","MT","MTN","MTR","MU","MUSEUM","MUSIC","MV","MW","MX","MY","MZ","NA","NAB","NAGOYA","NAME","NATURA","NAVY","NBA","NC","NE","NEC","NET","NETBANK","NETFLIX","NETWORK","NEUSTAR","NEW","NEWS","NEXT","NEXTDIRECT","NEXUS","NF","NFL","NG","NGO","NHK","NI","NICO","NIKE","NIKON","NINJA","NISSAN","NISSAY","NL","NO","NOKIA","NORTON","NOW","NOWRUZ","NOWTV","NP","NR","NRA","NRW","NTT","NU","NYC","NZ","OBI","OBSERVER","OFFICE","OKINAWA","OLAYAN","OLAYANGROUP","OLLO","OM","OMEGA","ONE","ONG","ONL","ONLINE","OOO","OPEN","ORACLE","ORANGE","ORG","ORGANIC","ORIGINS","OSAKA","OTSUKA","OTT","OVH","PA","PAGE","PANASONIC","PARIS","PARS","PARTNERS","PARTS","PARTY","PAY","PCCW","PE","PET","PF","PFIZER","PG","PH","PHARMACY","PHD","PHILIPS","PHONE","PHOTO","PHOTOGRAPHY","PHOTOS","PHYSIO","PICS","PICTET","PICTURES","PID","PIN","PING","PINK","PIONEER","PIZZA","PK","PL","PLACE","PLAY","PLAYSTATION","PLUMBING","PLUS","PM","PN","PNC","POHL","POKER","POLITIE","PORN","POST","PR","PRAMERICA","PRAXI","PRESS","PRIME","PRO","PROD","PRODUCTIONS","PROF","PROGRESSIVE","PROMO","PROPERTIES","PROPERTY","PROTECTION","PRU","PRUDENTIAL","PS","PT","PUB","PW","PWC","PY","QA","QPON","QUEBEC","QUEST","RACING","RADIO","RE","READ","REALESTATE","REALTOR","REALTY","RECIPES","RED","REDSTONE","REDUMBRELLA","REHAB","REISE","REISEN","REIT","RELIANCE","REN","RENT","RENTALS","REPAIR","REPORT","REPUBLICAN","REST","RESTAURANT","REVIEW","REVIEWS","REXROTH","RICH","RICHARDLI","RICOH","RIL","RIO","RIP","RO","ROCKS","RODEO","ROGERS","ROOM","RS","RSVP","RU","RUGBY","RUHR","RUN","RW","RWE","RYUKYU","SA","SAARLAND","SAFE","SAFETY","SAKURA","SALE","SALON","SAMSCLUB","SAMSUNG","SANDVIK","SANDVIKCOROMANT","SANOFI","SAP","SARL","SAS","SAVE","SAXO","SB","SBI","SBS","SC","SCB","SCHAEFFLER","SCHMIDT","SCHOLARSHIPS","SCHOOL","SCHULE","SCHWARZ","SCIENCE","SCOT","SD","SE","SEARCH","SEAT","SECURE","SECURITY","SEEK","SELECT","SENER","SERVICES","SEVEN","SEW","SEX","SEXY","SFR","SG","SH","SHANGRILA","SHARP","SHAW","SHELL","SHIA","SHIKSHA","SHOES","SHOP","SHOPPING","SHOUJI","SHOW","SI","SILK","SINA","SINGLES","SITE","SJ","SK","SKI","SKIN","SKY","SKYPE","SL","SLING","SM","SMART","SMILE","SN","SNCF","SO","SOCCER","SOCIAL","SOFTBANK","SOFTWARE","SOHU","SOLAR","SOLUTIONS","SONG","SONY","SOY","SPA","SPACE","SPORT","SPOT","SR","SRL","SS","ST","STADA","STAPLES","STAR","STATEBANK","STATEFARM","STC","STCGROUP","STOCKHOLM","STORAGE","STORE","STREAM","STUDIO","STUDY","STYLE","SU","SUCKS","SUPPLIES","SUPPLY","SUPPORT","SURF","SURGERY","SUZUKI","SV","SWATCH","SWISS","SX","SY","SYDNEY","SYSTEMS","SZ","TAB","TAIPEI","TALK","TAOBAO","TARGET","TATAMOTORS","TATAR","TATTOO","TAX","TAXI","TC","TCI","TD","TDK","TEAM","TECH","TECHNOLOGY","TEL","TEMASEK","TENNIS","TEVA","TF","TG","TH","THD","THEATER","THEATRE","TIAA","TICKETS","TIENDA","TIPS","TIRES","TIROL","TJ","TJMAXX","TJX","TK","TKMAXX","TL","TM","TMALL","TN","TO","TODAY","TOKYO","TOOLS","TOP","TORAY","TOSHIBA","TOTAL","TOURS","TOWN","TOYOTA","TOYS","TR","TRADE","TRADING","TRAINING","TRAVEL","TRAVELERS","TRAVELERSINSURANCE","TRUST","TRV","TT","TUBE","TUI","TUNES","TUSHU","TV","TVS","TW","TZ","UA","UBANK","UBS","UG","UK","UNICOM","UNIVERSITY","UNO","UOL","UPS","US","UY","UZ","VA","VACATIONS","VANA","VANGUARD","VC","VE","VEGAS","VENTURES","VERISIGN","VERSICHERUNG","VET","VG","VI","VIAJES","VIDEO","VIG","VIKING","VILLAS","VIN","VIP","VIRGIN","VISA","VISION","VIVA","VIVO","VLAANDEREN","VN","VODKA","VOLVO","VOTE","VOTING","VOTO","VOYAGE","VU","WALES","WALMART","WALTER","WANG","WANGGOU","WATCH","WATCHES","WEATHER","WEATHERCHANNEL","WEBCAM","WEBER","WEBSITE","WED","WEDDING","WEIBO","WEIR","WF","WHOSWHO","WIEN","WIKI","WILLIAMHILL","WIN","WINDOWS","WINE","WINNERS","WME","WOLTERSKLUWER","WOODSIDE","WORK","WORKS","WORLD","WOW","WS","WTC","WTF","XBOX","XEROX","XIHUAN","XIN","XN--11B4C3D","XN--1CK2E1B","XN--1QQW23A","XN--2SCRJ9C","XN--30RR7Y","XN--3BST00M","XN--3DS443G","XN--3E0B707E","XN--3HCRJ9C","XN--3PXU8K","XN--42C2D9A","XN--45BR5CYL","XN--45BRJ9C","XN--45Q11C","XN--4DBRK0CE","XN--4GBRIM","XN--54B7FTA0CC","XN--55QW42G","XN--55QX5D","XN--5SU34J936BGSG","XN--5TZM5G","XN--6FRZ82G","XN--6QQ986B3XL","XN--80ADXHKS","XN--80AO21A","XN--80AQECDR1A","XN--80ASEHDB","XN--80ASWG","XN--8Y0A063A","XN--90A3AC","XN--90AE","XN--90AIS","XN--9DBQ2A","XN--9ET52U","XN--9KRT00A","XN--B4W605FERD","XN--BCK1B9A5DRE4C","XN--C1AVG","XN--C2BR7G","XN--CCK2B3B","XN--CCKWCXETD","XN--CG4BKI","XN--CLCHC0EA0B2G2A9GCD","XN--CZR694B","XN--CZRS0T","XN--CZRU2D","XN--D1ACJ3B","XN--D1ALF","XN--E1A4C","XN--ECKVDTC9D","XN--EFVY88H","XN--FCT429K","XN--FHBEI","XN--FIQ228C5HS","XN--FIQ64B","XN--FIQS8S","XN--FIQZ9S","XN--FJQ720A","XN--FLW351E","XN--FPCRJ9C3D","XN--FZC2C9E2C","XN--FZYS8D69UVGM","XN--G2XX48C","XN--GCKR3F0F","XN--GECRJ9C","XN--GK3AT1E","XN--H2BREG3EVE","XN--H2BRJ9C","XN--H2BRJ9C8C","XN--HXT814E","XN--I1B6B1A6A2E","XN--IMR513N","XN--IO0A7I","XN--J1AEF","XN--J1AMH","XN--J6W193G","XN--JLQ480N2RG","XN--JVR189M","XN--KCRX77D1X4A","XN--KPRW13D","XN--KPRY57D","XN--KPUT3I","XN--L1ACC","XN--LGBBAT1AD8J","XN--MGB9AWBF","XN--MGBA3A3EJT","XN--MGBA3A4F16A","XN--MGBA7C0BBN0A","XN--MGBAAM7A8H","XN--MGBAB2BD","XN--MGBAH1A3HJKRD","XN--MGBAI9AZGQP6J","XN--MGBAYH7GPA","XN--MGBBH1A","XN--MGBBH1A71E","XN--MGBC0A9AZCG","XN--MGBCA7DZDO","XN--MGBCPQ6GPA1A","XN--MGBERP4A5D4AR","XN--MGBGU82A","XN--MGBI4ECEXP","XN--MGBPL2FH","XN--MGBT3DHD","XN--MGBTX2B","XN--MGBX4CD0AB","XN--MIX891F","XN--MK1BU44C","XN--MXTQ1M","XN--NGBC5AZD","XN--NGBE9E0A","XN--NGBRX","XN--NODE","XN--NQV7F","XN--NQV7FS00EMA","XN--NYQY26A","XN--O3CW4H","XN--OGBPF8FL","XN--OTU796D","XN--P1ACF","XN--P1AI","XN--PGBS0DH","XN--PSSY2U","XN--Q7CE6A","XN--Q9JYB4C","XN--QCKA1PMC","XN--QXA6A","XN--QXAM","XN--RHQV96G","XN--ROVU88B","XN--RVC1E0AM3E","XN--S9BRJ9C","XN--SES554G","XN--T60B56A","XN--TCKWE","XN--TIQ49XQYJ","XN--UNUP4Y","XN--VERMGENSBERATER-CTB","XN--VERMGENSBERATUNG-PWB","XN--VHQUV","XN--VUQ861B","XN--W4R85EL8FHU5DNRA","XN--W4RS40L","XN--WGBH1C","XN--WGBL6A","XN--XHQ521B","XN--XKC2AL3HYE2A","XN--XKC2DL3A5EE0H","XN--Y9A3AQ","XN--YFRO4I67O","XN--YGBI2AMMX","XN--ZFR164B","XXX","XYZ","YACHTS","YAHOO","YAMAXUN","YANDEX","YE","YODOBASHI","YOGA","YOKOHAMA","YOU","YOUTUBE","YT","YUN","ZA","ZAPPOS","ZARA","ZERO","ZIP","ZM","ZONE","ZUERICH","ZW"],up=e=>{const r=e.trim().toLowerCase(),i=/^[a-zA-Z0-9!#$%&'*+\-/=?^_`{|}~](?:[a-zA-Z0-9!#$%&'*+\-/=?^_`{|}~]|(?:\.(?=[a-zA-Z0-9!#$%&'*+\-/=?^_`{|}~]))){0,63}@[a-zA-Z0-9](?:[a-zA-Z0-9-]|[.](?=[a-zA-Z0-9])){1,253}(?:\.[a-zA-Z]{2,}){1,}$/;let s={valid:!1,errorMsg:"",suggestion:""};if(i.test(r)){const c=r.split("@")[1].split("."),p=c[c.length-1];aL.map(d=>d.toUpperCase()).includes(p.toUpperCase())?s.valid=!0:s.errorMsg=`.${p} is not a valid domain.`}else s.errorMsg="Must be a valid email format";return s};function iL(e){const{onError:r,on401:i,on403:s,on400:c,on500:p,addHeaders:d,onRequest:v,onResponse:b,modifyRequest:S}=e,T=st.create();return T.interceptors.request.use(w=>(w.headers||(w.headers={}),typeof d=="function"&&Object.entries(d(w)||{}).forEach(([R,A])=>w.headers[R]=A),typeof v=="function"&&v(w),typeof S=="function"?S(w):w)),T.interceptors.response.use(w=>(typeof b=="function"&&b(w),w),w=>{var A,L,P,j;const R={config:{}};if(typeof r=="function"&&r((w==null?void 0:w.response)||R),((A=w==null?void 0:w.response)==null?void 0:A.status)===400)typeof c=="function"&&c((w==null?void 0:w.response)||R);else if(((L=w==null?void 0:w.response)==null?void 0:L.status)===401)typeof i=="function"&&i((w==null?void 0:w.response)||R);else if(((P=w==null?void 0:w.response)==null?void 0:P.status)===403)typeof s=="function"&&s((w==null?void 0:w.response)||R);else if(((j=w==null?void 0:w.response)==null?void 0:j.status)===500)typeof p=="function"&&p((w==null?void 0:w.response)||R);else throw w}),T}function lL(e,r){const{apiUrl:i}=r;return new e({basePath:i},i,iL(r))}const ut="http://localhost".replace(/\/+$/,"");class sL{constructor(r,i=ut,s=st){this.basePath=i,this.axios=s,r&&(this.configuration=r,this.basePath=r.basePath||this.basePath)}}class uL extends Error{constructor(r,i){super(i),this.field=r,this.name="RequiredError"}}const ct="https://example.com",dt=function(e,r,i){if(i==null)throw new uL(r,`Required parameter ${r} was null or undefined when calling ${e}.`)};function OC(e,r,i=""){r!=null&&(typeof r=="object"?Array.isArray(r)?r.forEach(s=>OC(e,s,i)):Object.keys(r).forEach(s=>OC(e,r[s],`${i}${i!==""?".":""}${s}`)):e.has(i)?e.append(i,r):e.set(i,r))}const ft=function(e,...r){const i=new URLSearchParams(e.search);OC(i,r),e.search=i.toString()},vn=function(e,r,i){const s=typeof e!="string";return(s&&i&&i.isJsonMime?i.isJsonMime(r.headers["Content-Type"]):s)?JSON.stringify(e!==void 0?e:{}):e||""},pt=function(e){return e.pathname+e.search+e.hash},ht=function(e,r,i,s){return(c=r,p=i)=>{const d={...e.options,url:((s==null?void 0:s.basePath)||p)+e.url};return c.request(d)}},cL=function(e){return{abTestControllerDelete:async(r,i={})=>{dt("abTestControllerDelete","id",r);const s="/api/ab-test/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},abTestControllerGet:async(r,i={})=>{dt("abTestControllerGet","id",r);const s="/api/ab-test/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},abTestControllerGetBySlug:async(r,i={})=>{dt("abTestControllerGetBySlug","slug",r);const s="/api/ab-test/slug/{slug}".replace("{slug}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},abTestControllerIndex:async(r={})=>{const i="/api/ab-test",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},abTestControllerPatch:async(r,i,s={})=>{dt("abTestControllerPatch","id",r),dt("abTestControllerPatch","abTest",i);const c="/api/ab-test/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},abTestControllerPost:async(r,i={})=>{dt("abTestControllerPost","abTest",r);const s="/api/ab-test",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},abTestSearchControllerPost:async(r,i,s,c={})=>{dt("abTestSearchControllerPost","abTest",r);const p="/api/ab-test-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},componentControllerDelete:async(r,i={})=>{dt("componentControllerDelete","id",r);const s="/api/component/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},componentControllerGet:async(r,i={})=>{dt("componentControllerGet","id",r);const s="/api/component/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},componentControllerIndex:async(r={})=>{const i="/api/component",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},componentControllerPatch:async(r,i,s={})=>{dt("componentControllerPatch","id",r),dt("componentControllerPatch","component",i);const c="/api/component/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},componentControllerPost:async(r,i={})=>{dt("componentControllerPost","component",r);const s="/api/component",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},componentSearchControllerPost:async(r,i,s,c={})=>{dt("componentSearchControllerPost","component",r);const p="/api/component-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},conditionControllerDelete:async(r,i={})=>{dt("conditionControllerDelete","id",r);const s="/api/condition/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},conditionControllerGet:async(r,i={})=>{dt("conditionControllerGet","id",r);const s="/api/condition/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},conditionControllerIndex:async(r={})=>{const i="/api/condition",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},conditionControllerPatch:async(r,i,s={})=>{dt("conditionControllerPatch","id",r),dt("conditionControllerPatch","condition",i);const c="/api/condition/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},conditionControllerPost:async(r,i={})=>{dt("conditionControllerPost","condition",r);const s="/api/condition",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},conditionSearchControllerPost:async(r,i,s,c={})=>{dt("conditionSearchControllerPost","condition",r);const p="/api/condition-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},defaultControllerPost:async(r,i,s={})=>{dt("defaultControllerPost","origin",r),dt("defaultControllerPost","tokensDto",i);const c="/api".replace("{origin}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"POST",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},flowControllerCopy:async(r,i={})=>{dt("flowControllerCopy","flowCopyDto",r);const s="/api/flow/copy",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},flowControllerDelete:async(r,i={})=>{dt("flowControllerDelete","id",r);const s="/api/flow/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},flowControllerGet:async(r,i={})=>{dt("flowControllerGet","id",r);const s="/api/flow/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},flowControllerGetBySlug:async(r,i,s={})=>{dt("flowControllerGetBySlug","slug",r);const c="/api/flow/slug/{slug}".replace("{slug}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"GET",...d,...s},b={},S={};i!==void 0&&(S.version=i),ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},flowControllerGetFull:async(r,i={})=>{dt("flowControllerGetFull","id",r);const s="/api/flow/{id}/full".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},flowControllerIndex:async(r={})=>{const i="/api/flow",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},flowControllerPatch:async(r,i,s={})=>{dt("flowControllerPatch","id",r),dt("flowControllerPatch","flow",i);const c="/api/flow/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},flowControllerPost:async(r,i={})=>{dt("flowControllerPost","flow",r);const s="/api/flow",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},flowFormControllerCopyReplaceForm:async(r,i,s,c={})=>{dt("flowFormControllerCopyReplaceForm","flowId",r),dt("flowFormControllerCopyReplaceForm","formId",i),dt("flowFormControllerCopyReplaceForm","flowFormCopyDto",s);const p="/api/flow-form/{flowId}/{formId}/copy-replace-form".replace("{flowId}",encodeURIComponent(String(r))).replace("{formId}",encodeURIComponent(String(i))),d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(s,b,e),{url:pt(d),options:b}},flowFormControllerDelete:async(r,i,s={})=>{dt("flowFormControllerDelete","flowId",r),dt("flowFormControllerDelete","formId",i);const c="/api/flow-form/{flowId}/{formId}".replace("{flowId}",encodeURIComponent(String(r))).replace("{formId}",encodeURIComponent(String(i))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"DELETE",...d,...s},b={};ft(p,{});let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},flowFormControllerGet:async(r,i,s={})=>{dt("flowFormControllerGet","flowId",r),dt("flowFormControllerGet","formId",i);const c="/api/flow-form/{flowId}/{formId}".replace("{flowId}",encodeURIComponent(String(r))).replace("{formId}",encodeURIComponent(String(i))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"GET",...d,...s},b={};ft(p,{});let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},flowFormControllerIndex:async(r={})=>{const i="/api/flow-form",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},flowFormControllerPatch:async(r,i,s,c={})=>{dt("flowFormControllerPatch","flowId",r),dt("flowFormControllerPatch","formId",i),dt("flowFormControllerPatch","flowForm",s);const p="/api/flow-form/{flowId}/{formId}".replace("{flowId}",encodeURIComponent(String(r))).replace("{formId}",encodeURIComponent(String(i))),d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"PATCH",...v,...c},S={},T={};S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(s,b,e),{url:pt(d),options:b}},flowFormControllerPost:async(r,i={})=>{dt("flowFormControllerPost","flowForm",r);const s="/api/flow-form",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},flowFormSearchControllerPost:async(r,i,s,c={})=>{dt("flowFormSearchControllerPost","flowForm",r);const p="/api/flow-form-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},flowSearchControllerPost:async(r,i,s,c,p,d={})=>{dt("flowSearchControllerPost","flow",r);const v="/api/flow-search",b=new URL(v,ct);let S;e&&(S=e.baseOptions);const T={method:"POST",...S,...d},w={},R={};i!==void 0&&(R.sortKey=i),s!==void 0&&(R.sortDirection=s),c!==void 0&&(R.pagingKey=c),p!==void 0&&(R.pageSize=p),w["Content-Type"]="application/json",ft(b,R);let A=S&&S.headers?S.headers:{};return T.headers={...w,...A,...d.headers},T.data=vn(r,T,e),{url:pt(b),options:T}},formComponentControllerDelete:async(r,i={})=>{dt("formComponentControllerDelete","id",r);const s="/api/form-component/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formComponentControllerGetById:async(r,i={})=>{dt("formComponentControllerGetById","id",r);const s="/api/form-component/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formComponentControllerIndex:async(r={})=>{const i="/api/form-component",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},formComponentControllerPatch:async(r,i,s={})=>{dt("formComponentControllerPatch","id",r),dt("formComponentControllerPatch","formComponent",i);const c="/api/form-component/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},formComponentControllerPost:async(r,i={})=>{dt("formComponentControllerPost","formComponent",r);const s="/api/form-component",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},formComponentSearchControllerPost:async(r,i,s,c={})=>{dt("formComponentSearchControllerPost","formComponent",r);const p="/api/form-component-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},formControllerCopy:async(r,i={})=>{dt("formControllerCopy","formCopyDto",r);const s="/api/form/copy",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},formControllerDelete:async(r,i={})=>{dt("formControllerDelete","id",r);const s="/api/form/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formControllerGet:async(r,i={})=>{dt("formControllerGet","id",r);const s="/api/form/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formControllerIndex:async(r={})=>{const i="/api/form",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},formControllerPatch:async(r,i,s={})=>{dt("formControllerPatch","id",r),dt("formControllerPatch","form",i);const c="/api/form/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},formControllerPost:async(r,i={})=>{dt("formControllerPost","form",r);const s="/api/form",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},formSearchControllerPost:async(r,i,s,c={})=>{dt("formSearchControllerPost","form",r);const p="/api/form-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},healthControllerGet:async(r={})=>{const i="/api/health",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},oidcConfigControllerGetClient:async(r,i={})=>{dt("oidcConfigControllerGetClient","redirectUri",r);const s="/api/oidc-config/client/{redirectUri}".replace("{redirectUri}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},oidcConfigControllerGetEntra:async(r={})=>{const i="/api/oidc-config/entra",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},oidcCookieControllerPost:async(r,i,s={})=>{dt("oidcCookieControllerPost","origin",r),dt("oidcCookieControllerPost","tokensDto",i);const c="/api/oidc-cookie/{origin}".replace("{origin}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"POST",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},otpControllerSendOtp:async(r,i={})=>{dt("otpControllerSendOtp","body",r);const s="/api/otp/send",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},otpControllerVerifyOtp:async(r,i={})=>{dt("otpControllerVerifyOtp","body",r);const s="/api/otp/verify",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},patientControllerDelete:async(r,i={})=>{dt("patientControllerDelete","id",r);const s="/api/patient/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},patientControllerGet:async(r,i={})=>{dt("patientControllerGet","id",r);const s="/api/patient/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},patientControllerIndex:async(r={})=>{const i="/api/patient",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},patientControllerPatch:async(r,i,s={})=>{dt("patientControllerPatch","id",r),dt("patientControllerPatch","patient",i);const c="/api/patient/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},patientControllerPost:async(r,i={})=>{dt("patientControllerPost","patient",r);const s="/api/patient",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},patientSearchControllerPost:async(r,i,s,c={})=>{dt("patientSearchControllerPost","patient",r);const p="/api/patient-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},pipelineControllerCopy:async(r,i={})=>{dt("pipelineControllerCopy","pipelineCopyDto",r);const s="/api/pipeline/copy",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},pipelineControllerDelete:async(r,i={})=>{dt("pipelineControllerDelete","id",r);const s="/api/pipeline/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineControllerGet:async(r,i={})=>{dt("pipelineControllerGet","id",r);const s="/api/pipeline/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineControllerGetBySlug:async(r,i,s={})=>{dt("pipelineControllerGetBySlug","slug",r);const c="/api/pipeline/slug/{slug}".replace("{slug}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"GET",...d,...s},b={},S={};i!==void 0&&(S.version=i),ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},pipelineControllerIndex:async(r={})=>{const i="/api/pipeline",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},pipelineControllerPatch:async(r,i,s={})=>{dt("pipelineControllerPatch","id",r),dt("pipelineControllerPatch","pipeline",i);const c="/api/pipeline/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},pipelineControllerPost:async(r,i={})=>{dt("pipelineControllerPost","pipeline",r);const s="/api/pipeline",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},pipelineFlowControllerDelete:async(r,i={})=>{dt("pipelineFlowControllerDelete","id",r);const s="/api/pipeline-flow/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineFlowControllerGetById:async(r,i={})=>{dt("pipelineFlowControllerGetById","id",r);const s="/api/pipeline-flow/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineFlowControllerIndex:async(r={})=>{const i="/api/pipeline-flow",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},pipelineFlowControllerPatch:async(r,i,s={})=>{dt("pipelineFlowControllerPatch","id",r),dt("pipelineFlowControllerPatch","pipelineFlow",i);const c="/api/pipeline-flow/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},pipelineFlowControllerPost:async(r,i={})=>{dt("pipelineFlowControllerPost","pipelineFlow",r);const s="/api/pipeline-flow",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},pipelineFlowSearchControllerPost:async(r,i,s,c={})=>{dt("pipelineFlowSearchControllerPost","pipelineFlow",r);const p="/api/pipeline-flow-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},pipelineSearchControllerPost:async(r,i,s,c={})=>{dt("pipelineSearchControllerPost","pipeline",r);const p="/api/pipeline-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},previewFlowControllerGetBySlug:async(r,i,s={})=>{dt("previewFlowControllerGetBySlug","slug",r);const c="/api/preview-flow/slug/{slug}".replace("{slug}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"GET",...d,...s},b={},S={};i!==void 0&&(S.version=i),ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},previewPipelineControllerGetBySlug:async(r,i,s={})=>{dt("previewPipelineControllerGetBySlug","slug",r);const c="/api/preview-pipeline/slug/{slug}".replace("{slug}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"GET",...d,...s},b={},S={};i!==void 0&&(S.version=i),ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},propertyControllerDelete:async(r,i={})=>{dt("propertyControllerDelete","id",r);const s="/api/property/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},propertyControllerGet:async(r,i={})=>{dt("propertyControllerGet","id",r);const s="/api/property/{id}".replace("{id}",encodeURIComponent(String(r))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};ft(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},propertyControllerIndex:async(r={})=>{const i="/api/property",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},propertyControllerPatch:async(r,i,s={})=>{dt("propertyControllerPatch","id",r),dt("propertyControllerPatch","property",i);const c="/api/property/{id}".replace("{id}",encodeURIComponent(String(r))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},v.data=vn(i,v,e),{url:pt(p),options:v}},propertyControllerPost:async(r,i={})=>{dt("propertyControllerPost","property",r);const s="/api/property",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",ft(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(r,d,e),{url:pt(c),options:d}},propertySearchControllerPost:async(r,i,s,c={})=>{dt("propertySearchControllerPost","property",r);const p="/api/property-search",d=new URL(p,ct);let v;e&&(v=e.baseOptions);const b={method:"POST",...v,...c},S={},T={};i!==void 0&&(T.pagingKey=i),s!==void 0&&(T.pageSize=s),S["Content-Type"]="application/json",ft(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(r,b,e),{url:pt(d),options:b}},uploadControllerListImages:async(r={})=>{const i="/api/upload/images",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},uploadControllerListVideos:async(r={})=>{const i="/api/upload/videos",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...r},d={};ft(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...r.headers},{url:pt(s),options:p}},uploadControllerUploadImage:async(r,i={})=>{const s="/api/upload/image",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={},S=new(e&&e.formDataCtor||FormData);r!==void 0&&S.append("file",r),v["Content-Type"]="multipart/form-data",ft(c,b);let T=p&&p.headers?p.headers:{};return d.headers={...v,...T,...i.headers},d.data=S,{url:pt(c),options:d}},uploadControllerUploadVideo:async(r,i={})=>{const s="/api/upload/video",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={},S=new(e&&e.formDataCtor||FormData);r!==void 0&&S.append("file",r),v["Content-Type"]="multipart/form-data",ft(c,b);let T=p&&p.headers?p.headers:{};return d.headers={...v,...T,...i.headers},d.data=S,{url:pt(c),options:d}},userControllerGetUser:async(r,i,s={})=>{const c="/api/user",p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"GET",...d,...s},b={},S={};r!==void 0&&(S.email=r),i!==void 0&&(S.phone=i),ft(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}}}},mt=function(e){const r=cL(e);return{async abTestControllerDelete(i,s){const c=await r.abTestControllerDelete(i,s);return ht(c,st,ut,e)},async abTestControllerGet(i,s){const c=await r.abTestControllerGet(i,s);return ht(c,st,ut,e)},async abTestControllerGetBySlug(i,s){const c=await r.abTestControllerGetBySlug(i,s);return ht(c,st,ut,e)},async abTestControllerIndex(i){const s=await r.abTestControllerIndex(i);return ht(s,st,ut,e)},async abTestControllerPatch(i,s,c){const p=await r.abTestControllerPatch(i,s,c);return ht(p,st,ut,e)},async abTestControllerPost(i,s){const c=await r.abTestControllerPost(i,s);return ht(c,st,ut,e)},async abTestSearchControllerPost(i,s,c,p){const d=await r.abTestSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async componentControllerDelete(i,s){const c=await r.componentControllerDelete(i,s);return ht(c,st,ut,e)},async componentControllerGet(i,s){const c=await r.componentControllerGet(i,s);return ht(c,st,ut,e)},async componentControllerIndex(i){const s=await r.componentControllerIndex(i);return ht(s,st,ut,e)},async componentControllerPatch(i,s,c){const p=await r.componentControllerPatch(i,s,c);return ht(p,st,ut,e)},async componentControllerPost(i,s){const c=await r.componentControllerPost(i,s);return ht(c,st,ut,e)},async componentSearchControllerPost(i,s,c,p){const d=await r.componentSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async conditionControllerDelete(i,s){const c=await r.conditionControllerDelete(i,s);return ht(c,st,ut,e)},async conditionControllerGet(i,s){const c=await r.conditionControllerGet(i,s);return ht(c,st,ut,e)},async conditionControllerIndex(i){const s=await r.conditionControllerIndex(i);return ht(s,st,ut,e)},async conditionControllerPatch(i,s,c){const p=await r.conditionControllerPatch(i,s,c);return ht(p,st,ut,e)},async conditionControllerPost(i,s){const c=await r.conditionControllerPost(i,s);return ht(c,st,ut,e)},async conditionSearchControllerPost(i,s,c,p){const d=await r.conditionSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async defaultControllerPost(i,s,c){const p=await r.defaultControllerPost(i,s,c);return ht(p,st,ut,e)},async flowControllerCopy(i,s){const c=await r.flowControllerCopy(i,s);return ht(c,st,ut,e)},async flowControllerDelete(i,s){const c=await r.flowControllerDelete(i,s);return ht(c,st,ut,e)},async flowControllerGet(i,s){const c=await r.flowControllerGet(i,s);return ht(c,st,ut,e)},async flowControllerGetBySlug(i,s,c){const p=await r.flowControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async flowControllerGetFull(i,s){const c=await r.flowControllerGetFull(i,s);return ht(c,st,ut,e)},async flowControllerIndex(i){const s=await r.flowControllerIndex(i);return ht(s,st,ut,e)},async flowControllerPatch(i,s,c){const p=await r.flowControllerPatch(i,s,c);return ht(p,st,ut,e)},async flowControllerPost(i,s){const c=await r.flowControllerPost(i,s);return ht(c,st,ut,e)},async flowFormControllerCopyReplaceForm(i,s,c,p){const d=await r.flowFormControllerCopyReplaceForm(i,s,c,p);return ht(d,st,ut,e)},async flowFormControllerDelete(i,s,c){const p=await r.flowFormControllerDelete(i,s,c);return ht(p,st,ut,e)},async flowFormControllerGet(i,s,c){const p=await r.flowFormControllerGet(i,s,c);return ht(p,st,ut,e)},async flowFormControllerIndex(i){const s=await r.flowFormControllerIndex(i);return ht(s,st,ut,e)},async flowFormControllerPatch(i,s,c,p){const d=await r.flowFormControllerPatch(i,s,c,p);return ht(d,st,ut,e)},async flowFormControllerPost(i,s){const c=await r.flowFormControllerPost(i,s);return ht(c,st,ut,e)},async flowFormSearchControllerPost(i,s,c,p){const d=await r.flowFormSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async flowSearchControllerPost(i,s,c,p,d,v){const b=await r.flowSearchControllerPost(i,s,c,p,d,v);return ht(b,st,ut,e)},async formComponentControllerDelete(i,s){const c=await r.formComponentControllerDelete(i,s);return ht(c,st,ut,e)},async formComponentControllerGetById(i,s){const c=await r.formComponentControllerGetById(i,s);return ht(c,st,ut,e)},async formComponentControllerIndex(i){const s=await r.formComponentControllerIndex(i);return ht(s,st,ut,e)},async formComponentControllerPatch(i,s,c){const p=await r.formComponentControllerPatch(i,s,c);return ht(p,st,ut,e)},async formComponentControllerPost(i,s){const c=await r.formComponentControllerPost(i,s);return ht(c,st,ut,e)},async formComponentSearchControllerPost(i,s,c,p){const d=await r.formComponentSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async formControllerCopy(i,s){const c=await r.formControllerCopy(i,s);return ht(c,st,ut,e)},async formControllerDelete(i,s){const c=await r.formControllerDelete(i,s);return ht(c,st,ut,e)},async formControllerGet(i,s){const c=await r.formControllerGet(i,s);return ht(c,st,ut,e)},async formControllerIndex(i){const s=await r.formControllerIndex(i);return ht(s,st,ut,e)},async formControllerPatch(i,s,c){const p=await r.formControllerPatch(i,s,c);return ht(p,st,ut,e)},async formControllerPost(i,s){const c=await r.formControllerPost(i,s);return ht(c,st,ut,e)},async formSearchControllerPost(i,s,c,p){const d=await r.formSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async healthControllerGet(i){const s=await r.healthControllerGet(i);return ht(s,st,ut,e)},async oidcConfigControllerGetClient(i,s){const c=await r.oidcConfigControllerGetClient(i,s);return ht(c,st,ut,e)},async oidcConfigControllerGetEntra(i){const s=await r.oidcConfigControllerGetEntra(i);return ht(s,st,ut,e)},async oidcCookieControllerPost(i,s,c){const p=await r.oidcCookieControllerPost(i,s,c);return ht(p,st,ut,e)},async otpControllerSendOtp(i,s){const c=await r.otpControllerSendOtp(i,s);return ht(c,st,ut,e)},async otpControllerVerifyOtp(i,s){const c=await r.otpControllerVerifyOtp(i,s);return ht(c,st,ut,e)},async patientControllerDelete(i,s){const c=await r.patientControllerDelete(i,s);return ht(c,st,ut,e)},async patientControllerGet(i,s){const c=await r.patientControllerGet(i,s);return ht(c,st,ut,e)},async patientControllerIndex(i){const s=await r.patientControllerIndex(i);return ht(s,st,ut,e)},async patientControllerPatch(i,s,c){const p=await r.patientControllerPatch(i,s,c);return ht(p,st,ut,e)},async patientControllerPost(i,s){const c=await r.patientControllerPost(i,s);return ht(c,st,ut,e)},async patientSearchControllerPost(i,s,c,p){const d=await r.patientSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async pipelineControllerCopy(i,s){const c=await r.pipelineControllerCopy(i,s);return ht(c,st,ut,e)},async pipelineControllerDelete(i,s){const c=await r.pipelineControllerDelete(i,s);return ht(c,st,ut,e)},async pipelineControllerGet(i,s){const c=await r.pipelineControllerGet(i,s);return ht(c,st,ut,e)},async pipelineControllerGetBySlug(i,s,c){const p=await r.pipelineControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async pipelineControllerIndex(i){const s=await r.pipelineControllerIndex(i);return ht(s,st,ut,e)},async pipelineControllerPatch(i,s,c){const p=await r.pipelineControllerPatch(i,s,c);return ht(p,st,ut,e)},async pipelineControllerPost(i,s){const c=await r.pipelineControllerPost(i,s);return ht(c,st,ut,e)},async pipelineFlowControllerDelete(i,s){const c=await r.pipelineFlowControllerDelete(i,s);return ht(c,st,ut,e)},async pipelineFlowControllerGetById(i,s){const c=await r.pipelineFlowControllerGetById(i,s);return ht(c,st,ut,e)},async pipelineFlowControllerIndex(i){const s=await r.pipelineFlowControllerIndex(i);return ht(s,st,ut,e)},async pipelineFlowControllerPatch(i,s,c){const p=await r.pipelineFlowControllerPatch(i,s,c);return ht(p,st,ut,e)},async pipelineFlowControllerPost(i,s){const c=await r.pipelineFlowControllerPost(i,s);return ht(c,st,ut,e)},async pipelineFlowSearchControllerPost(i,s,c,p){const d=await r.pipelineFlowSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async pipelineSearchControllerPost(i,s,c,p){const d=await r.pipelineSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async previewFlowControllerGetBySlug(i,s,c){const p=await r.previewFlowControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async previewPipelineControllerGetBySlug(i,s,c){const p=await r.previewPipelineControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async propertyControllerDelete(i,s){const c=await r.propertyControllerDelete(i,s);return ht(c,st,ut,e)},async propertyControllerGet(i,s){const c=await r.propertyControllerGet(i,s);return ht(c,st,ut,e)},async propertyControllerIndex(i){const s=await r.propertyControllerIndex(i);return ht(s,st,ut,e)},async propertyControllerPatch(i,s,c){const p=await r.propertyControllerPatch(i,s,c);return ht(p,st,ut,e)},async propertyControllerPost(i,s){const c=await r.propertyControllerPost(i,s);return ht(c,st,ut,e)},async propertySearchControllerPost(i,s,c,p){const d=await r.propertySearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async uploadControllerListImages(i){const s=await r.uploadControllerListImages(i);return ht(s,st,ut,e)},async uploadControllerListVideos(i){const s=await r.uploadControllerListVideos(i);return ht(s,st,ut,e)},async uploadControllerUploadImage(i,s){const c=await r.uploadControllerUploadImage(i,s);return ht(c,st,ut,e)},async uploadControllerUploadVideo(i,s){const c=await r.uploadControllerUploadVideo(i,s);return ht(c,st,ut,e)},async userControllerGetUser(i,s,c){const p=await r.userControllerGetUser(i,s,c);return ht(p,st,ut,e)}}};class dL extends sL{abTestControllerDelete(r,i){return mt(this.configuration).abTestControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}abTestControllerGet(r,i){return mt(this.configuration).abTestControllerGet(r,i).then(s=>s(this.axios,this.basePath))}abTestControllerGetBySlug(r,i){return mt(this.configuration).abTestControllerGetBySlug(r,i).then(s=>s(this.axios,this.basePath))}abTestControllerIndex(r){return mt(this.configuration).abTestControllerIndex(r).then(i=>i(this.axios,this.basePath))}abTestControllerPatch(r,i,s){return mt(this.configuration).abTestControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}abTestControllerPost(r,i){return mt(this.configuration).abTestControllerPost(r,i).then(s=>s(this.axios,this.basePath))}abTestSearchControllerPost(r,i,s,c){return mt(this.configuration).abTestSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}componentControllerDelete(r,i){return mt(this.configuration).componentControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}componentControllerGet(r,i){return mt(this.configuration).componentControllerGet(r,i).then(s=>s(this.axios,this.basePath))}componentControllerIndex(r){return mt(this.configuration).componentControllerIndex(r).then(i=>i(this.axios,this.basePath))}componentControllerPatch(r,i,s){return mt(this.configuration).componentControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}componentControllerPost(r,i){return mt(this.configuration).componentControllerPost(r,i).then(s=>s(this.axios,this.basePath))}componentSearchControllerPost(r,i,s,c){return mt(this.configuration).componentSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}conditionControllerDelete(r,i){return mt(this.configuration).conditionControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}conditionControllerGet(r,i){return mt(this.configuration).conditionControllerGet(r,i).then(s=>s(this.axios,this.basePath))}conditionControllerIndex(r){return mt(this.configuration).conditionControllerIndex(r).then(i=>i(this.axios,this.basePath))}conditionControllerPatch(r,i,s){return mt(this.configuration).conditionControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}conditionControllerPost(r,i){return mt(this.configuration).conditionControllerPost(r,i).then(s=>s(this.axios,this.basePath))}conditionSearchControllerPost(r,i,s,c){return mt(this.configuration).conditionSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}defaultControllerPost(r,i,s){return mt(this.configuration).defaultControllerPost(r,i,s).then(c=>c(this.axios,this.basePath))}flowControllerCopy(r,i){return mt(this.configuration).flowControllerCopy(r,i).then(s=>s(this.axios,this.basePath))}flowControllerDelete(r,i){return mt(this.configuration).flowControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}flowControllerGet(r,i){return mt(this.configuration).flowControllerGet(r,i).then(s=>s(this.axios,this.basePath))}flowControllerGetBySlug(r,i,s){return mt(this.configuration).flowControllerGetBySlug(r,i,s).then(c=>c(this.axios,this.basePath))}flowControllerGetFull(r,i){return mt(this.configuration).flowControllerGetFull(r,i).then(s=>s(this.axios,this.basePath))}flowControllerIndex(r){return mt(this.configuration).flowControllerIndex(r).then(i=>i(this.axios,this.basePath))}flowControllerPatch(r,i,s){return mt(this.configuration).flowControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}flowControllerPost(r,i){return mt(this.configuration).flowControllerPost(r,i).then(s=>s(this.axios,this.basePath))}flowFormControllerCopyReplaceForm(r,i,s,c){return mt(this.configuration).flowFormControllerCopyReplaceForm(r,i,s,c).then(p=>p(this.axios,this.basePath))}flowFormControllerDelete(r,i,s){return mt(this.configuration).flowFormControllerDelete(r,i,s).then(c=>c(this.axios,this.basePath))}flowFormControllerGet(r,i,s){return mt(this.configuration).flowFormControllerGet(r,i,s).then(c=>c(this.axios,this.basePath))}flowFormControllerIndex(r){return mt(this.configuration).flowFormControllerIndex(r).then(i=>i(this.axios,this.basePath))}flowFormControllerPatch(r,i,s,c){return mt(this.configuration).flowFormControllerPatch(r,i,s,c).then(p=>p(this.axios,this.basePath))}flowFormControllerPost(r,i){return mt(this.configuration).flowFormControllerPost(r,i).then(s=>s(this.axios,this.basePath))}flowFormSearchControllerPost(r,i,s,c){return mt(this.configuration).flowFormSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}flowSearchControllerPost(r,i,s,c,p,d){return mt(this.configuration).flowSearchControllerPost(r,i,s,c,p,d).then(v=>v(this.axios,this.basePath))}formComponentControllerDelete(r,i){return mt(this.configuration).formComponentControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}formComponentControllerGetById(r,i){return mt(this.configuration).formComponentControllerGetById(r,i).then(s=>s(this.axios,this.basePath))}formComponentControllerIndex(r){return mt(this.configuration).formComponentControllerIndex(r).then(i=>i(this.axios,this.basePath))}formComponentControllerPatch(r,i,s){return mt(this.configuration).formComponentControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}formComponentControllerPost(r,i){return mt(this.configuration).formComponentControllerPost(r,i).then(s=>s(this.axios,this.basePath))}formComponentSearchControllerPost(r,i,s,c){return mt(this.configuration).formComponentSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}formControllerCopy(r,i){return mt(this.configuration).formControllerCopy(r,i).then(s=>s(this.axios,this.basePath))}formControllerDelete(r,i){return mt(this.configuration).formControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}formControllerGet(r,i){return mt(this.configuration).formControllerGet(r,i).then(s=>s(this.axios,this.basePath))}formControllerIndex(r){return mt(this.configuration).formControllerIndex(r).then(i=>i(this.axios,this.basePath))}formControllerPatch(r,i,s){return mt(this.configuration).formControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}formControllerPost(r,i){return mt(this.configuration).formControllerPost(r,i).then(s=>s(this.axios,this.basePath))}formSearchControllerPost(r,i,s,c){return mt(this.configuration).formSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}healthControllerGet(r){return mt(this.configuration).healthControllerGet(r).then(i=>i(this.axios,this.basePath))}oidcConfigControllerGetClient(r,i){return mt(this.configuration).oidcConfigControllerGetClient(r,i).then(s=>s(this.axios,this.basePath))}oidcConfigControllerGetEntra(r){return mt(this.configuration).oidcConfigControllerGetEntra(r).then(i=>i(this.axios,this.basePath))}oidcCookieControllerPost(r,i,s){return mt(this.configuration).oidcCookieControllerPost(r,i,s).then(c=>c(this.axios,this.basePath))}otpControllerSendOtp(r,i){return mt(this.configuration).otpControllerSendOtp(r,i).then(s=>s(this.axios,this.basePath))}otpControllerVerifyOtp(r,i){return mt(this.configuration).otpControllerVerifyOtp(r,i).then(s=>s(this.axios,this.basePath))}patientControllerDelete(r,i){return mt(this.configuration).patientControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}patientControllerGet(r,i){return mt(this.configuration).patientControllerGet(r,i).then(s=>s(this.axios,this.basePath))}patientControllerIndex(r){return mt(this.configuration).patientControllerIndex(r).then(i=>i(this.axios,this.basePath))}patientControllerPatch(r,i,s){return mt(this.configuration).patientControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}patientControllerPost(r,i){return mt(this.configuration).patientControllerPost(r,i).then(s=>s(this.axios,this.basePath))}patientSearchControllerPost(r,i,s,c){return mt(this.configuration).patientSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}pipelineControllerCopy(r,i){return mt(this.configuration).pipelineControllerCopy(r,i).then(s=>s(this.axios,this.basePath))}pipelineControllerDelete(r,i){return mt(this.configuration).pipelineControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}pipelineControllerGet(r,i){return mt(this.configuration).pipelineControllerGet(r,i).then(s=>s(this.axios,this.basePath))}pipelineControllerGetBySlug(r,i,s){return mt(this.configuration).pipelineControllerGetBySlug(r,i,s).then(c=>c(this.axios,this.basePath))}pipelineControllerIndex(r){return mt(this.configuration).pipelineControllerIndex(r).then(i=>i(this.axios,this.basePath))}pipelineControllerPatch(r,i,s){return mt(this.configuration).pipelineControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}pipelineControllerPost(r,i){return mt(this.configuration).pipelineControllerPost(r,i).then(s=>s(this.axios,this.basePath))}pipelineFlowControllerDelete(r,i){return mt(this.configuration).pipelineFlowControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}pipelineFlowControllerGetById(r,i){return mt(this.configuration).pipelineFlowControllerGetById(r,i).then(s=>s(this.axios,this.basePath))}pipelineFlowControllerIndex(r){return mt(this.configuration).pipelineFlowControllerIndex(r).then(i=>i(this.axios,this.basePath))}pipelineFlowControllerPatch(r,i,s){return mt(this.configuration).pipelineFlowControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}pipelineFlowControllerPost(r,i){return mt(this.configuration).pipelineFlowControllerPost(r,i).then(s=>s(this.axios,this.basePath))}pipelineFlowSearchControllerPost(r,i,s,c){return mt(this.configuration).pipelineFlowSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}pipelineSearchControllerPost(r,i,s,c){return mt(this.configuration).pipelineSearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}previewFlowControllerGetBySlug(r,i,s){return mt(this.configuration).previewFlowControllerGetBySlug(r,i,s).then(c=>c(this.axios,this.basePath))}previewPipelineControllerGetBySlug(r,i,s){return mt(this.configuration).previewPipelineControllerGetBySlug(r,i,s).then(c=>c(this.axios,this.basePath))}propertyControllerDelete(r,i){return mt(this.configuration).propertyControllerDelete(r,i).then(s=>s(this.axios,this.basePath))}propertyControllerGet(r,i){return mt(this.configuration).propertyControllerGet(r,i).then(s=>s(this.axios,this.basePath))}propertyControllerIndex(r){return mt(this.configuration).propertyControllerIndex(r).then(i=>i(this.axios,this.basePath))}propertyControllerPatch(r,i,s){return mt(this.configuration).propertyControllerPatch(r,i,s).then(c=>c(this.axios,this.basePath))}propertyControllerPost(r,i){return mt(this.configuration).propertyControllerPost(r,i).then(s=>s(this.axios,this.basePath))}propertySearchControllerPost(r,i,s,c){return mt(this.configuration).propertySearchControllerPost(r,i,s,c).then(p=>p(this.axios,this.basePath))}uploadControllerListImages(r){return mt(this.configuration).uploadControllerListImages(r).then(i=>i(this.axios,this.basePath))}uploadControllerListVideos(r){return mt(this.configuration).uploadControllerListVideos(r).then(i=>i(this.axios,this.basePath))}uploadControllerUploadImage(r,i){return mt(this.configuration).uploadControllerUploadImage(r,i).then(s=>s(this.axios,this.basePath))}uploadControllerUploadVideo(r,i){return mt(this.configuration).uploadControllerUploadVideo(r,i).then(s=>s(this.axios,this.basePath))}userControllerGetUser(r,i,s){return mt(this.configuration).userControllerGetUser(r,i,s).then(c=>c(this.axios,this.basePath))}}function fL(e,r=""){return{api:r||(!location.port||location.port==="80"?"":e),ui:location.origin}}const uv=e=>{const r=fL("http://localhost:3129",e);return lL(dL,{apiUrl:r.api})},pL=({formComponent:e,formidavimHost:r})=>{const i=e.props,{required:s,maxLength:c,propertyId:p,label:d="Email",inlineCopy:v}=i||{},{getFlowValue:b,setFlowAndPatientValue:S,getFlowError:T,setFlowError:w,setDisableSubmitValue:R,setFlowValue:A}=wr(),L=Sp(b(p)),[P,j]=Ve.useState(""),[G,Y]=Ve.useState(!1),[k,V]=Ve.useState(null),N=Ve.useRef(!1),z=uv(r),Z=Ve.useCallback(async he=>{if(!he||!up(he).valid||N.current){V(null);return}N.current=!0,Y(!0),V(null);try{const we=await z.userControllerGetUser(he);(we==null?void 0:we.data)&&typeof we.data=="object"&&Object.keys(we.data).length>0?(V("An account with this email already exists"),R(!0)):(V(null),R(!1))}catch(we){console.warn("Error checking for duplicate user:",we),V(null)}finally{Y(!1),N.current=!1}},[z,R]);Ve.useEffect(()=>{j(L)},[L]),Ve.useEffect(()=>{s&&(!L||L==="")?(w(p,"Required"),R(!0)):L&&!up(L).valid?(w(p,"Please enter a valid email address"),R(!0)):L&&up(L).valid&&(w(p,null),G&&R(!0))},[L,s,p,w,R,G]),Ve.useEffect(()=>{const he=setTimeout(()=>{L&&up(L).valid?Z(L):(V(null),R(!1))},500);return()=>clearTimeout(he)},[L]);const ie=he=>{const{value:we}=he.target;j(we),A(p,we);const ce=we==="",fe=up(we).valid;!ce&&!fe?w(p,"Please enter a valid email address"):w(p,null)},ge=he=>{const{value:we}=he.target;we&&!up(we).valid&&w(p,"Please enter a valid email address")},Te=!!T(p)&&T(p)!=="Required"||!!k;return I.jsxs(Ya,{$visible:!0,$hasError:Te,children:[I.jsx(Mi,{$color:Te?"danger":void 0,children:d}),I.jsx("input",{id:p,name:p,type:"email",value:P,onInput:ie,onBlur:ge,maxLength:c||255,className:Te?"error":"",disabled:G}),v&&I.jsx(dl,{children:v}),G&&I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Checking availability..."}),i!=null&&i.required&&!L&&!Te?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):Te?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),k||T(p)]}):null]})},hL=({formComponent:e})=>{const r=e.props,{required:i,maxLength:s,propertyId:c,label:p="Password",inlineCopy:d,minLength:v=8,confirmPasswordPropertyId:b}=r||{},{getFlowValue:S,setFlowAndPatientValue:T,getFlowError:w,setFlowError:R,setDisableSubmitValue:A,setFlowValue:L}=wr(),P=Sp(S(c)),j=b?Sp(S(b)):"",G=w(c),Y=b?w(b):null,k=!!G&&G!=="Required",V=!!Y&&Y!=="Required",[N,z]=Ve.useState(!1),[Z,ie]=Ve.useState(!1),[ge,M]=Ve.useState(""),[se,Te]=Ve.useState(""),he=Re=>{if(Re.length<v)return!1;const B=/[a-z]/.test(Re),W=/[A-Z]/.test(Re),$e=/\d/.test(Re),Be=/[^A-Za-z0-9]/.test(Re);return B&&W&&$e&&Be},we=(Re,B)=>Re===B;Ve.useEffect(()=>{M(P)},[P]),Ve.useEffect(()=>{b&&Te(j)},[j,b]),Ve.useEffect(()=>{const Re=he(ge),B=b?we(ge,se):!0;i&&(!ge||ge==="")?(R(c,"Required"),A(!0)):ge&&!Re?(R(c,`Password must be at least ${v} characters with lowercase, uppercase, number, and special character`),A(!0)):b&&ge&&se&&!B?(R(b,"Passwords do not match"),A(!0)):ge&&Re&&(!b||B)&&(R(c,null),b&&R(b,null),A(!1))},[ge,se,i,c,b,R,A,v]);const ce=Re=>{const{value:B}=Re.target;M(B);const W=B==="",$e=he(B),Be=b?we(B,se):!0;!W&&!$e?(R(c,`Password must be at least ${v} characters with lowercase, uppercase, number, and special character`),L(c,null)):$e?!b||Be?(T(c,B),R(c,null),b&&R(b,null),A(!1)):(L(c,null),R(c,null),R(b,"Passwords do not match"),A(!0)):(R(c,null),L(c,null))},fe=Re=>{if(!b)return;const{value:B}=Re.target;Te(B),T(b,B);const W=we(ge,B);B&&!W?(R(b,"Passwords do not match"),A(!0)):W&&he(ge)?(T(c,ge),R(b,null),R(c,null),A(!1)):R(b,null)},ve=Re=>{const{value:B}=Re.target;B&&!he(B)&&(R(c,`Password must be at least ${v} characters with lowercase, uppercase, number, and special character`),L(c,null))},pe=Re=>{if(!b)return;const{value:B}=Re.target;B&&!we(ge,B)&&R(b,"Passwords do not match")};w(c)||r!=null&&r.required,b&&w(b),w(c)||r!=null&&r.required,b&&w(b);const ne=()=>{z(!N)},ee=()=>{ie(!Z)};return I.jsxs(Ya,{$visible:!0,$hasError:k||V,$type:"password",$isPass:"true",$show:N?"true":"false",children:[I.jsx(Mi,{$color:k?"danger":void 0,children:p}),I.jsxs("div",{style:{position:"relative"},children:[I.jsx("input",{id:c,name:c,type:N?"text":"password",value:ge,onInput:ce,onBlur:ve,maxLength:s||255,minLength:v,className:w(c)?"error":""}),I.jsx("button",{type:"button",onClick:ne,style:{position:"absolute",right:"15px",top:"50%",transform:"translateY(-50%)",zIndex:3,width:"30px",height:"30px",border:"none",backgroundColor:"transparent",opacity:.8,transition:"all 0.2s",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:Re=>{Re.currentTarget.style.opacity="1"},onMouseLeave:Re=>{Re.currentTarget.style.opacity="0.8"},children:N?I.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[I.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),I.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}):I.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[I.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),I.jsx("circle",{cx:"12",cy:"12",r:"3"})]})})]}),i&&!P&&!k?I.jsx(ao,{$visible:!0,children:"Required"}):k?I.jsxs(Yo,{$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),G]}):null,b&&I.jsxs(I.Fragment,{children:[I.jsxs("div",{style:{position:"relative",marginTop:"1rem"},children:[I.jsx(Mi,{children:"Confirm Password"}),I.jsx("input",{id:b,name:b,type:Z?"text":"password",value:se,onInput:fe,onBlur:pe,maxLength:s||255,minLength:v,className:w(b)?"error":""}),I.jsx("button",{type:"button",onClick:ee,style:{position:"absolute",right:"15px",top:"50%",transform:"translateY(-50%)",zIndex:3,width:"30px",height:"30px",border:"none",backgroundColor:"transparent",opacity:.8,transition:"all 0.2s",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"},onMouseEnter:Re=>{Re.currentTarget.style.opacity="1"},onMouseLeave:Re=>{Re.currentTarget.style.opacity="0.8"},children:Z?I.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[I.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),I.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}):I.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[I.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),I.jsx("circle",{cx:"12",cy:"12",r:"3"})]})})]}),i&&!j&&!V?I.jsx(ao,{$visible:!0,children:"Required"}):V?I.jsxs(Yo,{$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),Y]}):null]}),d&&I.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:"0.75rem"},children:[I.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{flexShrink:0,marginTop:"0.125rem"},children:I.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.92893 4.92893C6.8043 3.05357 9.34784 2 12 2C14.6522 2 17.1957 3.05357 19.0711 4.92893C20.9464 6.8043 22 9.34784 22 12C22 13.3132 21.7413 14.6136 21.2388 15.8268C20.7362 17.0401 19.9997 18.1425 19.0711 19.0711C18.1425 19.9997 17.0401 20.7362 15.8268 21.2388C14.6136 21.7413 13.3132 22 12 22C10.6868 22 9.38642 21.7413 8.17317 21.2388C6.95991 20.7362 5.85752 19.9997 4.92893 19.0711C4.00035 18.1425 3.26375 17.0401 2.7612 15.8268C2.25866 14.6136 2 13.3132 2 12C2 9.34784 3.05357 6.8043 4.92893 4.92893ZM12 4C9.87827 4 7.84344 4.84285 6.34315 6.34315C4.84285 7.84344 4 9.87827 4 12C4 13.0506 4.20693 14.0909 4.60896 15.0615C5.011 16.0321 5.60028 16.914 6.34315 17.6569C7.08601 18.3997 7.96793 18.989 8.93853 19.391C9.90914 19.7931 10.9494 20 12 20C13.0506 20 14.0909 19.7931 15.0615 19.391C16.0321 18.989 16.914 18.3997 17.6569 17.6569C18.3997 16.914 18.989 16.0321 19.391 15.0615C19.7931 14.0909 20 13.0506 20 12C20 9.87827 19.1571 7.84344 17.6569 6.34315C16.1566 4.84285 14.1217 4 12 4ZM11 9C11 8.44772 11.4477 8 12 8H12.01C12.5623 8 13.01 8.44772 13.01 9C13.01 9.55228 12.5623 10 12.01 10H12C11.4477 10 11 9.55228 11 9ZM10 12C10 11.4477 10.4477 11 11 11H12C12.5523 11 13 11.4477 13 12V15C13.5523 15 14 15.4477 14 16C14 16.5523 13.5523 17 13 17H12C11.4477 17 11 16.5523 11 16V13C10.4477 13 10 12.5523 10 12Z",fill:"#6F9351"})}),I.jsx(dl,{style:{flex:1,color:"rgba(22, 21, 19, 0.70)",fontVariantNumeric:"lining-nums tabular-nums",fontSize:"0.625em",fontWeight:400,lineHeight:"1.6em",marginTop:"0.25rem"},children:d})]})]})},mL=({formComponent:e,formidavimHost:r})=>{const i=e.props,{required:s,maxLength:c,propertyId:p,label:d="Phone Number"}=i||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S,setFlowError:T,setDisableSubmitValue:w,setFlowValue:R}=wr(),A=Sp(v(p)),[L,P]=Ve.useState(A),[j,G]=Ve.useState(!1),[Y,k]=Ve.useState(null),V=Ve.useRef(!1),N=uv(r),z=Ve.useCallback(async we=>{if(!we||!ie(we)||V.current){k(null);return}V.current=!0,G(!0),k(null);try{const ce=pe=>{const ne=pe.replace(/\D/g,"");return ne.length===10?`1${ne}`:ne},fe=await N.userControllerGetUser(void 0,ce(we));(fe==null?void 0:fe.data)&&typeof fe.data=="object"&&Object.keys(fe.data).length>0?(k("An account with this phone number already exists"),w(!0)):(k(null),w(!1))}catch(ce){console.warn("Error checking for duplicate user:",ce),k(null)}finally{G(!1),V.current=!1}},[N,w]),Z=we=>{let ce=we.replace(/\D/g,"");return ce.length===0?"":(ce.startsWith("1")&&ce.length===11&&(ce=ce.slice(1)),ce.length===10&&!ce.startsWith("1")?`+1(${ce.slice(0,3)})-${ce.slice(3,6)}-${ce.slice(6)}`:ce)},ie=we=>{let ce=we.replace(/\D/g,"");return ce.startsWith("1")&&ce.length===11&&(ce=ce.slice(1)),ce.length===10},ge=we=>{const{value:ce}=we.target,fe=Z(ce);P(fe);const ve=fe==="",pe=ie(fe);!ve&&!pe?(T(p,"Please enter a valid phone number"),R(p,null)):pe?(T(p,null),b(p,fe)):(T(p,null),R(p,null))};Ve.useEffect(()=>{P(A)},[A]),Ve.useEffect(()=>{s&&(!A||A==="")?(T(p,"Required"),w(!0)):A&&A.length>0&&!ie(A)?(T(p,"Please enter a valid phone number"),w(!0)):A&&ie(A)&&(T(p,null),j&&w(!0))},[A,s,p,T,w,j]),Ve.useEffect(()=>{const we=setTimeout(()=>{A&&ie(A)?z(A):(k(null),w(!1))},500);return()=>clearTimeout(we)},[A]);const M=we=>{const{value:ce}=we.target;ce&&!ie(ce)&&(T(p,"Please enter a valid phone number"),R(p,null))},he=!!S(p)&&S(p)!=="Required"||!!Y;return I.jsxs(Ya,{$visible:!0,$hasError:he,children:[I.jsx(Mi,{$color:he?"danger":void 0,children:d}),I.jsx("input",{id:p,name:p,type:"tel",value:L,onInput:ge,onBlur:M,maxLength:c||15,placeholder:"",className:he?"error":"",disabled:j}),j&&I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Checking availability..."}),i!=null&&i.required&&!A&&!he?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):he?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),Y||S(p)]}):null]})},nv={black:"#000",white:"#fff"},cp={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},dp={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},fp={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},pp={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},hp={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Um={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},vL={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 es(e,...r){const i=new URL(`https://mui.com/production-error/?code=${e}`);return r.forEach(s=>i.searchParams.append("args[]",s)),`Minified MUI error #${e}; visit ${i} for the full message.`}const eb="$$material";function $C(){return $C=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var s in i)({}).hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e},$C.apply(null,arguments)}function yL(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function gL(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var bL=function(){function e(i){var s=this;this._insertTag=function(c){var p;s.tags.length===0?s.insertionPoint?p=s.insertionPoint.nextSibling:s.prepend?p=s.container.firstChild:p=s.before:p=s.tags[s.tags.length-1].nextSibling,s.container.insertBefore(c,p),s.tags.push(c)},this.isSpeedy=i.speedy===void 0?!0:i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(s){s.forEach(this._insertTag)},r.insert=function(s){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(gL(this));var c=this.tags[this.tags.length-1];if(this.isSpeedy){var p=yL(c);try{p.insertRule(s,p.cssRules.length)}catch{}}else c.appendChild(document.createTextNode(s));this.ctr++},r.flush=function(){this.tags.forEach(function(s){var c;return(c=s.parentNode)==null?void 0:c.removeChild(s)}),this.tags=[],this.ctr=0},e}(),ha="-ms-",j0="-moz-",jn="-webkit-",x3="comm",ZC="rule",JC="decl",xL="@import",S3="@keyframes",SL="@layer",CL=Math.abs,tb=String.fromCharCode,wL=Object.assign;function EL(e,r){return Wo(e,0)^45?(((r<<2^Wo(e,0))<<2^Wo(e,1))<<2^Wo(e,2))<<2^Wo(e,3):0}function C3(e){return e.trim()}function TL(e,r){return(e=r.exec(e))?e[0]:e}function Un(e,r,i){return e.replace(r,i)}function AC(e,r){return e.indexOf(r)}function Wo(e,r){return e.charCodeAt(r)|0}function rv(e,r,i){return e.slice(r,i)}function Xl(e){return e.length}function ew(e){return e.length}function y0(e,r){return r.push(e),e}function RL(e,r){return e.map(r).join("")}var nb=1,wp=1,w3=0,Qa=0,oo=0,Tp="";function rb(e,r,i,s,c,p,d){return{value:e,root:r,parent:i,type:s,props:c,children:p,line:nb,column:wp,length:d,return:""}}function Bm(e,r){return wL(rb("",null,null,"",null,null,0),e,{length:-e.length},r)}function OL(){return oo}function $L(){return oo=Qa>0?Wo(Tp,--Qa):0,wp--,oo===10&&(wp=1,nb--),oo}function li(){return oo=Qa<w3?Wo(Tp,Qa++):0,wp++,oo===10&&(wp=1,nb++),oo}function Jl(){return Wo(Tp,Qa)}function k0(){return Qa}function cv(e,r){return rv(Tp,e,r)}function ov(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 E3(e){return nb=wp=1,w3=Xl(Tp=e),Qa=0,[]}function T3(e){return Tp="",e}function P0(e){return C3(cv(Qa-1,kC(e===91?e+2:e===40?e+1:e)))}function AL(e){for(;(oo=Jl())&&oo<33;)li();return ov(e)>2||ov(oo)>3?"":" "}function kL(e,r){for(;--r&&li()&&!(oo<48||oo>102||oo>57&&oo<65||oo>70&&oo<97););return cv(e,k0()+(r<6&&Jl()==32&&li()==32))}function kC(e){for(;li();)switch(oo){case e:return Qa;case 34:case 39:e!==34&&e!==39&&kC(oo);break;case 40:e===41&&kC(e);break;case 92:li();break}return Qa}function PL(e,r){for(;li()&&e+oo!==57;)if(e+oo===84&&Jl()===47)break;return"/*"+cv(r,Qa-1)+"*"+tb(e===47?e:li())}function NL(e){for(;!ov(Jl());)li();return cv(e,Qa)}function DL(e){return T3(N0("",null,null,null,[""],e=E3(e),0,[0],e))}function N0(e,r,i,s,c,p,d,v,b){for(var S=0,T=0,w=d,R=0,A=0,L=0,P=1,j=1,G=1,Y=0,k="",V=c,N=p,z=s,Z=k;j;)switch(L=Y,Y=li()){case 40:if(L!=108&&Wo(Z,w-1)==58){AC(Z+=Un(P0(Y),"&","&\f"),"&\f")!=-1&&(G=-1);break}case 34:case 39:case 91:Z+=P0(Y);break;case 9:case 10:case 13:case 32:Z+=AL(L);break;case 92:Z+=kL(k0()-1,7);continue;case 47:switch(Jl()){case 42:case 47:y0(ML(PL(li(),k0()),r,i),b);break;default:Z+="/"}break;case 123*P:v[S++]=Xl(Z)*G;case 125*P:case 59:case 0:switch(Y){case 0:case 125:j=0;case 59+T:G==-1&&(Z=Un(Z,/\f/g,"")),A>0&&Xl(Z)-w&&y0(A>32?TO(Z+";",s,i,w-1):TO(Un(Z," ","")+";",s,i,w-2),b);break;case 59:Z+=";";default:if(y0(z=EO(Z,r,i,S,T,c,v,k,V=[],N=[],w),p),Y===123)if(T===0)N0(Z,r,z,z,V,p,w,v,N);else switch(R===99&&Wo(Z,3)===110?100:R){case 100:case 108:case 109:case 115:N0(e,z,z,s&&y0(EO(e,z,z,0,0,c,v,k,c,V=[],w),N),c,N,w,v,s?V:N);break;default:N0(Z,z,z,z,[""],N,0,v,N)}}S=T=A=0,P=G=1,k=Z="",w=d;break;case 58:w=1+Xl(Z),A=L;default:if(P<1){if(Y==123)--P;else if(Y==125&&P++==0&&$L()==125)continue}switch(Z+=tb(Y),Y*P){case 38:G=T>0?1:(Z+="\f",-1);break;case 44:v[S++]=(Xl(Z)-1)*G,G=1;break;case 64:Jl()===45&&(Z+=P0(li())),R=Jl(),T=w=Xl(k=Z+=NL(k0())),Y++;break;case 45:L===45&&Xl(Z)==2&&(P=0)}}return p}function EO(e,r,i,s,c,p,d,v,b,S,T){for(var w=c-1,R=c===0?p:[""],A=ew(R),L=0,P=0,j=0;L<s;++L)for(var G=0,Y=rv(e,w+1,w=CL(P=d[L])),k=e;G<A;++G)(k=C3(P>0?R[G]+" "+Y:Un(Y,/&\f/g,R[G])))&&(b[j++]=k);return rb(e,r,i,c===0?ZC:v,b,S,T)}function ML(e,r,i){return rb(e,r,i,x3,tb(OL()),rv(e,2,-2),0)}function TO(e,r,i,s){return rb(e,r,i,JC,rv(e,0,s),rv(e,s+1,-1),s)}function yp(e,r){for(var i="",s=ew(e),c=0;c<s;c++)i+=r(e[c],c,e,r)||"";return i}function LL(e,r,i,s){switch(e.type){case SL:if(e.children.length)break;case xL:case JC:return e.return=e.return||e.value;case x3:return"";case S3:return e.return=e.value+"{"+yp(e.children,s)+"}";case ZC:e.value=e.props.join(",")}return Xl(i=yp(e.children,s))?e.return=e.value+"{"+i+"}":""}function IL(e){var r=ew(e);return function(i,s,c,p){for(var d="",v=0;v<r;v++)d+=e[v](i,s,c,p)||"";return d}}function _L(e){return function(r){r.root||(r=r.return)&&e(r)}}function R3(e){var r=Object.create(null);return function(i){return r[i]===void 0&&(r[i]=e(i)),r[i]}}var FL=function(r,i,s){for(var c=0,p=0;c=p,p=Jl(),c===38&&p===12&&(i[s]=1),!ov(p);)li();return cv(r,Qa)},VL=function(r,i){var s=-1,c=44;do switch(ov(c)){case 0:c===38&&Jl()===12&&(i[s]=1),r[s]+=FL(Qa-1,i,s);break;case 2:r[s]+=P0(c);break;case 4:if(c===44){r[++s]=Jl()===58?"&\f":"",i[s]=r[s].length;break}default:r[s]+=tb(c)}while(c=li());return r},jL=function(r,i){return T3(VL(E3(r),i))},RO=new WeakMap,UL=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var i=r.value,s=r.parent,c=r.column===s.column&&r.line===s.line;s.type!=="rule";)if(s=s.parent,!s)return;if(!(r.props.length===1&&i.charCodeAt(0)!==58&&!RO.get(s))&&!c){RO.set(r,!0);for(var p=[],d=jL(i,p),v=s.props,b=0,S=0;b<d.length;b++)for(var T=0;T<v.length;T++,S++)r.props[S]=p[b]?d[b].replace(/&\f/g,v[T]):v[T]+" "+d[b]}}},BL=function(r){if(r.type==="decl"){var i=r.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(r.return="",r.value="")}};function O3(e,r){switch(EL(e,r)){case 5103:return jn+"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 jn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return jn+e+j0+e+ha+e+e;case 6828:case 4268:return jn+e+ha+e+e;case 6165:return jn+e+ha+"flex-"+e+e;case 5187:return jn+e+Un(e,/(\w+).+(:[^]+)/,jn+"box-$1$2"+ha+"flex-$1$2")+e;case 5443:return jn+e+ha+"flex-item-"+Un(e,/flex-|-self/,"")+e;case 4675:return jn+e+ha+"flex-line-pack"+Un(e,/align-content|flex-|-self/,"")+e;case 5548:return jn+e+ha+Un(e,"shrink","negative")+e;case 5292:return jn+e+ha+Un(e,"basis","preferred-size")+e;case 6060:return jn+"box-"+Un(e,"-grow","")+jn+e+ha+Un(e,"grow","positive")+e;case 4554:return jn+Un(e,/([^-])(transform)/g,"$1"+jn+"$2")+e;case 6187:return Un(Un(Un(e,/(zoom-|grab)/,jn+"$1"),/(image-set)/,jn+"$1"),e,"")+e;case 5495:case 3959:return Un(e,/(image-set\([^]*)/,jn+"$1$`$1");case 4968:return Un(Un(e,/(.+:)(flex-)?(.*)/,jn+"box-pack:$3"+ha+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+jn+e+e;case 4095:case 3583:case 4068:case 2532:return Un(e,/(.+)-inline(.+)/,jn+"$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(Xl(e)-1-r>6)switch(Wo(e,r+1)){case 109:if(Wo(e,r+4)!==45)break;case 102:return Un(e,/(.+:)(.+)-([^]+)/,"$1"+jn+"$2-$3$1"+j0+(Wo(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~AC(e,"stretch")?O3(Un(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(Wo(e,r+1)!==115)break;case 6444:switch(Wo(e,Xl(e)-3-(~AC(e,"!important")&&10))){case 107:return Un(e,":",":"+jn)+e;case 101:return Un(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+jn+(Wo(e,14)===45?"inline-":"")+"box$3$1"+jn+"$2$3$1"+ha+"$2box$3")+e}break;case 5936:switch(Wo(e,r+11)){case 114:return jn+e+ha+Un(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return jn+e+ha+Un(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return jn+e+ha+Un(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return jn+e+ha+e+e}return e}var zL=function(r,i,s,c){if(r.length>-1&&!r.return)switch(r.type){case JC:r.return=O3(r.value,r.length);break;case S3:return yp([Bm(r,{value:Un(r.value,"@","@"+jn)})],c);case ZC:if(r.length)return RL(r.props,function(p){switch(TL(p,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return yp([Bm(r,{props:[Un(p,/:(read-\w+)/,":"+j0+"$1")]})],c);case"::placeholder":return yp([Bm(r,{props:[Un(p,/:(plac\w+)/,":"+jn+"input-$1")]}),Bm(r,{props:[Un(p,/:(plac\w+)/,":"+j0+"$1")]}),Bm(r,{props:[Un(p,/:(plac\w+)/,ha+"input-$1")]})],c)}return""})}},HL=[zL],GL=function(r){var i=r.key;if(i==="css"){var s=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(s,function(P){var j=P.getAttribute("data-emotion");j.indexOf(" ")!==-1&&(document.head.appendChild(P),P.setAttribute("data-s",""))})}var c=r.stylisPlugins||HL,p={},d,v=[];d=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(P){for(var j=P.getAttribute("data-emotion").split(" "),G=1;G<j.length;G++)p[j[G]]=!0;v.push(P)});var b,S=[UL,BL];{var T,w=[LL,_L(function(P){T.insert(P)})],R=IL(S.concat(c,w)),A=function(j){return yp(DL(j),R)};b=function(j,G,Y,k){T=Y,A(j?j+"{"+G.styles+"}":G.styles),k&&(L.inserted[G.name]=!0)}}var L={key:i,sheet:new bL({key:i,container:d,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:p,registered:{},insert:b};return L.sheet.hydrate(v),L},g0={exports:{}},Wn={};/** @license React v16.13.1
|
|
2587
2587
|
* react-is.production.min.js
|
|
2588
2588
|
*
|
|
2589
2589
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -2700,10 +2700,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${r}Chann
|
|
|
2700
2700
|
`+Re+o}var W=!1;function $e(o,a){if(!o||W)return"";W=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(a)if(a=function(){throw Error()},Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(Le){var m=Le}Reflect.construct(o,[],a)}else{try{a.call()}catch(Le){m=Le}o.call(a.prototype)}else{try{throw Error()}catch(Le){m=Le}o()}}catch(Le){if(Le&&m&&typeof Le.stack=="string"){for(var x=Le.stack.split(`
|
|
2701
2701
|
`),E=m.stack.split(`
|
|
2702
2702
|
`),_=x.length-1,re=E.length-1;1<=_&&0<=re&&x[_]!==E[re];)re--;for(;1<=_&&0<=re;_--,re--)if(x[_]!==E[re]){if(_!==1||re!==1)do if(_--,re--,0>re||x[_]!==E[re]){var de=`
|
|
2703
|
-
`+x[_].replace(" at new "," at ");return o.displayName&&de.includes("<anonymous>")&&(de=de.replace("<anonymous>",o.displayName)),de}while(1<=_&&0<=re);break}}}finally{W=!1,Error.prepareStackTrace=f}return(o=o?o.displayName||o.name:"")?B(o):""}function Be(o){switch(o.tag){case 5:return B(o.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return o=$e(o.type,!1),o;case 11:return o=$e(o.type.render,!1),o;case 1:return o=$e(o.type,!0),o;default:return""}}function Qe(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case Z:return"Fragment";case z:return"Portal";case ge:return"Profiler";case ie:return"StrictMode";case he:return"Suspense";case we:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case se:return(o.displayName||"Context")+".Consumer";case M:return(o._context.displayName||"Context")+".Provider";case Te:var a=o.render;return o=o.displayName,o||(o=a.displayName||a.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case ce:return a=o.displayName||null,a!==null?a:Qe(o.type)||"Memo";case fe:a=o._payload,o=o._init;try{return Qe(o(a))}catch{}}return null}function We(o){var a=o.type;switch(o.tag){case 24:return"Cache";case 9:return(a.displayName||"Context")+".Consumer";case 10:return(a._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=a.render,o=o.displayName||o.name||"",a.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Qe(a);case 8:return a===ie?"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 a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a}return null}function X(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function oe(o){var a=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function K(o){var a=oe(o)?"checked":"value",f=Object.getOwnPropertyDescriptor(o.constructor.prototype,a),m=""+o[a];if(!o.hasOwnProperty(a)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var x=f.get,E=f.set;return Object.defineProperty(o,a,{configurable:!0,get:function(){return x.call(this)},set:function(_){m=""+_,E.call(this,_)}}),Object.defineProperty(o,a,{enumerable:f.enumerable}),{getValue:function(){return m},setValue:function(_){m=""+_},stopTracking:function(){o._valueTracker=null,delete o[a]}}}}function Ee(o){o._valueTracker||(o._valueTracker=K(o))}function te(o){if(!o)return!1;var a=o._valueTracker;if(!a)return!0;var f=a.getValue(),m="";return o&&(m=oe(o)?o.checked?"true":"false":o.value),o=m,o!==f?(a.setValue(o),!0):!1}function De(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function Ce(o,a){var f=a.checked;return ee({},a,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??o._wrapperState.initialChecked})}function Fe(o,a){var f=a.defaultValue==null?"":a.defaultValue,m=a.checked!=null?a.checked:a.defaultChecked;f=X(a.value!=null?a.value:f),o._wrapperState={initialChecked:m,initialValue:f,controlled:a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null}}function rt(o,a){a=a.checked,a!=null&&k(o,"checked",a,!1)}function Lt(o,a){rt(o,a);var f=X(a.value),m=a.type;if(f!=null)m==="number"?(f===0&&o.value===""||o.value!=f)&&(o.value=""+f):o.value!==""+f&&(o.value=""+f);else if(m==="submit"||m==="reset"){o.removeAttribute("value");return}a.hasOwnProperty("value")?vt(o,a.type,f):a.hasOwnProperty("defaultValue")&&vt(o,a.type,X(a.defaultValue)),a.checked==null&&a.defaultChecked!=null&&(o.defaultChecked=!!a.defaultChecked)}function Dt(o,a,f){if(a.hasOwnProperty("value")||a.hasOwnProperty("defaultValue")){var m=a.type;if(!(m!=="submit"&&m!=="reset"||a.value!==void 0&&a.value!==null))return;a=""+o._wrapperState.initialValue,f||a===o.value||(o.value=a),o.defaultValue=a}f=o.name,f!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,f!==""&&(o.name=f)}function vt(o,a,f){(a!=="number"||De(o.ownerDocument)!==o)&&(f==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+f&&(o.defaultValue=""+f))}var yt=Array.isArray;function St(o,a,f,m){if(o=o.options,a){a={};for(var x=0;x<f.length;x++)a["$"+f[x]]=!0;for(f=0;f<o.length;f++)x=a.hasOwnProperty("$"+o[f].value),o[f].selected!==x&&(o[f].selected=x),x&&m&&(o[f].defaultSelected=!0)}else{for(f=""+X(f),a=null,x=0;x<o.length;x++){if(o[x].value===f){o[x].selected=!0,m&&(o[x].defaultSelected=!0);return}a!==null||o[x].disabled||(a=o[x])}a!==null&&(a.selected=!0)}}function lt(o,a){if(a.dangerouslySetInnerHTML!=null)throw Error(i(91));return ee({},a,{value:void 0,defaultValue:void 0,children:""+o._wrapperState.initialValue})}function sn(o,a){var f=a.value;if(f==null){if(f=a.children,a=a.defaultValue,f!=null){if(a!=null)throw Error(i(92));if(yt(f)){if(1<f.length)throw Error(i(93));f=f[0]}a=f}a==null&&(a=""),f=a}o._wrapperState={initialValue:X(f)}}function mn(o,a){var f=X(a.value),m=X(a.defaultValue);f!=null&&(f=""+f,f!==o.value&&(o.value=f),a.defaultValue==null&&o.defaultValue!==f&&(o.defaultValue=f)),m!=null&&(o.defaultValue=""+m)}function fn(o){var a=o.textContent;a===o._wrapperState.initialValue&&a!==""&&a!==null&&(o.value=a)}function un(o){switch(o){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 Tn(o,a){return o==null||o==="http://www.w3.org/1999/xhtml"?un(a):o==="http://www.w3.org/2000/svg"&&a==="foreignObject"?"http://www.w3.org/1999/xhtml":o}var rr,or=function(o){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(a,f,m,x){MSApp.execUnsafeLocalFunction(function(){return o(a,f,m,x)})}:o}(function(o,a){if(o.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in o)o.innerHTML=a;else{for(rr=rr||document.createElement("div"),rr.innerHTML="<svg>"+a.valueOf().toString()+"</svg>",a=rr.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;a.firstChild;)o.appendChild(a.firstChild)}});function it(o,a){if(a){var f=o.firstChild;if(f&&f===o.lastChild&&f.nodeType===3){f.nodeValue=a;return}}o.textContent=a}var ot={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},He=["Webkit","ms","Moz","O"];Object.keys(ot).forEach(function(o){He.forEach(function(a){a=a+o.charAt(0).toUpperCase()+o.substring(1),ot[a]=ot[o]})});function cn(o,a,f){return a==null||typeof a=="boolean"||a===""?"":f||typeof a!="number"||a===0||ot.hasOwnProperty(o)&&ot[o]?(""+a).trim():a+"px"}function Rn(o,a){o=o.style;for(var f in a)if(a.hasOwnProperty(f)){var m=f.indexOf("--")===0,x=cn(f,a[f],m);f==="float"&&(f="cssFloat"),m?o.setProperty(f,x):o[f]=x}}var Dn=ee({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 On(o,a){if(a){if(Dn[o]&&(a.children!=null||a.dangerouslySetInnerHTML!=null))throw Error(i(137,o));if(a.dangerouslySetInnerHTML!=null){if(a.children!=null)throw Error(i(60));if(typeof a.dangerouslySetInnerHTML!="object"||!("__html"in a.dangerouslySetInnerHTML))throw Error(i(61))}if(a.style!=null&&typeof a.style!="object")throw Error(i(62))}}function Ln(o,a){if(o.indexOf("-")===-1)return typeof a.is=="string";switch(o){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 qe=null;function U(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var J=null,le=null,$=null;function F(o){if(o=Vt(o)){if(typeof J!="function")throw Error(i(280));var a=o.stateNode;a&&(a=pr(a),J(o.stateNode,o.type,a))}}function q(o){le?$?$.push(o):$=[o]:le=o}function me(){if(le){var o=le,a=$;if($=le=null,F(o),a)for(o=0;o<a.length;o++)F(a[o])}}function ue(o,a){return o(a)}function Ie(){}var nt=!1;function Tt(o,a,f){if(nt)return o(a,f);nt=!0;try{return ue(o,a,f)}finally{nt=!1,(le!==null||$!==null)&&(Ie(),me())}}function $t(o,a){var f=o.stateNode;if(f===null)return null;var m=pr(f);if(m===null)return null;f=m[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(m=!m.disabled)||(o=o.type,m=!(o==="button"||o==="input"||o==="select"||o==="textarea")),o=!m;break e;default:o=!1}if(o)return null;if(f&&typeof f!="function")throw Error(i(231,a,typeof f));return f}var dn=!1;if(v)try{var zt={};Object.defineProperty(zt,"passive",{get:function(){dn=!0}}),window.addEventListener("test",zt,zt),window.removeEventListener("test",zt,zt)}catch{dn=!1}function bn(o,a,f,m,x,E,_,re,de){var Le=Array.prototype.slice.call(arguments,3);try{a.apply(f,Le)}catch(Ze){this.onError(Ze)}}var pn=!1,Xn=null,an=!1,ae=null,Ye={onError:function(o){pn=!0,Xn=o}};function at(o,a,f,m,x,E,_,re,de){pn=!1,Xn=null,bn.apply(Ye,arguments)}function _t(o,a,f,m,x,E,_,re,de){if(at.apply(this,arguments),pn){if(pn){var Le=Xn;pn=!1,Xn=null}else throw Error(i(198));an||(an=!0,ae=Le)}}function At(o){var a=o,f=o;if(o.alternate)for(;a.return;)a=a.return;else{o=a;do a=o,(a.flags&4098)!==0&&(f=a.return),o=a.return;while(o)}return a.tag===3?f:null}function Wt(o){if(o.tag===13){var a=o.memoizedState;if(a===null&&(o=o.alternate,o!==null&&(a=o.memoizedState)),a!==null)return a.dehydrated}return null}function Jt(o){if(At(o)!==o)throw Error(i(188))}function en(o){var a=o.alternate;if(!a){if(a=At(o),a===null)throw Error(i(188));return a!==o?null:o}for(var f=o,m=a;;){var x=f.return;if(x===null)break;var E=x.alternate;if(E===null){if(m=x.return,m!==null){f=m;continue}break}if(x.child===E.child){for(E=x.child;E;){if(E===f)return Jt(x),o;if(E===m)return Jt(x),a;E=E.sibling}throw Error(i(188))}if(f.return!==m.return)f=x,m=E;else{for(var _=!1,re=x.child;re;){if(re===f){_=!0,f=x,m=E;break}if(re===m){_=!0,m=x,f=E;break}re=re.sibling}if(!_){for(re=E.child;re;){if(re===f){_=!0,f=E,m=x;break}if(re===m){_=!0,m=E,f=x;break}re=re.sibling}if(!_)throw Error(i(189))}}if(f.alternate!==m)throw Error(i(190))}if(f.tag!==3)throw Error(i(188));return f.stateNode.current===f?o:a}function wr(o){return o=en(o),o!==null?Zn(o):null}function Zn(o){if(o.tag===5||o.tag===6)return o;for(o=o.child;o!==null;){var a=Zn(o);if(a!==null)return a;o=o.sibling}return null}var ar=r.unstable_scheduleCallback,Kr=r.unstable_cancelCallback,Yt=r.unstable_shouldYield,Jn=r.unstable_requestPaint,Xt=r.unstable_now,nn=r.unstable_getCurrentPriorityLevel,Qa=r.unstable_ImmediatePriority,ci=r.unstable_UserBlockingPriority,di=r.unstable_NormalPriority,Ht=r.unstable_LowPriority,Bn=r.unstable_IdlePriority,gr=null,yn=null;function so(o){if(yn&&typeof yn.onCommitFiberRoot=="function")try{yn.onCommitFiberRoot(gr,o,void 0,(o.current.flags&128)===128)}catch{}}var Er=Math.clz32?Math.clz32:uo,To=Math.log,_i=Math.LN2;function uo(o){return o>>>=0,o===0?32:31-(To(o)/_i|0)|0}var Zr=64,Mn=4194304;function Tr(o){switch(o&-o){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 o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function fi(o,a){var f=o.pendingLanes;if(f===0)return 0;var m=0,x=o.suspendedLanes,E=o.pingedLanes,_=f&268435455;if(_!==0){var re=_&~x;re!==0?m=Tr(re):(E&=_,E!==0&&(m=Tr(E)))}else _=f&~x,_!==0?m=Tr(_):E!==0&&(m=Tr(E));if(m===0)return 0;if(a!==0&&a!==m&&(a&x)===0&&(x=m&-m,E=a&-a,x>=E||x===16&&(E&4194240)!==0))return a;if((m&4)!==0&&(m|=f&16),a=o.entangledLanes,a!==0)for(o=o.entanglements,a&=m;0<a;)f=31-Er(a),x=1<<f,m|=o[f],a&=~x;return m}function Hr(o,a){switch(o){case 1:case 2:case 4:return a+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 a+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 pl(o,a){for(var f=o.suspendedLanes,m=o.pingedLanes,x=o.expirationTimes,E=o.pendingLanes;0<E;){var _=31-Er(E),re=1<<_,de=x[_];de===-1?((re&f)===0||(re&m)!==0)&&(x[_]=Hr(re,a)):de<=a&&(o.expiredLanes|=re),E&=~re}}function Fi(o){return o=o.pendingLanes&-1073741825,o!==0?o:o&1073741824?1073741824:0}function Qo(){var o=Zr;return Zr<<=1,(Zr&4194240)===0&&(Zr=64),o}function hl(o){for(var a=[],f=0;31>f;f++)a.push(o);return a}function Xo(o,a,f){o.pendingLanes|=a,a!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,a=31-Er(a),o[a]=f}function Rb(o,a){var f=o.pendingLanes&~a;o.pendingLanes=a,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=a,o.mutableReadLanes&=a,o.entangledLanes&=a,a=o.entanglements;var m=o.eventTimes;for(o=o.expirationTimes;0<f;){var x=31-Er(f),E=1<<x;a[x]=0,m[x]=-1,o[x]=-1,f&=~E}}function vd(o,a){var f=o.entangledLanes|=a;for(o=o.entanglements;f;){var m=31-Er(f),x=1<<m;x&a|o[m]&a&&(o[m]|=a),f&=~x}}var Fn=0;function $p(o){return o&=-o,1<o?4<o?(o&268435455)!==0?16:536870912:4:1}var Vn,Ap,kp,rn,Pp,Po=!1,ml=[],$a=null,vl=null,br=null,ir=new Map,Hu=new Map,co=[],Aa="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 Vi(o,a){switch(o){case"focusin":case"focusout":$a=null;break;case"dragenter":case"dragleave":vl=null;break;case"mouseover":case"mouseout":br=null;break;case"pointerover":case"pointerout":ir.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hu.delete(a.pointerId)}}function Gu(o,a,f,m,x,E){return o===null||o.nativeEvent!==E?(o={blockedOn:a,domEventName:f,eventSystemFlags:m,nativeEvent:E,targetContainers:[x]},a!==null&&(a=Vt(a),a!==null&&Ap(a)),o):(o.eventSystemFlags|=m,a=o.targetContainers,x!==null&&a.indexOf(x)===-1&&a.push(x),o)}function Np(o,a,f,m,x){switch(a){case"focusin":return $a=Gu($a,o,a,f,m,x),!0;case"dragenter":return vl=Gu(vl,o,a,f,m,x),!0;case"mouseover":return br=Gu(br,o,a,f,m,x),!0;case"pointerover":var E=x.pointerId;return ir.set(E,Gu(ir.get(E)||null,o,a,f,m,x)),!0;case"gotpointercapture":return E=x.pointerId,Hu.set(E,Gu(Hu.get(E)||null,o,a,f,m,x)),!0}return!1}function Dp(o){var a=fs(o.target);if(a!==null){var f=At(a);if(f!==null){if(a=f.tag,a===13){if(a=Wt(f),a!==null){o.blockedOn=a,Pp(o.priority,function(){kp(f)});return}}else if(a===3&&f.stateNode.current.memoizedState.isDehydrated){o.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}o.blockedOn=null}function Wu(o){if(o.blockedOn!==null)return!1;for(var a=o.targetContainers;0<a.length;){var f=gd(o.domEventName,o.eventSystemFlags,a[0],o.nativeEvent);if(f===null){f=o.nativeEvent;var m=new f.constructor(f.type,f);qe=m,f.target.dispatchEvent(m),qe=null}else return a=Vt(f),a!==null&&Ap(a),o.blockedOn=f,!1;a.shift()}return!0}function gv(o,a,f){Wu(o)&&f.delete(a)}function Ob(){Po=!1,$a!==null&&Wu($a)&&($a=null),vl!==null&&Wu(vl)&&(vl=null),br!==null&&Wu(br)&&(br=null),ir.forEach(gv),Hu.forEach(gv)}function Yu(o,a){o.blockedOn===a&&(o.blockedOn=null,Po||(Po=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Ob)))}function yl(o){function a(x){return Yu(x,o)}if(0<ml.length){Yu(ml[0],o);for(var f=1;f<ml.length;f++){var m=ml[f];m.blockedOn===o&&(m.blockedOn=null)}}for($a!==null&&Yu($a,o),vl!==null&&Yu(vl,o),br!==null&&Yu(br,o),ir.forEach(a),Hu.forEach(a),f=0;f<co.length;f++)m=co[f],m.blockedOn===o&&(m.blockedOn=null);for(;0<co.length&&(f=co[0],f.blockedOn===null);)Dp(f),f.blockedOn===null&&co.shift()}var rs=V.ReactCurrentBatchConfig,os=!0;function bv(o,a,f,m){var x=Fn,E=rs.transition;rs.transition=null;try{Fn=1,yd(o,a,f,m)}finally{Fn=x,rs.transition=E}}function xv(o,a,f,m){var x=Fn,E=rs.transition;rs.transition=null;try{Fn=4,yd(o,a,f,m)}finally{Fn=x,rs.transition=E}}function yd(o,a,f,m){if(os){var x=gd(o,a,f,m);if(x===null)Id(o,a,m,qu,f),Vi(o,m);else if(Np(x,o,a,f,m))m.stopPropagation();else if(Vi(o,m),a&4&&-1<Aa.indexOf(o)){for(;x!==null;){var E=Vt(x);if(E!==null&&Vn(E),E=gd(o,a,f,m),E===null&&Id(o,a,m,qu,f),E===x)break;x=E}x!==null&&m.stopPropagation()}else Id(o,a,m,null,f)}}var qu=null;function gd(o,a,f,m){if(qu=null,o=U(m),o=fs(o),o!==null)if(a=At(o),a===null)o=null;else if(f=a.tag,f===13){if(o=Wt(a),o!==null)return o;o=null}else if(f===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null);return qu=o,null}function bd(o){switch(o){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(nn()){case Qa:return 1;case ci:return 4;case di:case Ht:return 16;case Bn:return 536870912;default:return 16}default:return 16}}var ji=null,xd=null,Qs=null;function Mp(){if(Qs)return Qs;var o,a=xd,f=a.length,m,x="value"in ji?ji.value:ji.textContent,E=x.length;for(o=0;o<f&&a[o]===x[o];o++);var _=f-o;for(m=1;m<=_&&a[f-m]===x[E-m];m++);return Qs=x.slice(o,1<m?1-m:void 0)}function Sd(o){var a=o.keyCode;return"charCode"in o?(o=o.charCode,o===0&&a===13&&(o=13)):o=a,o===10&&(o=13),32<=o||o===13?o:0}function Cd(){return!0}function wd(){return!1}function Ko(o){function a(f,m,x,E,_){this._reactName=f,this._targetInst=x,this.type=m,this.nativeEvent=E,this.target=_,this.currentTarget=null;for(var re in o)o.hasOwnProperty(re)&&(f=o[re],this[re]=f?f(E):E[re]);return this.isDefaultPrevented=(E.defaultPrevented!=null?E.defaultPrevented:E.returnValue===!1)?Cd:wd,this.isPropagationStopped=wd,this}return ee(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=Cd)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Cd)},persist:function(){},isPersistent:Cd}),a}var as={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(o){return o.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ed=Ko(as),Xs=ee({},as,{view:0,detail:0}),$b=Ko(Xs),Lp,fo,is,Qu=ee({},Xs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jp,button:0,buttons:0,relatedTarget:function(o){return o.relatedTarget===void 0?o.fromElement===o.srcElement?o.toElement:o.fromElement:o.relatedTarget},movementX:function(o){return"movementX"in o?o.movementX:(o!==is&&(is&&o.type==="mousemove"?(Lp=o.screenX-is.screenX,fo=o.screenY-is.screenY):fo=Lp=0,is=o),Lp)},movementY:function(o){return"movementY"in o?o.movementY:fo}}),Ip=Ko(Qu),Ab=ee({},Qu,{dataTransfer:0}),Ks=Ko(Ab),_p=ee({},Xs,{relatedTarget:0}),Td=Ko(_p),kb=ee({},as,{animationName:0,elapsedTime:0,pseudoElement:0}),Pb=Ko(kb),Nb=ee({},as,{clipboardData:function(o){return"clipboardData"in o?o.clipboardData:window.clipboardData}}),Sv=Ko(Nb),Fp=ee({},as,{data:0}),Vp=Ko(Fp),Cv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wv={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"},Db={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ui(o){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(o):(o=Db[o])?!!a[o]:!1}function jp(){return Ui}var Up=ee({},Xs,{key:function(o){if(o.key){var a=Cv[o.key]||o.key;if(a!=="Unidentified")return a}return o.type==="keypress"?(o=Sd(o),o===13?"Enter":String.fromCharCode(o)):o.type==="keydown"||o.type==="keyup"?wv[o.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jp,charCode:function(o){return o.type==="keypress"?Sd(o):0},keyCode:function(o){return o.type==="keydown"||o.type==="keyup"?o.keyCode:0},which:function(o){return o.type==="keypress"?Sd(o):o.type==="keydown"||o.type==="keyup"?o.keyCode:0}}),Bp=Ko(Up),zp=ee({},Qu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ev=Ko(zp),Rd=ee({},Xs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jp}),Tv=Ko(Rd),Zo=ee({},as,{propertyName:0,elapsedTime:0,pseudoElement:0}),Bi=Ko(Zo),Dr=ee({},Qu,{deltaX:function(o){return"deltaX"in o?o.deltaX:"wheelDeltaX"in o?-o.wheelDeltaX:0},deltaY:function(o){return"deltaY"in o?o.deltaY:"wheelDeltaY"in o?-o.wheelDeltaY:"wheelDelta"in o?-o.wheelDelta:0},deltaZ:0,deltaMode:0}),zi=Ko(Dr),Hp=[9,13,27,32],Zs=v&&"CompositionEvent"in window,Xu=null;v&&"documentMode"in document&&(Xu=document.documentMode);var Ku=v&&"TextEvent"in window&&!Xu,Rv=v&&(!Zs||Xu&&8<Xu&&11>=Xu),Ov=" ",Od=!1;function $v(o,a){switch(o){case"keyup":return Hp.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Av(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Js=!1;function kv(o,a){switch(o){case"compositionend":return Av(a);case"keypress":return a.which!==32?null:(Od=!0,Ov);case"textInput":return o=a.data,o===Ov&&Od?null:o;default:return null}}function Mb(o,a){if(Js)return o==="compositionend"||!Zs&&$v(o,a)?(o=Mp(),Qs=xd=ji=null,Js=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return Rv&&a.locale!=="ko"?null:a.data;default:return null}}var Lb={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 Pv(o){var a=o&&o.nodeName&&o.nodeName.toLowerCase();return a==="input"?!!Lb[o.type]:a==="textarea"}function Gp(o,a,f,m){q(m),a=rc(a,"onChange"),0<a.length&&(f=new Ed("onChange","change",null,f,m),o.push({event:f,listeners:a}))}var pi=null,ls=null;function Nv(o){cs(o,0)}function Zu(o){var a=Ka(o);if(te(a))return o}function Ib(o,a){if(o==="change")return a}var Dv=!1;if(v){var Wp;if(v){var Yp="oninput"in document;if(!Yp){var Mv=document.createElement("div");Mv.setAttribute("oninput","return;"),Yp=typeof Mv.oninput=="function"}Wp=Yp}else Wp=!1;Dv=Wp&&(!document.documentMode||9<document.documentMode)}function Lv(){pi&&(pi.detachEvent("onpropertychange",Iv),ls=pi=null)}function Iv(o){if(o.propertyName==="value"&&Zu(ls)){var a=[];Gp(a,ls,o,U(o)),Tt(Nv,a)}}function _b(o,a,f){o==="focusin"?(Lv(),pi=a,ls=f,pi.attachEvent("onpropertychange",Iv)):o==="focusout"&&Lv()}function _v(o){if(o==="selectionchange"||o==="keyup"||o==="keydown")return Zu(ls)}function Fb(o,a){if(o==="click")return Zu(a)}function Fv(o,a){if(o==="input"||o==="change")return Zu(a)}function Vb(o,a){return o===a&&(o!==0||1/o===1/a)||o!==o&&a!==a}var Xa=typeof Object.is=="function"?Object.is:Vb;function Ju(o,a){if(Xa(o,a))return!0;if(typeof o!="object"||o===null||typeof a!="object"||a===null)return!1;var f=Object.keys(o),m=Object.keys(a);if(f.length!==m.length)return!1;for(m=0;m<f.length;m++){var x=f[m];if(!b.call(a,x)||!Xa(o[x],a[x]))return!1}return!0}function Vv(o){for(;o&&o.firstChild;)o=o.firstChild;return o}function $d(o,a){var f=Vv(o);o=0;for(var m;f;){if(f.nodeType===3){if(m=o+f.textContent.length,o<=a&&m>=a)return{node:f,offset:a-o};o=m}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=Vv(f)}}function gl(o,a){return o&&a?o===a?!0:o&&o.nodeType===3?!1:a&&a.nodeType===3?gl(o,a.parentNode):"contains"in o?o.contains(a):o.compareDocumentPosition?!!(o.compareDocumentPosition(a)&16):!1:!1}function ec(){for(var o=window,a=De();a instanceof o.HTMLIFrameElement;){try{var f=typeof a.contentWindow.location.href=="string"}catch{f=!1}if(f)o=a.contentWindow;else break;a=De(o.document)}return a}function Ad(o){var a=o&&o.nodeName&&o.nodeName.toLowerCase();return a&&(a==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||a==="textarea"||o.contentEditable==="true")}function eu(o){var a=ec(),f=o.focusedElem,m=o.selectionRange;if(a!==f&&f&&f.ownerDocument&&gl(f.ownerDocument.documentElement,f)){if(m!==null&&Ad(f)){if(a=m.start,o=m.end,o===void 0&&(o=a),"selectionStart"in f)f.selectionStart=a,f.selectionEnd=Math.min(o,f.value.length);else if(o=(a=f.ownerDocument||document)&&a.defaultView||window,o.getSelection){o=o.getSelection();var x=f.textContent.length,E=Math.min(m.start,x);m=m.end===void 0?E:Math.min(m.end,x),!o.extend&&E>m&&(x=m,m=E,E=x),x=$d(f,E);var _=$d(f,m);x&&_&&(o.rangeCount!==1||o.anchorNode!==x.node||o.anchorOffset!==x.offset||o.focusNode!==_.node||o.focusOffset!==_.offset)&&(a=a.createRange(),a.setStart(x.node,x.offset),o.removeAllRanges(),E>m?(o.addRange(a),o.extend(_.node,_.offset)):(a.setEnd(_.node,_.offset),o.addRange(a)))}}for(a=[],o=f;o=o.parentNode;)o.nodeType===1&&a.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<a.length;f++)o=a[f],o.element.scrollLeft=o.left,o.element.scrollTop=o.top}}var jb=v&&"documentMode"in document&&11>=document.documentMode,tu=null,qp=null,tc=null,Qp=!1;function Xp(o,a,f){var m=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;Qp||tu==null||tu!==De(m)||(m=tu,"selectionStart"in m&&Ad(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focusNode:m.focusNode,focusOffset:m.focusOffset}),tc&&Ju(tc,m)||(tc=m,m=rc(qp,"onSelect"),0<m.length&&(a=new Ed("onSelect","select",null,a,f),o.push({event:a,listeners:m}),a.target=tu)))}function kd(o,a){var f={};return f[o.toLowerCase()]=a.toLowerCase(),f["Webkit"+o]="webkit"+a,f["Moz"+o]="moz"+a,f}var ss={animationend:kd("Animation","AnimationEnd"),animationiteration:kd("Animation","AnimationIteration"),animationstart:kd("Animation","AnimationStart"),transitionend:kd("Transition","TransitionEnd")},po={},Kp={};v&&(Kp=document.createElement("div").style,"AnimationEvent"in window||(delete ss.animationend.animation,delete ss.animationiteration.animation,delete ss.animationstart.animation),"TransitionEvent"in window||delete ss.transitionend.transition);function Pd(o){if(po[o])return po[o];if(!ss[o])return o;var a=ss[o],f;for(f in a)if(a.hasOwnProperty(f)&&f in Kp)return po[o]=a[f];return o}var jv=Pd("animationend"),Uv=Pd("animationiteration"),Bv=Pd("animationstart"),zv=Pd("transitionend"),Zp=new Map,Nd="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 ka(o,a){Zp.set(o,a),p(a,[o])}for(var Jp=0;Jp<Nd.length;Jp++){var us=Nd[Jp],Ub=us.toLowerCase(),Bb=us[0].toUpperCase()+us.slice(1);ka(Ub,"on"+Bb)}ka(jv,"onAnimationEnd"),ka(Uv,"onAnimationIteration"),ka(Bv,"onAnimationStart"),ka("dblclick","onDoubleClick"),ka("focusin","onFocus"),ka("focusout","onBlur"),ka(zv,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),p("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),p("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),p("onBeforeInput",["compositionend","keypress","textInput","paste"]),p("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var nc="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(" "),eh=new Set("cancel close invalid load scroll toggle".split(" ").concat(nc));function Dd(o,a,f){var m=o.type||"unknown-event";o.currentTarget=f,_t(m,a,void 0,o),o.currentTarget=null}function cs(o,a){a=(a&4)!==0;for(var f=0;f<o.length;f++){var m=o[f],x=m.event;m=m.listeners;e:{var E=void 0;if(a)for(var _=m.length-1;0<=_;_--){var re=m[_],de=re.instance,Le=re.currentTarget;if(re=re.listener,de!==E&&x.isPropagationStopped())break e;Dd(x,re,Le),E=de}else for(_=0;_<m.length;_++){if(re=m[_],de=re.instance,Le=re.currentTarget,re=re.listener,de!==E&&x.isPropagationStopped())break e;Dd(x,re,Le),E=de}}}if(an)throw o=ae,an=!1,ae=null,o}function In(o,a){var f=a[ic];f===void 0&&(f=a[ic]=new Set);var m=o+"__bubble";f.has(m)||(Hv(a,o,2,!1),f.add(m))}function Md(o,a,f){var m=0;a&&(m|=4),Hv(f,o,m,a)}var Ld="_reactListening"+Math.random().toString(36).slice(2);function nu(o){if(!o[Ld]){o[Ld]=!0,s.forEach(function(f){f!=="selectionchange"&&(eh.has(f)||Md(f,!1,o),Md(f,!0,o))});var a=o.nodeType===9?o:o.ownerDocument;a===null||a[Ld]||(a[Ld]=!0,Md("selectionchange",!1,a))}}function Hv(o,a,f,m){switch(bd(a)){case 1:var x=bv;break;case 4:x=xv;break;default:x=yd}f=x.bind(null,a,f,o),x=void 0,!dn||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(x=!0),m?x!==void 0?o.addEventListener(a,f,{capture:!0,passive:x}):o.addEventListener(a,f,!0):x!==void 0?o.addEventListener(a,f,{passive:x}):o.addEventListener(a,f,!1)}function Id(o,a,f,m,x){var E=m;if((a&1)===0&&(a&2)===0&&m!==null)e:for(;;){if(m===null)return;var _=m.tag;if(_===3||_===4){var re=m.stateNode.containerInfo;if(re===x||re.nodeType===8&&re.parentNode===x)break;if(_===4)for(_=m.return;_!==null;){var de=_.tag;if((de===3||de===4)&&(de=_.stateNode.containerInfo,de===x||de.nodeType===8&&de.parentNode===x))return;_=_.return}for(;re!==null;){if(_=fs(re),_===null)return;if(de=_.tag,de===5||de===6){m=E=_;continue e}re=re.parentNode}}m=m.return}Tt(function(){var Le=E,Ze=U(f),et=[];e:{var Ke=Zp.get(o);if(Ke!==void 0){var wt=Ed,kt=o;switch(o){case"keypress":if(Sd(f)===0)break e;case"keydown":case"keyup":wt=Bp;break;case"focusin":kt="focus",wt=Td;break;case"focusout":kt="blur",wt=Td;break;case"beforeblur":case"afterblur":wt=Td;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":wt=Ip;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":wt=Ks;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":wt=Tv;break;case jv:case Uv:case Bv:wt=Pb;break;case zv:wt=Bi;break;case"scroll":wt=$b;break;case"wheel":wt=zi;break;case"copy":case"cut":case"paste":wt=Sv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":wt=Ev}var Mt=(a&4)!==0,kr=!Mt&&o==="scroll",Ae=Mt?Ke!==null?Ke+"Capture":null:Ke;Mt=[];for(var xe=Le,Ne;xe!==null;){Ne=xe;var Je=Ne.stateNode;if(Ne.tag===5&&Je!==null&&(Ne=Je,Ae!==null&&(Je=$t(xe,Ae),Je!=null&&Mt.push(ru(xe,Je,Ne)))),kr)break;xe=xe.return}0<Mt.length&&(Ke=new wt(Ke,kt,null,f,Ze),et.push({event:Ke,listeners:Mt}))}}if((a&7)===0){e:{if(Ke=o==="mouseover"||o==="pointerover",wt=o==="mouseout"||o==="pointerout",Ke&&f!==qe&&(kt=f.relatedTarget||f.fromElement)&&(fs(kt)||kt[Hi]))break e;if((wt||Ke)&&(Ke=Ze.window===Ze?Ze:(Ke=Ze.ownerDocument)?Ke.defaultView||Ke.parentWindow:window,wt?(kt=f.relatedTarget||f.toElement,wt=Le,kt=kt?fs(kt):null,kt!==null&&(kr=At(kt),kt!==kr||kt.tag!==5&&kt.tag!==6)&&(kt=null)):(wt=null,kt=Le),wt!==kt)){if(Mt=Ip,Je="onMouseLeave",Ae="onMouseEnter",xe="mouse",(o==="pointerout"||o==="pointerover")&&(Mt=Ev,Je="onPointerLeave",Ae="onPointerEnter",xe="pointer"),kr=wt==null?Ke:Ka(wt),Ne=kt==null?Ke:Ka(kt),Ke=new Mt(Je,xe+"leave",wt,f,Ze),Ke.target=kr,Ke.relatedTarget=Ne,Je=null,fs(Ze)===Le&&(Mt=new Mt(Ae,xe+"enter",kt,f,Ze),Mt.target=Ne,Mt.relatedTarget=kr,Je=Mt),kr=Je,wt&&kt)t:{for(Mt=wt,Ae=kt,xe=0,Ne=Mt;Ne;Ne=bl(Ne))xe++;for(Ne=0,Je=Ae;Je;Je=bl(Je))Ne++;for(;0<xe-Ne;)Mt=bl(Mt),xe--;for(;0<Ne-xe;)Ae=bl(Ae),Ne--;for(;xe--;){if(Mt===Ae||Ae!==null&&Mt===Ae.alternate)break t;Mt=bl(Mt),Ae=bl(Ae)}Mt=null}else Mt=null;wt!==null&&Gv(et,Ke,wt,Mt,!1),kt!==null&&kr!==null&&Gv(et,kr,kt,Mt,!0)}}e:{if(Ke=Le?Ka(Le):window,wt=Ke.nodeName&&Ke.nodeName.toLowerCase(),wt==="select"||wt==="input"&&Ke.type==="file")var Pt=Ib;else if(Pv(Ke))if(Dv)Pt=Fv;else{Pt=_v;var Bt=_b}else(wt=Ke.nodeName)&&wt.toLowerCase()==="input"&&(Ke.type==="checkbox"||Ke.type==="radio")&&(Pt=Fb);if(Pt&&(Pt=Pt(o,Le))){Gp(et,Pt,f,Ze);break e}Bt&&Bt(o,Ke,Le),o==="focusout"&&(Bt=Ke._wrapperState)&&Bt.controlled&&Ke.type==="number"&&vt(Ke,"number",Ke.value)}switch(Bt=Le?Ka(Le):window,o){case"focusin":(Pv(Bt)||Bt.contentEditable==="true")&&(tu=Bt,qp=Le,tc=null);break;case"focusout":tc=qp=tu=null;break;case"mousedown":Qp=!0;break;case"contextmenu":case"mouseup":case"dragend":Qp=!1,Xp(et,f,Ze);break;case"selectionchange":if(jb)break;case"keydown":case"keyup":Xp(et,f,Ze)}var Gt;if(Zs)e:{switch(o){case"compositionstart":var Kt="onCompositionStart";break e;case"compositionend":Kt="onCompositionEnd";break e;case"compositionupdate":Kt="onCompositionUpdate";break e}Kt=void 0}else Js?$v(o,f)&&(Kt="onCompositionEnd"):o==="keydown"&&f.keyCode===229&&(Kt="onCompositionStart");Kt&&(Rv&&f.locale!=="ko"&&(Js||Kt!=="onCompositionStart"?Kt==="onCompositionEnd"&&Js&&(Gt=Mp()):(ji=Ze,xd="value"in ji?ji.value:ji.textContent,Js=!0)),Bt=rc(Le,Kt),0<Bt.length&&(Kt=new Vp(Kt,o,null,f,Ze),et.push({event:Kt,listeners:Bt}),Gt?Kt.data=Gt:(Gt=Av(f),Gt!==null&&(Kt.data=Gt)))),(Gt=Ku?kv(o,f):Mb(o,f))&&(Le=rc(Le,"onBeforeInput"),0<Le.length&&(Ze=new Vp("onBeforeInput","beforeinput",null,f,Ze),et.push({event:Ze,listeners:Le}),Ze.data=Gt))}cs(et,a)})}function ru(o,a,f){return{instance:o,listener:a,currentTarget:f}}function rc(o,a){for(var f=a+"Capture",m=[];o!==null;){var x=o,E=x.stateNode;x.tag===5&&E!==null&&(x=E,E=$t(o,f),E!=null&&m.unshift(ru(o,E,x)),E=$t(o,a),E!=null&&m.push(ru(o,E,x))),o=o.return}return m}function bl(o){if(o===null)return null;do o=o.return;while(o&&o.tag!==5);return o||null}function Gv(o,a,f,m,x){for(var E=a._reactName,_=[];f!==null&&f!==m;){var re=f,de=re.alternate,Le=re.stateNode;if(de!==null&&de===m)break;re.tag===5&&Le!==null&&(re=Le,x?(de=$t(f,E),de!=null&&_.unshift(ru(f,de,re))):x||(de=$t(f,E),de!=null&&_.push(ru(f,de,re)))),f=f.return}_.length!==0&&o.push({event:a,listeners:_})}var Wv=/\r\n?/g,zb=/\u0000|\uFFFD/g;function Yv(o){return(typeof o=="string"?o:""+o).replace(Wv,`
|
|
2704
|
-
`).replace(zb,"")}function _d(o,a,f){if(a=Yv(a),Yv(o)!==a&&f)throw Error(i(425))}function xl(){}var oc=null,ds=null;function Fd(o,a){return o==="textarea"||o==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Vd=typeof setTimeout=="function"?setTimeout:void 0,th=typeof clearTimeout=="function"?clearTimeout:void 0,qv=typeof Promise=="function"?Promise:void 0,ou=typeof queueMicrotask=="function"?queueMicrotask:typeof qv<"u"?function(o){return qv.resolve(null).then(o).catch(jd)}:Vd;function jd(o){setTimeout(function(){throw o})}function au(o,a){var f=a,m=0;do{var x=f.nextSibling;if(o.removeChild(f),x&&x.nodeType===8)if(f=x.data,f==="/$"){if(m===0){o.removeChild(x),yl(a);return}m--}else f!=="$"&&f!=="$?"&&f!=="$!"||m++;f=x}while(f);yl(a)}function hi(o){for(;o!=null;o=o.nextSibling){var a=o.nodeType;if(a===1||a===3)break;if(a===8){if(a=o.data,a==="$"||a==="$!"||a==="$?")break;if(a==="/$")return null}}return o}function Qv(o){o=o.previousSibling;for(var a=0;o;){if(o.nodeType===8){var f=o.data;if(f==="$"||f==="$!"||f==="$?"){if(a===0)return o;a--}else f==="/$"&&a++}o=o.previousSibling}return null}var Sl=Math.random().toString(36).slice(2),mi="__reactFiber$"+Sl,ac="__reactProps$"+Sl,Hi="__reactContainer$"+Sl,ic="__reactEvents$"+Sl,iu="__reactListeners$"+Sl,Hb="__reactHandles$"+Sl;function fs(o){var a=o[mi];if(a)return a;for(var f=o.parentNode;f;){if(a=f[Hi]||f[mi]){if(f=a.alternate,a.child!==null||f!==null&&f.child!==null)for(o=Qv(o);o!==null;){if(f=o[mi])return f;o=Qv(o)}return a}o=f,f=o.parentNode}return null}function Vt(o){return o=o[mi]||o[Hi],!o||o.tag!==5&&o.tag!==6&&o.tag!==13&&o.tag!==3?null:o}function Ka(o){if(o.tag===5||o.tag===6)return o.stateNode;throw Error(i(33))}function pr(o){return o[ac]||null}var xn=[],Pa=-1;function Na(o){return{current:o}}function er(o){0>Pa||(o.current=xn[Pa],xn[Pa]=null,Pa--)}function Ft(o,a){Pa++,xn[Pa]=o.current,o.current=a}var Ro={},xr=Na(Ro),Gr=Na(!1),Jo=Ro;function ea(o,a){var f=o.type.contextTypes;if(!f)return Ro;var m=o.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===a)return m.__reactInternalMemoizedMaskedChildContext;var x={},E;for(E in f)x[E]=a[E];return m&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=a,o.__reactInternalMemoizedMaskedChildContext=x),x}function Mr(o){return o=o.childContextTypes,o!=null}function lu(){er(Gr),er(xr)}function Xv(o,a,f){if(xr.current!==Ro)throw Error(i(168));Ft(xr,a),Ft(Gr,f)}function lc(o,a,f){var m=o.stateNode;if(a=a.childContextTypes,typeof m.getChildContext!="function")return f;m=m.getChildContext();for(var x in m)if(!(x in a))throw Error(i(108,We(o)||"Unknown",x));return ee({},f,m)}function Jr(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Ro,Jo=xr.current,Ft(xr,o),Ft(Gr,Gr.current),!0}function Ud(o,a,f){var m=o.stateNode;if(!m)throw Error(i(169));f?(o=lc(o,a,Jo),m.__reactInternalMemoizedMergedChildContext=o,er(Gr),er(xr),Ft(xr,o)):er(Gr),Ft(Gr,f)}var vi=null,su=!1,Gi=!1;function Bd(o){vi===null?vi=[o]:vi.push(o)}function Cl(o){su=!0,Bd(o)}function yi(){if(!Gi&&vi!==null){Gi=!0;var o=0,a=Fn;try{var f=vi;for(Fn=1;o<f.length;o++){var m=f[o];do m=m(!0);while(m!==null)}vi=null,su=!1}catch(x){throw vi!==null&&(vi=vi.slice(o+1)),ar(Qa,yi),x}finally{Fn=a,Gi=!1}}return null}var wl=[],El=0,Tl=null,Wi=0,Lr=[],Da=0,ya=null,gi=1,bi="";function ps(o,a){wl[El++]=Wi,wl[El++]=Tl,Tl=o,Wi=a}function Kv(o,a,f){Lr[Da++]=gi,Lr[Da++]=bi,Lr[Da++]=ya,ya=o;var m=gi;o=bi;var x=32-Er(m)-1;m&=~(1<<x),f+=1;var E=32-Er(a)+x;if(30<E){var _=x-x%5;E=(m&(1<<_)-1).toString(32),m>>=_,x-=_,gi=1<<32-Er(a)+x|f<<x|m,bi=E+o}else gi=1<<E|f<<x|m,bi=o}function zd(o){o.return!==null&&(ps(o,1),Kv(o,1,0))}function Hd(o){for(;o===Tl;)Tl=wl[--El],wl[El]=null,Wi=wl[--El],wl[El]=null;for(;o===ya;)ya=Lr[--Da],Lr[Da]=null,bi=Lr[--Da],Lr[Da]=null,gi=Lr[--Da],Lr[Da]=null}var ta=null,na=null,cr=!1,Ma=null;function nh(o,a){var f=Va(5,null,null,0);f.elementType="DELETED",f.stateNode=a,f.return=o,a=o.deletions,a===null?(o.deletions=[f],o.flags|=16):a.push(f)}function Zv(o,a){switch(o.tag){case 5:var f=o.type;return a=a.nodeType!==1||f.toLowerCase()!==a.nodeName.toLowerCase()?null:a,a!==null?(o.stateNode=a,ta=o,na=hi(a.firstChild),!0):!1;case 6:return a=o.pendingProps===""||a.nodeType!==3?null:a,a!==null?(o.stateNode=a,ta=o,na=null,!0):!1;case 13:return a=a.nodeType!==8?null:a,a!==null?(f=ya!==null?{id:gi,overflow:bi}:null,o.memoizedState={dehydrated:a,treeContext:f,retryLane:1073741824},f=Va(18,null,null,0),f.stateNode=a,f.return=o,o.child=f,ta=o,na=null,!0):!1;default:return!1}}function rh(o){return(o.mode&1)!==0&&(o.flags&128)===0}function oh(o){if(cr){var a=na;if(a){var f=a;if(!Zv(o,a)){if(rh(o))throw Error(i(418));a=hi(f.nextSibling);var m=ta;a&&Zv(o,a)?nh(m,f):(o.flags=o.flags&-4097|2,cr=!1,ta=o)}}else{if(rh(o))throw Error(i(418));o.flags=o.flags&-4097|2,cr=!1,ta=o}}}function Wr(o){for(o=o.return;o!==null&&o.tag!==5&&o.tag!==3&&o.tag!==13;)o=o.return;ta=o}function Gd(o){if(o!==ta)return!1;if(!cr)return Wr(o),cr=!0,!1;var a;if((a=o.tag!==3)&&!(a=o.tag!==5)&&(a=o.type,a=a!=="head"&&a!=="body"&&!Fd(o.type,o.memoizedProps)),a&&(a=na)){if(rh(o))throw sc(),Error(i(418));for(;a;)nh(o,a),a=hi(a.nextSibling)}if(Wr(o),o.tag===13){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(i(317));e:{for(o=o.nextSibling,a=0;o;){if(o.nodeType===8){var f=o.data;if(f==="/$"){if(a===0){na=hi(o.nextSibling);break e}a--}else f!=="$"&&f!=="$!"&&f!=="$?"||a++}o=o.nextSibling}na=null}}else na=ta?hi(o.stateNode.nextSibling):null;return!0}function sc(){for(var o=na;o;)o=hi(o.nextSibling)}function Rl(){na=ta=null,cr=!1}function Yi(o){Ma===null?Ma=[o]:Ma.push(o)}var Gb=V.ReactCurrentBatchConfig;function hs(o,a,f){if(o=f.ref,o!==null&&typeof o!="function"&&typeof o!="object"){if(f._owner){if(f=f._owner,f){if(f.tag!==1)throw Error(i(309));var m=f.stateNode}if(!m)throw Error(i(147,o));var x=m,E=""+o;return a!==null&&a.ref!==null&&typeof a.ref=="function"&&a.ref._stringRef===E?a.ref:(a=function(_){var re=x.refs;_===null?delete re[E]:re[E]=_},a._stringRef=E,a)}if(typeof o!="string")throw Error(i(284));if(!f._owner)throw Error(i(290,o))}return o}function Wd(o,a){throw o=Object.prototype.toString.call(a),Error(i(31,o==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":o))}function Jv(o){var a=o._init;return a(o._payload)}function ms(o){function a(Ae,xe){if(o){var Ne=Ae.deletions;Ne===null?(Ae.deletions=[xe],Ae.flags|=16):Ne.push(xe)}}function f(Ae,xe){if(!o)return null;for(;xe!==null;)a(Ae,xe),xe=xe.sibling;return null}function m(Ae,xe){for(Ae=new Map;xe!==null;)xe.key!==null?Ae.set(xe.key,xe):Ae.set(xe.index,xe),xe=xe.sibling;return Ae}function x(Ae,xe){return Ae=Ml(Ae,xe),Ae.index=0,Ae.sibling=null,Ae}function E(Ae,xe,Ne){return Ae.index=Ne,o?(Ne=Ae.alternate,Ne!==null?(Ne=Ne.index,Ne<xe?(Ae.flags|=2,xe):Ne):(Ae.flags|=2,xe)):(Ae.flags|=1048576,xe)}function _(Ae){return o&&Ae.alternate===null&&(Ae.flags|=2),Ae}function re(Ae,xe,Ne,Je){return xe===null||xe.tag!==6?(xe=Lh(Ne,Ae.mode,Je),xe.return=Ae,xe):(xe=x(xe,Ne),xe.return=Ae,xe)}function de(Ae,xe,Ne,Je){var Pt=Ne.type;return Pt===Z?Ze(Ae,xe,Ne.props.children,Je,Ne.key):xe!==null&&(xe.elementType===Pt||typeof Pt=="object"&&Pt!==null&&Pt.$$typeof===fe&&Jv(Pt)===xe.type)?(Je=x(xe,Ne.props),Je.ref=hs(Ae,xe,Ne),Je.return=Ae,Je):(Je=Fc(Ne.type,Ne.key,Ne.props,null,Ae.mode,Je),Je.ref=hs(Ae,xe,Ne),Je.return=Ae,Je)}function Le(Ae,xe,Ne,Je){return xe===null||xe.tag!==4||xe.stateNode.containerInfo!==Ne.containerInfo||xe.stateNode.implementation!==Ne.implementation?(xe=Rf(Ne,Ae.mode,Je),xe.return=Ae,xe):(xe=x(xe,Ne.children||[]),xe.return=Ae,xe)}function Ze(Ae,xe,Ne,Je,Pt){return xe===null||xe.tag!==7?(xe=Ji(Ne,Ae.mode,Je,Pt),xe.return=Ae,xe):(xe=x(xe,Ne),xe.return=Ae,xe)}function et(Ae,xe,Ne){if(typeof xe=="string"&&xe!==""||typeof xe=="number")return xe=Lh(""+xe,Ae.mode,Ne),xe.return=Ae,xe;if(typeof xe=="object"&&xe!==null){switch(xe.$$typeof){case N:return Ne=Fc(xe.type,xe.key,xe.props,null,Ae.mode,Ne),Ne.ref=hs(Ae,null,xe),Ne.return=Ae,Ne;case z:return xe=Rf(xe,Ae.mode,Ne),xe.return=Ae,xe;case fe:var Je=xe._init;return et(Ae,Je(xe._payload),Ne)}if(yt(xe)||ne(xe))return xe=Ji(xe,Ae.mode,Ne,null),xe.return=Ae,xe;Wd(Ae,xe)}return null}function Ke(Ae,xe,Ne,Je){var Pt=xe!==null?xe.key:null;if(typeof Ne=="string"&&Ne!==""||typeof Ne=="number")return Pt!==null?null:re(Ae,xe,""+Ne,Je);if(typeof Ne=="object"&&Ne!==null){switch(Ne.$$typeof){case N:return Ne.key===Pt?de(Ae,xe,Ne,Je):null;case z:return Ne.key===Pt?Le(Ae,xe,Ne,Je):null;case fe:return Pt=Ne._init,Ke(Ae,xe,Pt(Ne._payload),Je)}if(yt(Ne)||ne(Ne))return Pt!==null?null:Ze(Ae,xe,Ne,Je,null);Wd(Ae,Ne)}return null}function wt(Ae,xe,Ne,Je,Pt){if(typeof Je=="string"&&Je!==""||typeof Je=="number")return Ae=Ae.get(Ne)||null,re(xe,Ae,""+Je,Pt);if(typeof Je=="object"&&Je!==null){switch(Je.$$typeof){case N:return Ae=Ae.get(Je.key===null?Ne:Je.key)||null,de(xe,Ae,Je,Pt);case z:return Ae=Ae.get(Je.key===null?Ne:Je.key)||null,Le(xe,Ae,Je,Pt);case fe:var Bt=Je._init;return wt(Ae,xe,Ne,Bt(Je._payload),Pt)}if(yt(Je)||ne(Je))return Ae=Ae.get(Ne)||null,Ze(xe,Ae,Je,Pt,null);Wd(xe,Je)}return null}function kt(Ae,xe,Ne,Je){for(var Pt=null,Bt=null,Gt=xe,Kt=xe=0,no=null;Gt!==null&&Kt<Ne.length;Kt++){Gt.index>Kt?(no=Gt,Gt=null):no=Gt.sibling;var kn=Ke(Ae,Gt,Ne[Kt],Je);if(kn===null){Gt===null&&(Gt=no);break}o&&Gt&&kn.alternate===null&&a(Ae,Gt),xe=E(kn,xe,Kt),Bt===null?Pt=kn:Bt.sibling=kn,Bt=kn,Gt=no}if(Kt===Ne.length)return f(Ae,Gt),cr&&ps(Ae,Kt),Pt;if(Gt===null){for(;Kt<Ne.length;Kt++)Gt=et(Ae,Ne[Kt],Je),Gt!==null&&(xe=E(Gt,xe,Kt),Bt===null?Pt=Gt:Bt.sibling=Gt,Bt=Gt);return cr&&ps(Ae,Kt),Pt}for(Gt=m(Ae,Gt);Kt<Ne.length;Kt++)no=wt(Gt,Ae,Kt,Ne[Kt],Je),no!==null&&(o&&no.alternate!==null&&Gt.delete(no.key===null?Kt:no.key),xe=E(no,xe,Kt),Bt===null?Pt=no:Bt.sibling=no,Bt=no);return o&&Gt.forEach(function(_l){return a(Ae,_l)}),cr&&ps(Ae,Kt),Pt}function Mt(Ae,xe,Ne,Je){var Pt=ne(Ne);if(typeof Pt!="function")throw Error(i(150));if(Ne=Pt.call(Ne),Ne==null)throw Error(i(151));for(var Bt=Pt=null,Gt=xe,Kt=xe=0,no=null,kn=Ne.next();Gt!==null&&!kn.done;Kt++,kn=Ne.next()){Gt.index>Kt?(no=Gt,Gt=null):no=Gt.sibling;var _l=Ke(Ae,Gt,kn.value,Je);if(_l===null){Gt===null&&(Gt=no);break}o&&Gt&&_l.alternate===null&&a(Ae,Gt),xe=E(_l,xe,Kt),Bt===null?Pt=_l:Bt.sibling=_l,Bt=_l,Gt=no}if(kn.done)return f(Ae,Gt),cr&&ps(Ae,Kt),Pt;if(Gt===null){for(;!kn.done;Kt++,kn=Ne.next())kn=et(Ae,kn.value,Je),kn!==null&&(xe=E(kn,xe,Kt),Bt===null?Pt=kn:Bt.sibling=kn,Bt=kn);return cr&&ps(Ae,Kt),Pt}for(Gt=m(Ae,Gt);!kn.done;Kt++,kn=Ne.next())kn=wt(Gt,Ae,Kt,kn.value,Je),kn!==null&&(o&&kn.alternate!==null&&Gt.delete(kn.key===null?Kt:kn.key),xe=E(kn,xe,Kt),Bt===null?Pt=kn:Bt.sibling=kn,Bt=kn);return o&&Gt.forEach(function(Ly){return a(Ae,Ly)}),cr&&ps(Ae,Kt),Pt}function kr(Ae,xe,Ne,Je){if(typeof Ne=="object"&&Ne!==null&&Ne.type===Z&&Ne.key===null&&(Ne=Ne.props.children),typeof Ne=="object"&&Ne!==null){switch(Ne.$$typeof){case N:e:{for(var Pt=Ne.key,Bt=xe;Bt!==null;){if(Bt.key===Pt){if(Pt=Ne.type,Pt===Z){if(Bt.tag===7){f(Ae,Bt.sibling),xe=x(Bt,Ne.props.children),xe.return=Ae,Ae=xe;break e}}else if(Bt.elementType===Pt||typeof Pt=="object"&&Pt!==null&&Pt.$$typeof===fe&&Jv(Pt)===Bt.type){f(Ae,Bt.sibling),xe=x(Bt,Ne.props),xe.ref=hs(Ae,Bt,Ne),xe.return=Ae,Ae=xe;break e}f(Ae,Bt);break}else a(Ae,Bt);Bt=Bt.sibling}Ne.type===Z?(xe=Ji(Ne.props.children,Ae.mode,Je,Ne.key),xe.return=Ae,Ae=xe):(Je=Fc(Ne.type,Ne.key,Ne.props,null,Ae.mode,Je),Je.ref=hs(Ae,xe,Ne),Je.return=Ae,Ae=Je)}return _(Ae);case z:e:{for(Bt=Ne.key;xe!==null;){if(xe.key===Bt)if(xe.tag===4&&xe.stateNode.containerInfo===Ne.containerInfo&&xe.stateNode.implementation===Ne.implementation){f(Ae,xe.sibling),xe=x(xe,Ne.children||[]),xe.return=Ae,Ae=xe;break e}else{f(Ae,xe);break}else a(Ae,xe);xe=xe.sibling}xe=Rf(Ne,Ae.mode,Je),xe.return=Ae,Ae=xe}return _(Ae);case fe:return Bt=Ne._init,kr(Ae,xe,Bt(Ne._payload),Je)}if(yt(Ne))return kt(Ae,xe,Ne,Je);if(ne(Ne))return Mt(Ae,xe,Ne,Je);Wd(Ae,Ne)}return typeof Ne=="string"&&Ne!==""||typeof Ne=="number"?(Ne=""+Ne,xe!==null&&xe.tag===6?(f(Ae,xe.sibling),xe=x(xe,Ne),xe.return=Ae,Ae=xe):(f(Ae,xe),xe=Lh(Ne,Ae.mode,Je),xe.return=Ae,Ae=xe),_(Ae)):f(Ae,xe)}return kr}var Rr=ms(!0),bt=ms(!1),ga=Na(null),ra=null,uu=null,ah=null;function ih(){ah=uu=ra=null}function lh(o){var a=ga.current;er(ga),o._currentValue=a}function sh(o,a,f){for(;o!==null;){var m=o.alternate;if((o.childLanes&a)!==a?(o.childLanes|=a,m!==null&&(m.childLanes|=a)):m!==null&&(m.childLanes&a)!==a&&(m.childLanes|=a),o===f)break;o=o.return}}function hr(o,a){ra=o,ah=uu=null,o=o.dependencies,o!==null&&o.firstContext!==null&&((o.lanes&a)!==0&&(_r=!0),o.firstContext=null)}function La(o){var a=o._currentValue;if(ah!==o)if(o={context:o,memoizedValue:a,next:null},uu===null){if(ra===null)throw Error(i(308));uu=o,ra.dependencies={lanes:0,firstContext:o}}else uu=uu.next=o;return a}var vs=null;function uh(o){vs===null?vs=[o]:vs.push(o)}function ch(o,a,f,m){var x=a.interleaved;return x===null?(f.next=f,uh(a)):(f.next=x.next,x.next=f),a.interleaved=f,ba(o,m)}function ba(o,a){o.lanes|=a;var f=o.alternate;for(f!==null&&(f.lanes|=a),f=o,o=o.return;o!==null;)o.childLanes|=a,f=o.alternate,f!==null&&(f.childLanes|=a),f=o,o=o.return;return f.tag===3?f.stateNode:null}var xa=!1;function dh(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ey(o,a){o=o.updateQueue,a.updateQueue===o&&(a.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects})}function qi(o,a){return{eventTime:o,lane:a,tag:0,payload:null,callback:null,next:null}}function Ol(o,a,f){var m=o.updateQueue;if(m===null)return null;if(m=m.shared,(Sn&2)!==0){var x=m.pending;return x===null?a.next=a:(a.next=x.next,x.next=a),m.pending=a,ba(o,f)}return x=m.interleaved,x===null?(a.next=a,uh(m)):(a.next=x.next,x.next=a),m.interleaved=a,ba(o,f)}function Yd(o,a,f){if(a=a.updateQueue,a!==null&&(a=a.shared,(f&4194240)!==0)){var m=a.lanes;m&=o.pendingLanes,f|=m,a.lanes=f,vd(o,f)}}function ty(o,a){var f=o.updateQueue,m=o.alternate;if(m!==null&&(m=m.updateQueue,f===m)){var x=null,E=null;if(f=f.firstBaseUpdate,f!==null){do{var _={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};E===null?x=E=_:E=E.next=_,f=f.next}while(f!==null);E===null?x=E=a:E=E.next=a}else x=E=a;f={baseState:m.baseState,firstBaseUpdate:x,lastBaseUpdate:E,shared:m.shared,effects:m.effects},o.updateQueue=f;return}o=f.lastBaseUpdate,o===null?f.firstBaseUpdate=a:o.next=a,f.lastBaseUpdate=a}function uc(o,a,f,m){var x=o.updateQueue;xa=!1;var E=x.firstBaseUpdate,_=x.lastBaseUpdate,re=x.shared.pending;if(re!==null){x.shared.pending=null;var de=re,Le=de.next;de.next=null,_===null?E=Le:_.next=Le,_=de;var Ze=o.alternate;Ze!==null&&(Ze=Ze.updateQueue,re=Ze.lastBaseUpdate,re!==_&&(re===null?Ze.firstBaseUpdate=Le:re.next=Le,Ze.lastBaseUpdate=de))}if(E!==null){var et=x.baseState;_=0,Ze=Le=de=null,re=E;do{var Ke=re.lane,wt=re.eventTime;if((m&Ke)===Ke){Ze!==null&&(Ze=Ze.next={eventTime:wt,lane:0,tag:re.tag,payload:re.payload,callback:re.callback,next:null});e:{var kt=o,Mt=re;switch(Ke=a,wt=f,Mt.tag){case 1:if(kt=Mt.payload,typeof kt=="function"){et=kt.call(wt,et,Ke);break e}et=kt;break e;case 3:kt.flags=kt.flags&-65537|128;case 0:if(kt=Mt.payload,Ke=typeof kt=="function"?kt.call(wt,et,Ke):kt,Ke==null)break e;et=ee({},et,Ke);break e;case 2:xa=!0}}re.callback!==null&&re.lane!==0&&(o.flags|=64,Ke=x.effects,Ke===null?x.effects=[re]:Ke.push(re))}else wt={eventTime:wt,lane:Ke,tag:re.tag,payload:re.payload,callback:re.callback,next:null},Ze===null?(Le=Ze=wt,de=et):Ze=Ze.next=wt,_|=Ke;if(re=re.next,re===null){if(re=x.shared.pending,re===null)break;Ke=re,re=Ke.next,Ke.next=null,x.lastBaseUpdate=Ke,x.shared.pending=null}}while(!0);if(Ze===null&&(de=et),x.baseState=de,x.firstBaseUpdate=Le,x.lastBaseUpdate=Ze,a=x.shared.interleaved,a!==null){x=a;do _|=x.lane,x=x.next;while(x!==a)}else E===null&&(x.shared.lanes=0);Ei|=_,o.lanes=_,o.memoizedState=et}}function fh(o,a,f){if(o=a.effects,a.effects=null,o!==null)for(a=0;a<o.length;a++){var m=o[a],x=m.callback;if(x!==null){if(m.callback=null,m=f,typeof x!="function")throw Error(i(191,x));x.call(m)}}}var cc={},xi=Na(cc),dc=Na(cc),fc=Na(cc);function ys(o){if(o===cc)throw Error(i(174));return o}function ph(o,a){switch(Ft(fc,a),Ft(dc,o),Ft(xi,cc),o=a.nodeType,o){case 9:case 11:a=(a=a.documentElement)?a.namespaceURI:Tn(null,"");break;default:o=o===8?a.parentNode:a,a=o.namespaceURI||null,o=o.tagName,a=Tn(a,o)}er(xi),Ft(xi,a)}function gs(){er(xi),er(dc),er(fc)}function ny(o){ys(fc.current);var a=ys(xi.current),f=Tn(a,o.type);a!==f&&(Ft(dc,o),Ft(xi,f))}function qd(o){dc.current===o&&(er(xi),er(dc))}var mr=Na(0);function Qd(o){for(var a=o;a!==null;){if(a.tag===13){var f=a.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===o)break;for(;a.sibling===null;){if(a.return===null||a.return===o)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var pc=[];function jt(){for(var o=0;o<pc.length;o++)pc[o]._workInProgressVersionPrimary=null;pc.length=0}var hn=V.ReactCurrentDispatcher,$n=V.ReactCurrentBatchConfig,zn=0,An=null,Ir=null,eo=null,Xd=!1,hc=!1,bs=0,Xe=0;function En(){throw Error(i(321))}function qt(o,a){if(a===null)return!1;for(var f=0;f<a.length&&f<o.length;f++)if(!Xa(o[f],a[f]))return!1;return!0}function $l(o,a,f,m,x,E){if(zn=E,An=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,hn.current=o===null||o.memoizedState===null?ff:xc,o=f(m,x),hc){E=0;do{if(hc=!1,bs=0,25<=E)throw Error(i(301));E+=1,eo=Ir=null,a.updateQueue=null,hn.current=pf,o=f(m,x)}while(hc)}if(hn.current=Es,a=Ir!==null&&Ir.next!==null,zn=0,eo=Ir=An=null,Xd=!1,a)throw Error(i(300));return o}function Za(){var o=bs!==0;return bs=0,o}function Oo(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return eo===null?An.memoizedState=eo=o:eo=eo.next=o,eo}function Or(){if(Ir===null){var o=An.alternate;o=o!==null?o.memoizedState:null}else o=Ir.next;var a=eo===null?An.memoizedState:eo.next;if(a!==null)eo=a,Ir=o;else{if(o===null)throw Error(i(310));Ir=o,o={memoizedState:Ir.memoizedState,baseState:Ir.baseState,baseQueue:Ir.baseQueue,queue:Ir.queue,next:null},eo===null?An.memoizedState=eo=o:eo=eo.next=o}return eo}function Qi(o,a){return typeof a=="function"?a(o):a}function Al(o){var a=Or(),f=a.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=o;var m=Ir,x=m.baseQueue,E=f.pending;if(E!==null){if(x!==null){var _=x.next;x.next=E.next,E.next=_}m.baseQueue=x=E,f.pending=null}if(x!==null){E=x.next,m=m.baseState;var re=_=null,de=null,Le=E;do{var Ze=Le.lane;if((zn&Ze)===Ze)de!==null&&(de=de.next={lane:0,action:Le.action,hasEagerState:Le.hasEagerState,eagerState:Le.eagerState,next:null}),m=Le.hasEagerState?Le.eagerState:o(m,Le.action);else{var et={lane:Ze,action:Le.action,hasEagerState:Le.hasEagerState,eagerState:Le.eagerState,next:null};de===null?(re=de=et,_=m):de=de.next=et,An.lanes|=Ze,Ei|=Ze}Le=Le.next}while(Le!==null&&Le!==E);de===null?_=m:de.next=re,Xa(m,a.memoizedState)||(_r=!0),a.memoizedState=m,a.baseState=_,a.baseQueue=de,f.lastRenderedState=m}if(o=f.interleaved,o!==null){x=o;do E=x.lane,An.lanes|=E,Ei|=E,x=x.next;while(x!==o)}else x===null&&(f.lanes=0);return[a.memoizedState,f.dispatch]}function xs(o){var a=Or(),f=a.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=o;var m=f.dispatch,x=f.pending,E=a.memoizedState;if(x!==null){f.pending=null;var _=x=x.next;do E=o(E,_.action),_=_.next;while(_!==x);Xa(E,a.memoizedState)||(_r=!0),a.memoizedState=E,a.baseQueue===null&&(a.baseState=E),f.lastRenderedState=E}return[E,m]}function Kd(){}function Zd(o,a){var f=An,m=Or(),x=a(),E=!Xa(m.memoizedState,x);if(E&&(m.memoizedState=x,_r=!0),m=m.queue,mc(tf.bind(null,f,m,o),[o]),m.getSnapshot!==a||E||eo!==null&&eo.memoizedState.tag&1){if(f.flags|=2048,Ss(9,ef.bind(null,f,m,x,a),void 0,null),Yr===null)throw Error(i(349));(zn&30)!==0||Jd(f,a,x)}return x}function Jd(o,a,f){o.flags|=16384,o={getSnapshot:a,value:f},a=An.updateQueue,a===null?(a={lastEffect:null,stores:null},An.updateQueue=a,a.stores=[o]):(f=a.stores,f===null?a.stores=[o]:f.push(o))}function ef(o,a,f,m){a.value=f,a.getSnapshot=m,nf(a)&&rf(o)}function tf(o,a,f){return f(function(){nf(a)&&rf(o)})}function nf(o){var a=o.getSnapshot;o=o.value;try{var f=a();return!Xa(o,f)}catch{return!0}}function rf(o){var a=ba(o,1);a!==null&&Lo(a,o,1,-1)}function of(o){var a=Oo();return typeof o=="function"&&(o=o()),a.memoizedState=a.baseState=o,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qi,lastRenderedState:o},a.queue=o,o=o.dispatch=ws.bind(null,An,o),[a.memoizedState,o]}function Ss(o,a,f,m){return o={tag:o,create:a,destroy:f,deps:m,next:null},a=An.updateQueue,a===null?(a={lastEffect:null,stores:null},An.updateQueue=a,a.lastEffect=o.next=o):(f=a.lastEffect,f===null?a.lastEffect=o.next=o:(m=f.next,f.next=o,o.next=m,a.lastEffect=o)),o}function af(){return Or().memoizedState}function cu(o,a,f,m){var x=Oo();An.flags|=o,x.memoizedState=Ss(1|a,f,void 0,m===void 0?null:m)}function du(o,a,f,m){var x=Or();m=m===void 0?null:m;var E=void 0;if(Ir!==null){var _=Ir.memoizedState;if(E=_.destroy,m!==null&&qt(m,_.deps)){x.memoizedState=Ss(a,f,E,m);return}}An.flags|=o,x.memoizedState=Ss(1|a,f,E,m)}function lf(o,a){return cu(8390656,8,o,a)}function mc(o,a){return du(2048,8,o,a)}function sf(o,a){return du(4,2,o,a)}function vc(o,a){return du(4,4,o,a)}function Cs(o,a){if(typeof a=="function")return o=o(),a(o),function(){a(null)};if(a!=null)return o=o(),a.current=o,function(){a.current=null}}function uf(o,a,f){return f=f!=null?f.concat([o]):null,du(4,4,Cs.bind(null,a,o),f)}function yc(){}function cf(o,a){var f=Or();a=a===void 0?null:a;var m=f.memoizedState;return m!==null&&a!==null&&qt(a,m[1])?m[0]:(f.memoizedState=[o,a],o)}function df(o,a){var f=Or();a=a===void 0?null:a;var m=f.memoizedState;return m!==null&&a!==null&&qt(a,m[1])?m[0]:(o=o(),f.memoizedState=[o,a],o)}function hh(o,a,f){return(zn&21)===0?(o.baseState&&(o.baseState=!1,_r=!0),o.memoizedState=f):(Xa(f,a)||(f=Qo(),An.lanes|=f,Ei|=f,o.baseState=!0),a)}function gc(o,a){var f=Fn;Fn=f!==0&&4>f?f:4,o(!0);var m=$n.transition;$n.transition={};try{o(!1),a()}finally{Fn=f,$n.transition=m}}function mh(){return Or().memoizedState}function bc(o,a,f){var m=Ti(o);if(f={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null},oa(o))ry(a,f);else if(f=ch(o,a,f,m),f!==null){var x=jr();Lo(f,o,m,x),Kn(f,a,m)}}function ws(o,a,f){var m=Ti(o),x={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null};if(oa(o))ry(a,x);else{var E=o.alternate;if(o.lanes===0&&(E===null||E.lanes===0)&&(E=a.lastRenderedReducer,E!==null))try{var _=a.lastRenderedState,re=E(_,f);if(x.hasEagerState=!0,x.eagerState=re,Xa(re,_)){var de=a.interleaved;de===null?(x.next=x,uh(a)):(x.next=de.next,de.next=x),a.interleaved=x;return}}catch{}finally{}f=ch(o,a,x,m),f!==null&&(x=jr(),Lo(f,o,m,x),Kn(f,a,m))}}function oa(o){var a=o.alternate;return o===An||a!==null&&a===An}function ry(o,a){hc=Xd=!0;var f=o.pending;f===null?a.next=a:(a.next=f.next,f.next=a),o.pending=a}function Kn(o,a,f){if((f&4194240)!==0){var m=a.lanes;m&=o.pendingLanes,f|=m,a.lanes=f,vd(o,f)}}var Es={readContext:La,useCallback:En,useContext:En,useEffect:En,useImperativeHandle:En,useInsertionEffect:En,useLayoutEffect:En,useMemo:En,useReducer:En,useRef:En,useState:En,useDebugValue:En,useDeferredValue:En,useTransition:En,useMutableSource:En,useSyncExternalStore:En,useId:En,unstable_isNewReconciler:!1},ff={readContext:La,useCallback:function(o,a){return Oo().memoizedState=[o,a===void 0?null:a],o},useContext:La,useEffect:lf,useImperativeHandle:function(o,a,f){return f=f!=null?f.concat([o]):null,cu(4194308,4,Cs.bind(null,a,o),f)},useLayoutEffect:function(o,a){return cu(4194308,4,o,a)},useInsertionEffect:function(o,a){return cu(4,2,o,a)},useMemo:function(o,a){var f=Oo();return a=a===void 0?null:a,o=o(),f.memoizedState=[o,a],o},useReducer:function(o,a,f){var m=Oo();return a=f!==void 0?f(a):a,m.memoizedState=m.baseState=a,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:a},m.queue=o,o=o.dispatch=bc.bind(null,An,o),[m.memoizedState,o]},useRef:function(o){var a=Oo();return o={current:o},a.memoizedState=o},useState:of,useDebugValue:yc,useDeferredValue:function(o){return Oo().memoizedState=o},useTransition:function(){var o=of(!1),a=o[0];return o=gc.bind(null,o[1]),Oo().memoizedState=o,[a,o]},useMutableSource:function(){},useSyncExternalStore:function(o,a,f){var m=An,x=Oo();if(cr){if(f===void 0)throw Error(i(407));f=f()}else{if(f=a(),Yr===null)throw Error(i(349));(zn&30)!==0||Jd(m,a,f)}x.memoizedState=f;var E={value:f,getSnapshot:a};return x.queue=E,lf(tf.bind(null,m,E,o),[o]),m.flags|=2048,Ss(9,ef.bind(null,m,E,f,a),void 0,null),f},useId:function(){var o=Oo(),a=Yr.identifierPrefix;if(cr){var f=bi,m=gi;f=(m&~(1<<32-Er(m)-1)).toString(32)+f,a=":"+a+"R"+f,f=bs++,0<f&&(a+="H"+f.toString(32)),a+=":"}else f=Xe++,a=":"+a+"r"+f.toString(32)+":";return o.memoizedState=a},unstable_isNewReconciler:!1},xc={readContext:La,useCallback:cf,useContext:La,useEffect:mc,useImperativeHandle:uf,useInsertionEffect:sf,useLayoutEffect:vc,useMemo:df,useReducer:Al,useRef:af,useState:function(){return Al(Qi)},useDebugValue:yc,useDeferredValue:function(o){var a=Or();return hh(a,Ir.memoizedState,o)},useTransition:function(){var o=Al(Qi)[0],a=Or().memoizedState;return[o,a]},useMutableSource:Kd,useSyncExternalStore:Zd,useId:mh,unstable_isNewReconciler:!1},pf={readContext:La,useCallback:cf,useContext:La,useEffect:mc,useImperativeHandle:uf,useInsertionEffect:sf,useLayoutEffect:vc,useMemo:df,useReducer:xs,useRef:af,useState:function(){return xs(Qi)},useDebugValue:yc,useDeferredValue:function(o){var a=Or();return Ir===null?a.memoizedState=o:hh(a,Ir.memoizedState,o)},useTransition:function(){var o=xs(Qi)[0],a=Or().memoizedState;return[o,a]},useMutableSource:Kd,useSyncExternalStore:Zd,useId:mh,unstable_isNewReconciler:!1};function Ja(o,a){if(o&&o.defaultProps){a=ee({},a),o=o.defaultProps;for(var f in o)a[f]===void 0&&(a[f]=o[f]);return a}return a}function vh(o,a,f,m){a=o.memoizedState,f=f(m,a),f=f==null?a:ee({},a,f),o.memoizedState=f,o.lanes===0&&(o.updateQueue.baseState=f)}var hf={isMounted:function(o){return(o=o._reactInternals)?At(o)===o:!1},enqueueSetState:function(o,a,f){o=o._reactInternals;var m=jr(),x=Ti(o),E=qi(m,x);E.payload=a,f!=null&&(E.callback=f),a=Ol(o,E,x),a!==null&&(Lo(a,o,x,m),Yd(a,o,x))},enqueueReplaceState:function(o,a,f){o=o._reactInternals;var m=jr(),x=Ti(o),E=qi(m,x);E.tag=1,E.payload=a,f!=null&&(E.callback=f),a=Ol(o,E,x),a!==null&&(Lo(a,o,x,m),Yd(a,o,x))},enqueueForceUpdate:function(o,a){o=o._reactInternals;var f=jr(),m=Ti(o),x=qi(f,m);x.tag=2,a!=null&&(x.callback=a),a=Ol(o,x,m),a!==null&&(Lo(a,o,m,f),Yd(a,o,m))}};function oy(o,a,f,m,x,E,_){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(m,E,_):a.prototype&&a.prototype.isPureReactComponent?!Ju(f,m)||!Ju(x,E):!0}function mf(o,a,f){var m=!1,x=Ro,E=a.contextType;return typeof E=="object"&&E!==null?E=La(E):(x=Mr(a)?Jo:xr.current,m=a.contextTypes,E=(m=m!=null)?ea(o,x):Ro),a=new a(f,E),o.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=hf,o.stateNode=a,a._reactInternals=o,m&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=x,o.__reactInternalMemoizedMaskedChildContext=E),a}function ay(o,a,f,m){o=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(f,m),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(f,m),a.state!==o&&hf.enqueueReplaceState(a,a.state,null)}function Sc(o,a,f,m){var x=o.stateNode;x.props=f,x.state=o.memoizedState,x.refs={},dh(o);var E=a.contextType;typeof E=="object"&&E!==null?x.context=La(E):(E=Mr(a)?Jo:xr.current,x.context=ea(o,E)),x.state=o.memoizedState,E=a.getDerivedStateFromProps,typeof E=="function"&&(vh(o,a,E,f),x.state=o.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(a=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),a!==x.state&&hf.enqueueReplaceState(x,x.state,null),uc(o,f,x,m),x.state=o.memoizedState),typeof x.componentDidMount=="function"&&(o.flags|=4194308)}function Ts(o,a){try{var f="",m=a;do f+=Be(m),m=m.return;while(m);var x=f}catch(E){x=`
|
|
2703
|
+
`+x[_].replace(" at new "," at ");return o.displayName&&de.includes("<anonymous>")&&(de=de.replace("<anonymous>",o.displayName)),de}while(1<=_&&0<=re);break}}}finally{W=!1,Error.prepareStackTrace=f}return(o=o?o.displayName||o.name:"")?B(o):""}function Be(o){switch(o.tag){case 5:return B(o.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return o=$e(o.type,!1),o;case 11:return o=$e(o.type.render,!1),o;case 1:return o=$e(o.type,!0),o;default:return""}}function Qe(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case Z:return"Fragment";case z:return"Portal";case ge:return"Profiler";case ie:return"StrictMode";case he:return"Suspense";case we:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case se:return(o.displayName||"Context")+".Consumer";case M:return(o._context.displayName||"Context")+".Provider";case Te:var a=o.render;return o=o.displayName,o||(o=a.displayName||a.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case ce:return a=o.displayName||null,a!==null?a:Qe(o.type)||"Memo";case fe:a=o._payload,o=o._init;try{return Qe(o(a))}catch{}}return null}function We(o){var a=o.type;switch(o.tag){case 24:return"Cache";case 9:return(a.displayName||"Context")+".Consumer";case 10:return(a._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=a.render,o=o.displayName||o.name||"",a.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Qe(a);case 8:return a===ie?"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 a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a}return null}function X(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function oe(o){var a=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function K(o){var a=oe(o)?"checked":"value",f=Object.getOwnPropertyDescriptor(o.constructor.prototype,a),m=""+o[a];if(!o.hasOwnProperty(a)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var x=f.get,E=f.set;return Object.defineProperty(o,a,{configurable:!0,get:function(){return x.call(this)},set:function(_){m=""+_,E.call(this,_)}}),Object.defineProperty(o,a,{enumerable:f.enumerable}),{getValue:function(){return m},setValue:function(_){m=""+_},stopTracking:function(){o._valueTracker=null,delete o[a]}}}}function Ee(o){o._valueTracker||(o._valueTracker=K(o))}function te(o){if(!o)return!1;var a=o._valueTracker;if(!a)return!0;var f=a.getValue(),m="";return o&&(m=oe(o)?o.checked?"true":"false":o.value),o=m,o!==f?(a.setValue(o),!0):!1}function De(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function Ce(o,a){var f=a.checked;return ee({},a,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??o._wrapperState.initialChecked})}function Fe(o,a){var f=a.defaultValue==null?"":a.defaultValue,m=a.checked!=null?a.checked:a.defaultChecked;f=X(a.value!=null?a.value:f),o._wrapperState={initialChecked:m,initialValue:f,controlled:a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null}}function rt(o,a){a=a.checked,a!=null&&k(o,"checked",a,!1)}function Lt(o,a){rt(o,a);var f=X(a.value),m=a.type;if(f!=null)m==="number"?(f===0&&o.value===""||o.value!=f)&&(o.value=""+f):o.value!==""+f&&(o.value=""+f);else if(m==="submit"||m==="reset"){o.removeAttribute("value");return}a.hasOwnProperty("value")?vt(o,a.type,f):a.hasOwnProperty("defaultValue")&&vt(o,a.type,X(a.defaultValue)),a.checked==null&&a.defaultChecked!=null&&(o.defaultChecked=!!a.defaultChecked)}function Dt(o,a,f){if(a.hasOwnProperty("value")||a.hasOwnProperty("defaultValue")){var m=a.type;if(!(m!=="submit"&&m!=="reset"||a.value!==void 0&&a.value!==null))return;a=""+o._wrapperState.initialValue,f||a===o.value||(o.value=a),o.defaultValue=a}f=o.name,f!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,f!==""&&(o.name=f)}function vt(o,a,f){(a!=="number"||De(o.ownerDocument)!==o)&&(f==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+f&&(o.defaultValue=""+f))}var yt=Array.isArray;function St(o,a,f,m){if(o=o.options,a){a={};for(var x=0;x<f.length;x++)a["$"+f[x]]=!0;for(f=0;f<o.length;f++)x=a.hasOwnProperty("$"+o[f].value),o[f].selected!==x&&(o[f].selected=x),x&&m&&(o[f].defaultSelected=!0)}else{for(f=""+X(f),a=null,x=0;x<o.length;x++){if(o[x].value===f){o[x].selected=!0,m&&(o[x].defaultSelected=!0);return}a!==null||o[x].disabled||(a=o[x])}a!==null&&(a.selected=!0)}}function lt(o,a){if(a.dangerouslySetInnerHTML!=null)throw Error(i(91));return ee({},a,{value:void 0,defaultValue:void 0,children:""+o._wrapperState.initialValue})}function sn(o,a){var f=a.value;if(f==null){if(f=a.children,a=a.defaultValue,f!=null){if(a!=null)throw Error(i(92));if(yt(f)){if(1<f.length)throw Error(i(93));f=f[0]}a=f}a==null&&(a=""),f=a}o._wrapperState={initialValue:X(f)}}function mn(o,a){var f=X(a.value),m=X(a.defaultValue);f!=null&&(f=""+f,f!==o.value&&(o.value=f),a.defaultValue==null&&o.defaultValue!==f&&(o.defaultValue=f)),m!=null&&(o.defaultValue=""+m)}function fn(o){var a=o.textContent;a===o._wrapperState.initialValue&&a!==""&&a!==null&&(o.value=a)}function un(o){switch(o){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 Tn(o,a){return o==null||o==="http://www.w3.org/1999/xhtml"?un(a):o==="http://www.w3.org/2000/svg"&&a==="foreignObject"?"http://www.w3.org/1999/xhtml":o}var rr,or=function(o){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(a,f,m,x){MSApp.execUnsafeLocalFunction(function(){return o(a,f,m,x)})}:o}(function(o,a){if(o.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in o)o.innerHTML=a;else{for(rr=rr||document.createElement("div"),rr.innerHTML="<svg>"+a.valueOf().toString()+"</svg>",a=rr.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;a.firstChild;)o.appendChild(a.firstChild)}});function it(o,a){if(a){var f=o.firstChild;if(f&&f===o.lastChild&&f.nodeType===3){f.nodeValue=a;return}}o.textContent=a}var ot={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},He=["Webkit","ms","Moz","O"];Object.keys(ot).forEach(function(o){He.forEach(function(a){a=a+o.charAt(0).toUpperCase()+o.substring(1),ot[a]=ot[o]})});function cn(o,a,f){return a==null||typeof a=="boolean"||a===""?"":f||typeof a!="number"||a===0||ot.hasOwnProperty(o)&&ot[o]?(""+a).trim():a+"px"}function Rn(o,a){o=o.style;for(var f in a)if(a.hasOwnProperty(f)){var m=f.indexOf("--")===0,x=cn(f,a[f],m);f==="float"&&(f="cssFloat"),m?o.setProperty(f,x):o[f]=x}}var Dn=ee({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 On(o,a){if(a){if(Dn[o]&&(a.children!=null||a.dangerouslySetInnerHTML!=null))throw Error(i(137,o));if(a.dangerouslySetInnerHTML!=null){if(a.children!=null)throw Error(i(60));if(typeof a.dangerouslySetInnerHTML!="object"||!("__html"in a.dangerouslySetInnerHTML))throw Error(i(61))}if(a.style!=null&&typeof a.style!="object")throw Error(i(62))}}function Ln(o,a){if(o.indexOf("-")===-1)return typeof a.is=="string";switch(o){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 qe=null;function U(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var J=null,le=null,$=null;function F(o){if(o=Vt(o)){if(typeof J!="function")throw Error(i(280));var a=o.stateNode;a&&(a=pr(a),J(o.stateNode,o.type,a))}}function q(o){le?$?$.push(o):$=[o]:le=o}function me(){if(le){var o=le,a=$;if($=le=null,F(o),a)for(o=0;o<a.length;o++)F(a[o])}}function ue(o,a){return o(a)}function Ie(){}var nt=!1;function Tt(o,a,f){if(nt)return o(a,f);nt=!0;try{return ue(o,a,f)}finally{nt=!1,(le!==null||$!==null)&&(Ie(),me())}}function $t(o,a){var f=o.stateNode;if(f===null)return null;var m=pr(f);if(m===null)return null;f=m[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(m=!m.disabled)||(o=o.type,m=!(o==="button"||o==="input"||o==="select"||o==="textarea")),o=!m;break e;default:o=!1}if(o)return null;if(f&&typeof f!="function")throw Error(i(231,a,typeof f));return f}var dn=!1;if(v)try{var zt={};Object.defineProperty(zt,"passive",{get:function(){dn=!0}}),window.addEventListener("test",zt,zt),window.removeEventListener("test",zt,zt)}catch{dn=!1}function bn(o,a,f,m,x,E,_,re,de){var Le=Array.prototype.slice.call(arguments,3);try{a.apply(f,Le)}catch(Ze){this.onError(Ze)}}var pn=!1,Xn=null,an=!1,ae=null,Ye={onError:function(o){pn=!0,Xn=o}};function at(o,a,f,m,x,E,_,re,de){pn=!1,Xn=null,bn.apply(Ye,arguments)}function _t(o,a,f,m,x,E,_,re,de){if(at.apply(this,arguments),pn){if(pn){var Le=Xn;pn=!1,Xn=null}else throw Error(i(198));an||(an=!0,ae=Le)}}function At(o){var a=o,f=o;if(o.alternate)for(;a.return;)a=a.return;else{o=a;do a=o,(a.flags&4098)!==0&&(f=a.return),o=a.return;while(o)}return a.tag===3?f:null}function Wt(o){if(o.tag===13){var a=o.memoizedState;if(a===null&&(o=o.alternate,o!==null&&(a=o.memoizedState)),a!==null)return a.dehydrated}return null}function Jt(o){if(At(o)!==o)throw Error(i(188))}function en(o){var a=o.alternate;if(!a){if(a=At(o),a===null)throw Error(i(188));return a!==o?null:o}for(var f=o,m=a;;){var x=f.return;if(x===null)break;var E=x.alternate;if(E===null){if(m=x.return,m!==null){f=m;continue}break}if(x.child===E.child){for(E=x.child;E;){if(E===f)return Jt(x),o;if(E===m)return Jt(x),a;E=E.sibling}throw Error(i(188))}if(f.return!==m.return)f=x,m=E;else{for(var _=!1,re=x.child;re;){if(re===f){_=!0,f=x,m=E;break}if(re===m){_=!0,m=x,f=E;break}re=re.sibling}if(!_){for(re=E.child;re;){if(re===f){_=!0,f=E,m=x;break}if(re===m){_=!0,m=E,f=x;break}re=re.sibling}if(!_)throw Error(i(189))}}if(f.alternate!==m)throw Error(i(190))}if(f.tag!==3)throw Error(i(188));return f.stateNode.current===f?o:a}function Er(o){return o=en(o),o!==null?Zn(o):null}function Zn(o){if(o.tag===5||o.tag===6)return o;for(o=o.child;o!==null;){var a=Zn(o);if(a!==null)return a;o=o.sibling}return null}var ar=r.unstable_scheduleCallback,Kr=r.unstable_cancelCallback,Yt=r.unstable_shouldYield,Jn=r.unstable_requestPaint,Xt=r.unstable_now,nn=r.unstable_getCurrentPriorityLevel,Xa=r.unstable_ImmediatePriority,ci=r.unstable_UserBlockingPriority,di=r.unstable_NormalPriority,Ht=r.unstable_LowPriority,Bn=r.unstable_IdlePriority,gr=null,yn=null;function so(o){if(yn&&typeof yn.onCommitFiberRoot=="function")try{yn.onCommitFiberRoot(gr,o,void 0,(o.current.flags&128)===128)}catch{}}var Tr=Math.clz32?Math.clz32:uo,To=Math.log,_i=Math.LN2;function uo(o){return o>>>=0,o===0?32:31-(To(o)/_i|0)|0}var Zr=64,Mn=4194304;function Rr(o){switch(o&-o){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 o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function fi(o,a){var f=o.pendingLanes;if(f===0)return 0;var m=0,x=o.suspendedLanes,E=o.pingedLanes,_=f&268435455;if(_!==0){var re=_&~x;re!==0?m=Rr(re):(E&=_,E!==0&&(m=Rr(E)))}else _=f&~x,_!==0?m=Rr(_):E!==0&&(m=Rr(E));if(m===0)return 0;if(a!==0&&a!==m&&(a&x)===0&&(x=m&-m,E=a&-a,x>=E||x===16&&(E&4194240)!==0))return a;if((m&4)!==0&&(m|=f&16),a=o.entangledLanes,a!==0)for(o=o.entanglements,a&=m;0<a;)f=31-Tr(a),x=1<<f,m|=o[f],a&=~x;return m}function Hr(o,a){switch(o){case 1:case 2:case 4:return a+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 a+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 pl(o,a){for(var f=o.suspendedLanes,m=o.pingedLanes,x=o.expirationTimes,E=o.pendingLanes;0<E;){var _=31-Tr(E),re=1<<_,de=x[_];de===-1?((re&f)===0||(re&m)!==0)&&(x[_]=Hr(re,a)):de<=a&&(o.expiredLanes|=re),E&=~re}}function Fi(o){return o=o.pendingLanes&-1073741825,o!==0?o:o&1073741824?1073741824:0}function Qo(){var o=Zr;return Zr<<=1,(Zr&4194240)===0&&(Zr=64),o}function hl(o){for(var a=[],f=0;31>f;f++)a.push(o);return a}function Xo(o,a,f){o.pendingLanes|=a,a!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,a=31-Tr(a),o[a]=f}function Rb(o,a){var f=o.pendingLanes&~a;o.pendingLanes=a,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=a,o.mutableReadLanes&=a,o.entangledLanes&=a,a=o.entanglements;var m=o.eventTimes;for(o=o.expirationTimes;0<f;){var x=31-Tr(f),E=1<<x;a[x]=0,m[x]=-1,o[x]=-1,f&=~E}}function vd(o,a){var f=o.entangledLanes|=a;for(o=o.entanglements;f;){var m=31-Tr(f),x=1<<m;x&a|o[m]&a&&(o[m]|=a),f&=~x}}var Fn=0;function $p(o){return o&=-o,1<o?4<o?(o&268435455)!==0?16:536870912:4:1}var Vn,Ap,kp,rn,Pp,Po=!1,ml=[],$a=null,vl=null,br=null,ir=new Map,Hu=new Map,co=[],Aa="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 Vi(o,a){switch(o){case"focusin":case"focusout":$a=null;break;case"dragenter":case"dragleave":vl=null;break;case"mouseover":case"mouseout":br=null;break;case"pointerover":case"pointerout":ir.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hu.delete(a.pointerId)}}function Gu(o,a,f,m,x,E){return o===null||o.nativeEvent!==E?(o={blockedOn:a,domEventName:f,eventSystemFlags:m,nativeEvent:E,targetContainers:[x]},a!==null&&(a=Vt(a),a!==null&&Ap(a)),o):(o.eventSystemFlags|=m,a=o.targetContainers,x!==null&&a.indexOf(x)===-1&&a.push(x),o)}function Np(o,a,f,m,x){switch(a){case"focusin":return $a=Gu($a,o,a,f,m,x),!0;case"dragenter":return vl=Gu(vl,o,a,f,m,x),!0;case"mouseover":return br=Gu(br,o,a,f,m,x),!0;case"pointerover":var E=x.pointerId;return ir.set(E,Gu(ir.get(E)||null,o,a,f,m,x)),!0;case"gotpointercapture":return E=x.pointerId,Hu.set(E,Gu(Hu.get(E)||null,o,a,f,m,x)),!0}return!1}function Dp(o){var a=fs(o.target);if(a!==null){var f=At(a);if(f!==null){if(a=f.tag,a===13){if(a=Wt(f),a!==null){o.blockedOn=a,Pp(o.priority,function(){kp(f)});return}}else if(a===3&&f.stateNode.current.memoizedState.isDehydrated){o.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}o.blockedOn=null}function Wu(o){if(o.blockedOn!==null)return!1;for(var a=o.targetContainers;0<a.length;){var f=gd(o.domEventName,o.eventSystemFlags,a[0],o.nativeEvent);if(f===null){f=o.nativeEvent;var m=new f.constructor(f.type,f);qe=m,f.target.dispatchEvent(m),qe=null}else return a=Vt(f),a!==null&&Ap(a),o.blockedOn=f,!1;a.shift()}return!0}function gv(o,a,f){Wu(o)&&f.delete(a)}function Ob(){Po=!1,$a!==null&&Wu($a)&&($a=null),vl!==null&&Wu(vl)&&(vl=null),br!==null&&Wu(br)&&(br=null),ir.forEach(gv),Hu.forEach(gv)}function Yu(o,a){o.blockedOn===a&&(o.blockedOn=null,Po||(Po=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Ob)))}function yl(o){function a(x){return Yu(x,o)}if(0<ml.length){Yu(ml[0],o);for(var f=1;f<ml.length;f++){var m=ml[f];m.blockedOn===o&&(m.blockedOn=null)}}for($a!==null&&Yu($a,o),vl!==null&&Yu(vl,o),br!==null&&Yu(br,o),ir.forEach(a),Hu.forEach(a),f=0;f<co.length;f++)m=co[f],m.blockedOn===o&&(m.blockedOn=null);for(;0<co.length&&(f=co[0],f.blockedOn===null);)Dp(f),f.blockedOn===null&&co.shift()}var rs=V.ReactCurrentBatchConfig,os=!0;function bv(o,a,f,m){var x=Fn,E=rs.transition;rs.transition=null;try{Fn=1,yd(o,a,f,m)}finally{Fn=x,rs.transition=E}}function xv(o,a,f,m){var x=Fn,E=rs.transition;rs.transition=null;try{Fn=4,yd(o,a,f,m)}finally{Fn=x,rs.transition=E}}function yd(o,a,f,m){if(os){var x=gd(o,a,f,m);if(x===null)Id(o,a,m,qu,f),Vi(o,m);else if(Np(x,o,a,f,m))m.stopPropagation();else if(Vi(o,m),a&4&&-1<Aa.indexOf(o)){for(;x!==null;){var E=Vt(x);if(E!==null&&Vn(E),E=gd(o,a,f,m),E===null&&Id(o,a,m,qu,f),E===x)break;x=E}x!==null&&m.stopPropagation()}else Id(o,a,m,null,f)}}var qu=null;function gd(o,a,f,m){if(qu=null,o=U(m),o=fs(o),o!==null)if(a=At(o),a===null)o=null;else if(f=a.tag,f===13){if(o=Wt(a),o!==null)return o;o=null}else if(f===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null);return qu=o,null}function bd(o){switch(o){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(nn()){case Xa:return 1;case ci:return 4;case di:case Ht:return 16;case Bn:return 536870912;default:return 16}default:return 16}}var ji=null,xd=null,Qs=null;function Mp(){if(Qs)return Qs;var o,a=xd,f=a.length,m,x="value"in ji?ji.value:ji.textContent,E=x.length;for(o=0;o<f&&a[o]===x[o];o++);var _=f-o;for(m=1;m<=_&&a[f-m]===x[E-m];m++);return Qs=x.slice(o,1<m?1-m:void 0)}function Sd(o){var a=o.keyCode;return"charCode"in o?(o=o.charCode,o===0&&a===13&&(o=13)):o=a,o===10&&(o=13),32<=o||o===13?o:0}function Cd(){return!0}function wd(){return!1}function Ko(o){function a(f,m,x,E,_){this._reactName=f,this._targetInst=x,this.type=m,this.nativeEvent=E,this.target=_,this.currentTarget=null;for(var re in o)o.hasOwnProperty(re)&&(f=o[re],this[re]=f?f(E):E[re]);return this.isDefaultPrevented=(E.defaultPrevented!=null?E.defaultPrevented:E.returnValue===!1)?Cd:wd,this.isPropagationStopped=wd,this}return ee(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=Cd)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Cd)},persist:function(){},isPersistent:Cd}),a}var as={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(o){return o.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ed=Ko(as),Xs=ee({},as,{view:0,detail:0}),$b=Ko(Xs),Lp,fo,is,Qu=ee({},Xs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jp,button:0,buttons:0,relatedTarget:function(o){return o.relatedTarget===void 0?o.fromElement===o.srcElement?o.toElement:o.fromElement:o.relatedTarget},movementX:function(o){return"movementX"in o?o.movementX:(o!==is&&(is&&o.type==="mousemove"?(Lp=o.screenX-is.screenX,fo=o.screenY-is.screenY):fo=Lp=0,is=o),Lp)},movementY:function(o){return"movementY"in o?o.movementY:fo}}),Ip=Ko(Qu),Ab=ee({},Qu,{dataTransfer:0}),Ks=Ko(Ab),_p=ee({},Xs,{relatedTarget:0}),Td=Ko(_p),kb=ee({},as,{animationName:0,elapsedTime:0,pseudoElement:0}),Pb=Ko(kb),Nb=ee({},as,{clipboardData:function(o){return"clipboardData"in o?o.clipboardData:window.clipboardData}}),Sv=Ko(Nb),Fp=ee({},as,{data:0}),Vp=Ko(Fp),Cv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wv={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"},Db={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ui(o){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(o):(o=Db[o])?!!a[o]:!1}function jp(){return Ui}var Up=ee({},Xs,{key:function(o){if(o.key){var a=Cv[o.key]||o.key;if(a!=="Unidentified")return a}return o.type==="keypress"?(o=Sd(o),o===13?"Enter":String.fromCharCode(o)):o.type==="keydown"||o.type==="keyup"?wv[o.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jp,charCode:function(o){return o.type==="keypress"?Sd(o):0},keyCode:function(o){return o.type==="keydown"||o.type==="keyup"?o.keyCode:0},which:function(o){return o.type==="keypress"?Sd(o):o.type==="keydown"||o.type==="keyup"?o.keyCode:0}}),Bp=Ko(Up),zp=ee({},Qu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ev=Ko(zp),Rd=ee({},Xs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jp}),Tv=Ko(Rd),Zo=ee({},as,{propertyName:0,elapsedTime:0,pseudoElement:0}),Bi=Ko(Zo),Dr=ee({},Qu,{deltaX:function(o){return"deltaX"in o?o.deltaX:"wheelDeltaX"in o?-o.wheelDeltaX:0},deltaY:function(o){return"deltaY"in o?o.deltaY:"wheelDeltaY"in o?-o.wheelDeltaY:"wheelDelta"in o?-o.wheelDelta:0},deltaZ:0,deltaMode:0}),zi=Ko(Dr),Hp=[9,13,27,32],Zs=v&&"CompositionEvent"in window,Xu=null;v&&"documentMode"in document&&(Xu=document.documentMode);var Ku=v&&"TextEvent"in window&&!Xu,Rv=v&&(!Zs||Xu&&8<Xu&&11>=Xu),Ov=" ",Od=!1;function $v(o,a){switch(o){case"keyup":return Hp.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Av(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Js=!1;function kv(o,a){switch(o){case"compositionend":return Av(a);case"keypress":return a.which!==32?null:(Od=!0,Ov);case"textInput":return o=a.data,o===Ov&&Od?null:o;default:return null}}function Mb(o,a){if(Js)return o==="compositionend"||!Zs&&$v(o,a)?(o=Mp(),Qs=xd=ji=null,Js=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return Rv&&a.locale!=="ko"?null:a.data;default:return null}}var Lb={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 Pv(o){var a=o&&o.nodeName&&o.nodeName.toLowerCase();return a==="input"?!!Lb[o.type]:a==="textarea"}function Gp(o,a,f,m){q(m),a=rc(a,"onChange"),0<a.length&&(f=new Ed("onChange","change",null,f,m),o.push({event:f,listeners:a}))}var pi=null,ls=null;function Nv(o){cs(o,0)}function Zu(o){var a=Za(o);if(te(a))return o}function Ib(o,a){if(o==="change")return a}var Dv=!1;if(v){var Wp;if(v){var Yp="oninput"in document;if(!Yp){var Mv=document.createElement("div");Mv.setAttribute("oninput","return;"),Yp=typeof Mv.oninput=="function"}Wp=Yp}else Wp=!1;Dv=Wp&&(!document.documentMode||9<document.documentMode)}function Lv(){pi&&(pi.detachEvent("onpropertychange",Iv),ls=pi=null)}function Iv(o){if(o.propertyName==="value"&&Zu(ls)){var a=[];Gp(a,ls,o,U(o)),Tt(Nv,a)}}function _b(o,a,f){o==="focusin"?(Lv(),pi=a,ls=f,pi.attachEvent("onpropertychange",Iv)):o==="focusout"&&Lv()}function _v(o){if(o==="selectionchange"||o==="keyup"||o==="keydown")return Zu(ls)}function Fb(o,a){if(o==="click")return Zu(a)}function Fv(o,a){if(o==="input"||o==="change")return Zu(a)}function Vb(o,a){return o===a&&(o!==0||1/o===1/a)||o!==o&&a!==a}var Ka=typeof Object.is=="function"?Object.is:Vb;function Ju(o,a){if(Ka(o,a))return!0;if(typeof o!="object"||o===null||typeof a!="object"||a===null)return!1;var f=Object.keys(o),m=Object.keys(a);if(f.length!==m.length)return!1;for(m=0;m<f.length;m++){var x=f[m];if(!b.call(a,x)||!Ka(o[x],a[x]))return!1}return!0}function Vv(o){for(;o&&o.firstChild;)o=o.firstChild;return o}function $d(o,a){var f=Vv(o);o=0;for(var m;f;){if(f.nodeType===3){if(m=o+f.textContent.length,o<=a&&m>=a)return{node:f,offset:a-o};o=m}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=Vv(f)}}function gl(o,a){return o&&a?o===a?!0:o&&o.nodeType===3?!1:a&&a.nodeType===3?gl(o,a.parentNode):"contains"in o?o.contains(a):o.compareDocumentPosition?!!(o.compareDocumentPosition(a)&16):!1:!1}function ec(){for(var o=window,a=De();a instanceof o.HTMLIFrameElement;){try{var f=typeof a.contentWindow.location.href=="string"}catch{f=!1}if(f)o=a.contentWindow;else break;a=De(o.document)}return a}function Ad(o){var a=o&&o.nodeName&&o.nodeName.toLowerCase();return a&&(a==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||a==="textarea"||o.contentEditable==="true")}function eu(o){var a=ec(),f=o.focusedElem,m=o.selectionRange;if(a!==f&&f&&f.ownerDocument&&gl(f.ownerDocument.documentElement,f)){if(m!==null&&Ad(f)){if(a=m.start,o=m.end,o===void 0&&(o=a),"selectionStart"in f)f.selectionStart=a,f.selectionEnd=Math.min(o,f.value.length);else if(o=(a=f.ownerDocument||document)&&a.defaultView||window,o.getSelection){o=o.getSelection();var x=f.textContent.length,E=Math.min(m.start,x);m=m.end===void 0?E:Math.min(m.end,x),!o.extend&&E>m&&(x=m,m=E,E=x),x=$d(f,E);var _=$d(f,m);x&&_&&(o.rangeCount!==1||o.anchorNode!==x.node||o.anchorOffset!==x.offset||o.focusNode!==_.node||o.focusOffset!==_.offset)&&(a=a.createRange(),a.setStart(x.node,x.offset),o.removeAllRanges(),E>m?(o.addRange(a),o.extend(_.node,_.offset)):(a.setEnd(_.node,_.offset),o.addRange(a)))}}for(a=[],o=f;o=o.parentNode;)o.nodeType===1&&a.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<a.length;f++)o=a[f],o.element.scrollLeft=o.left,o.element.scrollTop=o.top}}var jb=v&&"documentMode"in document&&11>=document.documentMode,tu=null,qp=null,tc=null,Qp=!1;function Xp(o,a,f){var m=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;Qp||tu==null||tu!==De(m)||(m=tu,"selectionStart"in m&&Ad(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focusNode:m.focusNode,focusOffset:m.focusOffset}),tc&&Ju(tc,m)||(tc=m,m=rc(qp,"onSelect"),0<m.length&&(a=new Ed("onSelect","select",null,a,f),o.push({event:a,listeners:m}),a.target=tu)))}function kd(o,a){var f={};return f[o.toLowerCase()]=a.toLowerCase(),f["Webkit"+o]="webkit"+a,f["Moz"+o]="moz"+a,f}var ss={animationend:kd("Animation","AnimationEnd"),animationiteration:kd("Animation","AnimationIteration"),animationstart:kd("Animation","AnimationStart"),transitionend:kd("Transition","TransitionEnd")},po={},Kp={};v&&(Kp=document.createElement("div").style,"AnimationEvent"in window||(delete ss.animationend.animation,delete ss.animationiteration.animation,delete ss.animationstart.animation),"TransitionEvent"in window||delete ss.transitionend.transition);function Pd(o){if(po[o])return po[o];if(!ss[o])return o;var a=ss[o],f;for(f in a)if(a.hasOwnProperty(f)&&f in Kp)return po[o]=a[f];return o}var jv=Pd("animationend"),Uv=Pd("animationiteration"),Bv=Pd("animationstart"),zv=Pd("transitionend"),Zp=new Map,Nd="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 ka(o,a){Zp.set(o,a),p(a,[o])}for(var Jp=0;Jp<Nd.length;Jp++){var us=Nd[Jp],Ub=us.toLowerCase(),Bb=us[0].toUpperCase()+us.slice(1);ka(Ub,"on"+Bb)}ka(jv,"onAnimationEnd"),ka(Uv,"onAnimationIteration"),ka(Bv,"onAnimationStart"),ka("dblclick","onDoubleClick"),ka("focusin","onFocus"),ka("focusout","onBlur"),ka(zv,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),p("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),p("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),p("onBeforeInput",["compositionend","keypress","textInput","paste"]),p("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var nc="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(" "),eh=new Set("cancel close invalid load scroll toggle".split(" ").concat(nc));function Dd(o,a,f){var m=o.type||"unknown-event";o.currentTarget=f,_t(m,a,void 0,o),o.currentTarget=null}function cs(o,a){a=(a&4)!==0;for(var f=0;f<o.length;f++){var m=o[f],x=m.event;m=m.listeners;e:{var E=void 0;if(a)for(var _=m.length-1;0<=_;_--){var re=m[_],de=re.instance,Le=re.currentTarget;if(re=re.listener,de!==E&&x.isPropagationStopped())break e;Dd(x,re,Le),E=de}else for(_=0;_<m.length;_++){if(re=m[_],de=re.instance,Le=re.currentTarget,re=re.listener,de!==E&&x.isPropagationStopped())break e;Dd(x,re,Le),E=de}}}if(an)throw o=ae,an=!1,ae=null,o}function In(o,a){var f=a[ic];f===void 0&&(f=a[ic]=new Set);var m=o+"__bubble";f.has(m)||(Hv(a,o,2,!1),f.add(m))}function Md(o,a,f){var m=0;a&&(m|=4),Hv(f,o,m,a)}var Ld="_reactListening"+Math.random().toString(36).slice(2);function nu(o){if(!o[Ld]){o[Ld]=!0,s.forEach(function(f){f!=="selectionchange"&&(eh.has(f)||Md(f,!1,o),Md(f,!0,o))});var a=o.nodeType===9?o:o.ownerDocument;a===null||a[Ld]||(a[Ld]=!0,Md("selectionchange",!1,a))}}function Hv(o,a,f,m){switch(bd(a)){case 1:var x=bv;break;case 4:x=xv;break;default:x=yd}f=x.bind(null,a,f,o),x=void 0,!dn||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(x=!0),m?x!==void 0?o.addEventListener(a,f,{capture:!0,passive:x}):o.addEventListener(a,f,!0):x!==void 0?o.addEventListener(a,f,{passive:x}):o.addEventListener(a,f,!1)}function Id(o,a,f,m,x){var E=m;if((a&1)===0&&(a&2)===0&&m!==null)e:for(;;){if(m===null)return;var _=m.tag;if(_===3||_===4){var re=m.stateNode.containerInfo;if(re===x||re.nodeType===8&&re.parentNode===x)break;if(_===4)for(_=m.return;_!==null;){var de=_.tag;if((de===3||de===4)&&(de=_.stateNode.containerInfo,de===x||de.nodeType===8&&de.parentNode===x))return;_=_.return}for(;re!==null;){if(_=fs(re),_===null)return;if(de=_.tag,de===5||de===6){m=E=_;continue e}re=re.parentNode}}m=m.return}Tt(function(){var Le=E,Ze=U(f),et=[];e:{var Ke=Zp.get(o);if(Ke!==void 0){var wt=Ed,kt=o;switch(o){case"keypress":if(Sd(f)===0)break e;case"keydown":case"keyup":wt=Bp;break;case"focusin":kt="focus",wt=Td;break;case"focusout":kt="blur",wt=Td;break;case"beforeblur":case"afterblur":wt=Td;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":wt=Ip;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":wt=Ks;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":wt=Tv;break;case jv:case Uv:case Bv:wt=Pb;break;case zv:wt=Bi;break;case"scroll":wt=$b;break;case"wheel":wt=zi;break;case"copy":case"cut":case"paste":wt=Sv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":wt=Ev}var Mt=(a&4)!==0,Pr=!Mt&&o==="scroll",Ae=Mt?Ke!==null?Ke+"Capture":null:Ke;Mt=[];for(var xe=Le,Ne;xe!==null;){Ne=xe;var Je=Ne.stateNode;if(Ne.tag===5&&Je!==null&&(Ne=Je,Ae!==null&&(Je=$t(xe,Ae),Je!=null&&Mt.push(ru(xe,Je,Ne)))),Pr)break;xe=xe.return}0<Mt.length&&(Ke=new wt(Ke,kt,null,f,Ze),et.push({event:Ke,listeners:Mt}))}}if((a&7)===0){e:{if(Ke=o==="mouseover"||o==="pointerover",wt=o==="mouseout"||o==="pointerout",Ke&&f!==qe&&(kt=f.relatedTarget||f.fromElement)&&(fs(kt)||kt[Hi]))break e;if((wt||Ke)&&(Ke=Ze.window===Ze?Ze:(Ke=Ze.ownerDocument)?Ke.defaultView||Ke.parentWindow:window,wt?(kt=f.relatedTarget||f.toElement,wt=Le,kt=kt?fs(kt):null,kt!==null&&(Pr=At(kt),kt!==Pr||kt.tag!==5&&kt.tag!==6)&&(kt=null)):(wt=null,kt=Le),wt!==kt)){if(Mt=Ip,Je="onMouseLeave",Ae="onMouseEnter",xe="mouse",(o==="pointerout"||o==="pointerover")&&(Mt=Ev,Je="onPointerLeave",Ae="onPointerEnter",xe="pointer"),Pr=wt==null?Ke:Za(wt),Ne=kt==null?Ke:Za(kt),Ke=new Mt(Je,xe+"leave",wt,f,Ze),Ke.target=Pr,Ke.relatedTarget=Ne,Je=null,fs(Ze)===Le&&(Mt=new Mt(Ae,xe+"enter",kt,f,Ze),Mt.target=Ne,Mt.relatedTarget=Pr,Je=Mt),Pr=Je,wt&&kt)t:{for(Mt=wt,Ae=kt,xe=0,Ne=Mt;Ne;Ne=bl(Ne))xe++;for(Ne=0,Je=Ae;Je;Je=bl(Je))Ne++;for(;0<xe-Ne;)Mt=bl(Mt),xe--;for(;0<Ne-xe;)Ae=bl(Ae),Ne--;for(;xe--;){if(Mt===Ae||Ae!==null&&Mt===Ae.alternate)break t;Mt=bl(Mt),Ae=bl(Ae)}Mt=null}else Mt=null;wt!==null&&Gv(et,Ke,wt,Mt,!1),kt!==null&&Pr!==null&&Gv(et,Pr,kt,Mt,!0)}}e:{if(Ke=Le?Za(Le):window,wt=Ke.nodeName&&Ke.nodeName.toLowerCase(),wt==="select"||wt==="input"&&Ke.type==="file")var Pt=Ib;else if(Pv(Ke))if(Dv)Pt=Fv;else{Pt=_v;var Bt=_b}else(wt=Ke.nodeName)&&wt.toLowerCase()==="input"&&(Ke.type==="checkbox"||Ke.type==="radio")&&(Pt=Fb);if(Pt&&(Pt=Pt(o,Le))){Gp(et,Pt,f,Ze);break e}Bt&&Bt(o,Ke,Le),o==="focusout"&&(Bt=Ke._wrapperState)&&Bt.controlled&&Ke.type==="number"&&vt(Ke,"number",Ke.value)}switch(Bt=Le?Za(Le):window,o){case"focusin":(Pv(Bt)||Bt.contentEditable==="true")&&(tu=Bt,qp=Le,tc=null);break;case"focusout":tc=qp=tu=null;break;case"mousedown":Qp=!0;break;case"contextmenu":case"mouseup":case"dragend":Qp=!1,Xp(et,f,Ze);break;case"selectionchange":if(jb)break;case"keydown":case"keyup":Xp(et,f,Ze)}var Gt;if(Zs)e:{switch(o){case"compositionstart":var Kt="onCompositionStart";break e;case"compositionend":Kt="onCompositionEnd";break e;case"compositionupdate":Kt="onCompositionUpdate";break e}Kt=void 0}else Js?$v(o,f)&&(Kt="onCompositionEnd"):o==="keydown"&&f.keyCode===229&&(Kt="onCompositionStart");Kt&&(Rv&&f.locale!=="ko"&&(Js||Kt!=="onCompositionStart"?Kt==="onCompositionEnd"&&Js&&(Gt=Mp()):(ji=Ze,xd="value"in ji?ji.value:ji.textContent,Js=!0)),Bt=rc(Le,Kt),0<Bt.length&&(Kt=new Vp(Kt,o,null,f,Ze),et.push({event:Kt,listeners:Bt}),Gt?Kt.data=Gt:(Gt=Av(f),Gt!==null&&(Kt.data=Gt)))),(Gt=Ku?kv(o,f):Mb(o,f))&&(Le=rc(Le,"onBeforeInput"),0<Le.length&&(Ze=new Vp("onBeforeInput","beforeinput",null,f,Ze),et.push({event:Ze,listeners:Le}),Ze.data=Gt))}cs(et,a)})}function ru(o,a,f){return{instance:o,listener:a,currentTarget:f}}function rc(o,a){for(var f=a+"Capture",m=[];o!==null;){var x=o,E=x.stateNode;x.tag===5&&E!==null&&(x=E,E=$t(o,f),E!=null&&m.unshift(ru(o,E,x)),E=$t(o,a),E!=null&&m.push(ru(o,E,x))),o=o.return}return m}function bl(o){if(o===null)return null;do o=o.return;while(o&&o.tag!==5);return o||null}function Gv(o,a,f,m,x){for(var E=a._reactName,_=[];f!==null&&f!==m;){var re=f,de=re.alternate,Le=re.stateNode;if(de!==null&&de===m)break;re.tag===5&&Le!==null&&(re=Le,x?(de=$t(f,E),de!=null&&_.unshift(ru(f,de,re))):x||(de=$t(f,E),de!=null&&_.push(ru(f,de,re)))),f=f.return}_.length!==0&&o.push({event:a,listeners:_})}var Wv=/\r\n?/g,zb=/\u0000|\uFFFD/g;function Yv(o){return(typeof o=="string"?o:""+o).replace(Wv,`
|
|
2704
|
+
`).replace(zb,"")}function _d(o,a,f){if(a=Yv(a),Yv(o)!==a&&f)throw Error(i(425))}function xl(){}var oc=null,ds=null;function Fd(o,a){return o==="textarea"||o==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Vd=typeof setTimeout=="function"?setTimeout:void 0,th=typeof clearTimeout=="function"?clearTimeout:void 0,qv=typeof Promise=="function"?Promise:void 0,ou=typeof queueMicrotask=="function"?queueMicrotask:typeof qv<"u"?function(o){return qv.resolve(null).then(o).catch(jd)}:Vd;function jd(o){setTimeout(function(){throw o})}function au(o,a){var f=a,m=0;do{var x=f.nextSibling;if(o.removeChild(f),x&&x.nodeType===8)if(f=x.data,f==="/$"){if(m===0){o.removeChild(x),yl(a);return}m--}else f!=="$"&&f!=="$?"&&f!=="$!"||m++;f=x}while(f);yl(a)}function hi(o){for(;o!=null;o=o.nextSibling){var a=o.nodeType;if(a===1||a===3)break;if(a===8){if(a=o.data,a==="$"||a==="$!"||a==="$?")break;if(a==="/$")return null}}return o}function Qv(o){o=o.previousSibling;for(var a=0;o;){if(o.nodeType===8){var f=o.data;if(f==="$"||f==="$!"||f==="$?"){if(a===0)return o;a--}else f==="/$"&&a++}o=o.previousSibling}return null}var Sl=Math.random().toString(36).slice(2),mi="__reactFiber$"+Sl,ac="__reactProps$"+Sl,Hi="__reactContainer$"+Sl,ic="__reactEvents$"+Sl,iu="__reactListeners$"+Sl,Hb="__reactHandles$"+Sl;function fs(o){var a=o[mi];if(a)return a;for(var f=o.parentNode;f;){if(a=f[Hi]||f[mi]){if(f=a.alternate,a.child!==null||f!==null&&f.child!==null)for(o=Qv(o);o!==null;){if(f=o[mi])return f;o=Qv(o)}return a}o=f,f=o.parentNode}return null}function Vt(o){return o=o[mi]||o[Hi],!o||o.tag!==5&&o.tag!==6&&o.tag!==13&&o.tag!==3?null:o}function Za(o){if(o.tag===5||o.tag===6)return o.stateNode;throw Error(i(33))}function pr(o){return o[ac]||null}var xn=[],Pa=-1;function Na(o){return{current:o}}function er(o){0>Pa||(o.current=xn[Pa],xn[Pa]=null,Pa--)}function Ft(o,a){Pa++,xn[Pa]=o.current,o.current=a}var Ro={},xr=Na(Ro),Gr=Na(!1),Jo=Ro;function ea(o,a){var f=o.type.contextTypes;if(!f)return Ro;var m=o.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===a)return m.__reactInternalMemoizedMaskedChildContext;var x={},E;for(E in f)x[E]=a[E];return m&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=a,o.__reactInternalMemoizedMaskedChildContext=x),x}function Mr(o){return o=o.childContextTypes,o!=null}function lu(){er(Gr),er(xr)}function Xv(o,a,f){if(xr.current!==Ro)throw Error(i(168));Ft(xr,a),Ft(Gr,f)}function lc(o,a,f){var m=o.stateNode;if(a=a.childContextTypes,typeof m.getChildContext!="function")return f;m=m.getChildContext();for(var x in m)if(!(x in a))throw Error(i(108,We(o)||"Unknown",x));return ee({},f,m)}function Jr(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Ro,Jo=xr.current,Ft(xr,o),Ft(Gr,Gr.current),!0}function Ud(o,a,f){var m=o.stateNode;if(!m)throw Error(i(169));f?(o=lc(o,a,Jo),m.__reactInternalMemoizedMergedChildContext=o,er(Gr),er(xr),Ft(xr,o)):er(Gr),Ft(Gr,f)}var vi=null,su=!1,Gi=!1;function Bd(o){vi===null?vi=[o]:vi.push(o)}function Cl(o){su=!0,Bd(o)}function yi(){if(!Gi&&vi!==null){Gi=!0;var o=0,a=Fn;try{var f=vi;for(Fn=1;o<f.length;o++){var m=f[o];do m=m(!0);while(m!==null)}vi=null,su=!1}catch(x){throw vi!==null&&(vi=vi.slice(o+1)),ar(Xa,yi),x}finally{Fn=a,Gi=!1}}return null}var wl=[],El=0,Tl=null,Wi=0,Lr=[],Da=0,ya=null,gi=1,bi="";function ps(o,a){wl[El++]=Wi,wl[El++]=Tl,Tl=o,Wi=a}function Kv(o,a,f){Lr[Da++]=gi,Lr[Da++]=bi,Lr[Da++]=ya,ya=o;var m=gi;o=bi;var x=32-Tr(m)-1;m&=~(1<<x),f+=1;var E=32-Tr(a)+x;if(30<E){var _=x-x%5;E=(m&(1<<_)-1).toString(32),m>>=_,x-=_,gi=1<<32-Tr(a)+x|f<<x|m,bi=E+o}else gi=1<<E|f<<x|m,bi=o}function zd(o){o.return!==null&&(ps(o,1),Kv(o,1,0))}function Hd(o){for(;o===Tl;)Tl=wl[--El],wl[El]=null,Wi=wl[--El],wl[El]=null;for(;o===ya;)ya=Lr[--Da],Lr[Da]=null,bi=Lr[--Da],Lr[Da]=null,gi=Lr[--Da],Lr[Da]=null}var ta=null,na=null,cr=!1,Ma=null;function nh(o,a){var f=Va(5,null,null,0);f.elementType="DELETED",f.stateNode=a,f.return=o,a=o.deletions,a===null?(o.deletions=[f],o.flags|=16):a.push(f)}function Zv(o,a){switch(o.tag){case 5:var f=o.type;return a=a.nodeType!==1||f.toLowerCase()!==a.nodeName.toLowerCase()?null:a,a!==null?(o.stateNode=a,ta=o,na=hi(a.firstChild),!0):!1;case 6:return a=o.pendingProps===""||a.nodeType!==3?null:a,a!==null?(o.stateNode=a,ta=o,na=null,!0):!1;case 13:return a=a.nodeType!==8?null:a,a!==null?(f=ya!==null?{id:gi,overflow:bi}:null,o.memoizedState={dehydrated:a,treeContext:f,retryLane:1073741824},f=Va(18,null,null,0),f.stateNode=a,f.return=o,o.child=f,ta=o,na=null,!0):!1;default:return!1}}function rh(o){return(o.mode&1)!==0&&(o.flags&128)===0}function oh(o){if(cr){var a=na;if(a){var f=a;if(!Zv(o,a)){if(rh(o))throw Error(i(418));a=hi(f.nextSibling);var m=ta;a&&Zv(o,a)?nh(m,f):(o.flags=o.flags&-4097|2,cr=!1,ta=o)}}else{if(rh(o))throw Error(i(418));o.flags=o.flags&-4097|2,cr=!1,ta=o}}}function Wr(o){for(o=o.return;o!==null&&o.tag!==5&&o.tag!==3&&o.tag!==13;)o=o.return;ta=o}function Gd(o){if(o!==ta)return!1;if(!cr)return Wr(o),cr=!0,!1;var a;if((a=o.tag!==3)&&!(a=o.tag!==5)&&(a=o.type,a=a!=="head"&&a!=="body"&&!Fd(o.type,o.memoizedProps)),a&&(a=na)){if(rh(o))throw sc(),Error(i(418));for(;a;)nh(o,a),a=hi(a.nextSibling)}if(Wr(o),o.tag===13){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(i(317));e:{for(o=o.nextSibling,a=0;o;){if(o.nodeType===8){var f=o.data;if(f==="/$"){if(a===0){na=hi(o.nextSibling);break e}a--}else f!=="$"&&f!=="$!"&&f!=="$?"||a++}o=o.nextSibling}na=null}}else na=ta?hi(o.stateNode.nextSibling):null;return!0}function sc(){for(var o=na;o;)o=hi(o.nextSibling)}function Rl(){na=ta=null,cr=!1}function Yi(o){Ma===null?Ma=[o]:Ma.push(o)}var Gb=V.ReactCurrentBatchConfig;function hs(o,a,f){if(o=f.ref,o!==null&&typeof o!="function"&&typeof o!="object"){if(f._owner){if(f=f._owner,f){if(f.tag!==1)throw Error(i(309));var m=f.stateNode}if(!m)throw Error(i(147,o));var x=m,E=""+o;return a!==null&&a.ref!==null&&typeof a.ref=="function"&&a.ref._stringRef===E?a.ref:(a=function(_){var re=x.refs;_===null?delete re[E]:re[E]=_},a._stringRef=E,a)}if(typeof o!="string")throw Error(i(284));if(!f._owner)throw Error(i(290,o))}return o}function Wd(o,a){throw o=Object.prototype.toString.call(a),Error(i(31,o==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":o))}function Jv(o){var a=o._init;return a(o._payload)}function ms(o){function a(Ae,xe){if(o){var Ne=Ae.deletions;Ne===null?(Ae.deletions=[xe],Ae.flags|=16):Ne.push(xe)}}function f(Ae,xe){if(!o)return null;for(;xe!==null;)a(Ae,xe),xe=xe.sibling;return null}function m(Ae,xe){for(Ae=new Map;xe!==null;)xe.key!==null?Ae.set(xe.key,xe):Ae.set(xe.index,xe),xe=xe.sibling;return Ae}function x(Ae,xe){return Ae=Ml(Ae,xe),Ae.index=0,Ae.sibling=null,Ae}function E(Ae,xe,Ne){return Ae.index=Ne,o?(Ne=Ae.alternate,Ne!==null?(Ne=Ne.index,Ne<xe?(Ae.flags|=2,xe):Ne):(Ae.flags|=2,xe)):(Ae.flags|=1048576,xe)}function _(Ae){return o&&Ae.alternate===null&&(Ae.flags|=2),Ae}function re(Ae,xe,Ne,Je){return xe===null||xe.tag!==6?(xe=Lh(Ne,Ae.mode,Je),xe.return=Ae,xe):(xe=x(xe,Ne),xe.return=Ae,xe)}function de(Ae,xe,Ne,Je){var Pt=Ne.type;return Pt===Z?Ze(Ae,xe,Ne.props.children,Je,Ne.key):xe!==null&&(xe.elementType===Pt||typeof Pt=="object"&&Pt!==null&&Pt.$$typeof===fe&&Jv(Pt)===xe.type)?(Je=x(xe,Ne.props),Je.ref=hs(Ae,xe,Ne),Je.return=Ae,Je):(Je=Fc(Ne.type,Ne.key,Ne.props,null,Ae.mode,Je),Je.ref=hs(Ae,xe,Ne),Je.return=Ae,Je)}function Le(Ae,xe,Ne,Je){return xe===null||xe.tag!==4||xe.stateNode.containerInfo!==Ne.containerInfo||xe.stateNode.implementation!==Ne.implementation?(xe=Rf(Ne,Ae.mode,Je),xe.return=Ae,xe):(xe=x(xe,Ne.children||[]),xe.return=Ae,xe)}function Ze(Ae,xe,Ne,Je,Pt){return xe===null||xe.tag!==7?(xe=Ji(Ne,Ae.mode,Je,Pt),xe.return=Ae,xe):(xe=x(xe,Ne),xe.return=Ae,xe)}function et(Ae,xe,Ne){if(typeof xe=="string"&&xe!==""||typeof xe=="number")return xe=Lh(""+xe,Ae.mode,Ne),xe.return=Ae,xe;if(typeof xe=="object"&&xe!==null){switch(xe.$$typeof){case N:return Ne=Fc(xe.type,xe.key,xe.props,null,Ae.mode,Ne),Ne.ref=hs(Ae,null,xe),Ne.return=Ae,Ne;case z:return xe=Rf(xe,Ae.mode,Ne),xe.return=Ae,xe;case fe:var Je=xe._init;return et(Ae,Je(xe._payload),Ne)}if(yt(xe)||ne(xe))return xe=Ji(xe,Ae.mode,Ne,null),xe.return=Ae,xe;Wd(Ae,xe)}return null}function Ke(Ae,xe,Ne,Je){var Pt=xe!==null?xe.key:null;if(typeof Ne=="string"&&Ne!==""||typeof Ne=="number")return Pt!==null?null:re(Ae,xe,""+Ne,Je);if(typeof Ne=="object"&&Ne!==null){switch(Ne.$$typeof){case N:return Ne.key===Pt?de(Ae,xe,Ne,Je):null;case z:return Ne.key===Pt?Le(Ae,xe,Ne,Je):null;case fe:return Pt=Ne._init,Ke(Ae,xe,Pt(Ne._payload),Je)}if(yt(Ne)||ne(Ne))return Pt!==null?null:Ze(Ae,xe,Ne,Je,null);Wd(Ae,Ne)}return null}function wt(Ae,xe,Ne,Je,Pt){if(typeof Je=="string"&&Je!==""||typeof Je=="number")return Ae=Ae.get(Ne)||null,re(xe,Ae,""+Je,Pt);if(typeof Je=="object"&&Je!==null){switch(Je.$$typeof){case N:return Ae=Ae.get(Je.key===null?Ne:Je.key)||null,de(xe,Ae,Je,Pt);case z:return Ae=Ae.get(Je.key===null?Ne:Je.key)||null,Le(xe,Ae,Je,Pt);case fe:var Bt=Je._init;return wt(Ae,xe,Ne,Bt(Je._payload),Pt)}if(yt(Je)||ne(Je))return Ae=Ae.get(Ne)||null,Ze(xe,Ae,Je,Pt,null);Wd(xe,Je)}return null}function kt(Ae,xe,Ne,Je){for(var Pt=null,Bt=null,Gt=xe,Kt=xe=0,no=null;Gt!==null&&Kt<Ne.length;Kt++){Gt.index>Kt?(no=Gt,Gt=null):no=Gt.sibling;var kn=Ke(Ae,Gt,Ne[Kt],Je);if(kn===null){Gt===null&&(Gt=no);break}o&&Gt&&kn.alternate===null&&a(Ae,Gt),xe=E(kn,xe,Kt),Bt===null?Pt=kn:Bt.sibling=kn,Bt=kn,Gt=no}if(Kt===Ne.length)return f(Ae,Gt),cr&&ps(Ae,Kt),Pt;if(Gt===null){for(;Kt<Ne.length;Kt++)Gt=et(Ae,Ne[Kt],Je),Gt!==null&&(xe=E(Gt,xe,Kt),Bt===null?Pt=Gt:Bt.sibling=Gt,Bt=Gt);return cr&&ps(Ae,Kt),Pt}for(Gt=m(Ae,Gt);Kt<Ne.length;Kt++)no=wt(Gt,Ae,Kt,Ne[Kt],Je),no!==null&&(o&&no.alternate!==null&&Gt.delete(no.key===null?Kt:no.key),xe=E(no,xe,Kt),Bt===null?Pt=no:Bt.sibling=no,Bt=no);return o&&Gt.forEach(function(_l){return a(Ae,_l)}),cr&&ps(Ae,Kt),Pt}function Mt(Ae,xe,Ne,Je){var Pt=ne(Ne);if(typeof Pt!="function")throw Error(i(150));if(Ne=Pt.call(Ne),Ne==null)throw Error(i(151));for(var Bt=Pt=null,Gt=xe,Kt=xe=0,no=null,kn=Ne.next();Gt!==null&&!kn.done;Kt++,kn=Ne.next()){Gt.index>Kt?(no=Gt,Gt=null):no=Gt.sibling;var _l=Ke(Ae,Gt,kn.value,Je);if(_l===null){Gt===null&&(Gt=no);break}o&&Gt&&_l.alternate===null&&a(Ae,Gt),xe=E(_l,xe,Kt),Bt===null?Pt=_l:Bt.sibling=_l,Bt=_l,Gt=no}if(kn.done)return f(Ae,Gt),cr&&ps(Ae,Kt),Pt;if(Gt===null){for(;!kn.done;Kt++,kn=Ne.next())kn=et(Ae,kn.value,Je),kn!==null&&(xe=E(kn,xe,Kt),Bt===null?Pt=kn:Bt.sibling=kn,Bt=kn);return cr&&ps(Ae,Kt),Pt}for(Gt=m(Ae,Gt);!kn.done;Kt++,kn=Ne.next())kn=wt(Gt,Ae,Kt,kn.value,Je),kn!==null&&(o&&kn.alternate!==null&&Gt.delete(kn.key===null?Kt:kn.key),xe=E(kn,xe,Kt),Bt===null?Pt=kn:Bt.sibling=kn,Bt=kn);return o&&Gt.forEach(function(Ly){return a(Ae,Ly)}),cr&&ps(Ae,Kt),Pt}function Pr(Ae,xe,Ne,Je){if(typeof Ne=="object"&&Ne!==null&&Ne.type===Z&&Ne.key===null&&(Ne=Ne.props.children),typeof Ne=="object"&&Ne!==null){switch(Ne.$$typeof){case N:e:{for(var Pt=Ne.key,Bt=xe;Bt!==null;){if(Bt.key===Pt){if(Pt=Ne.type,Pt===Z){if(Bt.tag===7){f(Ae,Bt.sibling),xe=x(Bt,Ne.props.children),xe.return=Ae,Ae=xe;break e}}else if(Bt.elementType===Pt||typeof Pt=="object"&&Pt!==null&&Pt.$$typeof===fe&&Jv(Pt)===Bt.type){f(Ae,Bt.sibling),xe=x(Bt,Ne.props),xe.ref=hs(Ae,Bt,Ne),xe.return=Ae,Ae=xe;break e}f(Ae,Bt);break}else a(Ae,Bt);Bt=Bt.sibling}Ne.type===Z?(xe=Ji(Ne.props.children,Ae.mode,Je,Ne.key),xe.return=Ae,Ae=xe):(Je=Fc(Ne.type,Ne.key,Ne.props,null,Ae.mode,Je),Je.ref=hs(Ae,xe,Ne),Je.return=Ae,Ae=Je)}return _(Ae);case z:e:{for(Bt=Ne.key;xe!==null;){if(xe.key===Bt)if(xe.tag===4&&xe.stateNode.containerInfo===Ne.containerInfo&&xe.stateNode.implementation===Ne.implementation){f(Ae,xe.sibling),xe=x(xe,Ne.children||[]),xe.return=Ae,Ae=xe;break e}else{f(Ae,xe);break}else a(Ae,xe);xe=xe.sibling}xe=Rf(Ne,Ae.mode,Je),xe.return=Ae,Ae=xe}return _(Ae);case fe:return Bt=Ne._init,Pr(Ae,xe,Bt(Ne._payload),Je)}if(yt(Ne))return kt(Ae,xe,Ne,Je);if(ne(Ne))return Mt(Ae,xe,Ne,Je);Wd(Ae,Ne)}return typeof Ne=="string"&&Ne!==""||typeof Ne=="number"?(Ne=""+Ne,xe!==null&&xe.tag===6?(f(Ae,xe.sibling),xe=x(xe,Ne),xe.return=Ae,Ae=xe):(f(Ae,xe),xe=Lh(Ne,Ae.mode,Je),xe.return=Ae,Ae=xe),_(Ae)):f(Ae,xe)}return Pr}var Or=ms(!0),bt=ms(!1),ga=Na(null),ra=null,uu=null,ah=null;function ih(){ah=uu=ra=null}function lh(o){var a=ga.current;er(ga),o._currentValue=a}function sh(o,a,f){for(;o!==null;){var m=o.alternate;if((o.childLanes&a)!==a?(o.childLanes|=a,m!==null&&(m.childLanes|=a)):m!==null&&(m.childLanes&a)!==a&&(m.childLanes|=a),o===f)break;o=o.return}}function hr(o,a){ra=o,ah=uu=null,o=o.dependencies,o!==null&&o.firstContext!==null&&((o.lanes&a)!==0&&(_r=!0),o.firstContext=null)}function La(o){var a=o._currentValue;if(ah!==o)if(o={context:o,memoizedValue:a,next:null},uu===null){if(ra===null)throw Error(i(308));uu=o,ra.dependencies={lanes:0,firstContext:o}}else uu=uu.next=o;return a}var vs=null;function uh(o){vs===null?vs=[o]:vs.push(o)}function ch(o,a,f,m){var x=a.interleaved;return x===null?(f.next=f,uh(a)):(f.next=x.next,x.next=f),a.interleaved=f,ba(o,m)}function ba(o,a){o.lanes|=a;var f=o.alternate;for(f!==null&&(f.lanes|=a),f=o,o=o.return;o!==null;)o.childLanes|=a,f=o.alternate,f!==null&&(f.childLanes|=a),f=o,o=o.return;return f.tag===3?f.stateNode:null}var xa=!1;function dh(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ey(o,a){o=o.updateQueue,a.updateQueue===o&&(a.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects})}function qi(o,a){return{eventTime:o,lane:a,tag:0,payload:null,callback:null,next:null}}function Ol(o,a,f){var m=o.updateQueue;if(m===null)return null;if(m=m.shared,(Sn&2)!==0){var x=m.pending;return x===null?a.next=a:(a.next=x.next,x.next=a),m.pending=a,ba(o,f)}return x=m.interleaved,x===null?(a.next=a,uh(m)):(a.next=x.next,x.next=a),m.interleaved=a,ba(o,f)}function Yd(o,a,f){if(a=a.updateQueue,a!==null&&(a=a.shared,(f&4194240)!==0)){var m=a.lanes;m&=o.pendingLanes,f|=m,a.lanes=f,vd(o,f)}}function ty(o,a){var f=o.updateQueue,m=o.alternate;if(m!==null&&(m=m.updateQueue,f===m)){var x=null,E=null;if(f=f.firstBaseUpdate,f!==null){do{var _={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};E===null?x=E=_:E=E.next=_,f=f.next}while(f!==null);E===null?x=E=a:E=E.next=a}else x=E=a;f={baseState:m.baseState,firstBaseUpdate:x,lastBaseUpdate:E,shared:m.shared,effects:m.effects},o.updateQueue=f;return}o=f.lastBaseUpdate,o===null?f.firstBaseUpdate=a:o.next=a,f.lastBaseUpdate=a}function uc(o,a,f,m){var x=o.updateQueue;xa=!1;var E=x.firstBaseUpdate,_=x.lastBaseUpdate,re=x.shared.pending;if(re!==null){x.shared.pending=null;var de=re,Le=de.next;de.next=null,_===null?E=Le:_.next=Le,_=de;var Ze=o.alternate;Ze!==null&&(Ze=Ze.updateQueue,re=Ze.lastBaseUpdate,re!==_&&(re===null?Ze.firstBaseUpdate=Le:re.next=Le,Ze.lastBaseUpdate=de))}if(E!==null){var et=x.baseState;_=0,Ze=Le=de=null,re=E;do{var Ke=re.lane,wt=re.eventTime;if((m&Ke)===Ke){Ze!==null&&(Ze=Ze.next={eventTime:wt,lane:0,tag:re.tag,payload:re.payload,callback:re.callback,next:null});e:{var kt=o,Mt=re;switch(Ke=a,wt=f,Mt.tag){case 1:if(kt=Mt.payload,typeof kt=="function"){et=kt.call(wt,et,Ke);break e}et=kt;break e;case 3:kt.flags=kt.flags&-65537|128;case 0:if(kt=Mt.payload,Ke=typeof kt=="function"?kt.call(wt,et,Ke):kt,Ke==null)break e;et=ee({},et,Ke);break e;case 2:xa=!0}}re.callback!==null&&re.lane!==0&&(o.flags|=64,Ke=x.effects,Ke===null?x.effects=[re]:Ke.push(re))}else wt={eventTime:wt,lane:Ke,tag:re.tag,payload:re.payload,callback:re.callback,next:null},Ze===null?(Le=Ze=wt,de=et):Ze=Ze.next=wt,_|=Ke;if(re=re.next,re===null){if(re=x.shared.pending,re===null)break;Ke=re,re=Ke.next,Ke.next=null,x.lastBaseUpdate=Ke,x.shared.pending=null}}while(!0);if(Ze===null&&(de=et),x.baseState=de,x.firstBaseUpdate=Le,x.lastBaseUpdate=Ze,a=x.shared.interleaved,a!==null){x=a;do _|=x.lane,x=x.next;while(x!==a)}else E===null&&(x.shared.lanes=0);Ei|=_,o.lanes=_,o.memoizedState=et}}function fh(o,a,f){if(o=a.effects,a.effects=null,o!==null)for(a=0;a<o.length;a++){var m=o[a],x=m.callback;if(x!==null){if(m.callback=null,m=f,typeof x!="function")throw Error(i(191,x));x.call(m)}}}var cc={},xi=Na(cc),dc=Na(cc),fc=Na(cc);function ys(o){if(o===cc)throw Error(i(174));return o}function ph(o,a){switch(Ft(fc,a),Ft(dc,o),Ft(xi,cc),o=a.nodeType,o){case 9:case 11:a=(a=a.documentElement)?a.namespaceURI:Tn(null,"");break;default:o=o===8?a.parentNode:a,a=o.namespaceURI||null,o=o.tagName,a=Tn(a,o)}er(xi),Ft(xi,a)}function gs(){er(xi),er(dc),er(fc)}function ny(o){ys(fc.current);var a=ys(xi.current),f=Tn(a,o.type);a!==f&&(Ft(dc,o),Ft(xi,f))}function qd(o){dc.current===o&&(er(xi),er(dc))}var mr=Na(0);function Qd(o){for(var a=o;a!==null;){if(a.tag===13){var f=a.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===o)break;for(;a.sibling===null;){if(a.return===null||a.return===o)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var pc=[];function jt(){for(var o=0;o<pc.length;o++)pc[o]._workInProgressVersionPrimary=null;pc.length=0}var hn=V.ReactCurrentDispatcher,$n=V.ReactCurrentBatchConfig,zn=0,An=null,Ir=null,eo=null,Xd=!1,hc=!1,bs=0,Xe=0;function En(){throw Error(i(321))}function qt(o,a){if(a===null)return!1;for(var f=0;f<a.length&&f<o.length;f++)if(!Ka(o[f],a[f]))return!1;return!0}function $l(o,a,f,m,x,E){if(zn=E,An=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,hn.current=o===null||o.memoizedState===null?ff:xc,o=f(m,x),hc){E=0;do{if(hc=!1,bs=0,25<=E)throw Error(i(301));E+=1,eo=Ir=null,a.updateQueue=null,hn.current=pf,o=f(m,x)}while(hc)}if(hn.current=Es,a=Ir!==null&&Ir.next!==null,zn=0,eo=Ir=An=null,Xd=!1,a)throw Error(i(300));return o}function Ja(){var o=bs!==0;return bs=0,o}function Oo(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return eo===null?An.memoizedState=eo=o:eo=eo.next=o,eo}function $r(){if(Ir===null){var o=An.alternate;o=o!==null?o.memoizedState:null}else o=Ir.next;var a=eo===null?An.memoizedState:eo.next;if(a!==null)eo=a,Ir=o;else{if(o===null)throw Error(i(310));Ir=o,o={memoizedState:Ir.memoizedState,baseState:Ir.baseState,baseQueue:Ir.baseQueue,queue:Ir.queue,next:null},eo===null?An.memoizedState=eo=o:eo=eo.next=o}return eo}function Qi(o,a){return typeof a=="function"?a(o):a}function Al(o){var a=$r(),f=a.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=o;var m=Ir,x=m.baseQueue,E=f.pending;if(E!==null){if(x!==null){var _=x.next;x.next=E.next,E.next=_}m.baseQueue=x=E,f.pending=null}if(x!==null){E=x.next,m=m.baseState;var re=_=null,de=null,Le=E;do{var Ze=Le.lane;if((zn&Ze)===Ze)de!==null&&(de=de.next={lane:0,action:Le.action,hasEagerState:Le.hasEagerState,eagerState:Le.eagerState,next:null}),m=Le.hasEagerState?Le.eagerState:o(m,Le.action);else{var et={lane:Ze,action:Le.action,hasEagerState:Le.hasEagerState,eagerState:Le.eagerState,next:null};de===null?(re=de=et,_=m):de=de.next=et,An.lanes|=Ze,Ei|=Ze}Le=Le.next}while(Le!==null&&Le!==E);de===null?_=m:de.next=re,Ka(m,a.memoizedState)||(_r=!0),a.memoizedState=m,a.baseState=_,a.baseQueue=de,f.lastRenderedState=m}if(o=f.interleaved,o!==null){x=o;do E=x.lane,An.lanes|=E,Ei|=E,x=x.next;while(x!==o)}else x===null&&(f.lanes=0);return[a.memoizedState,f.dispatch]}function xs(o){var a=$r(),f=a.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=o;var m=f.dispatch,x=f.pending,E=a.memoizedState;if(x!==null){f.pending=null;var _=x=x.next;do E=o(E,_.action),_=_.next;while(_!==x);Ka(E,a.memoizedState)||(_r=!0),a.memoizedState=E,a.baseQueue===null&&(a.baseState=E),f.lastRenderedState=E}return[E,m]}function Kd(){}function Zd(o,a){var f=An,m=$r(),x=a(),E=!Ka(m.memoizedState,x);if(E&&(m.memoizedState=x,_r=!0),m=m.queue,mc(tf.bind(null,f,m,o),[o]),m.getSnapshot!==a||E||eo!==null&&eo.memoizedState.tag&1){if(f.flags|=2048,Ss(9,ef.bind(null,f,m,x,a),void 0,null),Yr===null)throw Error(i(349));(zn&30)!==0||Jd(f,a,x)}return x}function Jd(o,a,f){o.flags|=16384,o={getSnapshot:a,value:f},a=An.updateQueue,a===null?(a={lastEffect:null,stores:null},An.updateQueue=a,a.stores=[o]):(f=a.stores,f===null?a.stores=[o]:f.push(o))}function ef(o,a,f,m){a.value=f,a.getSnapshot=m,nf(a)&&rf(o)}function tf(o,a,f){return f(function(){nf(a)&&rf(o)})}function nf(o){var a=o.getSnapshot;o=o.value;try{var f=a();return!Ka(o,f)}catch{return!0}}function rf(o){var a=ba(o,1);a!==null&&Lo(a,o,1,-1)}function of(o){var a=Oo();return typeof o=="function"&&(o=o()),a.memoizedState=a.baseState=o,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qi,lastRenderedState:o},a.queue=o,o=o.dispatch=ws.bind(null,An,o),[a.memoizedState,o]}function Ss(o,a,f,m){return o={tag:o,create:a,destroy:f,deps:m,next:null},a=An.updateQueue,a===null?(a={lastEffect:null,stores:null},An.updateQueue=a,a.lastEffect=o.next=o):(f=a.lastEffect,f===null?a.lastEffect=o.next=o:(m=f.next,f.next=o,o.next=m,a.lastEffect=o)),o}function af(){return $r().memoizedState}function cu(o,a,f,m){var x=Oo();An.flags|=o,x.memoizedState=Ss(1|a,f,void 0,m===void 0?null:m)}function du(o,a,f,m){var x=$r();m=m===void 0?null:m;var E=void 0;if(Ir!==null){var _=Ir.memoizedState;if(E=_.destroy,m!==null&&qt(m,_.deps)){x.memoizedState=Ss(a,f,E,m);return}}An.flags|=o,x.memoizedState=Ss(1|a,f,E,m)}function lf(o,a){return cu(8390656,8,o,a)}function mc(o,a){return du(2048,8,o,a)}function sf(o,a){return du(4,2,o,a)}function vc(o,a){return du(4,4,o,a)}function Cs(o,a){if(typeof a=="function")return o=o(),a(o),function(){a(null)};if(a!=null)return o=o(),a.current=o,function(){a.current=null}}function uf(o,a,f){return f=f!=null?f.concat([o]):null,du(4,4,Cs.bind(null,a,o),f)}function yc(){}function cf(o,a){var f=$r();a=a===void 0?null:a;var m=f.memoizedState;return m!==null&&a!==null&&qt(a,m[1])?m[0]:(f.memoizedState=[o,a],o)}function df(o,a){var f=$r();a=a===void 0?null:a;var m=f.memoizedState;return m!==null&&a!==null&&qt(a,m[1])?m[0]:(o=o(),f.memoizedState=[o,a],o)}function hh(o,a,f){return(zn&21)===0?(o.baseState&&(o.baseState=!1,_r=!0),o.memoizedState=f):(Ka(f,a)||(f=Qo(),An.lanes|=f,Ei|=f,o.baseState=!0),a)}function gc(o,a){var f=Fn;Fn=f!==0&&4>f?f:4,o(!0);var m=$n.transition;$n.transition={};try{o(!1),a()}finally{Fn=f,$n.transition=m}}function mh(){return $r().memoizedState}function bc(o,a,f){var m=Ti(o);if(f={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null},oa(o))ry(a,f);else if(f=ch(o,a,f,m),f!==null){var x=jr();Lo(f,o,m,x),Kn(f,a,m)}}function ws(o,a,f){var m=Ti(o),x={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null};if(oa(o))ry(a,x);else{var E=o.alternate;if(o.lanes===0&&(E===null||E.lanes===0)&&(E=a.lastRenderedReducer,E!==null))try{var _=a.lastRenderedState,re=E(_,f);if(x.hasEagerState=!0,x.eagerState=re,Ka(re,_)){var de=a.interleaved;de===null?(x.next=x,uh(a)):(x.next=de.next,de.next=x),a.interleaved=x;return}}catch{}finally{}f=ch(o,a,x,m),f!==null&&(x=jr(),Lo(f,o,m,x),Kn(f,a,m))}}function oa(o){var a=o.alternate;return o===An||a!==null&&a===An}function ry(o,a){hc=Xd=!0;var f=o.pending;f===null?a.next=a:(a.next=f.next,f.next=a),o.pending=a}function Kn(o,a,f){if((f&4194240)!==0){var m=a.lanes;m&=o.pendingLanes,f|=m,a.lanes=f,vd(o,f)}}var Es={readContext:La,useCallback:En,useContext:En,useEffect:En,useImperativeHandle:En,useInsertionEffect:En,useLayoutEffect:En,useMemo:En,useReducer:En,useRef:En,useState:En,useDebugValue:En,useDeferredValue:En,useTransition:En,useMutableSource:En,useSyncExternalStore:En,useId:En,unstable_isNewReconciler:!1},ff={readContext:La,useCallback:function(o,a){return Oo().memoizedState=[o,a===void 0?null:a],o},useContext:La,useEffect:lf,useImperativeHandle:function(o,a,f){return f=f!=null?f.concat([o]):null,cu(4194308,4,Cs.bind(null,a,o),f)},useLayoutEffect:function(o,a){return cu(4194308,4,o,a)},useInsertionEffect:function(o,a){return cu(4,2,o,a)},useMemo:function(o,a){var f=Oo();return a=a===void 0?null:a,o=o(),f.memoizedState=[o,a],o},useReducer:function(o,a,f){var m=Oo();return a=f!==void 0?f(a):a,m.memoizedState=m.baseState=a,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:a},m.queue=o,o=o.dispatch=bc.bind(null,An,o),[m.memoizedState,o]},useRef:function(o){var a=Oo();return o={current:o},a.memoizedState=o},useState:of,useDebugValue:yc,useDeferredValue:function(o){return Oo().memoizedState=o},useTransition:function(){var o=of(!1),a=o[0];return o=gc.bind(null,o[1]),Oo().memoizedState=o,[a,o]},useMutableSource:function(){},useSyncExternalStore:function(o,a,f){var m=An,x=Oo();if(cr){if(f===void 0)throw Error(i(407));f=f()}else{if(f=a(),Yr===null)throw Error(i(349));(zn&30)!==0||Jd(m,a,f)}x.memoizedState=f;var E={value:f,getSnapshot:a};return x.queue=E,lf(tf.bind(null,m,E,o),[o]),m.flags|=2048,Ss(9,ef.bind(null,m,E,f,a),void 0,null),f},useId:function(){var o=Oo(),a=Yr.identifierPrefix;if(cr){var f=bi,m=gi;f=(m&~(1<<32-Tr(m)-1)).toString(32)+f,a=":"+a+"R"+f,f=bs++,0<f&&(a+="H"+f.toString(32)),a+=":"}else f=Xe++,a=":"+a+"r"+f.toString(32)+":";return o.memoizedState=a},unstable_isNewReconciler:!1},xc={readContext:La,useCallback:cf,useContext:La,useEffect:mc,useImperativeHandle:uf,useInsertionEffect:sf,useLayoutEffect:vc,useMemo:df,useReducer:Al,useRef:af,useState:function(){return Al(Qi)},useDebugValue:yc,useDeferredValue:function(o){var a=$r();return hh(a,Ir.memoizedState,o)},useTransition:function(){var o=Al(Qi)[0],a=$r().memoizedState;return[o,a]},useMutableSource:Kd,useSyncExternalStore:Zd,useId:mh,unstable_isNewReconciler:!1},pf={readContext:La,useCallback:cf,useContext:La,useEffect:mc,useImperativeHandle:uf,useInsertionEffect:sf,useLayoutEffect:vc,useMemo:df,useReducer:xs,useRef:af,useState:function(){return xs(Qi)},useDebugValue:yc,useDeferredValue:function(o){var a=$r();return Ir===null?a.memoizedState=o:hh(a,Ir.memoizedState,o)},useTransition:function(){var o=xs(Qi)[0],a=$r().memoizedState;return[o,a]},useMutableSource:Kd,useSyncExternalStore:Zd,useId:mh,unstable_isNewReconciler:!1};function ei(o,a){if(o&&o.defaultProps){a=ee({},a),o=o.defaultProps;for(var f in o)a[f]===void 0&&(a[f]=o[f]);return a}return a}function vh(o,a,f,m){a=o.memoizedState,f=f(m,a),f=f==null?a:ee({},a,f),o.memoizedState=f,o.lanes===0&&(o.updateQueue.baseState=f)}var hf={isMounted:function(o){return(o=o._reactInternals)?At(o)===o:!1},enqueueSetState:function(o,a,f){o=o._reactInternals;var m=jr(),x=Ti(o),E=qi(m,x);E.payload=a,f!=null&&(E.callback=f),a=Ol(o,E,x),a!==null&&(Lo(a,o,x,m),Yd(a,o,x))},enqueueReplaceState:function(o,a,f){o=o._reactInternals;var m=jr(),x=Ti(o),E=qi(m,x);E.tag=1,E.payload=a,f!=null&&(E.callback=f),a=Ol(o,E,x),a!==null&&(Lo(a,o,x,m),Yd(a,o,x))},enqueueForceUpdate:function(o,a){o=o._reactInternals;var f=jr(),m=Ti(o),x=qi(f,m);x.tag=2,a!=null&&(x.callback=a),a=Ol(o,x,m),a!==null&&(Lo(a,o,m,f),Yd(a,o,m))}};function oy(o,a,f,m,x,E,_){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(m,E,_):a.prototype&&a.prototype.isPureReactComponent?!Ju(f,m)||!Ju(x,E):!0}function mf(o,a,f){var m=!1,x=Ro,E=a.contextType;return typeof E=="object"&&E!==null?E=La(E):(x=Mr(a)?Jo:xr.current,m=a.contextTypes,E=(m=m!=null)?ea(o,x):Ro),a=new a(f,E),o.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=hf,o.stateNode=a,a._reactInternals=o,m&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=x,o.__reactInternalMemoizedMaskedChildContext=E),a}function ay(o,a,f,m){o=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(f,m),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(f,m),a.state!==o&&hf.enqueueReplaceState(a,a.state,null)}function Sc(o,a,f,m){var x=o.stateNode;x.props=f,x.state=o.memoizedState,x.refs={},dh(o);var E=a.contextType;typeof E=="object"&&E!==null?x.context=La(E):(E=Mr(a)?Jo:xr.current,x.context=ea(o,E)),x.state=o.memoizedState,E=a.getDerivedStateFromProps,typeof E=="function"&&(vh(o,a,E,f),x.state=o.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(a=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),a!==x.state&&hf.enqueueReplaceState(x,x.state,null),uc(o,f,x,m),x.state=o.memoizedState),typeof x.componentDidMount=="function"&&(o.flags|=4194308)}function Ts(o,a){try{var f="",m=a;do f+=Be(m),m=m.return;while(m);var x=f}catch(E){x=`
|
|
2705
2705
|
Error generating stack: `+E.message+`
|
|
2706
|
-
`+E.stack}return{value:o,source:a,stack:x,digest:null}}function yh(o,a,f){return{value:o,source:null,stack:f??null,digest:a??null}}function gh(o,a){try{console.error(a.value)}catch(f){setTimeout(function(){throw f})}}var vf=typeof WeakMap=="function"?WeakMap:Map;function iy(o,a,f){f=qi(-1,f),f.tag=3,f.payload={element:null};var m=a.value;return f.callback=function(){yu||(yu=!0,$s=m),gh(o,a)},f}function bh(o,a,f){f=qi(-1,f),f.tag=3;var m=o.type.getDerivedStateFromError;if(typeof m=="function"){var x=a.value;f.payload=function(){return m(x)},f.callback=function(){gh(o,a)}}var E=o.stateNode;return E!==null&&typeof E.componentDidCatch=="function"&&(f.callback=function(){gh(o,a),typeof m!="function"&&(Nl===null?Nl=new Set([this]):Nl.add(this));var _=a.stack;this.componentDidCatch(a.value,{componentStack:_!==null?_:""})}),f}function xh(o,a,f){var m=o.pingCache;if(m===null){m=o.pingCache=new vf;var x=new Set;m.set(a,x)}else x=m.get(a),x===void 0&&(x=new Set,m.set(a,x));x.has(f)||(x.add(f),o=Zb.bind(null,o,a,f),a.then(o,o))}function ly(o){do{var a;if((a=o.tag===13)&&(a=o.memoizedState,a=a!==null?a.dehydrated!==null:!0),a)return o;o=o.return}while(o!==null);return null}function kl(o,a,f,m,x){return(o.mode&1)===0?(o===a?o.flags|=65536:(o.flags|=128,f.flags|=131072,f.flags&=-52805,f.tag===1&&(f.alternate===null?f.tag=17:(a=qi(-1,1),a.tag=2,Ol(f,a,1))),f.lanes|=1),o):(o.flags|=65536,o.lanes=x,o)}var Cc=V.ReactCurrentOwner,_r=!1;function ho(o,a,f,m){a.child=o===null?bt(a,null,f,m):Rr(a,o.child,f,m)}function aa(o,a,f,m,x){f=f.render;var E=a.ref;return hr(a,x),m=$l(o,a,f,m,E,x),f=Za(),o!==null&&!_r?(a.updateQueue=o.updateQueue,a.flags&=-2053,o.lanes&=~x,_a(o,a,x)):(cr&&f&&zd(a),a.flags|=1,ho(o,a,m,x),a.child)}function Rs(o,a,f,m,x){if(o===null){var E=f.type;return typeof E=="function"&&!Mh(E)&&E.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(a.tag=15,a.type=E,on(o,a,E,m,x)):(o=Fc(f.type,null,m,a,a.mode,x),o.ref=a.ref,o.return=a,a.child=o)}if(E=o.child,(o.lanes&x)===0){var _=E.memoizedProps;if(f=f.compare,f=f!==null?f:Ju,f(_,m)&&o.ref===a.ref)return _a(o,a,x)}return a.flags|=1,o=Ml(E,m),o.ref=a.ref,o.return=a,a.child=o}function on(o,a,f,m,x){if(o!==null){var E=o.memoizedProps;if(Ju(E,m)&&o.ref===a.ref)if(_r=!1,a.pendingProps=m=E,(o.lanes&x)!==0)(o.flags&131072)!==0&&(_r=!0);else return a.lanes=o.lanes,_a(o,a,x)}return sy(o,a,f,m,x)}function wc(o,a,f){var m=a.pendingProps,x=m.children,E=o!==null?o.memoizedState:null;if(m.mode==="hidden")if((a.mode&1)===0)a.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ft(hu,Sa),Sa|=f;else{if((f&1073741824)===0)return o=E!==null?E.baseLanes|f:f,a.lanes=a.childLanes=1073741824,a.memoizedState={baseLanes:o,cachePool:null,transitions:null},a.updateQueue=null,Ft(hu,Sa),Sa|=o,null;a.memoizedState={baseLanes:0,cachePool:null,transitions:null},m=E!==null?E.baseLanes:f,Ft(hu,Sa),Sa|=m}else E!==null?(m=E.baseLanes|f,a.memoizedState=null):m=f,Ft(hu,Sa),Sa|=m;return ho(o,a,x,f),a.child}function Sh(o,a){var f=a.ref;(o===null&&f!==null||o!==null&&o.ref!==f)&&(a.flags|=512,a.flags|=2097152)}function sy(o,a,f,m,x){var E=Mr(f)?Jo:xr.current;return E=ea(a,E),hr(a,x),f=$l(o,a,f,m,E,x),m=Za(),o!==null&&!_r?(a.updateQueue=o.updateQueue,a.flags&=-2053,o.lanes&=~x,_a(o,a,x)):(cr&&m&&zd(a),a.flags|=1,ho(o,a,f,x),a.child)}function uy(o,a,f,m,x){if(Mr(f)){var E=!0;Jr(a)}else E=!1;if(hr(a,x),a.stateNode===null)Ia(o,a),mf(a,f,m),Sc(a,f,m,x),m=!0;else if(o===null){var _=a.stateNode,re=a.memoizedProps;_.props=re;var de=_.context,Le=f.contextType;typeof Le=="object"&&Le!==null?Le=La(Le):(Le=Mr(f)?Jo:xr.current,Le=ea(a,Le));var Ze=f.getDerivedStateFromProps,et=typeof Ze=="function"||typeof _.getSnapshotBeforeUpdate=="function";et||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(re!==m||de!==Le)&&ay(a,_,m,Le),xa=!1;var Ke=a.memoizedState;_.state=Ke,uc(a,m,_,x),de=a.memoizedState,re!==m||Ke!==de||Gr.current||xa?(typeof Ze=="function"&&(vh(a,f,Ze,m),de=a.memoizedState),(re=xa||oy(a,f,re,m,Ke,de,Le))?(et||typeof _.UNSAFE_componentWillMount!="function"&&typeof _.componentWillMount!="function"||(typeof _.componentWillMount=="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount=="function"&&_.UNSAFE_componentWillMount()),typeof _.componentDidMount=="function"&&(a.flags|=4194308)):(typeof _.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=m,a.memoizedState=de),_.props=m,_.state=de,_.context=Le,m=re):(typeof _.componentDidMount=="function"&&(a.flags|=4194308),m=!1)}else{_=a.stateNode,ey(o,a),re=a.memoizedProps,Le=a.type===a.elementType?re:Ja(a.type,re),_.props=Le,et=a.pendingProps,Ke=_.context,de=f.contextType,typeof de=="object"&&de!==null?de=La(de):(de=Mr(f)?Jo:xr.current,de=ea(a,de));var wt=f.getDerivedStateFromProps;(Ze=typeof wt=="function"||typeof _.getSnapshotBeforeUpdate=="function")||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(re!==et||Ke!==de)&&ay(a,_,m,de),xa=!1,Ke=a.memoizedState,_.state=Ke,uc(a,m,_,x);var kt=a.memoizedState;re!==et||Ke!==kt||Gr.current||xa?(typeof wt=="function"&&(vh(a,f,wt,m),kt=a.memoizedState),(Le=xa||oy(a,f,Le,m,Ke,kt,de)||!1)?(Ze||typeof _.UNSAFE_componentWillUpdate!="function"&&typeof _.componentWillUpdate!="function"||(typeof _.componentWillUpdate=="function"&&_.componentWillUpdate(m,kt,de),typeof _.UNSAFE_componentWillUpdate=="function"&&_.UNSAFE_componentWillUpdate(m,kt,de)),typeof _.componentDidUpdate=="function"&&(a.flags|=4),typeof _.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof _.componentDidUpdate!="function"||re===o.memoizedProps&&Ke===o.memoizedState||(a.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||re===o.memoizedProps&&Ke===o.memoizedState||(a.flags|=1024),a.memoizedProps=m,a.memoizedState=kt),_.props=m,_.state=kt,_.context=de,m=Le):(typeof _.componentDidUpdate!="function"||re===o.memoizedProps&&Ke===o.memoizedState||(a.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||re===o.memoizedProps&&Ke===o.memoizedState||(a.flags|=1024),m=!1)}return Ec(o,a,f,m,E,x)}function Ec(o,a,f,m,x,E){Sh(o,a);var _=(a.flags&128)!==0;if(!m&&!_)return x&&Ud(a,f,!1),_a(o,a,E);m=a.stateNode,Cc.current=a;var re=_&&typeof f.getDerivedStateFromError!="function"?null:m.render();return a.flags|=1,o!==null&&_?(a.child=Rr(a,o.child,null,E),a.child=Rr(a,null,re,E)):ho(o,a,re,E),a.memoizedState=m.state,x&&Ud(a,f,!0),a.child}function fu(o){var a=o.stateNode;a.pendingContext?Xv(o,a.pendingContext,a.pendingContext!==a.context):a.context&&Xv(o,a.context,!1),ph(o,a.containerInfo)}function cy(o,a,f,m,x){return Rl(),Yi(x),a.flags|=256,ho(o,a,f,m),a.child}var yf={dehydrated:null,treeContext:null,retryLane:0};function Ch(o){return{baseLanes:o,cachePool:null,transitions:null}}function gf(o,a,f){var m=a.pendingProps,x=mr.current,E=!1,_=(a.flags&128)!==0,re;if((re=_)||(re=o!==null&&o.memoizedState===null?!1:(x&2)!==0),re?(E=!0,a.flags&=-129):(o===null||o.memoizedState!==null)&&(x|=1),Ft(mr,x&1),o===null)return oh(a),o=a.memoizedState,o!==null&&(o=o.dehydrated,o!==null)?((a.mode&1)===0?a.lanes=1:o.data==="$!"?a.lanes=8:a.lanes=1073741824,null):(_=m.children,o=m.fallback,E?(m=a.mode,E=a.child,_={mode:"hidden",children:_},(m&1)===0&&E!==null?(E.childLanes=0,E.pendingProps=_):E=Ll(_,m,0,null),o=Ji(o,m,f,null),E.return=a,o.return=a,E.sibling=o,a.child=E,a.child.memoizedState=Ch(f),a.memoizedState=yf,o):wh(a,_));if(x=o.memoizedState,x!==null&&(re=x.dehydrated,re!==null))return dy(o,a,_,m,re,x,f);if(E){E=m.fallback,_=a.mode,x=o.child,re=x.sibling;var de={mode:"hidden",children:m.children};return(_&1)===0&&a.child!==x?(m=a.child,m.childLanes=0,m.pendingProps=de,a.deletions=null):(m=Ml(x,de),m.subtreeFlags=x.subtreeFlags&14680064),re!==null?E=Ml(re,E):(E=Ji(E,_,f,null),E.flags|=2),E.return=a,m.return=a,m.sibling=E,a.child=m,m=E,E=a.child,_=o.child.memoizedState,_=_===null?Ch(f):{baseLanes:_.baseLanes|f,cachePool:null,transitions:_.transitions},E.memoizedState=_,E.childLanes=o.childLanes&~f,a.memoizedState=yf,m}return E=o.child,o=E.sibling,m=Ml(E,{mode:"visible",children:m.children}),(a.mode&1)===0&&(m.lanes=f),m.return=a,m.sibling=null,o!==null&&(f=a.deletions,f===null?(a.deletions=[o],a.flags|=16):f.push(o)),a.child=m,a.memoizedState=null,m}function wh(o,a){return a=Ll({mode:"visible",children:a},o.mode,0,null),a.return=o,o.child=a}function Tc(o,a,f,m){return m!==null&&Yi(m),Rr(a,o.child,null,f),o=wh(a,a.pendingProps.children),o.flags|=2,a.memoizedState=null,o}function dy(o,a,f,m,x,E,_){if(f)return a.flags&256?(a.flags&=-257,m=yh(Error(i(422))),Tc(o,a,_,m)):a.memoizedState!==null?(a.child=o.child,a.flags|=128,null):(E=m.fallback,x=a.mode,m=Ll({mode:"visible",children:m.children},x,0,null),E=Ji(E,x,_,null),E.flags|=2,m.return=a,E.return=a,m.sibling=E,a.child=m,(a.mode&1)!==0&&Rr(a,o.child,null,_),a.child.memoizedState=Ch(_),a.memoizedState=yf,E);if((a.mode&1)===0)return Tc(o,a,_,null);if(x.data==="$!"){if(m=x.nextSibling&&x.nextSibling.dataset,m)var re=m.dgst;return m=re,E=Error(i(419)),m=yh(E,m,void 0),Tc(o,a,_,m)}if(re=(_&o.childLanes)!==0,_r||re){if(m=Yr,m!==null){switch(_&-_){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&(m.suspendedLanes|_))!==0?0:x,x!==0&&x!==E.retryLane&&(E.retryLane=x,ba(o,x),Lo(m,o,x,-1))}return Dh(),m=yh(Error(i(421))),Tc(o,a,_,m)}return x.data==="$?"?(a.flags|=128,a.child=o.child,a=Jb.bind(null,o),x._reactRetry=a,null):(o=E.treeContext,na=hi(x.nextSibling),ta=a,cr=!0,Ma=null,o!==null&&(Lr[Da++]=gi,Lr[Da++]=bi,Lr[Da++]=ya,gi=o.id,bi=o.overflow,ya=a),a=wh(a,m.children),a.flags|=4096,a)}function Eh(o,a,f){o.lanes|=a;var m=o.alternate;m!==null&&(m.lanes|=a),sh(o.return,a,f)}function No(o,a,f,m,x){var E=o.memoizedState;E===null?o.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:m,tail:f,tailMode:x}:(E.isBackwards=a,E.rendering=null,E.renderingStartTime=0,E.last=m,E.tail=f,E.tailMode=x)}function Si(o,a,f){var m=a.pendingProps,x=m.revealOrder,E=m.tail;if(ho(o,a,m.children,f),m=mr.current,(m&2)!==0)m=m&1|2,a.flags|=128;else{if(o!==null&&(o.flags&128)!==0)e:for(o=a.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&Eh(o,f,a);else if(o.tag===19)Eh(o,f,a);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break e;for(;o.sibling===null;){if(o.return===null||o.return===a)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}m&=1}if(Ft(mr,m),(a.mode&1)===0)a.memoizedState=null;else switch(x){case"forwards":for(f=a.child,x=null;f!==null;)o=f.alternate,o!==null&&Qd(o)===null&&(x=f),f=f.sibling;f=x,f===null?(x=a.child,a.child=null):(x=f.sibling,f.sibling=null),No(a,!1,x,f,E);break;case"backwards":for(f=null,x=a.child,a.child=null;x!==null;){if(o=x.alternate,o!==null&&Qd(o)===null){a.child=x;break}o=x.sibling,x.sibling=f,f=x,x=o}No(a,!0,f,null,E);break;case"together":No(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Ia(o,a){(a.mode&1)===0&&o!==null&&(o.alternate=null,a.alternate=null,a.flags|=2)}function _a(o,a,f){if(o!==null&&(a.dependencies=o.dependencies),Ei|=a.lanes,(f&a.childLanes)===0)return null;if(o!==null&&a.child!==o.child)throw Error(i(153));if(a.child!==null){for(o=a.child,f=Ml(o,o.pendingProps),a.child=f,f.return=a;o.sibling!==null;)o=o.sibling,f=f.sibling=Ml(o,o.pendingProps),f.return=a;f.sibling=null}return a.child}function Rc(o,a,f){switch(a.tag){case 3:fu(a),Rl();break;case 5:ny(a);break;case 1:Mr(a.type)&&Jr(a);break;case 4:ph(a,a.stateNode.containerInfo);break;case 10:var m=a.type._context,x=a.memoizedProps.value;Ft(ga,m._currentValue),m._currentValue=x;break;case 13:if(m=a.memoizedState,m!==null)return m.dehydrated!==null?(Ft(mr,mr.current&1),a.flags|=128,null):(f&a.child.childLanes)!==0?gf(o,a,f):(Ft(mr,mr.current&1),o=_a(o,a,f),o!==null?o.sibling:null);Ft(mr,mr.current&1);break;case 19:if(m=(f&a.childLanes)!==0,(o.flags&128)!==0){if(m)return Si(o,a,f);a.flags|=128}if(x=a.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),Ft(mr,mr.current),m)break;return null;case 22:case 23:return a.lanes=0,wc(o,a,f)}return _a(o,a,f)}var Fa,Fr,fy,py;Fa=function(o,a){for(var f=a.child;f!==null;){if(f.tag===5||f.tag===6)o.appendChild(f.stateNode);else if(f.tag!==4&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===a)break;for(;f.sibling===null;){if(f.return===null||f.return===a)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},Fr=function(){},fy=function(o,a,f,m){var x=o.memoizedProps;if(x!==m){o=a.stateNode,ys(xi.current);var E=null;switch(f){case"input":x=Ce(o,x),m=Ce(o,m),E=[];break;case"select":x=ee({},x,{value:void 0}),m=ee({},m,{value:void 0}),E=[];break;case"textarea":x=lt(o,x),m=lt(o,m),E=[];break;default:typeof x.onClick!="function"&&typeof m.onClick=="function"&&(o.onclick=xl)}On(f,m);var _;f=null;for(Le in x)if(!m.hasOwnProperty(Le)&&x.hasOwnProperty(Le)&&x[Le]!=null)if(Le==="style"){var re=x[Le];for(_ in re)re.hasOwnProperty(_)&&(f||(f={}),f[_]="")}else Le!=="dangerouslySetInnerHTML"&&Le!=="children"&&Le!=="suppressContentEditableWarning"&&Le!=="suppressHydrationWarning"&&Le!=="autoFocus"&&(c.hasOwnProperty(Le)?E||(E=[]):(E=E||[]).push(Le,null));for(Le in m){var de=m[Le];if(re=x!=null?x[Le]:void 0,m.hasOwnProperty(Le)&&de!==re&&(de!=null||re!=null))if(Le==="style")if(re){for(_ in re)!re.hasOwnProperty(_)||de&&de.hasOwnProperty(_)||(f||(f={}),f[_]="");for(_ in de)de.hasOwnProperty(_)&&re[_]!==de[_]&&(f||(f={}),f[_]=de[_])}else f||(E||(E=[]),E.push(Le,f)),f=de;else Le==="dangerouslySetInnerHTML"?(de=de?de.__html:void 0,re=re?re.__html:void 0,de!=null&&re!==de&&(E=E||[]).push(Le,de)):Le==="children"?typeof de!="string"&&typeof de!="number"||(E=E||[]).push(Le,""+de):Le!=="suppressContentEditableWarning"&&Le!=="suppressHydrationWarning"&&(c.hasOwnProperty(Le)?(de!=null&&Le==="onScroll"&&In("scroll",o),E||re===de||(E=[])):(E=E||[]).push(Le,de))}f&&(E=E||[]).push("style",f);var Le=E;(a.updateQueue=Le)&&(a.flags|=4)}},py=function(o,a,f,m){f!==m&&(a.flags|=4)};function Oc(o,a){if(!cr)switch(o.tailMode){case"hidden":a=o.tail;for(var f=null;a!==null;)a.alternate!==null&&(f=a),a=a.sibling;f===null?o.tail=null:f.sibling=null;break;case"collapsed":f=o.tail;for(var m=null;f!==null;)f.alternate!==null&&(m=f),f=f.sibling;m===null?a||o.tail===null?o.tail=null:o.tail.sibling=null:m.sibling=null}}function to(o){var a=o.alternate!==null&&o.alternate.child===o.child,f=0,m=0;if(a)for(var x=o.child;x!==null;)f|=x.lanes|x.childLanes,m|=x.subtreeFlags&14680064,m|=x.flags&14680064,x.return=o,x=x.sibling;else for(x=o.child;x!==null;)f|=x.lanes|x.childLanes,m|=x.subtreeFlags,m|=x.flags,x.return=o,x=x.sibling;return o.subtreeFlags|=m,o.childLanes=f,a}function hy(o,a,f){var m=a.pendingProps;switch(Hd(a),a.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return to(a),null;case 1:return Mr(a.type)&&lu(),to(a),null;case 3:return m=a.stateNode,gs(),er(Gr),er(xr),jt(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),(o===null||o.child===null)&&(Gd(a)?a.flags|=4:o===null||o.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Ma!==null&&(As(Ma),Ma=null))),Fr(o,a),to(a),null;case 5:qd(a);var x=ys(fc.current);if(f=a.type,o!==null&&a.stateNode!=null)fy(o,a,f,m,x),o.ref!==a.ref&&(a.flags|=512,a.flags|=2097152);else{if(!m){if(a.stateNode===null)throw Error(i(166));return to(a),null}if(o=ys(xi.current),Gd(a)){m=a.stateNode,f=a.type;var E=a.memoizedProps;switch(m[mi]=a,m[ac]=E,o=(a.mode&1)!==0,f){case"dialog":In("cancel",m),In("close",m);break;case"iframe":case"object":case"embed":In("load",m);break;case"video":case"audio":for(x=0;x<nc.length;x++)In(nc[x],m);break;case"source":In("error",m);break;case"img":case"image":case"link":In("error",m),In("load",m);break;case"details":In("toggle",m);break;case"input":Fe(m,E),In("invalid",m);break;case"select":m._wrapperState={wasMultiple:!!E.multiple},In("invalid",m);break;case"textarea":sn(m,E),In("invalid",m)}On(f,E),x=null;for(var _ in E)if(E.hasOwnProperty(_)){var re=E[_];_==="children"?typeof re=="string"?m.textContent!==re&&(E.suppressHydrationWarning!==!0&&_d(m.textContent,re,o),x=["children",re]):typeof re=="number"&&m.textContent!==""+re&&(E.suppressHydrationWarning!==!0&&_d(m.textContent,re,o),x=["children",""+re]):c.hasOwnProperty(_)&&re!=null&&_==="onScroll"&&In("scroll",m)}switch(f){case"input":Ee(m),Dt(m,E,!0);break;case"textarea":Ee(m),fn(m);break;case"select":case"option":break;default:typeof E.onClick=="function"&&(m.onclick=xl)}m=x,a.updateQueue=m,m!==null&&(a.flags|=4)}else{_=x.nodeType===9?x:x.ownerDocument,o==="http://www.w3.org/1999/xhtml"&&(o=un(f)),o==="http://www.w3.org/1999/xhtml"?f==="script"?(o=_.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild)):typeof m.is=="string"?o=_.createElement(f,{is:m.is}):(o=_.createElement(f),f==="select"&&(_=o,m.multiple?_.multiple=!0:m.size&&(_.size=m.size))):o=_.createElementNS(o,f),o[mi]=a,o[ac]=m,Fa(o,a,!1,!1),a.stateNode=o;e:{switch(_=Ln(f,m),f){case"dialog":In("cancel",o),In("close",o),x=m;break;case"iframe":case"object":case"embed":In("load",o),x=m;break;case"video":case"audio":for(x=0;x<nc.length;x++)In(nc[x],o);x=m;break;case"source":In("error",o),x=m;break;case"img":case"image":case"link":In("error",o),In("load",o),x=m;break;case"details":In("toggle",o),x=m;break;case"input":Fe(o,m),x=Ce(o,m),In("invalid",o);break;case"option":x=m;break;case"select":o._wrapperState={wasMultiple:!!m.multiple},x=ee({},m,{value:void 0}),In("invalid",o);break;case"textarea":sn(o,m),x=lt(o,m),In("invalid",o);break;default:x=m}On(f,x),re=x;for(E in re)if(re.hasOwnProperty(E)){var de=re[E];E==="style"?Rn(o,de):E==="dangerouslySetInnerHTML"?(de=de?de.__html:void 0,de!=null&&or(o,de)):E==="children"?typeof de=="string"?(f!=="textarea"||de!=="")&&it(o,de):typeof de=="number"&&it(o,""+de):E!=="suppressContentEditableWarning"&&E!=="suppressHydrationWarning"&&E!=="autoFocus"&&(c.hasOwnProperty(E)?de!=null&&E==="onScroll"&&In("scroll",o):de!=null&&k(o,E,de,_))}switch(f){case"input":Ee(o),Dt(o,m,!1);break;case"textarea":Ee(o),fn(o);break;case"option":m.value!=null&&o.setAttribute("value",""+X(m.value));break;case"select":o.multiple=!!m.multiple,E=m.value,E!=null?St(o,!!m.multiple,E,!1):m.defaultValue!=null&&St(o,!!m.multiple,m.defaultValue,!0);break;default:typeof x.onClick=="function"&&(o.onclick=xl)}switch(f){case"button":case"input":case"select":case"textarea":m=!!m.autoFocus;break e;case"img":m=!0;break e;default:m=!1}}m&&(a.flags|=4)}a.ref!==null&&(a.flags|=512,a.flags|=2097152)}return to(a),null;case 6:if(o&&a.stateNode!=null)py(o,a,o.memoizedProps,m);else{if(typeof m!="string"&&a.stateNode===null)throw Error(i(166));if(f=ys(fc.current),ys(xi.current),Gd(a)){if(m=a.stateNode,f=a.memoizedProps,m[mi]=a,(E=m.nodeValue!==f)&&(o=ta,o!==null))switch(o.tag){case 3:_d(m.nodeValue,f,(o.mode&1)!==0);break;case 5:o.memoizedProps.suppressHydrationWarning!==!0&&_d(m.nodeValue,f,(o.mode&1)!==0)}E&&(a.flags|=4)}else m=(f.nodeType===9?f:f.ownerDocument).createTextNode(m),m[mi]=a,a.stateNode=m}return to(a),null;case 13:if(er(mr),m=a.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(cr&&na!==null&&(a.mode&1)!==0&&(a.flags&128)===0)sc(),Rl(),a.flags|=98560,E=!1;else if(E=Gd(a),m!==null&&m.dehydrated!==null){if(o===null){if(!E)throw Error(i(318));if(E=a.memoizedState,E=E!==null?E.dehydrated:null,!E)throw Error(i(317));E[mi]=a}else Rl(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;to(a),E=!1}else Ma!==null&&(As(Ma),Ma=null),E=!0;if(!E)return a.flags&65536?a:null}return(a.flags&128)!==0?(a.lanes=f,a):(m=m!==null,m!==(o!==null&&o.memoizedState!==null)&&m&&(a.child.flags|=8192,(a.mode&1)!==0&&(o===null||(mr.current&1)!==0?Ar===0&&(Ar=3):Dh())),a.updateQueue!==null&&(a.flags|=4),to(a),null);case 4:return gs(),Fr(o,a),o===null&&nu(a.stateNode.containerInfo),to(a),null;case 10:return lh(a.type._context),to(a),null;case 17:return Mr(a.type)&&lu(),to(a),null;case 19:if(er(mr),E=a.memoizedState,E===null)return to(a),null;if(m=(a.flags&128)!==0,_=E.rendering,_===null)if(m)Oc(E,!1);else{if(Ar!==0||o!==null&&(o.flags&128)!==0)for(o=a.child;o!==null;){if(_=Qd(o),_!==null){for(a.flags|=128,Oc(E,!1),m=_.updateQueue,m!==null&&(a.updateQueue=m,a.flags|=4),a.subtreeFlags=0,m=f,f=a.child;f!==null;)E=f,o=m,E.flags&=14680066,_=E.alternate,_===null?(E.childLanes=0,E.lanes=o,E.child=null,E.subtreeFlags=0,E.memoizedProps=null,E.memoizedState=null,E.updateQueue=null,E.dependencies=null,E.stateNode=null):(E.childLanes=_.childLanes,E.lanes=_.lanes,E.child=_.child,E.subtreeFlags=0,E.deletions=null,E.memoizedProps=_.memoizedProps,E.memoizedState=_.memoizedState,E.updateQueue=_.updateQueue,E.type=_.type,o=_.dependencies,E.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),f=f.sibling;return Ft(mr,mr.current&1|2),a.child}o=o.sibling}E.tail!==null&&Xt()>vu&&(a.flags|=128,m=!0,Oc(E,!1),a.lanes=4194304)}else{if(!m)if(o=Qd(_),o!==null){if(a.flags|=128,m=!0,f=o.updateQueue,f!==null&&(a.updateQueue=f,a.flags|=4),Oc(E,!0),E.tail===null&&E.tailMode==="hidden"&&!_.alternate&&!cr)return to(a),null}else 2*Xt()-E.renderingStartTime>vu&&f!==1073741824&&(a.flags|=128,m=!0,Oc(E,!1),a.lanes=4194304);E.isBackwards?(_.sibling=a.child,a.child=_):(f=E.last,f!==null?f.sibling=_:a.child=_,E.last=_)}return E.tail!==null?(a=E.tail,E.rendering=a,E.tail=a.sibling,E.renderingStartTime=Xt(),a.sibling=null,f=mr.current,Ft(mr,m?f&1|2:f&1),a):(to(a),null);case 22:case 23:return Nh(),m=a.memoizedState!==null,o!==null&&o.memoizedState!==null!==m&&(a.flags|=8192),m&&(a.mode&1)!==0?(Sa&1073741824)!==0&&(to(a),a.subtreeFlags&6&&(a.flags|=8192)):to(a),null;case 24:return null;case 25:return null}throw Error(i(156,a.tag))}function bf(o,a){switch(Hd(a),a.tag){case 1:return Mr(a.type)&&lu(),o=a.flags,o&65536?(a.flags=o&-65537|128,a):null;case 3:return gs(),er(Gr),er(xr),jt(),o=a.flags,(o&65536)!==0&&(o&128)===0?(a.flags=o&-65537|128,a):null;case 5:return qd(a),null;case 13:if(er(mr),o=a.memoizedState,o!==null&&o.dehydrated!==null){if(a.alternate===null)throw Error(i(340));Rl()}return o=a.flags,o&65536?(a.flags=o&-65537|128,a):null;case 19:return er(mr),null;case 4:return gs(),null;case 10:return lh(a.type._context),null;case 22:case 23:return Nh(),null;case 24:return null;default:return null}}var $c=!1,$o=!1,Wb=typeof WeakSet=="function"?WeakSet:Set,Ot=null;function pu(o,a){var f=o.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(m){dr(o,a,m)}else f.current=null}function xf(o,a,f){try{f()}catch(m){dr(o,a,m)}}var my=!1;function vy(o,a){if(oc=os,o=ec(),Ad(o)){if("selectionStart"in o)var f={start:o.selectionStart,end:o.selectionEnd};else e:{f=(f=o.ownerDocument)&&f.defaultView||window;var m=f.getSelection&&f.getSelection();if(m&&m.rangeCount!==0){f=m.anchorNode;var x=m.anchorOffset,E=m.focusNode;m=m.focusOffset;try{f.nodeType,E.nodeType}catch{f=null;break e}var _=0,re=-1,de=-1,Le=0,Ze=0,et=o,Ke=null;t:for(;;){for(var wt;et!==f||x!==0&&et.nodeType!==3||(re=_+x),et!==E||m!==0&&et.nodeType!==3||(de=_+m),et.nodeType===3&&(_+=et.nodeValue.length),(wt=et.firstChild)!==null;)Ke=et,et=wt;for(;;){if(et===o)break t;if(Ke===f&&++Le===x&&(re=_),Ke===E&&++Ze===m&&(de=_),(wt=et.nextSibling)!==null)break;et=Ke,Ke=et.parentNode}et=wt}f=re===-1||de===-1?null:{start:re,end:de}}else f=null}f=f||{start:0,end:0}}else f=null;for(ds={focusedElem:o,selectionRange:f},os=!1,Ot=a;Ot!==null;)if(a=Ot,o=a.child,(a.subtreeFlags&1028)!==0&&o!==null)o.return=a,Ot=o;else for(;Ot!==null;){a=Ot;try{var kt=a.alternate;if((a.flags&1024)!==0)switch(a.tag){case 0:case 11:case 15:break;case 1:if(kt!==null){var Mt=kt.memoizedProps,kr=kt.memoizedState,Ae=a.stateNode,xe=Ae.getSnapshotBeforeUpdate(a.elementType===a.type?Mt:Ja(a.type,Mt),kr);Ae.__reactInternalSnapshotBeforeUpdate=xe}break;case 3:var Ne=a.stateNode.containerInfo;Ne.nodeType===1?Ne.textContent="":Ne.nodeType===9&&Ne.documentElement&&Ne.removeChild(Ne.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(Je){dr(a,a.return,Je)}if(o=a.sibling,o!==null){o.return=a.return,Ot=o;break}Ot=a.return}return kt=my,my=!1,kt}function Ac(o,a,f){var m=a.updateQueue;if(m=m!==null?m.lastEffect:null,m!==null){var x=m=m.next;do{if((x.tag&o)===o){var E=x.destroy;x.destroy=void 0,E!==void 0&&xf(a,f,E)}x=x.next}while(x!==m)}}function kc(o,a){if(a=a.updateQueue,a=a!==null?a.lastEffect:null,a!==null){var f=a=a.next;do{if((f.tag&o)===o){var m=f.create;f.destroy=m()}f=f.next}while(f!==a)}}function Th(o){var a=o.ref;if(a!==null){var f=o.stateNode;switch(o.tag){case 5:o=f;break;default:o=f}typeof a=="function"?a(o):a.current=o}}function Sf(o){var a=o.alternate;a!==null&&(o.alternate=null,Sf(a)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(a=o.stateNode,a!==null&&(delete a[mi],delete a[ac],delete a[ic],delete a[iu],delete a[Hb])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function Pc(o){return o.tag===5||o.tag===3||o.tag===4}function Xi(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||Pc(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Ci(o,a,f){var m=o.tag;if(m===5||m===6)o=o.stateNode,a?f.nodeType===8?f.parentNode.insertBefore(o,a):f.insertBefore(o,a):(f.nodeType===8?(a=f.parentNode,a.insertBefore(o,f)):(a=f,a.appendChild(o)),f=f._reactRootContainer,f!=null||a.onclick!==null||(a.onclick=xl));else if(m!==4&&(o=o.child,o!==null))for(Ci(o,a,f),o=o.sibling;o!==null;)Ci(o,a,f),o=o.sibling}function wi(o,a,f){var m=o.tag;if(m===5||m===6)o=o.stateNode,a?f.insertBefore(o,a):f.appendChild(o);else if(m!==4&&(o=o.child,o!==null))for(wi(o,a,f),o=o.sibling;o!==null;)wi(o,a,f),o=o.sibling}var $r=null,Do=!1;function Mo(o,a,f){for(f=f.child;f!==null;)yy(o,a,f),f=f.sibling}function yy(o,a,f){if(yn&&typeof yn.onCommitFiberUnmount=="function")try{yn.onCommitFiberUnmount(gr,f)}catch{}switch(f.tag){case 5:$o||pu(f,a);case 6:var m=$r,x=Do;$r=null,Mo(o,a,f),$r=m,Do=x,$r!==null&&(Do?(o=$r,f=f.stateNode,o.nodeType===8?o.parentNode.removeChild(f):o.removeChild(f)):$r.removeChild(f.stateNode));break;case 18:$r!==null&&(Do?(o=$r,f=f.stateNode,o.nodeType===8?au(o.parentNode,f):o.nodeType===1&&au(o,f),yl(o)):au($r,f.stateNode));break;case 4:m=$r,x=Do,$r=f.stateNode.containerInfo,Do=!0,Mo(o,a,f),$r=m,Do=x;break;case 0:case 11:case 14:case 15:if(!$o&&(m=f.updateQueue,m!==null&&(m=m.lastEffect,m!==null))){x=m=m.next;do{var E=x,_=E.destroy;E=E.tag,_!==void 0&&((E&2)!==0||(E&4)!==0)&&xf(f,a,_),x=x.next}while(x!==m)}Mo(o,a,f);break;case 1:if(!$o&&(pu(f,a),m=f.stateNode,typeof m.componentWillUnmount=="function"))try{m.props=f.memoizedProps,m.state=f.memoizedState,m.componentWillUnmount()}catch(re){dr(f,a,re)}Mo(o,a,f);break;case 21:Mo(o,a,f);break;case 22:f.mode&1?($o=(m=$o)||f.memoizedState!==null,Mo(o,a,f),$o=m):Mo(o,a,f);break;default:Mo(o,a,f)}}function gy(o){var a=o.updateQueue;if(a!==null){o.updateQueue=null;var f=o.stateNode;f===null&&(f=o.stateNode=new Wb),a.forEach(function(m){var x=Oy.bind(null,o,m);f.has(m)||(f.add(m),m.then(x,x))})}}function ei(o,a){var f=a.deletions;if(f!==null)for(var m=0;m<f.length;m++){var x=f[m];try{var E=o,_=a,re=_;e:for(;re!==null;){switch(re.tag){case 5:$r=re.stateNode,Do=!1;break e;case 3:$r=re.stateNode.containerInfo,Do=!0;break e;case 4:$r=re.stateNode.containerInfo,Do=!0;break e}re=re.return}if($r===null)throw Error(i(160));yy(E,_,x),$r=null,Do=!1;var de=x.alternate;de!==null&&(de.return=null),x.return=null}catch(Le){dr(x,a,Le)}}if(a.subtreeFlags&12854)for(a=a.child;a!==null;)Rh(a,o),a=a.sibling}function Rh(o,a){var f=o.alternate,m=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:if(ei(a,o),ia(o),m&4){try{Ac(3,o,o.return),kc(3,o)}catch(Mt){dr(o,o.return,Mt)}try{Ac(5,o,o.return)}catch(Mt){dr(o,o.return,Mt)}}break;case 1:ei(a,o),ia(o),m&512&&f!==null&&pu(f,f.return);break;case 5:if(ei(a,o),ia(o),m&512&&f!==null&&pu(f,f.return),o.flags&32){var x=o.stateNode;try{it(x,"")}catch(Mt){dr(o,o.return,Mt)}}if(m&4&&(x=o.stateNode,x!=null)){var E=o.memoizedProps,_=f!==null?f.memoizedProps:E,re=o.type,de=o.updateQueue;if(o.updateQueue=null,de!==null)try{re==="input"&&E.type==="radio"&&E.name!=null&&rt(x,E),Ln(re,_);var Le=Ln(re,E);for(_=0;_<de.length;_+=2){var Ze=de[_],et=de[_+1];Ze==="style"?Rn(x,et):Ze==="dangerouslySetInnerHTML"?or(x,et):Ze==="children"?it(x,et):k(x,Ze,et,Le)}switch(re){case"input":Lt(x,E);break;case"textarea":mn(x,E);break;case"select":var Ke=x._wrapperState.wasMultiple;x._wrapperState.wasMultiple=!!E.multiple;var wt=E.value;wt!=null?St(x,!!E.multiple,wt,!1):Ke!==!!E.multiple&&(E.defaultValue!=null?St(x,!!E.multiple,E.defaultValue,!0):St(x,!!E.multiple,E.multiple?[]:"",!1))}x[ac]=E}catch(Mt){dr(o,o.return,Mt)}}break;case 6:if(ei(a,o),ia(o),m&4){if(o.stateNode===null)throw Error(i(162));x=o.stateNode,E=o.memoizedProps;try{x.nodeValue=E}catch(Mt){dr(o,o.return,Mt)}}break;case 3:if(ei(a,o),ia(o),m&4&&f!==null&&f.memoizedState.isDehydrated)try{yl(a.containerInfo)}catch(Mt){dr(o,o.return,Mt)}break;case 4:ei(a,o),ia(o);break;case 13:ei(a,o),ia(o),x=o.child,x.flags&8192&&(E=x.memoizedState!==null,x.stateNode.isHidden=E,!E||x.alternate!==null&&x.alternate.memoizedState!==null||(Ah=Xt())),m&4&&gy(o);break;case 22:if(Ze=f!==null&&f.memoizedState!==null,o.mode&1?($o=(Le=$o)||Ze,ei(a,o),$o=Le):ei(a,o),ia(o),m&8192){if(Le=o.memoizedState!==null,(o.stateNode.isHidden=Le)&&!Ze&&(o.mode&1)!==0)for(Ot=o,Ze=o.child;Ze!==null;){for(et=Ot=Ze;Ot!==null;){switch(Ke=Ot,wt=Ke.child,Ke.tag){case 0:case 11:case 14:case 15:Ac(4,Ke,Ke.return);break;case 1:pu(Ke,Ke.return);var kt=Ke.stateNode;if(typeof kt.componentWillUnmount=="function"){m=Ke,f=Ke.return;try{a=m,kt.props=a.memoizedProps,kt.state=a.memoizedState,kt.componentWillUnmount()}catch(Mt){dr(m,f,Mt)}}break;case 5:pu(Ke,Ke.return);break;case 22:if(Ke.memoizedState!==null){Nc(et);continue}}wt!==null?(wt.return=Ke,Ot=wt):Nc(et)}Ze=Ze.sibling}e:for(Ze=null,et=o;;){if(et.tag===5){if(Ze===null){Ze=et;try{x=et.stateNode,Le?(E=x.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none"):(re=et.stateNode,de=et.memoizedProps.style,_=de!=null&&de.hasOwnProperty("display")?de.display:null,re.style.display=cn("display",_))}catch(Mt){dr(o,o.return,Mt)}}}else if(et.tag===6){if(Ze===null)try{et.stateNode.nodeValue=Le?"":et.memoizedProps}catch(Mt){dr(o,o.return,Mt)}}else if((et.tag!==22&&et.tag!==23||et.memoizedState===null||et===o)&&et.child!==null){et.child.return=et,et=et.child;continue}if(et===o)break e;for(;et.sibling===null;){if(et.return===null||et.return===o)break e;Ze===et&&(Ze=null),et=et.return}Ze===et&&(Ze=null),et.sibling.return=et.return,et=et.sibling}}break;case 19:ei(a,o),ia(o),m&4&&gy(o);break;case 21:break;default:ei(a,o),ia(o)}}function ia(o){var a=o.flags;if(a&2){try{e:{for(var f=o.return;f!==null;){if(Pc(f)){var m=f;break e}f=f.return}throw Error(i(160))}switch(m.tag){case 5:var x=m.stateNode;m.flags&32&&(it(x,""),m.flags&=-33);var E=Xi(o);wi(o,E,x);break;case 3:case 4:var _=m.stateNode.containerInfo,re=Xi(o);Ci(o,re,_);break;default:throw Error(i(161))}}catch(de){dr(o,o.return,de)}o.flags&=-3}a&4096&&(o.flags&=-4097)}function Yb(o,a,f){Ot=o,Oh(o)}function Oh(o,a,f){for(var m=(o.mode&1)!==0;Ot!==null;){var x=Ot,E=x.child;if(x.tag===22&&m){var _=x.memoizedState!==null||$c;if(!_){var re=x.alternate,de=re!==null&&re.memoizedState!==null||$o;re=$c;var Le=$o;if($c=_,($o=de)&&!Le)for(Ot=x;Ot!==null;)_=Ot,de=_.child,_.tag===22&&_.memoizedState!==null?$h(x):de!==null?(de.return=_,Ot=de):$h(x);for(;E!==null;)Ot=E,Oh(E),E=E.sibling;Ot=x,$c=re,$o=Le}by(o)}else(x.subtreeFlags&8772)!==0&&E!==null?(E.return=x,Ot=E):by(o)}}function by(o){for(;Ot!==null;){var a=Ot;if((a.flags&8772)!==0){var f=a.alternate;try{if((a.flags&8772)!==0)switch(a.tag){case 0:case 11:case 15:$o||kc(5,a);break;case 1:var m=a.stateNode;if(a.flags&4&&!$o)if(f===null)m.componentDidMount();else{var x=a.elementType===a.type?f.memoizedProps:Ja(a.type,f.memoizedProps);m.componentDidUpdate(x,f.memoizedState,m.__reactInternalSnapshotBeforeUpdate)}var E=a.updateQueue;E!==null&&fh(a,E,m);break;case 3:var _=a.updateQueue;if(_!==null){if(f=null,a.child!==null)switch(a.child.tag){case 5:f=a.child.stateNode;break;case 1:f=a.child.stateNode}fh(a,_,f)}break;case 5:var re=a.stateNode;if(f===null&&a.flags&4){f=re;var de=a.memoizedProps;switch(a.type){case"button":case"input":case"select":case"textarea":de.autoFocus&&f.focus();break;case"img":de.src&&(f.src=de.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(a.memoizedState===null){var Le=a.alternate;if(Le!==null){var Ze=Le.memoizedState;if(Ze!==null){var et=Ze.dehydrated;et!==null&&yl(et)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}$o||a.flags&512&&Th(a)}catch(Ke){dr(a,a.return,Ke)}}if(a===o){Ot=null;break}if(f=a.sibling,f!==null){f.return=a.return,Ot=f;break}Ot=a.return}}function Nc(o){for(;Ot!==null;){var a=Ot;if(a===o){Ot=null;break}var f=a.sibling;if(f!==null){f.return=a.return,Ot=f;break}Ot=a.return}}function $h(o){for(;Ot!==null;){var a=Ot;try{switch(a.tag){case 0:case 11:case 15:var f=a.return;try{kc(4,a)}catch(de){dr(a,f,de)}break;case 1:var m=a.stateNode;if(typeof m.componentDidMount=="function"){var x=a.return;try{m.componentDidMount()}catch(de){dr(a,x,de)}}var E=a.return;try{Th(a)}catch(de){dr(a,E,de)}break;case 5:var _=a.return;try{Th(a)}catch(de){dr(a,_,de)}}}catch(de){dr(a,a.return,de)}if(a===o){Ot=null;break}var re=a.sibling;if(re!==null){re.return=a.return,Ot=re;break}Ot=a.return}}var qb=Math.ceil,Pl=V.ReactCurrentDispatcher,Os=V.ReactCurrentOwner,mo=V.ReactCurrentBatchConfig,Sn=0,Yr=null,Vr=null,vo=0,Sa=0,hu=Na(0),Ar=0,Dc=null,Ei=0,mu=0,Cf=0,Mc=null,la=null,Ah=0,vu=1/0,Ca=null,yu=!1,$s=null,Nl=null,wf=!1,Ki=null,Lc=0,Dl=0,gu=null,Ic=-1,Ao=0;function jr(){return(Sn&6)!==0?Xt():Ic!==-1?Ic:Ic=Xt()}function Ti(o){return(o.mode&1)===0?1:(Sn&2)!==0&&vo!==0?vo&-vo:Gb.transition!==null?(Ao===0&&(Ao=Qo()),Ao):(o=Fn,o!==0||(o=window.event,o=o===void 0?16:bd(o.type)),o)}function Lo(o,a,f,m){if(50<Dl)throw Dl=0,gu=null,Error(i(185));Xo(o,f,m),((Sn&2)===0||o!==Yr)&&(o===Yr&&((Sn&2)===0&&(mu|=f),Ar===4&&ti(o,vo)),sa(o,m),f===1&&Sn===0&&(a.mode&1)===0&&(vu=Xt()+500,su&&yi()))}function sa(o,a){var f=o.callbackNode;pl(o,a);var m=fi(o,o===Yr?vo:0);if(m===0)f!==null&&Kr(f),o.callbackNode=null,o.callbackPriority=0;else if(a=m&-m,o.callbackPriority!==a){if(f!=null&&Kr(f),a===1)o.tag===0?Cl(kh.bind(null,o)):Bd(kh.bind(null,o)),ou(function(){(Sn&6)===0&&yi()}),f=null;else{switch($p(m)){case 1:f=Qa;break;case 4:f=ci;break;case 16:f=di;break;case 536870912:f=Bn;break;default:f=di}f=Ay(f,Ef.bind(null,o))}o.callbackPriority=a,o.callbackNode=f}}function Ef(o,a){if(Ic=-1,Ao=0,(Sn&6)!==0)throw Error(i(327));var f=o.callbackNode;if(bu()&&o.callbackNode!==f)return null;var m=fi(o,o===Yr?vo:0);if(m===0)return null;if((m&30)!==0||(m&o.expiredLanes)!==0||a)a=Tf(o,m);else{a=m;var x=Sn;Sn|=2;var E=Sy();(Yr!==o||vo!==a)&&(Ca=null,vu=Xt()+500,Zi(o,a));do try{Cy();break}catch(re){xy(o,re)}while(!0);ih(),Pl.current=E,Sn=x,Vr!==null?a=0:(Yr=null,vo=0,a=Ar)}if(a!==0){if(a===2&&(x=Fi(o),x!==0&&(m=x,a=_c(o,x))),a===1)throw f=Dc,Zi(o,0),ti(o,m),sa(o,Xt()),f;if(a===6)ti(o,m);else{if(x=o.current.alternate,(m&30)===0&&!Qb(x)&&(a=Tf(o,m),a===2&&(E=Fi(o),E!==0&&(m=E,a=_c(o,E))),a===1))throw f=Dc,Zi(o,0),ti(o,m),sa(o,Xt()),f;switch(o.finishedWork=x,o.finishedLanes=m,a){case 0:case 1:throw Error(i(345));case 2:Ps(o,la,Ca);break;case 3:if(ti(o,m),(m&130023424)===m&&(a=Ah+500-Xt(),10<a)){if(fi(o,0)!==0)break;if(x=o.suspendedLanes,(x&m)!==m){jr(),o.pingedLanes|=o.suspendedLanes&x;break}o.timeoutHandle=Vd(Ps.bind(null,o,la,Ca),a);break}Ps(o,la,Ca);break;case 4:if(ti(o,m),(m&4194240)===m)break;for(a=o.eventTimes,x=-1;0<m;){var _=31-Er(m);E=1<<_,_=a[_],_>x&&(x=_),m&=~E}if(m=x,m=Xt()-m,m=(120>m?120:480>m?480:1080>m?1080:1920>m?1920:3e3>m?3e3:4320>m?4320:1960*qb(m/1960))-m,10<m){o.timeoutHandle=Vd(Ps.bind(null,o,la,Ca),m);break}Ps(o,la,Ca);break;case 5:Ps(o,la,Ca);break;default:throw Error(i(329))}}}return sa(o,Xt()),o.callbackNode===f?Ef.bind(null,o):null}function _c(o,a){var f=Mc;return o.current.memoizedState.isDehydrated&&(Zi(o,a).flags|=256),o=Tf(o,a),o!==2&&(a=la,la=f,a!==null&&As(a)),o}function As(o){la===null?la=o:la.push.apply(la,o)}function Qb(o){for(var a=o;;){if(a.flags&16384){var f=a.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var m=0;m<f.length;m++){var x=f[m],E=x.getSnapshot;x=x.value;try{if(!Xa(E(),x))return!1}catch{return!1}}}if(f=a.child,a.subtreeFlags&16384&&f!==null)f.return=a,a=f;else{if(a===o)break;for(;a.sibling===null;){if(a.return===null||a.return===o)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function ti(o,a){for(a&=~Cf,a&=~mu,o.suspendedLanes|=a,o.pingedLanes&=~a,o=o.expirationTimes;0<a;){var f=31-Er(a),m=1<<f;o[f]=-1,a&=~m}}function kh(o){if((Sn&6)!==0)throw Error(i(327));bu();var a=fi(o,0);if((a&1)===0)return sa(o,Xt()),null;var f=Tf(o,a);if(o.tag!==0&&f===2){var m=Fi(o);m!==0&&(a=m,f=_c(o,m))}if(f===1)throw f=Dc,Zi(o,0),ti(o,a),sa(o,Xt()),f;if(f===6)throw Error(i(345));return o.finishedWork=o.current.alternate,o.finishedLanes=a,Ps(o,la,Ca),sa(o,Xt()),null}function Ph(o,a){var f=Sn;Sn|=1;try{return o(a)}finally{Sn=f,Sn===0&&(vu=Xt()+500,su&&yi())}}function ks(o){Ki!==null&&Ki.tag===0&&(Sn&6)===0&&bu();var a=Sn;Sn|=1;var f=mo.transition,m=Fn;try{if(mo.transition=null,Fn=1,o)return o()}finally{Fn=m,mo.transition=f,Sn=a,(Sn&6)===0&&yi()}}function Nh(){Sa=hu.current,er(hu)}function Zi(o,a){o.finishedWork=null,o.finishedLanes=0;var f=o.timeoutHandle;if(f!==-1&&(o.timeoutHandle=-1,th(f)),Vr!==null)for(f=Vr.return;f!==null;){var m=f;switch(Hd(m),m.tag){case 1:m=m.type.childContextTypes,m!=null&&lu();break;case 3:gs(),er(Gr),er(xr),jt();break;case 5:qd(m);break;case 4:gs();break;case 13:er(mr);break;case 19:er(mr);break;case 10:lh(m.type._context);break;case 22:case 23:Nh()}f=f.return}if(Yr=o,Vr=o=Ml(o.current,null),vo=Sa=a,Ar=0,Dc=null,Cf=mu=Ei=0,la=Mc=null,vs!==null){for(a=0;a<vs.length;a++)if(f=vs[a],m=f.interleaved,m!==null){f.interleaved=null;var x=m.next,E=f.pending;if(E!==null){var _=E.next;E.next=x,m.next=_}f.pending=m}vs=null}return o}function xy(o,a){do{var f=Vr;try{if(ih(),hn.current=Es,Xd){for(var m=An.memoizedState;m!==null;){var x=m.queue;x!==null&&(x.pending=null),m=m.next}Xd=!1}if(zn=0,eo=Ir=An=null,hc=!1,bs=0,Os.current=null,f===null||f.return===null){Ar=1,Dc=a,Vr=null;break}e:{var E=o,_=f.return,re=f,de=a;if(a=vo,re.flags|=32768,de!==null&&typeof de=="object"&&typeof de.then=="function"){var Le=de,Ze=re,et=Ze.tag;if((Ze.mode&1)===0&&(et===0||et===11||et===15)){var Ke=Ze.alternate;Ke?(Ze.updateQueue=Ke.updateQueue,Ze.memoizedState=Ke.memoizedState,Ze.lanes=Ke.lanes):(Ze.updateQueue=null,Ze.memoizedState=null)}var wt=ly(_);if(wt!==null){wt.flags&=-257,kl(wt,_,re,E,a),wt.mode&1&&xh(E,Le,a),a=wt,de=Le;var kt=a.updateQueue;if(kt===null){var Mt=new Set;Mt.add(de),a.updateQueue=Mt}else kt.add(de);break e}else{if((a&1)===0){xh(E,Le,a),Dh();break e}de=Error(i(426))}}else if(cr&&re.mode&1){var kr=ly(_);if(kr!==null){(kr.flags&65536)===0&&(kr.flags|=256),kl(kr,_,re,E,a),Yi(Ts(de,re));break e}}E=de=Ts(de,re),Ar!==4&&(Ar=2),Mc===null?Mc=[E]:Mc.push(E),E=_;do{switch(E.tag){case 3:E.flags|=65536,a&=-a,E.lanes|=a;var Ae=iy(E,de,a);ty(E,Ae);break e;case 1:re=de;var xe=E.type,Ne=E.stateNode;if((E.flags&128)===0&&(typeof xe.getDerivedStateFromError=="function"||Ne!==null&&typeof Ne.componentDidCatch=="function"&&(Nl===null||!Nl.has(Ne)))){E.flags|=65536,a&=-a,E.lanes|=a;var Je=bh(E,re,a);ty(E,Je);break e}}E=E.return}while(E!==null)}Ey(f)}catch(Pt){a=Pt,Vr===f&&f!==null&&(Vr=f=f.return);continue}break}while(!0)}function Sy(){var o=Pl.current;return Pl.current=Es,o===null?Es:o}function Dh(){(Ar===0||Ar===3||Ar===2)&&(Ar=4),Yr===null||(Ei&268435455)===0&&(mu&268435455)===0||ti(Yr,vo)}function Tf(o,a){var f=Sn;Sn|=2;var m=Sy();(Yr!==o||vo!==a)&&(Ca=null,Zi(o,a));do try{Xb();break}catch(x){xy(o,x)}while(!0);if(ih(),Sn=f,Pl.current=m,Vr!==null)throw Error(i(261));return Yr=null,vo=0,Ar}function Xb(){for(;Vr!==null;)wy(Vr)}function Cy(){for(;Vr!==null&&!Yt();)wy(Vr)}function wy(o){var a=$y(o.alternate,o,Sa);o.memoizedProps=o.pendingProps,a===null?Ey(o):Vr=a,Os.current=null}function Ey(o){var a=o;do{var f=a.alternate;if(o=a.return,(a.flags&32768)===0){if(f=hy(f,a,Sa),f!==null){Vr=f;return}}else{if(f=bf(f,a),f!==null){f.flags&=32767,Vr=f;return}if(o!==null)o.flags|=32768,o.subtreeFlags=0,o.deletions=null;else{Ar=6,Vr=null;return}}if(a=a.sibling,a!==null){Vr=a;return}Vr=a=o}while(a!==null);Ar===0&&(Ar=5)}function Ps(o,a,f){var m=Fn,x=mo.transition;try{mo.transition=null,Fn=1,Kb(o,a,f,m)}finally{mo.transition=x,Fn=m}return null}function Kb(o,a,f,m){do bu();while(Ki!==null);if((Sn&6)!==0)throw Error(i(327));f=o.finishedWork;var x=o.finishedLanes;if(f===null)return null;if(o.finishedWork=null,o.finishedLanes=0,f===o.current)throw Error(i(177));o.callbackNode=null,o.callbackPriority=0;var E=f.lanes|f.childLanes;if(Rb(o,E),o===Yr&&(Vr=Yr=null,vo=0),(f.subtreeFlags&2064)===0&&(f.flags&2064)===0||wf||(wf=!0,Ay(di,function(){return bu(),null})),E=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||E){E=mo.transition,mo.transition=null;var _=Fn;Fn=1;var re=Sn;Sn|=4,Os.current=null,vy(o,f),Rh(f,o),eu(ds),os=!!oc,ds=oc=null,o.current=f,Yb(f),Jn(),Sn=re,Fn=_,mo.transition=E}else o.current=f;if(wf&&(wf=!1,Ki=o,Lc=x),E=o.pendingLanes,E===0&&(Nl=null),so(f.stateNode),sa(o,Xt()),a!==null)for(m=o.onRecoverableError,f=0;f<a.length;f++)x=a[f],m(x.value,{componentStack:x.stack,digest:x.digest});if(yu)throw yu=!1,o=$s,$s=null,o;return(Lc&1)!==0&&o.tag!==0&&bu(),E=o.pendingLanes,(E&1)!==0?o===gu?Dl++:(Dl=0,gu=o):Dl=0,yi(),null}function bu(){if(Ki!==null){var o=$p(Lc),a=mo.transition,f=Fn;try{if(mo.transition=null,Fn=16>o?16:o,Ki===null)var m=!1;else{if(o=Ki,Ki=null,Lc=0,(Sn&6)!==0)throw Error(i(331));var x=Sn;for(Sn|=4,Ot=o.current;Ot!==null;){var E=Ot,_=E.child;if((Ot.flags&16)!==0){var re=E.deletions;if(re!==null){for(var de=0;de<re.length;de++){var Le=re[de];for(Ot=Le;Ot!==null;){var Ze=Ot;switch(Ze.tag){case 0:case 11:case 15:Ac(8,Ze,E)}var et=Ze.child;if(et!==null)et.return=Ze,Ot=et;else for(;Ot!==null;){Ze=Ot;var Ke=Ze.sibling,wt=Ze.return;if(Sf(Ze),Ze===Le){Ot=null;break}if(Ke!==null){Ke.return=wt,Ot=Ke;break}Ot=wt}}}var kt=E.alternate;if(kt!==null){var Mt=kt.child;if(Mt!==null){kt.child=null;do{var kr=Mt.sibling;Mt.sibling=null,Mt=kr}while(Mt!==null)}}Ot=E}}if((E.subtreeFlags&2064)!==0&&_!==null)_.return=E,Ot=_;else e:for(;Ot!==null;){if(E=Ot,(E.flags&2048)!==0)switch(E.tag){case 0:case 11:case 15:Ac(9,E,E.return)}var Ae=E.sibling;if(Ae!==null){Ae.return=E.return,Ot=Ae;break e}Ot=E.return}}var xe=o.current;for(Ot=xe;Ot!==null;){_=Ot;var Ne=_.child;if((_.subtreeFlags&2064)!==0&&Ne!==null)Ne.return=_,Ot=Ne;else e:for(_=xe;Ot!==null;){if(re=Ot,(re.flags&2048)!==0)try{switch(re.tag){case 0:case 11:case 15:kc(9,re)}}catch(Pt){dr(re,re.return,Pt)}if(re===_){Ot=null;break e}var Je=re.sibling;if(Je!==null){Je.return=re.return,Ot=Je;break e}Ot=re.return}}if(Sn=x,yi(),yn&&typeof yn.onPostCommitFiberRoot=="function")try{yn.onPostCommitFiberRoot(gr,o)}catch{}m=!0}return m}finally{Fn=f,mo.transition=a}}return!1}function Ty(o,a,f){a=Ts(f,a),a=iy(o,a,1),o=Ol(o,a,1),a=jr(),o!==null&&(Xo(o,1,a),sa(o,a))}function dr(o,a,f){if(o.tag===3)Ty(o,o,f);else for(;a!==null;){if(a.tag===3){Ty(a,o,f);break}else if(a.tag===1){var m=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(Nl===null||!Nl.has(m))){o=Ts(f,o),o=bh(a,o,1),a=Ol(a,o,1),o=jr(),a!==null&&(Xo(a,1,o),sa(a,o));break}}a=a.return}}function Zb(o,a,f){var m=o.pingCache;m!==null&&m.delete(a),a=jr(),o.pingedLanes|=o.suspendedLanes&f,Yr===o&&(vo&f)===f&&(Ar===4||Ar===3&&(vo&130023424)===vo&&500>Xt()-Ah?Zi(o,0):Cf|=f),sa(o,a)}function Ry(o,a){a===0&&((o.mode&1)===0?a=1:(a=Mn,Mn<<=1,(Mn&130023424)===0&&(Mn=4194304)));var f=jr();o=ba(o,a),o!==null&&(Xo(o,a,f),sa(o,f))}function Jb(o){var a=o.memoizedState,f=0;a!==null&&(f=a.retryLane),Ry(o,f)}function Oy(o,a){var f=0;switch(o.tag){case 13:var m=o.stateNode,x=o.memoizedState;x!==null&&(f=x.retryLane);break;case 19:m=o.stateNode;break;default:throw Error(i(314))}m!==null&&m.delete(a),Ry(o,f)}var $y;$y=function(o,a,f){if(o!==null)if(o.memoizedProps!==a.pendingProps||Gr.current)_r=!0;else{if((o.lanes&f)===0&&(a.flags&128)===0)return _r=!1,Rc(o,a,f);_r=(o.flags&131072)!==0}else _r=!1,cr&&(a.flags&1048576)!==0&&Kv(a,Wi,a.index);switch(a.lanes=0,a.tag){case 2:var m=a.type;Ia(o,a),o=a.pendingProps;var x=ea(a,xr.current);hr(a,f),x=$l(null,a,m,o,x,f);var E=Za();return a.flags|=1,typeof x=="object"&&x!==null&&typeof x.render=="function"&&x.$$typeof===void 0?(a.tag=1,a.memoizedState=null,a.updateQueue=null,Mr(m)?(E=!0,Jr(a)):E=!1,a.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,dh(a),x.updater=hf,a.stateNode=x,x._reactInternals=a,Sc(a,m,o,f),a=Ec(null,a,m,!0,E,f)):(a.tag=0,cr&&E&&zd(a),ho(null,a,x,f),a=a.child),a;case 16:m=a.elementType;e:{switch(Ia(o,a),o=a.pendingProps,x=m._init,m=x(m._payload),a.type=m,x=a.tag=t1(m),o=Ja(m,o),x){case 0:a=sy(null,a,m,o,f);break e;case 1:a=uy(null,a,m,o,f);break e;case 11:a=aa(null,a,m,o,f);break e;case 14:a=Rs(null,a,m,Ja(m.type,o),f);break e}throw Error(i(306,m,""))}return a;case 0:return m=a.type,x=a.pendingProps,x=a.elementType===m?x:Ja(m,x),sy(o,a,m,x,f);case 1:return m=a.type,x=a.pendingProps,x=a.elementType===m?x:Ja(m,x),uy(o,a,m,x,f);case 3:e:{if(fu(a),o===null)throw Error(i(387));m=a.pendingProps,E=a.memoizedState,x=E.element,ey(o,a),uc(a,m,null,f);var _=a.memoizedState;if(m=_.element,E.isDehydrated)if(E={element:m,isDehydrated:!1,cache:_.cache,pendingSuspenseBoundaries:_.pendingSuspenseBoundaries,transitions:_.transitions},a.updateQueue.baseState=E,a.memoizedState=E,a.flags&256){x=Ts(Error(i(423)),a),a=cy(o,a,m,f,x);break e}else if(m!==x){x=Ts(Error(i(424)),a),a=cy(o,a,m,f,x);break e}else for(na=hi(a.stateNode.containerInfo.firstChild),ta=a,cr=!0,Ma=null,f=bt(a,null,m,f),a.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Rl(),m===x){a=_a(o,a,f);break e}ho(o,a,m,f)}a=a.child}return a;case 5:return ny(a),o===null&&oh(a),m=a.type,x=a.pendingProps,E=o!==null?o.memoizedProps:null,_=x.children,Fd(m,x)?_=null:E!==null&&Fd(m,E)&&(a.flags|=32),Sh(o,a),ho(o,a,_,f),a.child;case 6:return o===null&&oh(a),null;case 13:return gf(o,a,f);case 4:return ph(a,a.stateNode.containerInfo),m=a.pendingProps,o===null?a.child=Rr(a,null,m,f):ho(o,a,m,f),a.child;case 11:return m=a.type,x=a.pendingProps,x=a.elementType===m?x:Ja(m,x),aa(o,a,m,x,f);case 7:return ho(o,a,a.pendingProps,f),a.child;case 8:return ho(o,a,a.pendingProps.children,f),a.child;case 12:return ho(o,a,a.pendingProps.children,f),a.child;case 10:e:{if(m=a.type._context,x=a.pendingProps,E=a.memoizedProps,_=x.value,Ft(ga,m._currentValue),m._currentValue=_,E!==null)if(Xa(E.value,_)){if(E.children===x.children&&!Gr.current){a=_a(o,a,f);break e}}else for(E=a.child,E!==null&&(E.return=a);E!==null;){var re=E.dependencies;if(re!==null){_=E.child;for(var de=re.firstContext;de!==null;){if(de.context===m){if(E.tag===1){de=qi(-1,f&-f),de.tag=2;var Le=E.updateQueue;if(Le!==null){Le=Le.shared;var Ze=Le.pending;Ze===null?de.next=de:(de.next=Ze.next,Ze.next=de),Le.pending=de}}E.lanes|=f,de=E.alternate,de!==null&&(de.lanes|=f),sh(E.return,f,a),re.lanes|=f;break}de=de.next}}else if(E.tag===10)_=E.type===a.type?null:E.child;else if(E.tag===18){if(_=E.return,_===null)throw Error(i(341));_.lanes|=f,re=_.alternate,re!==null&&(re.lanes|=f),sh(_,f,a),_=E.sibling}else _=E.child;if(_!==null)_.return=E;else for(_=E;_!==null;){if(_===a){_=null;break}if(E=_.sibling,E!==null){E.return=_.return,_=E;break}_=_.return}E=_}ho(o,a,x.children,f),a=a.child}return a;case 9:return x=a.type,m=a.pendingProps.children,hr(a,f),x=La(x),m=m(x),a.flags|=1,ho(o,a,m,f),a.child;case 14:return m=a.type,x=Ja(m,a.pendingProps),x=Ja(m.type,x),Rs(o,a,m,x,f);case 15:return on(o,a,a.type,a.pendingProps,f);case 17:return m=a.type,x=a.pendingProps,x=a.elementType===m?x:Ja(m,x),Ia(o,a),a.tag=1,Mr(m)?(o=!0,Jr(a)):o=!1,hr(a,f),mf(a,m,x),Sc(a,m,x,f),Ec(null,a,m,!0,o,f);case 19:return Si(o,a,f);case 22:return wc(o,a,f)}throw Error(i(156,a.tag))};function Ay(o,a){return ar(o,a)}function e1(o,a,f,m){this.tag=o,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Va(o,a,f,m){return new e1(o,a,f,m)}function Mh(o){return o=o.prototype,!(!o||!o.isReactComponent)}function t1(o){if(typeof o=="function")return Mh(o)?1:0;if(o!=null){if(o=o.$$typeof,o===Te)return 11;if(o===ce)return 14}return 2}function Ml(o,a){var f=o.alternate;return f===null?(f=Va(o.tag,a,o.key,o.mode),f.elementType=o.elementType,f.type=o.type,f.stateNode=o.stateNode,f.alternate=o,o.alternate=f):(f.pendingProps=a,f.type=o.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=o.flags&14680064,f.childLanes=o.childLanes,f.lanes=o.lanes,f.child=o.child,f.memoizedProps=o.memoizedProps,f.memoizedState=o.memoizedState,f.updateQueue=o.updateQueue,a=o.dependencies,f.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},f.sibling=o.sibling,f.index=o.index,f.ref=o.ref,f}function Fc(o,a,f,m,x,E){var _=2;if(m=o,typeof o=="function")Mh(o)&&(_=1);else if(typeof o=="string")_=5;else e:switch(o){case Z:return Ji(f.children,x,E,a);case ie:_=8,x|=8;break;case ge:return o=Va(12,f,a,x|2),o.elementType=ge,o.lanes=E,o;case he:return o=Va(13,f,a,x),o.elementType=he,o.lanes=E,o;case we:return o=Va(19,f,a,x),o.elementType=we,o.lanes=E,o;case ve:return Ll(f,x,E,a);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case M:_=10;break e;case se:_=9;break e;case Te:_=11;break e;case ce:_=14;break e;case fe:_=16,m=null;break e}throw Error(i(130,o==null?o:typeof o,""))}return a=Va(_,f,a,x),a.elementType=o,a.type=m,a.lanes=E,a}function Ji(o,a,f,m){return o=Va(7,o,m,a),o.lanes=f,o}function Ll(o,a,f,m){return o=Va(22,o,m,a),o.elementType=ve,o.lanes=f,o.stateNode={isHidden:!1},o}function Lh(o,a,f){return o=Va(6,o,null,a),o.lanes=f,o}function Rf(o,a,f){return a=Va(4,o.children!==null?o.children:[],o.key,a),a.lanes=f,a.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},a}function ky(o,a,f,m,x){this.tag=a,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=hl(0),this.expirationTimes=hl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hl(0),this.identifierPrefix=m,this.onRecoverableError=x,this.mutableSourceEagerHydrationData=null}function Of(o,a,f,m,x,E,_,re,de){return o=new ky(o,a,f,re,de),a===1?(a=1,E===!0&&(a|=8)):a=0,E=Va(3,null,null,a),o.current=E,E.stateNode=o,E.memoizedState={element:m,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},dh(E),o}function n1(o,a,f){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:z,key:m==null?null:""+m,children:o,containerInfo:a,implementation:f}}function Ih(o){if(!o)return Ro;o=o._reactInternals;e:{if(At(o)!==o||o.tag!==1)throw Error(i(170));var a=o;do{switch(a.tag){case 3:a=a.stateNode.context;break e;case 1:if(Mr(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break e}}a=a.return}while(a!==null);throw Error(i(171))}if(o.tag===1){var f=o.type;if(Mr(f))return lc(o,f,a)}return a}function Py(o,a,f,m,x,E,_,re,de){return o=Of(f,m,!0,o,x,E,_,re,de),o.context=Ih(null),f=o.current,m=jr(),x=Ti(f),E=qi(m,x),E.callback=a??null,Ol(f,E,x),o.current.lanes=x,Xo(o,x,m),sa(o,m),o}function $f(o,a,f,m){var x=a.current,E=jr(),_=Ti(x);return f=Ih(f),a.context===null?a.context=f:a.pendingContext=f,a=qi(E,_),a.payload={element:o},m=m===void 0?null:m,m!==null&&(a.callback=m),o=Ol(x,a,_),o!==null&&(Lo(o,x,_,E),Yd(o,x,_)),_}function Af(o){if(o=o.current,!o.child)return null;switch(o.child.tag){case 5:return o.child.stateNode;default:return o.child.stateNode}}function _h(o,a){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var f=o.retryLane;o.retryLane=f!==0&&f<a?f:a}}function kf(o,a){_h(o,a),(o=o.alternate)&&_h(o,a)}function Ny(){return null}var Ns=typeof reportError=="function"?reportError:function(o){console.error(o)};function Fh(o){this._internalRoot=o}Pf.prototype.render=Fh.prototype.render=function(o){var a=this._internalRoot;if(a===null)throw Error(i(409));$f(o,a,null,null)},Pf.prototype.unmount=Fh.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var a=o.containerInfo;ks(function(){$f(null,o,null,null)}),a[Hi]=null}};function Pf(o){this._internalRoot=o}Pf.prototype.unstable_scheduleHydration=function(o){if(o){var a=rn();o={blockedOn:null,target:o,priority:a};for(var f=0;f<co.length&&a!==0&&a<co[f].priority;f++);co.splice(f,0,o),f===0&&Dp(o)}};function Vh(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function Nf(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11&&(o.nodeType!==8||o.nodeValue!==" react-mount-point-unstable "))}function Dy(){}function r1(o,a,f,m,x){if(x){if(typeof m=="function"){var E=m;m=function(){var Le=Af(_);E.call(Le)}}var _=Py(a,m,o,0,null,!1,!1,"",Dy);return o._reactRootContainer=_,o[Hi]=_.current,nu(o.nodeType===8?o.parentNode:o),ks(),_}for(;x=o.lastChild;)o.removeChild(x);if(typeof m=="function"){var re=m;m=function(){var Le=Af(de);re.call(Le)}}var de=Of(o,0,!1,null,null,!1,!1,"",Dy);return o._reactRootContainer=de,o[Hi]=de.current,nu(o.nodeType===8?o.parentNode:o),ks(function(){$f(a,de,f,m)}),de}function Vc(o,a,f,m,x){var E=f._reactRootContainer;if(E){var _=E;if(typeof x=="function"){var re=x;x=function(){var de=Af(_);re.call(de)}}$f(a,_,o,x)}else _=r1(f,a,o,x,m);return Af(_)}Vn=function(o){switch(o.tag){case 3:var a=o.stateNode;if(a.current.memoizedState.isDehydrated){var f=Tr(a.pendingLanes);f!==0&&(vd(a,f|1),sa(a,Xt()),(Sn&6)===0&&(vu=Xt()+500,yi()))}break;case 13:ks(function(){var m=ba(o,1);if(m!==null){var x=jr();Lo(m,o,1,x)}}),kf(o,1)}},Ap=function(o){if(o.tag===13){var a=ba(o,134217728);if(a!==null){var f=jr();Lo(a,o,134217728,f)}kf(o,134217728)}},kp=function(o){if(o.tag===13){var a=Ti(o),f=ba(o,a);if(f!==null){var m=jr();Lo(f,o,a,m)}kf(o,a)}},rn=function(){return Fn},Pp=function(o,a){var f=Fn;try{return Fn=o,a()}finally{Fn=f}},J=function(o,a,f){switch(a){case"input":if(Lt(o,f),a=f.name,f.type==="radio"&&a!=null){for(f=o;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),a=0;a<f.length;a++){var m=f[a];if(m!==o&&m.form===o.form){var x=pr(m);if(!x)throw Error(i(90));te(m),Lt(m,x)}}}break;case"textarea":mn(o,f);break;case"select":a=f.value,a!=null&&St(o,!!f.multiple,a,!1)}},ue=Ph,Ie=ks;var o1={usingClientEntryPoint:!1,Events:[Vt,Ka,pr,q,me,Ph]},jc={findFiberByHostInstance:fs,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},My={bundleType:jc.bundleType,version:jc.version,rendererPackageName:jc.rendererPackageName,rendererConfig:jc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:V.ReactCurrentDispatcher,findHostInstanceByFiber:function(o){return o=wr(o),o===null?null:o.stateNode},findFiberByHostInstance:jc.findFiberByHostInstance||Ny,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 Il=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Il.isDisabled&&Il.supportsFiber)try{gr=Il.inject(My),yn=Il}catch{}}return Ga.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=o1,Ga.createPortal=function(o,a){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Vh(a))throw Error(i(200));return n1(o,a,null,f)},Ga.createRoot=function(o,a){if(!Vh(o))throw Error(i(299));var f=!1,m="",x=Ns;return a!=null&&(a.unstable_strictMode===!0&&(f=!0),a.identifierPrefix!==void 0&&(m=a.identifierPrefix),a.onRecoverableError!==void 0&&(x=a.onRecoverableError)),a=Of(o,1,!1,null,null,f,!1,m,x),o[Hi]=a.current,nu(o.nodeType===8?o.parentNode:o),new Fh(a)},Ga.findDOMNode=function(o){if(o==null)return null;if(o.nodeType===1)return o;var a=o._reactInternals;if(a===void 0)throw typeof o.render=="function"?Error(i(188)):(o=Object.keys(o).join(","),Error(i(268,o)));return o=wr(a),o=o===null?null:o.stateNode,o},Ga.flushSync=function(o){return ks(o)},Ga.hydrate=function(o,a,f){if(!Nf(a))throw Error(i(200));return Vc(null,o,a,!0,f)},Ga.hydrateRoot=function(o,a,f){if(!Vh(o))throw Error(i(405));var m=f!=null&&f.hydratedSources||null,x=!1,E="",_=Ns;if(f!=null&&(f.unstable_strictMode===!0&&(x=!0),f.identifierPrefix!==void 0&&(E=f.identifierPrefix),f.onRecoverableError!==void 0&&(_=f.onRecoverableError)),a=Py(a,null,o,1,f??null,x,!1,E,_),o[Hi]=a.current,nu(o),m)for(o=0;o<m.length;o++)f=m[o],x=f._getVersion,x=x(f._source),a.mutableSourceEagerHydrationData==null?a.mutableSourceEagerHydrationData=[f,x]:a.mutableSourceEagerHydrationData.push(f,x);return new Pf(a)},Ga.render=function(o,a,f){if(!Nf(a))throw Error(i(200));return Vc(null,o,a,!1,f)},Ga.unmountComponentAtNode=function(o){if(!Nf(o))throw Error(i(40));return o._reactRootContainer?(ks(function(){Vc(null,null,o,!1,function(){o._reactRootContainer=null,o[Hi]=null})}),!0):!1},Ga.unstable_batchedUpdates=Ph,Ga.unstable_renderSubtreeIntoContainer=function(o,a,f,m){if(!Nf(f))throw Error(i(200));if(o==null||o._reactInternals===void 0)throw Error(i(38));return Vc(o,a,f,!1,m)},Ga.version="18.3.1-next-f1338f8080-20240426",Ga}var Wa={};/**
|
|
2706
|
+
`+E.stack}return{value:o,source:a,stack:x,digest:null}}function yh(o,a,f){return{value:o,source:null,stack:f??null,digest:a??null}}function gh(o,a){try{console.error(a.value)}catch(f){setTimeout(function(){throw f})}}var vf=typeof WeakMap=="function"?WeakMap:Map;function iy(o,a,f){f=qi(-1,f),f.tag=3,f.payload={element:null};var m=a.value;return f.callback=function(){yu||(yu=!0,$s=m),gh(o,a)},f}function bh(o,a,f){f=qi(-1,f),f.tag=3;var m=o.type.getDerivedStateFromError;if(typeof m=="function"){var x=a.value;f.payload=function(){return m(x)},f.callback=function(){gh(o,a)}}var E=o.stateNode;return E!==null&&typeof E.componentDidCatch=="function"&&(f.callback=function(){gh(o,a),typeof m!="function"&&(Nl===null?Nl=new Set([this]):Nl.add(this));var _=a.stack;this.componentDidCatch(a.value,{componentStack:_!==null?_:""})}),f}function xh(o,a,f){var m=o.pingCache;if(m===null){m=o.pingCache=new vf;var x=new Set;m.set(a,x)}else x=m.get(a),x===void 0&&(x=new Set,m.set(a,x));x.has(f)||(x.add(f),o=Zb.bind(null,o,a,f),a.then(o,o))}function ly(o){do{var a;if((a=o.tag===13)&&(a=o.memoizedState,a=a!==null?a.dehydrated!==null:!0),a)return o;o=o.return}while(o!==null);return null}function kl(o,a,f,m,x){return(o.mode&1)===0?(o===a?o.flags|=65536:(o.flags|=128,f.flags|=131072,f.flags&=-52805,f.tag===1&&(f.alternate===null?f.tag=17:(a=qi(-1,1),a.tag=2,Ol(f,a,1))),f.lanes|=1),o):(o.flags|=65536,o.lanes=x,o)}var Cc=V.ReactCurrentOwner,_r=!1;function ho(o,a,f,m){a.child=o===null?bt(a,null,f,m):Or(a,o.child,f,m)}function aa(o,a,f,m,x){f=f.render;var E=a.ref;return hr(a,x),m=$l(o,a,f,m,E,x),f=Ja(),o!==null&&!_r?(a.updateQueue=o.updateQueue,a.flags&=-2053,o.lanes&=~x,_a(o,a,x)):(cr&&f&&zd(a),a.flags|=1,ho(o,a,m,x),a.child)}function Rs(o,a,f,m,x){if(o===null){var E=f.type;return typeof E=="function"&&!Mh(E)&&E.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(a.tag=15,a.type=E,on(o,a,E,m,x)):(o=Fc(f.type,null,m,a,a.mode,x),o.ref=a.ref,o.return=a,a.child=o)}if(E=o.child,(o.lanes&x)===0){var _=E.memoizedProps;if(f=f.compare,f=f!==null?f:Ju,f(_,m)&&o.ref===a.ref)return _a(o,a,x)}return a.flags|=1,o=Ml(E,m),o.ref=a.ref,o.return=a,a.child=o}function on(o,a,f,m,x){if(o!==null){var E=o.memoizedProps;if(Ju(E,m)&&o.ref===a.ref)if(_r=!1,a.pendingProps=m=E,(o.lanes&x)!==0)(o.flags&131072)!==0&&(_r=!0);else return a.lanes=o.lanes,_a(o,a,x)}return sy(o,a,f,m,x)}function wc(o,a,f){var m=a.pendingProps,x=m.children,E=o!==null?o.memoizedState:null;if(m.mode==="hidden")if((a.mode&1)===0)a.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ft(hu,Sa),Sa|=f;else{if((f&1073741824)===0)return o=E!==null?E.baseLanes|f:f,a.lanes=a.childLanes=1073741824,a.memoizedState={baseLanes:o,cachePool:null,transitions:null},a.updateQueue=null,Ft(hu,Sa),Sa|=o,null;a.memoizedState={baseLanes:0,cachePool:null,transitions:null},m=E!==null?E.baseLanes:f,Ft(hu,Sa),Sa|=m}else E!==null?(m=E.baseLanes|f,a.memoizedState=null):m=f,Ft(hu,Sa),Sa|=m;return ho(o,a,x,f),a.child}function Sh(o,a){var f=a.ref;(o===null&&f!==null||o!==null&&o.ref!==f)&&(a.flags|=512,a.flags|=2097152)}function sy(o,a,f,m,x){var E=Mr(f)?Jo:xr.current;return E=ea(a,E),hr(a,x),f=$l(o,a,f,m,E,x),m=Ja(),o!==null&&!_r?(a.updateQueue=o.updateQueue,a.flags&=-2053,o.lanes&=~x,_a(o,a,x)):(cr&&m&&zd(a),a.flags|=1,ho(o,a,f,x),a.child)}function uy(o,a,f,m,x){if(Mr(f)){var E=!0;Jr(a)}else E=!1;if(hr(a,x),a.stateNode===null)Ia(o,a),mf(a,f,m),Sc(a,f,m,x),m=!0;else if(o===null){var _=a.stateNode,re=a.memoizedProps;_.props=re;var de=_.context,Le=f.contextType;typeof Le=="object"&&Le!==null?Le=La(Le):(Le=Mr(f)?Jo:xr.current,Le=ea(a,Le));var Ze=f.getDerivedStateFromProps,et=typeof Ze=="function"||typeof _.getSnapshotBeforeUpdate=="function";et||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(re!==m||de!==Le)&&ay(a,_,m,Le),xa=!1;var Ke=a.memoizedState;_.state=Ke,uc(a,m,_,x),de=a.memoizedState,re!==m||Ke!==de||Gr.current||xa?(typeof Ze=="function"&&(vh(a,f,Ze,m),de=a.memoizedState),(re=xa||oy(a,f,re,m,Ke,de,Le))?(et||typeof _.UNSAFE_componentWillMount!="function"&&typeof _.componentWillMount!="function"||(typeof _.componentWillMount=="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount=="function"&&_.UNSAFE_componentWillMount()),typeof _.componentDidMount=="function"&&(a.flags|=4194308)):(typeof _.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=m,a.memoizedState=de),_.props=m,_.state=de,_.context=Le,m=re):(typeof _.componentDidMount=="function"&&(a.flags|=4194308),m=!1)}else{_=a.stateNode,ey(o,a),re=a.memoizedProps,Le=a.type===a.elementType?re:ei(a.type,re),_.props=Le,et=a.pendingProps,Ke=_.context,de=f.contextType,typeof de=="object"&&de!==null?de=La(de):(de=Mr(f)?Jo:xr.current,de=ea(a,de));var wt=f.getDerivedStateFromProps;(Ze=typeof wt=="function"||typeof _.getSnapshotBeforeUpdate=="function")||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(re!==et||Ke!==de)&&ay(a,_,m,de),xa=!1,Ke=a.memoizedState,_.state=Ke,uc(a,m,_,x);var kt=a.memoizedState;re!==et||Ke!==kt||Gr.current||xa?(typeof wt=="function"&&(vh(a,f,wt,m),kt=a.memoizedState),(Le=xa||oy(a,f,Le,m,Ke,kt,de)||!1)?(Ze||typeof _.UNSAFE_componentWillUpdate!="function"&&typeof _.componentWillUpdate!="function"||(typeof _.componentWillUpdate=="function"&&_.componentWillUpdate(m,kt,de),typeof _.UNSAFE_componentWillUpdate=="function"&&_.UNSAFE_componentWillUpdate(m,kt,de)),typeof _.componentDidUpdate=="function"&&(a.flags|=4),typeof _.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof _.componentDidUpdate!="function"||re===o.memoizedProps&&Ke===o.memoizedState||(a.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||re===o.memoizedProps&&Ke===o.memoizedState||(a.flags|=1024),a.memoizedProps=m,a.memoizedState=kt),_.props=m,_.state=kt,_.context=de,m=Le):(typeof _.componentDidUpdate!="function"||re===o.memoizedProps&&Ke===o.memoizedState||(a.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||re===o.memoizedProps&&Ke===o.memoizedState||(a.flags|=1024),m=!1)}return Ec(o,a,f,m,E,x)}function Ec(o,a,f,m,x,E){Sh(o,a);var _=(a.flags&128)!==0;if(!m&&!_)return x&&Ud(a,f,!1),_a(o,a,E);m=a.stateNode,Cc.current=a;var re=_&&typeof f.getDerivedStateFromError!="function"?null:m.render();return a.flags|=1,o!==null&&_?(a.child=Or(a,o.child,null,E),a.child=Or(a,null,re,E)):ho(o,a,re,E),a.memoizedState=m.state,x&&Ud(a,f,!0),a.child}function fu(o){var a=o.stateNode;a.pendingContext?Xv(o,a.pendingContext,a.pendingContext!==a.context):a.context&&Xv(o,a.context,!1),ph(o,a.containerInfo)}function cy(o,a,f,m,x){return Rl(),Yi(x),a.flags|=256,ho(o,a,f,m),a.child}var yf={dehydrated:null,treeContext:null,retryLane:0};function Ch(o){return{baseLanes:o,cachePool:null,transitions:null}}function gf(o,a,f){var m=a.pendingProps,x=mr.current,E=!1,_=(a.flags&128)!==0,re;if((re=_)||(re=o!==null&&o.memoizedState===null?!1:(x&2)!==0),re?(E=!0,a.flags&=-129):(o===null||o.memoizedState!==null)&&(x|=1),Ft(mr,x&1),o===null)return oh(a),o=a.memoizedState,o!==null&&(o=o.dehydrated,o!==null)?((a.mode&1)===0?a.lanes=1:o.data==="$!"?a.lanes=8:a.lanes=1073741824,null):(_=m.children,o=m.fallback,E?(m=a.mode,E=a.child,_={mode:"hidden",children:_},(m&1)===0&&E!==null?(E.childLanes=0,E.pendingProps=_):E=Ll(_,m,0,null),o=Ji(o,m,f,null),E.return=a,o.return=a,E.sibling=o,a.child=E,a.child.memoizedState=Ch(f),a.memoizedState=yf,o):wh(a,_));if(x=o.memoizedState,x!==null&&(re=x.dehydrated,re!==null))return dy(o,a,_,m,re,x,f);if(E){E=m.fallback,_=a.mode,x=o.child,re=x.sibling;var de={mode:"hidden",children:m.children};return(_&1)===0&&a.child!==x?(m=a.child,m.childLanes=0,m.pendingProps=de,a.deletions=null):(m=Ml(x,de),m.subtreeFlags=x.subtreeFlags&14680064),re!==null?E=Ml(re,E):(E=Ji(E,_,f,null),E.flags|=2),E.return=a,m.return=a,m.sibling=E,a.child=m,m=E,E=a.child,_=o.child.memoizedState,_=_===null?Ch(f):{baseLanes:_.baseLanes|f,cachePool:null,transitions:_.transitions},E.memoizedState=_,E.childLanes=o.childLanes&~f,a.memoizedState=yf,m}return E=o.child,o=E.sibling,m=Ml(E,{mode:"visible",children:m.children}),(a.mode&1)===0&&(m.lanes=f),m.return=a,m.sibling=null,o!==null&&(f=a.deletions,f===null?(a.deletions=[o],a.flags|=16):f.push(o)),a.child=m,a.memoizedState=null,m}function wh(o,a){return a=Ll({mode:"visible",children:a},o.mode,0,null),a.return=o,o.child=a}function Tc(o,a,f,m){return m!==null&&Yi(m),Or(a,o.child,null,f),o=wh(a,a.pendingProps.children),o.flags|=2,a.memoizedState=null,o}function dy(o,a,f,m,x,E,_){if(f)return a.flags&256?(a.flags&=-257,m=yh(Error(i(422))),Tc(o,a,_,m)):a.memoizedState!==null?(a.child=o.child,a.flags|=128,null):(E=m.fallback,x=a.mode,m=Ll({mode:"visible",children:m.children},x,0,null),E=Ji(E,x,_,null),E.flags|=2,m.return=a,E.return=a,m.sibling=E,a.child=m,(a.mode&1)!==0&&Or(a,o.child,null,_),a.child.memoizedState=Ch(_),a.memoizedState=yf,E);if((a.mode&1)===0)return Tc(o,a,_,null);if(x.data==="$!"){if(m=x.nextSibling&&x.nextSibling.dataset,m)var re=m.dgst;return m=re,E=Error(i(419)),m=yh(E,m,void 0),Tc(o,a,_,m)}if(re=(_&o.childLanes)!==0,_r||re){if(m=Yr,m!==null){switch(_&-_){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&(m.suspendedLanes|_))!==0?0:x,x!==0&&x!==E.retryLane&&(E.retryLane=x,ba(o,x),Lo(m,o,x,-1))}return Dh(),m=yh(Error(i(421))),Tc(o,a,_,m)}return x.data==="$?"?(a.flags|=128,a.child=o.child,a=Jb.bind(null,o),x._reactRetry=a,null):(o=E.treeContext,na=hi(x.nextSibling),ta=a,cr=!0,Ma=null,o!==null&&(Lr[Da++]=gi,Lr[Da++]=bi,Lr[Da++]=ya,gi=o.id,bi=o.overflow,ya=a),a=wh(a,m.children),a.flags|=4096,a)}function Eh(o,a,f){o.lanes|=a;var m=o.alternate;m!==null&&(m.lanes|=a),sh(o.return,a,f)}function No(o,a,f,m,x){var E=o.memoizedState;E===null?o.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:m,tail:f,tailMode:x}:(E.isBackwards=a,E.rendering=null,E.renderingStartTime=0,E.last=m,E.tail=f,E.tailMode=x)}function Si(o,a,f){var m=a.pendingProps,x=m.revealOrder,E=m.tail;if(ho(o,a,m.children,f),m=mr.current,(m&2)!==0)m=m&1|2,a.flags|=128;else{if(o!==null&&(o.flags&128)!==0)e:for(o=a.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&Eh(o,f,a);else if(o.tag===19)Eh(o,f,a);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break e;for(;o.sibling===null;){if(o.return===null||o.return===a)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}m&=1}if(Ft(mr,m),(a.mode&1)===0)a.memoizedState=null;else switch(x){case"forwards":for(f=a.child,x=null;f!==null;)o=f.alternate,o!==null&&Qd(o)===null&&(x=f),f=f.sibling;f=x,f===null?(x=a.child,a.child=null):(x=f.sibling,f.sibling=null),No(a,!1,x,f,E);break;case"backwards":for(f=null,x=a.child,a.child=null;x!==null;){if(o=x.alternate,o!==null&&Qd(o)===null){a.child=x;break}o=x.sibling,x.sibling=f,f=x,x=o}No(a,!0,f,null,E);break;case"together":No(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Ia(o,a){(a.mode&1)===0&&o!==null&&(o.alternate=null,a.alternate=null,a.flags|=2)}function _a(o,a,f){if(o!==null&&(a.dependencies=o.dependencies),Ei|=a.lanes,(f&a.childLanes)===0)return null;if(o!==null&&a.child!==o.child)throw Error(i(153));if(a.child!==null){for(o=a.child,f=Ml(o,o.pendingProps),a.child=f,f.return=a;o.sibling!==null;)o=o.sibling,f=f.sibling=Ml(o,o.pendingProps),f.return=a;f.sibling=null}return a.child}function Rc(o,a,f){switch(a.tag){case 3:fu(a),Rl();break;case 5:ny(a);break;case 1:Mr(a.type)&&Jr(a);break;case 4:ph(a,a.stateNode.containerInfo);break;case 10:var m=a.type._context,x=a.memoizedProps.value;Ft(ga,m._currentValue),m._currentValue=x;break;case 13:if(m=a.memoizedState,m!==null)return m.dehydrated!==null?(Ft(mr,mr.current&1),a.flags|=128,null):(f&a.child.childLanes)!==0?gf(o,a,f):(Ft(mr,mr.current&1),o=_a(o,a,f),o!==null?o.sibling:null);Ft(mr,mr.current&1);break;case 19:if(m=(f&a.childLanes)!==0,(o.flags&128)!==0){if(m)return Si(o,a,f);a.flags|=128}if(x=a.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),Ft(mr,mr.current),m)break;return null;case 22:case 23:return a.lanes=0,wc(o,a,f)}return _a(o,a,f)}var Fa,Fr,fy,py;Fa=function(o,a){for(var f=a.child;f!==null;){if(f.tag===5||f.tag===6)o.appendChild(f.stateNode);else if(f.tag!==4&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===a)break;for(;f.sibling===null;){if(f.return===null||f.return===a)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},Fr=function(){},fy=function(o,a,f,m){var x=o.memoizedProps;if(x!==m){o=a.stateNode,ys(xi.current);var E=null;switch(f){case"input":x=Ce(o,x),m=Ce(o,m),E=[];break;case"select":x=ee({},x,{value:void 0}),m=ee({},m,{value:void 0}),E=[];break;case"textarea":x=lt(o,x),m=lt(o,m),E=[];break;default:typeof x.onClick!="function"&&typeof m.onClick=="function"&&(o.onclick=xl)}On(f,m);var _;f=null;for(Le in x)if(!m.hasOwnProperty(Le)&&x.hasOwnProperty(Le)&&x[Le]!=null)if(Le==="style"){var re=x[Le];for(_ in re)re.hasOwnProperty(_)&&(f||(f={}),f[_]="")}else Le!=="dangerouslySetInnerHTML"&&Le!=="children"&&Le!=="suppressContentEditableWarning"&&Le!=="suppressHydrationWarning"&&Le!=="autoFocus"&&(c.hasOwnProperty(Le)?E||(E=[]):(E=E||[]).push(Le,null));for(Le in m){var de=m[Le];if(re=x!=null?x[Le]:void 0,m.hasOwnProperty(Le)&&de!==re&&(de!=null||re!=null))if(Le==="style")if(re){for(_ in re)!re.hasOwnProperty(_)||de&&de.hasOwnProperty(_)||(f||(f={}),f[_]="");for(_ in de)de.hasOwnProperty(_)&&re[_]!==de[_]&&(f||(f={}),f[_]=de[_])}else f||(E||(E=[]),E.push(Le,f)),f=de;else Le==="dangerouslySetInnerHTML"?(de=de?de.__html:void 0,re=re?re.__html:void 0,de!=null&&re!==de&&(E=E||[]).push(Le,de)):Le==="children"?typeof de!="string"&&typeof de!="number"||(E=E||[]).push(Le,""+de):Le!=="suppressContentEditableWarning"&&Le!=="suppressHydrationWarning"&&(c.hasOwnProperty(Le)?(de!=null&&Le==="onScroll"&&In("scroll",o),E||re===de||(E=[])):(E=E||[]).push(Le,de))}f&&(E=E||[]).push("style",f);var Le=E;(a.updateQueue=Le)&&(a.flags|=4)}},py=function(o,a,f,m){f!==m&&(a.flags|=4)};function Oc(o,a){if(!cr)switch(o.tailMode){case"hidden":a=o.tail;for(var f=null;a!==null;)a.alternate!==null&&(f=a),a=a.sibling;f===null?o.tail=null:f.sibling=null;break;case"collapsed":f=o.tail;for(var m=null;f!==null;)f.alternate!==null&&(m=f),f=f.sibling;m===null?a||o.tail===null?o.tail=null:o.tail.sibling=null:m.sibling=null}}function to(o){var a=o.alternate!==null&&o.alternate.child===o.child,f=0,m=0;if(a)for(var x=o.child;x!==null;)f|=x.lanes|x.childLanes,m|=x.subtreeFlags&14680064,m|=x.flags&14680064,x.return=o,x=x.sibling;else for(x=o.child;x!==null;)f|=x.lanes|x.childLanes,m|=x.subtreeFlags,m|=x.flags,x.return=o,x=x.sibling;return o.subtreeFlags|=m,o.childLanes=f,a}function hy(o,a,f){var m=a.pendingProps;switch(Hd(a),a.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return to(a),null;case 1:return Mr(a.type)&&lu(),to(a),null;case 3:return m=a.stateNode,gs(),er(Gr),er(xr),jt(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),(o===null||o.child===null)&&(Gd(a)?a.flags|=4:o===null||o.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Ma!==null&&(As(Ma),Ma=null))),Fr(o,a),to(a),null;case 5:qd(a);var x=ys(fc.current);if(f=a.type,o!==null&&a.stateNode!=null)fy(o,a,f,m,x),o.ref!==a.ref&&(a.flags|=512,a.flags|=2097152);else{if(!m){if(a.stateNode===null)throw Error(i(166));return to(a),null}if(o=ys(xi.current),Gd(a)){m=a.stateNode,f=a.type;var E=a.memoizedProps;switch(m[mi]=a,m[ac]=E,o=(a.mode&1)!==0,f){case"dialog":In("cancel",m),In("close",m);break;case"iframe":case"object":case"embed":In("load",m);break;case"video":case"audio":for(x=0;x<nc.length;x++)In(nc[x],m);break;case"source":In("error",m);break;case"img":case"image":case"link":In("error",m),In("load",m);break;case"details":In("toggle",m);break;case"input":Fe(m,E),In("invalid",m);break;case"select":m._wrapperState={wasMultiple:!!E.multiple},In("invalid",m);break;case"textarea":sn(m,E),In("invalid",m)}On(f,E),x=null;for(var _ in E)if(E.hasOwnProperty(_)){var re=E[_];_==="children"?typeof re=="string"?m.textContent!==re&&(E.suppressHydrationWarning!==!0&&_d(m.textContent,re,o),x=["children",re]):typeof re=="number"&&m.textContent!==""+re&&(E.suppressHydrationWarning!==!0&&_d(m.textContent,re,o),x=["children",""+re]):c.hasOwnProperty(_)&&re!=null&&_==="onScroll"&&In("scroll",m)}switch(f){case"input":Ee(m),Dt(m,E,!0);break;case"textarea":Ee(m),fn(m);break;case"select":case"option":break;default:typeof E.onClick=="function"&&(m.onclick=xl)}m=x,a.updateQueue=m,m!==null&&(a.flags|=4)}else{_=x.nodeType===9?x:x.ownerDocument,o==="http://www.w3.org/1999/xhtml"&&(o=un(f)),o==="http://www.w3.org/1999/xhtml"?f==="script"?(o=_.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild)):typeof m.is=="string"?o=_.createElement(f,{is:m.is}):(o=_.createElement(f),f==="select"&&(_=o,m.multiple?_.multiple=!0:m.size&&(_.size=m.size))):o=_.createElementNS(o,f),o[mi]=a,o[ac]=m,Fa(o,a,!1,!1),a.stateNode=o;e:{switch(_=Ln(f,m),f){case"dialog":In("cancel",o),In("close",o),x=m;break;case"iframe":case"object":case"embed":In("load",o),x=m;break;case"video":case"audio":for(x=0;x<nc.length;x++)In(nc[x],o);x=m;break;case"source":In("error",o),x=m;break;case"img":case"image":case"link":In("error",o),In("load",o),x=m;break;case"details":In("toggle",o),x=m;break;case"input":Fe(o,m),x=Ce(o,m),In("invalid",o);break;case"option":x=m;break;case"select":o._wrapperState={wasMultiple:!!m.multiple},x=ee({},m,{value:void 0}),In("invalid",o);break;case"textarea":sn(o,m),x=lt(o,m),In("invalid",o);break;default:x=m}On(f,x),re=x;for(E in re)if(re.hasOwnProperty(E)){var de=re[E];E==="style"?Rn(o,de):E==="dangerouslySetInnerHTML"?(de=de?de.__html:void 0,de!=null&&or(o,de)):E==="children"?typeof de=="string"?(f!=="textarea"||de!=="")&&it(o,de):typeof de=="number"&&it(o,""+de):E!=="suppressContentEditableWarning"&&E!=="suppressHydrationWarning"&&E!=="autoFocus"&&(c.hasOwnProperty(E)?de!=null&&E==="onScroll"&&In("scroll",o):de!=null&&k(o,E,de,_))}switch(f){case"input":Ee(o),Dt(o,m,!1);break;case"textarea":Ee(o),fn(o);break;case"option":m.value!=null&&o.setAttribute("value",""+X(m.value));break;case"select":o.multiple=!!m.multiple,E=m.value,E!=null?St(o,!!m.multiple,E,!1):m.defaultValue!=null&&St(o,!!m.multiple,m.defaultValue,!0);break;default:typeof x.onClick=="function"&&(o.onclick=xl)}switch(f){case"button":case"input":case"select":case"textarea":m=!!m.autoFocus;break e;case"img":m=!0;break e;default:m=!1}}m&&(a.flags|=4)}a.ref!==null&&(a.flags|=512,a.flags|=2097152)}return to(a),null;case 6:if(o&&a.stateNode!=null)py(o,a,o.memoizedProps,m);else{if(typeof m!="string"&&a.stateNode===null)throw Error(i(166));if(f=ys(fc.current),ys(xi.current),Gd(a)){if(m=a.stateNode,f=a.memoizedProps,m[mi]=a,(E=m.nodeValue!==f)&&(o=ta,o!==null))switch(o.tag){case 3:_d(m.nodeValue,f,(o.mode&1)!==0);break;case 5:o.memoizedProps.suppressHydrationWarning!==!0&&_d(m.nodeValue,f,(o.mode&1)!==0)}E&&(a.flags|=4)}else m=(f.nodeType===9?f:f.ownerDocument).createTextNode(m),m[mi]=a,a.stateNode=m}return to(a),null;case 13:if(er(mr),m=a.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(cr&&na!==null&&(a.mode&1)!==0&&(a.flags&128)===0)sc(),Rl(),a.flags|=98560,E=!1;else if(E=Gd(a),m!==null&&m.dehydrated!==null){if(o===null){if(!E)throw Error(i(318));if(E=a.memoizedState,E=E!==null?E.dehydrated:null,!E)throw Error(i(317));E[mi]=a}else Rl(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;to(a),E=!1}else Ma!==null&&(As(Ma),Ma=null),E=!0;if(!E)return a.flags&65536?a:null}return(a.flags&128)!==0?(a.lanes=f,a):(m=m!==null,m!==(o!==null&&o.memoizedState!==null)&&m&&(a.child.flags|=8192,(a.mode&1)!==0&&(o===null||(mr.current&1)!==0?kr===0&&(kr=3):Dh())),a.updateQueue!==null&&(a.flags|=4),to(a),null);case 4:return gs(),Fr(o,a),o===null&&nu(a.stateNode.containerInfo),to(a),null;case 10:return lh(a.type._context),to(a),null;case 17:return Mr(a.type)&&lu(),to(a),null;case 19:if(er(mr),E=a.memoizedState,E===null)return to(a),null;if(m=(a.flags&128)!==0,_=E.rendering,_===null)if(m)Oc(E,!1);else{if(kr!==0||o!==null&&(o.flags&128)!==0)for(o=a.child;o!==null;){if(_=Qd(o),_!==null){for(a.flags|=128,Oc(E,!1),m=_.updateQueue,m!==null&&(a.updateQueue=m,a.flags|=4),a.subtreeFlags=0,m=f,f=a.child;f!==null;)E=f,o=m,E.flags&=14680066,_=E.alternate,_===null?(E.childLanes=0,E.lanes=o,E.child=null,E.subtreeFlags=0,E.memoizedProps=null,E.memoizedState=null,E.updateQueue=null,E.dependencies=null,E.stateNode=null):(E.childLanes=_.childLanes,E.lanes=_.lanes,E.child=_.child,E.subtreeFlags=0,E.deletions=null,E.memoizedProps=_.memoizedProps,E.memoizedState=_.memoizedState,E.updateQueue=_.updateQueue,E.type=_.type,o=_.dependencies,E.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),f=f.sibling;return Ft(mr,mr.current&1|2),a.child}o=o.sibling}E.tail!==null&&Xt()>vu&&(a.flags|=128,m=!0,Oc(E,!1),a.lanes=4194304)}else{if(!m)if(o=Qd(_),o!==null){if(a.flags|=128,m=!0,f=o.updateQueue,f!==null&&(a.updateQueue=f,a.flags|=4),Oc(E,!0),E.tail===null&&E.tailMode==="hidden"&&!_.alternate&&!cr)return to(a),null}else 2*Xt()-E.renderingStartTime>vu&&f!==1073741824&&(a.flags|=128,m=!0,Oc(E,!1),a.lanes=4194304);E.isBackwards?(_.sibling=a.child,a.child=_):(f=E.last,f!==null?f.sibling=_:a.child=_,E.last=_)}return E.tail!==null?(a=E.tail,E.rendering=a,E.tail=a.sibling,E.renderingStartTime=Xt(),a.sibling=null,f=mr.current,Ft(mr,m?f&1|2:f&1),a):(to(a),null);case 22:case 23:return Nh(),m=a.memoizedState!==null,o!==null&&o.memoizedState!==null!==m&&(a.flags|=8192),m&&(a.mode&1)!==0?(Sa&1073741824)!==0&&(to(a),a.subtreeFlags&6&&(a.flags|=8192)):to(a),null;case 24:return null;case 25:return null}throw Error(i(156,a.tag))}function bf(o,a){switch(Hd(a),a.tag){case 1:return Mr(a.type)&&lu(),o=a.flags,o&65536?(a.flags=o&-65537|128,a):null;case 3:return gs(),er(Gr),er(xr),jt(),o=a.flags,(o&65536)!==0&&(o&128)===0?(a.flags=o&-65537|128,a):null;case 5:return qd(a),null;case 13:if(er(mr),o=a.memoizedState,o!==null&&o.dehydrated!==null){if(a.alternate===null)throw Error(i(340));Rl()}return o=a.flags,o&65536?(a.flags=o&-65537|128,a):null;case 19:return er(mr),null;case 4:return gs(),null;case 10:return lh(a.type._context),null;case 22:case 23:return Nh(),null;case 24:return null;default:return null}}var $c=!1,$o=!1,Wb=typeof WeakSet=="function"?WeakSet:Set,Ot=null;function pu(o,a){var f=o.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(m){dr(o,a,m)}else f.current=null}function xf(o,a,f){try{f()}catch(m){dr(o,a,m)}}var my=!1;function vy(o,a){if(oc=os,o=ec(),Ad(o)){if("selectionStart"in o)var f={start:o.selectionStart,end:o.selectionEnd};else e:{f=(f=o.ownerDocument)&&f.defaultView||window;var m=f.getSelection&&f.getSelection();if(m&&m.rangeCount!==0){f=m.anchorNode;var x=m.anchorOffset,E=m.focusNode;m=m.focusOffset;try{f.nodeType,E.nodeType}catch{f=null;break e}var _=0,re=-1,de=-1,Le=0,Ze=0,et=o,Ke=null;t:for(;;){for(var wt;et!==f||x!==0&&et.nodeType!==3||(re=_+x),et!==E||m!==0&&et.nodeType!==3||(de=_+m),et.nodeType===3&&(_+=et.nodeValue.length),(wt=et.firstChild)!==null;)Ke=et,et=wt;for(;;){if(et===o)break t;if(Ke===f&&++Le===x&&(re=_),Ke===E&&++Ze===m&&(de=_),(wt=et.nextSibling)!==null)break;et=Ke,Ke=et.parentNode}et=wt}f=re===-1||de===-1?null:{start:re,end:de}}else f=null}f=f||{start:0,end:0}}else f=null;for(ds={focusedElem:o,selectionRange:f},os=!1,Ot=a;Ot!==null;)if(a=Ot,o=a.child,(a.subtreeFlags&1028)!==0&&o!==null)o.return=a,Ot=o;else for(;Ot!==null;){a=Ot;try{var kt=a.alternate;if((a.flags&1024)!==0)switch(a.tag){case 0:case 11:case 15:break;case 1:if(kt!==null){var Mt=kt.memoizedProps,Pr=kt.memoizedState,Ae=a.stateNode,xe=Ae.getSnapshotBeforeUpdate(a.elementType===a.type?Mt:ei(a.type,Mt),Pr);Ae.__reactInternalSnapshotBeforeUpdate=xe}break;case 3:var Ne=a.stateNode.containerInfo;Ne.nodeType===1?Ne.textContent="":Ne.nodeType===9&&Ne.documentElement&&Ne.removeChild(Ne.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(Je){dr(a,a.return,Je)}if(o=a.sibling,o!==null){o.return=a.return,Ot=o;break}Ot=a.return}return kt=my,my=!1,kt}function Ac(o,a,f){var m=a.updateQueue;if(m=m!==null?m.lastEffect:null,m!==null){var x=m=m.next;do{if((x.tag&o)===o){var E=x.destroy;x.destroy=void 0,E!==void 0&&xf(a,f,E)}x=x.next}while(x!==m)}}function kc(o,a){if(a=a.updateQueue,a=a!==null?a.lastEffect:null,a!==null){var f=a=a.next;do{if((f.tag&o)===o){var m=f.create;f.destroy=m()}f=f.next}while(f!==a)}}function Th(o){var a=o.ref;if(a!==null){var f=o.stateNode;switch(o.tag){case 5:o=f;break;default:o=f}typeof a=="function"?a(o):a.current=o}}function Sf(o){var a=o.alternate;a!==null&&(o.alternate=null,Sf(a)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(a=o.stateNode,a!==null&&(delete a[mi],delete a[ac],delete a[ic],delete a[iu],delete a[Hb])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function Pc(o){return o.tag===5||o.tag===3||o.tag===4}function Xi(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||Pc(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Ci(o,a,f){var m=o.tag;if(m===5||m===6)o=o.stateNode,a?f.nodeType===8?f.parentNode.insertBefore(o,a):f.insertBefore(o,a):(f.nodeType===8?(a=f.parentNode,a.insertBefore(o,f)):(a=f,a.appendChild(o)),f=f._reactRootContainer,f!=null||a.onclick!==null||(a.onclick=xl));else if(m!==4&&(o=o.child,o!==null))for(Ci(o,a,f),o=o.sibling;o!==null;)Ci(o,a,f),o=o.sibling}function wi(o,a,f){var m=o.tag;if(m===5||m===6)o=o.stateNode,a?f.insertBefore(o,a):f.appendChild(o);else if(m!==4&&(o=o.child,o!==null))for(wi(o,a,f),o=o.sibling;o!==null;)wi(o,a,f),o=o.sibling}var Ar=null,Do=!1;function Mo(o,a,f){for(f=f.child;f!==null;)yy(o,a,f),f=f.sibling}function yy(o,a,f){if(yn&&typeof yn.onCommitFiberUnmount=="function")try{yn.onCommitFiberUnmount(gr,f)}catch{}switch(f.tag){case 5:$o||pu(f,a);case 6:var m=Ar,x=Do;Ar=null,Mo(o,a,f),Ar=m,Do=x,Ar!==null&&(Do?(o=Ar,f=f.stateNode,o.nodeType===8?o.parentNode.removeChild(f):o.removeChild(f)):Ar.removeChild(f.stateNode));break;case 18:Ar!==null&&(Do?(o=Ar,f=f.stateNode,o.nodeType===8?au(o.parentNode,f):o.nodeType===1&&au(o,f),yl(o)):au(Ar,f.stateNode));break;case 4:m=Ar,x=Do,Ar=f.stateNode.containerInfo,Do=!0,Mo(o,a,f),Ar=m,Do=x;break;case 0:case 11:case 14:case 15:if(!$o&&(m=f.updateQueue,m!==null&&(m=m.lastEffect,m!==null))){x=m=m.next;do{var E=x,_=E.destroy;E=E.tag,_!==void 0&&((E&2)!==0||(E&4)!==0)&&xf(f,a,_),x=x.next}while(x!==m)}Mo(o,a,f);break;case 1:if(!$o&&(pu(f,a),m=f.stateNode,typeof m.componentWillUnmount=="function"))try{m.props=f.memoizedProps,m.state=f.memoizedState,m.componentWillUnmount()}catch(re){dr(f,a,re)}Mo(o,a,f);break;case 21:Mo(o,a,f);break;case 22:f.mode&1?($o=(m=$o)||f.memoizedState!==null,Mo(o,a,f),$o=m):Mo(o,a,f);break;default:Mo(o,a,f)}}function gy(o){var a=o.updateQueue;if(a!==null){o.updateQueue=null;var f=o.stateNode;f===null&&(f=o.stateNode=new Wb),a.forEach(function(m){var x=Oy.bind(null,o,m);f.has(m)||(f.add(m),m.then(x,x))})}}function ti(o,a){var f=a.deletions;if(f!==null)for(var m=0;m<f.length;m++){var x=f[m];try{var E=o,_=a,re=_;e:for(;re!==null;){switch(re.tag){case 5:Ar=re.stateNode,Do=!1;break e;case 3:Ar=re.stateNode.containerInfo,Do=!0;break e;case 4:Ar=re.stateNode.containerInfo,Do=!0;break e}re=re.return}if(Ar===null)throw Error(i(160));yy(E,_,x),Ar=null,Do=!1;var de=x.alternate;de!==null&&(de.return=null),x.return=null}catch(Le){dr(x,a,Le)}}if(a.subtreeFlags&12854)for(a=a.child;a!==null;)Rh(a,o),a=a.sibling}function Rh(o,a){var f=o.alternate,m=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:if(ti(a,o),ia(o),m&4){try{Ac(3,o,o.return),kc(3,o)}catch(Mt){dr(o,o.return,Mt)}try{Ac(5,o,o.return)}catch(Mt){dr(o,o.return,Mt)}}break;case 1:ti(a,o),ia(o),m&512&&f!==null&&pu(f,f.return);break;case 5:if(ti(a,o),ia(o),m&512&&f!==null&&pu(f,f.return),o.flags&32){var x=o.stateNode;try{it(x,"")}catch(Mt){dr(o,o.return,Mt)}}if(m&4&&(x=o.stateNode,x!=null)){var E=o.memoizedProps,_=f!==null?f.memoizedProps:E,re=o.type,de=o.updateQueue;if(o.updateQueue=null,de!==null)try{re==="input"&&E.type==="radio"&&E.name!=null&&rt(x,E),Ln(re,_);var Le=Ln(re,E);for(_=0;_<de.length;_+=2){var Ze=de[_],et=de[_+1];Ze==="style"?Rn(x,et):Ze==="dangerouslySetInnerHTML"?or(x,et):Ze==="children"?it(x,et):k(x,Ze,et,Le)}switch(re){case"input":Lt(x,E);break;case"textarea":mn(x,E);break;case"select":var Ke=x._wrapperState.wasMultiple;x._wrapperState.wasMultiple=!!E.multiple;var wt=E.value;wt!=null?St(x,!!E.multiple,wt,!1):Ke!==!!E.multiple&&(E.defaultValue!=null?St(x,!!E.multiple,E.defaultValue,!0):St(x,!!E.multiple,E.multiple?[]:"",!1))}x[ac]=E}catch(Mt){dr(o,o.return,Mt)}}break;case 6:if(ti(a,o),ia(o),m&4){if(o.stateNode===null)throw Error(i(162));x=o.stateNode,E=o.memoizedProps;try{x.nodeValue=E}catch(Mt){dr(o,o.return,Mt)}}break;case 3:if(ti(a,o),ia(o),m&4&&f!==null&&f.memoizedState.isDehydrated)try{yl(a.containerInfo)}catch(Mt){dr(o,o.return,Mt)}break;case 4:ti(a,o),ia(o);break;case 13:ti(a,o),ia(o),x=o.child,x.flags&8192&&(E=x.memoizedState!==null,x.stateNode.isHidden=E,!E||x.alternate!==null&&x.alternate.memoizedState!==null||(Ah=Xt())),m&4&&gy(o);break;case 22:if(Ze=f!==null&&f.memoizedState!==null,o.mode&1?($o=(Le=$o)||Ze,ti(a,o),$o=Le):ti(a,o),ia(o),m&8192){if(Le=o.memoizedState!==null,(o.stateNode.isHidden=Le)&&!Ze&&(o.mode&1)!==0)for(Ot=o,Ze=o.child;Ze!==null;){for(et=Ot=Ze;Ot!==null;){switch(Ke=Ot,wt=Ke.child,Ke.tag){case 0:case 11:case 14:case 15:Ac(4,Ke,Ke.return);break;case 1:pu(Ke,Ke.return);var kt=Ke.stateNode;if(typeof kt.componentWillUnmount=="function"){m=Ke,f=Ke.return;try{a=m,kt.props=a.memoizedProps,kt.state=a.memoizedState,kt.componentWillUnmount()}catch(Mt){dr(m,f,Mt)}}break;case 5:pu(Ke,Ke.return);break;case 22:if(Ke.memoizedState!==null){Nc(et);continue}}wt!==null?(wt.return=Ke,Ot=wt):Nc(et)}Ze=Ze.sibling}e:for(Ze=null,et=o;;){if(et.tag===5){if(Ze===null){Ze=et;try{x=et.stateNode,Le?(E=x.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none"):(re=et.stateNode,de=et.memoizedProps.style,_=de!=null&&de.hasOwnProperty("display")?de.display:null,re.style.display=cn("display",_))}catch(Mt){dr(o,o.return,Mt)}}}else if(et.tag===6){if(Ze===null)try{et.stateNode.nodeValue=Le?"":et.memoizedProps}catch(Mt){dr(o,o.return,Mt)}}else if((et.tag!==22&&et.tag!==23||et.memoizedState===null||et===o)&&et.child!==null){et.child.return=et,et=et.child;continue}if(et===o)break e;for(;et.sibling===null;){if(et.return===null||et.return===o)break e;Ze===et&&(Ze=null),et=et.return}Ze===et&&(Ze=null),et.sibling.return=et.return,et=et.sibling}}break;case 19:ti(a,o),ia(o),m&4&&gy(o);break;case 21:break;default:ti(a,o),ia(o)}}function ia(o){var a=o.flags;if(a&2){try{e:{for(var f=o.return;f!==null;){if(Pc(f)){var m=f;break e}f=f.return}throw Error(i(160))}switch(m.tag){case 5:var x=m.stateNode;m.flags&32&&(it(x,""),m.flags&=-33);var E=Xi(o);wi(o,E,x);break;case 3:case 4:var _=m.stateNode.containerInfo,re=Xi(o);Ci(o,re,_);break;default:throw Error(i(161))}}catch(de){dr(o,o.return,de)}o.flags&=-3}a&4096&&(o.flags&=-4097)}function Yb(o,a,f){Ot=o,Oh(o)}function Oh(o,a,f){for(var m=(o.mode&1)!==0;Ot!==null;){var x=Ot,E=x.child;if(x.tag===22&&m){var _=x.memoizedState!==null||$c;if(!_){var re=x.alternate,de=re!==null&&re.memoizedState!==null||$o;re=$c;var Le=$o;if($c=_,($o=de)&&!Le)for(Ot=x;Ot!==null;)_=Ot,de=_.child,_.tag===22&&_.memoizedState!==null?$h(x):de!==null?(de.return=_,Ot=de):$h(x);for(;E!==null;)Ot=E,Oh(E),E=E.sibling;Ot=x,$c=re,$o=Le}by(o)}else(x.subtreeFlags&8772)!==0&&E!==null?(E.return=x,Ot=E):by(o)}}function by(o){for(;Ot!==null;){var a=Ot;if((a.flags&8772)!==0){var f=a.alternate;try{if((a.flags&8772)!==0)switch(a.tag){case 0:case 11:case 15:$o||kc(5,a);break;case 1:var m=a.stateNode;if(a.flags&4&&!$o)if(f===null)m.componentDidMount();else{var x=a.elementType===a.type?f.memoizedProps:ei(a.type,f.memoizedProps);m.componentDidUpdate(x,f.memoizedState,m.__reactInternalSnapshotBeforeUpdate)}var E=a.updateQueue;E!==null&&fh(a,E,m);break;case 3:var _=a.updateQueue;if(_!==null){if(f=null,a.child!==null)switch(a.child.tag){case 5:f=a.child.stateNode;break;case 1:f=a.child.stateNode}fh(a,_,f)}break;case 5:var re=a.stateNode;if(f===null&&a.flags&4){f=re;var de=a.memoizedProps;switch(a.type){case"button":case"input":case"select":case"textarea":de.autoFocus&&f.focus();break;case"img":de.src&&(f.src=de.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(a.memoizedState===null){var Le=a.alternate;if(Le!==null){var Ze=Le.memoizedState;if(Ze!==null){var et=Ze.dehydrated;et!==null&&yl(et)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}$o||a.flags&512&&Th(a)}catch(Ke){dr(a,a.return,Ke)}}if(a===o){Ot=null;break}if(f=a.sibling,f!==null){f.return=a.return,Ot=f;break}Ot=a.return}}function Nc(o){for(;Ot!==null;){var a=Ot;if(a===o){Ot=null;break}var f=a.sibling;if(f!==null){f.return=a.return,Ot=f;break}Ot=a.return}}function $h(o){for(;Ot!==null;){var a=Ot;try{switch(a.tag){case 0:case 11:case 15:var f=a.return;try{kc(4,a)}catch(de){dr(a,f,de)}break;case 1:var m=a.stateNode;if(typeof m.componentDidMount=="function"){var x=a.return;try{m.componentDidMount()}catch(de){dr(a,x,de)}}var E=a.return;try{Th(a)}catch(de){dr(a,E,de)}break;case 5:var _=a.return;try{Th(a)}catch(de){dr(a,_,de)}}}catch(de){dr(a,a.return,de)}if(a===o){Ot=null;break}var re=a.sibling;if(re!==null){re.return=a.return,Ot=re;break}Ot=a.return}}var qb=Math.ceil,Pl=V.ReactCurrentDispatcher,Os=V.ReactCurrentOwner,mo=V.ReactCurrentBatchConfig,Sn=0,Yr=null,Vr=null,vo=0,Sa=0,hu=Na(0),kr=0,Dc=null,Ei=0,mu=0,Cf=0,Mc=null,la=null,Ah=0,vu=1/0,Ca=null,yu=!1,$s=null,Nl=null,wf=!1,Ki=null,Lc=0,Dl=0,gu=null,Ic=-1,Ao=0;function jr(){return(Sn&6)!==0?Xt():Ic!==-1?Ic:Ic=Xt()}function Ti(o){return(o.mode&1)===0?1:(Sn&2)!==0&&vo!==0?vo&-vo:Gb.transition!==null?(Ao===0&&(Ao=Qo()),Ao):(o=Fn,o!==0||(o=window.event,o=o===void 0?16:bd(o.type)),o)}function Lo(o,a,f,m){if(50<Dl)throw Dl=0,gu=null,Error(i(185));Xo(o,f,m),((Sn&2)===0||o!==Yr)&&(o===Yr&&((Sn&2)===0&&(mu|=f),kr===4&&ni(o,vo)),sa(o,m),f===1&&Sn===0&&(a.mode&1)===0&&(vu=Xt()+500,su&&yi()))}function sa(o,a){var f=o.callbackNode;pl(o,a);var m=fi(o,o===Yr?vo:0);if(m===0)f!==null&&Kr(f),o.callbackNode=null,o.callbackPriority=0;else if(a=m&-m,o.callbackPriority!==a){if(f!=null&&Kr(f),a===1)o.tag===0?Cl(kh.bind(null,o)):Bd(kh.bind(null,o)),ou(function(){(Sn&6)===0&&yi()}),f=null;else{switch($p(m)){case 1:f=Xa;break;case 4:f=ci;break;case 16:f=di;break;case 536870912:f=Bn;break;default:f=di}f=Ay(f,Ef.bind(null,o))}o.callbackPriority=a,o.callbackNode=f}}function Ef(o,a){if(Ic=-1,Ao=0,(Sn&6)!==0)throw Error(i(327));var f=o.callbackNode;if(bu()&&o.callbackNode!==f)return null;var m=fi(o,o===Yr?vo:0);if(m===0)return null;if((m&30)!==0||(m&o.expiredLanes)!==0||a)a=Tf(o,m);else{a=m;var x=Sn;Sn|=2;var E=Sy();(Yr!==o||vo!==a)&&(Ca=null,vu=Xt()+500,Zi(o,a));do try{Cy();break}catch(re){xy(o,re)}while(!0);ih(),Pl.current=E,Sn=x,Vr!==null?a=0:(Yr=null,vo=0,a=kr)}if(a!==0){if(a===2&&(x=Fi(o),x!==0&&(m=x,a=_c(o,x))),a===1)throw f=Dc,Zi(o,0),ni(o,m),sa(o,Xt()),f;if(a===6)ni(o,m);else{if(x=o.current.alternate,(m&30)===0&&!Qb(x)&&(a=Tf(o,m),a===2&&(E=Fi(o),E!==0&&(m=E,a=_c(o,E))),a===1))throw f=Dc,Zi(o,0),ni(o,m),sa(o,Xt()),f;switch(o.finishedWork=x,o.finishedLanes=m,a){case 0:case 1:throw Error(i(345));case 2:Ps(o,la,Ca);break;case 3:if(ni(o,m),(m&130023424)===m&&(a=Ah+500-Xt(),10<a)){if(fi(o,0)!==0)break;if(x=o.suspendedLanes,(x&m)!==m){jr(),o.pingedLanes|=o.suspendedLanes&x;break}o.timeoutHandle=Vd(Ps.bind(null,o,la,Ca),a);break}Ps(o,la,Ca);break;case 4:if(ni(o,m),(m&4194240)===m)break;for(a=o.eventTimes,x=-1;0<m;){var _=31-Tr(m);E=1<<_,_=a[_],_>x&&(x=_),m&=~E}if(m=x,m=Xt()-m,m=(120>m?120:480>m?480:1080>m?1080:1920>m?1920:3e3>m?3e3:4320>m?4320:1960*qb(m/1960))-m,10<m){o.timeoutHandle=Vd(Ps.bind(null,o,la,Ca),m);break}Ps(o,la,Ca);break;case 5:Ps(o,la,Ca);break;default:throw Error(i(329))}}}return sa(o,Xt()),o.callbackNode===f?Ef.bind(null,o):null}function _c(o,a){var f=Mc;return o.current.memoizedState.isDehydrated&&(Zi(o,a).flags|=256),o=Tf(o,a),o!==2&&(a=la,la=f,a!==null&&As(a)),o}function As(o){la===null?la=o:la.push.apply(la,o)}function Qb(o){for(var a=o;;){if(a.flags&16384){var f=a.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var m=0;m<f.length;m++){var x=f[m],E=x.getSnapshot;x=x.value;try{if(!Ka(E(),x))return!1}catch{return!1}}}if(f=a.child,a.subtreeFlags&16384&&f!==null)f.return=a,a=f;else{if(a===o)break;for(;a.sibling===null;){if(a.return===null||a.return===o)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function ni(o,a){for(a&=~Cf,a&=~mu,o.suspendedLanes|=a,o.pingedLanes&=~a,o=o.expirationTimes;0<a;){var f=31-Tr(a),m=1<<f;o[f]=-1,a&=~m}}function kh(o){if((Sn&6)!==0)throw Error(i(327));bu();var a=fi(o,0);if((a&1)===0)return sa(o,Xt()),null;var f=Tf(o,a);if(o.tag!==0&&f===2){var m=Fi(o);m!==0&&(a=m,f=_c(o,m))}if(f===1)throw f=Dc,Zi(o,0),ni(o,a),sa(o,Xt()),f;if(f===6)throw Error(i(345));return o.finishedWork=o.current.alternate,o.finishedLanes=a,Ps(o,la,Ca),sa(o,Xt()),null}function Ph(o,a){var f=Sn;Sn|=1;try{return o(a)}finally{Sn=f,Sn===0&&(vu=Xt()+500,su&&yi())}}function ks(o){Ki!==null&&Ki.tag===0&&(Sn&6)===0&&bu();var a=Sn;Sn|=1;var f=mo.transition,m=Fn;try{if(mo.transition=null,Fn=1,o)return o()}finally{Fn=m,mo.transition=f,Sn=a,(Sn&6)===0&&yi()}}function Nh(){Sa=hu.current,er(hu)}function Zi(o,a){o.finishedWork=null,o.finishedLanes=0;var f=o.timeoutHandle;if(f!==-1&&(o.timeoutHandle=-1,th(f)),Vr!==null)for(f=Vr.return;f!==null;){var m=f;switch(Hd(m),m.tag){case 1:m=m.type.childContextTypes,m!=null&&lu();break;case 3:gs(),er(Gr),er(xr),jt();break;case 5:qd(m);break;case 4:gs();break;case 13:er(mr);break;case 19:er(mr);break;case 10:lh(m.type._context);break;case 22:case 23:Nh()}f=f.return}if(Yr=o,Vr=o=Ml(o.current,null),vo=Sa=a,kr=0,Dc=null,Cf=mu=Ei=0,la=Mc=null,vs!==null){for(a=0;a<vs.length;a++)if(f=vs[a],m=f.interleaved,m!==null){f.interleaved=null;var x=m.next,E=f.pending;if(E!==null){var _=E.next;E.next=x,m.next=_}f.pending=m}vs=null}return o}function xy(o,a){do{var f=Vr;try{if(ih(),hn.current=Es,Xd){for(var m=An.memoizedState;m!==null;){var x=m.queue;x!==null&&(x.pending=null),m=m.next}Xd=!1}if(zn=0,eo=Ir=An=null,hc=!1,bs=0,Os.current=null,f===null||f.return===null){kr=1,Dc=a,Vr=null;break}e:{var E=o,_=f.return,re=f,de=a;if(a=vo,re.flags|=32768,de!==null&&typeof de=="object"&&typeof de.then=="function"){var Le=de,Ze=re,et=Ze.tag;if((Ze.mode&1)===0&&(et===0||et===11||et===15)){var Ke=Ze.alternate;Ke?(Ze.updateQueue=Ke.updateQueue,Ze.memoizedState=Ke.memoizedState,Ze.lanes=Ke.lanes):(Ze.updateQueue=null,Ze.memoizedState=null)}var wt=ly(_);if(wt!==null){wt.flags&=-257,kl(wt,_,re,E,a),wt.mode&1&&xh(E,Le,a),a=wt,de=Le;var kt=a.updateQueue;if(kt===null){var Mt=new Set;Mt.add(de),a.updateQueue=Mt}else kt.add(de);break e}else{if((a&1)===0){xh(E,Le,a),Dh();break e}de=Error(i(426))}}else if(cr&&re.mode&1){var Pr=ly(_);if(Pr!==null){(Pr.flags&65536)===0&&(Pr.flags|=256),kl(Pr,_,re,E,a),Yi(Ts(de,re));break e}}E=de=Ts(de,re),kr!==4&&(kr=2),Mc===null?Mc=[E]:Mc.push(E),E=_;do{switch(E.tag){case 3:E.flags|=65536,a&=-a,E.lanes|=a;var Ae=iy(E,de,a);ty(E,Ae);break e;case 1:re=de;var xe=E.type,Ne=E.stateNode;if((E.flags&128)===0&&(typeof xe.getDerivedStateFromError=="function"||Ne!==null&&typeof Ne.componentDidCatch=="function"&&(Nl===null||!Nl.has(Ne)))){E.flags|=65536,a&=-a,E.lanes|=a;var Je=bh(E,re,a);ty(E,Je);break e}}E=E.return}while(E!==null)}Ey(f)}catch(Pt){a=Pt,Vr===f&&f!==null&&(Vr=f=f.return);continue}break}while(!0)}function Sy(){var o=Pl.current;return Pl.current=Es,o===null?Es:o}function Dh(){(kr===0||kr===3||kr===2)&&(kr=4),Yr===null||(Ei&268435455)===0&&(mu&268435455)===0||ni(Yr,vo)}function Tf(o,a){var f=Sn;Sn|=2;var m=Sy();(Yr!==o||vo!==a)&&(Ca=null,Zi(o,a));do try{Xb();break}catch(x){xy(o,x)}while(!0);if(ih(),Sn=f,Pl.current=m,Vr!==null)throw Error(i(261));return Yr=null,vo=0,kr}function Xb(){for(;Vr!==null;)wy(Vr)}function Cy(){for(;Vr!==null&&!Yt();)wy(Vr)}function wy(o){var a=$y(o.alternate,o,Sa);o.memoizedProps=o.pendingProps,a===null?Ey(o):Vr=a,Os.current=null}function Ey(o){var a=o;do{var f=a.alternate;if(o=a.return,(a.flags&32768)===0){if(f=hy(f,a,Sa),f!==null){Vr=f;return}}else{if(f=bf(f,a),f!==null){f.flags&=32767,Vr=f;return}if(o!==null)o.flags|=32768,o.subtreeFlags=0,o.deletions=null;else{kr=6,Vr=null;return}}if(a=a.sibling,a!==null){Vr=a;return}Vr=a=o}while(a!==null);kr===0&&(kr=5)}function Ps(o,a,f){var m=Fn,x=mo.transition;try{mo.transition=null,Fn=1,Kb(o,a,f,m)}finally{mo.transition=x,Fn=m}return null}function Kb(o,a,f,m){do bu();while(Ki!==null);if((Sn&6)!==0)throw Error(i(327));f=o.finishedWork;var x=o.finishedLanes;if(f===null)return null;if(o.finishedWork=null,o.finishedLanes=0,f===o.current)throw Error(i(177));o.callbackNode=null,o.callbackPriority=0;var E=f.lanes|f.childLanes;if(Rb(o,E),o===Yr&&(Vr=Yr=null,vo=0),(f.subtreeFlags&2064)===0&&(f.flags&2064)===0||wf||(wf=!0,Ay(di,function(){return bu(),null})),E=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||E){E=mo.transition,mo.transition=null;var _=Fn;Fn=1;var re=Sn;Sn|=4,Os.current=null,vy(o,f),Rh(f,o),eu(ds),os=!!oc,ds=oc=null,o.current=f,Yb(f),Jn(),Sn=re,Fn=_,mo.transition=E}else o.current=f;if(wf&&(wf=!1,Ki=o,Lc=x),E=o.pendingLanes,E===0&&(Nl=null),so(f.stateNode),sa(o,Xt()),a!==null)for(m=o.onRecoverableError,f=0;f<a.length;f++)x=a[f],m(x.value,{componentStack:x.stack,digest:x.digest});if(yu)throw yu=!1,o=$s,$s=null,o;return(Lc&1)!==0&&o.tag!==0&&bu(),E=o.pendingLanes,(E&1)!==0?o===gu?Dl++:(Dl=0,gu=o):Dl=0,yi(),null}function bu(){if(Ki!==null){var o=$p(Lc),a=mo.transition,f=Fn;try{if(mo.transition=null,Fn=16>o?16:o,Ki===null)var m=!1;else{if(o=Ki,Ki=null,Lc=0,(Sn&6)!==0)throw Error(i(331));var x=Sn;for(Sn|=4,Ot=o.current;Ot!==null;){var E=Ot,_=E.child;if((Ot.flags&16)!==0){var re=E.deletions;if(re!==null){for(var de=0;de<re.length;de++){var Le=re[de];for(Ot=Le;Ot!==null;){var Ze=Ot;switch(Ze.tag){case 0:case 11:case 15:Ac(8,Ze,E)}var et=Ze.child;if(et!==null)et.return=Ze,Ot=et;else for(;Ot!==null;){Ze=Ot;var Ke=Ze.sibling,wt=Ze.return;if(Sf(Ze),Ze===Le){Ot=null;break}if(Ke!==null){Ke.return=wt,Ot=Ke;break}Ot=wt}}}var kt=E.alternate;if(kt!==null){var Mt=kt.child;if(Mt!==null){kt.child=null;do{var Pr=Mt.sibling;Mt.sibling=null,Mt=Pr}while(Mt!==null)}}Ot=E}}if((E.subtreeFlags&2064)!==0&&_!==null)_.return=E,Ot=_;else e:for(;Ot!==null;){if(E=Ot,(E.flags&2048)!==0)switch(E.tag){case 0:case 11:case 15:Ac(9,E,E.return)}var Ae=E.sibling;if(Ae!==null){Ae.return=E.return,Ot=Ae;break e}Ot=E.return}}var xe=o.current;for(Ot=xe;Ot!==null;){_=Ot;var Ne=_.child;if((_.subtreeFlags&2064)!==0&&Ne!==null)Ne.return=_,Ot=Ne;else e:for(_=xe;Ot!==null;){if(re=Ot,(re.flags&2048)!==0)try{switch(re.tag){case 0:case 11:case 15:kc(9,re)}}catch(Pt){dr(re,re.return,Pt)}if(re===_){Ot=null;break e}var Je=re.sibling;if(Je!==null){Je.return=re.return,Ot=Je;break e}Ot=re.return}}if(Sn=x,yi(),yn&&typeof yn.onPostCommitFiberRoot=="function")try{yn.onPostCommitFiberRoot(gr,o)}catch{}m=!0}return m}finally{Fn=f,mo.transition=a}}return!1}function Ty(o,a,f){a=Ts(f,a),a=iy(o,a,1),o=Ol(o,a,1),a=jr(),o!==null&&(Xo(o,1,a),sa(o,a))}function dr(o,a,f){if(o.tag===3)Ty(o,o,f);else for(;a!==null;){if(a.tag===3){Ty(a,o,f);break}else if(a.tag===1){var m=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(Nl===null||!Nl.has(m))){o=Ts(f,o),o=bh(a,o,1),a=Ol(a,o,1),o=jr(),a!==null&&(Xo(a,1,o),sa(a,o));break}}a=a.return}}function Zb(o,a,f){var m=o.pingCache;m!==null&&m.delete(a),a=jr(),o.pingedLanes|=o.suspendedLanes&f,Yr===o&&(vo&f)===f&&(kr===4||kr===3&&(vo&130023424)===vo&&500>Xt()-Ah?Zi(o,0):Cf|=f),sa(o,a)}function Ry(o,a){a===0&&((o.mode&1)===0?a=1:(a=Mn,Mn<<=1,(Mn&130023424)===0&&(Mn=4194304)));var f=jr();o=ba(o,a),o!==null&&(Xo(o,a,f),sa(o,f))}function Jb(o){var a=o.memoizedState,f=0;a!==null&&(f=a.retryLane),Ry(o,f)}function Oy(o,a){var f=0;switch(o.tag){case 13:var m=o.stateNode,x=o.memoizedState;x!==null&&(f=x.retryLane);break;case 19:m=o.stateNode;break;default:throw Error(i(314))}m!==null&&m.delete(a),Ry(o,f)}var $y;$y=function(o,a,f){if(o!==null)if(o.memoizedProps!==a.pendingProps||Gr.current)_r=!0;else{if((o.lanes&f)===0&&(a.flags&128)===0)return _r=!1,Rc(o,a,f);_r=(o.flags&131072)!==0}else _r=!1,cr&&(a.flags&1048576)!==0&&Kv(a,Wi,a.index);switch(a.lanes=0,a.tag){case 2:var m=a.type;Ia(o,a),o=a.pendingProps;var x=ea(a,xr.current);hr(a,f),x=$l(null,a,m,o,x,f);var E=Ja();return a.flags|=1,typeof x=="object"&&x!==null&&typeof x.render=="function"&&x.$$typeof===void 0?(a.tag=1,a.memoizedState=null,a.updateQueue=null,Mr(m)?(E=!0,Jr(a)):E=!1,a.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,dh(a),x.updater=hf,a.stateNode=x,x._reactInternals=a,Sc(a,m,o,f),a=Ec(null,a,m,!0,E,f)):(a.tag=0,cr&&E&&zd(a),ho(null,a,x,f),a=a.child),a;case 16:m=a.elementType;e:{switch(Ia(o,a),o=a.pendingProps,x=m._init,m=x(m._payload),a.type=m,x=a.tag=t1(m),o=ei(m,o),x){case 0:a=sy(null,a,m,o,f);break e;case 1:a=uy(null,a,m,o,f);break e;case 11:a=aa(null,a,m,o,f);break e;case 14:a=Rs(null,a,m,ei(m.type,o),f);break e}throw Error(i(306,m,""))}return a;case 0:return m=a.type,x=a.pendingProps,x=a.elementType===m?x:ei(m,x),sy(o,a,m,x,f);case 1:return m=a.type,x=a.pendingProps,x=a.elementType===m?x:ei(m,x),uy(o,a,m,x,f);case 3:e:{if(fu(a),o===null)throw Error(i(387));m=a.pendingProps,E=a.memoizedState,x=E.element,ey(o,a),uc(a,m,null,f);var _=a.memoizedState;if(m=_.element,E.isDehydrated)if(E={element:m,isDehydrated:!1,cache:_.cache,pendingSuspenseBoundaries:_.pendingSuspenseBoundaries,transitions:_.transitions},a.updateQueue.baseState=E,a.memoizedState=E,a.flags&256){x=Ts(Error(i(423)),a),a=cy(o,a,m,f,x);break e}else if(m!==x){x=Ts(Error(i(424)),a),a=cy(o,a,m,f,x);break e}else for(na=hi(a.stateNode.containerInfo.firstChild),ta=a,cr=!0,Ma=null,f=bt(a,null,m,f),a.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Rl(),m===x){a=_a(o,a,f);break e}ho(o,a,m,f)}a=a.child}return a;case 5:return ny(a),o===null&&oh(a),m=a.type,x=a.pendingProps,E=o!==null?o.memoizedProps:null,_=x.children,Fd(m,x)?_=null:E!==null&&Fd(m,E)&&(a.flags|=32),Sh(o,a),ho(o,a,_,f),a.child;case 6:return o===null&&oh(a),null;case 13:return gf(o,a,f);case 4:return ph(a,a.stateNode.containerInfo),m=a.pendingProps,o===null?a.child=Or(a,null,m,f):ho(o,a,m,f),a.child;case 11:return m=a.type,x=a.pendingProps,x=a.elementType===m?x:ei(m,x),aa(o,a,m,x,f);case 7:return ho(o,a,a.pendingProps,f),a.child;case 8:return ho(o,a,a.pendingProps.children,f),a.child;case 12:return ho(o,a,a.pendingProps.children,f),a.child;case 10:e:{if(m=a.type._context,x=a.pendingProps,E=a.memoizedProps,_=x.value,Ft(ga,m._currentValue),m._currentValue=_,E!==null)if(Ka(E.value,_)){if(E.children===x.children&&!Gr.current){a=_a(o,a,f);break e}}else for(E=a.child,E!==null&&(E.return=a);E!==null;){var re=E.dependencies;if(re!==null){_=E.child;for(var de=re.firstContext;de!==null;){if(de.context===m){if(E.tag===1){de=qi(-1,f&-f),de.tag=2;var Le=E.updateQueue;if(Le!==null){Le=Le.shared;var Ze=Le.pending;Ze===null?de.next=de:(de.next=Ze.next,Ze.next=de),Le.pending=de}}E.lanes|=f,de=E.alternate,de!==null&&(de.lanes|=f),sh(E.return,f,a),re.lanes|=f;break}de=de.next}}else if(E.tag===10)_=E.type===a.type?null:E.child;else if(E.tag===18){if(_=E.return,_===null)throw Error(i(341));_.lanes|=f,re=_.alternate,re!==null&&(re.lanes|=f),sh(_,f,a),_=E.sibling}else _=E.child;if(_!==null)_.return=E;else for(_=E;_!==null;){if(_===a){_=null;break}if(E=_.sibling,E!==null){E.return=_.return,_=E;break}_=_.return}E=_}ho(o,a,x.children,f),a=a.child}return a;case 9:return x=a.type,m=a.pendingProps.children,hr(a,f),x=La(x),m=m(x),a.flags|=1,ho(o,a,m,f),a.child;case 14:return m=a.type,x=ei(m,a.pendingProps),x=ei(m.type,x),Rs(o,a,m,x,f);case 15:return on(o,a,a.type,a.pendingProps,f);case 17:return m=a.type,x=a.pendingProps,x=a.elementType===m?x:ei(m,x),Ia(o,a),a.tag=1,Mr(m)?(o=!0,Jr(a)):o=!1,hr(a,f),mf(a,m,x),Sc(a,m,x,f),Ec(null,a,m,!0,o,f);case 19:return Si(o,a,f);case 22:return wc(o,a,f)}throw Error(i(156,a.tag))};function Ay(o,a){return ar(o,a)}function e1(o,a,f,m){this.tag=o,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Va(o,a,f,m){return new e1(o,a,f,m)}function Mh(o){return o=o.prototype,!(!o||!o.isReactComponent)}function t1(o){if(typeof o=="function")return Mh(o)?1:0;if(o!=null){if(o=o.$$typeof,o===Te)return 11;if(o===ce)return 14}return 2}function Ml(o,a){var f=o.alternate;return f===null?(f=Va(o.tag,a,o.key,o.mode),f.elementType=o.elementType,f.type=o.type,f.stateNode=o.stateNode,f.alternate=o,o.alternate=f):(f.pendingProps=a,f.type=o.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=o.flags&14680064,f.childLanes=o.childLanes,f.lanes=o.lanes,f.child=o.child,f.memoizedProps=o.memoizedProps,f.memoizedState=o.memoizedState,f.updateQueue=o.updateQueue,a=o.dependencies,f.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},f.sibling=o.sibling,f.index=o.index,f.ref=o.ref,f}function Fc(o,a,f,m,x,E){var _=2;if(m=o,typeof o=="function")Mh(o)&&(_=1);else if(typeof o=="string")_=5;else e:switch(o){case Z:return Ji(f.children,x,E,a);case ie:_=8,x|=8;break;case ge:return o=Va(12,f,a,x|2),o.elementType=ge,o.lanes=E,o;case he:return o=Va(13,f,a,x),o.elementType=he,o.lanes=E,o;case we:return o=Va(19,f,a,x),o.elementType=we,o.lanes=E,o;case ve:return Ll(f,x,E,a);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case M:_=10;break e;case se:_=9;break e;case Te:_=11;break e;case ce:_=14;break e;case fe:_=16,m=null;break e}throw Error(i(130,o==null?o:typeof o,""))}return a=Va(_,f,a,x),a.elementType=o,a.type=m,a.lanes=E,a}function Ji(o,a,f,m){return o=Va(7,o,m,a),o.lanes=f,o}function Ll(o,a,f,m){return o=Va(22,o,m,a),o.elementType=ve,o.lanes=f,o.stateNode={isHidden:!1},o}function Lh(o,a,f){return o=Va(6,o,null,a),o.lanes=f,o}function Rf(o,a,f){return a=Va(4,o.children!==null?o.children:[],o.key,a),a.lanes=f,a.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},a}function ky(o,a,f,m,x){this.tag=a,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=hl(0),this.expirationTimes=hl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hl(0),this.identifierPrefix=m,this.onRecoverableError=x,this.mutableSourceEagerHydrationData=null}function Of(o,a,f,m,x,E,_,re,de){return o=new ky(o,a,f,re,de),a===1?(a=1,E===!0&&(a|=8)):a=0,E=Va(3,null,null,a),o.current=E,E.stateNode=o,E.memoizedState={element:m,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},dh(E),o}function n1(o,a,f){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:z,key:m==null?null:""+m,children:o,containerInfo:a,implementation:f}}function Ih(o){if(!o)return Ro;o=o._reactInternals;e:{if(At(o)!==o||o.tag!==1)throw Error(i(170));var a=o;do{switch(a.tag){case 3:a=a.stateNode.context;break e;case 1:if(Mr(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break e}}a=a.return}while(a!==null);throw Error(i(171))}if(o.tag===1){var f=o.type;if(Mr(f))return lc(o,f,a)}return a}function Py(o,a,f,m,x,E,_,re,de){return o=Of(f,m,!0,o,x,E,_,re,de),o.context=Ih(null),f=o.current,m=jr(),x=Ti(f),E=qi(m,x),E.callback=a??null,Ol(f,E,x),o.current.lanes=x,Xo(o,x,m),sa(o,m),o}function $f(o,a,f,m){var x=a.current,E=jr(),_=Ti(x);return f=Ih(f),a.context===null?a.context=f:a.pendingContext=f,a=qi(E,_),a.payload={element:o},m=m===void 0?null:m,m!==null&&(a.callback=m),o=Ol(x,a,_),o!==null&&(Lo(o,x,_,E),Yd(o,x,_)),_}function Af(o){if(o=o.current,!o.child)return null;switch(o.child.tag){case 5:return o.child.stateNode;default:return o.child.stateNode}}function _h(o,a){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var f=o.retryLane;o.retryLane=f!==0&&f<a?f:a}}function kf(o,a){_h(o,a),(o=o.alternate)&&_h(o,a)}function Ny(){return null}var Ns=typeof reportError=="function"?reportError:function(o){console.error(o)};function Fh(o){this._internalRoot=o}Pf.prototype.render=Fh.prototype.render=function(o){var a=this._internalRoot;if(a===null)throw Error(i(409));$f(o,a,null,null)},Pf.prototype.unmount=Fh.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var a=o.containerInfo;ks(function(){$f(null,o,null,null)}),a[Hi]=null}};function Pf(o){this._internalRoot=o}Pf.prototype.unstable_scheduleHydration=function(o){if(o){var a=rn();o={blockedOn:null,target:o,priority:a};for(var f=0;f<co.length&&a!==0&&a<co[f].priority;f++);co.splice(f,0,o),f===0&&Dp(o)}};function Vh(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function Nf(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11&&(o.nodeType!==8||o.nodeValue!==" react-mount-point-unstable "))}function Dy(){}function r1(o,a,f,m,x){if(x){if(typeof m=="function"){var E=m;m=function(){var Le=Af(_);E.call(Le)}}var _=Py(a,m,o,0,null,!1,!1,"",Dy);return o._reactRootContainer=_,o[Hi]=_.current,nu(o.nodeType===8?o.parentNode:o),ks(),_}for(;x=o.lastChild;)o.removeChild(x);if(typeof m=="function"){var re=m;m=function(){var Le=Af(de);re.call(Le)}}var de=Of(o,0,!1,null,null,!1,!1,"",Dy);return o._reactRootContainer=de,o[Hi]=de.current,nu(o.nodeType===8?o.parentNode:o),ks(function(){$f(a,de,f,m)}),de}function Vc(o,a,f,m,x){var E=f._reactRootContainer;if(E){var _=E;if(typeof x=="function"){var re=x;x=function(){var de=Af(_);re.call(de)}}$f(a,_,o,x)}else _=r1(f,a,o,x,m);return Af(_)}Vn=function(o){switch(o.tag){case 3:var a=o.stateNode;if(a.current.memoizedState.isDehydrated){var f=Rr(a.pendingLanes);f!==0&&(vd(a,f|1),sa(a,Xt()),(Sn&6)===0&&(vu=Xt()+500,yi()))}break;case 13:ks(function(){var m=ba(o,1);if(m!==null){var x=jr();Lo(m,o,1,x)}}),kf(o,1)}},Ap=function(o){if(o.tag===13){var a=ba(o,134217728);if(a!==null){var f=jr();Lo(a,o,134217728,f)}kf(o,134217728)}},kp=function(o){if(o.tag===13){var a=Ti(o),f=ba(o,a);if(f!==null){var m=jr();Lo(f,o,a,m)}kf(o,a)}},rn=function(){return Fn},Pp=function(o,a){var f=Fn;try{return Fn=o,a()}finally{Fn=f}},J=function(o,a,f){switch(a){case"input":if(Lt(o,f),a=f.name,f.type==="radio"&&a!=null){for(f=o;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),a=0;a<f.length;a++){var m=f[a];if(m!==o&&m.form===o.form){var x=pr(m);if(!x)throw Error(i(90));te(m),Lt(m,x)}}}break;case"textarea":mn(o,f);break;case"select":a=f.value,a!=null&&St(o,!!f.multiple,a,!1)}},ue=Ph,Ie=ks;var o1={usingClientEntryPoint:!1,Events:[Vt,Za,pr,q,me,Ph]},jc={findFiberByHostInstance:fs,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},My={bundleType:jc.bundleType,version:jc.version,rendererPackageName:jc.rendererPackageName,rendererConfig:jc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:V.ReactCurrentDispatcher,findHostInstanceByFiber:function(o){return o=Er(o),o===null?null:o.stateNode},findFiberByHostInstance:jc.findFiberByHostInstance||Ny,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 Il=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Il.isDisabled&&Il.supportsFiber)try{gr=Il.inject(My),yn=Il}catch{}}return Ga.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=o1,Ga.createPortal=function(o,a){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Vh(a))throw Error(i(200));return n1(o,a,null,f)},Ga.createRoot=function(o,a){if(!Vh(o))throw Error(i(299));var f=!1,m="",x=Ns;return a!=null&&(a.unstable_strictMode===!0&&(f=!0),a.identifierPrefix!==void 0&&(m=a.identifierPrefix),a.onRecoverableError!==void 0&&(x=a.onRecoverableError)),a=Of(o,1,!1,null,null,f,!1,m,x),o[Hi]=a.current,nu(o.nodeType===8?o.parentNode:o),new Fh(a)},Ga.findDOMNode=function(o){if(o==null)return null;if(o.nodeType===1)return o;var a=o._reactInternals;if(a===void 0)throw typeof o.render=="function"?Error(i(188)):(o=Object.keys(o).join(","),Error(i(268,o)));return o=Er(a),o=o===null?null:o.stateNode,o},Ga.flushSync=function(o){return ks(o)},Ga.hydrate=function(o,a,f){if(!Nf(a))throw Error(i(200));return Vc(null,o,a,!0,f)},Ga.hydrateRoot=function(o,a,f){if(!Vh(o))throw Error(i(405));var m=f!=null&&f.hydratedSources||null,x=!1,E="",_=Ns;if(f!=null&&(f.unstable_strictMode===!0&&(x=!0),f.identifierPrefix!==void 0&&(E=f.identifierPrefix),f.onRecoverableError!==void 0&&(_=f.onRecoverableError)),a=Py(a,null,o,1,f??null,x,!1,E,_),o[Hi]=a.current,nu(o),m)for(o=0;o<m.length;o++)f=m[o],x=f._getVersion,x=x(f._source),a.mutableSourceEagerHydrationData==null?a.mutableSourceEagerHydrationData=[f,x]:a.mutableSourceEagerHydrationData.push(f,x);return new Pf(a)},Ga.render=function(o,a,f){if(!Nf(a))throw Error(i(200));return Vc(null,o,a,!1,f)},Ga.unmountComponentAtNode=function(o){if(!Nf(o))throw Error(i(40));return o._reactRootContainer?(ks(function(){Vc(null,null,o,!1,function(){o._reactRootContainer=null,o[Hi]=null})}),!0):!1},Ga.unstable_batchedUpdates=Ph,Ga.unstable_renderSubtreeIntoContainer=function(o,a,f,m){if(!Nf(f))throw Error(i(200));if(o==null||o._reactInternals===void 0)throw Error(i(38));return Vc(o,a,f,!1,m)},Ga.version="18.3.1-next-f1338f8080-20240426",Ga}var Wa={};/**
|
|
2707
2707
|
* @license React
|
|
2708
2708
|
* react-dom.development.js
|
|
2709
2709
|
*
|
|
@@ -2711,15 +2711,15 @@ Error generating stack: `+E.message+`
|
|
|
2711
2711
|
*
|
|
2712
2712
|
* This source code is licensed under the MIT license found in the
|
|
2713
2713
|
* LICENSE file in the root directory of this source tree.
|
|
2714
|
-
*/var C$;function W4(){return C$||(C$=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=Ve,r=iA(),i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,s=!1;function c(t){s=t}function p(t){if(!s){for(var n=arguments.length,l=new Array(n>1?n-1:0),u=1;u<n;u++)l[u-1]=arguments[u];v("warn",t,l)}}function d(t){if(!s){for(var n=arguments.length,l=new Array(n>1?n-1:0),u=1;u<n;u++)l[u-1]=arguments[u];v("error",t,l)}}function v(t,n,l){{var u=i.ReactDebugCurrentFrame,h=u.getStackAddendum();h!==""&&(n+="%s",l=l.concat([h]));var g=l.map(function(C){return String(C)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[t],console,g)}}var b=0,S=1,T=2,w=3,R=4,A=5,L=6,P=7,j=8,G=9,Y=10,k=11,V=12,N=13,z=14,Z=15,ie=16,ge=17,M=18,se=19,Te=21,he=22,we=23,ce=24,fe=25,ve=!0,pe=!1,ne=!1,ee=!1,Re=!1,B=!0,W=!0,$e=!0,Be=!0,Qe=new Set,We={},X={};function oe(t,n){K(t,n),K(t+"Capture",n)}function K(t,n){We[t]&&d("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",t),We[t]=n;{var l=t.toLowerCase();X[l]=t,t==="onDoubleClick"&&(X.ondblclick=t)}for(var u=0;u<n.length;u++)Qe.add(n[u])}var Ee=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",te=Object.prototype.hasOwnProperty;function De(t){{var n=typeof Symbol=="function"&&Symbol.toStringTag,l=n&&t[Symbol.toStringTag]||t.constructor.name||"Object";return l}}function Ce(t){try{return Fe(t),!1}catch{return!0}}function Fe(t){return""+t}function rt(t,n){if(Ce(t))return d("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",n,De(t)),Fe(t)}function Lt(t){if(Ce(t))return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",De(t)),Fe(t)}function Dt(t,n){if(Ce(t))return d("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",n,De(t)),Fe(t)}function vt(t,n){if(Ce(t))return d("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",n,De(t)),Fe(t)}function yt(t){if(Ce(t))return d("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",De(t)),Fe(t)}function St(t){if(Ce(t))return d("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.",De(t)),Fe(t)}var lt=0,sn=1,mn=2,fn=3,un=4,Tn=5,rr=6,or=":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",it=or+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ot=new RegExp("^["+or+"]["+it+"]*$"),He={},cn={};function Rn(t){return te.call(cn,t)?!0:te.call(He,t)?!1:ot.test(t)?(cn[t]=!0,!0):(He[t]=!0,d("Invalid attribute name: `%s`",t),!1)}function Dn(t,n,l){return n!==null?n.type===lt:l?!1:t.length>2&&(t[0]==="o"||t[0]==="O")&&(t[1]==="n"||t[1]==="N")}function On(t,n,l,u){if(l!==null&&l.type===lt)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":{if(u)return!1;if(l!==null)return!l.acceptsBooleans;var h=t.toLowerCase().slice(0,5);return h!=="data-"&&h!=="aria-"}default:return!1}}function Ln(t,n,l,u){if(n===null||typeof n>"u"||On(t,n,l,u))return!0;if(u)return!1;if(l!==null)switch(l.type){case fn:return!n;case un:return n===!1;case Tn:return isNaN(n);case rr:return isNaN(n)||n<1}return!1}function qe(t){return J.hasOwnProperty(t)?J[t]:null}function U(t,n,l,u,h,g,C){this.acceptsBooleans=n===mn||n===fn||n===un,this.attributeName=u,this.attributeNamespace=h,this.mustUseProperty=l,this.propertyName=t,this.type=n,this.sanitizeURL=g,this.removeEmptyString=C}var J={},le=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];le.forEach(function(t){J[t]=new U(t,lt,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var n=t[0],l=t[1];J[n]=new U(n,sn,!1,l,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){J[t]=new U(t,mn,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){J[t]=new U(t,mn,!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){J[t]=new U(t,fn,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){J[t]=new U(t,fn,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){J[t]=new U(t,un,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){J[t]=new U(t,rr,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){J[t]=new U(t,Tn,!1,t.toLowerCase(),null,!1,!1)});var $=/[\-\:]([a-z])/g,F=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 n=t.replace($,F);J[n]=new U(n,sn,!1,t,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(t){var n=t.replace($,F);J[n]=new U(n,sn,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var n=t.replace($,F);J[n]=new U(n,sn,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){J[t]=new U(t,sn,!1,t.toLowerCase(),null,!1,!1)});var q="xlinkHref";J[q]=new U("xlinkHref",sn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){J[t]=new U(t,sn,!1,t.toLowerCase(),null,!0,!0)});var me=/^[\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,ue=!1;function Ie(t){!ue&&me.test(t)&&(ue=!0,d("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 nt(t,n,l,u){if(u.mustUseProperty){var h=u.propertyName;return t[h]}else{rt(l,n),u.sanitizeURL&&Ie(""+l);var g=u.attributeName,C=null;if(u.type===un){if(t.hasAttribute(g)){var O=t.getAttribute(g);return O===""?!0:Ln(n,l,u,!1)?O:O===""+l?l:O}}else if(t.hasAttribute(g)){if(Ln(n,l,u,!1))return t.getAttribute(g);if(u.type===fn)return l;C=t.getAttribute(g)}return Ln(n,l,u,!1)?C===null?l:C:C===""+l?l:C}}function Tt(t,n,l,u){{if(!Rn(n))return;if(!t.hasAttribute(n))return l===void 0?void 0:null;var h=t.getAttribute(n);return rt(l,n),h===""+l?l:h}}function $t(t,n,l,u){var h=qe(n);if(!Dn(n,h,u)){if(Ln(n,l,h,u)&&(l=null),u||h===null){if(Rn(n)){var g=n;l===null?t.removeAttribute(g):(rt(l,n),t.setAttribute(g,""+l))}return}var C=h.mustUseProperty;if(C){var O=h.propertyName;if(l===null){var D=h.type;t[O]=D===fn?!1:""}else t[O]=l;return}var H=h.attributeName,Q=h.attributeNamespace;if(l===null)t.removeAttribute(H);else{var Se=h.type,ye;Se===fn||Se===un&&l===!0?ye="":(rt(l,H),ye=""+l,h.sanitizeURL&&Ie(ye.toString())),Q?t.setAttributeNS(Q,H,ye):t.setAttribute(H,ye)}}}var dn=Symbol.for("react.element"),zt=Symbol.for("react.portal"),bn=Symbol.for("react.fragment"),pn=Symbol.for("react.strict_mode"),Xn=Symbol.for("react.profiler"),an=Symbol.for("react.provider"),ae=Symbol.for("react.context"),Ye=Symbol.for("react.forward_ref"),at=Symbol.for("react.suspense"),_t=Symbol.for("react.suspense_list"),At=Symbol.for("react.memo"),Wt=Symbol.for("react.lazy"),Jt=Symbol.for("react.scope"),en=Symbol.for("react.debug_trace_mode"),wr=Symbol.for("react.offscreen"),Zn=Symbol.for("react.legacy_hidden"),ar=Symbol.for("react.cache"),Kr=Symbol.for("react.tracing_marker"),Yt=Symbol.iterator,Jn="@@iterator";function Xt(t){if(t===null||typeof t!="object")return null;var n=Yt&&t[Yt]||t[Jn];return typeof n=="function"?n:null}var nn=Object.assign,Qa=0,ci,di,Ht,Bn,gr,yn,so;function Er(){}Er.__reactDisabledLog=!0;function To(){{if(Qa===0){ci=console.log,di=console.info,Ht=console.warn,Bn=console.error,gr=console.group,yn=console.groupCollapsed,so=console.groupEnd;var t={configurable:!0,enumerable:!0,value:Er,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}Qa++}}function _i(){{if(Qa--,Qa===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:nn({},t,{value:ci}),info:nn({},t,{value:di}),warn:nn({},t,{value:Ht}),error:nn({},t,{value:Bn}),group:nn({},t,{value:gr}),groupCollapsed:nn({},t,{value:yn}),groupEnd:nn({},t,{value:so})})}Qa<0&&d("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var uo=i.ReactCurrentDispatcher,Zr;function Mn(t,n,l){{if(Zr===void 0)try{throw Error()}catch(h){var u=h.stack.trim().match(/\n( *(at )?)/);Zr=u&&u[1]||""}return`
|
|
2715
|
-
`+Zr+t}}var
|
|
2714
|
+
*/var C$;function W4(){return C$||(C$=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=Ve,r=iA(),i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,s=!1;function c(t){s=t}function p(t){if(!s){for(var n=arguments.length,l=new Array(n>1?n-1:0),u=1;u<n;u++)l[u-1]=arguments[u];v("warn",t,l)}}function d(t){if(!s){for(var n=arguments.length,l=new Array(n>1?n-1:0),u=1;u<n;u++)l[u-1]=arguments[u];v("error",t,l)}}function v(t,n,l){{var u=i.ReactDebugCurrentFrame,h=u.getStackAddendum();h!==""&&(n+="%s",l=l.concat([h]));var g=l.map(function(C){return String(C)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[t],console,g)}}var b=0,S=1,T=2,w=3,R=4,A=5,L=6,P=7,j=8,G=9,Y=10,k=11,V=12,N=13,z=14,Z=15,ie=16,ge=17,M=18,se=19,Te=21,he=22,we=23,ce=24,fe=25,ve=!0,pe=!1,ne=!1,ee=!1,Re=!1,B=!0,W=!0,$e=!0,Be=!0,Qe=new Set,We={},X={};function oe(t,n){K(t,n),K(t+"Capture",n)}function K(t,n){We[t]&&d("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",t),We[t]=n;{var l=t.toLowerCase();X[l]=t,t==="onDoubleClick"&&(X.ondblclick=t)}for(var u=0;u<n.length;u++)Qe.add(n[u])}var Ee=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",te=Object.prototype.hasOwnProperty;function De(t){{var n=typeof Symbol=="function"&&Symbol.toStringTag,l=n&&t[Symbol.toStringTag]||t.constructor.name||"Object";return l}}function Ce(t){try{return Fe(t),!1}catch{return!0}}function Fe(t){return""+t}function rt(t,n){if(Ce(t))return d("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",n,De(t)),Fe(t)}function Lt(t){if(Ce(t))return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",De(t)),Fe(t)}function Dt(t,n){if(Ce(t))return d("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",n,De(t)),Fe(t)}function vt(t,n){if(Ce(t))return d("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",n,De(t)),Fe(t)}function yt(t){if(Ce(t))return d("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",De(t)),Fe(t)}function St(t){if(Ce(t))return d("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.",De(t)),Fe(t)}var lt=0,sn=1,mn=2,fn=3,un=4,Tn=5,rr=6,or=":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",it=or+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ot=new RegExp("^["+or+"]["+it+"]*$"),He={},cn={};function Rn(t){return te.call(cn,t)?!0:te.call(He,t)?!1:ot.test(t)?(cn[t]=!0,!0):(He[t]=!0,d("Invalid attribute name: `%s`",t),!1)}function Dn(t,n,l){return n!==null?n.type===lt:l?!1:t.length>2&&(t[0]==="o"||t[0]==="O")&&(t[1]==="n"||t[1]==="N")}function On(t,n,l,u){if(l!==null&&l.type===lt)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":{if(u)return!1;if(l!==null)return!l.acceptsBooleans;var h=t.toLowerCase().slice(0,5);return h!=="data-"&&h!=="aria-"}default:return!1}}function Ln(t,n,l,u){if(n===null||typeof n>"u"||On(t,n,l,u))return!0;if(u)return!1;if(l!==null)switch(l.type){case fn:return!n;case un:return n===!1;case Tn:return isNaN(n);case rr:return isNaN(n)||n<1}return!1}function qe(t){return J.hasOwnProperty(t)?J[t]:null}function U(t,n,l,u,h,g,C){this.acceptsBooleans=n===mn||n===fn||n===un,this.attributeName=u,this.attributeNamespace=h,this.mustUseProperty=l,this.propertyName=t,this.type=n,this.sanitizeURL=g,this.removeEmptyString=C}var J={},le=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];le.forEach(function(t){J[t]=new U(t,lt,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var n=t[0],l=t[1];J[n]=new U(n,sn,!1,l,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){J[t]=new U(t,mn,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){J[t]=new U(t,mn,!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){J[t]=new U(t,fn,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){J[t]=new U(t,fn,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){J[t]=new U(t,un,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){J[t]=new U(t,rr,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){J[t]=new U(t,Tn,!1,t.toLowerCase(),null,!1,!1)});var $=/[\-\:]([a-z])/g,F=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 n=t.replace($,F);J[n]=new U(n,sn,!1,t,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(t){var n=t.replace($,F);J[n]=new U(n,sn,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var n=t.replace($,F);J[n]=new U(n,sn,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){J[t]=new U(t,sn,!1,t.toLowerCase(),null,!1,!1)});var q="xlinkHref";J[q]=new U("xlinkHref",sn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){J[t]=new U(t,sn,!1,t.toLowerCase(),null,!0,!0)});var me=/^[\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,ue=!1;function Ie(t){!ue&&me.test(t)&&(ue=!0,d("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 nt(t,n,l,u){if(u.mustUseProperty){var h=u.propertyName;return t[h]}else{rt(l,n),u.sanitizeURL&&Ie(""+l);var g=u.attributeName,C=null;if(u.type===un){if(t.hasAttribute(g)){var O=t.getAttribute(g);return O===""?!0:Ln(n,l,u,!1)?O:O===""+l?l:O}}else if(t.hasAttribute(g)){if(Ln(n,l,u,!1))return t.getAttribute(g);if(u.type===fn)return l;C=t.getAttribute(g)}return Ln(n,l,u,!1)?C===null?l:C:C===""+l?l:C}}function Tt(t,n,l,u){{if(!Rn(n))return;if(!t.hasAttribute(n))return l===void 0?void 0:null;var h=t.getAttribute(n);return rt(l,n),h===""+l?l:h}}function $t(t,n,l,u){var h=qe(n);if(!Dn(n,h,u)){if(Ln(n,l,h,u)&&(l=null),u||h===null){if(Rn(n)){var g=n;l===null?t.removeAttribute(g):(rt(l,n),t.setAttribute(g,""+l))}return}var C=h.mustUseProperty;if(C){var O=h.propertyName;if(l===null){var D=h.type;t[O]=D===fn?!1:""}else t[O]=l;return}var H=h.attributeName,Q=h.attributeNamespace;if(l===null)t.removeAttribute(H);else{var Se=h.type,ye;Se===fn||Se===un&&l===!0?ye="":(rt(l,H),ye=""+l,h.sanitizeURL&&Ie(ye.toString())),Q?t.setAttributeNS(Q,H,ye):t.setAttribute(H,ye)}}}var dn=Symbol.for("react.element"),zt=Symbol.for("react.portal"),bn=Symbol.for("react.fragment"),pn=Symbol.for("react.strict_mode"),Xn=Symbol.for("react.profiler"),an=Symbol.for("react.provider"),ae=Symbol.for("react.context"),Ye=Symbol.for("react.forward_ref"),at=Symbol.for("react.suspense"),_t=Symbol.for("react.suspense_list"),At=Symbol.for("react.memo"),Wt=Symbol.for("react.lazy"),Jt=Symbol.for("react.scope"),en=Symbol.for("react.debug_trace_mode"),Er=Symbol.for("react.offscreen"),Zn=Symbol.for("react.legacy_hidden"),ar=Symbol.for("react.cache"),Kr=Symbol.for("react.tracing_marker"),Yt=Symbol.iterator,Jn="@@iterator";function Xt(t){if(t===null||typeof t!="object")return null;var n=Yt&&t[Yt]||t[Jn];return typeof n=="function"?n:null}var nn=Object.assign,Xa=0,ci,di,Ht,Bn,gr,yn,so;function Tr(){}Tr.__reactDisabledLog=!0;function To(){{if(Xa===0){ci=console.log,di=console.info,Ht=console.warn,Bn=console.error,gr=console.group,yn=console.groupCollapsed,so=console.groupEnd;var t={configurable:!0,enumerable:!0,value:Tr,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}Xa++}}function _i(){{if(Xa--,Xa===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:nn({},t,{value:ci}),info:nn({},t,{value:di}),warn:nn({},t,{value:Ht}),error:nn({},t,{value:Bn}),group:nn({},t,{value:gr}),groupCollapsed:nn({},t,{value:yn}),groupEnd:nn({},t,{value:so})})}Xa<0&&d("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var uo=i.ReactCurrentDispatcher,Zr;function Mn(t,n,l){{if(Zr===void 0)try{throw Error()}catch(h){var u=h.stack.trim().match(/\n( *(at )?)/);Zr=u&&u[1]||""}return`
|
|
2715
|
+
`+Zr+t}}var Rr=!1,fi;{var Hr=typeof WeakMap=="function"?WeakMap:Map;fi=new Hr}function pl(t,n){if(!t||Rr)return"";{var l=fi.get(t);if(l!==void 0)return l}var u;Rr=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=uo.current,uo.current=null,To();try{if(n){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(_e){u=_e}Reflect.construct(t,[],C)}else{try{C.call()}catch(_e){u=_e}t.call(C.prototype)}}else{try{throw Error()}catch(_e){u=_e}t()}}catch(_e){if(_e&&u&&typeof _e.stack=="string"){for(var O=_e.stack.split(`
|
|
2716
2716
|
`),D=u.stack.split(`
|
|
2717
2717
|
`),H=O.length-1,Q=D.length-1;H>=1&&Q>=0&&O[H]!==D[Q];)Q--;for(;H>=1&&Q>=0;H--,Q--)if(O[H]!==D[Q]){if(H!==1||Q!==1)do if(H--,Q--,Q<0||O[H]!==D[Q]){var Se=`
|
|
2718
|
-
`+O[H].replace(" at new "," at ");return t.displayName&&Se.includes("<anonymous>")&&(Se=Se.replace("<anonymous>",t.displayName)),typeof t=="function"&&fi.set(t,Se),Se}while(H>=1&&Q>=0);break}}}finally{
|
|
2718
|
+
`+O[H].replace(" at new "," at ");return t.displayName&&Se.includes("<anonymous>")&&(Se=Se.replace("<anonymous>",t.displayName)),typeof t=="function"&&fi.set(t,Se),Se}while(H>=1&&Q>=0);break}}}finally{Rr=!1,uo.current=g,_i(),Error.prepareStackTrace=h}var ye=t?t.displayName||t.name:"",Me=ye?Mn(ye):"";return typeof t=="function"&&fi.set(t,Me),Me}function Fi(t,n,l){return pl(t,!0)}function Qo(t,n,l){return pl(t,!1)}function hl(t){var n=t.prototype;return!!(n&&n.isReactComponent)}function Xo(t,n,l){if(t==null)return"";if(typeof t=="function")return pl(t,hl(t));if(typeof t=="string")return Mn(t);switch(t){case at:return Mn("Suspense");case _t:return Mn("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case Ye:return Qo(t.render);case At:return Xo(t.type,n,l);case Wt:{var u=t,h=u._payload,g=u._init;try{return Xo(g(h),n,l)}catch{}}}return""}function Rb(t){switch(t._debugOwner&&t._debugOwner.type,t._debugSource,t.tag){case A:return Mn(t.type);case ie:return Mn("Lazy");case N:return Mn("Suspense");case se:return Mn("SuspenseList");case b:case T:case Z:return Qo(t.type);case k:return Qo(t.type.render);case S:return Fi(t.type);default:return""}}function vd(t){try{var n="",l=t;do n+=Rb(l),l=l.return;while(l);return n}catch(u){return`
|
|
2719
2719
|
Error generating stack: `+u.message+`
|
|
2720
2720
|
`+u.stack}}function Fn(t,n,l){var u=t.displayName;if(u)return u;var h=n.displayName||n.name||"";return h!==""?l+"("+h+")":l}function $p(t){return t.displayName||"Context"}function Vn(t){if(t==null)return null;if(typeof t.tag=="number"&&d("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 bn:return"Fragment";case zt:return"Portal";case Xn:return"Profiler";case pn:return"StrictMode";case at:return"Suspense";case _t:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case ae:var n=t;return $p(n)+".Consumer";case an:var l=t;return $p(l._context)+".Provider";case Ye:return Fn(t,t.render,"ForwardRef");case At:var u=t.displayName||null;return u!==null?u:Vn(t.type)||"Memo";case Wt:{var h=t,g=h._payload,C=h._init;try{return Vn(C(g))}catch{return null}}}return null}function Ap(t,n,l){var u=n.displayName||n.name||"";return t.displayName||(u!==""?l+"("+u+")":l)}function kp(t){return t.displayName||"Context"}function rn(t){var n=t.tag,l=t.type;switch(n){case ce:return"Cache";case G:var u=l;return kp(u)+".Consumer";case Y:var h=l;return kp(h._context)+".Provider";case M:return"DehydratedFragment";case k:return Ap(l,l.render,"ForwardRef");case P:return"Fragment";case A:return l;case R:return"Portal";case w:return"Root";case L:return"Text";case ie:return Vn(l);case j:return l===pn?"StrictMode":"Mode";case he:return"Offscreen";case V:return"Profiler";case Te:return"Scope";case N:return"Suspense";case se:return"SuspenseList";case fe:return"TracingMarker";case S:case b:case ge:case T:case z:case Z:if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;break}return null}var Pp=i.ReactDebugCurrentFrame,Po=null,ml=!1;function $a(){{if(Po===null)return null;var t=Po._debugOwner;if(t!==null&&typeof t<"u")return rn(t)}return null}function vl(){return Po===null?"":vd(Po)}function br(){Pp.getCurrentStack=null,Po=null,ml=!1}function ir(t){Pp.getCurrentStack=t===null?null:vl,Po=t,ml=!1}function Hu(){return Po}function co(t){ml=t}function Aa(t){return""+t}function Vi(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return St(t),t;default:return""}}var Gu={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Np(t,n){Gu[n.type]||n.onChange||n.onInput||n.readOnly||n.disabled||n.value==null||d("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`."),n.onChange||n.readOnly||n.disabled||n.checked==null||d("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 Dp(t){var n=t.type,l=t.nodeName;return l&&l.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Wu(t){return t._valueTracker}function gv(t){t._valueTracker=null}function Ob(t){var n="";return t&&(Dp(t)?n=t.checked?"true":"false":n=t.value),n}function Yu(t){var n=Dp(t)?"checked":"value",l=Object.getOwnPropertyDescriptor(t.constructor.prototype,n);St(t[n]);var u=""+t[n];if(!(t.hasOwnProperty(n)||typeof l>"u"||typeof l.get!="function"||typeof l.set!="function")){var h=l.get,g=l.set;Object.defineProperty(t,n,{configurable:!0,get:function(){return h.call(this)},set:function(O){St(O),u=""+O,g.call(this,O)}}),Object.defineProperty(t,n,{enumerable:l.enumerable});var C={getValue:function(){return u},setValue:function(O){St(O),u=""+O},stopTracking:function(){gv(t),delete t[n]}};return C}}function yl(t){Wu(t)||(t._valueTracker=Yu(t))}function rs(t){if(!t)return!1;var n=Wu(t);if(!n)return!0;var l=n.getValue(),u=Ob(t);return u!==l?(n.setValue(u),!0):!1}function os(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 bv=!1,xv=!1,yd=!1,qu=!1;function gd(t){var n=t.type==="checkbox"||t.type==="radio";return n?t.checked!=null:t.value!=null}function bd(t,n){var l=t,u=n.checked,h=nn({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??l._wrapperState.initialChecked});return h}function ji(t,n){Np("input",n),n.checked!==void 0&&n.defaultChecked!==void 0&&!xv&&(d("%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",$a()||"A component",n.type),xv=!0),n.value!==void 0&&n.defaultValue!==void 0&&!bv&&(d("%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",$a()||"A component",n.type),bv=!0);var l=t,u=n.defaultValue==null?"":n.defaultValue;l._wrapperState={initialChecked:n.checked!=null?n.checked:n.defaultChecked,initialValue:Vi(n.value!=null?n.value:u),controlled:gd(n)}}function xd(t,n){var l=t,u=n.checked;u!=null&&$t(l,"checked",u,!1)}function Qs(t,n){var l=t;{var u=gd(n);!l._wrapperState.controlled&&u&&!qu&&(d("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"),qu=!0),l._wrapperState.controlled&&!u&&!yd&&(d("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"),yd=!0)}xd(t,n);var h=Vi(n.value),g=n.type;if(h!=null)g==="number"?(h===0&&l.value===""||l.value!=h)&&(l.value=Aa(h)):l.value!==Aa(h)&&(l.value=Aa(h));else if(g==="submit"||g==="reset"){l.removeAttribute("value");return}n.hasOwnProperty("value")?wd(l,n.type,h):n.hasOwnProperty("defaultValue")&&wd(l,n.type,Vi(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(l.defaultChecked=!!n.defaultChecked)}function Mp(t,n,l){var u=t;if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var h=n.type,g=h==="submit"||h==="reset";if(g&&(n.value===void 0||n.value===null))return;var C=Aa(u._wrapperState.initialValue);l||C!==u.value&&(u.value=C),u.defaultValue=C}var O=u.name;O!==""&&(u.name=""),u.defaultChecked=!u.defaultChecked,u.defaultChecked=!!u._wrapperState.initialChecked,O!==""&&(u.name=O)}function Sd(t,n){var l=t;Qs(l,n),Cd(l,n)}function Cd(t,n){var l=n.name;if(n.type==="radio"&&l!=null){for(var u=t;u.parentNode;)u=u.parentNode;rt(l,"name");for(var h=u.querySelectorAll("input[name="+JSON.stringify(""+l)+'][type="radio"]'),g=0;g<h.length;g++){var C=h[g];if(!(C===t||C.form!==t.form)){var O=Zy(C);if(!O)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");rs(C),Qs(C,O)}}}}function wd(t,n,l){(n!=="number"||os(t.ownerDocument)!==t)&&(l==null?t.defaultValue=Aa(t._wrapperState.initialValue):t.defaultValue!==Aa(l)&&(t.defaultValue=Aa(l)))}var Ko=!1,as=!1,Ed=!1;function Xs(t,n){n.value==null&&(typeof n.children=="object"&&n.children!==null?e.Children.forEach(n.children,function(l){l!=null&&(typeof l=="string"||typeof l=="number"||as||(as=!0,d("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):n.dangerouslySetInnerHTML!=null&&(Ed||(Ed=!0,d("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),n.selected!=null&&!Ko&&(d("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ko=!0)}function $b(t,n){n.value!=null&&t.setAttribute("value",Aa(Vi(n.value)))}var Lp=Array.isArray;function fo(t){return Lp(t)}var is;is=!1;function Qu(){var t=$a();return t?`
|
|
2721
2721
|
|
|
2722
|
-
Check the render method of \``+t+"`.":""}var Ip=["value","defaultValue"];function Ab(t){{Np("select",t);for(var n=0;n<Ip.length;n++){var l=Ip[n];if(t[l]!=null){var u=fo(t[l]);t.multiple&&!u?d("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",l,Qu()):!t.multiple&&u&&d("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",l,Qu())}}}}function Ks(t,n,l,u){var h=t.options;if(n){for(var g=l,C={},O=0;O<g.length;O++)C["$"+g[O]]=!0;for(var D=0;D<h.length;D++){var H=C.hasOwnProperty("$"+h[D].value);h[D].selected!==H&&(h[D].selected=H),H&&u&&(h[D].defaultSelected=!0)}}else{for(var Q=Aa(Vi(l)),Se=null,ye=0;ye<h.length;ye++){if(h[ye].value===Q){h[ye].selected=!0,u&&(h[ye].defaultSelected=!0);return}Se===null&&!h[ye].disabled&&(Se=h[ye])}Se!==null&&(Se.selected=!0)}}function _p(t,n){return nn({},n,{value:void 0})}function Td(t,n){var l=t;Ab(n),l._wrapperState={wasMultiple:!!n.multiple},n.value!==void 0&&n.defaultValue!==void 0&&!is&&(d("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"),is=!0)}function kb(t,n){var l=t;l.multiple=!!n.multiple;var u=n.value;u!=null?Ks(l,!!n.multiple,u,!1):n.defaultValue!=null&&Ks(l,!!n.multiple,n.defaultValue,!0)}function Pb(t,n){var l=t,u=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!n.multiple;var h=n.value;h!=null?Ks(l,!!n.multiple,h,!1):u!==!!n.multiple&&(n.defaultValue!=null?Ks(l,!!n.multiple,n.defaultValue,!0):Ks(l,!!n.multiple,n.multiple?[]:"",!1))}function Nb(t,n){var l=t,u=n.value;u!=null&&Ks(l,!!n.multiple,u,!1)}var Sv=!1;function Fp(t,n){var l=t;if(n.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var u=nn({},n,{value:void 0,defaultValue:void 0,children:Aa(l._wrapperState.initialValue)});return u}function Vp(t,n){var l=t;Np("textarea",n),n.value!==void 0&&n.defaultValue!==void 0&&!Sv&&(d("%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",$a()||"A component"),Sv=!0);var u=n.value;if(u==null){var h=n.children,g=n.defaultValue;if(h!=null){d("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(g!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(fo(h)){if(h.length>1)throw new Error("<textarea> can only have at most one child.");h=h[0]}g=h}}g==null&&(g=""),u=g}l._wrapperState={initialValue:Vi(u)}}function Cv(t,n){var l=t,u=Vi(n.value),h=Vi(n.defaultValue);if(u!=null){var g=Aa(u);g!==l.value&&(l.value=g),n.defaultValue==null&&l.defaultValue!==g&&(l.defaultValue=g)}h!=null&&(l.defaultValue=Aa(h))}function wv(t,n){var l=t,u=l.textContent;u===l._wrapperState.initialValue&&u!==""&&u!==null&&(l.value=u)}function Db(t,n){Cv(t,n)}var Ui="http://www.w3.org/1999/xhtml",jp="http://www.w3.org/1998/Math/MathML",Up="http://www.w3.org/2000/svg";function Bp(t){switch(t){case"svg":return Up;case"math":return jp;default:return Ui}}function zp(t,n){return t==null||t===Ui?Bp(n):t===Up&&n==="foreignObject"?Ui:t}var Ev=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,l,u,h){MSApp.execUnsafeLocalFunction(function(){return t(n,l,u,h)})}:t},Rd,Tv=Ev(function(t,n){if(t.namespaceURI===Up&&!("innerHTML"in t)){Rd=Rd||document.createElement("div"),Rd.innerHTML="<svg>"+n.valueOf().toString()+"</svg>";for(var l=Rd.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;l.firstChild;)t.appendChild(l.firstChild);return}t.innerHTML=n}),Zo=1,Bi=3,Dr=8,zi=9,Hp=11,Zs=function(t,n){if(n){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===Bi){l.nodeValue=n;return}}t.textContent=n},Xu={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"]},Ku={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 Rv(t,n){return t+n.charAt(0).toUpperCase()+n.substring(1)}var Ov=["Webkit","ms","Moz","O"];Object.keys(Ku).forEach(function(t){Ov.forEach(function(n){Ku[Rv(n,t)]=Ku[t]})});function Od(t,n,l){var u=n==null||typeof n=="boolean"||n==="";return u?"":!l&&typeof n=="number"&&n!==0&&!(Ku.hasOwnProperty(t)&&Ku[t])?n+"px":(vt(n,t),(""+n).trim())}var $v=/([A-Z])/g,Av=/^ms-/;function Js(t){return t.replace($v,"-$1").toLowerCase().replace(Av,"-ms-")}var kv=function(){};{var Mb=/^(?:webkit|moz|o)[A-Z]/,Lb=/^-ms-/,Pv=/-(.)/g,Gp=/;\s*$/,pi={},ls={},Nv=!1,Zu=!1,Ib=function(t){return t.replace(Pv,function(n,l){return l.toUpperCase()})},Dv=function(t){pi.hasOwnProperty(t)&&pi[t]||(pi[t]=!0,d("Unsupported style property %s. Did you mean %s?",t,Ib(t.replace(Lb,"ms-"))))},Wp=function(t){pi.hasOwnProperty(t)&&pi[t]||(pi[t]=!0,d("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1)))},Yp=function(t,n){ls.hasOwnProperty(n)&&ls[n]||(ls[n]=!0,d(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(Gp,"")))},Mv=function(t,n){Nv||(Nv=!0,d("`NaN` is an invalid value for the `%s` css style property.",t))},Lv=function(t,n){Zu||(Zu=!0,d("`Infinity` is an invalid value for the `%s` css style property.",t))};kv=function(t,n){t.indexOf("-")>-1?Dv(t):Mb.test(t)?Wp(t):Gp.test(n)&&Yp(t,n),typeof n=="number"&&(isNaN(n)?Mv(t,n):isFinite(n)||Lv(t,n))}}var Iv=kv;function _b(t){{var n="",l="";for(var u in t)if(t.hasOwnProperty(u)){var h=t[u];if(h!=null){var g=u.indexOf("--")===0;n+=l+(g?u:Js(u))+":",n+=Od(u,h,g),l=";"}}return n||null}}function _v(t,n){var l=t.style;for(var u in n)if(n.hasOwnProperty(u)){var h=u.indexOf("--")===0;h||Iv(u,n[u]);var g=Od(u,n[u],h);u==="float"&&(u="cssFloat"),h?l.setProperty(u,g):l[u]=g}}function Fb(t){return t==null||typeof t=="boolean"||t===""}function Fv(t){var n={};for(var l in t)for(var u=Xu[l]||[l],h=0;h<u.length;h++)n[u[h]]=l;return n}function Vb(t,n){{if(!n)return;var l=Fv(t),u=Fv(n),h={};for(var g in l){var C=l[g],O=u[g];if(O&&C!==O){var D=C+","+O;if(h[D])continue;h[D]=!0,d("%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.",Fb(t[C])?"Removing":"Updating",C,O)}}}}var Xa={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},Ju=nn({menuitem:!0},Xa),Vv="__html";function $d(t,n){if(n){if(Ju[t]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw new Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof n.dangerouslySetInnerHTML!="object"||!(Vv in n.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(!n.suppressContentEditableWarning&&n.contentEditable&&n.children!=null&&d("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."),n.style!=null&&typeof n.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 gl(t,n){if(t.indexOf("-")===-1)return typeof n.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 ec={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"},Ad={"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},eu={},jb=new RegExp("^(aria)-["+it+"]*$"),tu=new RegExp("^(aria)[A-Z]["+it+"]*$");function qp(t,n){{if(te.call(eu,n)&&eu[n])return!0;if(tu.test(n)){var l="aria-"+n.slice(4).toLowerCase(),u=Ad.hasOwnProperty(l)?l:null;if(u==null)return d("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",n),eu[n]=!0,!0;if(n!==u)return d("Invalid ARIA attribute `%s`. Did you mean `%s`?",n,u),eu[n]=!0,!0}if(jb.test(n)){var h=n.toLowerCase(),g=Ad.hasOwnProperty(h)?h:null;if(g==null)return eu[n]=!0,!1;if(n!==g)return d("Unknown ARIA attribute `%s`. Did you mean `%s`?",n,g),eu[n]=!0,!0}}return!0}function tc(t,n){{var l=[];for(var u in n){var h=qp(t,u);h||l.push(u)}var g=l.map(function(C){return"`"+C+"`"}).join(", ");l.length===1?d("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,t):l.length>1&&d("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,t)}}function Qp(t,n){gl(t,n)||tc(t,n)}var Xp=!1;function kd(t,n){{if(t!=="input"&&t!=="textarea"&&t!=="select")return;n!=null&&n.value===null&&!Xp&&(Xp=!0,t==="select"&&n.multiple?d("`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):d("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t))}}var ss=function(){};{var po={},Kp=/^on./,Pd=/^on[^A-Z]/,jv=new RegExp("^(aria)-["+it+"]*$"),Uv=new RegExp("^(aria)[A-Z]["+it+"]*$");ss=function(t,n,l,u){if(te.call(po,n)&&po[n])return!0;var h=n.toLowerCase();if(h==="onfocusin"||h==="onfocusout")return d("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."),po[n]=!0,!0;if(u!=null){var g=u.registrationNameDependencies,C=u.possibleRegistrationNames;if(g.hasOwnProperty(n))return!0;var O=C.hasOwnProperty(h)?C[h]:null;if(O!=null)return d("Invalid event handler property `%s`. Did you mean `%s`?",n,O),po[n]=!0,!0;if(Kp.test(n))return d("Unknown event handler property `%s`. It will be ignored.",n),po[n]=!0,!0}else if(Kp.test(n))return Pd.test(n)&&d("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",n),po[n]=!0,!0;if(jv.test(n)||Uv.test(n))return!0;if(h==="innerhtml")return d("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),po[n]=!0,!0;if(h==="aria")return d("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),po[n]=!0,!0;if(h==="is"&&l!==null&&l!==void 0&&typeof l!="string")return d("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof l),po[n]=!0,!0;if(typeof l=="number"&&isNaN(l))return d("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",n),po[n]=!0,!0;var D=qe(n),H=D!==null&&D.type===lt;if(ec.hasOwnProperty(h)){var Q=ec[h];if(Q!==n)return d("Invalid DOM property `%s`. Did you mean `%s`?",n,Q),po[n]=!0,!0}else if(!H&&n!==h)return d("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.",n,h),po[n]=!0,!0;return typeof l=="boolean"&&On(n,l,D,!1)?(l?d('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()}.',l,n,n,l,n):d('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.',l,n,n,l,n,n,n),po[n]=!0,!0):H?!0:On(n,l,D,!1)?(po[n]=!0,!1):((l==="false"||l==="true")&&D!==null&&D.type===fn&&(d("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",l,n,l==="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".',n,l),po[n]=!0),!0)}}var Bv=function(t,n,l){{var u=[];for(var h in n){var g=ss(t,h,n[h],l);g||u.push(h)}var C=u.map(function(O){return"`"+O+"`"}).join(", ");u.length===1?d("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):u.length>1&&d("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 zv(t,n,l){gl(t,n)||Bv(t,n,l)}var Zp=1,Nd=2,ka=4,Jp=Zp|Nd|ka,us=null;function Ub(t){us!==null&&d("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),us=t}function Bb(){us===null&&d("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),us=null}function nc(t){return t===us}function eh(t){var n=t.target||t.srcElement||window;return n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===Bi?n.parentNode:n}var Dd=null,cs=null,In=null;function Md(t){var n=Cu(t);if(n){if(typeof Dd!="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 l=n.stateNode;if(l){var u=Zy(l);Dd(n.stateNode,n.type,u)}}}function Ld(t){Dd=t}function nu(t){cs?In?In.push(t):In=[t]:cs=t}function Hv(){return cs!==null||In!==null}function Id(){if(cs){var t=cs,n=In;if(cs=null,In=null,Md(t),n)for(var l=0;l<n.length;l++)Md(n[l])}}var ru=function(t,n){return t(n)},rc=function(){},bl=!1;function Gv(){var t=Hv();t&&(rc(),Id())}function Wv(t,n,l){if(bl)return t(n,l);bl=!0;try{return ru(t,n,l)}finally{bl=!1,Gv()}}function zb(t,n,l){ru=t,rc=l}function Yv(t){return t==="button"||t==="input"||t==="select"||t==="textarea"}function _d(t,n,l){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!!(l.disabled&&Yv(n));default:return!1}}function xl(t,n){var l=t.stateNode;if(l===null)return null;var u=Zy(l);if(u===null)return null;var h=u[n];if(_d(n,t.type,u))return null;if(h&&typeof h!="function")throw new Error("Expected `"+n+"` listener to be a function, instead got a value of `"+typeof h+"` type.");return h}var oc=!1;if(Ee)try{var ds={};Object.defineProperty(ds,"passive",{get:function(){oc=!0}}),window.addEventListener("test",ds,ds),window.removeEventListener("test",ds,ds)}catch{oc=!1}function Fd(t,n,l,u,h,g,C,O,D){var H=Array.prototype.slice.call(arguments,3);try{n.apply(l,H)}catch(Q){this.onError(Q)}}var Vd=Fd;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var th=document.createElement("react");Vd=function(n,l,u,h,g,C,O,D,H){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"),Se=!1,ye=!0,Me=window.event,_e=Object.getOwnPropertyDescriptor(window,"event");function je(){th.removeEventListener(Ue,Ut,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Me)}var xt=Array.prototype.slice.call(arguments,3);function Ut(){Se=!0,je(),l.apply(u,xt),ye=!1}var It,wn=!1,gn=!1;function ke(Pe){if(It=Pe.error,wn=!0,It===null&&Pe.colno===0&&Pe.lineno===0&&(gn=!0),Pe.defaultPrevented&&It!=null&&typeof It=="object")try{It._suppressLogging=!0}catch{}}var Ue="react-"+(n||"invokeguardedcallback");if(window.addEventListener("error",ke),th.addEventListener(Ue,Ut,!1),Q.initEvent(Ue,!1,!1),th.dispatchEvent(Q),_e&&Object.defineProperty(window,"event",_e),Se&&ye&&(wn?gn&&(It=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.")):It=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(It)),window.removeEventListener("error",ke),!Se)return je(),Fd.apply(this,arguments)}}var qv=Vd,ou=!1,jd=null,au=!1,hi=null,Qv={onError:function(t){ou=!0,jd=t}};function Sl(t,n,l,u,h,g,C,O,D){ou=!1,jd=null,qv.apply(Qv,arguments)}function mi(t,n,l,u,h,g,C,O,D){if(Sl.apply(this,arguments),ou){var H=ic();au||(au=!0,hi=H)}}function ac(){if(au){var t=hi;throw au=!1,hi=null,t}}function Hi(){return ou}function ic(){if(ou){var t=jd;return ou=!1,jd=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 iu(t){return t._reactInternals}function Hb(t){return t._reactInternals!==void 0}function fs(t,n){t._reactInternals=n}var Vt=0,Ka=1,pr=2,xn=4,Pa=16,Na=32,er=64,Ft=128,Ro=256,xr=512,Gr=1024,Jo=2048,ea=4096,Mr=8192,lu=16384,Xv=32767,lc=32768,Jr=65536,Ud=131072,vi=1048576,su=2097152,Gi=4194304,Bd=8388608,Cl=16777216,yi=33554432,wl=xn|Gr|0,El=pr|xn|Pa|Na|xr|ea|Mr,Tl=xn|er|xr|Mr,Wi=Jo|Pa,Lr=Gi|Bd|su,Da=i.ReactCurrentOwner;function ya(t){var n=t,l=t;if(t.alternate)for(;n.return;)n=n.return;else{var u=n;do n=u,(n.flags&(pr|ea))!==Vt&&(l=n.return),u=n.return;while(u)}return n.tag===w?l:null}function gi(t){if(t.tag===N){var n=t.memoizedState;if(n===null){var l=t.alternate;l!==null&&(n=l.memoizedState)}if(n!==null)return n.dehydrated}return null}function bi(t){return t.tag===w?t.stateNode.containerInfo:null}function ps(t){return ya(t)===t}function Kv(t){{var n=Da.current;if(n!==null&&n.tag===S){var l=n,u=l.stateNode;u._warnedAboutRefsInRender||d("%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.",rn(l)||"A component"),u._warnedAboutRefsInRender=!0}}var h=iu(t);return h?ya(h)===h:!1}function zd(t){if(ya(t)!==t)throw new Error("Unable to find node on an unmounted component.")}function Hd(t){var n=t.alternate;if(!n){var l=ya(t);if(l===null)throw new Error("Unable to find node on an unmounted component.");return l!==t?null:t}for(var u=t,h=n;;){var g=u.return;if(g===null)break;var C=g.alternate;if(C===null){var O=g.return;if(O!==null){u=h=O;continue}break}if(g.child===C.child){for(var D=g.child;D;){if(D===u)return zd(g),t;if(D===h)return zd(g),n;D=D.sibling}throw new Error("Unable to find node on an unmounted component.")}if(u.return!==h.return)u=g,h=C;else{for(var H=!1,Q=g.child;Q;){if(Q===u){H=!0,u=g,h=C;break}if(Q===h){H=!0,h=g,u=C;break}Q=Q.sibling}if(!H){for(Q=C.child;Q;){if(Q===u){H=!0,u=C,h=g;break}if(Q===h){H=!0,h=C,u=g;break}Q=Q.sibling}if(!H)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(u.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(u.tag!==w)throw new Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?t:n}function ta(t){var n=Hd(t);return n!==null?na(n):null}function na(t){if(t.tag===A||t.tag===L)return t;for(var n=t.child;n!==null;){var l=na(n);if(l!==null)return l;n=n.sibling}return null}function cr(t){var n=Hd(t);return n!==null?Ma(n):null}function Ma(t){if(t.tag===A||t.tag===L)return t;for(var n=t.child;n!==null;){if(n.tag!==R){var l=Ma(n);if(l!==null)return l}n=n.sibling}return null}var nh=r.unstable_scheduleCallback,Zv=r.unstable_cancelCallback,rh=r.unstable_shouldYield,oh=r.unstable_requestPaint,Wr=r.unstable_now,Gd=r.unstable_getCurrentPriorityLevel,sc=r.unstable_ImmediatePriority,Rl=r.unstable_UserBlockingPriority,Yi=r.unstable_NormalPriority,Gb=r.unstable_LowPriority,hs=r.unstable_IdlePriority,Wd=r.unstable_yieldValue,Jv=r.unstable_setDisableYieldValue,ms=null,Rr=null,bt=null,ga=!1,ra=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function uu(t){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var n=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(n.isDisabled)return!0;if(!n.supportsFiber)return d("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{W&&(t=nn({},t,{getLaneLabelMap:vs,injectProfilingHooks:La})),ms=n.inject(t),Rr=n}catch(l){d("React instrumentation encountered an error: %s.",l)}return!!n.checkDCE}function ah(t,n){if(Rr&&typeof Rr.onScheduleFiberRoot=="function")try{Rr.onScheduleFiberRoot(ms,t,n)}catch(l){ga||(ga=!0,d("React instrumentation encountered an error: %s",l))}}function ih(t,n){if(Rr&&typeof Rr.onCommitFiberRoot=="function")try{var l=(t.current.flags&Ft)===Ft;if($e){var u;switch(n){case No:u=sc;break;case Si:u=Rl;break;case Ia:u=Yi;break;case _a:u=hs;break;default:u=Yi;break}Rr.onCommitFiberRoot(ms,t,u,l)}}catch(h){ga||(ga=!0,d("React instrumentation encountered an error: %s",h))}}function lh(t){if(Rr&&typeof Rr.onPostCommitFiberRoot=="function")try{Rr.onPostCommitFiberRoot(ms,t)}catch(n){ga||(ga=!0,d("React instrumentation encountered an error: %s",n))}}function sh(t){if(Rr&&typeof Rr.onCommitFiberUnmount=="function")try{Rr.onCommitFiberUnmount(ms,t)}catch(n){ga||(ga=!0,d("React instrumentation encountered an error: %s",n))}}function hr(t){if(typeof Wd=="function"&&(Jv(t),c(t)),Rr&&typeof Rr.setStrictMode=="function")try{Rr.setStrictMode(ms,t)}catch(n){ga||(ga=!0,d("React instrumentation encountered an error: %s",n))}}function La(t){bt=t}function vs(){{for(var t=new Map,n=1,l=0;l<bs;l++){var u=ry(n);t.set(n,u),n*=2}return t}}function uh(t){bt!==null&&typeof bt.markCommitStarted=="function"&&bt.markCommitStarted(t)}function ch(){bt!==null&&typeof bt.markCommitStopped=="function"&&bt.markCommitStopped()}function ba(t){bt!==null&&typeof bt.markComponentRenderStarted=="function"&&bt.markComponentRenderStarted(t)}function xa(){bt!==null&&typeof bt.markComponentRenderStopped=="function"&&bt.markComponentRenderStopped()}function dh(t){bt!==null&&typeof bt.markComponentPassiveEffectMountStarted=="function"&&bt.markComponentPassiveEffectMountStarted(t)}function ey(){bt!==null&&typeof bt.markComponentPassiveEffectMountStopped=="function"&&bt.markComponentPassiveEffectMountStopped()}function qi(t){bt!==null&&typeof bt.markComponentPassiveEffectUnmountStarted=="function"&&bt.markComponentPassiveEffectUnmountStarted(t)}function Ol(){bt!==null&&typeof bt.markComponentPassiveEffectUnmountStopped=="function"&&bt.markComponentPassiveEffectUnmountStopped()}function Yd(t){bt!==null&&typeof bt.markComponentLayoutEffectMountStarted=="function"&&bt.markComponentLayoutEffectMountStarted(t)}function ty(){bt!==null&&typeof bt.markComponentLayoutEffectMountStopped=="function"&&bt.markComponentLayoutEffectMountStopped()}function uc(t){bt!==null&&typeof bt.markComponentLayoutEffectUnmountStarted=="function"&&bt.markComponentLayoutEffectUnmountStarted(t)}function fh(){bt!==null&&typeof bt.markComponentLayoutEffectUnmountStopped=="function"&&bt.markComponentLayoutEffectUnmountStopped()}function cc(t,n,l){bt!==null&&typeof bt.markComponentErrored=="function"&&bt.markComponentErrored(t,n,l)}function xi(t,n,l){bt!==null&&typeof bt.markComponentSuspended=="function"&&bt.markComponentSuspended(t,n,l)}function dc(t){bt!==null&&typeof bt.markLayoutEffectsStarted=="function"&&bt.markLayoutEffectsStarted(t)}function fc(){bt!==null&&typeof bt.markLayoutEffectsStopped=="function"&&bt.markLayoutEffectsStopped()}function ys(t){bt!==null&&typeof bt.markPassiveEffectsStarted=="function"&&bt.markPassiveEffectsStarted(t)}function ph(){bt!==null&&typeof bt.markPassiveEffectsStopped=="function"&&bt.markPassiveEffectsStopped()}function gs(t){bt!==null&&typeof bt.markRenderStarted=="function"&&bt.markRenderStarted(t)}function ny(){bt!==null&&typeof bt.markRenderYielded=="function"&&bt.markRenderYielded()}function qd(){bt!==null&&typeof bt.markRenderStopped=="function"&&bt.markRenderStopped()}function mr(t){bt!==null&&typeof bt.markRenderScheduled=="function"&&bt.markRenderScheduled(t)}function Qd(t,n){bt!==null&&typeof bt.markForceUpdateScheduled=="function"&&bt.markForceUpdateScheduled(t,n)}function pc(t,n){bt!==null&&typeof bt.markStateUpdateScheduled=="function"&&bt.markStateUpdateScheduled(t,n)}var jt=0,hn=1,$n=2,zn=8,An=16,Ir=Math.clz32?Math.clz32:hc,eo=Math.log,Xd=Math.LN2;function hc(t){var n=t>>>0;return n===0?32:31-(eo(n)/Xd|0)|0}var bs=31,Xe=0,En=0,qt=1,$l=2,Za=4,Oo=8,Or=16,Qi=32,Al=4194240,xs=64,Kd=128,Zd=256,Jd=512,ef=1024,tf=2048,nf=4096,rf=8192,of=16384,Ss=32768,af=65536,cu=131072,du=262144,lf=524288,mc=1048576,sf=2097152,vc=130023424,Cs=4194304,uf=8388608,yc=16777216,cf=33554432,df=67108864,hh=Cs,gc=134217728,mh=268435455,bc=268435456,ws=536870912,oa=1073741824;function ry(t){{if(t&qt)return"Sync";if(t&$l)return"InputContinuousHydration";if(t&Za)return"InputContinuous";if(t&Oo)return"DefaultHydration";if(t&Or)return"Default";if(t&Qi)return"TransitionHydration";if(t&Al)return"Transition";if(t&vc)return"Retry";if(t&gc)return"SelectiveHydration";if(t&bc)return"IdleHydration";if(t&ws)return"Idle";if(t&oa)return"Offscreen"}}var Kn=-1,Es=xs,ff=Cs;function xc(t){switch(kl(t)){case qt:return qt;case $l:return $l;case Za:return Za;case Oo:return Oo;case Or:return Or;case Qi:return Qi;case xs:case Kd:case Zd:case Jd:case ef:case tf:case nf:case rf:case of:case Ss:case af:case cu:case du:case lf:case mc:case sf:return t&Al;case Cs:case uf:case yc:case cf:case df:return t&vc;case gc:return gc;case bc:return bc;case ws:return ws;case oa:return oa;default:return d("Should have found matching lanes. This is a bug in React."),t}}function pf(t,n){var l=t.pendingLanes;if(l===Xe)return Xe;var u=Xe,h=t.suspendedLanes,g=t.pingedLanes,C=l&mh;if(C!==Xe){var O=C&~h;if(O!==Xe)u=xc(O);else{var D=C&g;D!==Xe&&(u=xc(D))}}else{var H=l&~h;H!==Xe?u=xc(H):g!==Xe&&(u=xc(g))}if(u===Xe)return Xe;if(n!==Xe&&n!==u&&(n&h)===Xe){var Q=kl(u),Se=kl(n);if(Q>=Se||Q===Or&&(Se&Al)!==Xe)return n}(u&Za)!==Xe&&(u|=l&Or);var ye=t.entangledLanes;if(ye!==Xe)for(var Me=t.entanglements,_e=u&ye;_e>0;){var je=_r(_e),xt=1<<je;u|=Me[je],_e&=~xt}return u}function Ja(t,n){for(var l=t.eventTimes,u=Kn;n>0;){var h=_r(n),g=1<<h,C=l[h];C>u&&(u=C),n&=~g}return u}function vh(t,n){switch(t){case qt:case $l:case Za:return n+250;case Oo:case Or:case Qi:case xs:case Kd:case Zd:case Jd:case ef:case tf:case nf:case rf:case of:case Ss:case af:case cu:case du:case lf:case mc:case sf:return n+5e3;case Cs:case uf:case yc:case cf:case df:return Kn;case gc:case bc:case ws:case oa:return Kn;default:return d("Should have found matching lanes. This is a bug in React."),Kn}}function hf(t,n){for(var l=t.pendingLanes,u=t.suspendedLanes,h=t.pingedLanes,g=t.expirationTimes,C=l;C>0;){var O=_r(C),D=1<<O,H=g[O];H===Kn?((D&u)===Xe||(D&h)!==Xe)&&(g[O]=vh(D,n)):H<=n&&(t.expiredLanes|=D),C&=~D}}function oy(t){return xc(t.pendingLanes)}function mf(t){var n=t.pendingLanes&~oa;return n!==Xe?n:n&oa?oa:Xe}function ay(t){return(t&qt)!==Xe}function Sc(t){return(t&mh)!==Xe}function Ts(t){return(t&vc)===t}function yh(t){var n=qt|Za|Or;return(t&n)===Xe}function gh(t){return(t&Al)===t}function vf(t,n){var l=$l|Za|Oo|Or;return(n&l)!==Xe}function iy(t,n){return(n&t.expiredLanes)!==Xe}function bh(t){return(t&Al)!==Xe}function xh(){var t=Es;return Es<<=1,(Es&Al)===Xe&&(Es=xs),t}function ly(){var t=ff;return ff<<=1,(ff&vc)===Xe&&(ff=Cs),t}function kl(t){return t&-t}function Cc(t){return kl(t)}function _r(t){return 31-Ir(t)}function ho(t){return _r(t)}function aa(t,n){return(t&n)!==Xe}function Rs(t,n){return(t&n)===n}function on(t,n){return t|n}function wc(t,n){return t&~n}function Sh(t,n){return t&n}function sy(t){return t}function uy(t,n){return t!==En&&t<n?t:n}function Ec(t){for(var n=[],l=0;l<bs;l++)n.push(t);return n}function fu(t,n,l){t.pendingLanes|=n,n!==ws&&(t.suspendedLanes=Xe,t.pingedLanes=Xe);var u=t.eventTimes,h=ho(n);u[h]=l}function cy(t,n){t.suspendedLanes|=n,t.pingedLanes&=~n;for(var l=t.expirationTimes,u=n;u>0;){var h=_r(u),g=1<<h;l[h]=Kn,u&=~g}}function yf(t,n,l){t.pingedLanes|=t.suspendedLanes&n}function Ch(t,n){var l=t.pendingLanes&~n;t.pendingLanes=n,t.suspendedLanes=Xe,t.pingedLanes=Xe,t.expiredLanes&=n,t.mutableReadLanes&=n,t.entangledLanes&=n;for(var u=t.entanglements,h=t.eventTimes,g=t.expirationTimes,C=l;C>0;){var O=_r(C),D=1<<O;u[O]=Xe,h[O]=Kn,g[O]=Kn,C&=~D}}function gf(t,n){for(var l=t.entangledLanes|=n,u=t.entanglements,h=l;h;){var g=_r(h),C=1<<g;C&n|u[g]&n&&(u[g]|=n),h&=~C}}function wh(t,n){var l=kl(n),u;switch(l){case Za:u=$l;break;case Or:u=Oo;break;case xs:case Kd:case Zd:case Jd:case ef:case tf:case nf:case rf:case of:case Ss:case af:case cu:case du:case lf:case mc:case sf:case Cs:case uf:case yc:case cf:case df:u=Qi;break;case ws:u=bc;break;default:u=En;break}return(u&(t.suspendedLanes|n))!==En?En:u}function Tc(t,n,l){if(ra)for(var u=t.pendingUpdatersLaneMap;l>0;){var h=ho(l),g=1<<h,C=u[h];C.add(n),l&=~g}}function dy(t,n){if(ra)for(var l=t.pendingUpdatersLaneMap,u=t.memoizedUpdaters;n>0;){var h=ho(n),g=1<<h,C=l[h];C.size>0&&(C.forEach(function(O){var D=O.alternate;(D===null||!u.has(D))&&u.add(O)}),C.clear()),n&=~g}}function Eh(t,n){return null}var No=qt,Si=Za,Ia=Or,_a=ws,Rc=En;function Fa(){return Rc}function Fr(t){Rc=t}function fy(t,n){var l=Rc;try{return Rc=t,n()}finally{Rc=l}}function py(t,n){return t!==0&&t<n?t:n}function Oc(t,n){return t>n?t:n}function to(t,n){return t!==0&&t<n}function hy(t){var n=kl(t);return to(No,n)?to(Si,n)?Sc(n)?Ia:_a:Si:No}function bf(t){var n=t.current.memoizedState;return n.isDehydrated}var $c;function $o(t){$c=t}function Wb(t){$c(t)}var Ot;function pu(t){Ot=t}var xf;function my(t){xf=t}var vy;function Ac(t){vy=t}var kc;function Th(t){kc=t}var Sf=!1,Pc=[],Xi=null,Ci=null,wi=null,$r=new Map,Do=new Map,Mo=[],yy=["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 gy(t){return yy.indexOf(t)>-1}function ei(t,n,l,u,h){return{blockedOn:t,domEventName:n,eventSystemFlags:l,nativeEvent:h,targetContainers:[u]}}function Rh(t,n){switch(t){case"focusin":case"focusout":Xi=null;break;case"dragenter":case"dragleave":Ci=null;break;case"mouseover":case"mouseout":wi=null;break;case"pointerover":case"pointerout":{var l=n.pointerId;$r.delete(l);break}case"gotpointercapture":case"lostpointercapture":{var u=n.pointerId;Do.delete(u);break}}}function ia(t,n,l,u,h,g){if(t===null||t.nativeEvent!==g){var C=ei(n,l,u,h,g);if(n!==null){var O=Cu(n);O!==null&&Ot(O)}return C}t.eventSystemFlags|=u;var D=t.targetContainers;return h!==null&&D.indexOf(h)===-1&&D.push(h),t}function Yb(t,n,l,u,h){switch(n){case"focusin":{var g=h;return Xi=ia(Xi,t,n,l,u,g),!0}case"dragenter":{var C=h;return Ci=ia(Ci,t,n,l,u,C),!0}case"mouseover":{var O=h;return wi=ia(wi,t,n,l,u,O),!0}case"pointerover":{var D=h,H=D.pointerId;return $r.set(H,ia($r.get(H)||null,t,n,l,u,D)),!0}case"gotpointercapture":{var Q=h,Se=Q.pointerId;return Do.set(Se,ia(Do.get(Se)||null,t,n,l,u,Q)),!0}}return!1}function Oh(t){var n=zc(t.target);if(n!==null){var l=ya(n);if(l!==null){var u=l.tag;if(u===N){var h=gi(l);if(h!==null){t.blockedOn=h,kc(t.priority,function(){xf(l)});return}}else if(u===w){var g=l.stateNode;if(bf(g)){t.blockedOn=bi(l);return}}}}t.blockedOn=null}function by(t){for(var n=vy(),l={blockedOn:null,target:t,priority:n},u=0;u<Mo.length&&to(n,Mo[u].priority);u++);Mo.splice(u,0,l),u===0&&Oh(l)}function Nc(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;n.length>0;){var l=n[0],u=mu(t.domEventName,t.eventSystemFlags,l,t.nativeEvent);if(u===null){var h=t.nativeEvent,g=new h.constructor(h.type,h);Ub(g),h.target.dispatchEvent(g),Bb()}else{var C=Cu(u);return C!==null&&Ot(C),t.blockedOn=u,!1}n.shift()}return!0}function $h(t,n,l){Nc(t)&&l.delete(n)}function qb(){Sf=!1,Xi!==null&&Nc(Xi)&&(Xi=null),Ci!==null&&Nc(Ci)&&(Ci=null),wi!==null&&Nc(wi)&&(wi=null),$r.forEach($h),Do.forEach($h)}function Pl(t,n){t.blockedOn===n&&(t.blockedOn=null,Sf||(Sf=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,qb)))}function Os(t){if(Pc.length>0){Pl(Pc[0],t);for(var n=1;n<Pc.length;n++){var l=Pc[n];l.blockedOn===t&&(l.blockedOn=null)}}Xi!==null&&Pl(Xi,t),Ci!==null&&Pl(Ci,t),wi!==null&&Pl(wi,t);var u=function(O){return Pl(O,t)};$r.forEach(u),Do.forEach(u);for(var h=0;h<Mo.length;h++){var g=Mo[h];g.blockedOn===t&&(g.blockedOn=null)}for(;Mo.length>0;){var C=Mo[0];if(C.blockedOn!==null)break;Oh(C),C.blockedOn===null&&Mo.shift()}}var mo=i.ReactCurrentBatchConfig,Sn=!0;function Yr(t){Sn=!!t}function Vr(){return Sn}function vo(t,n,l){var u=Cf(n),h;switch(u){case No:h=Sa;break;case Si:h=hu;break;case Ia:default:h=Ar;break}return h.bind(null,n,l,t)}function Sa(t,n,l,u){var h=Fa(),g=mo.transition;mo.transition=null;try{Fr(No),Ar(t,n,l,u)}finally{Fr(h),mo.transition=g}}function hu(t,n,l,u){var h=Fa(),g=mo.transition;mo.transition=null;try{Fr(Si),Ar(t,n,l,u)}finally{Fr(h),mo.transition=g}}function Ar(t,n,l,u){Sn&&Dc(t,n,l,u)}function Dc(t,n,l,u){var h=mu(t,n,l,u);if(h===null){d1(t,n,u,Ei,l),Rh(t,u);return}if(Yb(h,t,n,l,u)){u.stopPropagation();return}if(Rh(t,u),n&ka&&gy(t)){for(;h!==null;){var g=Cu(h);g!==null&&Wb(g);var C=mu(t,n,l,u);if(C===null&&d1(t,n,u,Ei,l),C===h)break;h=C}h!==null&&u.stopPropagation();return}d1(t,n,u,null,l)}var Ei=null;function mu(t,n,l,u){Ei=null;var h=eh(u),g=zc(h);if(g!==null){var C=ya(g);if(C===null)g=null;else{var O=C.tag;if(O===N){var D=gi(C);if(D!==null)return D;g=null}else if(O===w){var H=C.stateNode;if(bf(H))return bi(C);g=null}else C!==g&&(g=null)}}return Ei=g,null}function Cf(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 No;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 Si;case"message":{var n=Gd();switch(n){case sc:return No;case Rl:return Si;case Yi:case Gb:return Ia;case hs:return _a;default:return Ia}}default:return Ia}}function Mc(t,n,l){return t.addEventListener(n,l,!1),l}function la(t,n,l){return t.addEventListener(n,l,!0),l}function Ah(t,n,l,u){return t.addEventListener(n,l,{capture:!0,passive:u}),l}function vu(t,n,l,u){return t.addEventListener(n,l,{passive:u}),l}var Ca=null,yu=null,$s=null;function Nl(t){return Ca=t,yu=Lc(),!0}function wf(){Ca=null,yu=null,$s=null}function Ki(){if($s)return $s;var t,n=yu,l=n.length,u,h=Lc(),g=h.length;for(t=0;t<l&&n[t]===h[t];t++);var C=l-t;for(u=1;u<=C&&n[l-u]===h[g-u];u++);var O=u>1?1-u:void 0;return $s=h.slice(t,O),$s}function Lc(){return"value"in Ca?Ca.value:Ca.textContent}function Dl(t){var n,l=t.keyCode;return"charCode"in t?(n=t.charCode,n===0&&l===13&&(n=13)):n=l,n===10&&(n=13),n>=32||n===13?n:0}function gu(){return!0}function Ic(){return!1}function Ao(t){function n(l,u,h,g,C){this._reactName=l,this._targetInst=h,this.type=u,this.nativeEvent=g,this.target=C,this.currentTarget=null;for(var O in t)if(t.hasOwnProperty(O)){var D=t[O];D?this[O]=D(g):this[O]=g[O]}var H=g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1;return H?this.isDefaultPrevented=gu:this.isDefaultPrevented=Ic,this.isPropagationStopped=Ic,this}return nn(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=gu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=gu)},persist:function(){},isPersistent:gu}),n}var jr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ti=Ao(jr),Lo=nn({},jr,{view:0,detail:0}),sa=Ao(Lo),Ef,_c,As;function Qb(t){t!==As&&(As&&t.type==="mousemove"?(Ef=t.screenX-As.screenX,_c=t.screenY-As.screenY):(Ef=0,_c=0),As=t)}var ti=nn({},Lo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:dr,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:(Qb(t),Ef)},movementY:function(t){return"movementY"in t?t.movementY:_c}}),kh=Ao(ti),Ph=nn({},ti,{dataTransfer:0}),ks=Ao(Ph),Nh=nn({},Lo,{relatedTarget:0}),Zi=Ao(Nh),xy=nn({},jr,{animationName:0,elapsedTime:0,pseudoElement:0}),Sy=Ao(xy),Dh=nn({},jr,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Tf=Ao(Dh),Xb=nn({},jr,{data:0}),Cy=Ao(Xb),wy=Cy,Ey={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ps={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 Kb(t){if(t.key){var n=Ey[t.key]||t.key;if(n!=="Unidentified")return n}if(t.type==="keypress"){var l=Dl(t);return l===13?"Enter":String.fromCharCode(l)}return t.type==="keydown"||t.type==="keyup"?Ps[t.keyCode]||"Unidentified":""}var bu={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ty(t){var n=this,l=n.nativeEvent;if(l.getModifierState)return l.getModifierState(t);var u=bu[t];return u?!!l[u]:!1}function dr(t){return Ty}var Zb=nn({},Lo,{key:Kb,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:dr,charCode:function(t){return t.type==="keypress"?Dl(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Dl(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Ry=Ao(Zb),Jb=nn({},ti,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Oy=Ao(Jb),$y=nn({},Lo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:dr}),Ay=Ao($y),e1=nn({},jr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Va=Ao(e1),Mh=nn({},ti,{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}),t1=Ao(Mh),Ml=[9,13,27,32],Fc=229,Ji=Ee&&"CompositionEvent"in window,Ll=null;Ee&&"documentMode"in document&&(Ll=document.documentMode);var Lh=Ee&&"TextEvent"in window&&!Ll,Rf=Ee&&(!Ji||Ll&&Ll>8&&Ll<=11),ky=32,Of=String.fromCharCode(ky);function n1(){oe("onBeforeInput",["compositionend","keypress","textInput","paste"]),oe("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),oe("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),oe("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Ih=!1;function Py(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function $f(t){switch(t){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Af(t,n){return t==="keydown"&&n.keyCode===Fc}function _h(t,n){switch(t){case"keyup":return Ml.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==Fc;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kf(t){var n=t.detail;return typeof n=="object"&&"data"in n?n.data:null}function Ny(t){return t.locale==="ko"}var Ns=!1;function Fh(t,n,l,u,h){var g,C;if(Ji?g=$f(n):Ns?_h(n,u)&&(g="onCompositionEnd"):Af(n,u)&&(g="onCompositionStart"),!g)return null;Rf&&!Ny(u)&&(!Ns&&g==="onCompositionStart"?Ns=Nl(h):g==="onCompositionEnd"&&Ns&&(C=Ki()));var O=Vy(l,g);if(O.length>0){var D=new Cy(g,n,null,u,h);if(t.push({event:D,listeners:O}),C)D.data=C;else{var H=kf(u);H!==null&&(D.data=H)}}}function Pf(t,n){switch(t){case"compositionend":return kf(n);case"keypress":var l=n.which;return l!==ky?null:(Ih=!0,Of);case"textInput":var u=n.data;return u===Of&&Ih?null:u;default:return null}}function Vh(t,n){if(Ns){if(t==="compositionend"||!Ji&&_h(t,n)){var l=Ki();return wf(),Ns=!1,l}return null}switch(t){case"paste":return null;case"keypress":if(!Py(n)){if(n.char&&n.char.length>1)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Rf&&!Ny(n)?null:n.data;default:return null}}function Nf(t,n,l,u,h){var g;if(Lh?g=Pf(n,u):g=Vh(n,u),!g)return null;var C=Vy(l,"onBeforeInput");if(C.length>0){var O=new wy("onBeforeInput","beforeinput",null,u,h);t.push({event:O,listeners:C}),O.data=g}}function Dy(t,n,l,u,h,g,C){Fh(t,n,l,u,h),Nf(t,n,l,u,h)}var r1={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 Vc(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!r1[t.type]:n==="textarea"}/**
|
|
2722
|
+
Check the render method of \``+t+"`.":""}var Ip=["value","defaultValue"];function Ab(t){{Np("select",t);for(var n=0;n<Ip.length;n++){var l=Ip[n];if(t[l]!=null){var u=fo(t[l]);t.multiple&&!u?d("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",l,Qu()):!t.multiple&&u&&d("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",l,Qu())}}}}function Ks(t,n,l,u){var h=t.options;if(n){for(var g=l,C={},O=0;O<g.length;O++)C["$"+g[O]]=!0;for(var D=0;D<h.length;D++){var H=C.hasOwnProperty("$"+h[D].value);h[D].selected!==H&&(h[D].selected=H),H&&u&&(h[D].defaultSelected=!0)}}else{for(var Q=Aa(Vi(l)),Se=null,ye=0;ye<h.length;ye++){if(h[ye].value===Q){h[ye].selected=!0,u&&(h[ye].defaultSelected=!0);return}Se===null&&!h[ye].disabled&&(Se=h[ye])}Se!==null&&(Se.selected=!0)}}function _p(t,n){return nn({},n,{value:void 0})}function Td(t,n){var l=t;Ab(n),l._wrapperState={wasMultiple:!!n.multiple},n.value!==void 0&&n.defaultValue!==void 0&&!is&&(d("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"),is=!0)}function kb(t,n){var l=t;l.multiple=!!n.multiple;var u=n.value;u!=null?Ks(l,!!n.multiple,u,!1):n.defaultValue!=null&&Ks(l,!!n.multiple,n.defaultValue,!0)}function Pb(t,n){var l=t,u=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!n.multiple;var h=n.value;h!=null?Ks(l,!!n.multiple,h,!1):u!==!!n.multiple&&(n.defaultValue!=null?Ks(l,!!n.multiple,n.defaultValue,!0):Ks(l,!!n.multiple,n.multiple?[]:"",!1))}function Nb(t,n){var l=t,u=n.value;u!=null&&Ks(l,!!n.multiple,u,!1)}var Sv=!1;function Fp(t,n){var l=t;if(n.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var u=nn({},n,{value:void 0,defaultValue:void 0,children:Aa(l._wrapperState.initialValue)});return u}function Vp(t,n){var l=t;Np("textarea",n),n.value!==void 0&&n.defaultValue!==void 0&&!Sv&&(d("%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",$a()||"A component"),Sv=!0);var u=n.value;if(u==null){var h=n.children,g=n.defaultValue;if(h!=null){d("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(g!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(fo(h)){if(h.length>1)throw new Error("<textarea> can only have at most one child.");h=h[0]}g=h}}g==null&&(g=""),u=g}l._wrapperState={initialValue:Vi(u)}}function Cv(t,n){var l=t,u=Vi(n.value),h=Vi(n.defaultValue);if(u!=null){var g=Aa(u);g!==l.value&&(l.value=g),n.defaultValue==null&&l.defaultValue!==g&&(l.defaultValue=g)}h!=null&&(l.defaultValue=Aa(h))}function wv(t,n){var l=t,u=l.textContent;u===l._wrapperState.initialValue&&u!==""&&u!==null&&(l.value=u)}function Db(t,n){Cv(t,n)}var Ui="http://www.w3.org/1999/xhtml",jp="http://www.w3.org/1998/Math/MathML",Up="http://www.w3.org/2000/svg";function Bp(t){switch(t){case"svg":return Up;case"math":return jp;default:return Ui}}function zp(t,n){return t==null||t===Ui?Bp(n):t===Up&&n==="foreignObject"?Ui:t}var Ev=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,l,u,h){MSApp.execUnsafeLocalFunction(function(){return t(n,l,u,h)})}:t},Rd,Tv=Ev(function(t,n){if(t.namespaceURI===Up&&!("innerHTML"in t)){Rd=Rd||document.createElement("div"),Rd.innerHTML="<svg>"+n.valueOf().toString()+"</svg>";for(var l=Rd.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;l.firstChild;)t.appendChild(l.firstChild);return}t.innerHTML=n}),Zo=1,Bi=3,Dr=8,zi=9,Hp=11,Zs=function(t,n){if(n){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===Bi){l.nodeValue=n;return}}t.textContent=n},Xu={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"]},Ku={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 Rv(t,n){return t+n.charAt(0).toUpperCase()+n.substring(1)}var Ov=["Webkit","ms","Moz","O"];Object.keys(Ku).forEach(function(t){Ov.forEach(function(n){Ku[Rv(n,t)]=Ku[t]})});function Od(t,n,l){var u=n==null||typeof n=="boolean"||n==="";return u?"":!l&&typeof n=="number"&&n!==0&&!(Ku.hasOwnProperty(t)&&Ku[t])?n+"px":(vt(n,t),(""+n).trim())}var $v=/([A-Z])/g,Av=/^ms-/;function Js(t){return t.replace($v,"-$1").toLowerCase().replace(Av,"-ms-")}var kv=function(){};{var Mb=/^(?:webkit|moz|o)[A-Z]/,Lb=/^-ms-/,Pv=/-(.)/g,Gp=/;\s*$/,pi={},ls={},Nv=!1,Zu=!1,Ib=function(t){return t.replace(Pv,function(n,l){return l.toUpperCase()})},Dv=function(t){pi.hasOwnProperty(t)&&pi[t]||(pi[t]=!0,d("Unsupported style property %s. Did you mean %s?",t,Ib(t.replace(Lb,"ms-"))))},Wp=function(t){pi.hasOwnProperty(t)&&pi[t]||(pi[t]=!0,d("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1)))},Yp=function(t,n){ls.hasOwnProperty(n)&&ls[n]||(ls[n]=!0,d(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(Gp,"")))},Mv=function(t,n){Nv||(Nv=!0,d("`NaN` is an invalid value for the `%s` css style property.",t))},Lv=function(t,n){Zu||(Zu=!0,d("`Infinity` is an invalid value for the `%s` css style property.",t))};kv=function(t,n){t.indexOf("-")>-1?Dv(t):Mb.test(t)?Wp(t):Gp.test(n)&&Yp(t,n),typeof n=="number"&&(isNaN(n)?Mv(t,n):isFinite(n)||Lv(t,n))}}var Iv=kv;function _b(t){{var n="",l="";for(var u in t)if(t.hasOwnProperty(u)){var h=t[u];if(h!=null){var g=u.indexOf("--")===0;n+=l+(g?u:Js(u))+":",n+=Od(u,h,g),l=";"}}return n||null}}function _v(t,n){var l=t.style;for(var u in n)if(n.hasOwnProperty(u)){var h=u.indexOf("--")===0;h||Iv(u,n[u]);var g=Od(u,n[u],h);u==="float"&&(u="cssFloat"),h?l.setProperty(u,g):l[u]=g}}function Fb(t){return t==null||typeof t=="boolean"||t===""}function Fv(t){var n={};for(var l in t)for(var u=Xu[l]||[l],h=0;h<u.length;h++)n[u[h]]=l;return n}function Vb(t,n){{if(!n)return;var l=Fv(t),u=Fv(n),h={};for(var g in l){var C=l[g],O=u[g];if(O&&C!==O){var D=C+","+O;if(h[D])continue;h[D]=!0,d("%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.",Fb(t[C])?"Removing":"Updating",C,O)}}}}var Ka={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},Ju=nn({menuitem:!0},Ka),Vv="__html";function $d(t,n){if(n){if(Ju[t]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw new Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof n.dangerouslySetInnerHTML!="object"||!(Vv in n.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(!n.suppressContentEditableWarning&&n.contentEditable&&n.children!=null&&d("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."),n.style!=null&&typeof n.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 gl(t,n){if(t.indexOf("-")===-1)return typeof n.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 ec={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"},Ad={"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},eu={},jb=new RegExp("^(aria)-["+it+"]*$"),tu=new RegExp("^(aria)[A-Z]["+it+"]*$");function qp(t,n){{if(te.call(eu,n)&&eu[n])return!0;if(tu.test(n)){var l="aria-"+n.slice(4).toLowerCase(),u=Ad.hasOwnProperty(l)?l:null;if(u==null)return d("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",n),eu[n]=!0,!0;if(n!==u)return d("Invalid ARIA attribute `%s`. Did you mean `%s`?",n,u),eu[n]=!0,!0}if(jb.test(n)){var h=n.toLowerCase(),g=Ad.hasOwnProperty(h)?h:null;if(g==null)return eu[n]=!0,!1;if(n!==g)return d("Unknown ARIA attribute `%s`. Did you mean `%s`?",n,g),eu[n]=!0,!0}}return!0}function tc(t,n){{var l=[];for(var u in n){var h=qp(t,u);h||l.push(u)}var g=l.map(function(C){return"`"+C+"`"}).join(", ");l.length===1?d("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,t):l.length>1&&d("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,t)}}function Qp(t,n){gl(t,n)||tc(t,n)}var Xp=!1;function kd(t,n){{if(t!=="input"&&t!=="textarea"&&t!=="select")return;n!=null&&n.value===null&&!Xp&&(Xp=!0,t==="select"&&n.multiple?d("`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):d("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t))}}var ss=function(){};{var po={},Kp=/^on./,Pd=/^on[^A-Z]/,jv=new RegExp("^(aria)-["+it+"]*$"),Uv=new RegExp("^(aria)[A-Z]["+it+"]*$");ss=function(t,n,l,u){if(te.call(po,n)&&po[n])return!0;var h=n.toLowerCase();if(h==="onfocusin"||h==="onfocusout")return d("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."),po[n]=!0,!0;if(u!=null){var g=u.registrationNameDependencies,C=u.possibleRegistrationNames;if(g.hasOwnProperty(n))return!0;var O=C.hasOwnProperty(h)?C[h]:null;if(O!=null)return d("Invalid event handler property `%s`. Did you mean `%s`?",n,O),po[n]=!0,!0;if(Kp.test(n))return d("Unknown event handler property `%s`. It will be ignored.",n),po[n]=!0,!0}else if(Kp.test(n))return Pd.test(n)&&d("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",n),po[n]=!0,!0;if(jv.test(n)||Uv.test(n))return!0;if(h==="innerhtml")return d("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),po[n]=!0,!0;if(h==="aria")return d("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),po[n]=!0,!0;if(h==="is"&&l!==null&&l!==void 0&&typeof l!="string")return d("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof l),po[n]=!0,!0;if(typeof l=="number"&&isNaN(l))return d("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",n),po[n]=!0,!0;var D=qe(n),H=D!==null&&D.type===lt;if(ec.hasOwnProperty(h)){var Q=ec[h];if(Q!==n)return d("Invalid DOM property `%s`. Did you mean `%s`?",n,Q),po[n]=!0,!0}else if(!H&&n!==h)return d("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.",n,h),po[n]=!0,!0;return typeof l=="boolean"&&On(n,l,D,!1)?(l?d('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()}.',l,n,n,l,n):d('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.',l,n,n,l,n,n,n),po[n]=!0,!0):H?!0:On(n,l,D,!1)?(po[n]=!0,!1):((l==="false"||l==="true")&&D!==null&&D.type===fn&&(d("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",l,n,l==="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".',n,l),po[n]=!0),!0)}}var Bv=function(t,n,l){{var u=[];for(var h in n){var g=ss(t,h,n[h],l);g||u.push(h)}var C=u.map(function(O){return"`"+O+"`"}).join(", ");u.length===1?d("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):u.length>1&&d("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 zv(t,n,l){gl(t,n)||Bv(t,n,l)}var Zp=1,Nd=2,ka=4,Jp=Zp|Nd|ka,us=null;function Ub(t){us!==null&&d("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),us=t}function Bb(){us===null&&d("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),us=null}function nc(t){return t===us}function eh(t){var n=t.target||t.srcElement||window;return n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===Bi?n.parentNode:n}var Dd=null,cs=null,In=null;function Md(t){var n=Cu(t);if(n){if(typeof Dd!="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 l=n.stateNode;if(l){var u=Zy(l);Dd(n.stateNode,n.type,u)}}}function Ld(t){Dd=t}function nu(t){cs?In?In.push(t):In=[t]:cs=t}function Hv(){return cs!==null||In!==null}function Id(){if(cs){var t=cs,n=In;if(cs=null,In=null,Md(t),n)for(var l=0;l<n.length;l++)Md(n[l])}}var ru=function(t,n){return t(n)},rc=function(){},bl=!1;function Gv(){var t=Hv();t&&(rc(),Id())}function Wv(t,n,l){if(bl)return t(n,l);bl=!0;try{return ru(t,n,l)}finally{bl=!1,Gv()}}function zb(t,n,l){ru=t,rc=l}function Yv(t){return t==="button"||t==="input"||t==="select"||t==="textarea"}function _d(t,n,l){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!!(l.disabled&&Yv(n));default:return!1}}function xl(t,n){var l=t.stateNode;if(l===null)return null;var u=Zy(l);if(u===null)return null;var h=u[n];if(_d(n,t.type,u))return null;if(h&&typeof h!="function")throw new Error("Expected `"+n+"` listener to be a function, instead got a value of `"+typeof h+"` type.");return h}var oc=!1;if(Ee)try{var ds={};Object.defineProperty(ds,"passive",{get:function(){oc=!0}}),window.addEventListener("test",ds,ds),window.removeEventListener("test",ds,ds)}catch{oc=!1}function Fd(t,n,l,u,h,g,C,O,D){var H=Array.prototype.slice.call(arguments,3);try{n.apply(l,H)}catch(Q){this.onError(Q)}}var Vd=Fd;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var th=document.createElement("react");Vd=function(n,l,u,h,g,C,O,D,H){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"),Se=!1,ye=!0,Me=window.event,_e=Object.getOwnPropertyDescriptor(window,"event");function je(){th.removeEventListener(Ue,Ut,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Me)}var xt=Array.prototype.slice.call(arguments,3);function Ut(){Se=!0,je(),l.apply(u,xt),ye=!1}var It,wn=!1,gn=!1;function ke(Pe){if(It=Pe.error,wn=!0,It===null&&Pe.colno===0&&Pe.lineno===0&&(gn=!0),Pe.defaultPrevented&&It!=null&&typeof It=="object")try{It._suppressLogging=!0}catch{}}var Ue="react-"+(n||"invokeguardedcallback");if(window.addEventListener("error",ke),th.addEventListener(Ue,Ut,!1),Q.initEvent(Ue,!1,!1),th.dispatchEvent(Q),_e&&Object.defineProperty(window,"event",_e),Se&&ye&&(wn?gn&&(It=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.")):It=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(It)),window.removeEventListener("error",ke),!Se)return je(),Fd.apply(this,arguments)}}var qv=Vd,ou=!1,jd=null,au=!1,hi=null,Qv={onError:function(t){ou=!0,jd=t}};function Sl(t,n,l,u,h,g,C,O,D){ou=!1,jd=null,qv.apply(Qv,arguments)}function mi(t,n,l,u,h,g,C,O,D){if(Sl.apply(this,arguments),ou){var H=ic();au||(au=!0,hi=H)}}function ac(){if(au){var t=hi;throw au=!1,hi=null,t}}function Hi(){return ou}function ic(){if(ou){var t=jd;return ou=!1,jd=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 iu(t){return t._reactInternals}function Hb(t){return t._reactInternals!==void 0}function fs(t,n){t._reactInternals=n}var Vt=0,Za=1,pr=2,xn=4,Pa=16,Na=32,er=64,Ft=128,Ro=256,xr=512,Gr=1024,Jo=2048,ea=4096,Mr=8192,lu=16384,Xv=32767,lc=32768,Jr=65536,Ud=131072,vi=1048576,su=2097152,Gi=4194304,Bd=8388608,Cl=16777216,yi=33554432,wl=xn|Gr|0,El=pr|xn|Pa|Na|xr|ea|Mr,Tl=xn|er|xr|Mr,Wi=Jo|Pa,Lr=Gi|Bd|su,Da=i.ReactCurrentOwner;function ya(t){var n=t,l=t;if(t.alternate)for(;n.return;)n=n.return;else{var u=n;do n=u,(n.flags&(pr|ea))!==Vt&&(l=n.return),u=n.return;while(u)}return n.tag===w?l:null}function gi(t){if(t.tag===N){var n=t.memoizedState;if(n===null){var l=t.alternate;l!==null&&(n=l.memoizedState)}if(n!==null)return n.dehydrated}return null}function bi(t){return t.tag===w?t.stateNode.containerInfo:null}function ps(t){return ya(t)===t}function Kv(t){{var n=Da.current;if(n!==null&&n.tag===S){var l=n,u=l.stateNode;u._warnedAboutRefsInRender||d("%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.",rn(l)||"A component"),u._warnedAboutRefsInRender=!0}}var h=iu(t);return h?ya(h)===h:!1}function zd(t){if(ya(t)!==t)throw new Error("Unable to find node on an unmounted component.")}function Hd(t){var n=t.alternate;if(!n){var l=ya(t);if(l===null)throw new Error("Unable to find node on an unmounted component.");return l!==t?null:t}for(var u=t,h=n;;){var g=u.return;if(g===null)break;var C=g.alternate;if(C===null){var O=g.return;if(O!==null){u=h=O;continue}break}if(g.child===C.child){for(var D=g.child;D;){if(D===u)return zd(g),t;if(D===h)return zd(g),n;D=D.sibling}throw new Error("Unable to find node on an unmounted component.")}if(u.return!==h.return)u=g,h=C;else{for(var H=!1,Q=g.child;Q;){if(Q===u){H=!0,u=g,h=C;break}if(Q===h){H=!0,h=g,u=C;break}Q=Q.sibling}if(!H){for(Q=C.child;Q;){if(Q===u){H=!0,u=C,h=g;break}if(Q===h){H=!0,h=C,u=g;break}Q=Q.sibling}if(!H)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(u.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(u.tag!==w)throw new Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?t:n}function ta(t){var n=Hd(t);return n!==null?na(n):null}function na(t){if(t.tag===A||t.tag===L)return t;for(var n=t.child;n!==null;){var l=na(n);if(l!==null)return l;n=n.sibling}return null}function cr(t){var n=Hd(t);return n!==null?Ma(n):null}function Ma(t){if(t.tag===A||t.tag===L)return t;for(var n=t.child;n!==null;){if(n.tag!==R){var l=Ma(n);if(l!==null)return l}n=n.sibling}return null}var nh=r.unstable_scheduleCallback,Zv=r.unstable_cancelCallback,rh=r.unstable_shouldYield,oh=r.unstable_requestPaint,Wr=r.unstable_now,Gd=r.unstable_getCurrentPriorityLevel,sc=r.unstable_ImmediatePriority,Rl=r.unstable_UserBlockingPriority,Yi=r.unstable_NormalPriority,Gb=r.unstable_LowPriority,hs=r.unstable_IdlePriority,Wd=r.unstable_yieldValue,Jv=r.unstable_setDisableYieldValue,ms=null,Or=null,bt=null,ga=!1,ra=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function uu(t){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var n=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(n.isDisabled)return!0;if(!n.supportsFiber)return d("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{W&&(t=nn({},t,{getLaneLabelMap:vs,injectProfilingHooks:La})),ms=n.inject(t),Or=n}catch(l){d("React instrumentation encountered an error: %s.",l)}return!!n.checkDCE}function ah(t,n){if(Or&&typeof Or.onScheduleFiberRoot=="function")try{Or.onScheduleFiberRoot(ms,t,n)}catch(l){ga||(ga=!0,d("React instrumentation encountered an error: %s",l))}}function ih(t,n){if(Or&&typeof Or.onCommitFiberRoot=="function")try{var l=(t.current.flags&Ft)===Ft;if($e){var u;switch(n){case No:u=sc;break;case Si:u=Rl;break;case Ia:u=Yi;break;case _a:u=hs;break;default:u=Yi;break}Or.onCommitFiberRoot(ms,t,u,l)}}catch(h){ga||(ga=!0,d("React instrumentation encountered an error: %s",h))}}function lh(t){if(Or&&typeof Or.onPostCommitFiberRoot=="function")try{Or.onPostCommitFiberRoot(ms,t)}catch(n){ga||(ga=!0,d("React instrumentation encountered an error: %s",n))}}function sh(t){if(Or&&typeof Or.onCommitFiberUnmount=="function")try{Or.onCommitFiberUnmount(ms,t)}catch(n){ga||(ga=!0,d("React instrumentation encountered an error: %s",n))}}function hr(t){if(typeof Wd=="function"&&(Jv(t),c(t)),Or&&typeof Or.setStrictMode=="function")try{Or.setStrictMode(ms,t)}catch(n){ga||(ga=!0,d("React instrumentation encountered an error: %s",n))}}function La(t){bt=t}function vs(){{for(var t=new Map,n=1,l=0;l<bs;l++){var u=ry(n);t.set(n,u),n*=2}return t}}function uh(t){bt!==null&&typeof bt.markCommitStarted=="function"&&bt.markCommitStarted(t)}function ch(){bt!==null&&typeof bt.markCommitStopped=="function"&&bt.markCommitStopped()}function ba(t){bt!==null&&typeof bt.markComponentRenderStarted=="function"&&bt.markComponentRenderStarted(t)}function xa(){bt!==null&&typeof bt.markComponentRenderStopped=="function"&&bt.markComponentRenderStopped()}function dh(t){bt!==null&&typeof bt.markComponentPassiveEffectMountStarted=="function"&&bt.markComponentPassiveEffectMountStarted(t)}function ey(){bt!==null&&typeof bt.markComponentPassiveEffectMountStopped=="function"&&bt.markComponentPassiveEffectMountStopped()}function qi(t){bt!==null&&typeof bt.markComponentPassiveEffectUnmountStarted=="function"&&bt.markComponentPassiveEffectUnmountStarted(t)}function Ol(){bt!==null&&typeof bt.markComponentPassiveEffectUnmountStopped=="function"&&bt.markComponentPassiveEffectUnmountStopped()}function Yd(t){bt!==null&&typeof bt.markComponentLayoutEffectMountStarted=="function"&&bt.markComponentLayoutEffectMountStarted(t)}function ty(){bt!==null&&typeof bt.markComponentLayoutEffectMountStopped=="function"&&bt.markComponentLayoutEffectMountStopped()}function uc(t){bt!==null&&typeof bt.markComponentLayoutEffectUnmountStarted=="function"&&bt.markComponentLayoutEffectUnmountStarted(t)}function fh(){bt!==null&&typeof bt.markComponentLayoutEffectUnmountStopped=="function"&&bt.markComponentLayoutEffectUnmountStopped()}function cc(t,n,l){bt!==null&&typeof bt.markComponentErrored=="function"&&bt.markComponentErrored(t,n,l)}function xi(t,n,l){bt!==null&&typeof bt.markComponentSuspended=="function"&&bt.markComponentSuspended(t,n,l)}function dc(t){bt!==null&&typeof bt.markLayoutEffectsStarted=="function"&&bt.markLayoutEffectsStarted(t)}function fc(){bt!==null&&typeof bt.markLayoutEffectsStopped=="function"&&bt.markLayoutEffectsStopped()}function ys(t){bt!==null&&typeof bt.markPassiveEffectsStarted=="function"&&bt.markPassiveEffectsStarted(t)}function ph(){bt!==null&&typeof bt.markPassiveEffectsStopped=="function"&&bt.markPassiveEffectsStopped()}function gs(t){bt!==null&&typeof bt.markRenderStarted=="function"&&bt.markRenderStarted(t)}function ny(){bt!==null&&typeof bt.markRenderYielded=="function"&&bt.markRenderYielded()}function qd(){bt!==null&&typeof bt.markRenderStopped=="function"&&bt.markRenderStopped()}function mr(t){bt!==null&&typeof bt.markRenderScheduled=="function"&&bt.markRenderScheduled(t)}function Qd(t,n){bt!==null&&typeof bt.markForceUpdateScheduled=="function"&&bt.markForceUpdateScheduled(t,n)}function pc(t,n){bt!==null&&typeof bt.markStateUpdateScheduled=="function"&&bt.markStateUpdateScheduled(t,n)}var jt=0,hn=1,$n=2,zn=8,An=16,Ir=Math.clz32?Math.clz32:hc,eo=Math.log,Xd=Math.LN2;function hc(t){var n=t>>>0;return n===0?32:31-(eo(n)/Xd|0)|0}var bs=31,Xe=0,En=0,qt=1,$l=2,Ja=4,Oo=8,$r=16,Qi=32,Al=4194240,xs=64,Kd=128,Zd=256,Jd=512,ef=1024,tf=2048,nf=4096,rf=8192,of=16384,Ss=32768,af=65536,cu=131072,du=262144,lf=524288,mc=1048576,sf=2097152,vc=130023424,Cs=4194304,uf=8388608,yc=16777216,cf=33554432,df=67108864,hh=Cs,gc=134217728,mh=268435455,bc=268435456,ws=536870912,oa=1073741824;function ry(t){{if(t&qt)return"Sync";if(t&$l)return"InputContinuousHydration";if(t&Ja)return"InputContinuous";if(t&Oo)return"DefaultHydration";if(t&$r)return"Default";if(t&Qi)return"TransitionHydration";if(t&Al)return"Transition";if(t&vc)return"Retry";if(t&gc)return"SelectiveHydration";if(t&bc)return"IdleHydration";if(t&ws)return"Idle";if(t&oa)return"Offscreen"}}var Kn=-1,Es=xs,ff=Cs;function xc(t){switch(kl(t)){case qt:return qt;case $l:return $l;case Ja:return Ja;case Oo:return Oo;case $r:return $r;case Qi:return Qi;case xs:case Kd:case Zd:case Jd:case ef:case tf:case nf:case rf:case of:case Ss:case af:case cu:case du:case lf:case mc:case sf:return t&Al;case Cs:case uf:case yc:case cf:case df:return t&vc;case gc:return gc;case bc:return bc;case ws:return ws;case oa:return oa;default:return d("Should have found matching lanes. This is a bug in React."),t}}function pf(t,n){var l=t.pendingLanes;if(l===Xe)return Xe;var u=Xe,h=t.suspendedLanes,g=t.pingedLanes,C=l&mh;if(C!==Xe){var O=C&~h;if(O!==Xe)u=xc(O);else{var D=C&g;D!==Xe&&(u=xc(D))}}else{var H=l&~h;H!==Xe?u=xc(H):g!==Xe&&(u=xc(g))}if(u===Xe)return Xe;if(n!==Xe&&n!==u&&(n&h)===Xe){var Q=kl(u),Se=kl(n);if(Q>=Se||Q===$r&&(Se&Al)!==Xe)return n}(u&Ja)!==Xe&&(u|=l&$r);var ye=t.entangledLanes;if(ye!==Xe)for(var Me=t.entanglements,_e=u&ye;_e>0;){var je=_r(_e),xt=1<<je;u|=Me[je],_e&=~xt}return u}function ei(t,n){for(var l=t.eventTimes,u=Kn;n>0;){var h=_r(n),g=1<<h,C=l[h];C>u&&(u=C),n&=~g}return u}function vh(t,n){switch(t){case qt:case $l:case Ja:return n+250;case Oo:case $r:case Qi:case xs:case Kd:case Zd:case Jd:case ef:case tf:case nf:case rf:case of:case Ss:case af:case cu:case du:case lf:case mc:case sf:return n+5e3;case Cs:case uf:case yc:case cf:case df:return Kn;case gc:case bc:case ws:case oa:return Kn;default:return d("Should have found matching lanes. This is a bug in React."),Kn}}function hf(t,n){for(var l=t.pendingLanes,u=t.suspendedLanes,h=t.pingedLanes,g=t.expirationTimes,C=l;C>0;){var O=_r(C),D=1<<O,H=g[O];H===Kn?((D&u)===Xe||(D&h)!==Xe)&&(g[O]=vh(D,n)):H<=n&&(t.expiredLanes|=D),C&=~D}}function oy(t){return xc(t.pendingLanes)}function mf(t){var n=t.pendingLanes&~oa;return n!==Xe?n:n&oa?oa:Xe}function ay(t){return(t&qt)!==Xe}function Sc(t){return(t&mh)!==Xe}function Ts(t){return(t&vc)===t}function yh(t){var n=qt|Ja|$r;return(t&n)===Xe}function gh(t){return(t&Al)===t}function vf(t,n){var l=$l|Ja|Oo|$r;return(n&l)!==Xe}function iy(t,n){return(n&t.expiredLanes)!==Xe}function bh(t){return(t&Al)!==Xe}function xh(){var t=Es;return Es<<=1,(Es&Al)===Xe&&(Es=xs),t}function ly(){var t=ff;return ff<<=1,(ff&vc)===Xe&&(ff=Cs),t}function kl(t){return t&-t}function Cc(t){return kl(t)}function _r(t){return 31-Ir(t)}function ho(t){return _r(t)}function aa(t,n){return(t&n)!==Xe}function Rs(t,n){return(t&n)===n}function on(t,n){return t|n}function wc(t,n){return t&~n}function Sh(t,n){return t&n}function sy(t){return t}function uy(t,n){return t!==En&&t<n?t:n}function Ec(t){for(var n=[],l=0;l<bs;l++)n.push(t);return n}function fu(t,n,l){t.pendingLanes|=n,n!==ws&&(t.suspendedLanes=Xe,t.pingedLanes=Xe);var u=t.eventTimes,h=ho(n);u[h]=l}function cy(t,n){t.suspendedLanes|=n,t.pingedLanes&=~n;for(var l=t.expirationTimes,u=n;u>0;){var h=_r(u),g=1<<h;l[h]=Kn,u&=~g}}function yf(t,n,l){t.pingedLanes|=t.suspendedLanes&n}function Ch(t,n){var l=t.pendingLanes&~n;t.pendingLanes=n,t.suspendedLanes=Xe,t.pingedLanes=Xe,t.expiredLanes&=n,t.mutableReadLanes&=n,t.entangledLanes&=n;for(var u=t.entanglements,h=t.eventTimes,g=t.expirationTimes,C=l;C>0;){var O=_r(C),D=1<<O;u[O]=Xe,h[O]=Kn,g[O]=Kn,C&=~D}}function gf(t,n){for(var l=t.entangledLanes|=n,u=t.entanglements,h=l;h;){var g=_r(h),C=1<<g;C&n|u[g]&n&&(u[g]|=n),h&=~C}}function wh(t,n){var l=kl(n),u;switch(l){case Ja:u=$l;break;case $r:u=Oo;break;case xs:case Kd:case Zd:case Jd:case ef:case tf:case nf:case rf:case of:case Ss:case af:case cu:case du:case lf:case mc:case sf:case Cs:case uf:case yc:case cf:case df:u=Qi;break;case ws:u=bc;break;default:u=En;break}return(u&(t.suspendedLanes|n))!==En?En:u}function Tc(t,n,l){if(ra)for(var u=t.pendingUpdatersLaneMap;l>0;){var h=ho(l),g=1<<h,C=u[h];C.add(n),l&=~g}}function dy(t,n){if(ra)for(var l=t.pendingUpdatersLaneMap,u=t.memoizedUpdaters;n>0;){var h=ho(n),g=1<<h,C=l[h];C.size>0&&(C.forEach(function(O){var D=O.alternate;(D===null||!u.has(D))&&u.add(O)}),C.clear()),n&=~g}}function Eh(t,n){return null}var No=qt,Si=Ja,Ia=$r,_a=ws,Rc=En;function Fa(){return Rc}function Fr(t){Rc=t}function fy(t,n){var l=Rc;try{return Rc=t,n()}finally{Rc=l}}function py(t,n){return t!==0&&t<n?t:n}function Oc(t,n){return t>n?t:n}function to(t,n){return t!==0&&t<n}function hy(t){var n=kl(t);return to(No,n)?to(Si,n)?Sc(n)?Ia:_a:Si:No}function bf(t){var n=t.current.memoizedState;return n.isDehydrated}var $c;function $o(t){$c=t}function Wb(t){$c(t)}var Ot;function pu(t){Ot=t}var xf;function my(t){xf=t}var vy;function Ac(t){vy=t}var kc;function Th(t){kc=t}var Sf=!1,Pc=[],Xi=null,Ci=null,wi=null,Ar=new Map,Do=new Map,Mo=[],yy=["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 gy(t){return yy.indexOf(t)>-1}function ti(t,n,l,u,h){return{blockedOn:t,domEventName:n,eventSystemFlags:l,nativeEvent:h,targetContainers:[u]}}function Rh(t,n){switch(t){case"focusin":case"focusout":Xi=null;break;case"dragenter":case"dragleave":Ci=null;break;case"mouseover":case"mouseout":wi=null;break;case"pointerover":case"pointerout":{var l=n.pointerId;Ar.delete(l);break}case"gotpointercapture":case"lostpointercapture":{var u=n.pointerId;Do.delete(u);break}}}function ia(t,n,l,u,h,g){if(t===null||t.nativeEvent!==g){var C=ti(n,l,u,h,g);if(n!==null){var O=Cu(n);O!==null&&Ot(O)}return C}t.eventSystemFlags|=u;var D=t.targetContainers;return h!==null&&D.indexOf(h)===-1&&D.push(h),t}function Yb(t,n,l,u,h){switch(n){case"focusin":{var g=h;return Xi=ia(Xi,t,n,l,u,g),!0}case"dragenter":{var C=h;return Ci=ia(Ci,t,n,l,u,C),!0}case"mouseover":{var O=h;return wi=ia(wi,t,n,l,u,O),!0}case"pointerover":{var D=h,H=D.pointerId;return Ar.set(H,ia(Ar.get(H)||null,t,n,l,u,D)),!0}case"gotpointercapture":{var Q=h,Se=Q.pointerId;return Do.set(Se,ia(Do.get(Se)||null,t,n,l,u,Q)),!0}}return!1}function Oh(t){var n=zc(t.target);if(n!==null){var l=ya(n);if(l!==null){var u=l.tag;if(u===N){var h=gi(l);if(h!==null){t.blockedOn=h,kc(t.priority,function(){xf(l)});return}}else if(u===w){var g=l.stateNode;if(bf(g)){t.blockedOn=bi(l);return}}}}t.blockedOn=null}function by(t){for(var n=vy(),l={blockedOn:null,target:t,priority:n},u=0;u<Mo.length&&to(n,Mo[u].priority);u++);Mo.splice(u,0,l),u===0&&Oh(l)}function Nc(t){if(t.blockedOn!==null)return!1;for(var n=t.targetContainers;n.length>0;){var l=n[0],u=mu(t.domEventName,t.eventSystemFlags,l,t.nativeEvent);if(u===null){var h=t.nativeEvent,g=new h.constructor(h.type,h);Ub(g),h.target.dispatchEvent(g),Bb()}else{var C=Cu(u);return C!==null&&Ot(C),t.blockedOn=u,!1}n.shift()}return!0}function $h(t,n,l){Nc(t)&&l.delete(n)}function qb(){Sf=!1,Xi!==null&&Nc(Xi)&&(Xi=null),Ci!==null&&Nc(Ci)&&(Ci=null),wi!==null&&Nc(wi)&&(wi=null),Ar.forEach($h),Do.forEach($h)}function Pl(t,n){t.blockedOn===n&&(t.blockedOn=null,Sf||(Sf=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,qb)))}function Os(t){if(Pc.length>0){Pl(Pc[0],t);for(var n=1;n<Pc.length;n++){var l=Pc[n];l.blockedOn===t&&(l.blockedOn=null)}}Xi!==null&&Pl(Xi,t),Ci!==null&&Pl(Ci,t),wi!==null&&Pl(wi,t);var u=function(O){return Pl(O,t)};Ar.forEach(u),Do.forEach(u);for(var h=0;h<Mo.length;h++){var g=Mo[h];g.blockedOn===t&&(g.blockedOn=null)}for(;Mo.length>0;){var C=Mo[0];if(C.blockedOn!==null)break;Oh(C),C.blockedOn===null&&Mo.shift()}}var mo=i.ReactCurrentBatchConfig,Sn=!0;function Yr(t){Sn=!!t}function Vr(){return Sn}function vo(t,n,l){var u=Cf(n),h;switch(u){case No:h=Sa;break;case Si:h=hu;break;case Ia:default:h=kr;break}return h.bind(null,n,l,t)}function Sa(t,n,l,u){var h=Fa(),g=mo.transition;mo.transition=null;try{Fr(No),kr(t,n,l,u)}finally{Fr(h),mo.transition=g}}function hu(t,n,l,u){var h=Fa(),g=mo.transition;mo.transition=null;try{Fr(Si),kr(t,n,l,u)}finally{Fr(h),mo.transition=g}}function kr(t,n,l,u){Sn&&Dc(t,n,l,u)}function Dc(t,n,l,u){var h=mu(t,n,l,u);if(h===null){d1(t,n,u,Ei,l),Rh(t,u);return}if(Yb(h,t,n,l,u)){u.stopPropagation();return}if(Rh(t,u),n&ka&&gy(t)){for(;h!==null;){var g=Cu(h);g!==null&&Wb(g);var C=mu(t,n,l,u);if(C===null&&d1(t,n,u,Ei,l),C===h)break;h=C}h!==null&&u.stopPropagation();return}d1(t,n,u,null,l)}var Ei=null;function mu(t,n,l,u){Ei=null;var h=eh(u),g=zc(h);if(g!==null){var C=ya(g);if(C===null)g=null;else{var O=C.tag;if(O===N){var D=gi(C);if(D!==null)return D;g=null}else if(O===w){var H=C.stateNode;if(bf(H))return bi(C);g=null}else C!==g&&(g=null)}}return Ei=g,null}function Cf(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 No;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 Si;case"message":{var n=Gd();switch(n){case sc:return No;case Rl:return Si;case Yi:case Gb:return Ia;case hs:return _a;default:return Ia}}default:return Ia}}function Mc(t,n,l){return t.addEventListener(n,l,!1),l}function la(t,n,l){return t.addEventListener(n,l,!0),l}function Ah(t,n,l,u){return t.addEventListener(n,l,{capture:!0,passive:u}),l}function vu(t,n,l,u){return t.addEventListener(n,l,{passive:u}),l}var Ca=null,yu=null,$s=null;function Nl(t){return Ca=t,yu=Lc(),!0}function wf(){Ca=null,yu=null,$s=null}function Ki(){if($s)return $s;var t,n=yu,l=n.length,u,h=Lc(),g=h.length;for(t=0;t<l&&n[t]===h[t];t++);var C=l-t;for(u=1;u<=C&&n[l-u]===h[g-u];u++);var O=u>1?1-u:void 0;return $s=h.slice(t,O),$s}function Lc(){return"value"in Ca?Ca.value:Ca.textContent}function Dl(t){var n,l=t.keyCode;return"charCode"in t?(n=t.charCode,n===0&&l===13&&(n=13)):n=l,n===10&&(n=13),n>=32||n===13?n:0}function gu(){return!0}function Ic(){return!1}function Ao(t){function n(l,u,h,g,C){this._reactName=l,this._targetInst=h,this.type=u,this.nativeEvent=g,this.target=C,this.currentTarget=null;for(var O in t)if(t.hasOwnProperty(O)){var D=t[O];D?this[O]=D(g):this[O]=g[O]}var H=g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1;return H?this.isDefaultPrevented=gu:this.isDefaultPrevented=Ic,this.isPropagationStopped=Ic,this}return nn(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=gu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=gu)},persist:function(){},isPersistent:gu}),n}var jr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ti=Ao(jr),Lo=nn({},jr,{view:0,detail:0}),sa=Ao(Lo),Ef,_c,As;function Qb(t){t!==As&&(As&&t.type==="mousemove"?(Ef=t.screenX-As.screenX,_c=t.screenY-As.screenY):(Ef=0,_c=0),As=t)}var ni=nn({},Lo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:dr,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:(Qb(t),Ef)},movementY:function(t){return"movementY"in t?t.movementY:_c}}),kh=Ao(ni),Ph=nn({},ni,{dataTransfer:0}),ks=Ao(Ph),Nh=nn({},Lo,{relatedTarget:0}),Zi=Ao(Nh),xy=nn({},jr,{animationName:0,elapsedTime:0,pseudoElement:0}),Sy=Ao(xy),Dh=nn({},jr,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Tf=Ao(Dh),Xb=nn({},jr,{data:0}),Cy=Ao(Xb),wy=Cy,Ey={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ps={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 Kb(t){if(t.key){var n=Ey[t.key]||t.key;if(n!=="Unidentified")return n}if(t.type==="keypress"){var l=Dl(t);return l===13?"Enter":String.fromCharCode(l)}return t.type==="keydown"||t.type==="keyup"?Ps[t.keyCode]||"Unidentified":""}var bu={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ty(t){var n=this,l=n.nativeEvent;if(l.getModifierState)return l.getModifierState(t);var u=bu[t];return u?!!l[u]:!1}function dr(t){return Ty}var Zb=nn({},Lo,{key:Kb,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:dr,charCode:function(t){return t.type==="keypress"?Dl(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Dl(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Ry=Ao(Zb),Jb=nn({},ni,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Oy=Ao(Jb),$y=nn({},Lo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:dr}),Ay=Ao($y),e1=nn({},jr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Va=Ao(e1),Mh=nn({},ni,{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}),t1=Ao(Mh),Ml=[9,13,27,32],Fc=229,Ji=Ee&&"CompositionEvent"in window,Ll=null;Ee&&"documentMode"in document&&(Ll=document.documentMode);var Lh=Ee&&"TextEvent"in window&&!Ll,Rf=Ee&&(!Ji||Ll&&Ll>8&&Ll<=11),ky=32,Of=String.fromCharCode(ky);function n1(){oe("onBeforeInput",["compositionend","keypress","textInput","paste"]),oe("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),oe("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),oe("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Ih=!1;function Py(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function $f(t){switch(t){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Af(t,n){return t==="keydown"&&n.keyCode===Fc}function _h(t,n){switch(t){case"keyup":return Ml.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==Fc;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kf(t){var n=t.detail;return typeof n=="object"&&"data"in n?n.data:null}function Ny(t){return t.locale==="ko"}var Ns=!1;function Fh(t,n,l,u,h){var g,C;if(Ji?g=$f(n):Ns?_h(n,u)&&(g="onCompositionEnd"):Af(n,u)&&(g="onCompositionStart"),!g)return null;Rf&&!Ny(u)&&(!Ns&&g==="onCompositionStart"?Ns=Nl(h):g==="onCompositionEnd"&&Ns&&(C=Ki()));var O=Vy(l,g);if(O.length>0){var D=new Cy(g,n,null,u,h);if(t.push({event:D,listeners:O}),C)D.data=C;else{var H=kf(u);H!==null&&(D.data=H)}}}function Pf(t,n){switch(t){case"compositionend":return kf(n);case"keypress":var l=n.which;return l!==ky?null:(Ih=!0,Of);case"textInput":var u=n.data;return u===Of&&Ih?null:u;default:return null}}function Vh(t,n){if(Ns){if(t==="compositionend"||!Ji&&_h(t,n)){var l=Ki();return wf(),Ns=!1,l}return null}switch(t){case"paste":return null;case"keypress":if(!Py(n)){if(n.char&&n.char.length>1)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Rf&&!Ny(n)?null:n.data;default:return null}}function Nf(t,n,l,u,h){var g;if(Lh?g=Pf(n,u):g=Vh(n,u),!g)return null;var C=Vy(l,"onBeforeInput");if(C.length>0){var O=new wy("onBeforeInput","beforeinput",null,u,h);t.push({event:O,listeners:C}),O.data=g}}function Dy(t,n,l,u,h,g,C){Fh(t,n,l,u,h),Nf(t,n,l,u,h)}var r1={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 Vc(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!r1[t.type]:n==="textarea"}/**
|
|
2723
2723
|
* Checks if an event is supported in the current execution environment.
|
|
2724
2724
|
*
|
|
2725
2725
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
@@ -2731,8 +2731,8 @@ Check the render method of \``+t+"`.":""}var Ip=["value","defaultValue"];functio
|
|
|
2731
2731
|
* @return {boolean} True if the event is supported.
|
|
2732
2732
|
* @internal
|
|
2733
2733
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
2734
|
-
*/function o1(t){if(!Ee)return!1;var n="on"+t,l=n in document;if(!l){var u=document.createElement("div");u.setAttribute(n,"return;"),l=typeof u[n]=="function"}return l}function jc(){oe("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function My(t,n,l,u){nu(u);var h=Vy(n,"onChange");if(h.length>0){var g=new Ti("onChange","change",null,l,u);t.push({event:g,listeners:h})}}var Il=null,o=null;function a(t){var n=t.nodeName&&t.nodeName.toLowerCase();return n==="select"||n==="input"&&t.type==="file"}function f(t){var n=[];My(n,o,t,eh(t)),Wv(m,n)}function m(t){Lw(t,0)}function x(t){var n=Ff(t);if(rs(n))return t}function E(t,n){if(t==="change")return n}var _=!1;Ee&&(_=o1("input")&&(!document.documentMode||document.documentMode>9));function re(t,n){Il=t,o=n,Il.attachEvent("onpropertychange",Le)}function de(){Il&&(Il.detachEvent("onpropertychange",Le),Il=null,o=null)}function Le(t){t.propertyName==="value"&&x(o)&&f(t)}function Ze(t,n,l){t==="focusin"?(de(),re(n,l)):t==="focusout"&&de()}function et(t,n){if(t==="selectionchange"||t==="keyup"||t==="keydown")return x(o)}function Ke(t){var n=t.nodeName;return n&&n.toLowerCase()==="input"&&(t.type==="checkbox"||t.type==="radio")}function wt(t,n){if(t==="click")return x(n)}function kt(t,n){if(t==="input"||t==="change")return x(n)}function Mt(t){var n=t._wrapperState;!n||!n.controlled||t.type!=="number"||wd(t,"number",t.value)}function kr(t,n,l,u,h,g,C){var O=l?Ff(l):window,D,H;if(a(O)?D=E:Vc(O)?_?D=kt:(D=et,H=Ze):Ke(O)&&(D=wt),D){var Q=D(n,l);if(Q){My(t,Q,u,h);return}}H&&H(n,O,l),n==="focusout"&&Mt(O)}function Ae(){K("onMouseEnter",["mouseout","mouseover"]),K("onMouseLeave",["mouseout","mouseover"]),K("onPointerEnter",["pointerout","pointerover"]),K("onPointerLeave",["pointerout","pointerover"])}function xe(t,n,l,u,h,g,C){var O=n==="mouseover"||n==="pointerover",D=n==="mouseout"||n==="pointerout";if(O&&!nc(u)){var H=u.relatedTarget||u.fromElement;if(H&&(zc(H)||Jh(H)))return}if(!(!D&&!O)){var Q;if(h.window===h)Q=h;else{var Se=h.ownerDocument;Se?Q=Se.defaultView||Se.parentWindow:Q=window}var ye,Me;if(D){var _e=u.relatedTarget||u.toElement;if(ye=l,Me=_e?zc(_e):null,Me!==null){var je=ya(Me);(Me!==je||Me.tag!==A&&Me.tag!==L)&&(Me=null)}}else ye=null,Me=l;if(ye!==Me){var xt=kh,Ut="onMouseLeave",It="onMouseEnter",wn="mouse";(n==="pointerout"||n==="pointerover")&&(xt=Oy,Ut="onPointerLeave",It="onPointerEnter",wn="pointer");var gn=ye==null?Q:Ff(ye),ke=Me==null?Q:Ff(Me),Ue=new xt(Ut,wn+"leave",ye,u,h);Ue.target=gn,Ue.relatedTarget=ke;var Pe=null,tt=zc(h);if(tt===l){var Rt=new xt(It,wn+"enter",Me,u,h);Rt.target=ke,Rt.relatedTarget=gn,Pe=Rt}yk(t,Ue,Pe,ye,Me)}}}function Ne(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var Je=typeof Object.is=="function"?Object.is:Ne;function Pt(t,n){if(Je(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var l=Object.keys(t),u=Object.keys(n);if(l.length!==u.length)return!1;for(var h=0;h<l.length;h++){var g=l[h];if(!te.call(n,g)||!Je(t[g],n[g]))return!1}return!0}function Bt(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Gt(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function Kt(t,n){for(var l=Bt(t),u=0,h=0;l;){if(l.nodeType===Bi){if(h=u+l.textContent.length,u<=n&&h>=n)return{node:l,offset:n-u};u=h}l=Bt(Gt(l))}}function no(t){var n=t.ownerDocument,l=n&&n.defaultView||window,u=l.getSelection&&l.getSelection();if(!u||u.rangeCount===0)return null;var h=u.anchorNode,g=u.anchorOffset,C=u.focusNode,O=u.focusOffset;try{h.nodeType,C.nodeType}catch{return null}return kn(t,h,g,C,O)}function kn(t,n,l,u,h){var g=0,C=-1,O=-1,D=0,H=0,Q=t,Se=null;e:for(;;){for(var ye=null;Q===n&&(l===0||Q.nodeType===Bi)&&(C=g+l),Q===u&&(h===0||Q.nodeType===Bi)&&(O=g+h),Q.nodeType===Bi&&(g+=Q.nodeValue.length),(ye=Q.firstChild)!==null;)Se=Q,Q=ye;for(;;){if(Q===t)break e;if(Se===n&&++D===l&&(C=g),Se===u&&++H===h&&(O=g),(ye=Q.nextSibling)!==null)break;Q=Se,Se=Q.parentNode}Q=ye}return C===-1||O===-1?null:{start:C,end:O}}function _l(t,n){var l=t.ownerDocument||document,u=l&&l.defaultView||window;if(u.getSelection){var h=u.getSelection(),g=t.textContent.length,C=Math.min(n.start,g),O=n.end===void 0?C:Math.min(n.end,g);if(!h.extend&&C>O){var D=O;O=C,C=D}var H=Kt(t,C),Q=Kt(t,O);if(H&&Q){if(h.rangeCount===1&&h.anchorNode===H.node&&h.anchorOffset===H.offset&&h.focusNode===Q.node&&h.focusOffset===Q.offset)return;var Se=l.createRange();Se.setStart(H.node,H.offset),h.removeAllRanges(),C>O?(h.addRange(Se),h.extend(Q.node,Q.offset)):(Se.setEnd(Q.node,Q.offset),h.addRange(Se))}}}function Ly(t){return t&&t.nodeType===Bi}function Ew(t,n){return!t||!n?!1:t===n?!0:Ly(t)?!1:Ly(n)?Ew(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1}function JA(t){return t&&t.ownerDocument&&Ew(t.ownerDocument.documentElement,t)}function ek(t){try{return typeof t.contentWindow.location.href=="string"}catch{return!1}}function Tw(){for(var t=window,n=os();n instanceof t.HTMLIFrameElement;){if(ek(n))t=n.contentWindow;else return n;n=os(t.document)}return n}function a1(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}function tk(){var t=Tw();return{focusedElem:t,selectionRange:a1(t)?rk(t):null}}function nk(t){var n=Tw(),l=t.focusedElem,u=t.selectionRange;if(n!==l&&JA(l)){u!==null&&a1(l)&&ok(l,u);for(var h=[],g=l;g=g.parentNode;)g.nodeType===Zo&&h.push({element:g,left:g.scrollLeft,top:g.scrollTop});typeof l.focus=="function"&&l.focus();for(var C=0;C<h.length;C++){var O=h[C];O.element.scrollLeft=O.left,O.element.scrollTop=O.top}}}function rk(t){var n;return"selectionStart"in t?n={start:t.selectionStart,end:t.selectionEnd}:n=no(t),n||{start:0,end:0}}function ok(t,n){var l=n.start,u=n.end;u===void 0&&(u=l),"selectionStart"in t?(t.selectionStart=l,t.selectionEnd=Math.min(u,t.value.length)):_l(t,n)}var ak=Ee&&"documentMode"in document&&document.documentMode<=11;function ik(){oe("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Df=null,i1=null,jh=null,l1=!1;function lk(t){if("selectionStart"in t&&a1(t))return{start:t.selectionStart,end:t.selectionEnd};var n=t.ownerDocument&&t.ownerDocument.defaultView||window,l=n.getSelection();return{anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}}function sk(t){return t.window===t?t.document:t.nodeType===zi?t:t.ownerDocument}function Rw(t,n,l){var u=sk(l);if(!(l1||Df==null||Df!==os(u))){var h=lk(Df);if(!jh||!Pt(jh,h)){jh=h;var g=Vy(i1,"onSelect");if(g.length>0){var C=new Ti("onSelect","select",null,n,l);t.push({event:C,listeners:g}),C.target=Df}}}}function uk(t,n,l,u,h,g,C){var O=l?Ff(l):window;switch(n){case"focusin":(Vc(O)||O.contentEditable==="true")&&(Df=O,i1=l,jh=null);break;case"focusout":Df=null,i1=null,jh=null;break;case"mousedown":l1=!0;break;case"contextmenu":case"mouseup":case"dragend":l1=!1,Rw(t,u,h);break;case"selectionchange":if(ak)break;case"keydown":case"keyup":Rw(t,u,h)}}function Iy(t,n){var l={};return l[t.toLowerCase()]=n.toLowerCase(),l["Webkit"+t]="webkit"+n,l["Moz"+t]="moz"+n,l}var Mf={animationend:Iy("Animation","AnimationEnd"),animationiteration:Iy("Animation","AnimationIteration"),animationstart:Iy("Animation","AnimationStart"),transitionend:Iy("Transition","TransitionEnd")},s1={},Ow={};Ee&&(Ow=document.createElement("div").style,"AnimationEvent"in window||(delete Mf.animationend.animation,delete Mf.animationiteration.animation,delete Mf.animationstart.animation),"TransitionEvent"in window||delete Mf.transitionend.transition);function _y(t){if(s1[t])return s1[t];if(!Mf[t])return t;var n=Mf[t];for(var l in n)if(n.hasOwnProperty(l)&&l in Ow)return s1[t]=n[l];return t}var $w=_y("animationend"),Aw=_y("animationiteration"),kw=_y("animationstart"),Pw=_y("transitionend"),Nw=new Map,Dw=["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 xu(t,n){Nw.set(t,n),oe(n,[t])}function ck(){for(var t=0;t<Dw.length;t++){var n=Dw[t],l=n.toLowerCase(),u=n[0].toUpperCase()+n.slice(1);xu(l,"on"+u)}xu($w,"onAnimationEnd"),xu(Aw,"onAnimationIteration"),xu(kw,"onAnimationStart"),xu("dblclick","onDoubleClick"),xu("focusin","onFocus"),xu("focusout","onBlur"),xu(Pw,"onTransitionEnd")}function dk(t,n,l,u,h,g,C){var O=Nw.get(n);if(O!==void 0){var D=Ti,H=n;switch(n){case"keypress":if(Dl(u)===0)return;case"keydown":case"keyup":D=Ry;break;case"focusin":H="focus",D=Zi;break;case"focusout":H="blur",D=Zi;break;case"beforeblur":case"afterblur":D=Zi;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":D=kh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":D=ks;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":D=Ay;break;case $w:case Aw:case kw:D=Sy;break;case Pw:D=Va;break;case"scroll":D=sa;break;case"wheel":D=t1;break;case"copy":case"cut":case"paste":D=Tf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":D=Oy;break}var Q=(g&ka)!==0;{var Se=!Q&&n==="scroll",ye=mk(l,O,u.type,Q,Se);if(ye.length>0){var Me=new D(O,H,null,u,h);t.push({event:Me,listeners:ye})}}}}ck(),Ae(),jc(),ik(),n1();function fk(t,n,l,u,h,g,C){dk(t,n,l,u,h,g);var O=(g&Jp)===0;O&&(xe(t,n,l,u,h),kr(t,n,l,u,h),uk(t,n,l,u,h),Dy(t,n,l,u,h))}var Uh=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],u1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Uh));function Mw(t,n,l){var u=t.type||"unknown-event";t.currentTarget=l,mi(u,n,void 0,t),t.currentTarget=null}function pk(t,n,l){var u;if(l)for(var h=n.length-1;h>=0;h--){var g=n[h],C=g.instance,O=g.currentTarget,D=g.listener;if(C!==u&&t.isPropagationStopped())return;Mw(t,D,O),u=C}else for(var H=0;H<n.length;H++){var Q=n[H],Se=Q.instance,ye=Q.currentTarget,Me=Q.listener;if(Se!==u&&t.isPropagationStopped())return;Mw(t,Me,ye),u=Se}}function Lw(t,n){for(var l=(n&ka)!==0,u=0;u<t.length;u++){var h=t[u],g=h.event,C=h.listeners;pk(g,C,l)}ac()}function hk(t,n,l,u,h){var g=eh(l),C=[];fk(C,t,u,l,g,n),Lw(C,n)}function vr(t,n){u1.has(t)||d('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',t);var l=!1,u=HP(n),h=gk(t);u.has(h)||(Iw(n,t,Nd,l),u.add(h))}function c1(t,n,l){u1.has(t)&&!n&&d('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',t);var u=0;n&&(u|=ka),Iw(l,t,u,n)}var Fy="_reactListening"+Math.random().toString(36).slice(2);function Bh(t){if(!t[Fy]){t[Fy]=!0,Qe.forEach(function(l){l!=="selectionchange"&&(u1.has(l)||c1(l,!1,t),c1(l,!0,t))});var n=t.nodeType===zi?t:t.ownerDocument;n!==null&&(n[Fy]||(n[Fy]=!0,c1("selectionchange",!1,n)))}}function Iw(t,n,l,u,h){var g=vo(t,n,l),C=void 0;oc&&(n==="touchstart"||n==="touchmove"||n==="wheel")&&(C=!0),t=t,u?C!==void 0?Ah(t,n,g,C):la(t,n,g):C!==void 0?vu(t,n,g,C):Mc(t,n,g)}function _w(t,n){return t===n||t.nodeType===Dr&&t.parentNode===n}function d1(t,n,l,u,h){var g=u;if((n&Zp)===0&&(n&Nd)===0){var C=h;if(u!==null){var O=u;e:for(;;){if(O===null)return;var D=O.tag;if(D===w||D===R){var H=O.stateNode.containerInfo;if(_w(H,C))break;if(D===R)for(var Q=O.return;Q!==null;){var Se=Q.tag;if(Se===w||Se===R){var ye=Q.stateNode.containerInfo;if(_w(ye,C))return}Q=Q.return}for(;H!==null;){var Me=zc(H);if(Me===null)return;var _e=Me.tag;if(_e===A||_e===L){O=g=Me;continue e}H=H.parentNode}}O=O.return}}}Wv(function(){return hk(t,n,l,g)})}function zh(t,n,l){return{instance:t,listener:n,currentTarget:l}}function mk(t,n,l,u,h,g){for(var C=n!==null?n+"Capture":null,O=u?C:n,D=[],H=t,Q=null;H!==null;){var Se=H,ye=Se.stateNode,Me=Se.tag;if(Me===A&&ye!==null&&(Q=ye,O!==null)){var _e=xl(H,O);_e!=null&&D.push(zh(H,_e,Q))}if(h)break;H=H.return}return D}function Vy(t,n){for(var l=n+"Capture",u=[],h=t;h!==null;){var g=h,C=g.stateNode,O=g.tag;if(O===A&&C!==null){var D=C,H=xl(h,l);H!=null&&u.unshift(zh(h,H,D));var Q=xl(h,n);Q!=null&&u.push(zh(h,Q,D))}h=h.return}return u}function Lf(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==A);return t||null}function vk(t,n){for(var l=t,u=n,h=0,g=l;g;g=Lf(g))h++;for(var C=0,O=u;O;O=Lf(O))C++;for(;h-C>0;)l=Lf(l),h--;for(;C-h>0;)u=Lf(u),C--;for(var D=h;D--;){if(l===u||u!==null&&l===u.alternate)return l;l=Lf(l),u=Lf(u)}return null}function Fw(t,n,l,u,h){for(var g=n._reactName,C=[],O=l;O!==null&&O!==u;){var D=O,H=D.alternate,Q=D.stateNode,Se=D.tag;if(H!==null&&H===u)break;if(Se===A&&Q!==null){var ye=Q;if(h){var Me=xl(O,g);Me!=null&&C.unshift(zh(O,Me,ye))}else if(!h){var _e=xl(O,g);_e!=null&&C.push(zh(O,_e,ye))}}O=O.return}C.length!==0&&t.push({event:n,listeners:C})}function yk(t,n,l,u,h){var g=u&&h?vk(u,h):null;u!==null&&Fw(t,n,u,g,!1),h!==null&&l!==null&&Fw(t,l,h,g,!0)}function gk(t,n){return t+"__bubble"}var ja=!1,Hh="dangerouslySetInnerHTML",jy="suppressContentEditableWarning",Su="suppressHydrationWarning",Vw="autoFocus",Uc="children",Bc="style",Uy="__html",f1,By,Gh,jw,zy,Uw,Bw;f1={dialog:!0,webview:!0},By=function(t,n){Qp(t,n),kd(t,n),zv(t,n,{registrationNameDependencies:We,possibleRegistrationNames:X})},Uw=Ee&&!document.documentMode,Gh=function(t,n,l){if(!ja){var u=Hy(l),h=Hy(n);h!==u&&(ja=!0,d("Prop `%s` did not match. Server: %s Client: %s",t,JSON.stringify(h),JSON.stringify(u)))}},jw=function(t){if(!ja){ja=!0;var n=[];t.forEach(function(l){n.push(l)}),d("Extra attributes from the server: %s",n)}},zy=function(t,n){n===!1?d("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):d("Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof n)},Bw=function(t,n){var l=t.namespaceURI===Ui?t.ownerDocument.createElement(t.tagName):t.ownerDocument.createElementNS(t.namespaceURI,t.tagName);return l.innerHTML=n,l.innerHTML};var bk=/\r\n?/g,xk=/\u0000|\uFFFD/g;function Hy(t){yt(t);var n=typeof t=="string"?t:""+t;return n.replace(bk,`
|
|
2735
|
-
`).replace(xk,"")}function Gy(t,n,l,u){var h=Hy(n),g=Hy(t);if(g!==h&&(u&&(ja||(ja=!0,d('Text content did not match. Server: "%s" Client: "%s"',g,h))),l&&ve))throw new Error("Text content does not match server-rendered HTML.")}function zw(t){return t.nodeType===zi?t:t.ownerDocument}function Sk(){}function Wy(t){t.onclick=Sk}function Ck(t,n,l,u,h){for(var g in u)if(u.hasOwnProperty(g)){var C=u[g];if(g===Bc)C&&Object.freeze(C),_v(n,C);else if(g===Hh){var O=C?C[Uy]:void 0;O!=null&&Tv(n,O)}else if(g===Uc)if(typeof C=="string"){var D=t!=="textarea"||C!=="";D&&Zs(n,C)}else typeof C=="number"&&Zs(n,""+C);else g===jy||g===Su||g===Vw||(We.hasOwnProperty(g)?C!=null&&(typeof C!="function"&&zy(g,C),g==="onScroll"&&vr("scroll",n)):C!=null&&$t(n,g,C,h))}}function wk(t,n,l,u){for(var h=0;h<n.length;h+=2){var g=n[h],C=n[h+1];g===Bc?_v(t,C):g===Hh?Tv(t,C):g===Uc?Zs(t,C):$t(t,g,C,u)}}function Ek(t,n,l,u){var h,g=zw(l),C,O=u;if(O===Ui&&(O=Bp(t)),O===Ui){if(h=gl(t,n),!h&&t!==t.toLowerCase()&&d("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",t),t==="script"){var D=g.createElement("div");D.innerHTML="<script><\/script>";var H=D.firstChild;C=D.removeChild(H)}else if(typeof n.is=="string")C=g.createElement(t,{is:n.is});else if(C=g.createElement(t),t==="select"){var Q=C;n.multiple?Q.multiple=!0:n.size&&(Q.size=n.size)}}else C=g.createElementNS(O,t);return O===Ui&&!h&&Object.prototype.toString.call(C)==="[object HTMLUnknownElement]"&&!te.call(f1,t)&&(f1[t]=!0,d("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 Tk(t,n){return zw(n).createTextNode(t)}function Rk(t,n,l,u){var h=gl(n,l);By(n,l);var g;switch(n){case"dialog":vr("cancel",t),vr("close",t),g=l;break;case"iframe":case"object":case"embed":vr("load",t),g=l;break;case"video":case"audio":for(var C=0;C<Uh.length;C++)vr(Uh[C],t);g=l;break;case"source":vr("error",t),g=l;break;case"img":case"image":case"link":vr("error",t),vr("load",t),g=l;break;case"details":vr("toggle",t),g=l;break;case"input":ji(t,l),g=bd(t,l),vr("invalid",t);break;case"option":Xs(t,l),g=l;break;case"select":Td(t,l),g=_p(t,l),vr("invalid",t);break;case"textarea":Vp(t,l),g=Fp(t,l),vr("invalid",t);break;default:g=l}switch($d(n,g),Ck(n,t,u,g,h),n){case"input":yl(t),Mp(t,l,!1);break;case"textarea":yl(t),wv(t);break;case"option":$b(t,l);break;case"select":kb(t,l);break;default:typeof g.onClick=="function"&&Wy(t);break}}function Ok(t,n,l,u,h){By(n,u);var g=null,C,O;switch(n){case"input":C=bd(t,l),O=bd(t,u),g=[];break;case"select":C=_p(t,l),O=_p(t,u),g=[];break;case"textarea":C=Fp(t,l),O=Fp(t,u),g=[];break;default:C=l,O=u,typeof C.onClick!="function"&&typeof O.onClick=="function"&&Wy(t);break}$d(n,O);var D,H,Q=null;for(D in C)if(!(O.hasOwnProperty(D)||!C.hasOwnProperty(D)||C[D]==null))if(D===Bc){var Se=C[D];for(H in Se)Se.hasOwnProperty(H)&&(Q||(Q={}),Q[H]="")}else D===Hh||D===Uc||D===jy||D===Su||D===Vw||(We.hasOwnProperty(D)?g||(g=[]):(g=g||[]).push(D,null));for(D in O){var ye=O[D],Me=C!=null?C[D]:void 0;if(!(!O.hasOwnProperty(D)||ye===Me||ye==null&&Me==null))if(D===Bc)if(ye&&Object.freeze(ye),Me){for(H in Me)Me.hasOwnProperty(H)&&(!ye||!ye.hasOwnProperty(H))&&(Q||(Q={}),Q[H]="");for(H in ye)ye.hasOwnProperty(H)&&Me[H]!==ye[H]&&(Q||(Q={}),Q[H]=ye[H])}else Q||(g||(g=[]),g.push(D,Q)),Q=ye;else if(D===Hh){var _e=ye?ye[Uy]:void 0,je=Me?Me[Uy]:void 0;_e!=null&&je!==_e&&(g=g||[]).push(D,_e)}else D===Uc?(typeof ye=="string"||typeof ye=="number")&&(g=g||[]).push(D,""+ye):D===jy||D===Su||(We.hasOwnProperty(D)?(ye!=null&&(typeof ye!="function"&&zy(D,ye),D==="onScroll"&&vr("scroll",t)),!g&&Me!==ye&&(g=[])):(g=g||[]).push(D,ye))}return Q&&(Vb(Q,O[Bc]),(g=g||[]).push(Bc,Q)),g}function $k(t,n,l,u,h){l==="input"&&h.type==="radio"&&h.name!=null&&xd(t,h);var g=gl(l,u),C=gl(l,h);switch(wk(t,n,g,C),l){case"input":Qs(t,h);break;case"textarea":Cv(t,h);break;case"select":Pb(t,h);break}}function Ak(t){{var n=t.toLowerCase();return ec.hasOwnProperty(n)&&ec[n]||null}}function kk(t,n,l,u,h,g,C){var O,D;switch(O=gl(n,l),By(n,l),n){case"dialog":vr("cancel",t),vr("close",t);break;case"iframe":case"object":case"embed":vr("load",t);break;case"video":case"audio":for(var H=0;H<Uh.length;H++)vr(Uh[H],t);break;case"source":vr("error",t);break;case"img":case"image":case"link":vr("error",t),vr("load",t);break;case"details":vr("toggle",t);break;case"input":ji(t,l),vr("invalid",t);break;case"option":Xs(t,l);break;case"select":Td(t,l),vr("invalid",t);break;case"textarea":Vp(t,l),vr("invalid",t);break}$d(n,l);{D=new Set;for(var Q=t.attributes,Se=0;Se<Q.length;Se++){var ye=Q[Se].name.toLowerCase();switch(ye){case"value":break;case"checked":break;case"selected":break;default:D.add(Q[Se].name)}}}var Me=null;for(var _e in l)if(l.hasOwnProperty(_e)){var je=l[_e];if(_e===Uc)typeof je=="string"?t.textContent!==je&&(l[Su]!==!0&&Gy(t.textContent,je,g,C),Me=[Uc,je]):typeof je=="number"&&t.textContent!==""+je&&(l[Su]!==!0&&Gy(t.textContent,je,g,C),Me=[Uc,""+je]);else if(We.hasOwnProperty(_e))je!=null&&(typeof je!="function"&&zy(_e,je),_e==="onScroll"&&vr("scroll",t));else if(C&&typeof O=="boolean"){var xt=void 0,Ut=qe(_e);if(l[Su]!==!0){if(!(_e===jy||_e===Su||_e==="value"||_e==="checked"||_e==="selected")){if(_e===Hh){var It=t.innerHTML,wn=je?je[Uy]:void 0;if(wn!=null){var gn=Bw(t,wn);gn!==It&&Gh(_e,It,gn)}}else if(_e===Bc){if(D.delete(_e),Uw){var ke=_b(je);xt=t.getAttribute("style"),ke!==xt&&Gh(_e,xt,ke)}}else if(O&&!Re)D.delete(_e.toLowerCase()),xt=Tt(t,_e,je),je!==xt&&Gh(_e,xt,je);else if(!Dn(_e,Ut,O)&&!Ln(_e,je,Ut,O)){var Ue=!1;if(Ut!==null)D.delete(Ut.attributeName),xt=nt(t,_e,je,Ut);else{var Pe=u;if(Pe===Ui&&(Pe=Bp(n)),Pe===Ui)D.delete(_e.toLowerCase());else{var tt=Ak(_e);tt!==null&&tt!==_e&&(Ue=!0,D.delete(tt)),D.delete(_e)}xt=Tt(t,_e,je)}var Rt=Re;!Rt&&je!==xt&&!Ue&&Gh(_e,xt,je)}}}}}switch(C&&D.size>0&&l[Su]!==!0&&jw(D),n){case"input":yl(t),Mp(t,l,!0);break;case"textarea":yl(t),wv(t);break;case"select":case"option":break;default:typeof l.onClick=="function"&&Wy(t);break}return Me}function Pk(t,n,l){var u=t.nodeValue!==n;return u}function p1(t,n){{if(ja)return;ja=!0,d("Did not expect server HTML to contain a <%s> in <%s>.",n.nodeName.toLowerCase(),t.nodeName.toLowerCase())}}function h1(t,n){{if(ja)return;ja=!0,d('Did not expect server HTML to contain the text node "%s" in <%s>.',n.nodeValue,t.nodeName.toLowerCase())}}function m1(t,n,l){{if(ja)return;ja=!0,d("Expected server HTML to contain a matching <%s> in <%s>.",n,t.nodeName.toLowerCase())}}function v1(t,n){{if(n===""||ja)return;ja=!0,d('Expected server HTML to contain a matching text node for "%s" in <%s>.',n,t.nodeName.toLowerCase())}}function Nk(t,n,l){switch(n){case"input":Sd(t,l);return;case"textarea":Db(t,l);return;case"select":Nb(t,l);return}}var Wh=function(){},Yh=function(){};{var Dk=["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"],Hw=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Mk=Hw.concat(["button"]),Lk=["dd","dt","li","option","optgroup","p","rp","rt"],Gw={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Yh=function(t,n){var l=nn({},t||Gw),u={tag:n};return Hw.indexOf(n)!==-1&&(l.aTagInScope=null,l.buttonTagInScope=null,l.nobrTagInScope=null),Mk.indexOf(n)!==-1&&(l.pTagInButtonScope=null),Dk.indexOf(n)!==-1&&n!=="address"&&n!=="div"&&n!=="p"&&(l.listItemTagAutoclosing=null,l.dlItemTagAutoclosing=null),l.current=u,n==="form"&&(l.formTag=u),n==="a"&&(l.aTagInScope=u),n==="button"&&(l.buttonTagInScope=u),n==="nobr"&&(l.nobrTagInScope=u),n==="p"&&(l.pTagInButtonScope=u),n==="li"&&(l.listItemTagAutoclosing=u),(n==="dd"||n==="dt")&&(l.dlItemTagAutoclosing=u),l};var Ik=function(t,n){switch(n){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 n!=="h1"&&n!=="h2"&&n!=="h3"&&n!=="h4"&&n!=="h5"&&n!=="h6";case"rp":case"rt":return Lk.indexOf(n)===-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 n==null}return!0},_k=function(t,n){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 n.pTagInButtonScope;case"form":return n.formTag||n.pTagInButtonScope;case"li":return n.listItemTagAutoclosing;case"dd":case"dt":return n.dlItemTagAutoclosing;case"button":return n.buttonTagInScope;case"a":return n.aTagInScope;case"nobr":return n.nobrTagInScope}return null},Ww={};Wh=function(t,n,l){l=l||Gw;var u=l.current,h=u&&u.tag;n!=null&&(t!=null&&d("validateDOMNesting: when childText is passed, childTag should be null"),t="#text");var g=Ik(t,h)?null:u,C=g?null:_k(t,l),O=g||C;if(O){var D=O.tag,H=!!g+"|"+t+"|"+D;if(!Ww[H]){Ww[H]=!0;var Q=t,Se="";if(t==="#text"?/\S/.test(n)?Q="Text nodes":(Q="Whitespace text nodes",Se=" Make sure you don't have any extra whitespace between tags on each line of your source code."):Q="<"+t+">",g){var ye="";D==="table"&&t==="tr"&&(ye+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),d("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",Q,D,Se,ye)}else d("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",Q,D)}}}}var Yy="suppressHydrationWarning",qy="$",Qy="/$",qh="$?",Qh="$!",Fk="style",y1=null,g1=null;function Vk(t){var n,l,u=t.nodeType;switch(u){case zi:case Hp:{n=u===zi?"#document":"#fragment";var h=t.documentElement;l=h?h.namespaceURI:zp(null,"");break}default:{var g=u===Dr?t.parentNode:t,C=g.namespaceURI||null;n=g.tagName,l=zp(C,n);break}}{var O=n.toLowerCase(),D=Yh(null,O);return{namespace:l,ancestorInfo:D}}}function jk(t,n,l){{var u=t,h=zp(u.namespace,n),g=Yh(u.ancestorInfo,n);return{namespace:h,ancestorInfo:g}}}function yU(t){return t}function Uk(t){y1=Vr(),g1=tk();var n=null;return Yr(!1),n}function Bk(t){nk(g1),Yr(y1),y1=null,g1=null}function zk(t,n,l,u,h){var g;{var C=u;if(Wh(t,null,C.ancestorInfo),typeof n.children=="string"||typeof n.children=="number"){var O=""+n.children,D=Yh(C.ancestorInfo,t);Wh(null,O,D)}g=C.namespace}var H=Ek(t,n,l,g);return Zh(h,H),R1(H,n),H}function Hk(t,n){t.appendChild(n)}function Gk(t,n,l,u,h){switch(Rk(t,n,l,u),n){case"button":case"input":case"select":case"textarea":return!!l.autoFocus;case"img":return!0;default:return!1}}function Wk(t,n,l,u,h,g){{var C=g;if(typeof u.children!=typeof l.children&&(typeof u.children=="string"||typeof u.children=="number")){var O=""+u.children,D=Yh(C.ancestorInfo,n);Wh(null,O,D)}}return Ok(t,n,l,u)}function b1(t,n){return t==="textarea"||t==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}function Yk(t,n,l,u){{var h=l;Wh(null,t,h.ancestorInfo)}var g=Tk(t,n);return Zh(u,g),g}function qk(){var t=window.event;return t===void 0?Ia:Cf(t.type)}var x1=typeof setTimeout=="function"?setTimeout:void 0,Qk=typeof clearTimeout=="function"?clearTimeout:void 0,S1=-1,Yw=typeof Promise=="function"?Promise:void 0,Xk=typeof queueMicrotask=="function"?queueMicrotask:typeof Yw<"u"?function(t){return Yw.resolve(null).then(t).catch(Kk)}:x1;function Kk(t){setTimeout(function(){throw t})}function Zk(t,n,l,u){switch(n){case"button":case"input":case"select":case"textarea":l.autoFocus&&t.focus();return;case"img":{l.src&&(t.src=l.src);return}}}function Jk(t,n,l,u,h,g){$k(t,n,l,u,h),R1(t,h)}function qw(t){Zs(t,"")}function eP(t,n,l){t.nodeValue=l}function tP(t,n){t.appendChild(n)}function nP(t,n){var l;t.nodeType===Dr?(l=t.parentNode,l.insertBefore(n,t)):(l=t,l.appendChild(n));var u=t._reactRootContainer;u==null&&l.onclick===null&&Wy(l)}function rP(t,n,l){t.insertBefore(n,l)}function oP(t,n,l){t.nodeType===Dr?t.parentNode.insertBefore(n,l):t.insertBefore(n,l)}function aP(t,n){t.removeChild(n)}function iP(t,n){t.nodeType===Dr?t.parentNode.removeChild(n):t.removeChild(n)}function C1(t,n){var l=n,u=0;do{var h=l.nextSibling;if(t.removeChild(l),h&&h.nodeType===Dr){var g=h.data;if(g===Qy)if(u===0){t.removeChild(h),Os(n);return}else u--;else(g===qy||g===qh||g===Qh)&&u++}l=h}while(l);Os(n)}function lP(t,n){t.nodeType===Dr?C1(t.parentNode,n):t.nodeType===Zo&&C1(t,n),Os(t)}function sP(t){t=t;var n=t.style;typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"}function uP(t){t.nodeValue=""}function cP(t,n){t=t;var l=n[Fk],u=l!=null&&l.hasOwnProperty("display")?l.display:null;t.style.display=Od("display",u)}function dP(t,n){t.nodeValue=n}function fP(t){t.nodeType===Zo?t.textContent="":t.nodeType===zi&&t.documentElement&&t.removeChild(t.documentElement)}function pP(t,n,l){return t.nodeType!==Zo||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t}function hP(t,n){return n===""||t.nodeType!==Bi?null:t}function mP(t){return t.nodeType!==Dr?null:t}function Qw(t){return t.data===qh}function w1(t){return t.data===Qh}function vP(t){var n=t.nextSibling&&t.nextSibling.dataset,l,u,h;return n&&(l=n.dgst,u=n.msg,h=n.stck),{message:u,digest:l,stack:h}}function yP(t,n){t._reactRetry=n}function Xy(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===Zo||n===Bi)break;if(n===Dr){var l=t.data;if(l===qy||l===Qh||l===qh)break;if(l===Qy)return null}}return t}function Xh(t){return Xy(t.nextSibling)}function gP(t){return Xy(t.firstChild)}function bP(t){return Xy(t.firstChild)}function xP(t){return Xy(t.nextSibling)}function SP(t,n,l,u,h,g,C){Zh(g,t),R1(t,l);var O;{var D=h;O=D.namespace}var H=(g.mode&hn)!==jt;return kk(t,n,l,O,u,H,C)}function CP(t,n,l,u){return Zh(l,t),l.mode&hn,Pk(t,n)}function wP(t,n){Zh(n,t)}function EP(t){for(var n=t.nextSibling,l=0;n;){if(n.nodeType===Dr){var u=n.data;if(u===Qy){if(l===0)return Xh(n);l--}else(u===qy||u===Qh||u===qh)&&l++}n=n.nextSibling}return null}function Xw(t){for(var n=t.previousSibling,l=0;n;){if(n.nodeType===Dr){var u=n.data;if(u===qy||u===Qh||u===qh){if(l===0)return n;l--}else u===Qy&&l++}n=n.previousSibling}return null}function TP(t){Os(t)}function RP(t){Os(t)}function OP(t){return t!=="head"&&t!=="body"}function $P(t,n,l,u){var h=!0;Gy(n.nodeValue,l,u,h)}function AP(t,n,l,u,h,g){if(n[Yy]!==!0){var C=!0;Gy(u.nodeValue,h,g,C)}}function kP(t,n){n.nodeType===Zo?p1(t,n):n.nodeType===Dr||h1(t,n)}function PP(t,n){{var l=t.parentNode;l!==null&&(n.nodeType===Zo?p1(l,n):n.nodeType===Dr||h1(l,n))}}function NP(t,n,l,u,h){(h||n[Yy]!==!0)&&(u.nodeType===Zo?p1(l,u):u.nodeType===Dr||h1(l,u))}function DP(t,n,l){m1(t,n)}function MP(t,n){v1(t,n)}function LP(t,n,l){{var u=t.parentNode;u!==null&&m1(u,n)}}function IP(t,n){{var l=t.parentNode;l!==null&&v1(l,n)}}function _P(t,n,l,u,h,g){(g||n[Yy]!==!0)&&m1(l,u)}function FP(t,n,l,u,h){(h||n[Yy]!==!0)&&v1(l,u)}function VP(t){d("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",t.nodeName.toLowerCase())}function jP(t){Bh(t)}var If=Math.random().toString(36).slice(2),_f="__reactFiber$"+If,E1="__reactProps$"+If,Kh="__reactContainer$"+If,T1="__reactEvents$"+If,UP="__reactListeners$"+If,BP="__reactHandles$"+If;function zP(t){delete t[_f],delete t[E1],delete t[T1],delete t[UP],delete t[BP]}function Zh(t,n){n[_f]=t}function Ky(t,n){n[Kh]=t}function Kw(t){t[Kh]=null}function Jh(t){return!!t[Kh]}function zc(t){var n=t[_f];if(n)return n;for(var l=t.parentNode;l;){if(n=l[Kh]||l[_f],n){var u=n.alternate;if(n.child!==null||u!==null&&u.child!==null)for(var h=Xw(t);h!==null;){var g=h[_f];if(g)return g;h=Xw(h)}return n}t=l,l=t.parentNode}return null}function Cu(t){var n=t[_f]||t[Kh];return n&&(n.tag===A||n.tag===L||n.tag===N||n.tag===w)?n:null}function Ff(t){if(t.tag===A||t.tag===L)return t.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Zy(t){return t[E1]||null}function R1(t,n){t[E1]=n}function HP(t){var n=t[T1];return n===void 0&&(n=t[T1]=new Set),n}var Zw={},Jw=i.ReactDebugCurrentFrame;function Jy(t){if(t){var n=t._owner,l=Xo(t.type,t._source,n?n.type:null);Jw.setExtraStackFrame(l)}else Jw.setExtraStackFrame(null)}function el(t,n,l,u,h){{var g=Function.call.bind(te);for(var C in t)if(g(t,C)){var O=void 0;try{if(typeof t[C]!="function"){var D=Error((u||"React class")+": "+l+" 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 D.name="Invariant Violation",D}O=t[C](n,C,u,l,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(H){O=H}O&&!(O instanceof Error)&&(Jy(h),d("%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).",u||"React class",l,C,typeof O),Jy(null)),O instanceof Error&&!(O.message in Zw)&&(Zw[O.message]=!0,Jy(h),d("Failed %s type: %s",l,O.message),Jy(null))}}}var O1=[],eg;eg=[];var Ds=-1;function wu(t){return{current:t}}function ua(t,n){if(Ds<0){d("Unexpected pop.");return}n!==eg[Ds]&&d("Unexpected Fiber popped."),t.current=O1[Ds],O1[Ds]=null,eg[Ds]=null,Ds--}function ca(t,n,l){Ds++,O1[Ds]=t.current,eg[Ds]=l,t.current=n}var $1;$1={};var ni={};Object.freeze(ni);var Ms=wu(ni),Fl=wu(!1),A1=ni;function Vf(t,n,l){return l&&Vl(n)?A1:Ms.current}function eE(t,n,l){{var u=t.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=n,u.__reactInternalMemoizedMaskedChildContext=l}}function jf(t,n){{var l=t.type,u=l.contextTypes;if(!u)return ni;var h=t.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===n)return h.__reactInternalMemoizedMaskedChildContext;var g={};for(var C in u)g[C]=n[C];{var O=rn(t)||"Unknown";el(u,g,"context",O)}return h&&eE(t,n,g),g}}function tg(){return Fl.current}function Vl(t){{var n=t.childContextTypes;return n!=null}}function ng(t){ua(Fl,t),ua(Ms,t)}function k1(t){ua(Fl,t),ua(Ms,t)}function tE(t,n,l){{if(Ms.current!==ni)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");ca(Ms,n,t),ca(Fl,l,t)}}function nE(t,n,l){{var u=t.stateNode,h=n.childContextTypes;if(typeof u.getChildContext!="function"){{var g=rn(t)||"Unknown";$1[g]||($1[g]=!0,d("%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.",g,g))}return l}var C=u.getChildContext();for(var O in C)if(!(O in h))throw new Error((rn(t)||"Unknown")+'.getChildContext(): key "'+O+'" is not defined in childContextTypes.');{var D=rn(t)||"Unknown";el(h,C,"child context",D)}return nn({},l,C)}}function rg(t){{var n=t.stateNode,l=n&&n.__reactInternalMemoizedMergedChildContext||ni;return A1=Ms.current,ca(Ms,l,t),ca(Fl,Fl.current,t),!0}}function rE(t,n,l){{var u=t.stateNode;if(!u)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(l){var h=nE(t,n,A1);u.__reactInternalMemoizedMergedChildContext=h,ua(Fl,t),ua(Ms,t),ca(Ms,h,t),ca(Fl,l,t)}else ua(Fl,t),ca(Fl,l,t)}}function GP(t){{if(!ps(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 n=t;do{switch(n.tag){case w:return n.stateNode.context;case S:{var l=n.type;if(Vl(l))return n.stateNode.__reactInternalMemoizedMergedChildContext;break}}n=n.return}while(n!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Eu=0,og=1,Ls=null,P1=!1,N1=!1;function oE(t){Ls===null?Ls=[t]:Ls.push(t)}function WP(t){P1=!0,oE(t)}function aE(){P1&&Tu()}function Tu(){if(!N1&&Ls!==null){N1=!0;var t=0,n=Fa();try{var l=!0,u=Ls;for(Fr(No);t<u.length;t++){var h=u[t];do h=h(l);while(h!==null)}Ls=null,P1=!1}catch(g){throw Ls!==null&&(Ls=Ls.slice(t+1)),nh(sc,Tu),g}finally{Fr(n),N1=!1}}return null}var Uf=[],Bf=0,ag=null,ig=0,Ri=[],Oi=0,Hc=null,Is=1,_s="";function YP(t){return Wc(),(t.flags&vi)!==Vt}function qP(t){return Wc(),ig}function QP(){var t=_s,n=Is,l=n&~XP(n);return l.toString(32)+t}function Gc(t,n){Wc(),Uf[Bf++]=ig,Uf[Bf++]=ag,ag=t,ig=n}function iE(t,n,l){Wc(),Ri[Oi++]=Is,Ri[Oi++]=_s,Ri[Oi++]=Hc,Hc=t;var u=Is,h=_s,g=lg(u)-1,C=u&~(1<<g),O=l+1,D=lg(n)+g;if(D>30){var H=g-g%5,Q=(1<<H)-1,Se=(C&Q).toString(32),ye=C>>H,Me=g-H,_e=lg(n)+Me,je=O<<Me,xt=je|ye,Ut=Se+h;Is=1<<_e|xt,_s=Ut}else{var It=O<<g,wn=It|C,gn=h;Is=1<<D|wn,_s=gn}}function D1(t){Wc();var n=t.return;if(n!==null){var l=1,u=0;Gc(t,l),iE(t,l,u)}}function lg(t){return 32-Ir(t)}function XP(t){return 1<<lg(t)-1}function M1(t){for(;t===ag;)ag=Uf[--Bf],Uf[Bf]=null,ig=Uf[--Bf],Uf[Bf]=null;for(;t===Hc;)Hc=Ri[--Oi],Ri[Oi]=null,_s=Ri[--Oi],Ri[Oi]=null,Is=Ri[--Oi],Ri[Oi]=null}function KP(){return Wc(),Hc!==null?{id:Is,overflow:_s}:null}function ZP(t,n){Wc(),Ri[Oi++]=Is,Ri[Oi++]=_s,Ri[Oi++]=Hc,Is=n.id,_s=n.overflow,Hc=t}function Wc(){_o()||d("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Io=null,$i=null,tl=!1,Yc=!1,Ru=null;function JP(){tl&&d("We should not be hydrating here. This is a bug in React. Please file a bug.")}function lE(){Yc=!0}function eN(){return Yc}function tN(t){var n=t.stateNode.containerInfo;return $i=bP(n),Io=t,tl=!0,Ru=null,Yc=!1,!0}function nN(t,n,l){return $i=xP(n),Io=t,tl=!0,Ru=null,Yc=!1,l!==null&&ZP(t,l),!0}function sE(t,n){switch(t.tag){case w:{kP(t.stateNode.containerInfo,n);break}case A:{var l=(t.mode&hn)!==jt;NP(t.type,t.memoizedProps,t.stateNode,n,l);break}case N:{var u=t.memoizedState;u.dehydrated!==null&&PP(u.dehydrated,n);break}}}function uE(t,n){sE(t,n);var l=i6();l.stateNode=n,l.return=t;var u=t.deletions;u===null?(t.deletions=[l],t.flags|=Pa):u.push(l)}function L1(t,n){{if(Yc)return;switch(t.tag){case w:{var l=t.stateNode.containerInfo;switch(n.tag){case A:var u=n.type;n.pendingProps,DP(l,u);break;case L:var h=n.pendingProps;MP(l,h);break}break}case A:{var g=t.type,C=t.memoizedProps,O=t.stateNode;switch(n.tag){case A:{var D=n.type,H=n.pendingProps,Q=(t.mode&hn)!==jt;_P(g,C,O,D,H,Q);break}case L:{var Se=n.pendingProps,ye=(t.mode&hn)!==jt;FP(g,C,O,Se,ye);break}}break}case N:{var Me=t.memoizedState,_e=Me.dehydrated;if(_e!==null)switch(n.tag){case A:var je=n.type;n.pendingProps,LP(_e,je);break;case L:var xt=n.pendingProps;IP(_e,xt);break}break}default:return}}}function cE(t,n){n.flags=n.flags&~ea|pr,L1(t,n)}function dE(t,n){switch(t.tag){case A:{var l=t.type;t.pendingProps;var u=pP(n,l);return u!==null?(t.stateNode=u,Io=t,$i=gP(u),!0):!1}case L:{var h=t.pendingProps,g=hP(n,h);return g!==null?(t.stateNode=g,Io=t,$i=null,!0):!1}case N:{var C=mP(n);if(C!==null){var O={dehydrated:C,treeContext:KP(),retryLane:oa};t.memoizedState=O;var D=l6(C);return D.return=t,t.child=D,Io=t,$i=null,!0}return!1}default:return!1}}function I1(t){return(t.mode&hn)!==jt&&(t.flags&Ft)===Vt}function _1(t){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function F1(t){if(tl){var n=$i;if(!n){I1(t)&&(L1(Io,t),_1()),cE(Io,t),tl=!1,Io=t;return}var l=n;if(!dE(t,n)){I1(t)&&(L1(Io,t),_1()),n=Xh(l);var u=Io;if(!n||!dE(t,n)){cE(Io,t),tl=!1,Io=t;return}uE(u,l)}}}function rN(t,n,l){var u=t.stateNode,h=!Yc,g=SP(u,t.type,t.memoizedProps,n,l,t,h);return t.updateQueue=g,g!==null}function oN(t){var n=t.stateNode,l=t.memoizedProps,u=CP(n,l,t);if(u){var h=Io;if(h!==null)switch(h.tag){case w:{var g=h.stateNode.containerInfo,C=(h.mode&hn)!==jt;$P(g,n,l,C);break}case A:{var O=h.type,D=h.memoizedProps,H=h.stateNode,Q=(h.mode&hn)!==jt;AP(O,D,H,n,l,Q);break}}}return u}function aN(t){var n=t.memoizedState,l=n!==null?n.dehydrated:null;if(!l)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");wP(l,t)}function iN(t){var n=t.memoizedState,l=n!==null?n.dehydrated:null;if(!l)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 EP(l)}function fE(t){for(var n=t.return;n!==null&&n.tag!==A&&n.tag!==w&&n.tag!==N;)n=n.return;Io=n}function sg(t){if(t!==Io)return!1;if(!tl)return fE(t),tl=!0,!1;if(t.tag!==w&&(t.tag!==A||OP(t.type)&&!b1(t.type,t.memoizedProps))){var n=$i;if(n)if(I1(t))pE(t),_1();else for(;n;)uE(t,n),n=Xh(n)}return fE(t),t.tag===N?$i=iN(t):$i=Io?Xh(t.stateNode):null,!0}function lN(){return tl&&$i!==null}function pE(t){for(var n=$i;n;)sE(t,n),n=Xh(n)}function zf(){Io=null,$i=null,tl=!1,Yc=!1}function hE(){Ru!==null&&(lR(Ru),Ru=null)}function _o(){return tl}function V1(t){Ru===null?Ru=[t]:Ru.push(t)}var sN=i.ReactCurrentBatchConfig,uN=null;function cN(){return sN.transition}var nl={recordUnsafeLifecycleWarnings:function(t,n){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(t,n){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var dN=function(t){for(var n=null,l=t;l!==null;)l.mode&zn&&(n=l),l=l.return;return n},qc=function(t){var n=[];return t.forEach(function(l){n.push(l)}),n.sort().join(", ")},em=[],tm=[],nm=[],rm=[],om=[],am=[],Qc=new Set;nl.recordUnsafeLifecycleWarnings=function(t,n){Qc.has(t.type)||(typeof n.componentWillMount=="function"&&n.componentWillMount.__suppressDeprecationWarning!==!0&&em.push(t),t.mode&zn&&typeof n.UNSAFE_componentWillMount=="function"&&tm.push(t),typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&nm.push(t),t.mode&zn&&typeof n.UNSAFE_componentWillReceiveProps=="function"&&rm.push(t),typeof n.componentWillUpdate=="function"&&n.componentWillUpdate.__suppressDeprecationWarning!==!0&&om.push(t),t.mode&zn&&typeof n.UNSAFE_componentWillUpdate=="function"&&am.push(t))},nl.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;em.length>0&&(em.forEach(function(ye){t.add(rn(ye)||"Component"),Qc.add(ye.type)}),em=[]);var n=new Set;tm.length>0&&(tm.forEach(function(ye){n.add(rn(ye)||"Component"),Qc.add(ye.type)}),tm=[]);var l=new Set;nm.length>0&&(nm.forEach(function(ye){l.add(rn(ye)||"Component"),Qc.add(ye.type)}),nm=[]);var u=new Set;rm.length>0&&(rm.forEach(function(ye){u.add(rn(ye)||"Component"),Qc.add(ye.type)}),rm=[]);var h=new Set;om.length>0&&(om.forEach(function(ye){h.add(rn(ye)||"Component"),Qc.add(ye.type)}),om=[]);var g=new Set;if(am.length>0&&(am.forEach(function(ye){g.add(rn(ye)||"Component"),Qc.add(ye.type)}),am=[]),n.size>0){var C=qc(n);d(`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.
|
|
2734
|
+
*/function o1(t){if(!Ee)return!1;var n="on"+t,l=n in document;if(!l){var u=document.createElement("div");u.setAttribute(n,"return;"),l=typeof u[n]=="function"}return l}function jc(){oe("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function My(t,n,l,u){nu(u);var h=Vy(n,"onChange");if(h.length>0){var g=new Ti("onChange","change",null,l,u);t.push({event:g,listeners:h})}}var Il=null,o=null;function a(t){var n=t.nodeName&&t.nodeName.toLowerCase();return n==="select"||n==="input"&&t.type==="file"}function f(t){var n=[];My(n,o,t,eh(t)),Wv(m,n)}function m(t){Lw(t,0)}function x(t){var n=Ff(t);if(rs(n))return t}function E(t,n){if(t==="change")return n}var _=!1;Ee&&(_=o1("input")&&(!document.documentMode||document.documentMode>9));function re(t,n){Il=t,o=n,Il.attachEvent("onpropertychange",Le)}function de(){Il&&(Il.detachEvent("onpropertychange",Le),Il=null,o=null)}function Le(t){t.propertyName==="value"&&x(o)&&f(t)}function Ze(t,n,l){t==="focusin"?(de(),re(n,l)):t==="focusout"&&de()}function et(t,n){if(t==="selectionchange"||t==="keyup"||t==="keydown")return x(o)}function Ke(t){var n=t.nodeName;return n&&n.toLowerCase()==="input"&&(t.type==="checkbox"||t.type==="radio")}function wt(t,n){if(t==="click")return x(n)}function kt(t,n){if(t==="input"||t==="change")return x(n)}function Mt(t){var n=t._wrapperState;!n||!n.controlled||t.type!=="number"||wd(t,"number",t.value)}function Pr(t,n,l,u,h,g,C){var O=l?Ff(l):window,D,H;if(a(O)?D=E:Vc(O)?_?D=kt:(D=et,H=Ze):Ke(O)&&(D=wt),D){var Q=D(n,l);if(Q){My(t,Q,u,h);return}}H&&H(n,O,l),n==="focusout"&&Mt(O)}function Ae(){K("onMouseEnter",["mouseout","mouseover"]),K("onMouseLeave",["mouseout","mouseover"]),K("onPointerEnter",["pointerout","pointerover"]),K("onPointerLeave",["pointerout","pointerover"])}function xe(t,n,l,u,h,g,C){var O=n==="mouseover"||n==="pointerover",D=n==="mouseout"||n==="pointerout";if(O&&!nc(u)){var H=u.relatedTarget||u.fromElement;if(H&&(zc(H)||Jh(H)))return}if(!(!D&&!O)){var Q;if(h.window===h)Q=h;else{var Se=h.ownerDocument;Se?Q=Se.defaultView||Se.parentWindow:Q=window}var ye,Me;if(D){var _e=u.relatedTarget||u.toElement;if(ye=l,Me=_e?zc(_e):null,Me!==null){var je=ya(Me);(Me!==je||Me.tag!==A&&Me.tag!==L)&&(Me=null)}}else ye=null,Me=l;if(ye!==Me){var xt=kh,Ut="onMouseLeave",It="onMouseEnter",wn="mouse";(n==="pointerout"||n==="pointerover")&&(xt=Oy,Ut="onPointerLeave",It="onPointerEnter",wn="pointer");var gn=ye==null?Q:Ff(ye),ke=Me==null?Q:Ff(Me),Ue=new xt(Ut,wn+"leave",ye,u,h);Ue.target=gn,Ue.relatedTarget=ke;var Pe=null,tt=zc(h);if(tt===l){var Rt=new xt(It,wn+"enter",Me,u,h);Rt.target=ke,Rt.relatedTarget=gn,Pe=Rt}yk(t,Ue,Pe,ye,Me)}}}function Ne(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var Je=typeof Object.is=="function"?Object.is:Ne;function Pt(t,n){if(Je(t,n))return!0;if(typeof t!="object"||t===null||typeof n!="object"||n===null)return!1;var l=Object.keys(t),u=Object.keys(n);if(l.length!==u.length)return!1;for(var h=0;h<l.length;h++){var g=l[h];if(!te.call(n,g)||!Je(t[g],n[g]))return!1}return!0}function Bt(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Gt(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function Kt(t,n){for(var l=Bt(t),u=0,h=0;l;){if(l.nodeType===Bi){if(h=u+l.textContent.length,u<=n&&h>=n)return{node:l,offset:n-u};u=h}l=Bt(Gt(l))}}function no(t){var n=t.ownerDocument,l=n&&n.defaultView||window,u=l.getSelection&&l.getSelection();if(!u||u.rangeCount===0)return null;var h=u.anchorNode,g=u.anchorOffset,C=u.focusNode,O=u.focusOffset;try{h.nodeType,C.nodeType}catch{return null}return kn(t,h,g,C,O)}function kn(t,n,l,u,h){var g=0,C=-1,O=-1,D=0,H=0,Q=t,Se=null;e:for(;;){for(var ye=null;Q===n&&(l===0||Q.nodeType===Bi)&&(C=g+l),Q===u&&(h===0||Q.nodeType===Bi)&&(O=g+h),Q.nodeType===Bi&&(g+=Q.nodeValue.length),(ye=Q.firstChild)!==null;)Se=Q,Q=ye;for(;;){if(Q===t)break e;if(Se===n&&++D===l&&(C=g),Se===u&&++H===h&&(O=g),(ye=Q.nextSibling)!==null)break;Q=Se,Se=Q.parentNode}Q=ye}return C===-1||O===-1?null:{start:C,end:O}}function _l(t,n){var l=t.ownerDocument||document,u=l&&l.defaultView||window;if(u.getSelection){var h=u.getSelection(),g=t.textContent.length,C=Math.min(n.start,g),O=n.end===void 0?C:Math.min(n.end,g);if(!h.extend&&C>O){var D=O;O=C,C=D}var H=Kt(t,C),Q=Kt(t,O);if(H&&Q){if(h.rangeCount===1&&h.anchorNode===H.node&&h.anchorOffset===H.offset&&h.focusNode===Q.node&&h.focusOffset===Q.offset)return;var Se=l.createRange();Se.setStart(H.node,H.offset),h.removeAllRanges(),C>O?(h.addRange(Se),h.extend(Q.node,Q.offset)):(Se.setEnd(Q.node,Q.offset),h.addRange(Se))}}}function Ly(t){return t&&t.nodeType===Bi}function Ew(t,n){return!t||!n?!1:t===n?!0:Ly(t)?!1:Ly(n)?Ew(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1}function JA(t){return t&&t.ownerDocument&&Ew(t.ownerDocument.documentElement,t)}function ek(t){try{return typeof t.contentWindow.location.href=="string"}catch{return!1}}function Tw(){for(var t=window,n=os();n instanceof t.HTMLIFrameElement;){if(ek(n))t=n.contentWindow;else return n;n=os(t.document)}return n}function a1(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}function tk(){var t=Tw();return{focusedElem:t,selectionRange:a1(t)?rk(t):null}}function nk(t){var n=Tw(),l=t.focusedElem,u=t.selectionRange;if(n!==l&&JA(l)){u!==null&&a1(l)&&ok(l,u);for(var h=[],g=l;g=g.parentNode;)g.nodeType===Zo&&h.push({element:g,left:g.scrollLeft,top:g.scrollTop});typeof l.focus=="function"&&l.focus();for(var C=0;C<h.length;C++){var O=h[C];O.element.scrollLeft=O.left,O.element.scrollTop=O.top}}}function rk(t){var n;return"selectionStart"in t?n={start:t.selectionStart,end:t.selectionEnd}:n=no(t),n||{start:0,end:0}}function ok(t,n){var l=n.start,u=n.end;u===void 0&&(u=l),"selectionStart"in t?(t.selectionStart=l,t.selectionEnd=Math.min(u,t.value.length)):_l(t,n)}var ak=Ee&&"documentMode"in document&&document.documentMode<=11;function ik(){oe("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Df=null,i1=null,jh=null,l1=!1;function lk(t){if("selectionStart"in t&&a1(t))return{start:t.selectionStart,end:t.selectionEnd};var n=t.ownerDocument&&t.ownerDocument.defaultView||window,l=n.getSelection();return{anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}}function sk(t){return t.window===t?t.document:t.nodeType===zi?t:t.ownerDocument}function Rw(t,n,l){var u=sk(l);if(!(l1||Df==null||Df!==os(u))){var h=lk(Df);if(!jh||!Pt(jh,h)){jh=h;var g=Vy(i1,"onSelect");if(g.length>0){var C=new Ti("onSelect","select",null,n,l);t.push({event:C,listeners:g}),C.target=Df}}}}function uk(t,n,l,u,h,g,C){var O=l?Ff(l):window;switch(n){case"focusin":(Vc(O)||O.contentEditable==="true")&&(Df=O,i1=l,jh=null);break;case"focusout":Df=null,i1=null,jh=null;break;case"mousedown":l1=!0;break;case"contextmenu":case"mouseup":case"dragend":l1=!1,Rw(t,u,h);break;case"selectionchange":if(ak)break;case"keydown":case"keyup":Rw(t,u,h)}}function Iy(t,n){var l={};return l[t.toLowerCase()]=n.toLowerCase(),l["Webkit"+t]="webkit"+n,l["Moz"+t]="moz"+n,l}var Mf={animationend:Iy("Animation","AnimationEnd"),animationiteration:Iy("Animation","AnimationIteration"),animationstart:Iy("Animation","AnimationStart"),transitionend:Iy("Transition","TransitionEnd")},s1={},Ow={};Ee&&(Ow=document.createElement("div").style,"AnimationEvent"in window||(delete Mf.animationend.animation,delete Mf.animationiteration.animation,delete Mf.animationstart.animation),"TransitionEvent"in window||delete Mf.transitionend.transition);function _y(t){if(s1[t])return s1[t];if(!Mf[t])return t;var n=Mf[t];for(var l in n)if(n.hasOwnProperty(l)&&l in Ow)return s1[t]=n[l];return t}var $w=_y("animationend"),Aw=_y("animationiteration"),kw=_y("animationstart"),Pw=_y("transitionend"),Nw=new Map,Dw=["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 xu(t,n){Nw.set(t,n),oe(n,[t])}function ck(){for(var t=0;t<Dw.length;t++){var n=Dw[t],l=n.toLowerCase(),u=n[0].toUpperCase()+n.slice(1);xu(l,"on"+u)}xu($w,"onAnimationEnd"),xu(Aw,"onAnimationIteration"),xu(kw,"onAnimationStart"),xu("dblclick","onDoubleClick"),xu("focusin","onFocus"),xu("focusout","onBlur"),xu(Pw,"onTransitionEnd")}function dk(t,n,l,u,h,g,C){var O=Nw.get(n);if(O!==void 0){var D=Ti,H=n;switch(n){case"keypress":if(Dl(u)===0)return;case"keydown":case"keyup":D=Ry;break;case"focusin":H="focus",D=Zi;break;case"focusout":H="blur",D=Zi;break;case"beforeblur":case"afterblur":D=Zi;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":D=kh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":D=ks;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":D=Ay;break;case $w:case Aw:case kw:D=Sy;break;case Pw:D=Va;break;case"scroll":D=sa;break;case"wheel":D=t1;break;case"copy":case"cut":case"paste":D=Tf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":D=Oy;break}var Q=(g&ka)!==0;{var Se=!Q&&n==="scroll",ye=mk(l,O,u.type,Q,Se);if(ye.length>0){var Me=new D(O,H,null,u,h);t.push({event:Me,listeners:ye})}}}}ck(),Ae(),jc(),ik(),n1();function fk(t,n,l,u,h,g,C){dk(t,n,l,u,h,g);var O=(g&Jp)===0;O&&(xe(t,n,l,u,h),Pr(t,n,l,u,h),uk(t,n,l,u,h),Dy(t,n,l,u,h))}var Uh=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],u1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Uh));function Mw(t,n,l){var u=t.type||"unknown-event";t.currentTarget=l,mi(u,n,void 0,t),t.currentTarget=null}function pk(t,n,l){var u;if(l)for(var h=n.length-1;h>=0;h--){var g=n[h],C=g.instance,O=g.currentTarget,D=g.listener;if(C!==u&&t.isPropagationStopped())return;Mw(t,D,O),u=C}else for(var H=0;H<n.length;H++){var Q=n[H],Se=Q.instance,ye=Q.currentTarget,Me=Q.listener;if(Se!==u&&t.isPropagationStopped())return;Mw(t,Me,ye),u=Se}}function Lw(t,n){for(var l=(n&ka)!==0,u=0;u<t.length;u++){var h=t[u],g=h.event,C=h.listeners;pk(g,C,l)}ac()}function hk(t,n,l,u,h){var g=eh(l),C=[];fk(C,t,u,l,g,n),Lw(C,n)}function vr(t,n){u1.has(t)||d('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',t);var l=!1,u=HP(n),h=gk(t);u.has(h)||(Iw(n,t,Nd,l),u.add(h))}function c1(t,n,l){u1.has(t)&&!n&&d('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',t);var u=0;n&&(u|=ka),Iw(l,t,u,n)}var Fy="_reactListening"+Math.random().toString(36).slice(2);function Bh(t){if(!t[Fy]){t[Fy]=!0,Qe.forEach(function(l){l!=="selectionchange"&&(u1.has(l)||c1(l,!1,t),c1(l,!0,t))});var n=t.nodeType===zi?t:t.ownerDocument;n!==null&&(n[Fy]||(n[Fy]=!0,c1("selectionchange",!1,n)))}}function Iw(t,n,l,u,h){var g=vo(t,n,l),C=void 0;oc&&(n==="touchstart"||n==="touchmove"||n==="wheel")&&(C=!0),t=t,u?C!==void 0?Ah(t,n,g,C):la(t,n,g):C!==void 0?vu(t,n,g,C):Mc(t,n,g)}function _w(t,n){return t===n||t.nodeType===Dr&&t.parentNode===n}function d1(t,n,l,u,h){var g=u;if((n&Zp)===0&&(n&Nd)===0){var C=h;if(u!==null){var O=u;e:for(;;){if(O===null)return;var D=O.tag;if(D===w||D===R){var H=O.stateNode.containerInfo;if(_w(H,C))break;if(D===R)for(var Q=O.return;Q!==null;){var Se=Q.tag;if(Se===w||Se===R){var ye=Q.stateNode.containerInfo;if(_w(ye,C))return}Q=Q.return}for(;H!==null;){var Me=zc(H);if(Me===null)return;var _e=Me.tag;if(_e===A||_e===L){O=g=Me;continue e}H=H.parentNode}}O=O.return}}}Wv(function(){return hk(t,n,l,g)})}function zh(t,n,l){return{instance:t,listener:n,currentTarget:l}}function mk(t,n,l,u,h,g){for(var C=n!==null?n+"Capture":null,O=u?C:n,D=[],H=t,Q=null;H!==null;){var Se=H,ye=Se.stateNode,Me=Se.tag;if(Me===A&&ye!==null&&(Q=ye,O!==null)){var _e=xl(H,O);_e!=null&&D.push(zh(H,_e,Q))}if(h)break;H=H.return}return D}function Vy(t,n){for(var l=n+"Capture",u=[],h=t;h!==null;){var g=h,C=g.stateNode,O=g.tag;if(O===A&&C!==null){var D=C,H=xl(h,l);H!=null&&u.unshift(zh(h,H,D));var Q=xl(h,n);Q!=null&&u.push(zh(h,Q,D))}h=h.return}return u}function Lf(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==A);return t||null}function vk(t,n){for(var l=t,u=n,h=0,g=l;g;g=Lf(g))h++;for(var C=0,O=u;O;O=Lf(O))C++;for(;h-C>0;)l=Lf(l),h--;for(;C-h>0;)u=Lf(u),C--;for(var D=h;D--;){if(l===u||u!==null&&l===u.alternate)return l;l=Lf(l),u=Lf(u)}return null}function Fw(t,n,l,u,h){for(var g=n._reactName,C=[],O=l;O!==null&&O!==u;){var D=O,H=D.alternate,Q=D.stateNode,Se=D.tag;if(H!==null&&H===u)break;if(Se===A&&Q!==null){var ye=Q;if(h){var Me=xl(O,g);Me!=null&&C.unshift(zh(O,Me,ye))}else if(!h){var _e=xl(O,g);_e!=null&&C.push(zh(O,_e,ye))}}O=O.return}C.length!==0&&t.push({event:n,listeners:C})}function yk(t,n,l,u,h){var g=u&&h?vk(u,h):null;u!==null&&Fw(t,n,u,g,!1),h!==null&&l!==null&&Fw(t,l,h,g,!0)}function gk(t,n){return t+"__bubble"}var ja=!1,Hh="dangerouslySetInnerHTML",jy="suppressContentEditableWarning",Su="suppressHydrationWarning",Vw="autoFocus",Uc="children",Bc="style",Uy="__html",f1,By,Gh,jw,zy,Uw,Bw;f1={dialog:!0,webview:!0},By=function(t,n){Qp(t,n),kd(t,n),zv(t,n,{registrationNameDependencies:We,possibleRegistrationNames:X})},Uw=Ee&&!document.documentMode,Gh=function(t,n,l){if(!ja){var u=Hy(l),h=Hy(n);h!==u&&(ja=!0,d("Prop `%s` did not match. Server: %s Client: %s",t,JSON.stringify(h),JSON.stringify(u)))}},jw=function(t){if(!ja){ja=!0;var n=[];t.forEach(function(l){n.push(l)}),d("Extra attributes from the server: %s",n)}},zy=function(t,n){n===!1?d("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):d("Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof n)},Bw=function(t,n){var l=t.namespaceURI===Ui?t.ownerDocument.createElement(t.tagName):t.ownerDocument.createElementNS(t.namespaceURI,t.tagName);return l.innerHTML=n,l.innerHTML};var bk=/\r\n?/g,xk=/\u0000|\uFFFD/g;function Hy(t){yt(t);var n=typeof t=="string"?t:""+t;return n.replace(bk,`
|
|
2735
|
+
`).replace(xk,"")}function Gy(t,n,l,u){var h=Hy(n),g=Hy(t);if(g!==h&&(u&&(ja||(ja=!0,d('Text content did not match. Server: "%s" Client: "%s"',g,h))),l&&ve))throw new Error("Text content does not match server-rendered HTML.")}function zw(t){return t.nodeType===zi?t:t.ownerDocument}function Sk(){}function Wy(t){t.onclick=Sk}function Ck(t,n,l,u,h){for(var g in u)if(u.hasOwnProperty(g)){var C=u[g];if(g===Bc)C&&Object.freeze(C),_v(n,C);else if(g===Hh){var O=C?C[Uy]:void 0;O!=null&&Tv(n,O)}else if(g===Uc)if(typeof C=="string"){var D=t!=="textarea"||C!=="";D&&Zs(n,C)}else typeof C=="number"&&Zs(n,""+C);else g===jy||g===Su||g===Vw||(We.hasOwnProperty(g)?C!=null&&(typeof C!="function"&&zy(g,C),g==="onScroll"&&vr("scroll",n)):C!=null&&$t(n,g,C,h))}}function wk(t,n,l,u){for(var h=0;h<n.length;h+=2){var g=n[h],C=n[h+1];g===Bc?_v(t,C):g===Hh?Tv(t,C):g===Uc?Zs(t,C):$t(t,g,C,u)}}function Ek(t,n,l,u){var h,g=zw(l),C,O=u;if(O===Ui&&(O=Bp(t)),O===Ui){if(h=gl(t,n),!h&&t!==t.toLowerCase()&&d("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",t),t==="script"){var D=g.createElement("div");D.innerHTML="<script><\/script>";var H=D.firstChild;C=D.removeChild(H)}else if(typeof n.is=="string")C=g.createElement(t,{is:n.is});else if(C=g.createElement(t),t==="select"){var Q=C;n.multiple?Q.multiple=!0:n.size&&(Q.size=n.size)}}else C=g.createElementNS(O,t);return O===Ui&&!h&&Object.prototype.toString.call(C)==="[object HTMLUnknownElement]"&&!te.call(f1,t)&&(f1[t]=!0,d("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 Tk(t,n){return zw(n).createTextNode(t)}function Rk(t,n,l,u){var h=gl(n,l);By(n,l);var g;switch(n){case"dialog":vr("cancel",t),vr("close",t),g=l;break;case"iframe":case"object":case"embed":vr("load",t),g=l;break;case"video":case"audio":for(var C=0;C<Uh.length;C++)vr(Uh[C],t);g=l;break;case"source":vr("error",t),g=l;break;case"img":case"image":case"link":vr("error",t),vr("load",t),g=l;break;case"details":vr("toggle",t),g=l;break;case"input":ji(t,l),g=bd(t,l),vr("invalid",t);break;case"option":Xs(t,l),g=l;break;case"select":Td(t,l),g=_p(t,l),vr("invalid",t);break;case"textarea":Vp(t,l),g=Fp(t,l),vr("invalid",t);break;default:g=l}switch($d(n,g),Ck(n,t,u,g,h),n){case"input":yl(t),Mp(t,l,!1);break;case"textarea":yl(t),wv(t);break;case"option":$b(t,l);break;case"select":kb(t,l);break;default:typeof g.onClick=="function"&&Wy(t);break}}function Ok(t,n,l,u,h){By(n,u);var g=null,C,O;switch(n){case"input":C=bd(t,l),O=bd(t,u),g=[];break;case"select":C=_p(t,l),O=_p(t,u),g=[];break;case"textarea":C=Fp(t,l),O=Fp(t,u),g=[];break;default:C=l,O=u,typeof C.onClick!="function"&&typeof O.onClick=="function"&&Wy(t);break}$d(n,O);var D,H,Q=null;for(D in C)if(!(O.hasOwnProperty(D)||!C.hasOwnProperty(D)||C[D]==null))if(D===Bc){var Se=C[D];for(H in Se)Se.hasOwnProperty(H)&&(Q||(Q={}),Q[H]="")}else D===Hh||D===Uc||D===jy||D===Su||D===Vw||(We.hasOwnProperty(D)?g||(g=[]):(g=g||[]).push(D,null));for(D in O){var ye=O[D],Me=C!=null?C[D]:void 0;if(!(!O.hasOwnProperty(D)||ye===Me||ye==null&&Me==null))if(D===Bc)if(ye&&Object.freeze(ye),Me){for(H in Me)Me.hasOwnProperty(H)&&(!ye||!ye.hasOwnProperty(H))&&(Q||(Q={}),Q[H]="");for(H in ye)ye.hasOwnProperty(H)&&Me[H]!==ye[H]&&(Q||(Q={}),Q[H]=ye[H])}else Q||(g||(g=[]),g.push(D,Q)),Q=ye;else if(D===Hh){var _e=ye?ye[Uy]:void 0,je=Me?Me[Uy]:void 0;_e!=null&&je!==_e&&(g=g||[]).push(D,_e)}else D===Uc?(typeof ye=="string"||typeof ye=="number")&&(g=g||[]).push(D,""+ye):D===jy||D===Su||(We.hasOwnProperty(D)?(ye!=null&&(typeof ye!="function"&&zy(D,ye),D==="onScroll"&&vr("scroll",t)),!g&&Me!==ye&&(g=[])):(g=g||[]).push(D,ye))}return Q&&(Vb(Q,O[Bc]),(g=g||[]).push(Bc,Q)),g}function $k(t,n,l,u,h){l==="input"&&h.type==="radio"&&h.name!=null&&xd(t,h);var g=gl(l,u),C=gl(l,h);switch(wk(t,n,g,C),l){case"input":Qs(t,h);break;case"textarea":Cv(t,h);break;case"select":Pb(t,h);break}}function Ak(t){{var n=t.toLowerCase();return ec.hasOwnProperty(n)&&ec[n]||null}}function kk(t,n,l,u,h,g,C){var O,D;switch(O=gl(n,l),By(n,l),n){case"dialog":vr("cancel",t),vr("close",t);break;case"iframe":case"object":case"embed":vr("load",t);break;case"video":case"audio":for(var H=0;H<Uh.length;H++)vr(Uh[H],t);break;case"source":vr("error",t);break;case"img":case"image":case"link":vr("error",t),vr("load",t);break;case"details":vr("toggle",t);break;case"input":ji(t,l),vr("invalid",t);break;case"option":Xs(t,l);break;case"select":Td(t,l),vr("invalid",t);break;case"textarea":Vp(t,l),vr("invalid",t);break}$d(n,l);{D=new Set;for(var Q=t.attributes,Se=0;Se<Q.length;Se++){var ye=Q[Se].name.toLowerCase();switch(ye){case"value":break;case"checked":break;case"selected":break;default:D.add(Q[Se].name)}}}var Me=null;for(var _e in l)if(l.hasOwnProperty(_e)){var je=l[_e];if(_e===Uc)typeof je=="string"?t.textContent!==je&&(l[Su]!==!0&&Gy(t.textContent,je,g,C),Me=[Uc,je]):typeof je=="number"&&t.textContent!==""+je&&(l[Su]!==!0&&Gy(t.textContent,je,g,C),Me=[Uc,""+je]);else if(We.hasOwnProperty(_e))je!=null&&(typeof je!="function"&&zy(_e,je),_e==="onScroll"&&vr("scroll",t));else if(C&&typeof O=="boolean"){var xt=void 0,Ut=qe(_e);if(l[Su]!==!0){if(!(_e===jy||_e===Su||_e==="value"||_e==="checked"||_e==="selected")){if(_e===Hh){var It=t.innerHTML,wn=je?je[Uy]:void 0;if(wn!=null){var gn=Bw(t,wn);gn!==It&&Gh(_e,It,gn)}}else if(_e===Bc){if(D.delete(_e),Uw){var ke=_b(je);xt=t.getAttribute("style"),ke!==xt&&Gh(_e,xt,ke)}}else if(O&&!Re)D.delete(_e.toLowerCase()),xt=Tt(t,_e,je),je!==xt&&Gh(_e,xt,je);else if(!Dn(_e,Ut,O)&&!Ln(_e,je,Ut,O)){var Ue=!1;if(Ut!==null)D.delete(Ut.attributeName),xt=nt(t,_e,je,Ut);else{var Pe=u;if(Pe===Ui&&(Pe=Bp(n)),Pe===Ui)D.delete(_e.toLowerCase());else{var tt=Ak(_e);tt!==null&&tt!==_e&&(Ue=!0,D.delete(tt)),D.delete(_e)}xt=Tt(t,_e,je)}var Rt=Re;!Rt&&je!==xt&&!Ue&&Gh(_e,xt,je)}}}}}switch(C&&D.size>0&&l[Su]!==!0&&jw(D),n){case"input":yl(t),Mp(t,l,!0);break;case"textarea":yl(t),wv(t);break;case"select":case"option":break;default:typeof l.onClick=="function"&&Wy(t);break}return Me}function Pk(t,n,l){var u=t.nodeValue!==n;return u}function p1(t,n){{if(ja)return;ja=!0,d("Did not expect server HTML to contain a <%s> in <%s>.",n.nodeName.toLowerCase(),t.nodeName.toLowerCase())}}function h1(t,n){{if(ja)return;ja=!0,d('Did not expect server HTML to contain the text node "%s" in <%s>.',n.nodeValue,t.nodeName.toLowerCase())}}function m1(t,n,l){{if(ja)return;ja=!0,d("Expected server HTML to contain a matching <%s> in <%s>.",n,t.nodeName.toLowerCase())}}function v1(t,n){{if(n===""||ja)return;ja=!0,d('Expected server HTML to contain a matching text node for "%s" in <%s>.',n,t.nodeName.toLowerCase())}}function Nk(t,n,l){switch(n){case"input":Sd(t,l);return;case"textarea":Db(t,l);return;case"select":Nb(t,l);return}}var Wh=function(){},Yh=function(){};{var Dk=["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"],Hw=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Mk=Hw.concat(["button"]),Lk=["dd","dt","li","option","optgroup","p","rp","rt"],Gw={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Yh=function(t,n){var l=nn({},t||Gw),u={tag:n};return Hw.indexOf(n)!==-1&&(l.aTagInScope=null,l.buttonTagInScope=null,l.nobrTagInScope=null),Mk.indexOf(n)!==-1&&(l.pTagInButtonScope=null),Dk.indexOf(n)!==-1&&n!=="address"&&n!=="div"&&n!=="p"&&(l.listItemTagAutoclosing=null,l.dlItemTagAutoclosing=null),l.current=u,n==="form"&&(l.formTag=u),n==="a"&&(l.aTagInScope=u),n==="button"&&(l.buttonTagInScope=u),n==="nobr"&&(l.nobrTagInScope=u),n==="p"&&(l.pTagInButtonScope=u),n==="li"&&(l.listItemTagAutoclosing=u),(n==="dd"||n==="dt")&&(l.dlItemTagAutoclosing=u),l};var Ik=function(t,n){switch(n){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 n!=="h1"&&n!=="h2"&&n!=="h3"&&n!=="h4"&&n!=="h5"&&n!=="h6";case"rp":case"rt":return Lk.indexOf(n)===-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 n==null}return!0},_k=function(t,n){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 n.pTagInButtonScope;case"form":return n.formTag||n.pTagInButtonScope;case"li":return n.listItemTagAutoclosing;case"dd":case"dt":return n.dlItemTagAutoclosing;case"button":return n.buttonTagInScope;case"a":return n.aTagInScope;case"nobr":return n.nobrTagInScope}return null},Ww={};Wh=function(t,n,l){l=l||Gw;var u=l.current,h=u&&u.tag;n!=null&&(t!=null&&d("validateDOMNesting: when childText is passed, childTag should be null"),t="#text");var g=Ik(t,h)?null:u,C=g?null:_k(t,l),O=g||C;if(O){var D=O.tag,H=!!g+"|"+t+"|"+D;if(!Ww[H]){Ww[H]=!0;var Q=t,Se="";if(t==="#text"?/\S/.test(n)?Q="Text nodes":(Q="Whitespace text nodes",Se=" Make sure you don't have any extra whitespace between tags on each line of your source code."):Q="<"+t+">",g){var ye="";D==="table"&&t==="tr"&&(ye+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),d("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",Q,D,Se,ye)}else d("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",Q,D)}}}}var Yy="suppressHydrationWarning",qy="$",Qy="/$",qh="$?",Qh="$!",Fk="style",y1=null,g1=null;function Vk(t){var n,l,u=t.nodeType;switch(u){case zi:case Hp:{n=u===zi?"#document":"#fragment";var h=t.documentElement;l=h?h.namespaceURI:zp(null,"");break}default:{var g=u===Dr?t.parentNode:t,C=g.namespaceURI||null;n=g.tagName,l=zp(C,n);break}}{var O=n.toLowerCase(),D=Yh(null,O);return{namespace:l,ancestorInfo:D}}}function jk(t,n,l){{var u=t,h=zp(u.namespace,n),g=Yh(u.ancestorInfo,n);return{namespace:h,ancestorInfo:g}}}function gU(t){return t}function Uk(t){y1=Vr(),g1=tk();var n=null;return Yr(!1),n}function Bk(t){nk(g1),Yr(y1),y1=null,g1=null}function zk(t,n,l,u,h){var g;{var C=u;if(Wh(t,null,C.ancestorInfo),typeof n.children=="string"||typeof n.children=="number"){var O=""+n.children,D=Yh(C.ancestorInfo,t);Wh(null,O,D)}g=C.namespace}var H=Ek(t,n,l,g);return Zh(h,H),R1(H,n),H}function Hk(t,n){t.appendChild(n)}function Gk(t,n,l,u,h){switch(Rk(t,n,l,u),n){case"button":case"input":case"select":case"textarea":return!!l.autoFocus;case"img":return!0;default:return!1}}function Wk(t,n,l,u,h,g){{var C=g;if(typeof u.children!=typeof l.children&&(typeof u.children=="string"||typeof u.children=="number")){var O=""+u.children,D=Yh(C.ancestorInfo,n);Wh(null,O,D)}}return Ok(t,n,l,u)}function b1(t,n){return t==="textarea"||t==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}function Yk(t,n,l,u){{var h=l;Wh(null,t,h.ancestorInfo)}var g=Tk(t,n);return Zh(u,g),g}function qk(){var t=window.event;return t===void 0?Ia:Cf(t.type)}var x1=typeof setTimeout=="function"?setTimeout:void 0,Qk=typeof clearTimeout=="function"?clearTimeout:void 0,S1=-1,Yw=typeof Promise=="function"?Promise:void 0,Xk=typeof queueMicrotask=="function"?queueMicrotask:typeof Yw<"u"?function(t){return Yw.resolve(null).then(t).catch(Kk)}:x1;function Kk(t){setTimeout(function(){throw t})}function Zk(t,n,l,u){switch(n){case"button":case"input":case"select":case"textarea":l.autoFocus&&t.focus();return;case"img":{l.src&&(t.src=l.src);return}}}function Jk(t,n,l,u,h,g){$k(t,n,l,u,h),R1(t,h)}function qw(t){Zs(t,"")}function eP(t,n,l){t.nodeValue=l}function tP(t,n){t.appendChild(n)}function nP(t,n){var l;t.nodeType===Dr?(l=t.parentNode,l.insertBefore(n,t)):(l=t,l.appendChild(n));var u=t._reactRootContainer;u==null&&l.onclick===null&&Wy(l)}function rP(t,n,l){t.insertBefore(n,l)}function oP(t,n,l){t.nodeType===Dr?t.parentNode.insertBefore(n,l):t.insertBefore(n,l)}function aP(t,n){t.removeChild(n)}function iP(t,n){t.nodeType===Dr?t.parentNode.removeChild(n):t.removeChild(n)}function C1(t,n){var l=n,u=0;do{var h=l.nextSibling;if(t.removeChild(l),h&&h.nodeType===Dr){var g=h.data;if(g===Qy)if(u===0){t.removeChild(h),Os(n);return}else u--;else(g===qy||g===qh||g===Qh)&&u++}l=h}while(l);Os(n)}function lP(t,n){t.nodeType===Dr?C1(t.parentNode,n):t.nodeType===Zo&&C1(t,n),Os(t)}function sP(t){t=t;var n=t.style;typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"}function uP(t){t.nodeValue=""}function cP(t,n){t=t;var l=n[Fk],u=l!=null&&l.hasOwnProperty("display")?l.display:null;t.style.display=Od("display",u)}function dP(t,n){t.nodeValue=n}function fP(t){t.nodeType===Zo?t.textContent="":t.nodeType===zi&&t.documentElement&&t.removeChild(t.documentElement)}function pP(t,n,l){return t.nodeType!==Zo||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t}function hP(t,n){return n===""||t.nodeType!==Bi?null:t}function mP(t){return t.nodeType!==Dr?null:t}function Qw(t){return t.data===qh}function w1(t){return t.data===Qh}function vP(t){var n=t.nextSibling&&t.nextSibling.dataset,l,u,h;return n&&(l=n.dgst,u=n.msg,h=n.stck),{message:u,digest:l,stack:h}}function yP(t,n){t._reactRetry=n}function Xy(t){for(;t!=null;t=t.nextSibling){var n=t.nodeType;if(n===Zo||n===Bi)break;if(n===Dr){var l=t.data;if(l===qy||l===Qh||l===qh)break;if(l===Qy)return null}}return t}function Xh(t){return Xy(t.nextSibling)}function gP(t){return Xy(t.firstChild)}function bP(t){return Xy(t.firstChild)}function xP(t){return Xy(t.nextSibling)}function SP(t,n,l,u,h,g,C){Zh(g,t),R1(t,l);var O;{var D=h;O=D.namespace}var H=(g.mode&hn)!==jt;return kk(t,n,l,O,u,H,C)}function CP(t,n,l,u){return Zh(l,t),l.mode&hn,Pk(t,n)}function wP(t,n){Zh(n,t)}function EP(t){for(var n=t.nextSibling,l=0;n;){if(n.nodeType===Dr){var u=n.data;if(u===Qy){if(l===0)return Xh(n);l--}else(u===qy||u===Qh||u===qh)&&l++}n=n.nextSibling}return null}function Xw(t){for(var n=t.previousSibling,l=0;n;){if(n.nodeType===Dr){var u=n.data;if(u===qy||u===Qh||u===qh){if(l===0)return n;l--}else u===Qy&&l++}n=n.previousSibling}return null}function TP(t){Os(t)}function RP(t){Os(t)}function OP(t){return t!=="head"&&t!=="body"}function $P(t,n,l,u){var h=!0;Gy(n.nodeValue,l,u,h)}function AP(t,n,l,u,h,g){if(n[Yy]!==!0){var C=!0;Gy(u.nodeValue,h,g,C)}}function kP(t,n){n.nodeType===Zo?p1(t,n):n.nodeType===Dr||h1(t,n)}function PP(t,n){{var l=t.parentNode;l!==null&&(n.nodeType===Zo?p1(l,n):n.nodeType===Dr||h1(l,n))}}function NP(t,n,l,u,h){(h||n[Yy]!==!0)&&(u.nodeType===Zo?p1(l,u):u.nodeType===Dr||h1(l,u))}function DP(t,n,l){m1(t,n)}function MP(t,n){v1(t,n)}function LP(t,n,l){{var u=t.parentNode;u!==null&&m1(u,n)}}function IP(t,n){{var l=t.parentNode;l!==null&&v1(l,n)}}function _P(t,n,l,u,h,g){(g||n[Yy]!==!0)&&m1(l,u)}function FP(t,n,l,u,h){(h||n[Yy]!==!0)&&v1(l,u)}function VP(t){d("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",t.nodeName.toLowerCase())}function jP(t){Bh(t)}var If=Math.random().toString(36).slice(2),_f="__reactFiber$"+If,E1="__reactProps$"+If,Kh="__reactContainer$"+If,T1="__reactEvents$"+If,UP="__reactListeners$"+If,BP="__reactHandles$"+If;function zP(t){delete t[_f],delete t[E1],delete t[T1],delete t[UP],delete t[BP]}function Zh(t,n){n[_f]=t}function Ky(t,n){n[Kh]=t}function Kw(t){t[Kh]=null}function Jh(t){return!!t[Kh]}function zc(t){var n=t[_f];if(n)return n;for(var l=t.parentNode;l;){if(n=l[Kh]||l[_f],n){var u=n.alternate;if(n.child!==null||u!==null&&u.child!==null)for(var h=Xw(t);h!==null;){var g=h[_f];if(g)return g;h=Xw(h)}return n}t=l,l=t.parentNode}return null}function Cu(t){var n=t[_f]||t[Kh];return n&&(n.tag===A||n.tag===L||n.tag===N||n.tag===w)?n:null}function Ff(t){if(t.tag===A||t.tag===L)return t.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Zy(t){return t[E1]||null}function R1(t,n){t[E1]=n}function HP(t){var n=t[T1];return n===void 0&&(n=t[T1]=new Set),n}var Zw={},Jw=i.ReactDebugCurrentFrame;function Jy(t){if(t){var n=t._owner,l=Xo(t.type,t._source,n?n.type:null);Jw.setExtraStackFrame(l)}else Jw.setExtraStackFrame(null)}function el(t,n,l,u,h){{var g=Function.call.bind(te);for(var C in t)if(g(t,C)){var O=void 0;try{if(typeof t[C]!="function"){var D=Error((u||"React class")+": "+l+" 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 D.name="Invariant Violation",D}O=t[C](n,C,u,l,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(H){O=H}O&&!(O instanceof Error)&&(Jy(h),d("%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).",u||"React class",l,C,typeof O),Jy(null)),O instanceof Error&&!(O.message in Zw)&&(Zw[O.message]=!0,Jy(h),d("Failed %s type: %s",l,O.message),Jy(null))}}}var O1=[],eg;eg=[];var Ds=-1;function wu(t){return{current:t}}function ua(t,n){if(Ds<0){d("Unexpected pop.");return}n!==eg[Ds]&&d("Unexpected Fiber popped."),t.current=O1[Ds],O1[Ds]=null,eg[Ds]=null,Ds--}function ca(t,n,l){Ds++,O1[Ds]=t.current,eg[Ds]=l,t.current=n}var $1;$1={};var ri={};Object.freeze(ri);var Ms=wu(ri),Fl=wu(!1),A1=ri;function Vf(t,n,l){return l&&Vl(n)?A1:Ms.current}function eE(t,n,l){{var u=t.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=n,u.__reactInternalMemoizedMaskedChildContext=l}}function jf(t,n){{var l=t.type,u=l.contextTypes;if(!u)return ri;var h=t.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===n)return h.__reactInternalMemoizedMaskedChildContext;var g={};for(var C in u)g[C]=n[C];{var O=rn(t)||"Unknown";el(u,g,"context",O)}return h&&eE(t,n,g),g}}function tg(){return Fl.current}function Vl(t){{var n=t.childContextTypes;return n!=null}}function ng(t){ua(Fl,t),ua(Ms,t)}function k1(t){ua(Fl,t),ua(Ms,t)}function tE(t,n,l){{if(Ms.current!==ri)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");ca(Ms,n,t),ca(Fl,l,t)}}function nE(t,n,l){{var u=t.stateNode,h=n.childContextTypes;if(typeof u.getChildContext!="function"){{var g=rn(t)||"Unknown";$1[g]||($1[g]=!0,d("%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.",g,g))}return l}var C=u.getChildContext();for(var O in C)if(!(O in h))throw new Error((rn(t)||"Unknown")+'.getChildContext(): key "'+O+'" is not defined in childContextTypes.');{var D=rn(t)||"Unknown";el(h,C,"child context",D)}return nn({},l,C)}}function rg(t){{var n=t.stateNode,l=n&&n.__reactInternalMemoizedMergedChildContext||ri;return A1=Ms.current,ca(Ms,l,t),ca(Fl,Fl.current,t),!0}}function rE(t,n,l){{var u=t.stateNode;if(!u)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(l){var h=nE(t,n,A1);u.__reactInternalMemoizedMergedChildContext=h,ua(Fl,t),ua(Ms,t),ca(Ms,h,t),ca(Fl,l,t)}else ua(Fl,t),ca(Fl,l,t)}}function GP(t){{if(!ps(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 n=t;do{switch(n.tag){case w:return n.stateNode.context;case S:{var l=n.type;if(Vl(l))return n.stateNode.__reactInternalMemoizedMergedChildContext;break}}n=n.return}while(n!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Eu=0,og=1,Ls=null,P1=!1,N1=!1;function oE(t){Ls===null?Ls=[t]:Ls.push(t)}function WP(t){P1=!0,oE(t)}function aE(){P1&&Tu()}function Tu(){if(!N1&&Ls!==null){N1=!0;var t=0,n=Fa();try{var l=!0,u=Ls;for(Fr(No);t<u.length;t++){var h=u[t];do h=h(l);while(h!==null)}Ls=null,P1=!1}catch(g){throw Ls!==null&&(Ls=Ls.slice(t+1)),nh(sc,Tu),g}finally{Fr(n),N1=!1}}return null}var Uf=[],Bf=0,ag=null,ig=0,Ri=[],Oi=0,Hc=null,Is=1,_s="";function YP(t){return Wc(),(t.flags&vi)!==Vt}function qP(t){return Wc(),ig}function QP(){var t=_s,n=Is,l=n&~XP(n);return l.toString(32)+t}function Gc(t,n){Wc(),Uf[Bf++]=ig,Uf[Bf++]=ag,ag=t,ig=n}function iE(t,n,l){Wc(),Ri[Oi++]=Is,Ri[Oi++]=_s,Ri[Oi++]=Hc,Hc=t;var u=Is,h=_s,g=lg(u)-1,C=u&~(1<<g),O=l+1,D=lg(n)+g;if(D>30){var H=g-g%5,Q=(1<<H)-1,Se=(C&Q).toString(32),ye=C>>H,Me=g-H,_e=lg(n)+Me,je=O<<Me,xt=je|ye,Ut=Se+h;Is=1<<_e|xt,_s=Ut}else{var It=O<<g,wn=It|C,gn=h;Is=1<<D|wn,_s=gn}}function D1(t){Wc();var n=t.return;if(n!==null){var l=1,u=0;Gc(t,l),iE(t,l,u)}}function lg(t){return 32-Ir(t)}function XP(t){return 1<<lg(t)-1}function M1(t){for(;t===ag;)ag=Uf[--Bf],Uf[Bf]=null,ig=Uf[--Bf],Uf[Bf]=null;for(;t===Hc;)Hc=Ri[--Oi],Ri[Oi]=null,_s=Ri[--Oi],Ri[Oi]=null,Is=Ri[--Oi],Ri[Oi]=null}function KP(){return Wc(),Hc!==null?{id:Is,overflow:_s}:null}function ZP(t,n){Wc(),Ri[Oi++]=Is,Ri[Oi++]=_s,Ri[Oi++]=Hc,Is=n.id,_s=n.overflow,Hc=t}function Wc(){_o()||d("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Io=null,$i=null,tl=!1,Yc=!1,Ru=null;function JP(){tl&&d("We should not be hydrating here. This is a bug in React. Please file a bug.")}function lE(){Yc=!0}function eN(){return Yc}function tN(t){var n=t.stateNode.containerInfo;return $i=bP(n),Io=t,tl=!0,Ru=null,Yc=!1,!0}function nN(t,n,l){return $i=xP(n),Io=t,tl=!0,Ru=null,Yc=!1,l!==null&&ZP(t,l),!0}function sE(t,n){switch(t.tag){case w:{kP(t.stateNode.containerInfo,n);break}case A:{var l=(t.mode&hn)!==jt;NP(t.type,t.memoizedProps,t.stateNode,n,l);break}case N:{var u=t.memoizedState;u.dehydrated!==null&&PP(u.dehydrated,n);break}}}function uE(t,n){sE(t,n);var l=i6();l.stateNode=n,l.return=t;var u=t.deletions;u===null?(t.deletions=[l],t.flags|=Pa):u.push(l)}function L1(t,n){{if(Yc)return;switch(t.tag){case w:{var l=t.stateNode.containerInfo;switch(n.tag){case A:var u=n.type;n.pendingProps,DP(l,u);break;case L:var h=n.pendingProps;MP(l,h);break}break}case A:{var g=t.type,C=t.memoizedProps,O=t.stateNode;switch(n.tag){case A:{var D=n.type,H=n.pendingProps,Q=(t.mode&hn)!==jt;_P(g,C,O,D,H,Q);break}case L:{var Se=n.pendingProps,ye=(t.mode&hn)!==jt;FP(g,C,O,Se,ye);break}}break}case N:{var Me=t.memoizedState,_e=Me.dehydrated;if(_e!==null)switch(n.tag){case A:var je=n.type;n.pendingProps,LP(_e,je);break;case L:var xt=n.pendingProps;IP(_e,xt);break}break}default:return}}}function cE(t,n){n.flags=n.flags&~ea|pr,L1(t,n)}function dE(t,n){switch(t.tag){case A:{var l=t.type;t.pendingProps;var u=pP(n,l);return u!==null?(t.stateNode=u,Io=t,$i=gP(u),!0):!1}case L:{var h=t.pendingProps,g=hP(n,h);return g!==null?(t.stateNode=g,Io=t,$i=null,!0):!1}case N:{var C=mP(n);if(C!==null){var O={dehydrated:C,treeContext:KP(),retryLane:oa};t.memoizedState=O;var D=l6(C);return D.return=t,t.child=D,Io=t,$i=null,!0}return!1}default:return!1}}function I1(t){return(t.mode&hn)!==jt&&(t.flags&Ft)===Vt}function _1(t){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function F1(t){if(tl){var n=$i;if(!n){I1(t)&&(L1(Io,t),_1()),cE(Io,t),tl=!1,Io=t;return}var l=n;if(!dE(t,n)){I1(t)&&(L1(Io,t),_1()),n=Xh(l);var u=Io;if(!n||!dE(t,n)){cE(Io,t),tl=!1,Io=t;return}uE(u,l)}}}function rN(t,n,l){var u=t.stateNode,h=!Yc,g=SP(u,t.type,t.memoizedProps,n,l,t,h);return t.updateQueue=g,g!==null}function oN(t){var n=t.stateNode,l=t.memoizedProps,u=CP(n,l,t);if(u){var h=Io;if(h!==null)switch(h.tag){case w:{var g=h.stateNode.containerInfo,C=(h.mode&hn)!==jt;$P(g,n,l,C);break}case A:{var O=h.type,D=h.memoizedProps,H=h.stateNode,Q=(h.mode&hn)!==jt;AP(O,D,H,n,l,Q);break}}}return u}function aN(t){var n=t.memoizedState,l=n!==null?n.dehydrated:null;if(!l)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");wP(l,t)}function iN(t){var n=t.memoizedState,l=n!==null?n.dehydrated:null;if(!l)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 EP(l)}function fE(t){for(var n=t.return;n!==null&&n.tag!==A&&n.tag!==w&&n.tag!==N;)n=n.return;Io=n}function sg(t){if(t!==Io)return!1;if(!tl)return fE(t),tl=!0,!1;if(t.tag!==w&&(t.tag!==A||OP(t.type)&&!b1(t.type,t.memoizedProps))){var n=$i;if(n)if(I1(t))pE(t),_1();else for(;n;)uE(t,n),n=Xh(n)}return fE(t),t.tag===N?$i=iN(t):$i=Io?Xh(t.stateNode):null,!0}function lN(){return tl&&$i!==null}function pE(t){for(var n=$i;n;)sE(t,n),n=Xh(n)}function zf(){Io=null,$i=null,tl=!1,Yc=!1}function hE(){Ru!==null&&(lR(Ru),Ru=null)}function _o(){return tl}function V1(t){Ru===null?Ru=[t]:Ru.push(t)}var sN=i.ReactCurrentBatchConfig,uN=null;function cN(){return sN.transition}var nl={recordUnsafeLifecycleWarnings:function(t,n){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(t,n){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var dN=function(t){for(var n=null,l=t;l!==null;)l.mode&zn&&(n=l),l=l.return;return n},qc=function(t){var n=[];return t.forEach(function(l){n.push(l)}),n.sort().join(", ")},em=[],tm=[],nm=[],rm=[],om=[],am=[],Qc=new Set;nl.recordUnsafeLifecycleWarnings=function(t,n){Qc.has(t.type)||(typeof n.componentWillMount=="function"&&n.componentWillMount.__suppressDeprecationWarning!==!0&&em.push(t),t.mode&zn&&typeof n.UNSAFE_componentWillMount=="function"&&tm.push(t),typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&nm.push(t),t.mode&zn&&typeof n.UNSAFE_componentWillReceiveProps=="function"&&rm.push(t),typeof n.componentWillUpdate=="function"&&n.componentWillUpdate.__suppressDeprecationWarning!==!0&&om.push(t),t.mode&zn&&typeof n.UNSAFE_componentWillUpdate=="function"&&am.push(t))},nl.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;em.length>0&&(em.forEach(function(ye){t.add(rn(ye)||"Component"),Qc.add(ye.type)}),em=[]);var n=new Set;tm.length>0&&(tm.forEach(function(ye){n.add(rn(ye)||"Component"),Qc.add(ye.type)}),tm=[]);var l=new Set;nm.length>0&&(nm.forEach(function(ye){l.add(rn(ye)||"Component"),Qc.add(ye.type)}),nm=[]);var u=new Set;rm.length>0&&(rm.forEach(function(ye){u.add(rn(ye)||"Component"),Qc.add(ye.type)}),rm=[]);var h=new Set;om.length>0&&(om.forEach(function(ye){h.add(rn(ye)||"Component"),Qc.add(ye.type)}),om=[]);var g=new Set;if(am.length>0&&(am.forEach(function(ye){g.add(rn(ye)||"Component"),Qc.add(ye.type)}),am=[]),n.size>0){var C=qc(n);d(`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.
|
|
2736
2736
|
|
|
2737
2737
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
2738
2738
|
|
|
@@ -2771,7 +2771,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`,h)}
|
|
|
2771
2771
|
1. You may be adding a ref to a function component
|
|
2772
2772
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
2773
2773
|
3. You have multiple copies of React loaded
|
|
2774
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function cg(t,n){var l=Object.prototype.toString.call(n);throw new Error("Objects are not valid as a React child (found: "+(l==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":l)+"). If you meant to render a collection of children, use an array instead.")}function dg(t){{var n=rn(t)||"Component";if(H1[n])return;H1[n]=!0,d("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 yE(t){var n=t._payload,l=t._init;return l(n)}function gE(t){function n(ke,Ue){if(t){var Pe=ke.deletions;Pe===null?(ke.deletions=[Ue],ke.flags|=Pa):Pe.push(Ue)}}function l(ke,Ue){if(!t)return null;for(var Pe=Ue;Pe!==null;)n(ke,Pe),Pe=Pe.sibling;return null}function u(ke,Ue){for(var Pe=new Map,tt=Ue;tt!==null;)tt.key!==null?Pe.set(tt.key,tt):Pe.set(tt.index,tt),tt=tt.sibling;return Pe}function h(ke,Ue){var Pe=od(ke,Ue);return Pe.index=0,Pe.sibling=null,Pe}function g(ke,Ue,Pe){if(ke.index=Pe,!t)return ke.flags|=vi,Ue;var tt=ke.alternate;if(tt!==null){var Rt=tt.index;return Rt<Ue?(ke.flags|=pr,Ue):Rt}else return ke.flags|=pr,Ue}function C(ke){return t&&ke.alternate===null&&(ke.flags|=pr),ke}function O(ke,Ue,Pe,tt){if(Ue===null||Ue.tag!==L){var Rt=VS(Pe,ke.mode,tt);return Rt.return=ke,Rt}else{var Ct=h(Ue,Pe);return Ct.return=ke,Ct}}function D(ke,Ue,Pe,tt){var Rt=Pe.type;if(Rt===bn)return Q(ke,Ue,Pe.props.children,tt,Pe.key);if(Ue!==null&&(Ue.elementType===Rt||wR(Ue,Pe)||typeof Rt=="object"&&Rt!==null&&Rt.$$typeof===Wt&&yE(Rt)===Ue.type)){var Ct=h(Ue,Pe.props);return Ct.ref=im(ke,Ue,Pe),Ct.return=ke,Ct._debugSource=Pe._source,Ct._debugOwner=Pe._owner,Ct}var Qt=FS(Pe,ke.mode,tt);return Qt.ref=im(ke,Ue,Pe),Qt.return=ke,Qt}function H(ke,Ue,Pe,tt){if(Ue===null||Ue.tag!==R||Ue.stateNode.containerInfo!==Pe.containerInfo||Ue.stateNode.implementation!==Pe.implementation){var Rt=jS(Pe,ke.mode,tt);return Rt.return=ke,Rt}else{var Ct=h(Ue,Pe.children||[]);return Ct.return=ke,Ct}}function Q(ke,Ue,Pe,tt,Rt){if(Ue===null||Ue.tag!==P){var Ct=_u(Pe,ke.mode,tt,Rt);return Ct.return=ke,Ct}else{var Qt=h(Ue,Pe);return Qt.return=ke,Qt}}function Se(ke,Ue,Pe){if(typeof Ue=="string"&&Ue!==""||typeof Ue=="number"){var tt=VS(""+Ue,ke.mode,Pe);return tt.return=ke,tt}if(typeof Ue=="object"&&Ue!==null){switch(Ue.$$typeof){case dn:{var Rt=FS(Ue,ke.mode,Pe);return Rt.ref=im(ke,null,Ue),Rt.return=ke,Rt}case zt:{var Ct=jS(Ue,ke.mode,Pe);return Ct.return=ke,Ct}case Wt:{var Qt=Ue._payload,tn=Ue._init;return Se(ke,tn(Qt),Pe)}}if(fo(Ue)||Xt(Ue)){var Gn=_u(Ue,ke.mode,Pe,null);return Gn.return=ke,Gn}cg(ke,Ue)}return typeof Ue=="function"&&dg(ke),null}function ye(ke,Ue,Pe,tt){var Rt=Ue!==null?Ue.key:null;if(typeof Pe=="string"&&Pe!==""||typeof Pe=="number")return Rt!==null?null:O(ke,Ue,""+Pe,tt);if(typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case dn:return Pe.key===Rt?D(ke,Ue,Pe,tt):null;case zt:return Pe.key===Rt?H(ke,Ue,Pe,tt):null;case Wt:{var Ct=Pe._payload,Qt=Pe._init;return ye(ke,Ue,Qt(Ct),tt)}}if(fo(Pe)||Xt(Pe))return Rt!==null?null:Q(ke,Ue,Pe,tt,null);cg(ke,Pe)}return typeof Pe=="function"&&dg(ke),null}function Me(ke,Ue,Pe,tt,Rt){if(typeof tt=="string"&&tt!==""||typeof tt=="number"){var Ct=ke.get(Pe)||null;return O(Ue,Ct,""+tt,Rt)}if(typeof tt=="object"&&tt!==null){switch(tt.$$typeof){case dn:{var Qt=ke.get(tt.key===null?Pe:tt.key)||null;return D(Ue,Qt,tt,Rt)}case zt:{var tn=ke.get(tt.key===null?Pe:tt.key)||null;return H(Ue,tn,tt,Rt)}case Wt:var Gn=tt._payload,Pn=tt._init;return Me(ke,Ue,Pe,Pn(Gn),Rt)}if(fo(tt)||Xt(tt)){var qr=ke.get(Pe)||null;return Q(Ue,qr,tt,Rt,null)}cg(Ue,tt)}return typeof tt=="function"&&dg(Ue),null}function _e(ke,Ue,Pe){{if(typeof ke!="object"||ke===null)return Ue;switch(ke.$$typeof){case dn:case zt:vE(ke,Pe);var tt=ke.key;if(typeof tt!="string")break;if(Ue===null){Ue=new Set,Ue.add(tt);break}if(!Ue.has(tt)){Ue.add(tt);break}d("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.",tt);break;case Wt:var Rt=ke._payload,Ct=ke._init;_e(Ct(Rt),Ue,Pe);break}}return Ue}function je(ke,Ue,Pe,tt){for(var Rt=null,Ct=0;Ct<Pe.length;Ct++){var Qt=Pe[Ct];Rt=_e(Qt,Rt,ke)}for(var tn=null,Gn=null,Pn=Ue,qr=0,Nn=0,Ur=null;Pn!==null&&Nn<Pe.length;Nn++){Pn.index>Nn?(Ur=Pn,Pn=null):Ur=Pn.sibling;var fa=ye(ke,Pn,Pe[Nn],tt);if(fa===null){Pn===null&&(Pn=Ur);break}t&&Pn&&fa.alternate===null&&n(ke,Pn),qr=g(fa,qr,Nn),Gn===null?tn=fa:Gn.sibling=fa,Gn=fa,Pn=Ur}if(Nn===Pe.length){if(l(ke,Pn),_o()){var Ho=Nn;Gc(ke,Ho)}return tn}if(Pn===null){for(;Nn<Pe.length;Nn++){var oi=Se(ke,Pe[Nn],tt);oi!==null&&(qr=g(oi,qr,Nn),Gn===null?tn=oi:Gn.sibling=oi,Gn=oi)}if(_o()){var Ra=Nn;Gc(ke,Ra)}return tn}for(var Oa=u(ke,Pn);Nn<Pe.length;Nn++){var pa=Me(Oa,ke,Nn,Pe[Nn],tt);pa!==null&&(t&&pa.alternate!==null&&Oa.delete(pa.key===null?Nn:pa.key),qr=g(pa,qr,Nn),Gn===null?tn=pa:Gn.sibling=pa,Gn=pa)}if(t&&Oa.forEach(function(sp){return n(ke,sp)}),_o()){var Hs=Nn;Gc(ke,Hs)}return tn}function xt(ke,Ue,Pe,tt){var Rt=Xt(Pe);if(typeof Rt!="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"&&Pe[Symbol.toStringTag]==="Generator"&&(U1||d("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."),U1=!0),Pe.entries===Rt&&(j1||d("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),j1=!0);var Ct=Rt.call(Pe);if(Ct)for(var Qt=null,tn=Ct.next();!tn.done;tn=Ct.next()){var Gn=tn.value;Qt=_e(Gn,Qt,ke)}}var Pn=Rt.call(Pe);if(Pn==null)throw new Error("An iterable object provided no iterator.");for(var qr=null,Nn=null,Ur=Ue,fa=0,Ho=0,oi=null,Ra=Pn.next();Ur!==null&&!Ra.done;Ho++,Ra=Pn.next()){Ur.index>Ho?(oi=Ur,Ur=null):oi=Ur.sibling;var Oa=ye(ke,Ur,Ra.value,tt);if(Oa===null){Ur===null&&(Ur=oi);break}t&&Ur&&Oa.alternate===null&&n(ke,Ur),fa=g(Oa,fa,Ho),Nn===null?qr=Oa:Nn.sibling=Oa,Nn=Oa,Ur=oi}if(Ra.done){if(l(ke,Ur),_o()){var pa=Ho;Gc(ke,pa)}return qr}if(Ur===null){for(;!Ra.done;Ho++,Ra=Pn.next()){var Hs=Se(ke,Ra.value,tt);Hs!==null&&(fa=g(Hs,fa,Ho),Nn===null?qr=Hs:Nn.sibling=Hs,Nn=Hs)}if(_o()){var sp=Ho;Gc(ke,sp)}return qr}for(var Fm=u(ke,Ur);!Ra.done;Ho++,Ra=Pn.next()){var Yl=Me(Fm,ke,Ho,Ra.value,tt);Yl!==null&&(t&&Yl.alternate!==null&&Fm.delete(Yl.key===null?Ho:Yl.key),fa=g(Yl,fa,Ho),Nn===null?qr=Yl:Nn.sibling=Yl,Nn=Yl)}if(t&&Fm.forEach(function(F6){return n(ke,F6)}),_o()){var _6=Ho;Gc(ke,_6)}return qr}function Ut(ke,Ue,Pe,tt){if(Ue!==null&&Ue.tag===L){l(ke,Ue.sibling);var Rt=h(Ue,Pe);return Rt.return=ke,Rt}l(ke,Ue);var Ct=VS(Pe,ke.mode,tt);return Ct.return=ke,Ct}function It(ke,Ue,Pe,tt){for(var Rt=Pe.key,Ct=Ue;Ct!==null;){if(Ct.key===Rt){var Qt=Pe.type;if(Qt===bn){if(Ct.tag===P){l(ke,Ct.sibling);var tn=h(Ct,Pe.props.children);return tn.return=ke,tn._debugSource=Pe._source,tn._debugOwner=Pe._owner,tn}}else if(Ct.elementType===Qt||wR(Ct,Pe)||typeof Qt=="object"&&Qt!==null&&Qt.$$typeof===Wt&&yE(Qt)===Ct.type){l(ke,Ct.sibling);var Gn=h(Ct,Pe.props);return Gn.ref=im(ke,Ct,Pe),Gn.return=ke,Gn._debugSource=Pe._source,Gn._debugOwner=Pe._owner,Gn}l(ke,Ct);break}else n(ke,Ct);Ct=Ct.sibling}if(Pe.type===bn){var Pn=_u(Pe.props.children,ke.mode,tt,Pe.key);return Pn.return=ke,Pn}else{var qr=FS(Pe,ke.mode,tt);return qr.ref=im(ke,Ue,Pe),qr.return=ke,qr}}function wn(ke,Ue,Pe,tt){for(var Rt=Pe.key,Ct=Ue;Ct!==null;){if(Ct.key===Rt)if(Ct.tag===R&&Ct.stateNode.containerInfo===Pe.containerInfo&&Ct.stateNode.implementation===Pe.implementation){l(ke,Ct.sibling);var Qt=h(Ct,Pe.children||[]);return Qt.return=ke,Qt}else{l(ke,Ct);break}else n(ke,Ct);Ct=Ct.sibling}var tn=jS(Pe,ke.mode,tt);return tn.return=ke,tn}function gn(ke,Ue,Pe,tt){var Rt=typeof Pe=="object"&&Pe!==null&&Pe.type===bn&&Pe.key===null;if(Rt&&(Pe=Pe.props.children),typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case dn:return C(It(ke,Ue,Pe,tt));case zt:return C(wn(ke,Ue,Pe,tt));case Wt:var Ct=Pe._payload,Qt=Pe._init;return gn(ke,Ue,Qt(Ct),tt)}if(fo(Pe))return je(ke,Ue,Pe,tt);if(Xt(Pe))return xt(ke,Ue,Pe,tt);cg(ke,Pe)}return typeof Pe=="string"&&Pe!==""||typeof Pe=="number"?C(Ut(ke,Ue,""+Pe,tt)):(typeof Pe=="function"&&dg(ke),l(ke,Ue))}return gn}var Hf=gE(!0),bE=gE(!1);function pN(t,n){if(t!==null&&n.child!==t.child)throw new Error("Resuming work not yet implemented.");if(n.child!==null){var l=n.child,u=od(l,l.pendingProps);for(n.child=u,u.return=n;l.sibling!==null;)l=l.sibling,u=u.sibling=od(l,l.pendingProps),u.return=n;u.sibling=null}}function hN(t,n){for(var l=t.child;l!==null;)t6(l,n),l=l.sibling}var G1=wu(null),W1;W1={};var fg=null,Gf=null,Y1=null,pg=!1;function hg(){fg=null,Gf=null,Y1=null,pg=!1}function xE(){pg=!0}function SE(){pg=!1}function CE(t,n,l){ca(G1,n._currentValue,t),n._currentValue=l,n._currentRenderer!==void 0&&n._currentRenderer!==null&&n._currentRenderer!==W1&&d("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer=W1}function q1(t,n){var l=G1.current;ua(G1,n),t._currentValue=l}function Q1(t,n,l){for(var u=t;u!==null;){var h=u.alternate;if(Rs(u.childLanes,n)?h!==null&&!Rs(h.childLanes,n)&&(h.childLanes=on(h.childLanes,n)):(u.childLanes=on(u.childLanes,n),h!==null&&(h.childLanes=on(h.childLanes,n))),u===l)break;u=u.return}u!==l&&d("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 mN(t,n,l){vN(t,n,l)}function vN(t,n,l){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var h=void 0,g=u.dependencies;if(g!==null){h=u.child;for(var C=g.firstContext;C!==null;){if(C.context===n){if(u.tag===S){var O=Cc(l),D=Fs(Kn,O);D.tag=vg;var H=u.updateQueue;if(H!==null){var Q=H.shared,Se=Q.pending;Se===null?D.next=D:(D.next=Se.next,Se.next=D),Q.pending=D}}u.lanes=on(u.lanes,l);var ye=u.alternate;ye!==null&&(ye.lanes=on(ye.lanes,l)),Q1(u.return,l,t),g.lanes=on(g.lanes,l);break}C=C.next}}else if(u.tag===Y)h=u.type===t.type?null:u.child;else if(u.tag===M){var Me=u.return;if(Me===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");Me.lanes=on(Me.lanes,l);var _e=Me.alternate;_e!==null&&(_e.lanes=on(_e.lanes,l)),Q1(Me,l,t),h=u.sibling}else h=u.child;if(h!==null)h.return=u;else for(h=u;h!==null;){if(h===t){h=null;break}var je=h.sibling;if(je!==null){je.return=h.return,h=je;break}h=h.return}u=h}}function Wf(t,n){fg=t,Gf=null,Y1=null;var l=t.dependencies;if(l!==null){var u=l.firstContext;u!==null&&(aa(l.lanes,n)&&Sm(),l.firstContext=null)}}function ro(t){pg&&d("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 n=t._currentValue;if(Y1!==t){var l={context:t,memoizedValue:n,next:null};if(Gf===null){if(fg===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().");Gf=l,fg.dependencies={lanes:Xe,firstContext:l}}else Gf=Gf.next=l}return n}var Xc=null;function X1(t){Xc===null?Xc=[t]:Xc.push(t)}function yN(){if(Xc!==null){for(var t=0;t<Xc.length;t++){var n=Xc[t],l=n.interleaved;if(l!==null){n.interleaved=null;var u=l.next,h=n.pending;if(h!==null){var g=h.next;h.next=u,l.next=g}n.pending=l}}Xc=null}}function wE(t,n,l,u){var h=n.interleaved;return h===null?(l.next=l,X1(n)):(l.next=h.next,h.next=l),n.interleaved=l,mg(t,u)}function gN(t,n,l,u){var h=n.interleaved;h===null?(l.next=l,X1(n)):(l.next=h.next,h.next=l),n.interleaved=l}function bN(t,n,l,u){var h=n.interleaved;return h===null?(l.next=l,X1(n)):(l.next=h.next,h.next=l),n.interleaved=l,mg(t,u)}function Ua(t,n){return mg(t,n)}var xN=mg;function mg(t,n){t.lanes=on(t.lanes,n);var l=t.alternate;l!==null&&(l.lanes=on(l.lanes,n)),l===null&&(t.flags&(pr|ea))!==Vt&&bR(t);for(var u=t,h=t.return;h!==null;)h.childLanes=on(h.childLanes,n),l=h.alternate,l!==null?l.childLanes=on(l.childLanes,n):(h.flags&(pr|ea))!==Vt&&bR(t),u=h,h=h.return;if(u.tag===w){var g=u.stateNode;return g}else return null}var EE=0,TE=1,vg=2,K1=3,yg=!1,Z1,gg;Z1=!1,gg=null;function J1(t){var n={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Xe},effects:null};t.updateQueue=n}function RE(t,n){var l=n.updateQueue,u=t.updateQueue;if(l===u){var h={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};n.updateQueue=h}}function Fs(t,n){var l={eventTime:t,lane:n,tag:EE,payload:null,callback:null,next:null};return l}function Ou(t,n,l){var u=t.updateQueue;if(u===null)return null;var h=u.shared;if(gg===h&&!Z1&&(d("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."),Z1=!0),gD()){var g=h.pending;return g===null?n.next=n:(n.next=g.next,g.next=n),h.pending=n,xN(t,l)}else return bN(t,h,n,l)}function bg(t,n,l){var u=n.updateQueue;if(u!==null){var h=u.shared;if(bh(l)){var g=h.lanes;g=Sh(g,t.pendingLanes);var C=on(g,l);h.lanes=C,gf(t,C)}}}function ex(t,n){var l=t.updateQueue,u=t.alternate;if(u!==null){var h=u.updateQueue;if(l===h){var g=null,C=null,O=l.firstBaseUpdate;if(O!==null){var D=O;do{var H={eventTime:D.eventTime,lane:D.lane,tag:D.tag,payload:D.payload,callback:D.callback,next:null};C===null?g=C=H:(C.next=H,C=H),D=D.next}while(D!==null);C===null?g=C=n:(C.next=n,C=n)}else g=C=n;l={baseState:h.baseState,firstBaseUpdate:g,lastBaseUpdate:C,shared:h.shared,effects:h.effects},t.updateQueue=l;return}}var Q=l.lastBaseUpdate;Q===null?l.firstBaseUpdate=n:Q.next=n,l.lastBaseUpdate=n}function SN(t,n,l,u,h,g){switch(l.tag){case TE:{var C=l.payload;if(typeof C=="function"){xE();var O=C.call(g,u,h);{if(t.mode&zn){hr(!0);try{C.call(g,u,h)}finally{hr(!1)}}SE()}return O}return C}case K1:t.flags=t.flags&~Jr|Ft;case EE:{var D=l.payload,H;if(typeof D=="function"){xE(),H=D.call(g,u,h);{if(t.mode&zn){hr(!0);try{D.call(g,u,h)}finally{hr(!1)}}SE()}}else H=D;return H==null?u:nn({},u,H)}case vg:return yg=!0,u}return u}function xg(t,n,l,u){var h=t.updateQueue;yg=!1,gg=h.shared;var g=h.firstBaseUpdate,C=h.lastBaseUpdate,O=h.shared.pending;if(O!==null){h.shared.pending=null;var D=O,H=D.next;D.next=null,C===null?g=H:C.next=H,C=D;var Q=t.alternate;if(Q!==null){var Se=Q.updateQueue,ye=Se.lastBaseUpdate;ye!==C&&(ye===null?Se.firstBaseUpdate=H:ye.next=H,Se.lastBaseUpdate=D)}}if(g!==null){var Me=h.baseState,_e=Xe,je=null,xt=null,Ut=null,It=g;do{var wn=It.lane,gn=It.eventTime;if(Rs(u,wn)){if(Ut!==null){var Ue={eventTime:gn,lane:En,tag:It.tag,payload:It.payload,callback:It.callback,next:null};Ut=Ut.next=Ue}Me=SN(t,h,It,Me,n,l);var Pe=It.callback;if(Pe!==null&&It.lane!==En){t.flags|=er;var tt=h.effects;tt===null?h.effects=[It]:tt.push(It)}}else{var ke={eventTime:gn,lane:wn,tag:It.tag,payload:It.payload,callback:It.callback,next:null};Ut===null?(xt=Ut=ke,je=Me):Ut=Ut.next=ke,_e=on(_e,wn)}if(It=It.next,It===null){if(O=h.shared.pending,O===null)break;var Rt=O,Ct=Rt.next;Rt.next=null,It=Ct,h.lastBaseUpdate=Rt,h.shared.pending=null}}while(!0);Ut===null&&(je=Me),h.baseState=je,h.firstBaseUpdate=xt,h.lastBaseUpdate=Ut;var Qt=h.shared.interleaved;if(Qt!==null){var tn=Qt;do _e=on(_e,tn.lane),tn=tn.next;while(tn!==Qt)}else g===null&&(h.shared.lanes=Xe);Dm(_e),t.lanes=_e,t.memoizedState=Me}gg=null}function CN(t,n){if(typeof t!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+t));t.call(n)}function OE(){yg=!1}function Sg(){return yg}function $E(t,n,l){var u=n.effects;if(n.effects=null,u!==null)for(var h=0;h<u.length;h++){var g=u[h],C=g.callback;C!==null&&(g.callback=null,CN(C,l))}}var lm={},$u=wu(lm),sm=wu(lm),Cg=wu(lm);function wg(t){if(t===lm)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 AE(){var t=wg(Cg.current);return t}function tx(t,n){ca(Cg,n,t),ca(sm,t,t),ca($u,lm,t);var l=Vk(n);ua($u,t),ca($u,l,t)}function Yf(t){ua($u,t),ua(sm,t),ua(Cg,t)}function nx(){var t=wg($u.current);return t}function kE(t){wg(Cg.current);var n=wg($u.current),l=jk(n,t.type);n!==l&&(ca(sm,t,t),ca($u,l,t))}function rx(t){sm.current===t&&(ua($u,t),ua(sm,t))}var wN=0,PE=1,NE=1,um=2,rl=wu(wN);function ox(t,n){return(t&n)!==0}function qf(t){return t&PE}function ax(t,n){return t&PE|n}function EN(t,n){return t|n}function Au(t,n){ca(rl,n,t)}function Qf(t){ua(rl,t)}function TN(t,n){var l=t.memoizedState;return l!==null?l.dehydrated!==null:(t.memoizedProps,!0)}function Eg(t){for(var n=t;n!==null;){if(n.tag===N){var l=n.memoizedState;if(l!==null){var u=l.dehydrated;if(u===null||Qw(u)||w1(u))return n}}else if(n.tag===se&&n.memoizedProps.revealOrder!==void 0){var h=(n.flags&Ft)!==Vt;if(h)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)return null;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Ba=0,yo=1,jl=2,go=4,Fo=8,ix=[];function lx(){for(var t=0;t<ix.length;t++){var n=ix[t];n._workInProgressVersionPrimary=null}ix.length=0}function RN(t,n){var l=n._getVersion,u=l(n._source);t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,u]:t.mutableSourceEagerHydrationData.push(n,u)}var Et=i.ReactCurrentDispatcher,cm=i.ReactCurrentBatchConfig,sx,Xf;sx=new Set;var Kc=Xe,Hn=null,bo=null,xo=null,Tg=!1,dm=!1,fm=0,ON=0,$N=25,Ge=null,Ai=null,ku=-1,ux=!1;function _n(){{var t=Ge;Ai===null?Ai=[t]:Ai.push(t)}}function gt(){{var t=Ge;Ai!==null&&(ku++,Ai[ku]!==t&&AN(t))}}function Kf(t){t!=null&&!fo(t)&&d("%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 AN(t){{var n=rn(Hn);if(!sx.has(n)&&(sx.add(n),Ai!==null)){for(var l="",u=30,h=0;h<=ku;h++){for(var g=Ai[h],C=h===ku?t:g,O=h+1+". "+g;O.length<u;)O+=" ";O+=C+`
|
|
2774
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function cg(t,n){var l=Object.prototype.toString.call(n);throw new Error("Objects are not valid as a React child (found: "+(l==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":l)+"). If you meant to render a collection of children, use an array instead.")}function dg(t){{var n=rn(t)||"Component";if(H1[n])return;H1[n]=!0,d("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 yE(t){var n=t._payload,l=t._init;return l(n)}function gE(t){function n(ke,Ue){if(t){var Pe=ke.deletions;Pe===null?(ke.deletions=[Ue],ke.flags|=Pa):Pe.push(Ue)}}function l(ke,Ue){if(!t)return null;for(var Pe=Ue;Pe!==null;)n(ke,Pe),Pe=Pe.sibling;return null}function u(ke,Ue){for(var Pe=new Map,tt=Ue;tt!==null;)tt.key!==null?Pe.set(tt.key,tt):Pe.set(tt.index,tt),tt=tt.sibling;return Pe}function h(ke,Ue){var Pe=od(ke,Ue);return Pe.index=0,Pe.sibling=null,Pe}function g(ke,Ue,Pe){if(ke.index=Pe,!t)return ke.flags|=vi,Ue;var tt=ke.alternate;if(tt!==null){var Rt=tt.index;return Rt<Ue?(ke.flags|=pr,Ue):Rt}else return ke.flags|=pr,Ue}function C(ke){return t&&ke.alternate===null&&(ke.flags|=pr),ke}function O(ke,Ue,Pe,tt){if(Ue===null||Ue.tag!==L){var Rt=VS(Pe,ke.mode,tt);return Rt.return=ke,Rt}else{var Ct=h(Ue,Pe);return Ct.return=ke,Ct}}function D(ke,Ue,Pe,tt){var Rt=Pe.type;if(Rt===bn)return Q(ke,Ue,Pe.props.children,tt,Pe.key);if(Ue!==null&&(Ue.elementType===Rt||wR(Ue,Pe)||typeof Rt=="object"&&Rt!==null&&Rt.$$typeof===Wt&&yE(Rt)===Ue.type)){var Ct=h(Ue,Pe.props);return Ct.ref=im(ke,Ue,Pe),Ct.return=ke,Ct._debugSource=Pe._source,Ct._debugOwner=Pe._owner,Ct}var Qt=FS(Pe,ke.mode,tt);return Qt.ref=im(ke,Ue,Pe),Qt.return=ke,Qt}function H(ke,Ue,Pe,tt){if(Ue===null||Ue.tag!==R||Ue.stateNode.containerInfo!==Pe.containerInfo||Ue.stateNode.implementation!==Pe.implementation){var Rt=jS(Pe,ke.mode,tt);return Rt.return=ke,Rt}else{var Ct=h(Ue,Pe.children||[]);return Ct.return=ke,Ct}}function Q(ke,Ue,Pe,tt,Rt){if(Ue===null||Ue.tag!==P){var Ct=_u(Pe,ke.mode,tt,Rt);return Ct.return=ke,Ct}else{var Qt=h(Ue,Pe);return Qt.return=ke,Qt}}function Se(ke,Ue,Pe){if(typeof Ue=="string"&&Ue!==""||typeof Ue=="number"){var tt=VS(""+Ue,ke.mode,Pe);return tt.return=ke,tt}if(typeof Ue=="object"&&Ue!==null){switch(Ue.$$typeof){case dn:{var Rt=FS(Ue,ke.mode,Pe);return Rt.ref=im(ke,null,Ue),Rt.return=ke,Rt}case zt:{var Ct=jS(Ue,ke.mode,Pe);return Ct.return=ke,Ct}case Wt:{var Qt=Ue._payload,tn=Ue._init;return Se(ke,tn(Qt),Pe)}}if(fo(Ue)||Xt(Ue)){var Gn=_u(Ue,ke.mode,Pe,null);return Gn.return=ke,Gn}cg(ke,Ue)}return typeof Ue=="function"&&dg(ke),null}function ye(ke,Ue,Pe,tt){var Rt=Ue!==null?Ue.key:null;if(typeof Pe=="string"&&Pe!==""||typeof Pe=="number")return Rt!==null?null:O(ke,Ue,""+Pe,tt);if(typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case dn:return Pe.key===Rt?D(ke,Ue,Pe,tt):null;case zt:return Pe.key===Rt?H(ke,Ue,Pe,tt):null;case Wt:{var Ct=Pe._payload,Qt=Pe._init;return ye(ke,Ue,Qt(Ct),tt)}}if(fo(Pe)||Xt(Pe))return Rt!==null?null:Q(ke,Ue,Pe,tt,null);cg(ke,Pe)}return typeof Pe=="function"&&dg(ke),null}function Me(ke,Ue,Pe,tt,Rt){if(typeof tt=="string"&&tt!==""||typeof tt=="number"){var Ct=ke.get(Pe)||null;return O(Ue,Ct,""+tt,Rt)}if(typeof tt=="object"&&tt!==null){switch(tt.$$typeof){case dn:{var Qt=ke.get(tt.key===null?Pe:tt.key)||null;return D(Ue,Qt,tt,Rt)}case zt:{var tn=ke.get(tt.key===null?Pe:tt.key)||null;return H(Ue,tn,tt,Rt)}case Wt:var Gn=tt._payload,Pn=tt._init;return Me(ke,Ue,Pe,Pn(Gn),Rt)}if(fo(tt)||Xt(tt)){var qr=ke.get(Pe)||null;return Q(Ue,qr,tt,Rt,null)}cg(Ue,tt)}return typeof tt=="function"&&dg(Ue),null}function _e(ke,Ue,Pe){{if(typeof ke!="object"||ke===null)return Ue;switch(ke.$$typeof){case dn:case zt:vE(ke,Pe);var tt=ke.key;if(typeof tt!="string")break;if(Ue===null){Ue=new Set,Ue.add(tt);break}if(!Ue.has(tt)){Ue.add(tt);break}d("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.",tt);break;case Wt:var Rt=ke._payload,Ct=ke._init;_e(Ct(Rt),Ue,Pe);break}}return Ue}function je(ke,Ue,Pe,tt){for(var Rt=null,Ct=0;Ct<Pe.length;Ct++){var Qt=Pe[Ct];Rt=_e(Qt,Rt,ke)}for(var tn=null,Gn=null,Pn=Ue,qr=0,Nn=0,Ur=null;Pn!==null&&Nn<Pe.length;Nn++){Pn.index>Nn?(Ur=Pn,Pn=null):Ur=Pn.sibling;var fa=ye(ke,Pn,Pe[Nn],tt);if(fa===null){Pn===null&&(Pn=Ur);break}t&&Pn&&fa.alternate===null&&n(ke,Pn),qr=g(fa,qr,Nn),Gn===null?tn=fa:Gn.sibling=fa,Gn=fa,Pn=Ur}if(Nn===Pe.length){if(l(ke,Pn),_o()){var Ho=Nn;Gc(ke,Ho)}return tn}if(Pn===null){for(;Nn<Pe.length;Nn++){var ai=Se(ke,Pe[Nn],tt);ai!==null&&(qr=g(ai,qr,Nn),Gn===null?tn=ai:Gn.sibling=ai,Gn=ai)}if(_o()){var Ra=Nn;Gc(ke,Ra)}return tn}for(var Oa=u(ke,Pn);Nn<Pe.length;Nn++){var pa=Me(Oa,ke,Nn,Pe[Nn],tt);pa!==null&&(t&&pa.alternate!==null&&Oa.delete(pa.key===null?Nn:pa.key),qr=g(pa,qr,Nn),Gn===null?tn=pa:Gn.sibling=pa,Gn=pa)}if(t&&Oa.forEach(function(sp){return n(ke,sp)}),_o()){var Hs=Nn;Gc(ke,Hs)}return tn}function xt(ke,Ue,Pe,tt){var Rt=Xt(Pe);if(typeof Rt!="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"&&Pe[Symbol.toStringTag]==="Generator"&&(U1||d("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."),U1=!0),Pe.entries===Rt&&(j1||d("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),j1=!0);var Ct=Rt.call(Pe);if(Ct)for(var Qt=null,tn=Ct.next();!tn.done;tn=Ct.next()){var Gn=tn.value;Qt=_e(Gn,Qt,ke)}}var Pn=Rt.call(Pe);if(Pn==null)throw new Error("An iterable object provided no iterator.");for(var qr=null,Nn=null,Ur=Ue,fa=0,Ho=0,ai=null,Ra=Pn.next();Ur!==null&&!Ra.done;Ho++,Ra=Pn.next()){Ur.index>Ho?(ai=Ur,Ur=null):ai=Ur.sibling;var Oa=ye(ke,Ur,Ra.value,tt);if(Oa===null){Ur===null&&(Ur=ai);break}t&&Ur&&Oa.alternate===null&&n(ke,Ur),fa=g(Oa,fa,Ho),Nn===null?qr=Oa:Nn.sibling=Oa,Nn=Oa,Ur=ai}if(Ra.done){if(l(ke,Ur),_o()){var pa=Ho;Gc(ke,pa)}return qr}if(Ur===null){for(;!Ra.done;Ho++,Ra=Pn.next()){var Hs=Se(ke,Ra.value,tt);Hs!==null&&(fa=g(Hs,fa,Ho),Nn===null?qr=Hs:Nn.sibling=Hs,Nn=Hs)}if(_o()){var sp=Ho;Gc(ke,sp)}return qr}for(var Fm=u(ke,Ur);!Ra.done;Ho++,Ra=Pn.next()){var Yl=Me(Fm,ke,Ho,Ra.value,tt);Yl!==null&&(t&&Yl.alternate!==null&&Fm.delete(Yl.key===null?Ho:Yl.key),fa=g(Yl,fa,Ho),Nn===null?qr=Yl:Nn.sibling=Yl,Nn=Yl)}if(t&&Fm.forEach(function(F6){return n(ke,F6)}),_o()){var _6=Ho;Gc(ke,_6)}return qr}function Ut(ke,Ue,Pe,tt){if(Ue!==null&&Ue.tag===L){l(ke,Ue.sibling);var Rt=h(Ue,Pe);return Rt.return=ke,Rt}l(ke,Ue);var Ct=VS(Pe,ke.mode,tt);return Ct.return=ke,Ct}function It(ke,Ue,Pe,tt){for(var Rt=Pe.key,Ct=Ue;Ct!==null;){if(Ct.key===Rt){var Qt=Pe.type;if(Qt===bn){if(Ct.tag===P){l(ke,Ct.sibling);var tn=h(Ct,Pe.props.children);return tn.return=ke,tn._debugSource=Pe._source,tn._debugOwner=Pe._owner,tn}}else if(Ct.elementType===Qt||wR(Ct,Pe)||typeof Qt=="object"&&Qt!==null&&Qt.$$typeof===Wt&&yE(Qt)===Ct.type){l(ke,Ct.sibling);var Gn=h(Ct,Pe.props);return Gn.ref=im(ke,Ct,Pe),Gn.return=ke,Gn._debugSource=Pe._source,Gn._debugOwner=Pe._owner,Gn}l(ke,Ct);break}else n(ke,Ct);Ct=Ct.sibling}if(Pe.type===bn){var Pn=_u(Pe.props.children,ke.mode,tt,Pe.key);return Pn.return=ke,Pn}else{var qr=FS(Pe,ke.mode,tt);return qr.ref=im(ke,Ue,Pe),qr.return=ke,qr}}function wn(ke,Ue,Pe,tt){for(var Rt=Pe.key,Ct=Ue;Ct!==null;){if(Ct.key===Rt)if(Ct.tag===R&&Ct.stateNode.containerInfo===Pe.containerInfo&&Ct.stateNode.implementation===Pe.implementation){l(ke,Ct.sibling);var Qt=h(Ct,Pe.children||[]);return Qt.return=ke,Qt}else{l(ke,Ct);break}else n(ke,Ct);Ct=Ct.sibling}var tn=jS(Pe,ke.mode,tt);return tn.return=ke,tn}function gn(ke,Ue,Pe,tt){var Rt=typeof Pe=="object"&&Pe!==null&&Pe.type===bn&&Pe.key===null;if(Rt&&(Pe=Pe.props.children),typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case dn:return C(It(ke,Ue,Pe,tt));case zt:return C(wn(ke,Ue,Pe,tt));case Wt:var Ct=Pe._payload,Qt=Pe._init;return gn(ke,Ue,Qt(Ct),tt)}if(fo(Pe))return je(ke,Ue,Pe,tt);if(Xt(Pe))return xt(ke,Ue,Pe,tt);cg(ke,Pe)}return typeof Pe=="string"&&Pe!==""||typeof Pe=="number"?C(Ut(ke,Ue,""+Pe,tt)):(typeof Pe=="function"&&dg(ke),l(ke,Ue))}return gn}var Hf=gE(!0),bE=gE(!1);function pN(t,n){if(t!==null&&n.child!==t.child)throw new Error("Resuming work not yet implemented.");if(n.child!==null){var l=n.child,u=od(l,l.pendingProps);for(n.child=u,u.return=n;l.sibling!==null;)l=l.sibling,u=u.sibling=od(l,l.pendingProps),u.return=n;u.sibling=null}}function hN(t,n){for(var l=t.child;l!==null;)t6(l,n),l=l.sibling}var G1=wu(null),W1;W1={};var fg=null,Gf=null,Y1=null,pg=!1;function hg(){fg=null,Gf=null,Y1=null,pg=!1}function xE(){pg=!0}function SE(){pg=!1}function CE(t,n,l){ca(G1,n._currentValue,t),n._currentValue=l,n._currentRenderer!==void 0&&n._currentRenderer!==null&&n._currentRenderer!==W1&&d("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer=W1}function q1(t,n){var l=G1.current;ua(G1,n),t._currentValue=l}function Q1(t,n,l){for(var u=t;u!==null;){var h=u.alternate;if(Rs(u.childLanes,n)?h!==null&&!Rs(h.childLanes,n)&&(h.childLanes=on(h.childLanes,n)):(u.childLanes=on(u.childLanes,n),h!==null&&(h.childLanes=on(h.childLanes,n))),u===l)break;u=u.return}u!==l&&d("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 mN(t,n,l){vN(t,n,l)}function vN(t,n,l){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var h=void 0,g=u.dependencies;if(g!==null){h=u.child;for(var C=g.firstContext;C!==null;){if(C.context===n){if(u.tag===S){var O=Cc(l),D=Fs(Kn,O);D.tag=vg;var H=u.updateQueue;if(H!==null){var Q=H.shared,Se=Q.pending;Se===null?D.next=D:(D.next=Se.next,Se.next=D),Q.pending=D}}u.lanes=on(u.lanes,l);var ye=u.alternate;ye!==null&&(ye.lanes=on(ye.lanes,l)),Q1(u.return,l,t),g.lanes=on(g.lanes,l);break}C=C.next}}else if(u.tag===Y)h=u.type===t.type?null:u.child;else if(u.tag===M){var Me=u.return;if(Me===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");Me.lanes=on(Me.lanes,l);var _e=Me.alternate;_e!==null&&(_e.lanes=on(_e.lanes,l)),Q1(Me,l,t),h=u.sibling}else h=u.child;if(h!==null)h.return=u;else for(h=u;h!==null;){if(h===t){h=null;break}var je=h.sibling;if(je!==null){je.return=h.return,h=je;break}h=h.return}u=h}}function Wf(t,n){fg=t,Gf=null,Y1=null;var l=t.dependencies;if(l!==null){var u=l.firstContext;u!==null&&(aa(l.lanes,n)&&Sm(),l.firstContext=null)}}function ro(t){pg&&d("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 n=t._currentValue;if(Y1!==t){var l={context:t,memoizedValue:n,next:null};if(Gf===null){if(fg===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().");Gf=l,fg.dependencies={lanes:Xe,firstContext:l}}else Gf=Gf.next=l}return n}var Xc=null;function X1(t){Xc===null?Xc=[t]:Xc.push(t)}function yN(){if(Xc!==null){for(var t=0;t<Xc.length;t++){var n=Xc[t],l=n.interleaved;if(l!==null){n.interleaved=null;var u=l.next,h=n.pending;if(h!==null){var g=h.next;h.next=u,l.next=g}n.pending=l}}Xc=null}}function wE(t,n,l,u){var h=n.interleaved;return h===null?(l.next=l,X1(n)):(l.next=h.next,h.next=l),n.interleaved=l,mg(t,u)}function gN(t,n,l,u){var h=n.interleaved;h===null?(l.next=l,X1(n)):(l.next=h.next,h.next=l),n.interleaved=l}function bN(t,n,l,u){var h=n.interleaved;return h===null?(l.next=l,X1(n)):(l.next=h.next,h.next=l),n.interleaved=l,mg(t,u)}function Ua(t,n){return mg(t,n)}var xN=mg;function mg(t,n){t.lanes=on(t.lanes,n);var l=t.alternate;l!==null&&(l.lanes=on(l.lanes,n)),l===null&&(t.flags&(pr|ea))!==Vt&&bR(t);for(var u=t,h=t.return;h!==null;)h.childLanes=on(h.childLanes,n),l=h.alternate,l!==null?l.childLanes=on(l.childLanes,n):(h.flags&(pr|ea))!==Vt&&bR(t),u=h,h=h.return;if(u.tag===w){var g=u.stateNode;return g}else return null}var EE=0,TE=1,vg=2,K1=3,yg=!1,Z1,gg;Z1=!1,gg=null;function J1(t){var n={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Xe},effects:null};t.updateQueue=n}function RE(t,n){var l=n.updateQueue,u=t.updateQueue;if(l===u){var h={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};n.updateQueue=h}}function Fs(t,n){var l={eventTime:t,lane:n,tag:EE,payload:null,callback:null,next:null};return l}function Ou(t,n,l){var u=t.updateQueue;if(u===null)return null;var h=u.shared;if(gg===h&&!Z1&&(d("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."),Z1=!0),gD()){var g=h.pending;return g===null?n.next=n:(n.next=g.next,g.next=n),h.pending=n,xN(t,l)}else return bN(t,h,n,l)}function bg(t,n,l){var u=n.updateQueue;if(u!==null){var h=u.shared;if(bh(l)){var g=h.lanes;g=Sh(g,t.pendingLanes);var C=on(g,l);h.lanes=C,gf(t,C)}}}function ex(t,n){var l=t.updateQueue,u=t.alternate;if(u!==null){var h=u.updateQueue;if(l===h){var g=null,C=null,O=l.firstBaseUpdate;if(O!==null){var D=O;do{var H={eventTime:D.eventTime,lane:D.lane,tag:D.tag,payload:D.payload,callback:D.callback,next:null};C===null?g=C=H:(C.next=H,C=H),D=D.next}while(D!==null);C===null?g=C=n:(C.next=n,C=n)}else g=C=n;l={baseState:h.baseState,firstBaseUpdate:g,lastBaseUpdate:C,shared:h.shared,effects:h.effects},t.updateQueue=l;return}}var Q=l.lastBaseUpdate;Q===null?l.firstBaseUpdate=n:Q.next=n,l.lastBaseUpdate=n}function SN(t,n,l,u,h,g){switch(l.tag){case TE:{var C=l.payload;if(typeof C=="function"){xE();var O=C.call(g,u,h);{if(t.mode&zn){hr(!0);try{C.call(g,u,h)}finally{hr(!1)}}SE()}return O}return C}case K1:t.flags=t.flags&~Jr|Ft;case EE:{var D=l.payload,H;if(typeof D=="function"){xE(),H=D.call(g,u,h);{if(t.mode&zn){hr(!0);try{D.call(g,u,h)}finally{hr(!1)}}SE()}}else H=D;return H==null?u:nn({},u,H)}case vg:return yg=!0,u}return u}function xg(t,n,l,u){var h=t.updateQueue;yg=!1,gg=h.shared;var g=h.firstBaseUpdate,C=h.lastBaseUpdate,O=h.shared.pending;if(O!==null){h.shared.pending=null;var D=O,H=D.next;D.next=null,C===null?g=H:C.next=H,C=D;var Q=t.alternate;if(Q!==null){var Se=Q.updateQueue,ye=Se.lastBaseUpdate;ye!==C&&(ye===null?Se.firstBaseUpdate=H:ye.next=H,Se.lastBaseUpdate=D)}}if(g!==null){var Me=h.baseState,_e=Xe,je=null,xt=null,Ut=null,It=g;do{var wn=It.lane,gn=It.eventTime;if(Rs(u,wn)){if(Ut!==null){var Ue={eventTime:gn,lane:En,tag:It.tag,payload:It.payload,callback:It.callback,next:null};Ut=Ut.next=Ue}Me=SN(t,h,It,Me,n,l);var Pe=It.callback;if(Pe!==null&&It.lane!==En){t.flags|=er;var tt=h.effects;tt===null?h.effects=[It]:tt.push(It)}}else{var ke={eventTime:gn,lane:wn,tag:It.tag,payload:It.payload,callback:It.callback,next:null};Ut===null?(xt=Ut=ke,je=Me):Ut=Ut.next=ke,_e=on(_e,wn)}if(It=It.next,It===null){if(O=h.shared.pending,O===null)break;var Rt=O,Ct=Rt.next;Rt.next=null,It=Ct,h.lastBaseUpdate=Rt,h.shared.pending=null}}while(!0);Ut===null&&(je=Me),h.baseState=je,h.firstBaseUpdate=xt,h.lastBaseUpdate=Ut;var Qt=h.shared.interleaved;if(Qt!==null){var tn=Qt;do _e=on(_e,tn.lane),tn=tn.next;while(tn!==Qt)}else g===null&&(h.shared.lanes=Xe);Dm(_e),t.lanes=_e,t.memoizedState=Me}gg=null}function CN(t,n){if(typeof t!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+t));t.call(n)}function OE(){yg=!1}function Sg(){return yg}function $E(t,n,l){var u=n.effects;if(n.effects=null,u!==null)for(var h=0;h<u.length;h++){var g=u[h],C=g.callback;C!==null&&(g.callback=null,CN(C,l))}}var lm={},$u=wu(lm),sm=wu(lm),Cg=wu(lm);function wg(t){if(t===lm)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 AE(){var t=wg(Cg.current);return t}function tx(t,n){ca(Cg,n,t),ca(sm,t,t),ca($u,lm,t);var l=Vk(n);ua($u,t),ca($u,l,t)}function Yf(t){ua($u,t),ua(sm,t),ua(Cg,t)}function nx(){var t=wg($u.current);return t}function kE(t){wg(Cg.current);var n=wg($u.current),l=jk(n,t.type);n!==l&&(ca(sm,t,t),ca($u,l,t))}function rx(t){sm.current===t&&(ua($u,t),ua(sm,t))}var wN=0,PE=1,NE=1,um=2,rl=wu(wN);function ox(t,n){return(t&n)!==0}function qf(t){return t&PE}function ax(t,n){return t&PE|n}function EN(t,n){return t|n}function Au(t,n){ca(rl,n,t)}function Qf(t){ua(rl,t)}function TN(t,n){var l=t.memoizedState;return l!==null?l.dehydrated!==null:(t.memoizedProps,!0)}function Eg(t){for(var n=t;n!==null;){if(n.tag===N){var l=n.memoizedState;if(l!==null){var u=l.dehydrated;if(u===null||Qw(u)||w1(u))return n}}else if(n.tag===se&&n.memoizedProps.revealOrder!==void 0){var h=(n.flags&Ft)!==Vt;if(h)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)return null;for(;n.sibling===null;){if(n.return===null||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Ba=0,yo=1,jl=2,go=4,Fo=8,ix=[];function lx(){for(var t=0;t<ix.length;t++){var n=ix[t];n._workInProgressVersionPrimary=null}ix.length=0}function RN(t,n){var l=n._getVersion,u=l(n._source);t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,u]:t.mutableSourceEagerHydrationData.push(n,u)}var Et=i.ReactCurrentDispatcher,cm=i.ReactCurrentBatchConfig,sx,Xf;sx=new Set;var Kc=Xe,Hn=null,bo=null,xo=null,Tg=!1,dm=!1,fm=0,ON=0,$N=25,Ge=null,Ai=null,ku=-1,ux=!1;function _n(){{var t=Ge;Ai===null?Ai=[t]:Ai.push(t)}}function gt(){{var t=Ge;Ai!==null&&(ku++,Ai[ku]!==t&&AN(t))}}function Kf(t){t!=null&&!fo(t)&&d("%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 AN(t){{var n=rn(Hn);if(!sx.has(n)&&(sx.add(n),Ai!==null)){for(var l="",u=30,h=0;h<=ku;h++){for(var g=Ai[h],C=h===ku?t:g,O=h+1+". "+g;O.length<u;)O+=" ";O+=C+`
|
|
2775
2775
|
`,l+=O}d(`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
|
|
2776
2776
|
|
|
2777
2777
|
Previous render Next render
|
|
@@ -2784,11 +2784,11 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
|
|
|
2784
2784
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function cx(t,n){if(ux)return!1;if(n===null)return d("%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!==n.length&&d(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
2785
2785
|
|
|
2786
2786
|
Previous: %s
|
|
2787
|
-
Incoming: %s`,Ge,"["+n.join(", ")+"]","["+t.join(", ")+"]");for(var l=0;l<n.length&&l<t.length;l++)if(!Je(t[l],n[l]))return!1;return!0}function Zf(t,n,l,u,h,g){Kc=g,Hn=n,Ai=t!==null?t._debugHookTypes:null,ku=-1,ux=t!==null&&t.type!==n.type,n.memoizedState=null,n.updateQueue=null,n.lanes=Xe,t!==null&&t.memoizedState!==null?Et.current=eT:Ai!==null?Et.current=JE:Et.current=ZE;var C=l(u,h);if(dm){var O=0;do{if(dm=!1,fm=0,O>=$N)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");O+=1,ux=!1,bo=null,xo=null,n.updateQueue=null,ku=-1,Et.current=tT,C=l(u,h)}while(dm)}Et.current=Fg,n._debugHookTypes=Ai;var D=bo!==null&&bo.next!==null;if(Kc=Xe,Hn=null,bo=null,xo=null,Ge=null,Ai=null,ku=-1,t!==null&&(t.flags&Lr)!==(n.flags&Lr)&&(t.mode&hn)!==jt&&d("Internal React error: Expected static flag was missing. Please notify the React team."),Tg=!1,D)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return C}function Jf(){var t=fm!==0;return fm=0,t}function DE(t,n,l){n.updateQueue=t.updateQueue,(n.mode&An)!==jt?n.flags&=-50333701:n.flags&=-2053,t.lanes=wc(t.lanes,l)}function ME(){if(Et.current=Fg,Tg){for(var t=Hn.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}Tg=!1}Kc=Xe,Hn=null,bo=null,xo=null,Ai=null,ku=-1,Ge=null,YE=!1,dm=!1,fm=0}function Ul(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return xo===null?Hn.memoizedState=xo=t:xo=xo.next=t,xo}function ki(){var t;if(bo===null){var n=Hn.alternate;n!==null?t=n.memoizedState:t=null}else t=bo.next;var l;if(xo===null?l=Hn.memoizedState:l=xo.next,l!==null)xo=l,l=xo.next,bo=t;else{if(t===null)throw new Error("Rendered more hooks than during the previous render.");bo=t;var u={memoizedState:bo.memoizedState,baseState:bo.baseState,baseQueue:bo.baseQueue,queue:bo.queue,next:null};xo===null?Hn.memoizedState=xo=u:xo=xo.next=u}return xo}function LE(){return{lastEffect:null,stores:null}}function dx(t,n){return typeof n=="function"?n(t):n}function fx(t,n,l){var u=Ul(),h;l!==void 0?h=l(n):h=n,u.memoizedState=u.baseState=h;var g={pending:null,interleaved:null,lanes:Xe,dispatch:null,lastRenderedReducer:t,lastRenderedState:h};u.queue=g;var C=g.dispatch=DN.bind(null,Hn,g);return[u.memoizedState,C]}function px(t,n,l){var u=ki(),h=u.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 g=bo,C=g.baseQueue,O=h.pending;if(O!==null){if(C!==null){var D=C.next,H=O.next;C.next=H,O.next=D}g.baseQueue!==C&&d("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),g.baseQueue=C=O,h.pending=null}if(C!==null){var Q=C.next,Se=g.baseState,ye=null,Me=null,_e=null,je=Q;do{var xt=je.lane;if(Rs(Kc,xt)){if(_e!==null){var It={lane:En,action:je.action,hasEagerState:je.hasEagerState,eagerState:je.eagerState,next:null};_e=_e.next=It}if(je.hasEagerState)Se=je.eagerState;else{var wn=je.action;Se=t(Se,wn)}}else{var Ut={lane:xt,action:je.action,hasEagerState:je.hasEagerState,eagerState:je.eagerState,next:null};_e===null?(Me=_e=Ut,ye=Se):_e=_e.next=Ut,Hn.lanes=on(Hn.lanes,xt),Dm(xt)}je=je.next}while(je!==null&&je!==Q);_e===null?ye=Se:_e.next=Me,Je(Se,u.memoizedState)||Sm(),u.memoizedState=Se,u.baseState=ye,u.baseQueue=_e,h.lastRenderedState=Se}var gn=h.interleaved;if(gn!==null){var ke=gn;do{var Ue=ke.lane;Hn.lanes=on(Hn.lanes,Ue),Dm(Ue),ke=ke.next}while(ke!==gn)}else C===null&&(h.lanes=Xe);var Pe=h.dispatch;return[u.memoizedState,Pe]}function hx(t,n,l){var u=ki(),h=u.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 g=h.dispatch,C=h.pending,O=u.memoizedState;if(C!==null){h.pending=null;var D=C.next,H=D;do{var Q=H.action;O=t(O,Q),H=H.next}while(H!==D);Je(O,u.memoizedState)||Sm(),u.memoizedState=O,u.baseQueue===null&&(u.baseState=O),h.lastRenderedState=O}return[O,g]}function gU(t,n,l){}function bU(t,n,l){}function mx(t,n,l){var u=Hn,h=Ul(),g,C=_o();if(C){if(l===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");g=l(),Xf||g!==l()&&(d("The result of getServerSnapshot should be cached to avoid an infinite loop"),Xf=!0)}else{if(g=n(),!Xf){var O=n();Je(g,O)||(d("The result of getSnapshot should be cached to avoid an infinite loop"),Xf=!0)}var D=r0();if(D===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");vf(D,Kc)||IE(u,n,g)}h.memoizedState=g;var H={value:g,getSnapshot:n};return h.queue=H,kg(FE.bind(null,u,H,t),[t]),u.flags|=Jo,pm(yo|Fo,_E.bind(null,u,H,g,n),void 0,null),g}function Rg(t,n,l){var u=Hn,h=ki(),g=n();if(!Xf){var C=n();Je(g,C)||(d("The result of getSnapshot should be cached to avoid an infinite loop"),Xf=!0)}var O=h.memoizedState,D=!Je(O,g);D&&(h.memoizedState=g,Sm());var H=h.queue;if(mm(FE.bind(null,u,H,t),[t]),H.getSnapshot!==n||D||xo!==null&&xo.memoizedState.tag&yo){u.flags|=Jo,pm(yo|Fo,_E.bind(null,u,H,g,n),void 0,null);var Q=r0();if(Q===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");vf(Q,Kc)||IE(u,n,g)}return g}function IE(t,n,l){t.flags|=lu;var u={getSnapshot:n,value:l},h=Hn.updateQueue;if(h===null)h=LE(),Hn.updateQueue=h,h.stores=[u];else{var g=h.stores;g===null?h.stores=[u]:g.push(u)}}function _E(t,n,l,u){n.value=l,n.getSnapshot=u,VE(n)&&jE(t)}function FE(t,n,l){var u=function(){VE(n)&&jE(t)};return l(u)}function VE(t){var n=t.getSnapshot,l=t.value;try{var u=n();return!Je(l,u)}catch{return!0}}function jE(t){var n=Ua(t,qt);n!==null&&Eo(n,t,qt,Kn)}function Og(t){var n=Ul();typeof t=="function"&&(t=t()),n.memoizedState=n.baseState=t;var l={pending:null,interleaved:null,lanes:Xe,dispatch:null,lastRenderedReducer:dx,lastRenderedState:t};n.queue=l;var u=l.dispatch=MN.bind(null,Hn,l);return[n.memoizedState,u]}function vx(t){return px(dx)}function yx(t){return hx(dx)}function pm(t,n,l,u){var h={tag:t,create:n,destroy:l,deps:u,next:null},g=Hn.updateQueue;if(g===null)g=LE(),Hn.updateQueue=g,g.lastEffect=h.next=h;else{var C=g.lastEffect;if(C===null)g.lastEffect=h.next=h;else{var O=C.next;C.next=h,h.next=O,g.lastEffect=h}}return h}function gx(t){var n=Ul();{var l={current:t};return n.memoizedState=l,l}}function $g(t){var n=ki();return n.memoizedState}function hm(t,n,l,u){var h=Ul(),g=u===void 0?null:u;Hn.flags|=t,h.memoizedState=pm(yo|n,l,void 0,g)}function Ag(t,n,l,u){var h=ki(),g=u===void 0?null:u,C=void 0;if(bo!==null){var O=bo.memoizedState;if(C=O.destroy,g!==null){var D=O.deps;if(cx(g,D)){h.memoizedState=pm(n,l,C,g);return}}}Hn.flags|=t,h.memoizedState=pm(yo|n,l,C,g)}function kg(t,n){return(Hn.mode&An)!==jt?hm(yi|Jo|Bd,Fo,t,n):hm(Jo|Bd,Fo,t,n)}function mm(t,n){return Ag(Jo,Fo,t,n)}function bx(t,n){return hm(xn,jl,t,n)}function Pg(t,n){return Ag(xn,jl,t,n)}function xx(t,n){var l=xn;return l|=Gi,(Hn.mode&An)!==jt&&(l|=Cl),hm(l,go,t,n)}function Ng(t,n){return Ag(xn,go,t,n)}function UE(t,n){if(typeof n=="function"){var l=n,u=t();return l(u),function(){l(null)}}else if(n!=null){var h=n;h.hasOwnProperty("current")||d("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 g=t();return h.current=g,function(){h.current=null}}}function Sx(t,n,l){typeof n!="function"&&d("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",n!==null?typeof n:"null");var u=l!=null?l.concat([t]):null,h=xn;return h|=Gi,(Hn.mode&An)!==jt&&(h|=Cl),hm(h,go,UE.bind(null,n,t),u)}function Dg(t,n,l){typeof n!="function"&&d("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",n!==null?typeof n:"null");var u=l!=null?l.concat([t]):null;return Ag(xn,go,UE.bind(null,n,t),u)}function kN(t,n){}var Mg=kN;function Cx(t,n){var l=Ul(),u=n===void 0?null:n;return l.memoizedState=[t,u],t}function Lg(t,n){var l=ki(),u=n===void 0?null:n,h=l.memoizedState;if(h!==null&&u!==null){var g=h[1];if(cx(u,g))return h[0]}return l.memoizedState=[t,u],t}function wx(t,n){var l=Ul(),u=n===void 0?null:n,h=t();return l.memoizedState=[h,u],h}function Ig(t,n){var l=ki(),u=n===void 0?null:n,h=l.memoizedState;if(h!==null&&u!==null){var g=h[1];if(cx(u,g))return h[0]}var C=t();return l.memoizedState=[C,u],C}function Ex(t){var n=Ul();return n.memoizedState=t,t}function BE(t){var n=ki(),l=bo,u=l.memoizedState;return HE(n,u,t)}function zE(t){var n=ki();if(bo===null)return n.memoizedState=t,t;var l=bo.memoizedState;return HE(n,l,t)}function HE(t,n,l){var u=!yh(Kc);if(u){if(!Je(l,n)){var h=xh();Hn.lanes=on(Hn.lanes,h),Dm(h),t.baseState=!0}return n}else return t.baseState&&(t.baseState=!1,Sm()),t.memoizedState=l,l}function PN(t,n,l){var u=Fa();Fr(py(u,Si)),t(!0);var h=cm.transition;cm.transition={};var g=cm.transition;cm.transition._updatedFibers=new Set;try{t(!1),n()}finally{if(Fr(u),cm.transition=h,h===null&&g._updatedFibers){var C=g._updatedFibers.size;C>10&&p("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."),g._updatedFibers.clear()}}}function Tx(){var t=Og(!1),n=t[0],l=t[1],u=PN.bind(null,l),h=Ul();return h.memoizedState=u,[n,u]}function GE(){var t=vx(),n=t[0],l=ki(),u=l.memoizedState;return[n,u]}function WE(){var t=yx(),n=t[0],l=ki(),u=l.memoizedState;return[n,u]}var YE=!1;function NN(){return YE}function Rx(){var t=Ul(),n=r0(),l=n.identifierPrefix,u;if(_o()){var h=QP();u=":"+l+"R"+h;var g=fm++;g>0&&(u+="H"+g.toString(32)),u+=":"}else{var C=ON++;u=":"+l+"r"+C.toString(32)+":"}return t.memoizedState=u,u}function _g(){var t=ki(),n=t.memoizedState;return n}function DN(t,n,l){typeof arguments[3]=="function"&&d("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 u=Lu(t),h={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null};if(qE(t))QE(n,h);else{var g=wE(t,n,h,u);if(g!==null){var C=Ta();Eo(g,t,u,C),XE(g,n,u)}}KE(t,u)}function MN(t,n,l){typeof arguments[3]=="function"&&d("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 u=Lu(t),h={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null};if(qE(t))QE(n,h);else{var g=t.alternate;if(t.lanes===Xe&&(g===null||g.lanes===Xe)){var C=n.lastRenderedReducer;if(C!==null){var O;O=Et.current,Et.current=ol;try{var D=n.lastRenderedState,H=C(D,l);if(h.hasEagerState=!0,h.eagerState=H,Je(H,D)){gN(t,n,h,u);return}}catch{}finally{Et.current=O}}}var Q=wE(t,n,h,u);if(Q!==null){var Se=Ta();Eo(Q,t,u,Se),XE(Q,n,u)}}KE(t,u)}function qE(t){var n=t.alternate;return t===Hn||n!==null&&n===Hn}function QE(t,n){dm=Tg=!0;var l=t.pending;l===null?n.next=n:(n.next=l.next,l.next=n),t.pending=n}function XE(t,n,l){if(bh(l)){var u=n.lanes;u=Sh(u,t.pendingLanes);var h=on(u,l);n.lanes=h,gf(t,h)}}function KE(t,n,l){pc(t,n)}var Fg={readContext:ro,useCallback:da,useContext:da,useEffect:da,useImperativeHandle:da,useInsertionEffect:da,useLayoutEffect:da,useMemo:da,useReducer:da,useRef:da,useState:da,useDebugValue:da,useDeferredValue:da,useTransition:da,useMutableSource:da,useSyncExternalStore:da,useId:da,unstable_isNewReconciler:pe},ZE=null,JE=null,eT=null,tT=null,Bl=null,ol=null,Vg=null;{var Ox=function(){d("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().")},Zt=function(){d("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")};ZE={readContext:function(t){return ro(t)},useCallback:function(t,n){return Ge="useCallback",_n(),Kf(n),Cx(t,n)},useContext:function(t){return Ge="useContext",_n(),ro(t)},useEffect:function(t,n){return Ge="useEffect",_n(),Kf(n),kg(t,n)},useImperativeHandle:function(t,n,l){return Ge="useImperativeHandle",_n(),Kf(l),Sx(t,n,l)},useInsertionEffect:function(t,n){return Ge="useInsertionEffect",_n(),Kf(n),bx(t,n)},useLayoutEffect:function(t,n){return Ge="useLayoutEffect",_n(),Kf(n),xx(t,n)},useMemo:function(t,n){Ge="useMemo",_n(),Kf(n);var l=Et.current;Et.current=Bl;try{return wx(t,n)}finally{Et.current=l}},useReducer:function(t,n,l){Ge="useReducer",_n();var u=Et.current;Et.current=Bl;try{return fx(t,n,l)}finally{Et.current=u}},useRef:function(t){return Ge="useRef",_n(),gx(t)},useState:function(t){Ge="useState",_n();var n=Et.current;Et.current=Bl;try{return Og(t)}finally{Et.current=n}},useDebugValue:function(t,n){return Ge="useDebugValue",_n(),void 0},useDeferredValue:function(t){return Ge="useDeferredValue",_n(),Ex(t)},useTransition:function(){return Ge="useTransition",_n(),Tx()},useMutableSource:function(t,n,l){return Ge="useMutableSource",_n(),void 0},useSyncExternalStore:function(t,n,l){return Ge="useSyncExternalStore",_n(),mx(t,n,l)},useId:function(){return Ge="useId",_n(),Rx()},unstable_isNewReconciler:pe},JE={readContext:function(t){return ro(t)},useCallback:function(t,n){return Ge="useCallback",gt(),Cx(t,n)},useContext:function(t){return Ge="useContext",gt(),ro(t)},useEffect:function(t,n){return Ge="useEffect",gt(),kg(t,n)},useImperativeHandle:function(t,n,l){return Ge="useImperativeHandle",gt(),Sx(t,n,l)},useInsertionEffect:function(t,n){return Ge="useInsertionEffect",gt(),bx(t,n)},useLayoutEffect:function(t,n){return Ge="useLayoutEffect",gt(),xx(t,n)},useMemo:function(t,n){Ge="useMemo",gt();var l=Et.current;Et.current=Bl;try{return wx(t,n)}finally{Et.current=l}},useReducer:function(t,n,l){Ge="useReducer",gt();var u=Et.current;Et.current=Bl;try{return fx(t,n,l)}finally{Et.current=u}},useRef:function(t){return Ge="useRef",gt(),gx(t)},useState:function(t){Ge="useState",gt();var n=Et.current;Et.current=Bl;try{return Og(t)}finally{Et.current=n}},useDebugValue:function(t,n){return Ge="useDebugValue",gt(),void 0},useDeferredValue:function(t){return Ge="useDeferredValue",gt(),Ex(t)},useTransition:function(){return Ge="useTransition",gt(),Tx()},useMutableSource:function(t,n,l){return Ge="useMutableSource",gt(),void 0},useSyncExternalStore:function(t,n,l){return Ge="useSyncExternalStore",gt(),mx(t,n,l)},useId:function(){return Ge="useId",gt(),Rx()},unstable_isNewReconciler:pe},eT={readContext:function(t){return ro(t)},useCallback:function(t,n){return Ge="useCallback",gt(),Lg(t,n)},useContext:function(t){return Ge="useContext",gt(),ro(t)},useEffect:function(t,n){return Ge="useEffect",gt(),mm(t,n)},useImperativeHandle:function(t,n,l){return Ge="useImperativeHandle",gt(),Dg(t,n,l)},useInsertionEffect:function(t,n){return Ge="useInsertionEffect",gt(),Pg(t,n)},useLayoutEffect:function(t,n){return Ge="useLayoutEffect",gt(),Ng(t,n)},useMemo:function(t,n){Ge="useMemo",gt();var l=Et.current;Et.current=ol;try{return Ig(t,n)}finally{Et.current=l}},useReducer:function(t,n,l){Ge="useReducer",gt();var u=Et.current;Et.current=ol;try{return px(t,n,l)}finally{Et.current=u}},useRef:function(t){return Ge="useRef",gt(),$g()},useState:function(t){Ge="useState",gt();var n=Et.current;Et.current=ol;try{return vx(t)}finally{Et.current=n}},useDebugValue:function(t,n){return Ge="useDebugValue",gt(),Mg()},useDeferredValue:function(t){return Ge="useDeferredValue",gt(),BE(t)},useTransition:function(){return Ge="useTransition",gt(),GE()},useMutableSource:function(t,n,l){return Ge="useMutableSource",gt(),void 0},useSyncExternalStore:function(t,n,l){return Ge="useSyncExternalStore",gt(),Rg(t,n)},useId:function(){return Ge="useId",gt(),_g()},unstable_isNewReconciler:pe},tT={readContext:function(t){return ro(t)},useCallback:function(t,n){return Ge="useCallback",gt(),Lg(t,n)},useContext:function(t){return Ge="useContext",gt(),ro(t)},useEffect:function(t,n){return Ge="useEffect",gt(),mm(t,n)},useImperativeHandle:function(t,n,l){return Ge="useImperativeHandle",gt(),Dg(t,n,l)},useInsertionEffect:function(t,n){return Ge="useInsertionEffect",gt(),Pg(t,n)},useLayoutEffect:function(t,n){return Ge="useLayoutEffect",gt(),Ng(t,n)},useMemo:function(t,n){Ge="useMemo",gt();var l=Et.current;Et.current=Vg;try{return Ig(t,n)}finally{Et.current=l}},useReducer:function(t,n,l){Ge="useReducer",gt();var u=Et.current;Et.current=Vg;try{return hx(t,n,l)}finally{Et.current=u}},useRef:function(t){return Ge="useRef",gt(),$g()},useState:function(t){Ge="useState",gt();var n=Et.current;Et.current=Vg;try{return yx(t)}finally{Et.current=n}},useDebugValue:function(t,n){return Ge="useDebugValue",gt(),Mg()},useDeferredValue:function(t){return Ge="useDeferredValue",gt(),zE(t)},useTransition:function(){return Ge="useTransition",gt(),WE()},useMutableSource:function(t,n,l){return Ge="useMutableSource",gt(),void 0},useSyncExternalStore:function(t,n,l){return Ge="useSyncExternalStore",gt(),Rg(t,n)},useId:function(){return Ge="useId",gt(),_g()},unstable_isNewReconciler:pe},Bl={readContext:function(t){return Ox(),ro(t)},useCallback:function(t,n){return Ge="useCallback",Zt(),_n(),Cx(t,n)},useContext:function(t){return Ge="useContext",Zt(),_n(),ro(t)},useEffect:function(t,n){return Ge="useEffect",Zt(),_n(),kg(t,n)},useImperativeHandle:function(t,n,l){return Ge="useImperativeHandle",Zt(),_n(),Sx(t,n,l)},useInsertionEffect:function(t,n){return Ge="useInsertionEffect",Zt(),_n(),bx(t,n)},useLayoutEffect:function(t,n){return Ge="useLayoutEffect",Zt(),_n(),xx(t,n)},useMemo:function(t,n){Ge="useMemo",Zt(),_n();var l=Et.current;Et.current=Bl;try{return wx(t,n)}finally{Et.current=l}},useReducer:function(t,n,l){Ge="useReducer",Zt(),_n();var u=Et.current;Et.current=Bl;try{return fx(t,n,l)}finally{Et.current=u}},useRef:function(t){return Ge="useRef",Zt(),_n(),gx(t)},useState:function(t){Ge="useState",Zt(),_n();var n=Et.current;Et.current=Bl;try{return Og(t)}finally{Et.current=n}},useDebugValue:function(t,n){return Ge="useDebugValue",Zt(),_n(),void 0},useDeferredValue:function(t){return Ge="useDeferredValue",Zt(),_n(),Ex(t)},useTransition:function(){return Ge="useTransition",Zt(),_n(),Tx()},useMutableSource:function(t,n,l){return Ge="useMutableSource",Zt(),_n(),void 0},useSyncExternalStore:function(t,n,l){return Ge="useSyncExternalStore",Zt(),_n(),mx(t,n,l)},useId:function(){return Ge="useId",Zt(),_n(),Rx()},unstable_isNewReconciler:pe},ol={readContext:function(t){return Ox(),ro(t)},useCallback:function(t,n){return Ge="useCallback",Zt(),gt(),Lg(t,n)},useContext:function(t){return Ge="useContext",Zt(),gt(),ro(t)},useEffect:function(t,n){return Ge="useEffect",Zt(),gt(),mm(t,n)},useImperativeHandle:function(t,n,l){return Ge="useImperativeHandle",Zt(),gt(),Dg(t,n,l)},useInsertionEffect:function(t,n){return Ge="useInsertionEffect",Zt(),gt(),Pg(t,n)},useLayoutEffect:function(t,n){return Ge="useLayoutEffect",Zt(),gt(),Ng(t,n)},useMemo:function(t,n){Ge="useMemo",Zt(),gt();var l=Et.current;Et.current=ol;try{return Ig(t,n)}finally{Et.current=l}},useReducer:function(t,n,l){Ge="useReducer",Zt(),gt();var u=Et.current;Et.current=ol;try{return px(t,n,l)}finally{Et.current=u}},useRef:function(t){return Ge="useRef",Zt(),gt(),$g()},useState:function(t){Ge="useState",Zt(),gt();var n=Et.current;Et.current=ol;try{return vx(t)}finally{Et.current=n}},useDebugValue:function(t,n){return Ge="useDebugValue",Zt(),gt(),Mg()},useDeferredValue:function(t){return Ge="useDeferredValue",Zt(),gt(),BE(t)},useTransition:function(){return Ge="useTransition",Zt(),gt(),GE()},useMutableSource:function(t,n,l){return Ge="useMutableSource",Zt(),gt(),void 0},useSyncExternalStore:function(t,n,l){return Ge="useSyncExternalStore",Zt(),gt(),Rg(t,n)},useId:function(){return Ge="useId",Zt(),gt(),_g()},unstable_isNewReconciler:pe},Vg={readContext:function(t){return Ox(),ro(t)},useCallback:function(t,n){return Ge="useCallback",Zt(),gt(),Lg(t,n)},useContext:function(t){return Ge="useContext",Zt(),gt(),ro(t)},useEffect:function(t,n){return Ge="useEffect",Zt(),gt(),mm(t,n)},useImperativeHandle:function(t,n,l){return Ge="useImperativeHandle",Zt(),gt(),Dg(t,n,l)},useInsertionEffect:function(t,n){return Ge="useInsertionEffect",Zt(),gt(),Pg(t,n)},useLayoutEffect:function(t,n){return Ge="useLayoutEffect",Zt(),gt(),Ng(t,n)},useMemo:function(t,n){Ge="useMemo",Zt(),gt();var l=Et.current;Et.current=ol;try{return Ig(t,n)}finally{Et.current=l}},useReducer:function(t,n,l){Ge="useReducer",Zt(),gt();var u=Et.current;Et.current=ol;try{return hx(t,n,l)}finally{Et.current=u}},useRef:function(t){return Ge="useRef",Zt(),gt(),$g()},useState:function(t){Ge="useState",Zt(),gt();var n=Et.current;Et.current=ol;try{return yx(t)}finally{Et.current=n}},useDebugValue:function(t,n){return Ge="useDebugValue",Zt(),gt(),Mg()},useDeferredValue:function(t){return Ge="useDeferredValue",Zt(),gt(),zE(t)},useTransition:function(){return Ge="useTransition",Zt(),gt(),WE()},useMutableSource:function(t,n,l){return Ge="useMutableSource",Zt(),gt(),void 0},useSyncExternalStore:function(t,n,l){return Ge="useSyncExternalStore",Zt(),gt(),Rg(t,n)},useId:function(){return Ge="useId",Zt(),gt(),_g()},unstable_isNewReconciler:pe}}var Pu=r.unstable_now,nT=0,jg=-1,vm=-1,Ug=-1,$x=!1,Bg=!1;function rT(){return $x}function LN(){Bg=!0}function IN(){$x=!1,Bg=!1}function _N(){$x=Bg,Bg=!1}function oT(){return nT}function aT(){nT=Pu()}function Ax(t){vm=Pu(),t.actualStartTime<0&&(t.actualStartTime=Pu())}function iT(t){vm=-1}function zg(t,n){if(vm>=0){var l=Pu()-vm;t.actualDuration+=l,n&&(t.selfBaseDuration=l),vm=-1}}function zl(t){if(jg>=0){var n=Pu()-jg;jg=-1;for(var l=t.return;l!==null;){switch(l.tag){case w:var u=l.stateNode;u.effectDuration+=n;return;case V:var h=l.stateNode;h.effectDuration+=n;return}l=l.return}}}function kx(t){if(Ug>=0){var n=Pu()-Ug;Ug=-1;for(var l=t.return;l!==null;){switch(l.tag){case w:var u=l.stateNode;u!==null&&(u.passiveEffectDuration+=n);return;case V:var h=l.stateNode;h!==null&&(h.passiveEffectDuration+=n);return}l=l.return}}}function Hl(){jg=Pu()}function Px(){Ug=Pu()}function Nx(t){for(var n=t.child;n;)t.actualDuration+=n.actualDuration,n=n.sibling}function al(t,n){if(t&&t.defaultProps){var l=nn({},n),u=t.defaultProps;for(var h in u)l[h]===void 0&&(l[h]=u[h]);return l}return n}var Dx={},Mx,Lx,Ix,_x,Fx,lT,Hg,Vx,jx,Ux,ym;{Mx=new Set,Lx=new Set,Ix=new Set,_x=new Set,Vx=new Set,Fx=new Set,jx=new Set,Ux=new Set,ym=new Set;var sT=new Set;Hg=function(t,n){if(!(t===null||typeof t=="function")){var l=n+"_"+t;sT.has(l)||(sT.add(l),d("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,t))}},lT=function(t,n){if(n===void 0){var l=Vn(t)||"Component";Fx.has(l)||(Fx.add(l),d("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",l))}},Object.defineProperty(Dx,"_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(Dx)}function Bx(t,n,l,u){var h=t.memoizedState,g=l(u,h);{if(t.mode&zn){hr(!0);try{g=l(u,h)}finally{hr(!1)}}lT(n,g)}var C=g==null?h:nn({},h,g);if(t.memoizedState=C,t.lanes===Xe){var O=t.updateQueue;O.baseState=C}}var zx={isMounted:Kv,enqueueSetState:function(t,n,l){var u=iu(t),h=Ta(),g=Lu(u),C=Fs(h,g);C.payload=n,l!=null&&(Hg(l,"setState"),C.callback=l);var O=Ou(u,C,g);O!==null&&(Eo(O,u,g,h),bg(O,u,g)),pc(u,g)},enqueueReplaceState:function(t,n,l){var u=iu(t),h=Ta(),g=Lu(u),C=Fs(h,g);C.tag=TE,C.payload=n,l!=null&&(Hg(l,"replaceState"),C.callback=l);var O=Ou(u,C,g);O!==null&&(Eo(O,u,g,h),bg(O,u,g)),pc(u,g)},enqueueForceUpdate:function(t,n){var l=iu(t),u=Ta(),h=Lu(l),g=Fs(u,h);g.tag=vg,n!=null&&(Hg(n,"forceUpdate"),g.callback=n);var C=Ou(l,g,h);C!==null&&(Eo(C,l,h,u),bg(C,l,h)),Qd(l,h)}};function uT(t,n,l,u,h,g,C){var O=t.stateNode;if(typeof O.shouldComponentUpdate=="function"){var D=O.shouldComponentUpdate(u,g,C);{if(t.mode&zn){hr(!0);try{D=O.shouldComponentUpdate(u,g,C)}finally{hr(!1)}}D===void 0&&d("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Vn(n)||"Component")}return D}return n.prototype&&n.prototype.isPureReactComponent?!Pt(l,u)||!Pt(h,g):!0}function FN(t,n,l){var u=t.stateNode;{var h=Vn(n)||"Component",g=u.render;g||(n.prototype&&typeof n.prototype.render=="function"?d("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",h):d("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",h)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&d("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),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&d("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),u.propTypes&&d("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",h),u.contextType&&d("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),n.childContextTypes&&!ym.has(n)&&(t.mode&zn)===jt&&(ym.add(n),d(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
2787
|
+
Incoming: %s`,Ge,"["+n.join(", ")+"]","["+t.join(", ")+"]");for(var l=0;l<n.length&&l<t.length;l++)if(!Je(t[l],n[l]))return!1;return!0}function Zf(t,n,l,u,h,g){Kc=g,Hn=n,Ai=t!==null?t._debugHookTypes:null,ku=-1,ux=t!==null&&t.type!==n.type,n.memoizedState=null,n.updateQueue=null,n.lanes=Xe,t!==null&&t.memoizedState!==null?Et.current=eT:Ai!==null?Et.current=JE:Et.current=ZE;var C=l(u,h);if(dm){var O=0;do{if(dm=!1,fm=0,O>=$N)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");O+=1,ux=!1,bo=null,xo=null,n.updateQueue=null,ku=-1,Et.current=tT,C=l(u,h)}while(dm)}Et.current=Fg,n._debugHookTypes=Ai;var D=bo!==null&&bo.next!==null;if(Kc=Xe,Hn=null,bo=null,xo=null,Ge=null,Ai=null,ku=-1,t!==null&&(t.flags&Lr)!==(n.flags&Lr)&&(t.mode&hn)!==jt&&d("Internal React error: Expected static flag was missing. Please notify the React team."),Tg=!1,D)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return C}function Jf(){var t=fm!==0;return fm=0,t}function DE(t,n,l){n.updateQueue=t.updateQueue,(n.mode&An)!==jt?n.flags&=-50333701:n.flags&=-2053,t.lanes=wc(t.lanes,l)}function ME(){if(Et.current=Fg,Tg){for(var t=Hn.memoizedState;t!==null;){var n=t.queue;n!==null&&(n.pending=null),t=t.next}Tg=!1}Kc=Xe,Hn=null,bo=null,xo=null,Ai=null,ku=-1,Ge=null,YE=!1,dm=!1,fm=0}function Ul(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return xo===null?Hn.memoizedState=xo=t:xo=xo.next=t,xo}function ki(){var t;if(bo===null){var n=Hn.alternate;n!==null?t=n.memoizedState:t=null}else t=bo.next;var l;if(xo===null?l=Hn.memoizedState:l=xo.next,l!==null)xo=l,l=xo.next,bo=t;else{if(t===null)throw new Error("Rendered more hooks than during the previous render.");bo=t;var u={memoizedState:bo.memoizedState,baseState:bo.baseState,baseQueue:bo.baseQueue,queue:bo.queue,next:null};xo===null?Hn.memoizedState=xo=u:xo=xo.next=u}return xo}function LE(){return{lastEffect:null,stores:null}}function dx(t,n){return typeof n=="function"?n(t):n}function fx(t,n,l){var u=Ul(),h;l!==void 0?h=l(n):h=n,u.memoizedState=u.baseState=h;var g={pending:null,interleaved:null,lanes:Xe,dispatch:null,lastRenderedReducer:t,lastRenderedState:h};u.queue=g;var C=g.dispatch=DN.bind(null,Hn,g);return[u.memoizedState,C]}function px(t,n,l){var u=ki(),h=u.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 g=bo,C=g.baseQueue,O=h.pending;if(O!==null){if(C!==null){var D=C.next,H=O.next;C.next=H,O.next=D}g.baseQueue!==C&&d("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),g.baseQueue=C=O,h.pending=null}if(C!==null){var Q=C.next,Se=g.baseState,ye=null,Me=null,_e=null,je=Q;do{var xt=je.lane;if(Rs(Kc,xt)){if(_e!==null){var It={lane:En,action:je.action,hasEagerState:je.hasEagerState,eagerState:je.eagerState,next:null};_e=_e.next=It}if(je.hasEagerState)Se=je.eagerState;else{var wn=je.action;Se=t(Se,wn)}}else{var Ut={lane:xt,action:je.action,hasEagerState:je.hasEagerState,eagerState:je.eagerState,next:null};_e===null?(Me=_e=Ut,ye=Se):_e=_e.next=Ut,Hn.lanes=on(Hn.lanes,xt),Dm(xt)}je=je.next}while(je!==null&&je!==Q);_e===null?ye=Se:_e.next=Me,Je(Se,u.memoizedState)||Sm(),u.memoizedState=Se,u.baseState=ye,u.baseQueue=_e,h.lastRenderedState=Se}var gn=h.interleaved;if(gn!==null){var ke=gn;do{var Ue=ke.lane;Hn.lanes=on(Hn.lanes,Ue),Dm(Ue),ke=ke.next}while(ke!==gn)}else C===null&&(h.lanes=Xe);var Pe=h.dispatch;return[u.memoizedState,Pe]}function hx(t,n,l){var u=ki(),h=u.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 g=h.dispatch,C=h.pending,O=u.memoizedState;if(C!==null){h.pending=null;var D=C.next,H=D;do{var Q=H.action;O=t(O,Q),H=H.next}while(H!==D);Je(O,u.memoizedState)||Sm(),u.memoizedState=O,u.baseQueue===null&&(u.baseState=O),h.lastRenderedState=O}return[O,g]}function bU(t,n,l){}function xU(t,n,l){}function mx(t,n,l){var u=Hn,h=Ul(),g,C=_o();if(C){if(l===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");g=l(),Xf||g!==l()&&(d("The result of getServerSnapshot should be cached to avoid an infinite loop"),Xf=!0)}else{if(g=n(),!Xf){var O=n();Je(g,O)||(d("The result of getSnapshot should be cached to avoid an infinite loop"),Xf=!0)}var D=r0();if(D===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");vf(D,Kc)||IE(u,n,g)}h.memoizedState=g;var H={value:g,getSnapshot:n};return h.queue=H,kg(FE.bind(null,u,H,t),[t]),u.flags|=Jo,pm(yo|Fo,_E.bind(null,u,H,g,n),void 0,null),g}function Rg(t,n,l){var u=Hn,h=ki(),g=n();if(!Xf){var C=n();Je(g,C)||(d("The result of getSnapshot should be cached to avoid an infinite loop"),Xf=!0)}var O=h.memoizedState,D=!Je(O,g);D&&(h.memoizedState=g,Sm());var H=h.queue;if(mm(FE.bind(null,u,H,t),[t]),H.getSnapshot!==n||D||xo!==null&&xo.memoizedState.tag&yo){u.flags|=Jo,pm(yo|Fo,_E.bind(null,u,H,g,n),void 0,null);var Q=r0();if(Q===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");vf(Q,Kc)||IE(u,n,g)}return g}function IE(t,n,l){t.flags|=lu;var u={getSnapshot:n,value:l},h=Hn.updateQueue;if(h===null)h=LE(),Hn.updateQueue=h,h.stores=[u];else{var g=h.stores;g===null?h.stores=[u]:g.push(u)}}function _E(t,n,l,u){n.value=l,n.getSnapshot=u,VE(n)&&jE(t)}function FE(t,n,l){var u=function(){VE(n)&&jE(t)};return l(u)}function VE(t){var n=t.getSnapshot,l=t.value;try{var u=n();return!Je(l,u)}catch{return!0}}function jE(t){var n=Ua(t,qt);n!==null&&Eo(n,t,qt,Kn)}function Og(t){var n=Ul();typeof t=="function"&&(t=t()),n.memoizedState=n.baseState=t;var l={pending:null,interleaved:null,lanes:Xe,dispatch:null,lastRenderedReducer:dx,lastRenderedState:t};n.queue=l;var u=l.dispatch=MN.bind(null,Hn,l);return[n.memoizedState,u]}function vx(t){return px(dx)}function yx(t){return hx(dx)}function pm(t,n,l,u){var h={tag:t,create:n,destroy:l,deps:u,next:null},g=Hn.updateQueue;if(g===null)g=LE(),Hn.updateQueue=g,g.lastEffect=h.next=h;else{var C=g.lastEffect;if(C===null)g.lastEffect=h.next=h;else{var O=C.next;C.next=h,h.next=O,g.lastEffect=h}}return h}function gx(t){var n=Ul();{var l={current:t};return n.memoizedState=l,l}}function $g(t){var n=ki();return n.memoizedState}function hm(t,n,l,u){var h=Ul(),g=u===void 0?null:u;Hn.flags|=t,h.memoizedState=pm(yo|n,l,void 0,g)}function Ag(t,n,l,u){var h=ki(),g=u===void 0?null:u,C=void 0;if(bo!==null){var O=bo.memoizedState;if(C=O.destroy,g!==null){var D=O.deps;if(cx(g,D)){h.memoizedState=pm(n,l,C,g);return}}}Hn.flags|=t,h.memoizedState=pm(yo|n,l,C,g)}function kg(t,n){return(Hn.mode&An)!==jt?hm(yi|Jo|Bd,Fo,t,n):hm(Jo|Bd,Fo,t,n)}function mm(t,n){return Ag(Jo,Fo,t,n)}function bx(t,n){return hm(xn,jl,t,n)}function Pg(t,n){return Ag(xn,jl,t,n)}function xx(t,n){var l=xn;return l|=Gi,(Hn.mode&An)!==jt&&(l|=Cl),hm(l,go,t,n)}function Ng(t,n){return Ag(xn,go,t,n)}function UE(t,n){if(typeof n=="function"){var l=n,u=t();return l(u),function(){l(null)}}else if(n!=null){var h=n;h.hasOwnProperty("current")||d("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 g=t();return h.current=g,function(){h.current=null}}}function Sx(t,n,l){typeof n!="function"&&d("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",n!==null?typeof n:"null");var u=l!=null?l.concat([t]):null,h=xn;return h|=Gi,(Hn.mode&An)!==jt&&(h|=Cl),hm(h,go,UE.bind(null,n,t),u)}function Dg(t,n,l){typeof n!="function"&&d("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",n!==null?typeof n:"null");var u=l!=null?l.concat([t]):null;return Ag(xn,go,UE.bind(null,n,t),u)}function kN(t,n){}var Mg=kN;function Cx(t,n){var l=Ul(),u=n===void 0?null:n;return l.memoizedState=[t,u],t}function Lg(t,n){var l=ki(),u=n===void 0?null:n,h=l.memoizedState;if(h!==null&&u!==null){var g=h[1];if(cx(u,g))return h[0]}return l.memoizedState=[t,u],t}function wx(t,n){var l=Ul(),u=n===void 0?null:n,h=t();return l.memoizedState=[h,u],h}function Ig(t,n){var l=ki(),u=n===void 0?null:n,h=l.memoizedState;if(h!==null&&u!==null){var g=h[1];if(cx(u,g))return h[0]}var C=t();return l.memoizedState=[C,u],C}function Ex(t){var n=Ul();return n.memoizedState=t,t}function BE(t){var n=ki(),l=bo,u=l.memoizedState;return HE(n,u,t)}function zE(t){var n=ki();if(bo===null)return n.memoizedState=t,t;var l=bo.memoizedState;return HE(n,l,t)}function HE(t,n,l){var u=!yh(Kc);if(u){if(!Je(l,n)){var h=xh();Hn.lanes=on(Hn.lanes,h),Dm(h),t.baseState=!0}return n}else return t.baseState&&(t.baseState=!1,Sm()),t.memoizedState=l,l}function PN(t,n,l){var u=Fa();Fr(py(u,Si)),t(!0);var h=cm.transition;cm.transition={};var g=cm.transition;cm.transition._updatedFibers=new Set;try{t(!1),n()}finally{if(Fr(u),cm.transition=h,h===null&&g._updatedFibers){var C=g._updatedFibers.size;C>10&&p("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."),g._updatedFibers.clear()}}}function Tx(){var t=Og(!1),n=t[0],l=t[1],u=PN.bind(null,l),h=Ul();return h.memoizedState=u,[n,u]}function GE(){var t=vx(),n=t[0],l=ki(),u=l.memoizedState;return[n,u]}function WE(){var t=yx(),n=t[0],l=ki(),u=l.memoizedState;return[n,u]}var YE=!1;function NN(){return YE}function Rx(){var t=Ul(),n=r0(),l=n.identifierPrefix,u;if(_o()){var h=QP();u=":"+l+"R"+h;var g=fm++;g>0&&(u+="H"+g.toString(32)),u+=":"}else{var C=ON++;u=":"+l+"r"+C.toString(32)+":"}return t.memoizedState=u,u}function _g(){var t=ki(),n=t.memoizedState;return n}function DN(t,n,l){typeof arguments[3]=="function"&&d("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 u=Lu(t),h={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null};if(qE(t))QE(n,h);else{var g=wE(t,n,h,u);if(g!==null){var C=Ta();Eo(g,t,u,C),XE(g,n,u)}}KE(t,u)}function MN(t,n,l){typeof arguments[3]=="function"&&d("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 u=Lu(t),h={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null};if(qE(t))QE(n,h);else{var g=t.alternate;if(t.lanes===Xe&&(g===null||g.lanes===Xe)){var C=n.lastRenderedReducer;if(C!==null){var O;O=Et.current,Et.current=ol;try{var D=n.lastRenderedState,H=C(D,l);if(h.hasEagerState=!0,h.eagerState=H,Je(H,D)){gN(t,n,h,u);return}}catch{}finally{Et.current=O}}}var Q=wE(t,n,h,u);if(Q!==null){var Se=Ta();Eo(Q,t,u,Se),XE(Q,n,u)}}KE(t,u)}function qE(t){var n=t.alternate;return t===Hn||n!==null&&n===Hn}function QE(t,n){dm=Tg=!0;var l=t.pending;l===null?n.next=n:(n.next=l.next,l.next=n),t.pending=n}function XE(t,n,l){if(bh(l)){var u=n.lanes;u=Sh(u,t.pendingLanes);var h=on(u,l);n.lanes=h,gf(t,h)}}function KE(t,n,l){pc(t,n)}var Fg={readContext:ro,useCallback:da,useContext:da,useEffect:da,useImperativeHandle:da,useInsertionEffect:da,useLayoutEffect:da,useMemo:da,useReducer:da,useRef:da,useState:da,useDebugValue:da,useDeferredValue:da,useTransition:da,useMutableSource:da,useSyncExternalStore:da,useId:da,unstable_isNewReconciler:pe},ZE=null,JE=null,eT=null,tT=null,Bl=null,ol=null,Vg=null;{var Ox=function(){d("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().")},Zt=function(){d("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")};ZE={readContext:function(t){return ro(t)},useCallback:function(t,n){return Ge="useCallback",_n(),Kf(n),Cx(t,n)},useContext:function(t){return Ge="useContext",_n(),ro(t)},useEffect:function(t,n){return Ge="useEffect",_n(),Kf(n),kg(t,n)},useImperativeHandle:function(t,n,l){return Ge="useImperativeHandle",_n(),Kf(l),Sx(t,n,l)},useInsertionEffect:function(t,n){return Ge="useInsertionEffect",_n(),Kf(n),bx(t,n)},useLayoutEffect:function(t,n){return Ge="useLayoutEffect",_n(),Kf(n),xx(t,n)},useMemo:function(t,n){Ge="useMemo",_n(),Kf(n);var l=Et.current;Et.current=Bl;try{return wx(t,n)}finally{Et.current=l}},useReducer:function(t,n,l){Ge="useReducer",_n();var u=Et.current;Et.current=Bl;try{return fx(t,n,l)}finally{Et.current=u}},useRef:function(t){return Ge="useRef",_n(),gx(t)},useState:function(t){Ge="useState",_n();var n=Et.current;Et.current=Bl;try{return Og(t)}finally{Et.current=n}},useDebugValue:function(t,n){return Ge="useDebugValue",_n(),void 0},useDeferredValue:function(t){return Ge="useDeferredValue",_n(),Ex(t)},useTransition:function(){return Ge="useTransition",_n(),Tx()},useMutableSource:function(t,n,l){return Ge="useMutableSource",_n(),void 0},useSyncExternalStore:function(t,n,l){return Ge="useSyncExternalStore",_n(),mx(t,n,l)},useId:function(){return Ge="useId",_n(),Rx()},unstable_isNewReconciler:pe},JE={readContext:function(t){return ro(t)},useCallback:function(t,n){return Ge="useCallback",gt(),Cx(t,n)},useContext:function(t){return Ge="useContext",gt(),ro(t)},useEffect:function(t,n){return Ge="useEffect",gt(),kg(t,n)},useImperativeHandle:function(t,n,l){return Ge="useImperativeHandle",gt(),Sx(t,n,l)},useInsertionEffect:function(t,n){return Ge="useInsertionEffect",gt(),bx(t,n)},useLayoutEffect:function(t,n){return Ge="useLayoutEffect",gt(),xx(t,n)},useMemo:function(t,n){Ge="useMemo",gt();var l=Et.current;Et.current=Bl;try{return wx(t,n)}finally{Et.current=l}},useReducer:function(t,n,l){Ge="useReducer",gt();var u=Et.current;Et.current=Bl;try{return fx(t,n,l)}finally{Et.current=u}},useRef:function(t){return Ge="useRef",gt(),gx(t)},useState:function(t){Ge="useState",gt();var n=Et.current;Et.current=Bl;try{return Og(t)}finally{Et.current=n}},useDebugValue:function(t,n){return Ge="useDebugValue",gt(),void 0},useDeferredValue:function(t){return Ge="useDeferredValue",gt(),Ex(t)},useTransition:function(){return Ge="useTransition",gt(),Tx()},useMutableSource:function(t,n,l){return Ge="useMutableSource",gt(),void 0},useSyncExternalStore:function(t,n,l){return Ge="useSyncExternalStore",gt(),mx(t,n,l)},useId:function(){return Ge="useId",gt(),Rx()},unstable_isNewReconciler:pe},eT={readContext:function(t){return ro(t)},useCallback:function(t,n){return Ge="useCallback",gt(),Lg(t,n)},useContext:function(t){return Ge="useContext",gt(),ro(t)},useEffect:function(t,n){return Ge="useEffect",gt(),mm(t,n)},useImperativeHandle:function(t,n,l){return Ge="useImperativeHandle",gt(),Dg(t,n,l)},useInsertionEffect:function(t,n){return Ge="useInsertionEffect",gt(),Pg(t,n)},useLayoutEffect:function(t,n){return Ge="useLayoutEffect",gt(),Ng(t,n)},useMemo:function(t,n){Ge="useMemo",gt();var l=Et.current;Et.current=ol;try{return Ig(t,n)}finally{Et.current=l}},useReducer:function(t,n,l){Ge="useReducer",gt();var u=Et.current;Et.current=ol;try{return px(t,n,l)}finally{Et.current=u}},useRef:function(t){return Ge="useRef",gt(),$g()},useState:function(t){Ge="useState",gt();var n=Et.current;Et.current=ol;try{return vx(t)}finally{Et.current=n}},useDebugValue:function(t,n){return Ge="useDebugValue",gt(),Mg()},useDeferredValue:function(t){return Ge="useDeferredValue",gt(),BE(t)},useTransition:function(){return Ge="useTransition",gt(),GE()},useMutableSource:function(t,n,l){return Ge="useMutableSource",gt(),void 0},useSyncExternalStore:function(t,n,l){return Ge="useSyncExternalStore",gt(),Rg(t,n)},useId:function(){return Ge="useId",gt(),_g()},unstable_isNewReconciler:pe},tT={readContext:function(t){return ro(t)},useCallback:function(t,n){return Ge="useCallback",gt(),Lg(t,n)},useContext:function(t){return Ge="useContext",gt(),ro(t)},useEffect:function(t,n){return Ge="useEffect",gt(),mm(t,n)},useImperativeHandle:function(t,n,l){return Ge="useImperativeHandle",gt(),Dg(t,n,l)},useInsertionEffect:function(t,n){return Ge="useInsertionEffect",gt(),Pg(t,n)},useLayoutEffect:function(t,n){return Ge="useLayoutEffect",gt(),Ng(t,n)},useMemo:function(t,n){Ge="useMemo",gt();var l=Et.current;Et.current=Vg;try{return Ig(t,n)}finally{Et.current=l}},useReducer:function(t,n,l){Ge="useReducer",gt();var u=Et.current;Et.current=Vg;try{return hx(t,n,l)}finally{Et.current=u}},useRef:function(t){return Ge="useRef",gt(),$g()},useState:function(t){Ge="useState",gt();var n=Et.current;Et.current=Vg;try{return yx(t)}finally{Et.current=n}},useDebugValue:function(t,n){return Ge="useDebugValue",gt(),Mg()},useDeferredValue:function(t){return Ge="useDeferredValue",gt(),zE(t)},useTransition:function(){return Ge="useTransition",gt(),WE()},useMutableSource:function(t,n,l){return Ge="useMutableSource",gt(),void 0},useSyncExternalStore:function(t,n,l){return Ge="useSyncExternalStore",gt(),Rg(t,n)},useId:function(){return Ge="useId",gt(),_g()},unstable_isNewReconciler:pe},Bl={readContext:function(t){return Ox(),ro(t)},useCallback:function(t,n){return Ge="useCallback",Zt(),_n(),Cx(t,n)},useContext:function(t){return Ge="useContext",Zt(),_n(),ro(t)},useEffect:function(t,n){return Ge="useEffect",Zt(),_n(),kg(t,n)},useImperativeHandle:function(t,n,l){return Ge="useImperativeHandle",Zt(),_n(),Sx(t,n,l)},useInsertionEffect:function(t,n){return Ge="useInsertionEffect",Zt(),_n(),bx(t,n)},useLayoutEffect:function(t,n){return Ge="useLayoutEffect",Zt(),_n(),xx(t,n)},useMemo:function(t,n){Ge="useMemo",Zt(),_n();var l=Et.current;Et.current=Bl;try{return wx(t,n)}finally{Et.current=l}},useReducer:function(t,n,l){Ge="useReducer",Zt(),_n();var u=Et.current;Et.current=Bl;try{return fx(t,n,l)}finally{Et.current=u}},useRef:function(t){return Ge="useRef",Zt(),_n(),gx(t)},useState:function(t){Ge="useState",Zt(),_n();var n=Et.current;Et.current=Bl;try{return Og(t)}finally{Et.current=n}},useDebugValue:function(t,n){return Ge="useDebugValue",Zt(),_n(),void 0},useDeferredValue:function(t){return Ge="useDeferredValue",Zt(),_n(),Ex(t)},useTransition:function(){return Ge="useTransition",Zt(),_n(),Tx()},useMutableSource:function(t,n,l){return Ge="useMutableSource",Zt(),_n(),void 0},useSyncExternalStore:function(t,n,l){return Ge="useSyncExternalStore",Zt(),_n(),mx(t,n,l)},useId:function(){return Ge="useId",Zt(),_n(),Rx()},unstable_isNewReconciler:pe},ol={readContext:function(t){return Ox(),ro(t)},useCallback:function(t,n){return Ge="useCallback",Zt(),gt(),Lg(t,n)},useContext:function(t){return Ge="useContext",Zt(),gt(),ro(t)},useEffect:function(t,n){return Ge="useEffect",Zt(),gt(),mm(t,n)},useImperativeHandle:function(t,n,l){return Ge="useImperativeHandle",Zt(),gt(),Dg(t,n,l)},useInsertionEffect:function(t,n){return Ge="useInsertionEffect",Zt(),gt(),Pg(t,n)},useLayoutEffect:function(t,n){return Ge="useLayoutEffect",Zt(),gt(),Ng(t,n)},useMemo:function(t,n){Ge="useMemo",Zt(),gt();var l=Et.current;Et.current=ol;try{return Ig(t,n)}finally{Et.current=l}},useReducer:function(t,n,l){Ge="useReducer",Zt(),gt();var u=Et.current;Et.current=ol;try{return px(t,n,l)}finally{Et.current=u}},useRef:function(t){return Ge="useRef",Zt(),gt(),$g()},useState:function(t){Ge="useState",Zt(),gt();var n=Et.current;Et.current=ol;try{return vx(t)}finally{Et.current=n}},useDebugValue:function(t,n){return Ge="useDebugValue",Zt(),gt(),Mg()},useDeferredValue:function(t){return Ge="useDeferredValue",Zt(),gt(),BE(t)},useTransition:function(){return Ge="useTransition",Zt(),gt(),GE()},useMutableSource:function(t,n,l){return Ge="useMutableSource",Zt(),gt(),void 0},useSyncExternalStore:function(t,n,l){return Ge="useSyncExternalStore",Zt(),gt(),Rg(t,n)},useId:function(){return Ge="useId",Zt(),gt(),_g()},unstable_isNewReconciler:pe},Vg={readContext:function(t){return Ox(),ro(t)},useCallback:function(t,n){return Ge="useCallback",Zt(),gt(),Lg(t,n)},useContext:function(t){return Ge="useContext",Zt(),gt(),ro(t)},useEffect:function(t,n){return Ge="useEffect",Zt(),gt(),mm(t,n)},useImperativeHandle:function(t,n,l){return Ge="useImperativeHandle",Zt(),gt(),Dg(t,n,l)},useInsertionEffect:function(t,n){return Ge="useInsertionEffect",Zt(),gt(),Pg(t,n)},useLayoutEffect:function(t,n){return Ge="useLayoutEffect",Zt(),gt(),Ng(t,n)},useMemo:function(t,n){Ge="useMemo",Zt(),gt();var l=Et.current;Et.current=ol;try{return Ig(t,n)}finally{Et.current=l}},useReducer:function(t,n,l){Ge="useReducer",Zt(),gt();var u=Et.current;Et.current=ol;try{return hx(t,n,l)}finally{Et.current=u}},useRef:function(t){return Ge="useRef",Zt(),gt(),$g()},useState:function(t){Ge="useState",Zt(),gt();var n=Et.current;Et.current=ol;try{return yx(t)}finally{Et.current=n}},useDebugValue:function(t,n){return Ge="useDebugValue",Zt(),gt(),Mg()},useDeferredValue:function(t){return Ge="useDeferredValue",Zt(),gt(),zE(t)},useTransition:function(){return Ge="useTransition",Zt(),gt(),WE()},useMutableSource:function(t,n,l){return Ge="useMutableSource",Zt(),gt(),void 0},useSyncExternalStore:function(t,n,l){return Ge="useSyncExternalStore",Zt(),gt(),Rg(t,n)},useId:function(){return Ge="useId",Zt(),gt(),_g()},unstable_isNewReconciler:pe}}var Pu=r.unstable_now,nT=0,jg=-1,vm=-1,Ug=-1,$x=!1,Bg=!1;function rT(){return $x}function LN(){Bg=!0}function IN(){$x=!1,Bg=!1}function _N(){$x=Bg,Bg=!1}function oT(){return nT}function aT(){nT=Pu()}function Ax(t){vm=Pu(),t.actualStartTime<0&&(t.actualStartTime=Pu())}function iT(t){vm=-1}function zg(t,n){if(vm>=0){var l=Pu()-vm;t.actualDuration+=l,n&&(t.selfBaseDuration=l),vm=-1}}function zl(t){if(jg>=0){var n=Pu()-jg;jg=-1;for(var l=t.return;l!==null;){switch(l.tag){case w:var u=l.stateNode;u.effectDuration+=n;return;case V:var h=l.stateNode;h.effectDuration+=n;return}l=l.return}}}function kx(t){if(Ug>=0){var n=Pu()-Ug;Ug=-1;for(var l=t.return;l!==null;){switch(l.tag){case w:var u=l.stateNode;u!==null&&(u.passiveEffectDuration+=n);return;case V:var h=l.stateNode;h!==null&&(h.passiveEffectDuration+=n);return}l=l.return}}}function Hl(){jg=Pu()}function Px(){Ug=Pu()}function Nx(t){for(var n=t.child;n;)t.actualDuration+=n.actualDuration,n=n.sibling}function al(t,n){if(t&&t.defaultProps){var l=nn({},n),u=t.defaultProps;for(var h in u)l[h]===void 0&&(l[h]=u[h]);return l}return n}var Dx={},Mx,Lx,Ix,_x,Fx,lT,Hg,Vx,jx,Ux,ym;{Mx=new Set,Lx=new Set,Ix=new Set,_x=new Set,Vx=new Set,Fx=new Set,jx=new Set,Ux=new Set,ym=new Set;var sT=new Set;Hg=function(t,n){if(!(t===null||typeof t=="function")){var l=n+"_"+t;sT.has(l)||(sT.add(l),d("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,t))}},lT=function(t,n){if(n===void 0){var l=Vn(t)||"Component";Fx.has(l)||(Fx.add(l),d("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",l))}},Object.defineProperty(Dx,"_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(Dx)}function Bx(t,n,l,u){var h=t.memoizedState,g=l(u,h);{if(t.mode&zn){hr(!0);try{g=l(u,h)}finally{hr(!1)}}lT(n,g)}var C=g==null?h:nn({},h,g);if(t.memoizedState=C,t.lanes===Xe){var O=t.updateQueue;O.baseState=C}}var zx={isMounted:Kv,enqueueSetState:function(t,n,l){var u=iu(t),h=Ta(),g=Lu(u),C=Fs(h,g);C.payload=n,l!=null&&(Hg(l,"setState"),C.callback=l);var O=Ou(u,C,g);O!==null&&(Eo(O,u,g,h),bg(O,u,g)),pc(u,g)},enqueueReplaceState:function(t,n,l){var u=iu(t),h=Ta(),g=Lu(u),C=Fs(h,g);C.tag=TE,C.payload=n,l!=null&&(Hg(l,"replaceState"),C.callback=l);var O=Ou(u,C,g);O!==null&&(Eo(O,u,g,h),bg(O,u,g)),pc(u,g)},enqueueForceUpdate:function(t,n){var l=iu(t),u=Ta(),h=Lu(l),g=Fs(u,h);g.tag=vg,n!=null&&(Hg(n,"forceUpdate"),g.callback=n);var C=Ou(l,g,h);C!==null&&(Eo(C,l,h,u),bg(C,l,h)),Qd(l,h)}};function uT(t,n,l,u,h,g,C){var O=t.stateNode;if(typeof O.shouldComponentUpdate=="function"){var D=O.shouldComponentUpdate(u,g,C);{if(t.mode&zn){hr(!0);try{D=O.shouldComponentUpdate(u,g,C)}finally{hr(!1)}}D===void 0&&d("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Vn(n)||"Component")}return D}return n.prototype&&n.prototype.isPureReactComponent?!Pt(l,u)||!Pt(h,g):!0}function FN(t,n,l){var u=t.stateNode;{var h=Vn(n)||"Component",g=u.render;g||(n.prototype&&typeof n.prototype.render=="function"?d("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",h):d("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",h)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&d("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),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&d("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),u.propTypes&&d("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",h),u.contextType&&d("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),n.childContextTypes&&!ym.has(n)&&(t.mode&zn)===jt&&(ym.add(n),d(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
2788
2788
|
|
|
2789
2789
|
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,h)),n.contextTypes&&!ym.has(n)&&(t.mode&zn)===jt&&(ym.add(n),d(`%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.
|
|
2790
2790
|
|
|
2791
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,h)),u.contextTypes&&d("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",h),n.contextType&&n.contextTypes&&!jx.has(n)&&(jx.add(n),d("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",h)),typeof u.componentShouldUpdate=="function"&&d("%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),n.prototype&&n.prototype.isPureReactComponent&&typeof u.shouldComponentUpdate<"u"&&d("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Vn(n)||"A pure component"),typeof u.componentDidUnmount=="function"&&d("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",h),typeof u.componentDidReceiveProps=="function"&&d("%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 u.componentWillRecieveProps=="function"&&d("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",h),typeof u.UNSAFE_componentWillRecieveProps=="function"&&d("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",h);var C=u.props!==l;u.props!==void 0&&C&&d("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",h,h),u.defaultProps&&d("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 u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!Ix.has(n)&&(Ix.add(n),d("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Vn(n))),typeof u.getDerivedStateFromProps=="function"&&d("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof u.getDerivedStateFromError=="function"&&d("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof n.getSnapshotBeforeUpdate=="function"&&d("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",h);var O=u.state;O&&(typeof O!="object"||fo(O))&&d("%s.state: must be set to an object or null",h),typeof u.getChildContext=="function"&&typeof n.childContextTypes!="object"&&d("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",h)}}function cT(t,n){n.updater=zx,t.stateNode=n,fs(n,t),n._reactInternalInstance=Dx}function dT(t,n,l){var u=!1,h=
|
|
2791
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,h)),u.contextTypes&&d("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",h),n.contextType&&n.contextTypes&&!jx.has(n)&&(jx.add(n),d("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",h)),typeof u.componentShouldUpdate=="function"&&d("%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),n.prototype&&n.prototype.isPureReactComponent&&typeof u.shouldComponentUpdate<"u"&&d("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Vn(n)||"A pure component"),typeof u.componentDidUnmount=="function"&&d("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",h),typeof u.componentDidReceiveProps=="function"&&d("%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 u.componentWillRecieveProps=="function"&&d("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",h),typeof u.UNSAFE_componentWillRecieveProps=="function"&&d("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",h);var C=u.props!==l;u.props!==void 0&&C&&d("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",h,h),u.defaultProps&&d("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 u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!Ix.has(n)&&(Ix.add(n),d("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Vn(n))),typeof u.getDerivedStateFromProps=="function"&&d("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof u.getDerivedStateFromError=="function"&&d("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof n.getSnapshotBeforeUpdate=="function"&&d("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",h);var O=u.state;O&&(typeof O!="object"||fo(O))&&d("%s.state: must be set to an object or null",h),typeof u.getChildContext=="function"&&typeof n.childContextTypes!="object"&&d("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",h)}}function cT(t,n){n.updater=zx,t.stateNode=n,fs(n,t),n._reactInternalInstance=Dx}function dT(t,n,l){var u=!1,h=ri,g=ri,C=n.contextType;if("contextType"in n){var O=C===null||C!==void 0&&C.$$typeof===ae&&C._context===void 0;if(!O&&!Ux.has(n)){Ux.add(n);var D="";C===void 0?D=" 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"?D=" However, it is set to a "+typeof C+".":C.$$typeof===an?D=" Did you accidentally pass the Context.Provider instead?":C._context!==void 0?D=" Did you accidentally pass the Context.Consumer instead?":D=" However, it is set to an object with keys {"+Object.keys(C).join(", ")+"}.",d("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Vn(n)||"Component",D)}}if(typeof C=="object"&&C!==null)g=ro(C);else{h=Vf(t,n,!0);var H=n.contextTypes;u=H!=null,g=u?jf(t,h):ri}var Q=new n(l,g);if(t.mode&zn){hr(!0);try{Q=new n(l,g)}finally{hr(!1)}}var Se=t.memoizedState=Q.state!==null&&Q.state!==void 0?Q.state:null;cT(t,Q);{if(typeof n.getDerivedStateFromProps=="function"&&Se===null){var ye=Vn(n)||"Component";Lx.has(ye)||(Lx.add(ye),d("`%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.",ye,Q.state===null?"null":"undefined",ye))}if(typeof n.getDerivedStateFromProps=="function"||typeof Q.getSnapshotBeforeUpdate=="function"){var Me=null,_e=null,je=null;if(typeof Q.componentWillMount=="function"&&Q.componentWillMount.__suppressDeprecationWarning!==!0?Me="componentWillMount":typeof Q.UNSAFE_componentWillMount=="function"&&(Me="UNSAFE_componentWillMount"),typeof Q.componentWillReceiveProps=="function"&&Q.componentWillReceiveProps.__suppressDeprecationWarning!==!0?_e="componentWillReceiveProps":typeof Q.UNSAFE_componentWillReceiveProps=="function"&&(_e="UNSAFE_componentWillReceiveProps"),typeof Q.componentWillUpdate=="function"&&Q.componentWillUpdate.__suppressDeprecationWarning!==!0?je="componentWillUpdate":typeof Q.UNSAFE_componentWillUpdate=="function"&&(je="UNSAFE_componentWillUpdate"),Me!==null||_e!==null||je!==null){var xt=Vn(n)||"Component",Ut=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";_x.has(xt)||(_x.add(xt),d(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
2792
2792
|
|
|
2793
2793
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
2794
2794
|
|
|
@@ -2796,13 +2796,13 @@ The above lifecycles should be removed. Learn more about this warning here:
|
|
|
2796
2796
|
https://reactjs.org/link/unsafe-component-lifecycles`,xt,Ut,Me!==null?`
|
|
2797
2797
|
`+Me:"",_e!==null?`
|
|
2798
2798
|
`+_e:"",je!==null?`
|
|
2799
|
-
`+je:""))}}}return u&&eE(t,h,g),Q}function VN(t,n){var l=n.state;typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),l!==n.state&&(d("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",rn(t)||"Component"),zx.enqueueReplaceState(n,n.state,null))}function fT(t,n,l,u){var h=n.state;if(typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(l,u),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(l,u),n.state!==h){{var g=rn(t)||"Component";Mx.has(g)||(Mx.add(g),d("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",g))}zx.enqueueReplaceState(n,n.state,null)}}function Hx(t,n,l,u){FN(t,n,l);var h=t.stateNode;h.props=l,h.state=t.memoizedState,h.refs={},J1(t);var g=n.contextType;if(typeof g=="object"&&g!==null)h.context=ro(g);else{var C=Vf(t,n,!0);h.context=jf(t,C)}{if(h.state===l){var O=Vn(n)||"Component";Vx.has(O)||(Vx.add(O),d("%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.",O))}t.mode&zn&&nl.recordLegacyContextWarning(t,h),nl.recordUnsafeLifecycleWarnings(t,h)}h.state=t.memoizedState;var D=n.getDerivedStateFromProps;if(typeof D=="function"&&(Bx(t,n,D,l),h.state=t.memoizedState),typeof n.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function")&&(VN(t,h),xg(t,l,h,u),h.state=t.memoizedState),typeof h.componentDidMount=="function"){var H=xn;H|=Gi,(t.mode&An)!==jt&&(H|=Cl),t.flags|=H}}function jN(t,n,l,u){var h=t.stateNode,g=t.memoizedProps;h.props=g;var C=h.context,O=n.contextType,D=
|
|
2799
|
+
`+je:""))}}}return u&&eE(t,h,g),Q}function VN(t,n){var l=n.state;typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),l!==n.state&&(d("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",rn(t)||"Component"),zx.enqueueReplaceState(n,n.state,null))}function fT(t,n,l,u){var h=n.state;if(typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(l,u),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(l,u),n.state!==h){{var g=rn(t)||"Component";Mx.has(g)||(Mx.add(g),d("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",g))}zx.enqueueReplaceState(n,n.state,null)}}function Hx(t,n,l,u){FN(t,n,l);var h=t.stateNode;h.props=l,h.state=t.memoizedState,h.refs={},J1(t);var g=n.contextType;if(typeof g=="object"&&g!==null)h.context=ro(g);else{var C=Vf(t,n,!0);h.context=jf(t,C)}{if(h.state===l){var O=Vn(n)||"Component";Vx.has(O)||(Vx.add(O),d("%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.",O))}t.mode&zn&&nl.recordLegacyContextWarning(t,h),nl.recordUnsafeLifecycleWarnings(t,h)}h.state=t.memoizedState;var D=n.getDerivedStateFromProps;if(typeof D=="function"&&(Bx(t,n,D,l),h.state=t.memoizedState),typeof n.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function")&&(VN(t,h),xg(t,l,h,u),h.state=t.memoizedState),typeof h.componentDidMount=="function"){var H=xn;H|=Gi,(t.mode&An)!==jt&&(H|=Cl),t.flags|=H}}function jN(t,n,l,u){var h=t.stateNode,g=t.memoizedProps;h.props=g;var C=h.context,O=n.contextType,D=ri;if(typeof O=="object"&&O!==null)D=ro(O);else{var H=Vf(t,n,!0);D=jf(t,H)}var Q=n.getDerivedStateFromProps,Se=typeof Q=="function"||typeof h.getSnapshotBeforeUpdate=="function";!Se&&(typeof h.UNSAFE_componentWillReceiveProps=="function"||typeof h.componentWillReceiveProps=="function")&&(g!==l||C!==D)&&fT(t,h,l,D),OE();var ye=t.memoizedState,Me=h.state=ye;if(xg(t,l,h,u),Me=t.memoizedState,g===l&&ye===Me&&!tg()&&!Sg()){if(typeof h.componentDidMount=="function"){var _e=xn;_e|=Gi,(t.mode&An)!==jt&&(_e|=Cl),t.flags|=_e}return!1}typeof Q=="function"&&(Bx(t,n,Q,l),Me=t.memoizedState);var je=Sg()||uT(t,n,g,l,ye,Me,D);if(je){if(!Se&&(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 xt=xn;xt|=Gi,(t.mode&An)!==jt&&(xt|=Cl),t.flags|=xt}}else{if(typeof h.componentDidMount=="function"){var Ut=xn;Ut|=Gi,(t.mode&An)!==jt&&(Ut|=Cl),t.flags|=Ut}t.memoizedProps=l,t.memoizedState=Me}return h.props=l,h.state=Me,h.context=D,je}function UN(t,n,l,u,h){var g=n.stateNode;RE(t,n);var C=n.memoizedProps,O=n.type===n.elementType?C:al(n.type,C);g.props=O;var D=n.pendingProps,H=g.context,Q=l.contextType,Se=ri;if(typeof Q=="object"&&Q!==null)Se=ro(Q);else{var ye=Vf(n,l,!0);Se=jf(n,ye)}var Me=l.getDerivedStateFromProps,_e=typeof Me=="function"||typeof g.getSnapshotBeforeUpdate=="function";!_e&&(typeof g.UNSAFE_componentWillReceiveProps=="function"||typeof g.componentWillReceiveProps=="function")&&(C!==D||H!==Se)&&fT(n,g,u,Se),OE();var je=n.memoizedState,xt=g.state=je;if(xg(n,u,g,h),xt=n.memoizedState,C===D&&je===xt&&!tg()&&!Sg()&&!ne)return typeof g.componentDidUpdate=="function"&&(C!==t.memoizedProps||je!==t.memoizedState)&&(n.flags|=xn),typeof g.getSnapshotBeforeUpdate=="function"&&(C!==t.memoizedProps||je!==t.memoizedState)&&(n.flags|=Gr),!1;typeof Me=="function"&&(Bx(n,l,Me,u),xt=n.memoizedState);var Ut=Sg()||uT(n,l,O,u,je,xt,Se)||ne;return Ut?(!_e&&(typeof g.UNSAFE_componentWillUpdate=="function"||typeof g.componentWillUpdate=="function")&&(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(u,xt,Se),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(u,xt,Se)),typeof g.componentDidUpdate=="function"&&(n.flags|=xn),typeof g.getSnapshotBeforeUpdate=="function"&&(n.flags|=Gr)):(typeof g.componentDidUpdate=="function"&&(C!==t.memoizedProps||je!==t.memoizedState)&&(n.flags|=xn),typeof g.getSnapshotBeforeUpdate=="function"&&(C!==t.memoizedProps||je!==t.memoizedState)&&(n.flags|=Gr),n.memoizedProps=u,n.memoizedState=xt),g.props=u,g.state=xt,g.context=Se,Ut}function Zc(t,n){return{value:t,source:n,stack:vd(n),digest:null}}function Gx(t,n,l){return{value:t,source:null,stack:l??null,digest:n??null}}function BN(t,n){return!0}function Wx(t,n){try{var l=BN(t,n);if(l===!1)return;var u=n.value,h=n.source,g=n.stack,C=g!==null?g:"";if(u!=null&&u._suppressLogging){if(t.tag===S)return;console.error(u)}var O=h?rn(h):null,D=O?"The above error occurred in the <"+O+"> component:":"The above error occurred in one of your React components:",H;if(t.tag===w)H=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
2800
2800
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var Q=rn(t)||"Anonymous";H="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+Q+".")}var Se=D+`
|
|
2801
2801
|
`+C+`
|
|
2802
2802
|
|
|
2803
|
-
`+(""+H);console.error(Se)}catch(ye){setTimeout(function(){throw ye})}}var zN=typeof WeakMap=="function"?WeakMap:Map;function pT(t,n,l){var u=Fs(Kn,l);u.tag=K1,u.payload={element:null};var h=n.value;return u.callback=function(){LD(h),Wx(t,n)},u}function Yx(t,n,l){var u=Fs(Kn,l);u.tag=K1;var h=t.type.getDerivedStateFromError;if(typeof h=="function"){var g=n.value;u.payload=function(){return h(g)},u.callback=function(){ER(t),Wx(t,n)}}var C=t.stateNode;return C!==null&&typeof C.componentDidCatch=="function"&&(u.callback=function(){ER(t),Wx(t,n),typeof h!="function"&&DD(this);var D=n.value,H=n.stack;this.componentDidCatch(D,{componentStack:H!==null?H:""}),typeof h!="function"&&(aa(t.lanes,qt)||d("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",rn(t)||"Unknown"))}),u}function hT(t,n,l){var u=t.pingCache,h;if(u===null?(u=t.pingCache=new zN,h=new Set,u.set(n,h)):(h=u.get(n),h===void 0&&(h=new Set,u.set(n,h))),!h.has(l)){h.add(l);var g=ID.bind(null,t,n,l);ra&&Mm(t,l),n.then(g,g)}}function HN(t,n,l,u){var h=t.updateQueue;if(h===null){var g=new Set;g.add(l),t.updateQueue=g}else h.add(l)}function GN(t,n){var l=t.tag;if((t.mode&hn)===jt&&(l===b||l===k||l===Z)){var u=t.alternate;u?(t.updateQueue=u.updateQueue,t.memoizedState=u.memoizedState,t.lanes=u.lanes):(t.updateQueue=null,t.memoizedState=null)}}function mT(t){var n=t;do{if(n.tag===N&&TN(n))return n;n=n.return}while(n!==null);return null}function vT(t,n,l,u,h){if((t.mode&hn)===jt){if(t===n)t.flags|=Jr;else{if(t.flags|=Ft,l.flags|=Ud,l.flags&=-52805,l.tag===S){var g=l.alternate;if(g===null)l.tag=ge;else{var C=Fs(Kn,qt);C.tag=vg,Ou(l,C,qt)}}l.lanes=on(l.lanes,qt)}return t}return t.flags|=Jr,t.lanes=h,t}function WN(t,n,l,u,h){if(l.flags|=lc,ra&&Mm(t,h),u!==null&&typeof u=="object"&&typeof u.then=="function"){var g=u;GN(l),_o()&&l.mode&hn&&lE();var C=mT(n);if(C!==null){C.flags&=~Ro,vT(C,n,l,t,h),C.mode&hn&&hT(t,g,h),HN(C,t,g);return}else{if(!ay(h)){hT(t,g,h),RS();return}var O=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.");u=O}}else if(_o()&&l.mode&hn){lE();var D=mT(n);if(D!==null){(D.flags&Jr)===Vt&&(D.flags|=Ro),vT(D,n,l,t,h),V1(Zc(u,l));return}}u=Zc(u,l),TD(u);var H=n;do{switch(H.tag){case w:{var Q=u;H.flags|=Jr;var Se=Cc(h);H.lanes=on(H.lanes,Se);var ye=pT(H,Q,Se);ex(H,ye);return}case S:var Me=u,_e=H.type,je=H.stateNode;if((H.flags&Ft)===Vt&&(typeof _e.getDerivedStateFromError=="function"||je!==null&&typeof je.componentDidCatch=="function"&&!mR(je))){H.flags|=Jr;var xt=Cc(h);H.lanes=on(H.lanes,xt);var Ut=Yx(H,Me,xt);ex(H,Ut);return}break}H=H.return}while(H!==null)}function YN(){return null}var gm=i.ReactCurrentOwner,il=!1,qx,bm,Qx,Xx,Kx,Jc,Zx,Gg,xm;qx={},bm={},Qx={},Xx={},Kx={},Jc=!1,Zx={},Gg={},xm={};function wa(t,n,l,u){t===null?n.child=bE(n,null,l,u):n.child=Hf(n,t.child,l,u)}function qN(t,n,l,u){n.child=Hf(n,t.child,null,u),n.child=Hf(n,null,l,u)}function yT(t,n,l,u,h){if(n.type!==n.elementType){var g=l.propTypes;g&&el(g,u,"prop",Vn(l))}var C=l.render,O=n.ref,D,H;Wf(n,h),ba(n);{if(gm.current=n,co(!0),D=Zf(t,n,C,u,O,h),H=Jf(),n.mode&zn){hr(!0);try{D=Zf(t,n,C,u,O,h),H=Jf()}finally{hr(!1)}}co(!1)}return xa(),t!==null&&!il?(DE(t,n,h),Vs(t,n,h)):(_o()&&H&&D1(n),n.flags|=Ka,wa(t,n,D,h),n.child)}function gT(t,n,l,u,h){if(t===null){var g=l.type;if(JD(g)&&l.compare===null&&l.defaultProps===void 0){var C=g;return C=lp(g),n.tag=Z,n.type=C,tS(n,g),bT(t,n,C,u,h)}{var O=g.propTypes;if(O&&el(O,u,"prop",Vn(g)),l.defaultProps!==void 0){var D=Vn(g)||"Unknown";xm[D]||(d("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",D),xm[D]=!0)}}var H=_S(l.type,null,u,n,n.mode,h);return H.ref=n.ref,H.return=n,n.child=H,H}{var Q=l.type,Se=Q.propTypes;Se&&el(Se,u,"prop",Vn(Q))}var ye=t.child,Me=lS(t,h);if(!Me){var _e=ye.memoizedProps,je=l.compare;if(je=je!==null?je:Pt,je(_e,u)&&t.ref===n.ref)return Vs(t,n,h)}n.flags|=Ka;var xt=od(ye,u);return xt.ref=n.ref,xt.return=n,n.child=xt,xt}function bT(t,n,l,u,h){if(n.type!==n.elementType){var g=n.elementType;if(g.$$typeof===Wt){var C=g,O=C._payload,D=C._init;try{g=D(O)}catch{g=null}var H=g&&g.propTypes;H&&el(H,u,"prop",Vn(g))}}if(t!==null){var Q=t.memoizedProps;if(Pt(Q,u)&&t.ref===n.ref&&n.type===t.type)if(il=!1,n.pendingProps=u=Q,lS(t,h))(t.flags&Ud)!==Vt&&(il=!0);else return n.lanes=t.lanes,Vs(t,n,h)}return Jx(t,n,l,u,h)}function xT(t,n,l){var u=n.pendingProps,h=u.children,g=t!==null?t.memoizedState:null;if(u.mode==="hidden"||ee)if((n.mode&hn)===jt){var C={baseLanes:Xe,cachePool:null,transitions:null};n.memoizedState=C,o0(n,l)}else if(aa(l,oa)){var Se={baseLanes:Xe,cachePool:null,transitions:null};n.memoizedState=Se;var ye=g!==null?g.baseLanes:l;o0(n,ye)}else{var O=null,D;if(g!==null){var H=g.baseLanes;D=on(H,l)}else D=l;n.lanes=n.childLanes=oa;var Q={baseLanes:D,cachePool:O,transitions:null};return n.memoizedState=Q,n.updateQueue=null,o0(n,D),null}else{var Me;g!==null?(Me=on(g.baseLanes,l),n.memoizedState=null):Me=l,o0(n,Me)}return wa(t,n,h,l),n.child}function QN(t,n,l){var u=n.pendingProps;return wa(t,n,u,l),n.child}function XN(t,n,l){var u=n.pendingProps.children;return wa(t,n,u,l),n.child}function KN(t,n,l){{n.flags|=xn;{var u=n.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var h=n.pendingProps,g=h.children;return wa(t,n,g,l),n.child}function ST(t,n){var l=n.ref;(t===null&&l!==null||t!==null&&t.ref!==l)&&(n.flags|=xr,n.flags|=su)}function Jx(t,n,l,u,h){if(n.type!==n.elementType){var g=l.propTypes;g&&el(g,u,"prop",Vn(l))}var C;{var O=Vf(n,l,!0);C=jf(n,O)}var D,H;Wf(n,h),ba(n);{if(gm.current=n,co(!0),D=Zf(t,n,l,u,C,h),H=Jf(),n.mode&zn){hr(!0);try{D=Zf(t,n,l,u,C,h),H=Jf()}finally{hr(!1)}}co(!1)}return xa(),t!==null&&!il?(DE(t,n,h),Vs(t,n,h)):(_o()&&H&&D1(n),n.flags|=Ka,wa(t,n,D,h),n.child)}function CT(t,n,l,u,h){{switch(h6(n)){case!1:{var g=n.stateNode,C=n.type,O=new C(n.memoizedProps,g.context),D=O.state;g.updater.enqueueSetState(g,D,null);break}case!0:{n.flags|=Ft,n.flags|=Jr;var H=new Error("Simulated error coming from DevTools"),Q=Cc(h);n.lanes=on(n.lanes,Q);var Se=Yx(n,Zc(H,n),Q);ex(n,Se);break}}if(n.type!==n.elementType){var ye=l.propTypes;ye&&el(ye,u,"prop",Vn(l))}}var Me;Vl(l)?(Me=!0,rg(n)):Me=!1,Wf(n,h);var _e=n.stateNode,je;_e===null?(Yg(t,n),dT(n,l,u),Hx(n,l,u,h),je=!0):t===null?je=jN(n,l,u,h):je=UN(t,n,l,u,h);var xt=eS(t,n,l,je,Me,h);{var Ut=n.stateNode;je&&Ut.props!==u&&(Jc||d("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",rn(n)||"a component"),Jc=!0)}return xt}function eS(t,n,l,u,h,g){ST(t,n);var C=(n.flags&Ft)!==Vt;if(!u&&!C)return h&&rE(n,l,!1),Vs(t,n,g);var O=n.stateNode;gm.current=n;var D;if(C&&typeof l.getDerivedStateFromError!="function")D=null,iT();else{ba(n);{if(co(!0),D=O.render(),n.mode&zn){hr(!0);try{O.render()}finally{hr(!1)}}co(!1)}xa()}return n.flags|=Ka,t!==null&&C?qN(t,n,D,g):wa(t,n,D,g),n.memoizedState=O.state,h&&rE(n,l,!0),n.child}function wT(t){var n=t.stateNode;n.pendingContext?tE(t,n.pendingContext,n.pendingContext!==n.context):n.context&&tE(t,n.context,!1),tx(t,n.containerInfo)}function ZN(t,n,l){if(wT(n),t===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=n.pendingProps,h=n.memoizedState,g=h.element;RE(t,n),xg(n,u,null,l);var C=n.memoizedState;n.stateNode;var O=C.element;if(h.isDehydrated){var D={element:O,isDehydrated:!1,cache:C.cache,pendingSuspenseBoundaries:C.pendingSuspenseBoundaries,transitions:C.transitions},H=n.updateQueue;if(H.baseState=D,n.memoizedState=D,n.flags&Ro){var Q=Zc(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."),n);return ET(t,n,O,l,Q)}else if(O!==g){var Se=Zc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),n);return ET(t,n,O,l,Se)}else{tN(n);var ye=bE(n,null,O,l);n.child=ye;for(var Me=ye;Me;)Me.flags=Me.flags&~pr|ea,Me=Me.sibling}}else{if(zf(),O===g)return Vs(t,n,l);wa(t,n,O,l)}return n.child}function ET(t,n,l,u,h){return zf(),V1(h),n.flags|=Ro,wa(t,n,l,u),n.child}function JN(t,n,l){kE(n),t===null&&F1(n);var u=n.type,h=n.pendingProps,g=t!==null?t.memoizedProps:null,C=h.children,O=b1(u,h);return O?C=null:g!==null&&b1(u,g)&&(n.flags|=Na),ST(t,n),wa(t,n,C,l),n.child}function e2(t,n){return t===null&&F1(n),null}function t2(t,n,l,u){Yg(t,n);var h=n.pendingProps,g=l,C=g._payload,O=g._init,D=O(C);n.type=D;var H=n.tag=e6(D),Q=al(D,h),Se;switch(H){case b:return tS(n,D),n.type=D=lp(D),Se=Jx(null,n,D,Q,u),Se;case S:return n.type=D=PS(D),Se=CT(null,n,D,Q,u),Se;case k:return n.type=D=NS(D),Se=yT(null,n,D,Q,u),Se;case z:{if(n.type!==n.elementType){var ye=D.propTypes;ye&&el(ye,Q,"prop",Vn(D))}return Se=gT(null,n,D,al(D.type,Q),u),Se}}var Me="";throw D!==null&&typeof D=="object"&&D.$$typeof===Wt&&(Me=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+D+". "+("Lazy element type must resolve to a class or function."+Me))}function n2(t,n,l,u,h){Yg(t,n),n.tag=S;var g;return Vl(l)?(g=!0,rg(n)):g=!1,Wf(n,h),dT(n,l,u),Hx(n,l,u,h),eS(null,n,l,!0,g,h)}function r2(t,n,l,u){Yg(t,n);var h=n.pendingProps,g;{var C=Vf(n,l,!1);g=jf(n,C)}Wf(n,u);var O,D;ba(n);{if(l.prototype&&typeof l.prototype.render=="function"){var H=Vn(l)||"Unknown";qx[H]||(d("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.",H,H),qx[H]=!0)}n.mode&zn&&nl.recordLegacyContextWarning(n,null),co(!0),gm.current=n,O=Zf(null,n,l,h,g,u),D=Jf(),co(!1)}if(xa(),n.flags|=Ka,typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){var Q=Vn(l)||"Unknown";bm[Q]||(d("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),bm[Q]=!0)}if(typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){{var Se=Vn(l)||"Unknown";bm[Se]||(d("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.",Se,Se,Se),bm[Se]=!0)}n.tag=S,n.memoizedState=null,n.updateQueue=null;var ye=!1;return Vl(l)?(ye=!0,rg(n)):ye=!1,n.memoizedState=O.state!==null&&O.state!==void 0?O.state:null,J1(n),cT(n,O),Hx(n,l,h,u),eS(null,n,l,!0,ye,u)}else{if(n.tag=b,n.mode&zn){hr(!0);try{O=Zf(null,n,l,h,g,u),D=Jf()}finally{hr(!1)}}return _o()&&D&&D1(n),wa(null,n,O,u),tS(n,l),n.child}}function tS(t,n){{if(n&&n.childContextTypes&&d("%s(...): childContextTypes cannot be defined on a function component.",n.displayName||n.name||"Component"),t.ref!==null){var l="",u=$a();u&&(l+=`
|
|
2803
|
+
`+(""+H);console.error(Se)}catch(ye){setTimeout(function(){throw ye})}}var zN=typeof WeakMap=="function"?WeakMap:Map;function pT(t,n,l){var u=Fs(Kn,l);u.tag=K1,u.payload={element:null};var h=n.value;return u.callback=function(){LD(h),Wx(t,n)},u}function Yx(t,n,l){var u=Fs(Kn,l);u.tag=K1;var h=t.type.getDerivedStateFromError;if(typeof h=="function"){var g=n.value;u.payload=function(){return h(g)},u.callback=function(){ER(t),Wx(t,n)}}var C=t.stateNode;return C!==null&&typeof C.componentDidCatch=="function"&&(u.callback=function(){ER(t),Wx(t,n),typeof h!="function"&&DD(this);var D=n.value,H=n.stack;this.componentDidCatch(D,{componentStack:H!==null?H:""}),typeof h!="function"&&(aa(t.lanes,qt)||d("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",rn(t)||"Unknown"))}),u}function hT(t,n,l){var u=t.pingCache,h;if(u===null?(u=t.pingCache=new zN,h=new Set,u.set(n,h)):(h=u.get(n),h===void 0&&(h=new Set,u.set(n,h))),!h.has(l)){h.add(l);var g=ID.bind(null,t,n,l);ra&&Mm(t,l),n.then(g,g)}}function HN(t,n,l,u){var h=t.updateQueue;if(h===null){var g=new Set;g.add(l),t.updateQueue=g}else h.add(l)}function GN(t,n){var l=t.tag;if((t.mode&hn)===jt&&(l===b||l===k||l===Z)){var u=t.alternate;u?(t.updateQueue=u.updateQueue,t.memoizedState=u.memoizedState,t.lanes=u.lanes):(t.updateQueue=null,t.memoizedState=null)}}function mT(t){var n=t;do{if(n.tag===N&&TN(n))return n;n=n.return}while(n!==null);return null}function vT(t,n,l,u,h){if((t.mode&hn)===jt){if(t===n)t.flags|=Jr;else{if(t.flags|=Ft,l.flags|=Ud,l.flags&=-52805,l.tag===S){var g=l.alternate;if(g===null)l.tag=ge;else{var C=Fs(Kn,qt);C.tag=vg,Ou(l,C,qt)}}l.lanes=on(l.lanes,qt)}return t}return t.flags|=Jr,t.lanes=h,t}function WN(t,n,l,u,h){if(l.flags|=lc,ra&&Mm(t,h),u!==null&&typeof u=="object"&&typeof u.then=="function"){var g=u;GN(l),_o()&&l.mode&hn&&lE();var C=mT(n);if(C!==null){C.flags&=~Ro,vT(C,n,l,t,h),C.mode&hn&&hT(t,g,h),HN(C,t,g);return}else{if(!ay(h)){hT(t,g,h),RS();return}var O=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.");u=O}}else if(_o()&&l.mode&hn){lE();var D=mT(n);if(D!==null){(D.flags&Jr)===Vt&&(D.flags|=Ro),vT(D,n,l,t,h),V1(Zc(u,l));return}}u=Zc(u,l),TD(u);var H=n;do{switch(H.tag){case w:{var Q=u;H.flags|=Jr;var Se=Cc(h);H.lanes=on(H.lanes,Se);var ye=pT(H,Q,Se);ex(H,ye);return}case S:var Me=u,_e=H.type,je=H.stateNode;if((H.flags&Ft)===Vt&&(typeof _e.getDerivedStateFromError=="function"||je!==null&&typeof je.componentDidCatch=="function"&&!mR(je))){H.flags|=Jr;var xt=Cc(h);H.lanes=on(H.lanes,xt);var Ut=Yx(H,Me,xt);ex(H,Ut);return}break}H=H.return}while(H!==null)}function YN(){return null}var gm=i.ReactCurrentOwner,il=!1,qx,bm,Qx,Xx,Kx,Jc,Zx,Gg,xm;qx={},bm={},Qx={},Xx={},Kx={},Jc=!1,Zx={},Gg={},xm={};function wa(t,n,l,u){t===null?n.child=bE(n,null,l,u):n.child=Hf(n,t.child,l,u)}function qN(t,n,l,u){n.child=Hf(n,t.child,null,u),n.child=Hf(n,null,l,u)}function yT(t,n,l,u,h){if(n.type!==n.elementType){var g=l.propTypes;g&&el(g,u,"prop",Vn(l))}var C=l.render,O=n.ref,D,H;Wf(n,h),ba(n);{if(gm.current=n,co(!0),D=Zf(t,n,C,u,O,h),H=Jf(),n.mode&zn){hr(!0);try{D=Zf(t,n,C,u,O,h),H=Jf()}finally{hr(!1)}}co(!1)}return xa(),t!==null&&!il?(DE(t,n,h),Vs(t,n,h)):(_o()&&H&&D1(n),n.flags|=Za,wa(t,n,D,h),n.child)}function gT(t,n,l,u,h){if(t===null){var g=l.type;if(JD(g)&&l.compare===null&&l.defaultProps===void 0){var C=g;return C=lp(g),n.tag=Z,n.type=C,tS(n,g),bT(t,n,C,u,h)}{var O=g.propTypes;if(O&&el(O,u,"prop",Vn(g)),l.defaultProps!==void 0){var D=Vn(g)||"Unknown";xm[D]||(d("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",D),xm[D]=!0)}}var H=_S(l.type,null,u,n,n.mode,h);return H.ref=n.ref,H.return=n,n.child=H,H}{var Q=l.type,Se=Q.propTypes;Se&&el(Se,u,"prop",Vn(Q))}var ye=t.child,Me=lS(t,h);if(!Me){var _e=ye.memoizedProps,je=l.compare;if(je=je!==null?je:Pt,je(_e,u)&&t.ref===n.ref)return Vs(t,n,h)}n.flags|=Za;var xt=od(ye,u);return xt.ref=n.ref,xt.return=n,n.child=xt,xt}function bT(t,n,l,u,h){if(n.type!==n.elementType){var g=n.elementType;if(g.$$typeof===Wt){var C=g,O=C._payload,D=C._init;try{g=D(O)}catch{g=null}var H=g&&g.propTypes;H&&el(H,u,"prop",Vn(g))}}if(t!==null){var Q=t.memoizedProps;if(Pt(Q,u)&&t.ref===n.ref&&n.type===t.type)if(il=!1,n.pendingProps=u=Q,lS(t,h))(t.flags&Ud)!==Vt&&(il=!0);else return n.lanes=t.lanes,Vs(t,n,h)}return Jx(t,n,l,u,h)}function xT(t,n,l){var u=n.pendingProps,h=u.children,g=t!==null?t.memoizedState:null;if(u.mode==="hidden"||ee)if((n.mode&hn)===jt){var C={baseLanes:Xe,cachePool:null,transitions:null};n.memoizedState=C,o0(n,l)}else if(aa(l,oa)){var Se={baseLanes:Xe,cachePool:null,transitions:null};n.memoizedState=Se;var ye=g!==null?g.baseLanes:l;o0(n,ye)}else{var O=null,D;if(g!==null){var H=g.baseLanes;D=on(H,l)}else D=l;n.lanes=n.childLanes=oa;var Q={baseLanes:D,cachePool:O,transitions:null};return n.memoizedState=Q,n.updateQueue=null,o0(n,D),null}else{var Me;g!==null?(Me=on(g.baseLanes,l),n.memoizedState=null):Me=l,o0(n,Me)}return wa(t,n,h,l),n.child}function QN(t,n,l){var u=n.pendingProps;return wa(t,n,u,l),n.child}function XN(t,n,l){var u=n.pendingProps.children;return wa(t,n,u,l),n.child}function KN(t,n,l){{n.flags|=xn;{var u=n.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var h=n.pendingProps,g=h.children;return wa(t,n,g,l),n.child}function ST(t,n){var l=n.ref;(t===null&&l!==null||t!==null&&t.ref!==l)&&(n.flags|=xr,n.flags|=su)}function Jx(t,n,l,u,h){if(n.type!==n.elementType){var g=l.propTypes;g&&el(g,u,"prop",Vn(l))}var C;{var O=Vf(n,l,!0);C=jf(n,O)}var D,H;Wf(n,h),ba(n);{if(gm.current=n,co(!0),D=Zf(t,n,l,u,C,h),H=Jf(),n.mode&zn){hr(!0);try{D=Zf(t,n,l,u,C,h),H=Jf()}finally{hr(!1)}}co(!1)}return xa(),t!==null&&!il?(DE(t,n,h),Vs(t,n,h)):(_o()&&H&&D1(n),n.flags|=Za,wa(t,n,D,h),n.child)}function CT(t,n,l,u,h){{switch(h6(n)){case!1:{var g=n.stateNode,C=n.type,O=new C(n.memoizedProps,g.context),D=O.state;g.updater.enqueueSetState(g,D,null);break}case!0:{n.flags|=Ft,n.flags|=Jr;var H=new Error("Simulated error coming from DevTools"),Q=Cc(h);n.lanes=on(n.lanes,Q);var Se=Yx(n,Zc(H,n),Q);ex(n,Se);break}}if(n.type!==n.elementType){var ye=l.propTypes;ye&&el(ye,u,"prop",Vn(l))}}var Me;Vl(l)?(Me=!0,rg(n)):Me=!1,Wf(n,h);var _e=n.stateNode,je;_e===null?(Yg(t,n),dT(n,l,u),Hx(n,l,u,h),je=!0):t===null?je=jN(n,l,u,h):je=UN(t,n,l,u,h);var xt=eS(t,n,l,je,Me,h);{var Ut=n.stateNode;je&&Ut.props!==u&&(Jc||d("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",rn(n)||"a component"),Jc=!0)}return xt}function eS(t,n,l,u,h,g){ST(t,n);var C=(n.flags&Ft)!==Vt;if(!u&&!C)return h&&rE(n,l,!1),Vs(t,n,g);var O=n.stateNode;gm.current=n;var D;if(C&&typeof l.getDerivedStateFromError!="function")D=null,iT();else{ba(n);{if(co(!0),D=O.render(),n.mode&zn){hr(!0);try{O.render()}finally{hr(!1)}}co(!1)}xa()}return n.flags|=Za,t!==null&&C?qN(t,n,D,g):wa(t,n,D,g),n.memoizedState=O.state,h&&rE(n,l,!0),n.child}function wT(t){var n=t.stateNode;n.pendingContext?tE(t,n.pendingContext,n.pendingContext!==n.context):n.context&&tE(t,n.context,!1),tx(t,n.containerInfo)}function ZN(t,n,l){if(wT(n),t===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=n.pendingProps,h=n.memoizedState,g=h.element;RE(t,n),xg(n,u,null,l);var C=n.memoizedState;n.stateNode;var O=C.element;if(h.isDehydrated){var D={element:O,isDehydrated:!1,cache:C.cache,pendingSuspenseBoundaries:C.pendingSuspenseBoundaries,transitions:C.transitions},H=n.updateQueue;if(H.baseState=D,n.memoizedState=D,n.flags&Ro){var Q=Zc(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."),n);return ET(t,n,O,l,Q)}else if(O!==g){var Se=Zc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),n);return ET(t,n,O,l,Se)}else{tN(n);var ye=bE(n,null,O,l);n.child=ye;for(var Me=ye;Me;)Me.flags=Me.flags&~pr|ea,Me=Me.sibling}}else{if(zf(),O===g)return Vs(t,n,l);wa(t,n,O,l)}return n.child}function ET(t,n,l,u,h){return zf(),V1(h),n.flags|=Ro,wa(t,n,l,u),n.child}function JN(t,n,l){kE(n),t===null&&F1(n);var u=n.type,h=n.pendingProps,g=t!==null?t.memoizedProps:null,C=h.children,O=b1(u,h);return O?C=null:g!==null&&b1(u,g)&&(n.flags|=Na),ST(t,n),wa(t,n,C,l),n.child}function e2(t,n){return t===null&&F1(n),null}function t2(t,n,l,u){Yg(t,n);var h=n.pendingProps,g=l,C=g._payload,O=g._init,D=O(C);n.type=D;var H=n.tag=e6(D),Q=al(D,h),Se;switch(H){case b:return tS(n,D),n.type=D=lp(D),Se=Jx(null,n,D,Q,u),Se;case S:return n.type=D=PS(D),Se=CT(null,n,D,Q,u),Se;case k:return n.type=D=NS(D),Se=yT(null,n,D,Q,u),Se;case z:{if(n.type!==n.elementType){var ye=D.propTypes;ye&&el(ye,Q,"prop",Vn(D))}return Se=gT(null,n,D,al(D.type,Q),u),Se}}var Me="";throw D!==null&&typeof D=="object"&&D.$$typeof===Wt&&(Me=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+D+". "+("Lazy element type must resolve to a class or function."+Me))}function n2(t,n,l,u,h){Yg(t,n),n.tag=S;var g;return Vl(l)?(g=!0,rg(n)):g=!1,Wf(n,h),dT(n,l,u),Hx(n,l,u,h),eS(null,n,l,!0,g,h)}function r2(t,n,l,u){Yg(t,n);var h=n.pendingProps,g;{var C=Vf(n,l,!1);g=jf(n,C)}Wf(n,u);var O,D;ba(n);{if(l.prototype&&typeof l.prototype.render=="function"){var H=Vn(l)||"Unknown";qx[H]||(d("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.",H,H),qx[H]=!0)}n.mode&zn&&nl.recordLegacyContextWarning(n,null),co(!0),gm.current=n,O=Zf(null,n,l,h,g,u),D=Jf(),co(!1)}if(xa(),n.flags|=Za,typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){var Q=Vn(l)||"Unknown";bm[Q]||(d("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),bm[Q]=!0)}if(typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){{var Se=Vn(l)||"Unknown";bm[Se]||(d("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.",Se,Se,Se),bm[Se]=!0)}n.tag=S,n.memoizedState=null,n.updateQueue=null;var ye=!1;return Vl(l)?(ye=!0,rg(n)):ye=!1,n.memoizedState=O.state!==null&&O.state!==void 0?O.state:null,J1(n),cT(n,O),Hx(n,l,h,u),eS(null,n,l,!0,ye,u)}else{if(n.tag=b,n.mode&zn){hr(!0);try{O=Zf(null,n,l,h,g,u),D=Jf()}finally{hr(!1)}}return _o()&&D&&D1(n),wa(null,n,O,u),tS(n,l),n.child}}function tS(t,n){{if(n&&n.childContextTypes&&d("%s(...): childContextTypes cannot be defined on a function component.",n.displayName||n.name||"Component"),t.ref!==null){var l="",u=$a();u&&(l+=`
|
|
2804
2804
|
|
|
2805
|
-
Check the render method of \``+u+"`.");var h=u||"",g=t._debugSource;g&&(h=g.fileName+":"+g.lineNumber),Kx[h]||(Kx[h]=!0,d("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",l))}if(n.defaultProps!==void 0){var C=Vn(n)||"Unknown";xm[C]||(d("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",C),xm[C]=!0)}if(typeof n.getDerivedStateFromProps=="function"){var O=Vn(n)||"Unknown";Xx[O]||(d("%s: Function components do not support getDerivedStateFromProps.",O),Xx[O]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var D=Vn(n)||"Unknown";Qx[D]||(d("%s: Function components do not support contextType.",D),Qx[D]=!0)}}}var nS={dehydrated:null,treeContext:null,retryLane:En};function rS(t){return{baseLanes:t,cachePool:YN(),transitions:null}}function o2(t,n){var l=null;return{baseLanes:on(t.baseLanes,n),cachePool:l,transitions:t.transitions}}function a2(t,n,l,u){if(n!==null){var h=n.memoizedState;if(h===null)return!1}return ox(t,um)}function i2(t,n){return wc(t.childLanes,n)}function TT(t,n,l){var u=n.pendingProps;m6(n)&&(n.flags|=Ft);var h=rl.current,g=!1,C=(n.flags&Ft)!==Vt;if(C||a2(h,t)?(g=!0,n.flags&=~Ft):(t===null||t.memoizedState!==null)&&(h=EN(h,NE)),h=qf(h),Au(n,h),t===null){F1(n);var O=n.memoizedState;if(O!==null){var D=O.dehydrated;if(D!==null)return d2(n,D)}var H=u.children,Q=u.fallback;if(g){var Se=l2(n,H,Q,l),ye=n.child;return ye.memoizedState=rS(l),n.memoizedState=nS,Se}else return oS(n,H)}else{var Me=t.memoizedState;if(Me!==null){var _e=Me.dehydrated;if(_e!==null)return f2(t,n,C,u,_e,Me,l)}if(g){var je=u.fallback,xt=u.children,Ut=u2(t,n,xt,je,l),It=n.child,wn=t.child.memoizedState;return It.memoizedState=wn===null?rS(l):o2(wn,l),It.childLanes=i2(t,l),n.memoizedState=nS,Ut}else{var gn=u.children,ke=s2(t,n,gn,l);return n.memoizedState=null,ke}}}function oS(t,n,l){var u=t.mode,h={mode:"visible",children:n},g=aS(h,u);return g.return=t,t.child=g,g}function l2(t,n,l,u){var h=t.mode,g=t.child,C={mode:"hidden",children:n},O,D;return(h&hn)===jt&&g!==null?(O=g,O.childLanes=Xe,O.pendingProps=C,t.mode&$n&&(O.actualDuration=0,O.actualStartTime=-1,O.selfBaseDuration=0,O.treeBaseDuration=0),D=_u(l,h,u,null)):(O=aS(C,h),D=_u(l,h,u,null)),O.return=t,D.return=t,O.sibling=D,t.child=O,D}function aS(t,n,l){return RR(t,n,Xe,null)}function RT(t,n){return od(t,n)}function s2(t,n,l,u){var h=t.child,g=h.sibling,C=RT(h,{mode:"visible",children:l});if((n.mode&hn)===jt&&(C.lanes=u),C.return=n,C.sibling=null,g!==null){var O=n.deletions;O===null?(n.deletions=[g],n.flags|=Pa):O.push(g)}return n.child=C,C}function u2(t,n,l,u,h){var g=n.mode,C=t.child,O=C.sibling,D={mode:"hidden",children:l},H;if((g&hn)===jt&&n.child!==C){var Q=n.child;H=Q,H.childLanes=Xe,H.pendingProps=D,n.mode&$n&&(H.actualDuration=0,H.actualStartTime=-1,H.selfBaseDuration=C.selfBaseDuration,H.treeBaseDuration=C.treeBaseDuration),n.deletions=null}else H=RT(C,D),H.subtreeFlags=C.subtreeFlags&Lr;var Se;return O!==null?Se=od(O,u):(Se=_u(u,g,h,null),Se.flags|=pr),Se.return=n,H.return=n,H.sibling=Se,n.child=H,Se}function Wg(t,n,l,u){u!==null&&V1(u),Hf(n,t.child,null,l);var h=n.pendingProps,g=h.children,C=oS(n,g);return C.flags|=pr,n.memoizedState=null,C}function c2(t,n,l,u,h){var g=n.mode,C={mode:"visible",children:l},O=aS(C,g),D=_u(u,g,h,null);return D.flags|=pr,O.return=n,D.return=n,O.sibling=D,n.child=O,(n.mode&hn)!==jt&&Hf(n,t.child,null,h),D}function d2(t,n,l){return(t.mode&hn)===jt?(d("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=qt):w1(n)?t.lanes=Oo:t.lanes=oa,null}function f2(t,n,l,u,h,g,C){if(l)if(n.flags&Ro){n.flags&=~Ro;var ke=Gx(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Wg(t,n,C,ke)}else{if(n.memoizedState!==null)return n.child=t.child,n.flags|=Ft,null;var Ue=u.children,Pe=u.fallback,tt=c2(t,n,Ue,Pe,C),Rt=n.child;return Rt.memoizedState=rS(C),n.memoizedState=nS,tt}else{if(JP(),(n.mode&hn)===jt)return Wg(t,n,C,null);if(w1(h)){var O,D,H;{var Q=vP(h);O=Q.digest,D=Q.message,H=Q.stack}var Se;D?Se=new Error(D):Se=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var ye=Gx(Se,O,H);return Wg(t,n,C,ye)}var Me=aa(C,t.childLanes);if(il||Me){var _e=r0();if(_e!==null){var je=wh(_e,C);if(je!==En&&je!==g.retryLane){g.retryLane=je;var xt=Kn;Ua(t,je),Eo(_e,t,je,xt)}}RS();var Ut=Gx(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 Wg(t,n,C,Ut)}else if(Qw(h)){n.flags|=Ft,n.child=t.child;var It=_D.bind(null,t);return yP(h,It),null}else{nN(n,h,g.treeContext);var wn=u.children,gn=oS(n,wn);return gn.flags|=ea,gn}}}function OT(t,n,l){t.lanes=on(t.lanes,n);var u=t.alternate;u!==null&&(u.lanes=on(u.lanes,n)),Q1(t.return,n,l)}function p2(t,n,l){for(var u=n;u!==null;){if(u.tag===N){var h=u.memoizedState;h!==null&&OT(u,l,t)}else if(u.tag===se)OT(u,l,t);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)return;for(;u.sibling===null;){if(u.return===null||u.return===t)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function h2(t){for(var n=t,l=null;n!==null;){var u=n.alternate;u!==null&&Eg(u)===null&&(l=n),n=n.sibling}return l}function m2(t){if(t!==void 0&&t!=="forwards"&&t!=="backwards"&&t!=="together"&&!Zx[t])if(Zx[t]=!0,typeof t=="string")switch(t.toLowerCase()){case"together":case"forwards":case"backwards":{d('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',t,t.toLowerCase());break}case"forward":case"backward":{d('"%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:d('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',t);break}else d('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',t)}function v2(t,n){t!==void 0&&!Gg[t]&&(t!=="collapsed"&&t!=="hidden"?(Gg[t]=!0,d('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',t)):n!=="forwards"&&n!=="backwards"&&(Gg[t]=!0,d('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',t)))}function $T(t,n){{var l=fo(t),u=!l&&typeof Xt(t)=="function";if(l||u){var h=l?"array":"iterable";return d("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,n,h),!1}}return!0}function y2(t,n){if((n==="forwards"||n==="backwards")&&t!==void 0&&t!==null&&t!==!1)if(fo(t)){for(var l=0;l<t.length;l++)if(!$T(t[l],l))return}else{var u=Xt(t);if(typeof u=="function"){var h=u.call(t);if(h)for(var g=h.next(),C=0;!g.done;g=h.next()){if(!$T(g.value,C))return;C++}}else d('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?',n)}}function iS(t,n,l,u,h){var g=t.memoizedState;g===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:u,tail:l,tailMode:h}:(g.isBackwards=n,g.rendering=null,g.renderingStartTime=0,g.last=u,g.tail=l,g.tailMode=h)}function AT(t,n,l){var u=n.pendingProps,h=u.revealOrder,g=u.tail,C=u.children;m2(h),v2(g,h),y2(C,h),wa(t,n,C,l);var O=rl.current,D=ox(O,um);if(D)O=ax(O,um),n.flags|=Ft;else{var H=t!==null&&(t.flags&Ft)!==Vt;H&&p2(n,n.child,l),O=qf(O)}if(Au(n,O),(n.mode&hn)===jt)n.memoizedState=null;else switch(h){case"forwards":{var Q=h2(n.child),Se;Q===null?(Se=n.child,n.child=null):(Se=Q.sibling,Q.sibling=null),iS(n,!1,Se,Q,g);break}case"backwards":{var ye=null,Me=n.child;for(n.child=null;Me!==null;){var _e=Me.alternate;if(_e!==null&&Eg(_e)===null){n.child=Me;break}var je=Me.sibling;Me.sibling=ye,ye=Me,Me=je}iS(n,!0,ye,null,g);break}case"together":{iS(n,!1,null,null,void 0);break}default:n.memoizedState=null}return n.child}function g2(t,n,l){tx(n,n.stateNode.containerInfo);var u=n.pendingProps;return t===null?n.child=Hf(n,null,u,l):wa(t,n,u,l),n.child}var kT=!1;function b2(t,n,l){var u=n.type,h=u._context,g=n.pendingProps,C=n.memoizedProps,O=g.value;{"value"in g||kT||(kT=!0,d("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var D=n.type.propTypes;D&&el(D,g,"prop","Context.Provider")}if(CE(n,h,O),C!==null){var H=C.value;if(Je(H,O)){if(C.children===g.children&&!tg())return Vs(t,n,l)}else mN(n,h,l)}var Q=g.children;return wa(t,n,Q,l),n.child}var PT=!1;function x2(t,n,l){var u=n.type;u._context===void 0?u!==u.Consumer&&(PT||(PT=!0,d("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var h=n.pendingProps,g=h.children;typeof g!="function"&&d("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."),Wf(n,l);var C=ro(u);ba(n);var O;return gm.current=n,co(!0),O=g(C),co(!1),xa(),n.flags|=Ka,wa(t,n,O,l),n.child}function Sm(){il=!0}function Yg(t,n){(n.mode&hn)===jt&&t!==null&&(t.alternate=null,n.alternate=null,n.flags|=pr)}function Vs(t,n,l){return t!==null&&(n.dependencies=t.dependencies),iT(),Dm(n.lanes),aa(l,n.childLanes)?(pN(t,n),n.child):null}function S2(t,n,l){{var u=n.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(t.alternate=null,n.alternate=null,l.index=n.index,l.sibling=n.sibling,l.return=n.return,l.ref=n.ref,n===u.child)u.child=l;else{var h=u.child;if(h===null)throw new Error("Expected parent to have a child.");for(;h.sibling!==n;)if(h=h.sibling,h===null)throw new Error("Expected to find the previous sibling.");h.sibling=l}var g=u.deletions;return g===null?(u.deletions=[t],u.flags|=Pa):g.push(t),l.flags|=pr,l}}function lS(t,n){var l=t.lanes;return!!aa(l,n)}function C2(t,n,l){switch(n.tag){case w:wT(n),n.stateNode,zf();break;case A:kE(n);break;case S:{var u=n.type;Vl(u)&&rg(n);break}case R:tx(n,n.stateNode.containerInfo);break;case Y:{var h=n.memoizedProps.value,g=n.type._context;CE(n,g,h);break}case V:{var C=aa(l,n.childLanes);C&&(n.flags|=xn);{var O=n.stateNode;O.effectDuration=0,O.passiveEffectDuration=0}}break;case N:{var D=n.memoizedState;if(D!==null){if(D.dehydrated!==null)return Au(n,qf(rl.current)),n.flags|=Ft,null;var H=n.child,Q=H.childLanes;if(aa(l,Q))return TT(t,n,l);Au(n,qf(rl.current));var Se=Vs(t,n,l);return Se!==null?Se.sibling:null}else Au(n,qf(rl.current));break}case se:{var ye=(t.flags&Ft)!==Vt,Me=aa(l,n.childLanes);if(ye){if(Me)return AT(t,n,l);n.flags|=Ft}var _e=n.memoizedState;if(_e!==null&&(_e.rendering=null,_e.tail=null,_e.lastEffect=null),Au(n,rl.current),Me)break;return null}case he:case we:return n.lanes=Xe,xT(t,n,l)}return Vs(t,n,l)}function NT(t,n,l){if(n._debugNeedsRemount&&t!==null)return S2(t,n,_S(n.type,n.key,n.pendingProps,n._debugOwner||null,n.mode,n.lanes));if(t!==null){var u=t.memoizedProps,h=n.pendingProps;if(u!==h||tg()||n.type!==t.type)il=!0;else{var g=lS(t,l);if(!g&&(n.flags&Ft)===Vt)return il=!1,C2(t,n,l);(t.flags&Ud)!==Vt?il=!0:il=!1}}else if(il=!1,_o()&&YP(n)){var C=n.index,O=qP();iE(n,O,C)}switch(n.lanes=Xe,n.tag){case T:return r2(t,n,n.type,l);case ie:{var D=n.elementType;return t2(t,n,D,l)}case b:{var H=n.type,Q=n.pendingProps,Se=n.elementType===H?Q:al(H,Q);return Jx(t,n,H,Se,l)}case S:{var ye=n.type,Me=n.pendingProps,_e=n.elementType===ye?Me:al(ye,Me);return CT(t,n,ye,_e,l)}case w:return ZN(t,n,l);case A:return JN(t,n,l);case L:return e2(t,n);case N:return TT(t,n,l);case R:return g2(t,n,l);case k:{var je=n.type,xt=n.pendingProps,Ut=n.elementType===je?xt:al(je,xt);return yT(t,n,je,Ut,l)}case P:return QN(t,n,l);case j:return XN(t,n,l);case V:return KN(t,n,l);case Y:return b2(t,n,l);case G:return x2(t,n,l);case z:{var It=n.type,wn=n.pendingProps,gn=al(It,wn);if(n.type!==n.elementType){var ke=It.propTypes;ke&&el(ke,gn,"prop",Vn(It))}return gn=al(It.type,gn),gT(t,n,It,gn,l)}case Z:return bT(t,n,n.type,n.pendingProps,l);case ge:{var Ue=n.type,Pe=n.pendingProps,tt=n.elementType===Ue?Pe:al(Ue,Pe);return n2(t,n,Ue,tt,l)}case se:return AT(t,n,l);case Te:break;case he:return xT(t,n,l)}throw new Error("Unknown unit of work tag ("+n.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ep(t){t.flags|=xn}function DT(t){t.flags|=xr,t.flags|=su}var MT,sS,LT,IT;MT=function(t,n,l,u){for(var h=n.child;h!==null;){if(h.tag===A||h.tag===L)Hk(t,h.stateNode);else if(h.tag!==R){if(h.child!==null){h.child.return=h,h=h.child;continue}}if(h===n)return;for(;h.sibling===null;){if(h.return===null||h.return===n)return;h=h.return}h.sibling.return=h.return,h=h.sibling}},sS=function(t,n){},LT=function(t,n,l,u,h){var g=t.memoizedProps;if(g!==u){var C=n.stateNode,O=nx(),D=Wk(C,l,g,u,h,O);n.updateQueue=D,D&&ep(n)}},IT=function(t,n,l,u){l!==u&&ep(n)};function Cm(t,n){if(!_o())switch(t.tailMode){case"hidden":{for(var l=t.tail,u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?t.tail=null:u.sibling=null;break}case"collapsed":{for(var h=t.tail,g=null;h!==null;)h.alternate!==null&&(g=h),h=h.sibling;g===null?!n&&t.tail!==null?t.tail.sibling=null:t.tail=null:g.sibling=null;break}}}function Vo(t){var n=t.alternate!==null&&t.alternate.child===t.child,l=Xe,u=Vt;if(n){if((t.mode&$n)!==jt){for(var D=t.selfBaseDuration,H=t.child;H!==null;)l=on(l,on(H.lanes,H.childLanes)),u|=H.subtreeFlags&Lr,u|=H.flags&Lr,D+=H.treeBaseDuration,H=H.sibling;t.treeBaseDuration=D}else for(var Q=t.child;Q!==null;)l=on(l,on(Q.lanes,Q.childLanes)),u|=Q.subtreeFlags&Lr,u|=Q.flags&Lr,Q.return=t,Q=Q.sibling;t.subtreeFlags|=u}else{if((t.mode&$n)!==jt){for(var h=t.actualDuration,g=t.selfBaseDuration,C=t.child;C!==null;)l=on(l,on(C.lanes,C.childLanes)),u|=C.subtreeFlags,u|=C.flags,h+=C.actualDuration,g+=C.treeBaseDuration,C=C.sibling;t.actualDuration=h,t.treeBaseDuration=g}else for(var O=t.child;O!==null;)l=on(l,on(O.lanes,O.childLanes)),u|=O.subtreeFlags,u|=O.flags,O.return=t,O=O.sibling;t.subtreeFlags|=u}return t.childLanes=l,n}function w2(t,n,l){if(lN()&&(n.mode&hn)!==jt&&(n.flags&Ft)===Vt)return pE(n),zf(),n.flags|=Ro|lc|Jr,!1;var u=sg(n);if(l!==null&&l.dehydrated!==null)if(t===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(aN(n),Vo(n),(n.mode&$n)!==jt){var h=l!==null;if(h){var g=n.child;g!==null&&(n.treeBaseDuration-=g.treeBaseDuration)}}return!1}else{if(zf(),(n.flags&Ft)===Vt&&(n.memoizedState=null),n.flags|=xn,Vo(n),(n.mode&$n)!==jt){var C=l!==null;if(C){var O=n.child;O!==null&&(n.treeBaseDuration-=O.treeBaseDuration)}}return!1}else return hE(),!0}function _T(t,n,l){var u=n.pendingProps;switch(M1(n),n.tag){case T:case ie:case Z:case b:case k:case P:case j:case V:case G:case z:return Vo(n),null;case S:{var h=n.type;return Vl(h)&&ng(n),Vo(n),null}case w:{var g=n.stateNode;if(Yf(n),k1(n),lx(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),t===null||t.child===null){var C=sg(n);if(C)ep(n);else if(t!==null){var O=t.memoizedState;(!O.isDehydrated||(n.flags&Ro)!==Vt)&&(n.flags|=Gr,hE())}}return sS(t,n),Vo(n),null}case A:{rx(n);var D=AE(),H=n.type;if(t!==null&&n.stateNode!=null)LT(t,n,H,u,D),t.ref!==n.ref&&DT(n);else{if(!u){if(n.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 Vo(n),null}var Q=nx(),Se=sg(n);if(Se)rN(n,D,Q)&&ep(n);else{var ye=zk(H,u,D,Q,n);MT(ye,n,!1,!1),n.stateNode=ye,Gk(ye,H,u,D)&&ep(n)}n.ref!==null&&DT(n)}return Vo(n),null}case L:{var Me=u;if(t&&n.stateNode!=null){var _e=t.memoizedProps;IT(t,n,_e,Me)}else{if(typeof Me!="string"&&n.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 je=AE(),xt=nx(),Ut=sg(n);Ut?oN(n)&&ep(n):n.stateNode=Yk(Me,je,xt,n)}return Vo(n),null}case N:{Qf(n);var It=n.memoizedState;if(t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){var wn=w2(t,n,It);if(!wn)return n.flags&Jr?n:null}if((n.flags&Ft)!==Vt)return n.lanes=l,(n.mode&$n)!==jt&&Nx(n),n;var gn=It!==null,ke=t!==null&&t.memoizedState!==null;if(gn!==ke&&gn){var Ue=n.child;if(Ue.flags|=Mr,(n.mode&hn)!==jt){var Pe=t===null&&(n.memoizedProps.unstable_avoidThisFallback!==!0||!0);Pe||ox(rl.current,NE)?ED():RS()}}var tt=n.updateQueue;if(tt!==null&&(n.flags|=xn),Vo(n),(n.mode&$n)!==jt&&gn){var Rt=n.child;Rt!==null&&(n.treeBaseDuration-=Rt.treeBaseDuration)}return null}case R:return Yf(n),sS(t,n),t===null&&jP(n.stateNode.containerInfo),Vo(n),null;case Y:var Ct=n.type._context;return q1(Ct,n),Vo(n),null;case ge:{var Qt=n.type;return Vl(Qt)&&ng(n),Vo(n),null}case se:{Qf(n);var tn=n.memoizedState;if(tn===null)return Vo(n),null;var Gn=(n.flags&Ft)!==Vt,Pn=tn.rendering;if(Pn===null)if(Gn)Cm(tn,!1);else{var qr=RD()&&(t===null||(t.flags&Ft)===Vt);if(!qr)for(var Nn=n.child;Nn!==null;){var Ur=Eg(Nn);if(Ur!==null){Gn=!0,n.flags|=Ft,Cm(tn,!1);var fa=Ur.updateQueue;return fa!==null&&(n.updateQueue=fa,n.flags|=xn),n.subtreeFlags=Vt,hN(n,l),Au(n,ax(rl.current,um)),n.child}Nn=Nn.sibling}tn.tail!==null&&Wr()>oR()&&(n.flags|=Ft,Gn=!0,Cm(tn,!1),n.lanes=hh)}else{if(!Gn){var Ho=Eg(Pn);if(Ho!==null){n.flags|=Ft,Gn=!0;var oi=Ho.updateQueue;if(oi!==null&&(n.updateQueue=oi,n.flags|=xn),Cm(tn,!0),tn.tail===null&&tn.tailMode==="hidden"&&!Pn.alternate&&!_o())return Vo(n),null}else Wr()*2-tn.renderingStartTime>oR()&&l!==oa&&(n.flags|=Ft,Gn=!0,Cm(tn,!1),n.lanes=hh)}if(tn.isBackwards)Pn.sibling=n.child,n.child=Pn;else{var Ra=tn.last;Ra!==null?Ra.sibling=Pn:n.child=Pn,tn.last=Pn}}if(tn.tail!==null){var Oa=tn.tail;tn.rendering=Oa,tn.tail=Oa.sibling,tn.renderingStartTime=Wr(),Oa.sibling=null;var pa=rl.current;return Gn?pa=ax(pa,um):pa=qf(pa),Au(n,pa),Oa}return Vo(n),null}case Te:break;case he:case we:{TS(n);var Hs=n.memoizedState,sp=Hs!==null;if(t!==null){var Fm=t.memoizedState,Yl=Fm!==null;Yl!==sp&&!ee&&(n.flags|=Mr)}return!sp||(n.mode&hn)===jt?Vo(n):aa(Wl,oa)&&(Vo(n),n.subtreeFlags&(pr|xn)&&(n.flags|=Mr)),null}case ce:return null;case fe:return null}throw new Error("Unknown unit of work tag ("+n.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function E2(t,n,l){switch(M1(n),n.tag){case S:{var u=n.type;Vl(u)&&ng(n);var h=n.flags;return h&Jr?(n.flags=h&~Jr|Ft,(n.mode&$n)!==jt&&Nx(n),n):null}case w:{n.stateNode,Yf(n),k1(n),lx();var g=n.flags;return(g&Jr)!==Vt&&(g&Ft)===Vt?(n.flags=g&~Jr|Ft,n):null}case A:return rx(n),null;case N:{Qf(n);var C=n.memoizedState;if(C!==null&&C.dehydrated!==null){if(n.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");zf()}var O=n.flags;return O&Jr?(n.flags=O&~Jr|Ft,(n.mode&$n)!==jt&&Nx(n),n):null}case se:return Qf(n),null;case R:return Yf(n),null;case Y:var D=n.type._context;return q1(D,n),null;case he:case we:return TS(n),null;case ce:return null;default:return null}}function FT(t,n,l){switch(M1(n),n.tag){case S:{var u=n.type.childContextTypes;u!=null&&ng(n);break}case w:{n.stateNode,Yf(n),k1(n),lx();break}case A:{rx(n);break}case R:Yf(n);break;case N:Qf(n);break;case se:Qf(n);break;case Y:var h=n.type._context;q1(h,n);break;case he:case we:TS(n);break}}var VT=null;VT=new Set;var qg=!1,jo=!1,T2=typeof WeakSet=="function"?WeakSet:Set,Nt=null,tp=null,np=null;function R2(t){Sl(null,function(){throw t}),ic()}var O2=function(t,n){if(n.props=t.memoizedProps,n.state=t.memoizedState,t.mode&$n)try{Hl(),n.componentWillUnmount()}finally{zl(t)}else n.componentWillUnmount()};function jT(t,n){try{Nu(go,t)}catch(l){lr(t,n,l)}}function uS(t,n,l){try{O2(t,l)}catch(u){lr(t,n,u)}}function $2(t,n,l){try{l.componentDidMount()}catch(u){lr(t,n,u)}}function UT(t,n){try{zT(t)}catch(l){lr(t,n,l)}}function rp(t,n){var l=t.ref;if(l!==null)if(typeof l=="function"){var u;try{if($e&&Be&&t.mode&$n)try{Hl(),u=l(null)}finally{zl(t)}else u=l(null)}catch(h){lr(t,n,h)}typeof u=="function"&&d("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",rn(t))}else l.current=null}function Qg(t,n,l){try{l()}catch(u){lr(t,n,u)}}var BT=!1;function A2(t,n){Uk(t.containerInfo),Nt=n,k2();var l=BT;return BT=!1,l}function k2(){for(;Nt!==null;){var t=Nt,n=t.child;(t.subtreeFlags&wl)!==Vt&&n!==null?(n.return=t,Nt=n):P2()}}function P2(){for(;Nt!==null;){var t=Nt;ir(t);try{N2(t)}catch(l){lr(t,t.return,l)}br();var n=t.sibling;if(n!==null){n.return=t.return,Nt=n;return}Nt=t.return}}function N2(t){var n=t.alternate,l=t.flags;if((l&Gr)!==Vt){switch(ir(t),t.tag){case b:case k:case Z:break;case S:{if(n!==null){var u=n.memoizedProps,h=n.memoizedState,g=t.stateNode;t.type===t.elementType&&!Jc&&(g.props!==t.memoizedProps&&d("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.",rn(t)||"instance"),g.state!==t.memoizedState&&d("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.",rn(t)||"instance"));var C=g.getSnapshotBeforeUpdate(t.elementType===t.type?u:al(t.type,u),h);{var O=VT;C===void 0&&!O.has(t.type)&&(O.add(t.type),d("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",rn(t)))}g.__reactInternalSnapshotBeforeUpdate=C}break}case w:{{var D=t.stateNode;fP(D.containerInfo)}break}case A:case L:case R:case ge: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.")}br()}}function ll(t,n,l){var u=n.updateQueue,h=u!==null?u.lastEffect:null;if(h!==null){var g=h.next,C=g;do{if((C.tag&t)===t){var O=C.destroy;C.destroy=void 0,O!==void 0&&((t&Fo)!==Ba?qi(n):(t&go)!==Ba&&uc(n),(t&jl)!==Ba&&Lm(!0),Qg(n,l,O),(t&jl)!==Ba&&Lm(!1),(t&Fo)!==Ba?Ol():(t&go)!==Ba&&fh())}C=C.next}while(C!==g)}}function Nu(t,n){var l=n.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var h=u.next,g=h;do{if((g.tag&t)===t){(t&Fo)!==Ba?dh(n):(t&go)!==Ba&&Yd(n);var C=g.create;(t&jl)!==Ba&&Lm(!0),g.destroy=C(),(t&jl)!==Ba&&Lm(!1),(t&Fo)!==Ba?ey():(t&go)!==Ba&&ty();{var O=g.destroy;if(O!==void 0&&typeof O!="function"){var D=void 0;(g.tag&go)!==Vt?D="useLayoutEffect":(g.tag&jl)!==Vt?D="useInsertionEffect":D="useEffect";var H=void 0;O===null?H=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof O.then=="function"?H=`
|
|
2805
|
+
Check the render method of \``+u+"`.");var h=u||"",g=t._debugSource;g&&(h=g.fileName+":"+g.lineNumber),Kx[h]||(Kx[h]=!0,d("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",l))}if(n.defaultProps!==void 0){var C=Vn(n)||"Unknown";xm[C]||(d("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",C),xm[C]=!0)}if(typeof n.getDerivedStateFromProps=="function"){var O=Vn(n)||"Unknown";Xx[O]||(d("%s: Function components do not support getDerivedStateFromProps.",O),Xx[O]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var D=Vn(n)||"Unknown";Qx[D]||(d("%s: Function components do not support contextType.",D),Qx[D]=!0)}}}var nS={dehydrated:null,treeContext:null,retryLane:En};function rS(t){return{baseLanes:t,cachePool:YN(),transitions:null}}function o2(t,n){var l=null;return{baseLanes:on(t.baseLanes,n),cachePool:l,transitions:t.transitions}}function a2(t,n,l,u){if(n!==null){var h=n.memoizedState;if(h===null)return!1}return ox(t,um)}function i2(t,n){return wc(t.childLanes,n)}function TT(t,n,l){var u=n.pendingProps;m6(n)&&(n.flags|=Ft);var h=rl.current,g=!1,C=(n.flags&Ft)!==Vt;if(C||a2(h,t)?(g=!0,n.flags&=~Ft):(t===null||t.memoizedState!==null)&&(h=EN(h,NE)),h=qf(h),Au(n,h),t===null){F1(n);var O=n.memoizedState;if(O!==null){var D=O.dehydrated;if(D!==null)return d2(n,D)}var H=u.children,Q=u.fallback;if(g){var Se=l2(n,H,Q,l),ye=n.child;return ye.memoizedState=rS(l),n.memoizedState=nS,Se}else return oS(n,H)}else{var Me=t.memoizedState;if(Me!==null){var _e=Me.dehydrated;if(_e!==null)return f2(t,n,C,u,_e,Me,l)}if(g){var je=u.fallback,xt=u.children,Ut=u2(t,n,xt,je,l),It=n.child,wn=t.child.memoizedState;return It.memoizedState=wn===null?rS(l):o2(wn,l),It.childLanes=i2(t,l),n.memoizedState=nS,Ut}else{var gn=u.children,ke=s2(t,n,gn,l);return n.memoizedState=null,ke}}}function oS(t,n,l){var u=t.mode,h={mode:"visible",children:n},g=aS(h,u);return g.return=t,t.child=g,g}function l2(t,n,l,u){var h=t.mode,g=t.child,C={mode:"hidden",children:n},O,D;return(h&hn)===jt&&g!==null?(O=g,O.childLanes=Xe,O.pendingProps=C,t.mode&$n&&(O.actualDuration=0,O.actualStartTime=-1,O.selfBaseDuration=0,O.treeBaseDuration=0),D=_u(l,h,u,null)):(O=aS(C,h),D=_u(l,h,u,null)),O.return=t,D.return=t,O.sibling=D,t.child=O,D}function aS(t,n,l){return RR(t,n,Xe,null)}function RT(t,n){return od(t,n)}function s2(t,n,l,u){var h=t.child,g=h.sibling,C=RT(h,{mode:"visible",children:l});if((n.mode&hn)===jt&&(C.lanes=u),C.return=n,C.sibling=null,g!==null){var O=n.deletions;O===null?(n.deletions=[g],n.flags|=Pa):O.push(g)}return n.child=C,C}function u2(t,n,l,u,h){var g=n.mode,C=t.child,O=C.sibling,D={mode:"hidden",children:l},H;if((g&hn)===jt&&n.child!==C){var Q=n.child;H=Q,H.childLanes=Xe,H.pendingProps=D,n.mode&$n&&(H.actualDuration=0,H.actualStartTime=-1,H.selfBaseDuration=C.selfBaseDuration,H.treeBaseDuration=C.treeBaseDuration),n.deletions=null}else H=RT(C,D),H.subtreeFlags=C.subtreeFlags&Lr;var Se;return O!==null?Se=od(O,u):(Se=_u(u,g,h,null),Se.flags|=pr),Se.return=n,H.return=n,H.sibling=Se,n.child=H,Se}function Wg(t,n,l,u){u!==null&&V1(u),Hf(n,t.child,null,l);var h=n.pendingProps,g=h.children,C=oS(n,g);return C.flags|=pr,n.memoizedState=null,C}function c2(t,n,l,u,h){var g=n.mode,C={mode:"visible",children:l},O=aS(C,g),D=_u(u,g,h,null);return D.flags|=pr,O.return=n,D.return=n,O.sibling=D,n.child=O,(n.mode&hn)!==jt&&Hf(n,t.child,null,h),D}function d2(t,n,l){return(t.mode&hn)===jt?(d("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=qt):w1(n)?t.lanes=Oo:t.lanes=oa,null}function f2(t,n,l,u,h,g,C){if(l)if(n.flags&Ro){n.flags&=~Ro;var ke=Gx(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Wg(t,n,C,ke)}else{if(n.memoizedState!==null)return n.child=t.child,n.flags|=Ft,null;var Ue=u.children,Pe=u.fallback,tt=c2(t,n,Ue,Pe,C),Rt=n.child;return Rt.memoizedState=rS(C),n.memoizedState=nS,tt}else{if(JP(),(n.mode&hn)===jt)return Wg(t,n,C,null);if(w1(h)){var O,D,H;{var Q=vP(h);O=Q.digest,D=Q.message,H=Q.stack}var Se;D?Se=new Error(D):Se=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var ye=Gx(Se,O,H);return Wg(t,n,C,ye)}var Me=aa(C,t.childLanes);if(il||Me){var _e=r0();if(_e!==null){var je=wh(_e,C);if(je!==En&&je!==g.retryLane){g.retryLane=je;var xt=Kn;Ua(t,je),Eo(_e,t,je,xt)}}RS();var Ut=Gx(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 Wg(t,n,C,Ut)}else if(Qw(h)){n.flags|=Ft,n.child=t.child;var It=_D.bind(null,t);return yP(h,It),null}else{nN(n,h,g.treeContext);var wn=u.children,gn=oS(n,wn);return gn.flags|=ea,gn}}}function OT(t,n,l){t.lanes=on(t.lanes,n);var u=t.alternate;u!==null&&(u.lanes=on(u.lanes,n)),Q1(t.return,n,l)}function p2(t,n,l){for(var u=n;u!==null;){if(u.tag===N){var h=u.memoizedState;h!==null&&OT(u,l,t)}else if(u.tag===se)OT(u,l,t);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)return;for(;u.sibling===null;){if(u.return===null||u.return===t)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function h2(t){for(var n=t,l=null;n!==null;){var u=n.alternate;u!==null&&Eg(u)===null&&(l=n),n=n.sibling}return l}function m2(t){if(t!==void 0&&t!=="forwards"&&t!=="backwards"&&t!=="together"&&!Zx[t])if(Zx[t]=!0,typeof t=="string")switch(t.toLowerCase()){case"together":case"forwards":case"backwards":{d('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',t,t.toLowerCase());break}case"forward":case"backward":{d('"%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:d('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',t);break}else d('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',t)}function v2(t,n){t!==void 0&&!Gg[t]&&(t!=="collapsed"&&t!=="hidden"?(Gg[t]=!0,d('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',t)):n!=="forwards"&&n!=="backwards"&&(Gg[t]=!0,d('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',t)))}function $T(t,n){{var l=fo(t),u=!l&&typeof Xt(t)=="function";if(l||u){var h=l?"array":"iterable";return d("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,n,h),!1}}return!0}function y2(t,n){if((n==="forwards"||n==="backwards")&&t!==void 0&&t!==null&&t!==!1)if(fo(t)){for(var l=0;l<t.length;l++)if(!$T(t[l],l))return}else{var u=Xt(t);if(typeof u=="function"){var h=u.call(t);if(h)for(var g=h.next(),C=0;!g.done;g=h.next()){if(!$T(g.value,C))return;C++}}else d('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?',n)}}function iS(t,n,l,u,h){var g=t.memoizedState;g===null?t.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:u,tail:l,tailMode:h}:(g.isBackwards=n,g.rendering=null,g.renderingStartTime=0,g.last=u,g.tail=l,g.tailMode=h)}function AT(t,n,l){var u=n.pendingProps,h=u.revealOrder,g=u.tail,C=u.children;m2(h),v2(g,h),y2(C,h),wa(t,n,C,l);var O=rl.current,D=ox(O,um);if(D)O=ax(O,um),n.flags|=Ft;else{var H=t!==null&&(t.flags&Ft)!==Vt;H&&p2(n,n.child,l),O=qf(O)}if(Au(n,O),(n.mode&hn)===jt)n.memoizedState=null;else switch(h){case"forwards":{var Q=h2(n.child),Se;Q===null?(Se=n.child,n.child=null):(Se=Q.sibling,Q.sibling=null),iS(n,!1,Se,Q,g);break}case"backwards":{var ye=null,Me=n.child;for(n.child=null;Me!==null;){var _e=Me.alternate;if(_e!==null&&Eg(_e)===null){n.child=Me;break}var je=Me.sibling;Me.sibling=ye,ye=Me,Me=je}iS(n,!0,ye,null,g);break}case"together":{iS(n,!1,null,null,void 0);break}default:n.memoizedState=null}return n.child}function g2(t,n,l){tx(n,n.stateNode.containerInfo);var u=n.pendingProps;return t===null?n.child=Hf(n,null,u,l):wa(t,n,u,l),n.child}var kT=!1;function b2(t,n,l){var u=n.type,h=u._context,g=n.pendingProps,C=n.memoizedProps,O=g.value;{"value"in g||kT||(kT=!0,d("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var D=n.type.propTypes;D&&el(D,g,"prop","Context.Provider")}if(CE(n,h,O),C!==null){var H=C.value;if(Je(H,O)){if(C.children===g.children&&!tg())return Vs(t,n,l)}else mN(n,h,l)}var Q=g.children;return wa(t,n,Q,l),n.child}var PT=!1;function x2(t,n,l){var u=n.type;u._context===void 0?u!==u.Consumer&&(PT||(PT=!0,d("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var h=n.pendingProps,g=h.children;typeof g!="function"&&d("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."),Wf(n,l);var C=ro(u);ba(n);var O;return gm.current=n,co(!0),O=g(C),co(!1),xa(),n.flags|=Za,wa(t,n,O,l),n.child}function Sm(){il=!0}function Yg(t,n){(n.mode&hn)===jt&&t!==null&&(t.alternate=null,n.alternate=null,n.flags|=pr)}function Vs(t,n,l){return t!==null&&(n.dependencies=t.dependencies),iT(),Dm(n.lanes),aa(l,n.childLanes)?(pN(t,n),n.child):null}function S2(t,n,l){{var u=n.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(t.alternate=null,n.alternate=null,l.index=n.index,l.sibling=n.sibling,l.return=n.return,l.ref=n.ref,n===u.child)u.child=l;else{var h=u.child;if(h===null)throw new Error("Expected parent to have a child.");for(;h.sibling!==n;)if(h=h.sibling,h===null)throw new Error("Expected to find the previous sibling.");h.sibling=l}var g=u.deletions;return g===null?(u.deletions=[t],u.flags|=Pa):g.push(t),l.flags|=pr,l}}function lS(t,n){var l=t.lanes;return!!aa(l,n)}function C2(t,n,l){switch(n.tag){case w:wT(n),n.stateNode,zf();break;case A:kE(n);break;case S:{var u=n.type;Vl(u)&&rg(n);break}case R:tx(n,n.stateNode.containerInfo);break;case Y:{var h=n.memoizedProps.value,g=n.type._context;CE(n,g,h);break}case V:{var C=aa(l,n.childLanes);C&&(n.flags|=xn);{var O=n.stateNode;O.effectDuration=0,O.passiveEffectDuration=0}}break;case N:{var D=n.memoizedState;if(D!==null){if(D.dehydrated!==null)return Au(n,qf(rl.current)),n.flags|=Ft,null;var H=n.child,Q=H.childLanes;if(aa(l,Q))return TT(t,n,l);Au(n,qf(rl.current));var Se=Vs(t,n,l);return Se!==null?Se.sibling:null}else Au(n,qf(rl.current));break}case se:{var ye=(t.flags&Ft)!==Vt,Me=aa(l,n.childLanes);if(ye){if(Me)return AT(t,n,l);n.flags|=Ft}var _e=n.memoizedState;if(_e!==null&&(_e.rendering=null,_e.tail=null,_e.lastEffect=null),Au(n,rl.current),Me)break;return null}case he:case we:return n.lanes=Xe,xT(t,n,l)}return Vs(t,n,l)}function NT(t,n,l){if(n._debugNeedsRemount&&t!==null)return S2(t,n,_S(n.type,n.key,n.pendingProps,n._debugOwner||null,n.mode,n.lanes));if(t!==null){var u=t.memoizedProps,h=n.pendingProps;if(u!==h||tg()||n.type!==t.type)il=!0;else{var g=lS(t,l);if(!g&&(n.flags&Ft)===Vt)return il=!1,C2(t,n,l);(t.flags&Ud)!==Vt?il=!0:il=!1}}else if(il=!1,_o()&&YP(n)){var C=n.index,O=qP();iE(n,O,C)}switch(n.lanes=Xe,n.tag){case T:return r2(t,n,n.type,l);case ie:{var D=n.elementType;return t2(t,n,D,l)}case b:{var H=n.type,Q=n.pendingProps,Se=n.elementType===H?Q:al(H,Q);return Jx(t,n,H,Se,l)}case S:{var ye=n.type,Me=n.pendingProps,_e=n.elementType===ye?Me:al(ye,Me);return CT(t,n,ye,_e,l)}case w:return ZN(t,n,l);case A:return JN(t,n,l);case L:return e2(t,n);case N:return TT(t,n,l);case R:return g2(t,n,l);case k:{var je=n.type,xt=n.pendingProps,Ut=n.elementType===je?xt:al(je,xt);return yT(t,n,je,Ut,l)}case P:return QN(t,n,l);case j:return XN(t,n,l);case V:return KN(t,n,l);case Y:return b2(t,n,l);case G:return x2(t,n,l);case z:{var It=n.type,wn=n.pendingProps,gn=al(It,wn);if(n.type!==n.elementType){var ke=It.propTypes;ke&&el(ke,gn,"prop",Vn(It))}return gn=al(It.type,gn),gT(t,n,It,gn,l)}case Z:return bT(t,n,n.type,n.pendingProps,l);case ge:{var Ue=n.type,Pe=n.pendingProps,tt=n.elementType===Ue?Pe:al(Ue,Pe);return n2(t,n,Ue,tt,l)}case se:return AT(t,n,l);case Te:break;case he:return xT(t,n,l)}throw new Error("Unknown unit of work tag ("+n.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ep(t){t.flags|=xn}function DT(t){t.flags|=xr,t.flags|=su}var MT,sS,LT,IT;MT=function(t,n,l,u){for(var h=n.child;h!==null;){if(h.tag===A||h.tag===L)Hk(t,h.stateNode);else if(h.tag!==R){if(h.child!==null){h.child.return=h,h=h.child;continue}}if(h===n)return;for(;h.sibling===null;){if(h.return===null||h.return===n)return;h=h.return}h.sibling.return=h.return,h=h.sibling}},sS=function(t,n){},LT=function(t,n,l,u,h){var g=t.memoizedProps;if(g!==u){var C=n.stateNode,O=nx(),D=Wk(C,l,g,u,h,O);n.updateQueue=D,D&&ep(n)}},IT=function(t,n,l,u){l!==u&&ep(n)};function Cm(t,n){if(!_o())switch(t.tailMode){case"hidden":{for(var l=t.tail,u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?t.tail=null:u.sibling=null;break}case"collapsed":{for(var h=t.tail,g=null;h!==null;)h.alternate!==null&&(g=h),h=h.sibling;g===null?!n&&t.tail!==null?t.tail.sibling=null:t.tail=null:g.sibling=null;break}}}function Vo(t){var n=t.alternate!==null&&t.alternate.child===t.child,l=Xe,u=Vt;if(n){if((t.mode&$n)!==jt){for(var D=t.selfBaseDuration,H=t.child;H!==null;)l=on(l,on(H.lanes,H.childLanes)),u|=H.subtreeFlags&Lr,u|=H.flags&Lr,D+=H.treeBaseDuration,H=H.sibling;t.treeBaseDuration=D}else for(var Q=t.child;Q!==null;)l=on(l,on(Q.lanes,Q.childLanes)),u|=Q.subtreeFlags&Lr,u|=Q.flags&Lr,Q.return=t,Q=Q.sibling;t.subtreeFlags|=u}else{if((t.mode&$n)!==jt){for(var h=t.actualDuration,g=t.selfBaseDuration,C=t.child;C!==null;)l=on(l,on(C.lanes,C.childLanes)),u|=C.subtreeFlags,u|=C.flags,h+=C.actualDuration,g+=C.treeBaseDuration,C=C.sibling;t.actualDuration=h,t.treeBaseDuration=g}else for(var O=t.child;O!==null;)l=on(l,on(O.lanes,O.childLanes)),u|=O.subtreeFlags,u|=O.flags,O.return=t,O=O.sibling;t.subtreeFlags|=u}return t.childLanes=l,n}function w2(t,n,l){if(lN()&&(n.mode&hn)!==jt&&(n.flags&Ft)===Vt)return pE(n),zf(),n.flags|=Ro|lc|Jr,!1;var u=sg(n);if(l!==null&&l.dehydrated!==null)if(t===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(aN(n),Vo(n),(n.mode&$n)!==jt){var h=l!==null;if(h){var g=n.child;g!==null&&(n.treeBaseDuration-=g.treeBaseDuration)}}return!1}else{if(zf(),(n.flags&Ft)===Vt&&(n.memoizedState=null),n.flags|=xn,Vo(n),(n.mode&$n)!==jt){var C=l!==null;if(C){var O=n.child;O!==null&&(n.treeBaseDuration-=O.treeBaseDuration)}}return!1}else return hE(),!0}function _T(t,n,l){var u=n.pendingProps;switch(M1(n),n.tag){case T:case ie:case Z:case b:case k:case P:case j:case V:case G:case z:return Vo(n),null;case S:{var h=n.type;return Vl(h)&&ng(n),Vo(n),null}case w:{var g=n.stateNode;if(Yf(n),k1(n),lx(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),t===null||t.child===null){var C=sg(n);if(C)ep(n);else if(t!==null){var O=t.memoizedState;(!O.isDehydrated||(n.flags&Ro)!==Vt)&&(n.flags|=Gr,hE())}}return sS(t,n),Vo(n),null}case A:{rx(n);var D=AE(),H=n.type;if(t!==null&&n.stateNode!=null)LT(t,n,H,u,D),t.ref!==n.ref&&DT(n);else{if(!u){if(n.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 Vo(n),null}var Q=nx(),Se=sg(n);if(Se)rN(n,D,Q)&&ep(n);else{var ye=zk(H,u,D,Q,n);MT(ye,n,!1,!1),n.stateNode=ye,Gk(ye,H,u,D)&&ep(n)}n.ref!==null&&DT(n)}return Vo(n),null}case L:{var Me=u;if(t&&n.stateNode!=null){var _e=t.memoizedProps;IT(t,n,_e,Me)}else{if(typeof Me!="string"&&n.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 je=AE(),xt=nx(),Ut=sg(n);Ut?oN(n)&&ep(n):n.stateNode=Yk(Me,je,xt,n)}return Vo(n),null}case N:{Qf(n);var It=n.memoizedState;if(t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){var wn=w2(t,n,It);if(!wn)return n.flags&Jr?n:null}if((n.flags&Ft)!==Vt)return n.lanes=l,(n.mode&$n)!==jt&&Nx(n),n;var gn=It!==null,ke=t!==null&&t.memoizedState!==null;if(gn!==ke&&gn){var Ue=n.child;if(Ue.flags|=Mr,(n.mode&hn)!==jt){var Pe=t===null&&(n.memoizedProps.unstable_avoidThisFallback!==!0||!0);Pe||ox(rl.current,NE)?ED():RS()}}var tt=n.updateQueue;if(tt!==null&&(n.flags|=xn),Vo(n),(n.mode&$n)!==jt&&gn){var Rt=n.child;Rt!==null&&(n.treeBaseDuration-=Rt.treeBaseDuration)}return null}case R:return Yf(n),sS(t,n),t===null&&jP(n.stateNode.containerInfo),Vo(n),null;case Y:var Ct=n.type._context;return q1(Ct,n),Vo(n),null;case ge:{var Qt=n.type;return Vl(Qt)&&ng(n),Vo(n),null}case se:{Qf(n);var tn=n.memoizedState;if(tn===null)return Vo(n),null;var Gn=(n.flags&Ft)!==Vt,Pn=tn.rendering;if(Pn===null)if(Gn)Cm(tn,!1);else{var qr=RD()&&(t===null||(t.flags&Ft)===Vt);if(!qr)for(var Nn=n.child;Nn!==null;){var Ur=Eg(Nn);if(Ur!==null){Gn=!0,n.flags|=Ft,Cm(tn,!1);var fa=Ur.updateQueue;return fa!==null&&(n.updateQueue=fa,n.flags|=xn),n.subtreeFlags=Vt,hN(n,l),Au(n,ax(rl.current,um)),n.child}Nn=Nn.sibling}tn.tail!==null&&Wr()>oR()&&(n.flags|=Ft,Gn=!0,Cm(tn,!1),n.lanes=hh)}else{if(!Gn){var Ho=Eg(Pn);if(Ho!==null){n.flags|=Ft,Gn=!0;var ai=Ho.updateQueue;if(ai!==null&&(n.updateQueue=ai,n.flags|=xn),Cm(tn,!0),tn.tail===null&&tn.tailMode==="hidden"&&!Pn.alternate&&!_o())return Vo(n),null}else Wr()*2-tn.renderingStartTime>oR()&&l!==oa&&(n.flags|=Ft,Gn=!0,Cm(tn,!1),n.lanes=hh)}if(tn.isBackwards)Pn.sibling=n.child,n.child=Pn;else{var Ra=tn.last;Ra!==null?Ra.sibling=Pn:n.child=Pn,tn.last=Pn}}if(tn.tail!==null){var Oa=tn.tail;tn.rendering=Oa,tn.tail=Oa.sibling,tn.renderingStartTime=Wr(),Oa.sibling=null;var pa=rl.current;return Gn?pa=ax(pa,um):pa=qf(pa),Au(n,pa),Oa}return Vo(n),null}case Te:break;case he:case we:{TS(n);var Hs=n.memoizedState,sp=Hs!==null;if(t!==null){var Fm=t.memoizedState,Yl=Fm!==null;Yl!==sp&&!ee&&(n.flags|=Mr)}return!sp||(n.mode&hn)===jt?Vo(n):aa(Wl,oa)&&(Vo(n),n.subtreeFlags&(pr|xn)&&(n.flags|=Mr)),null}case ce:return null;case fe:return null}throw new Error("Unknown unit of work tag ("+n.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function E2(t,n,l){switch(M1(n),n.tag){case S:{var u=n.type;Vl(u)&&ng(n);var h=n.flags;return h&Jr?(n.flags=h&~Jr|Ft,(n.mode&$n)!==jt&&Nx(n),n):null}case w:{n.stateNode,Yf(n),k1(n),lx();var g=n.flags;return(g&Jr)!==Vt&&(g&Ft)===Vt?(n.flags=g&~Jr|Ft,n):null}case A:return rx(n),null;case N:{Qf(n);var C=n.memoizedState;if(C!==null&&C.dehydrated!==null){if(n.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");zf()}var O=n.flags;return O&Jr?(n.flags=O&~Jr|Ft,(n.mode&$n)!==jt&&Nx(n),n):null}case se:return Qf(n),null;case R:return Yf(n),null;case Y:var D=n.type._context;return q1(D,n),null;case he:case we:return TS(n),null;case ce:return null;default:return null}}function FT(t,n,l){switch(M1(n),n.tag){case S:{var u=n.type.childContextTypes;u!=null&&ng(n);break}case w:{n.stateNode,Yf(n),k1(n),lx();break}case A:{rx(n);break}case R:Yf(n);break;case N:Qf(n);break;case se:Qf(n);break;case Y:var h=n.type._context;q1(h,n);break;case he:case we:TS(n);break}}var VT=null;VT=new Set;var qg=!1,jo=!1,T2=typeof WeakSet=="function"?WeakSet:Set,Nt=null,tp=null,np=null;function R2(t){Sl(null,function(){throw t}),ic()}var O2=function(t,n){if(n.props=t.memoizedProps,n.state=t.memoizedState,t.mode&$n)try{Hl(),n.componentWillUnmount()}finally{zl(t)}else n.componentWillUnmount()};function jT(t,n){try{Nu(go,t)}catch(l){lr(t,n,l)}}function uS(t,n,l){try{O2(t,l)}catch(u){lr(t,n,u)}}function $2(t,n,l){try{l.componentDidMount()}catch(u){lr(t,n,u)}}function UT(t,n){try{zT(t)}catch(l){lr(t,n,l)}}function rp(t,n){var l=t.ref;if(l!==null)if(typeof l=="function"){var u;try{if($e&&Be&&t.mode&$n)try{Hl(),u=l(null)}finally{zl(t)}else u=l(null)}catch(h){lr(t,n,h)}typeof u=="function"&&d("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",rn(t))}else l.current=null}function Qg(t,n,l){try{l()}catch(u){lr(t,n,u)}}var BT=!1;function A2(t,n){Uk(t.containerInfo),Nt=n,k2();var l=BT;return BT=!1,l}function k2(){for(;Nt!==null;){var t=Nt,n=t.child;(t.subtreeFlags&wl)!==Vt&&n!==null?(n.return=t,Nt=n):P2()}}function P2(){for(;Nt!==null;){var t=Nt;ir(t);try{N2(t)}catch(l){lr(t,t.return,l)}br();var n=t.sibling;if(n!==null){n.return=t.return,Nt=n;return}Nt=t.return}}function N2(t){var n=t.alternate,l=t.flags;if((l&Gr)!==Vt){switch(ir(t),t.tag){case b:case k:case Z:break;case S:{if(n!==null){var u=n.memoizedProps,h=n.memoizedState,g=t.stateNode;t.type===t.elementType&&!Jc&&(g.props!==t.memoizedProps&&d("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.",rn(t)||"instance"),g.state!==t.memoizedState&&d("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.",rn(t)||"instance"));var C=g.getSnapshotBeforeUpdate(t.elementType===t.type?u:al(t.type,u),h);{var O=VT;C===void 0&&!O.has(t.type)&&(O.add(t.type),d("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",rn(t)))}g.__reactInternalSnapshotBeforeUpdate=C}break}case w:{{var D=t.stateNode;fP(D.containerInfo)}break}case A:case L:case R:case ge: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.")}br()}}function ll(t,n,l){var u=n.updateQueue,h=u!==null?u.lastEffect:null;if(h!==null){var g=h.next,C=g;do{if((C.tag&t)===t){var O=C.destroy;C.destroy=void 0,O!==void 0&&((t&Fo)!==Ba?qi(n):(t&go)!==Ba&&uc(n),(t&jl)!==Ba&&Lm(!0),Qg(n,l,O),(t&jl)!==Ba&&Lm(!1),(t&Fo)!==Ba?Ol():(t&go)!==Ba&&fh())}C=C.next}while(C!==g)}}function Nu(t,n){var l=n.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var h=u.next,g=h;do{if((g.tag&t)===t){(t&Fo)!==Ba?dh(n):(t&go)!==Ba&&Yd(n);var C=g.create;(t&jl)!==Ba&&Lm(!0),g.destroy=C(),(t&jl)!==Ba&&Lm(!1),(t&Fo)!==Ba?ey():(t&go)!==Ba&&ty();{var O=g.destroy;if(O!==void 0&&typeof O!="function"){var D=void 0;(g.tag&go)!==Vt?D="useLayoutEffect":(g.tag&jl)!==Vt?D="useInsertionEffect":D="useEffect";var H=void 0;O===null?H=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof O.then=="function"?H=`
|
|
2806
2806
|
|
|
2807
2807
|
It looks like you wrote `+D+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
2808
2808
|
|
|
@@ -2815,11 +2815,11 @@ It looks like you wrote `+D+`(async () => ...) or returned a Promise. Instead, w
|
|
|
2815
2815
|
fetchData();
|
|
2816
2816
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
2817
2817
|
|
|
2818
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:H=" You returned: "+O,d("%s must not return anything besides a function, which is used for clean-up.%s",D,H)}}}g=g.next}while(g!==h)}}function D2(t,n){if((n.flags&xn)!==Vt)switch(n.tag){case V:{var l=n.stateNode.passiveEffectDuration,u=n.memoizedProps,h=u.id,g=u.onPostCommit,C=oT(),O=n.alternate===null?"mount":"update";rT()&&(O="nested-update"),typeof g=="function"&&g(h,O,l,C);var D=n.return;e:for(;D!==null;){switch(D.tag){case w:var H=D.stateNode;H.passiveEffectDuration+=l;break e;case V:var Q=D.stateNode;Q.passiveEffectDuration+=l;break e}D=D.return}break}}}function M2(t,n,l,u){if((l.flags&Tl)!==Vt)switch(l.tag){case b:case k:case Z:{if(!jo)if(l.mode&$n)try{Hl(),Nu(go|yo,l)}finally{zl(l)}else Nu(go|yo,l);break}case S:{var h=l.stateNode;if(l.flags&xn&&!jo)if(n===null)if(l.type===l.elementType&&!Jc&&(h.props!==l.memoizedProps&&d("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.",rn(l)||"instance"),h.state!==l.memoizedState&&d("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.",rn(l)||"instance")),l.mode&$n)try{Hl(),h.componentDidMount()}finally{zl(l)}else h.componentDidMount();else{var g=l.elementType===l.type?n.memoizedProps:al(l.type,n.memoizedProps),C=n.memoizedState;if(l.type===l.elementType&&!Jc&&(h.props!==l.memoizedProps&&d("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.",rn(l)||"instance"),h.state!==l.memoizedState&&d("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.",rn(l)||"instance")),l.mode&$n)try{Hl(),h.componentDidUpdate(g,C,h.__reactInternalSnapshotBeforeUpdate)}finally{zl(l)}else h.componentDidUpdate(g,C,h.__reactInternalSnapshotBeforeUpdate)}var O=l.updateQueue;O!==null&&(l.type===l.elementType&&!Jc&&(h.props!==l.memoizedProps&&d("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.",rn(l)||"instance"),h.state!==l.memoizedState&&d("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.",rn(l)||"instance")),$E(l,O,h));break}case w:{var D=l.updateQueue;if(D!==null){var H=null;if(l.child!==null)switch(l.child.tag){case A:H=l.child.stateNode;break;case S:H=l.child.stateNode;break}$E(l,D,H)}break}case A:{var Q=l.stateNode;if(n===null&&l.flags&xn){var Se=l.type,ye=l.memoizedProps;Zk(Q,Se,ye)}break}case L:break;case R:break;case V:{{var Me=l.memoizedProps,_e=Me.onCommit,je=Me.onRender,xt=l.stateNode.effectDuration,Ut=oT(),It=n===null?"mount":"update";rT()&&(It="nested-update"),typeof je=="function"&&je(l.memoizedProps.id,It,l.actualDuration,l.treeBaseDuration,l.actualStartTime,Ut);{typeof _e=="function"&&_e(l.memoizedProps.id,It,xt,Ut),PD(l);var wn=l.return;e:for(;wn!==null;){switch(wn.tag){case w:var gn=wn.stateNode;gn.effectDuration+=xt;break e;case V:var ke=wn.stateNode;ke.effectDuration+=xt;break e}wn=wn.return}}}break}case N:{B2(t,l);break}case se:case ge:case Te:case he:case we:case fe: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.")}jo||l.flags&xr&&zT(l)}function L2(t){switch(t.tag){case b:case k:case Z:{if(t.mode&$n)try{Hl(),jT(t,t.return)}finally{zl(t)}else jT(t,t.return);break}case S:{var n=t.stateNode;typeof n.componentDidMount=="function"&&$2(t,t.return,n),UT(t,t.return);break}case A:{UT(t,t.return);break}}}function I2(t,n){for(var l=null,u=t;;){if(u.tag===A){if(l===null){l=u;try{var h=u.stateNode;n?sP(h):cP(u.stateNode,u.memoizedProps)}catch(C){lr(t,t.return,C)}}}else if(u.tag===L){if(l===null)try{var g=u.stateNode;n?uP(g):dP(g,u.memoizedProps)}catch(C){lr(t,t.return,C)}}else if(!((u.tag===he||u.tag===we)&&u.memoizedState!==null&&u!==t)){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===t)return;for(;u.sibling===null;){if(u.return===null||u.return===t)return;l===u&&(l=null),u=u.return}l===u&&(l=null),u.sibling.return=u.return,u=u.sibling}}function zT(t){var n=t.ref;if(n!==null){var l=t.stateNode,u;switch(t.tag){case A:u=l;break;default:u=l}if(typeof n=="function"){var h;if(t.mode&$n)try{Hl(),h=n(u)}finally{zl(t)}else h=n(u);typeof h=="function"&&d("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",rn(t))}else n.hasOwnProperty("current")||d("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",rn(t)),n.current=u}}function _2(t){var n=t.alternate;n!==null&&(n.return=null),t.return=null}function HT(t){var n=t.alternate;n!==null&&(t.alternate=null,HT(n));{if(t.child=null,t.deletions=null,t.sibling=null,t.tag===A){var l=t.stateNode;l!==null&&zP(l)}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 F2(t){for(var n=t.return;n!==null;){if(GT(n))return n;n=n.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 GT(t){return t.tag===A||t.tag===w||t.tag===R}function WT(t){var n=t;e:for(;;){for(;n.sibling===null;){if(n.return===null||GT(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==A&&n.tag!==L&&n.tag!==M;){if(n.flags&pr||n.child===null||n.tag===R)continue e;n.child.return=n,n=n.child}if(!(n.flags&pr))return n.stateNode}}function V2(t){var n=F2(t);switch(n.tag){case A:{var l=n.stateNode;n.flags&Na&&(qw(l),n.flags&=~Na);var u=WT(t);dS(t,u,l);break}case w:case R:{var h=n.stateNode.containerInfo,g=WT(t);cS(t,g,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 cS(t,n,l){var u=t.tag,h=u===A||u===L;if(h){var g=t.stateNode;n?oP(l,g,n):nP(l,g)}else if(u!==R){var C=t.child;if(C!==null){cS(C,n,l);for(var O=C.sibling;O!==null;)cS(O,n,l),O=O.sibling}}}function dS(t,n,l){var u=t.tag,h=u===A||u===L;if(h){var g=t.stateNode;n?rP(l,g,n):tP(l,g)}else if(u!==R){var C=t.child;if(C!==null){dS(C,n,l);for(var O=C.sibling;O!==null;)dS(O,n,l),O=O.sibling}}}var Uo=null,sl=!1;function j2(t,n,l){{var u=n;e:for(;u!==null;){switch(u.tag){case A:{Uo=u.stateNode,sl=!1;break e}case w:{Uo=u.stateNode.containerInfo,sl=!0;break e}case R:{Uo=u.stateNode.containerInfo,sl=!0;break e}}u=u.return}if(Uo===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");YT(t,n,l),Uo=null,sl=!1}_2(l)}function Du(t,n,l){for(var u=l.child;u!==null;)YT(t,n,u),u=u.sibling}function YT(t,n,l){switch(sh(l),l.tag){case A:jo||rp(l,n);case L:{{var u=Uo,h=sl;Uo=null,Du(t,n,l),Uo=u,sl=h,Uo!==null&&(sl?iP(Uo,l.stateNode):aP(Uo,l.stateNode))}return}case M:{Uo!==null&&(sl?lP(Uo,l.stateNode):C1(Uo,l.stateNode));return}case R:{{var g=Uo,C=sl;Uo=l.stateNode.containerInfo,sl=!0,Du(t,n,l),Uo=g,sl=C}return}case b:case k:case z:case Z:{if(!jo){var O=l.updateQueue;if(O!==null){var D=O.lastEffect;if(D!==null){var H=D.next,Q=H;do{var Se=Q,ye=Se.destroy,Me=Se.tag;ye!==void 0&&((Me&jl)!==Ba?Qg(l,n,ye):(Me&go)!==Ba&&(uc(l),l.mode&$n?(Hl(),Qg(l,n,ye),zl(l)):Qg(l,n,ye),fh())),Q=Q.next}while(Q!==H)}}}Du(t,n,l);return}case S:{if(!jo){rp(l,n);var _e=l.stateNode;typeof _e.componentWillUnmount=="function"&&uS(l,n,_e)}Du(t,n,l);return}case Te:{Du(t,n,l);return}case he:{if(l.mode&hn){var je=jo;jo=je||l.memoizedState!==null,Du(t,n,l),jo=je}else Du(t,n,l);break}default:{Du(t,n,l);return}}}function U2(t){t.memoizedState}function B2(t,n){var l=n.memoizedState;if(l===null){var u=n.alternate;if(u!==null){var h=u.memoizedState;if(h!==null){var g=h.dehydrated;g!==null&&RP(g)}}}}function qT(t){var n=t.updateQueue;if(n!==null){t.updateQueue=null;var l=t.stateNode;l===null&&(l=t.stateNode=new T2),n.forEach(function(u){var h=FD.bind(null,t,u);if(!l.has(u)){if(l.add(u),ra)if(tp!==null&&np!==null)Mm(np,tp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(h,h)}})}}function z2(t,n,l){tp=l,np=t,ir(n),QT(n,t),ir(n),tp=null,np=null}function ul(t,n,l){var u=n.deletions;if(u!==null)for(var h=0;h<u.length;h++){var g=u[h];try{j2(t,n,g)}catch(D){lr(g,n,D)}}var C=Hu();if(n.subtreeFlags&El)for(var O=n.child;O!==null;)ir(O),QT(O,t),O=O.sibling;ir(C)}function QT(t,n,l){var u=t.alternate,h=t.flags;switch(t.tag){case b:case k:case z:case Z:{if(ul(n,t),Gl(t),h&xn){try{ll(jl|yo,t,t.return),Nu(jl|yo,t)}catch(Qt){lr(t,t.return,Qt)}if(t.mode&$n){try{Hl(),ll(go|yo,t,t.return)}catch(Qt){lr(t,t.return,Qt)}zl(t)}else try{ll(go|yo,t,t.return)}catch(Qt){lr(t,t.return,Qt)}}return}case S:{ul(n,t),Gl(t),h&xr&&u!==null&&rp(u,u.return);return}case A:{ul(n,t),Gl(t),h&xr&&u!==null&&rp(u,u.return);{if(t.flags&Na){var g=t.stateNode;try{qw(g)}catch(Qt){lr(t,t.return,Qt)}}if(h&xn){var C=t.stateNode;if(C!=null){var O=t.memoizedProps,D=u!==null?u.memoizedProps:O,H=t.type,Q=t.updateQueue;if(t.updateQueue=null,Q!==null)try{Jk(C,Q,H,D,O,t)}catch(Qt){lr(t,t.return,Qt)}}}}return}case L:{if(ul(n,t),Gl(t),h&xn){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 Se=t.stateNode,ye=t.memoizedProps,Me=u!==null?u.memoizedProps:ye;try{eP(Se,Me,ye)}catch(Qt){lr(t,t.return,Qt)}}return}case w:{if(ul(n,t),Gl(t),h&xn&&u!==null){var _e=u.memoizedState;if(_e.isDehydrated)try{TP(n.containerInfo)}catch(Qt){lr(t,t.return,Qt)}}return}case R:{ul(n,t),Gl(t);return}case N:{ul(n,t),Gl(t);var je=t.child;if(je.flags&Mr){var xt=je.stateNode,Ut=je.memoizedState,It=Ut!==null;if(xt.isHidden=It,It){var wn=je.alternate!==null&&je.alternate.memoizedState!==null;wn||wD()}}if(h&xn){try{U2(t)}catch(Qt){lr(t,t.return,Qt)}qT(t)}return}case he:{var gn=u!==null&&u.memoizedState!==null;if(t.mode&hn){var ke=jo;jo=ke||gn,ul(n,t),jo=ke}else ul(n,t);if(Gl(t),h&Mr){var Ue=t.stateNode,Pe=t.memoizedState,tt=Pe!==null,Rt=t;if(Ue.isHidden=tt,tt&&!gn&&(Rt.mode&hn)!==jt){Nt=Rt;for(var Ct=Rt.child;Ct!==null;)Nt=Ct,G2(Ct),Ct=Ct.sibling}I2(Rt,tt)}return}case se:{ul(n,t),Gl(t),h&xn&&qT(t);return}case Te:return;default:{ul(n,t),Gl(t);return}}}function Gl(t){var n=t.flags;if(n&pr){try{V2(t)}catch(l){lr(t,t.return,l)}t.flags&=~pr}n&ea&&(t.flags&=~ea)}function H2(t,n,l){tp=l,np=n,Nt=t,XT(t,n,l),tp=null,np=null}function XT(t,n,l){for(var u=(t.mode&hn)!==jt;Nt!==null;){var h=Nt,g=h.child;if(h.tag===he&&u){var C=h.memoizedState!==null,O=C||qg;if(O){fS(t,n,l);continue}else{var D=h.alternate,H=D!==null&&D.memoizedState!==null,Q=H||jo,Se=qg,ye=jo;qg=O,jo=Q,jo&&!ye&&(Nt=h,W2(h));for(var Me=g;Me!==null;)Nt=Me,XT(Me,n,l),Me=Me.sibling;Nt=h,qg=Se,jo=ye,fS(t,n,l);continue}}(h.subtreeFlags&Tl)!==Vt&&g!==null?(g.return=h,Nt=g):fS(t,n,l)}}function fS(t,n,l){for(;Nt!==null;){var u=Nt;if((u.flags&Tl)!==Vt){var h=u.alternate;ir(u);try{M2(n,h,u,l)}catch(C){lr(u,u.return,C)}br()}if(u===t){Nt=null;return}var g=u.sibling;if(g!==null){g.return=u.return,Nt=g;return}Nt=u.return}}function G2(t){for(;Nt!==null;){var n=Nt,l=n.child;switch(n.tag){case b:case k:case z:case Z:{if(n.mode&$n)try{Hl(),ll(go,n,n.return)}finally{zl(n)}else ll(go,n,n.return);break}case S:{rp(n,n.return);var u=n.stateNode;typeof u.componentWillUnmount=="function"&&uS(n,n.return,u);break}case A:{rp(n,n.return);break}case he:{var h=n.memoizedState!==null;if(h){KT(t);continue}break}}l!==null?(l.return=n,Nt=l):KT(t)}}function KT(t){for(;Nt!==null;){var n=Nt;if(n===t){Nt=null;return}var l=n.sibling;if(l!==null){l.return=n.return,Nt=l;return}Nt=n.return}}function W2(t){for(;Nt!==null;){var n=Nt,l=n.child;if(n.tag===he){var u=n.memoizedState!==null;if(u){ZT(t);continue}}l!==null?(l.return=n,Nt=l):ZT(t)}}function ZT(t){for(;Nt!==null;){var n=Nt;ir(n);try{L2(n)}catch(u){lr(n,n.return,u)}if(br(),n===t){Nt=null;return}var l=n.sibling;if(l!==null){l.return=n.return,Nt=l;return}Nt=n.return}}function Y2(t,n,l,u){Nt=n,q2(n,t,l,u)}function q2(t,n,l,u){for(;Nt!==null;){var h=Nt,g=h.child;(h.subtreeFlags&Wi)!==Vt&&g!==null?(g.return=h,Nt=g):Q2(t,n,l,u)}}function Q2(t,n,l,u){for(;Nt!==null;){var h=Nt;if((h.flags&Jo)!==Vt){ir(h);try{X2(n,h,l,u)}catch(C){lr(h,h.return,C)}br()}if(h===t){Nt=null;return}var g=h.sibling;if(g!==null){g.return=h.return,Nt=g;return}Nt=h.return}}function X2(t,n,l,u){switch(n.tag){case b:case k:case Z:{if(n.mode&$n){Px();try{Nu(Fo|yo,n)}finally{kx(n)}}else Nu(Fo|yo,n);break}}}function K2(t){Nt=t,Z2()}function Z2(){for(;Nt!==null;){var t=Nt,n=t.child;if((Nt.flags&Pa)!==Vt){var l=t.deletions;if(l!==null){for(var u=0;u<l.length;u++){var h=l[u];Nt=h,tD(h,t)}{var g=t.alternate;if(g!==null){var C=g.child;if(C!==null){g.child=null;do{var O=C.sibling;C.sibling=null,C=O}while(C!==null)}}}Nt=t}}(t.subtreeFlags&Wi)!==Vt&&n!==null?(n.return=t,Nt=n):J2()}}function J2(){for(;Nt!==null;){var t=Nt;(t.flags&Jo)!==Vt&&(ir(t),eD(t),br());var n=t.sibling;if(n!==null){n.return=t.return,Nt=n;return}Nt=t.return}}function eD(t){switch(t.tag){case b:case k:case Z:{t.mode&$n?(Px(),ll(Fo|yo,t,t.return),kx(t)):ll(Fo|yo,t,t.return);break}}}function tD(t,n){for(;Nt!==null;){var l=Nt;ir(l),rD(l,n),br();var u=l.child;u!==null?(u.return=l,Nt=u):nD(t)}}function nD(t){for(;Nt!==null;){var n=Nt,l=n.sibling,u=n.return;if(HT(n),n===t){Nt=null;return}if(l!==null){l.return=u,Nt=l;return}Nt=u}}function rD(t,n){switch(t.tag){case b:case k:case Z:{t.mode&$n?(Px(),ll(Fo,t,n),kx(t)):ll(Fo,t,n);break}}}function oD(t){switch(t.tag){case b:case k:case Z:{try{Nu(go|yo,t)}catch(l){lr(t,t.return,l)}break}case S:{var n=t.stateNode;try{n.componentDidMount()}catch(l){lr(t,t.return,l)}break}}}function aD(t){switch(t.tag){case b:case k:case Z:{try{Nu(Fo|yo,t)}catch(n){lr(t,t.return,n)}break}}}function iD(t){switch(t.tag){case b:case k:case Z:{try{ll(go|yo,t,t.return)}catch(l){lr(t,t.return,l)}break}case S:{var n=t.stateNode;typeof n.componentWillUnmount=="function"&&uS(t,t.return,n);break}}}function lD(t){switch(t.tag){case b:case k:case Z:try{ll(Fo|yo,t,t.return)}catch(n){lr(t,t.return,n)}}}if(typeof Symbol=="function"&&Symbol.for){var wm=Symbol.for;wm("selector.component"),wm("selector.has_pseudo_class"),wm("selector.role"),wm("selector.test_id"),wm("selector.text")}var sD=[];function uD(){sD.forEach(function(t){return t()})}var cD=i.ReactCurrentActQueue;function dD(t){{var n=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,l=typeof jest<"u";return l&&n!==!1}}function JT(){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!t&&cD.current!==null&&d("The current testing environment is not configured to support act(...)"),t}}var fD=Math.ceil,pS=i.ReactCurrentDispatcher,hS=i.ReactCurrentOwner,Bo=i.ReactCurrentBatchConfig,cl=i.ReactCurrentActQueue,So=0,eR=1,zo=2,Pi=4,js=0,Em=1,ed=2,Xg=3,Tm=4,tR=5,mS=6,Cn=So,Ea=null,Pr=null,Co=Xe,Wl=Xe,vS=wu(Xe),wo=js,Rm=null,Kg=Xe,Om=Xe,Zg=Xe,$m=null,za=null,yS=0,nR=500,rR=1/0,pD=500,Us=null;function Am(){rR=Wr()+pD}function oR(){return rR}var Jg=!1,gS=null,op=null,td=!1,Mu=null,km=Xe,bS=[],xS=null,hD=50,Pm=0,SS=null,CS=!1,e0=!1,mD=50,ap=0,t0=null,Nm=Kn,n0=Xe,aR=!1;function r0(){return Ea}function Ta(){return(Cn&(zo|Pi))!==So?Wr():(Nm!==Kn||(Nm=Wr()),Nm)}function Lu(t){var n=t.mode;if((n&hn)===jt)return qt;if((Cn&zo)!==So&&Co!==Xe)return Cc(Co);var l=cN()!==uN;if(l){if(Bo.transition!==null){var u=Bo.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(t)}return n0===En&&(n0=xh()),n0}var h=Fa();if(h!==En)return h;var g=qk();return g}function vD(t){var n=t.mode;return(n&hn)===jt?qt:ly()}function Eo(t,n,l,u){jD(),aR&&d("useInsertionEffect must not schedule updates."),CS&&(e0=!0),fu(t,l,u),(Cn&zo)!==Xe&&t===Ea?zD(n):(ra&&Tc(t,n,l),HD(n),t===Ea&&((Cn&zo)===So&&(Om=on(Om,l)),wo===Tm&&Iu(t,Co)),Ha(t,u),l===qt&&Cn===So&&(n.mode&hn)===jt&&!cl.isBatchingLegacy&&(Am(),aE()))}function yD(t,n,l){var u=t.current;u.lanes=n,fu(t,n,l),Ha(t,l)}function gD(t){return(Cn&zo)!==So}function Ha(t,n){var l=t.callbackNode;hf(t,n);var u=pf(t,t===Ea?Co:Xe);if(u===Xe){l!==null&&SR(l),t.callbackNode=null,t.callbackPriority=En;return}var h=kl(u),g=t.callbackPriority;if(g===h&&!(cl.current!==null&&l!==AS)){l==null&&g!==qt&&d("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}l!=null&&SR(l);var C;if(h===qt)t.tag===Eu?(cl.isBatchingLegacy!==null&&(cl.didScheduleLegacyUpdate=!0),WP(sR.bind(null,t))):oE(sR.bind(null,t)),cl.current!==null?cl.current.push(Tu):Xk(function(){(Cn&(zo|Pi))===So&&Tu()}),C=null;else{var O;switch(hy(u)){case No:O=sc;break;case Si:O=Rl;break;case Ia:O=Yi;break;case _a:O=hs;break;default:O=Yi;break}C=kS(O,iR.bind(null,t))}t.callbackPriority=h,t.callbackNode=C}function iR(t,n){if(IN(),Nm=Kn,n0=Xe,(Cn&(zo|Pi))!==So)throw new Error("Should not already be working.");var l=t.callbackNode,u=zs();if(u&&t.callbackNode!==l)return null;var h=pf(t,t===Ea?Co:Xe);if(h===Xe)return null;var g=!vf(t,h)&&!iy(t,h)&&!n,C=g?$D(t,h):a0(t,h);if(C!==js){if(C===ed){var O=mf(t);O!==Xe&&(h=O,C=wS(t,O))}if(C===Em){var D=Rm;throw nd(t,Xe),Iu(t,h),Ha(t,Wr()),D}if(C===mS)Iu(t,h);else{var H=!vf(t,h),Q=t.current.alternate;if(H&&!xD(Q)){if(C=a0(t,h),C===ed){var Se=mf(t);Se!==Xe&&(h=Se,C=wS(t,Se))}if(C===Em){var ye=Rm;throw nd(t,Xe),Iu(t,h),Ha(t,Wr()),ye}}t.finishedWork=Q,t.finishedLanes=h,bD(t,C,h)}}return Ha(t,Wr()),t.callbackNode===l?iR.bind(null,t):null}function wS(t,n){var l=$m;if(bf(t)){var u=nd(t,n);u.flags|=Ro,VP(t.containerInfo)}var h=a0(t,n);if(h!==ed){var g=za;za=l,g!==null&&lR(g)}return h}function lR(t){za===null?za=t:za.push.apply(za,t)}function bD(t,n,l){switch(n){case js:case Em:throw new Error("Root did not complete. This is a bug in React.");case ed:{rd(t,za,Us);break}case Xg:{if(Iu(t,l),Ts(l)&&!CR()){var u=yS+nR-Wr();if(u>10){var h=pf(t,Xe);if(h!==Xe)break;var g=t.suspendedLanes;if(!Rs(g,l)){Ta(),yf(t,g);break}t.timeoutHandle=x1(rd.bind(null,t,za,Us),u);break}}rd(t,za,Us);break}case Tm:{if(Iu(t,l),gh(l))break;if(!CR()){var C=Ja(t,l),O=C,D=Wr()-O,H=VD(D)-D;if(H>10){t.timeoutHandle=x1(rd.bind(null,t,za,Us),H);break}}rd(t,za,Us);break}case tR:{rd(t,za,Us);break}default:throw new Error("Unknown root exit status.")}}function xD(t){for(var n=t;;){if(n.flags&lu){var l=n.updateQueue;if(l!==null){var u=l.stores;if(u!==null)for(var h=0;h<u.length;h++){var g=u[h],C=g.getSnapshot,O=g.value;try{if(!Je(C(),O))return!1}catch{return!1}}}}var D=n.child;if(n.subtreeFlags&lu&&D!==null){D.return=n,n=D;continue}if(n===t)return!0;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}return!0}function Iu(t,n){n=wc(n,Zg),n=wc(n,Om),cy(t,n)}function sR(t){if(_N(),(Cn&(zo|Pi))!==So)throw new Error("Should not already be working.");zs();var n=pf(t,Xe);if(!aa(n,qt))return Ha(t,Wr()),null;var l=a0(t,n);if(t.tag!==Eu&&l===ed){var u=mf(t);u!==Xe&&(n=u,l=wS(t,u))}if(l===Em){var h=Rm;throw nd(t,Xe),Iu(t,n),Ha(t,Wr()),h}if(l===mS)throw new Error("Root did not complete. This is a bug in React.");var g=t.current.alternate;return t.finishedWork=g,t.finishedLanes=n,rd(t,za,Us),Ha(t,Wr()),null}function SD(t,n){n!==Xe&&(gf(t,on(n,qt)),Ha(t,Wr()),(Cn&(zo|Pi))===So&&(Am(),Tu()))}function ES(t,n){var l=Cn;Cn|=eR;try{return t(n)}finally{Cn=l,Cn===So&&!cl.isBatchingLegacy&&(Am(),aE())}}function CD(t,n,l,u,h){var g=Fa(),C=Bo.transition;try{return Bo.transition=null,Fr(No),t(n,l,u,h)}finally{Fr(g),Bo.transition=C,Cn===So&&Am()}}function Bs(t){Mu!==null&&Mu.tag===Eu&&(Cn&(zo|Pi))===So&&zs();var n=Cn;Cn|=eR;var l=Bo.transition,u=Fa();try{return Bo.transition=null,Fr(No),t?t():void 0}finally{Fr(u),Bo.transition=l,Cn=n,(Cn&(zo|Pi))===So&&Tu()}}function uR(){return(Cn&(zo|Pi))!==So}function o0(t,n){ca(vS,Wl,t),Wl=on(Wl,n)}function TS(t){Wl=vS.current,ua(vS,t)}function nd(t,n){t.finishedWork=null,t.finishedLanes=Xe;var l=t.timeoutHandle;if(l!==S1&&(t.timeoutHandle=S1,Qk(l)),Pr!==null)for(var u=Pr.return;u!==null;){var h=u.alternate;FT(h,u),u=u.return}Ea=t;var g=od(t.current,null);return Pr=g,Co=Wl=n,wo=js,Rm=null,Kg=Xe,Om=Xe,Zg=Xe,$m=null,za=null,yN(),nl.discardPendingWarnings(),g}function cR(t,n){do{var l=Pr;try{if(hg(),ME(),br(),hS.current=null,l===null||l.return===null){wo=Em,Rm=n,Pr=null;return}if($e&&l.mode&$n&&zg(l,!0),W)if(xa(),n!==null&&typeof n=="object"&&typeof n.then=="function"){var u=n;xi(l,u,Co)}else cc(l,n,Co);WN(t,l.return,l,n,Co),hR(l)}catch(h){n=h,Pr===l&&l!==null?(l=l.return,Pr=l):l=Pr;continue}return}while(!0)}function dR(){var t=pS.current;return pS.current=Fg,t===null?Fg:t}function fR(t){pS.current=t}function wD(){yS=Wr()}function Dm(t){Kg=on(t,Kg)}function ED(){wo===js&&(wo=Xg)}function RS(){(wo===js||wo===Xg||wo===ed)&&(wo=Tm),Ea!==null&&(Sc(Kg)||Sc(Om))&&Iu(Ea,Co)}function TD(t){wo!==Tm&&(wo=ed),$m===null?$m=[t]:$m.push(t)}function RD(){return wo===js}function a0(t,n){var l=Cn;Cn|=zo;var u=dR();if(Ea!==t||Co!==n){if(ra){var h=t.memoizedUpdaters;h.size>0&&(Mm(t,Co),h.clear()),dy(t,n)}Us=Eh(),nd(t,n)}gs(n);do try{OD();break}catch(g){cR(t,g)}while(!0);if(hg(),Cn=l,fR(u),Pr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return qd(),Ea=null,Co=Xe,wo}function OD(){for(;Pr!==null;)pR(Pr)}function $D(t,n){var l=Cn;Cn|=zo;var u=dR();if(Ea!==t||Co!==n){if(ra){var h=t.memoizedUpdaters;h.size>0&&(Mm(t,Co),h.clear()),dy(t,n)}Us=Eh(),Am(),nd(t,n)}gs(n);do try{AD();break}catch(g){cR(t,g)}while(!0);return hg(),fR(u),Cn=l,Pr!==null?(ny(),js):(qd(),Ea=null,Co=Xe,wo)}function AD(){for(;Pr!==null&&!rh();)pR(Pr)}function pR(t){var n=t.alternate;ir(t);var l;(t.mode&$n)!==jt?(Ax(t),l=OS(n,t,Wl),zg(t,!0)):l=OS(n,t,Wl),br(),t.memoizedProps=t.pendingProps,l===null?hR(t):Pr=l,hS.current=null}function hR(t){var n=t;do{var l=n.alternate,u=n.return;if((n.flags&lc)===Vt){ir(n);var h=void 0;if((n.mode&$n)===jt?h=_T(l,n,Wl):(Ax(n),h=_T(l,n,Wl),zg(n,!1)),br(),h!==null){Pr=h;return}}else{var g=E2(l,n);if(g!==null){g.flags&=Xv,Pr=g;return}if((n.mode&$n)!==jt){zg(n,!1);for(var C=n.actualDuration,O=n.child;O!==null;)C+=O.actualDuration,O=O.sibling;n.actualDuration=C}if(u!==null)u.flags|=lc,u.subtreeFlags=Vt,u.deletions=null;else{wo=mS,Pr=null;return}}var D=n.sibling;if(D!==null){Pr=D;return}n=u,Pr=n}while(n!==null);wo===js&&(wo=tR)}function rd(t,n,l){var u=Fa(),h=Bo.transition;try{Bo.transition=null,Fr(No),kD(t,n,l,u)}finally{Bo.transition=h,Fr(u)}return null}function kD(t,n,l,u){do zs();while(Mu!==null);if(UD(),(Cn&(zo|Pi))!==So)throw new Error("Should not already be working.");var h=t.finishedWork,g=t.finishedLanes;if(uh(g),h===null)return ch(),null;if(g===Xe&&d("root.finishedLanes should not be empty during a commit. This is a bug in React."),t.finishedWork=null,t.finishedLanes=Xe,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=En;var C=on(h.lanes,h.childLanes);Ch(t,C),t===Ea&&(Ea=null,Pr=null,Co=Xe),((h.subtreeFlags&Wi)!==Vt||(h.flags&Wi)!==Vt)&&(td||(td=!0,xS=l,kS(Yi,function(){return zs(),null})));var O=(h.subtreeFlags&(wl|El|Tl|Wi))!==Vt,D=(h.flags&(wl|El|Tl|Wi))!==Vt;if(O||D){var H=Bo.transition;Bo.transition=null;var Q=Fa();Fr(No);var Se=Cn;Cn|=Pi,hS.current=null,A2(t,h),aT(),z2(t,h,g),Bk(t.containerInfo),t.current=h,dc(g),H2(h,t,g),fc(),oh(),Cn=Se,Fr(Q),Bo.transition=H}else t.current=h,aT();var ye=td;if(td?(td=!1,Mu=t,km=g):(ap=0,t0=null),C=t.pendingLanes,C===Xe&&(op=null),ye||gR(t.current,!1),ih(h.stateNode,u),ra&&t.memoizedUpdaters.clear(),uD(),Ha(t,Wr()),n!==null)for(var Me=t.onRecoverableError,_e=0;_e<n.length;_e++){var je=n[_e],xt=je.stack,Ut=je.digest;Me(je.value,{componentStack:xt,digest:Ut})}if(Jg){Jg=!1;var It=gS;throw gS=null,It}return aa(km,qt)&&t.tag!==Eu&&zs(),C=t.pendingLanes,aa(C,qt)?(LN(),t===SS?Pm++:(Pm=0,SS=t)):Pm=0,Tu(),ch(),null}function zs(){if(Mu!==null){var t=hy(km),n=Oc(Ia,t),l=Bo.transition,u=Fa();try{return Bo.transition=null,Fr(n),ND()}finally{Fr(u),Bo.transition=l}}return!1}function PD(t){bS.push(t),td||(td=!0,kS(Yi,function(){return zs(),null}))}function ND(){if(Mu===null)return!1;var t=xS;xS=null;var n=Mu,l=km;if(Mu=null,km=Xe,(Cn&(zo|Pi))!==So)throw new Error("Cannot flush passive effects while already rendering.");CS=!0,e0=!1,ys(l);var u=Cn;Cn|=Pi,K2(n.current),Y2(n,n.current,l,t);{var h=bS;bS=[];for(var g=0;g<h.length;g++){var C=h[g];D2(n,C)}}ph(),gR(n.current,!0),Cn=u,Tu(),e0?n===t0?ap++:(ap=0,t0=n):ap=0,CS=!1,e0=!1,lh(n);{var O=n.current.stateNode;O.effectDuration=0,O.passiveEffectDuration=0}return!0}function mR(t){return op!==null&&op.has(t)}function DD(t){op===null?op=new Set([t]):op.add(t)}function MD(t){Jg||(Jg=!0,gS=t)}var LD=MD;function vR(t,n,l){var u=Zc(l,n),h=pT(t,u,qt),g=Ou(t,h,qt),C=Ta();g!==null&&(fu(g,qt,C),Ha(g,C))}function lr(t,n,l){if(R2(l),Lm(!1),t.tag===w){vR(t,t,l);return}var u=null;for(u=n;u!==null;){if(u.tag===w){vR(u,t,l);return}else if(u.tag===S){var h=u.type,g=u.stateNode;if(typeof h.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&!mR(g)){var C=Zc(l,t),O=Yx(u,C,qt),D=Ou(u,O,qt),H=Ta();D!==null&&(fu(D,qt,H),Ha(D,H));return}}u=u.return}d(`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.
|
|
2818
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:H=" You returned: "+O,d("%s must not return anything besides a function, which is used for clean-up.%s",D,H)}}}g=g.next}while(g!==h)}}function D2(t,n){if((n.flags&xn)!==Vt)switch(n.tag){case V:{var l=n.stateNode.passiveEffectDuration,u=n.memoizedProps,h=u.id,g=u.onPostCommit,C=oT(),O=n.alternate===null?"mount":"update";rT()&&(O="nested-update"),typeof g=="function"&&g(h,O,l,C);var D=n.return;e:for(;D!==null;){switch(D.tag){case w:var H=D.stateNode;H.passiveEffectDuration+=l;break e;case V:var Q=D.stateNode;Q.passiveEffectDuration+=l;break e}D=D.return}break}}}function M2(t,n,l,u){if((l.flags&Tl)!==Vt)switch(l.tag){case b:case k:case Z:{if(!jo)if(l.mode&$n)try{Hl(),Nu(go|yo,l)}finally{zl(l)}else Nu(go|yo,l);break}case S:{var h=l.stateNode;if(l.flags&xn&&!jo)if(n===null)if(l.type===l.elementType&&!Jc&&(h.props!==l.memoizedProps&&d("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.",rn(l)||"instance"),h.state!==l.memoizedState&&d("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.",rn(l)||"instance")),l.mode&$n)try{Hl(),h.componentDidMount()}finally{zl(l)}else h.componentDidMount();else{var g=l.elementType===l.type?n.memoizedProps:al(l.type,n.memoizedProps),C=n.memoizedState;if(l.type===l.elementType&&!Jc&&(h.props!==l.memoizedProps&&d("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.",rn(l)||"instance"),h.state!==l.memoizedState&&d("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.",rn(l)||"instance")),l.mode&$n)try{Hl(),h.componentDidUpdate(g,C,h.__reactInternalSnapshotBeforeUpdate)}finally{zl(l)}else h.componentDidUpdate(g,C,h.__reactInternalSnapshotBeforeUpdate)}var O=l.updateQueue;O!==null&&(l.type===l.elementType&&!Jc&&(h.props!==l.memoizedProps&&d("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.",rn(l)||"instance"),h.state!==l.memoizedState&&d("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.",rn(l)||"instance")),$E(l,O,h));break}case w:{var D=l.updateQueue;if(D!==null){var H=null;if(l.child!==null)switch(l.child.tag){case A:H=l.child.stateNode;break;case S:H=l.child.stateNode;break}$E(l,D,H)}break}case A:{var Q=l.stateNode;if(n===null&&l.flags&xn){var Se=l.type,ye=l.memoizedProps;Zk(Q,Se,ye)}break}case L:break;case R:break;case V:{{var Me=l.memoizedProps,_e=Me.onCommit,je=Me.onRender,xt=l.stateNode.effectDuration,Ut=oT(),It=n===null?"mount":"update";rT()&&(It="nested-update"),typeof je=="function"&&je(l.memoizedProps.id,It,l.actualDuration,l.treeBaseDuration,l.actualStartTime,Ut);{typeof _e=="function"&&_e(l.memoizedProps.id,It,xt,Ut),PD(l);var wn=l.return;e:for(;wn!==null;){switch(wn.tag){case w:var gn=wn.stateNode;gn.effectDuration+=xt;break e;case V:var ke=wn.stateNode;ke.effectDuration+=xt;break e}wn=wn.return}}}break}case N:{B2(t,l);break}case se:case ge:case Te:case he:case we:case fe: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.")}jo||l.flags&xr&&zT(l)}function L2(t){switch(t.tag){case b:case k:case Z:{if(t.mode&$n)try{Hl(),jT(t,t.return)}finally{zl(t)}else jT(t,t.return);break}case S:{var n=t.stateNode;typeof n.componentDidMount=="function"&&$2(t,t.return,n),UT(t,t.return);break}case A:{UT(t,t.return);break}}}function I2(t,n){for(var l=null,u=t;;){if(u.tag===A){if(l===null){l=u;try{var h=u.stateNode;n?sP(h):cP(u.stateNode,u.memoizedProps)}catch(C){lr(t,t.return,C)}}}else if(u.tag===L){if(l===null)try{var g=u.stateNode;n?uP(g):dP(g,u.memoizedProps)}catch(C){lr(t,t.return,C)}}else if(!((u.tag===he||u.tag===we)&&u.memoizedState!==null&&u!==t)){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===t)return;for(;u.sibling===null;){if(u.return===null||u.return===t)return;l===u&&(l=null),u=u.return}l===u&&(l=null),u.sibling.return=u.return,u=u.sibling}}function zT(t){var n=t.ref;if(n!==null){var l=t.stateNode,u;switch(t.tag){case A:u=l;break;default:u=l}if(typeof n=="function"){var h;if(t.mode&$n)try{Hl(),h=n(u)}finally{zl(t)}else h=n(u);typeof h=="function"&&d("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",rn(t))}else n.hasOwnProperty("current")||d("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",rn(t)),n.current=u}}function _2(t){var n=t.alternate;n!==null&&(n.return=null),t.return=null}function HT(t){var n=t.alternate;n!==null&&(t.alternate=null,HT(n));{if(t.child=null,t.deletions=null,t.sibling=null,t.tag===A){var l=t.stateNode;l!==null&&zP(l)}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 F2(t){for(var n=t.return;n!==null;){if(GT(n))return n;n=n.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 GT(t){return t.tag===A||t.tag===w||t.tag===R}function WT(t){var n=t;e:for(;;){for(;n.sibling===null;){if(n.return===null||GT(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==A&&n.tag!==L&&n.tag!==M;){if(n.flags&pr||n.child===null||n.tag===R)continue e;n.child.return=n,n=n.child}if(!(n.flags&pr))return n.stateNode}}function V2(t){var n=F2(t);switch(n.tag){case A:{var l=n.stateNode;n.flags&Na&&(qw(l),n.flags&=~Na);var u=WT(t);dS(t,u,l);break}case w:case R:{var h=n.stateNode.containerInfo,g=WT(t);cS(t,g,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 cS(t,n,l){var u=t.tag,h=u===A||u===L;if(h){var g=t.stateNode;n?oP(l,g,n):nP(l,g)}else if(u!==R){var C=t.child;if(C!==null){cS(C,n,l);for(var O=C.sibling;O!==null;)cS(O,n,l),O=O.sibling}}}function dS(t,n,l){var u=t.tag,h=u===A||u===L;if(h){var g=t.stateNode;n?rP(l,g,n):tP(l,g)}else if(u!==R){var C=t.child;if(C!==null){dS(C,n,l);for(var O=C.sibling;O!==null;)dS(O,n,l),O=O.sibling}}}var Uo=null,sl=!1;function j2(t,n,l){{var u=n;e:for(;u!==null;){switch(u.tag){case A:{Uo=u.stateNode,sl=!1;break e}case w:{Uo=u.stateNode.containerInfo,sl=!0;break e}case R:{Uo=u.stateNode.containerInfo,sl=!0;break e}}u=u.return}if(Uo===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");YT(t,n,l),Uo=null,sl=!1}_2(l)}function Du(t,n,l){for(var u=l.child;u!==null;)YT(t,n,u),u=u.sibling}function YT(t,n,l){switch(sh(l),l.tag){case A:jo||rp(l,n);case L:{{var u=Uo,h=sl;Uo=null,Du(t,n,l),Uo=u,sl=h,Uo!==null&&(sl?iP(Uo,l.stateNode):aP(Uo,l.stateNode))}return}case M:{Uo!==null&&(sl?lP(Uo,l.stateNode):C1(Uo,l.stateNode));return}case R:{{var g=Uo,C=sl;Uo=l.stateNode.containerInfo,sl=!0,Du(t,n,l),Uo=g,sl=C}return}case b:case k:case z:case Z:{if(!jo){var O=l.updateQueue;if(O!==null){var D=O.lastEffect;if(D!==null){var H=D.next,Q=H;do{var Se=Q,ye=Se.destroy,Me=Se.tag;ye!==void 0&&((Me&jl)!==Ba?Qg(l,n,ye):(Me&go)!==Ba&&(uc(l),l.mode&$n?(Hl(),Qg(l,n,ye),zl(l)):Qg(l,n,ye),fh())),Q=Q.next}while(Q!==H)}}}Du(t,n,l);return}case S:{if(!jo){rp(l,n);var _e=l.stateNode;typeof _e.componentWillUnmount=="function"&&uS(l,n,_e)}Du(t,n,l);return}case Te:{Du(t,n,l);return}case he:{if(l.mode&hn){var je=jo;jo=je||l.memoizedState!==null,Du(t,n,l),jo=je}else Du(t,n,l);break}default:{Du(t,n,l);return}}}function U2(t){t.memoizedState}function B2(t,n){var l=n.memoizedState;if(l===null){var u=n.alternate;if(u!==null){var h=u.memoizedState;if(h!==null){var g=h.dehydrated;g!==null&&RP(g)}}}}function qT(t){var n=t.updateQueue;if(n!==null){t.updateQueue=null;var l=t.stateNode;l===null&&(l=t.stateNode=new T2),n.forEach(function(u){var h=FD.bind(null,t,u);if(!l.has(u)){if(l.add(u),ra)if(tp!==null&&np!==null)Mm(np,tp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(h,h)}})}}function z2(t,n,l){tp=l,np=t,ir(n),QT(n,t),ir(n),tp=null,np=null}function ul(t,n,l){var u=n.deletions;if(u!==null)for(var h=0;h<u.length;h++){var g=u[h];try{j2(t,n,g)}catch(D){lr(g,n,D)}}var C=Hu();if(n.subtreeFlags&El)for(var O=n.child;O!==null;)ir(O),QT(O,t),O=O.sibling;ir(C)}function QT(t,n,l){var u=t.alternate,h=t.flags;switch(t.tag){case b:case k:case z:case Z:{if(ul(n,t),Gl(t),h&xn){try{ll(jl|yo,t,t.return),Nu(jl|yo,t)}catch(Qt){lr(t,t.return,Qt)}if(t.mode&$n){try{Hl(),ll(go|yo,t,t.return)}catch(Qt){lr(t,t.return,Qt)}zl(t)}else try{ll(go|yo,t,t.return)}catch(Qt){lr(t,t.return,Qt)}}return}case S:{ul(n,t),Gl(t),h&xr&&u!==null&&rp(u,u.return);return}case A:{ul(n,t),Gl(t),h&xr&&u!==null&&rp(u,u.return);{if(t.flags&Na){var g=t.stateNode;try{qw(g)}catch(Qt){lr(t,t.return,Qt)}}if(h&xn){var C=t.stateNode;if(C!=null){var O=t.memoizedProps,D=u!==null?u.memoizedProps:O,H=t.type,Q=t.updateQueue;if(t.updateQueue=null,Q!==null)try{Jk(C,Q,H,D,O,t)}catch(Qt){lr(t,t.return,Qt)}}}}return}case L:{if(ul(n,t),Gl(t),h&xn){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 Se=t.stateNode,ye=t.memoizedProps,Me=u!==null?u.memoizedProps:ye;try{eP(Se,Me,ye)}catch(Qt){lr(t,t.return,Qt)}}return}case w:{if(ul(n,t),Gl(t),h&xn&&u!==null){var _e=u.memoizedState;if(_e.isDehydrated)try{TP(n.containerInfo)}catch(Qt){lr(t,t.return,Qt)}}return}case R:{ul(n,t),Gl(t);return}case N:{ul(n,t),Gl(t);var je=t.child;if(je.flags&Mr){var xt=je.stateNode,Ut=je.memoizedState,It=Ut!==null;if(xt.isHidden=It,It){var wn=je.alternate!==null&&je.alternate.memoizedState!==null;wn||wD()}}if(h&xn){try{U2(t)}catch(Qt){lr(t,t.return,Qt)}qT(t)}return}case he:{var gn=u!==null&&u.memoizedState!==null;if(t.mode&hn){var ke=jo;jo=ke||gn,ul(n,t),jo=ke}else ul(n,t);if(Gl(t),h&Mr){var Ue=t.stateNode,Pe=t.memoizedState,tt=Pe!==null,Rt=t;if(Ue.isHidden=tt,tt&&!gn&&(Rt.mode&hn)!==jt){Nt=Rt;for(var Ct=Rt.child;Ct!==null;)Nt=Ct,G2(Ct),Ct=Ct.sibling}I2(Rt,tt)}return}case se:{ul(n,t),Gl(t),h&xn&&qT(t);return}case Te:return;default:{ul(n,t),Gl(t);return}}}function Gl(t){var n=t.flags;if(n&pr){try{V2(t)}catch(l){lr(t,t.return,l)}t.flags&=~pr}n&ea&&(t.flags&=~ea)}function H2(t,n,l){tp=l,np=n,Nt=t,XT(t,n,l),tp=null,np=null}function XT(t,n,l){for(var u=(t.mode&hn)!==jt;Nt!==null;){var h=Nt,g=h.child;if(h.tag===he&&u){var C=h.memoizedState!==null,O=C||qg;if(O){fS(t,n,l);continue}else{var D=h.alternate,H=D!==null&&D.memoizedState!==null,Q=H||jo,Se=qg,ye=jo;qg=O,jo=Q,jo&&!ye&&(Nt=h,W2(h));for(var Me=g;Me!==null;)Nt=Me,XT(Me,n,l),Me=Me.sibling;Nt=h,qg=Se,jo=ye,fS(t,n,l);continue}}(h.subtreeFlags&Tl)!==Vt&&g!==null?(g.return=h,Nt=g):fS(t,n,l)}}function fS(t,n,l){for(;Nt!==null;){var u=Nt;if((u.flags&Tl)!==Vt){var h=u.alternate;ir(u);try{M2(n,h,u,l)}catch(C){lr(u,u.return,C)}br()}if(u===t){Nt=null;return}var g=u.sibling;if(g!==null){g.return=u.return,Nt=g;return}Nt=u.return}}function G2(t){for(;Nt!==null;){var n=Nt,l=n.child;switch(n.tag){case b:case k:case z:case Z:{if(n.mode&$n)try{Hl(),ll(go,n,n.return)}finally{zl(n)}else ll(go,n,n.return);break}case S:{rp(n,n.return);var u=n.stateNode;typeof u.componentWillUnmount=="function"&&uS(n,n.return,u);break}case A:{rp(n,n.return);break}case he:{var h=n.memoizedState!==null;if(h){KT(t);continue}break}}l!==null?(l.return=n,Nt=l):KT(t)}}function KT(t){for(;Nt!==null;){var n=Nt;if(n===t){Nt=null;return}var l=n.sibling;if(l!==null){l.return=n.return,Nt=l;return}Nt=n.return}}function W2(t){for(;Nt!==null;){var n=Nt,l=n.child;if(n.tag===he){var u=n.memoizedState!==null;if(u){ZT(t);continue}}l!==null?(l.return=n,Nt=l):ZT(t)}}function ZT(t){for(;Nt!==null;){var n=Nt;ir(n);try{L2(n)}catch(u){lr(n,n.return,u)}if(br(),n===t){Nt=null;return}var l=n.sibling;if(l!==null){l.return=n.return,Nt=l;return}Nt=n.return}}function Y2(t,n,l,u){Nt=n,q2(n,t,l,u)}function q2(t,n,l,u){for(;Nt!==null;){var h=Nt,g=h.child;(h.subtreeFlags&Wi)!==Vt&&g!==null?(g.return=h,Nt=g):Q2(t,n,l,u)}}function Q2(t,n,l,u){for(;Nt!==null;){var h=Nt;if((h.flags&Jo)!==Vt){ir(h);try{X2(n,h,l,u)}catch(C){lr(h,h.return,C)}br()}if(h===t){Nt=null;return}var g=h.sibling;if(g!==null){g.return=h.return,Nt=g;return}Nt=h.return}}function X2(t,n,l,u){switch(n.tag){case b:case k:case Z:{if(n.mode&$n){Px();try{Nu(Fo|yo,n)}finally{kx(n)}}else Nu(Fo|yo,n);break}}}function K2(t){Nt=t,Z2()}function Z2(){for(;Nt!==null;){var t=Nt,n=t.child;if((Nt.flags&Pa)!==Vt){var l=t.deletions;if(l!==null){for(var u=0;u<l.length;u++){var h=l[u];Nt=h,tD(h,t)}{var g=t.alternate;if(g!==null){var C=g.child;if(C!==null){g.child=null;do{var O=C.sibling;C.sibling=null,C=O}while(C!==null)}}}Nt=t}}(t.subtreeFlags&Wi)!==Vt&&n!==null?(n.return=t,Nt=n):J2()}}function J2(){for(;Nt!==null;){var t=Nt;(t.flags&Jo)!==Vt&&(ir(t),eD(t),br());var n=t.sibling;if(n!==null){n.return=t.return,Nt=n;return}Nt=t.return}}function eD(t){switch(t.tag){case b:case k:case Z:{t.mode&$n?(Px(),ll(Fo|yo,t,t.return),kx(t)):ll(Fo|yo,t,t.return);break}}}function tD(t,n){for(;Nt!==null;){var l=Nt;ir(l),rD(l,n),br();var u=l.child;u!==null?(u.return=l,Nt=u):nD(t)}}function nD(t){for(;Nt!==null;){var n=Nt,l=n.sibling,u=n.return;if(HT(n),n===t){Nt=null;return}if(l!==null){l.return=u,Nt=l;return}Nt=u}}function rD(t,n){switch(t.tag){case b:case k:case Z:{t.mode&$n?(Px(),ll(Fo,t,n),kx(t)):ll(Fo,t,n);break}}}function oD(t){switch(t.tag){case b:case k:case Z:{try{Nu(go|yo,t)}catch(l){lr(t,t.return,l)}break}case S:{var n=t.stateNode;try{n.componentDidMount()}catch(l){lr(t,t.return,l)}break}}}function aD(t){switch(t.tag){case b:case k:case Z:{try{Nu(Fo|yo,t)}catch(n){lr(t,t.return,n)}break}}}function iD(t){switch(t.tag){case b:case k:case Z:{try{ll(go|yo,t,t.return)}catch(l){lr(t,t.return,l)}break}case S:{var n=t.stateNode;typeof n.componentWillUnmount=="function"&&uS(t,t.return,n);break}}}function lD(t){switch(t.tag){case b:case k:case Z:try{ll(Fo|yo,t,t.return)}catch(n){lr(t,t.return,n)}}}if(typeof Symbol=="function"&&Symbol.for){var wm=Symbol.for;wm("selector.component"),wm("selector.has_pseudo_class"),wm("selector.role"),wm("selector.test_id"),wm("selector.text")}var sD=[];function uD(){sD.forEach(function(t){return t()})}var cD=i.ReactCurrentActQueue;function dD(t){{var n=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,l=typeof jest<"u";return l&&n!==!1}}function JT(){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!t&&cD.current!==null&&d("The current testing environment is not configured to support act(...)"),t}}var fD=Math.ceil,pS=i.ReactCurrentDispatcher,hS=i.ReactCurrentOwner,Bo=i.ReactCurrentBatchConfig,cl=i.ReactCurrentActQueue,So=0,eR=1,zo=2,Pi=4,js=0,Em=1,ed=2,Xg=3,Tm=4,tR=5,mS=6,Cn=So,Ea=null,Nr=null,Co=Xe,Wl=Xe,vS=wu(Xe),wo=js,Rm=null,Kg=Xe,Om=Xe,Zg=Xe,$m=null,za=null,yS=0,nR=500,rR=1/0,pD=500,Us=null;function Am(){rR=Wr()+pD}function oR(){return rR}var Jg=!1,gS=null,op=null,td=!1,Mu=null,km=Xe,bS=[],xS=null,hD=50,Pm=0,SS=null,CS=!1,e0=!1,mD=50,ap=0,t0=null,Nm=Kn,n0=Xe,aR=!1;function r0(){return Ea}function Ta(){return(Cn&(zo|Pi))!==So?Wr():(Nm!==Kn||(Nm=Wr()),Nm)}function Lu(t){var n=t.mode;if((n&hn)===jt)return qt;if((Cn&zo)!==So&&Co!==Xe)return Cc(Co);var l=cN()!==uN;if(l){if(Bo.transition!==null){var u=Bo.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(t)}return n0===En&&(n0=xh()),n0}var h=Fa();if(h!==En)return h;var g=qk();return g}function vD(t){var n=t.mode;return(n&hn)===jt?qt:ly()}function Eo(t,n,l,u){jD(),aR&&d("useInsertionEffect must not schedule updates."),CS&&(e0=!0),fu(t,l,u),(Cn&zo)!==Xe&&t===Ea?zD(n):(ra&&Tc(t,n,l),HD(n),t===Ea&&((Cn&zo)===So&&(Om=on(Om,l)),wo===Tm&&Iu(t,Co)),Ha(t,u),l===qt&&Cn===So&&(n.mode&hn)===jt&&!cl.isBatchingLegacy&&(Am(),aE()))}function yD(t,n,l){var u=t.current;u.lanes=n,fu(t,n,l),Ha(t,l)}function gD(t){return(Cn&zo)!==So}function Ha(t,n){var l=t.callbackNode;hf(t,n);var u=pf(t,t===Ea?Co:Xe);if(u===Xe){l!==null&&SR(l),t.callbackNode=null,t.callbackPriority=En;return}var h=kl(u),g=t.callbackPriority;if(g===h&&!(cl.current!==null&&l!==AS)){l==null&&g!==qt&&d("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}l!=null&&SR(l);var C;if(h===qt)t.tag===Eu?(cl.isBatchingLegacy!==null&&(cl.didScheduleLegacyUpdate=!0),WP(sR.bind(null,t))):oE(sR.bind(null,t)),cl.current!==null?cl.current.push(Tu):Xk(function(){(Cn&(zo|Pi))===So&&Tu()}),C=null;else{var O;switch(hy(u)){case No:O=sc;break;case Si:O=Rl;break;case Ia:O=Yi;break;case _a:O=hs;break;default:O=Yi;break}C=kS(O,iR.bind(null,t))}t.callbackPriority=h,t.callbackNode=C}function iR(t,n){if(IN(),Nm=Kn,n0=Xe,(Cn&(zo|Pi))!==So)throw new Error("Should not already be working.");var l=t.callbackNode,u=zs();if(u&&t.callbackNode!==l)return null;var h=pf(t,t===Ea?Co:Xe);if(h===Xe)return null;var g=!vf(t,h)&&!iy(t,h)&&!n,C=g?$D(t,h):a0(t,h);if(C!==js){if(C===ed){var O=mf(t);O!==Xe&&(h=O,C=wS(t,O))}if(C===Em){var D=Rm;throw nd(t,Xe),Iu(t,h),Ha(t,Wr()),D}if(C===mS)Iu(t,h);else{var H=!vf(t,h),Q=t.current.alternate;if(H&&!xD(Q)){if(C=a0(t,h),C===ed){var Se=mf(t);Se!==Xe&&(h=Se,C=wS(t,Se))}if(C===Em){var ye=Rm;throw nd(t,Xe),Iu(t,h),Ha(t,Wr()),ye}}t.finishedWork=Q,t.finishedLanes=h,bD(t,C,h)}}return Ha(t,Wr()),t.callbackNode===l?iR.bind(null,t):null}function wS(t,n){var l=$m;if(bf(t)){var u=nd(t,n);u.flags|=Ro,VP(t.containerInfo)}var h=a0(t,n);if(h!==ed){var g=za;za=l,g!==null&&lR(g)}return h}function lR(t){za===null?za=t:za.push.apply(za,t)}function bD(t,n,l){switch(n){case js:case Em:throw new Error("Root did not complete. This is a bug in React.");case ed:{rd(t,za,Us);break}case Xg:{if(Iu(t,l),Ts(l)&&!CR()){var u=yS+nR-Wr();if(u>10){var h=pf(t,Xe);if(h!==Xe)break;var g=t.suspendedLanes;if(!Rs(g,l)){Ta(),yf(t,g);break}t.timeoutHandle=x1(rd.bind(null,t,za,Us),u);break}}rd(t,za,Us);break}case Tm:{if(Iu(t,l),gh(l))break;if(!CR()){var C=ei(t,l),O=C,D=Wr()-O,H=VD(D)-D;if(H>10){t.timeoutHandle=x1(rd.bind(null,t,za,Us),H);break}}rd(t,za,Us);break}case tR:{rd(t,za,Us);break}default:throw new Error("Unknown root exit status.")}}function xD(t){for(var n=t;;){if(n.flags&lu){var l=n.updateQueue;if(l!==null){var u=l.stores;if(u!==null)for(var h=0;h<u.length;h++){var g=u[h],C=g.getSnapshot,O=g.value;try{if(!Je(C(),O))return!1}catch{return!1}}}}var D=n.child;if(n.subtreeFlags&lu&&D!==null){D.return=n,n=D;continue}if(n===t)return!0;for(;n.sibling===null;){if(n.return===null||n.return===t)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}return!0}function Iu(t,n){n=wc(n,Zg),n=wc(n,Om),cy(t,n)}function sR(t){if(_N(),(Cn&(zo|Pi))!==So)throw new Error("Should not already be working.");zs();var n=pf(t,Xe);if(!aa(n,qt))return Ha(t,Wr()),null;var l=a0(t,n);if(t.tag!==Eu&&l===ed){var u=mf(t);u!==Xe&&(n=u,l=wS(t,u))}if(l===Em){var h=Rm;throw nd(t,Xe),Iu(t,n),Ha(t,Wr()),h}if(l===mS)throw new Error("Root did not complete. This is a bug in React.");var g=t.current.alternate;return t.finishedWork=g,t.finishedLanes=n,rd(t,za,Us),Ha(t,Wr()),null}function SD(t,n){n!==Xe&&(gf(t,on(n,qt)),Ha(t,Wr()),(Cn&(zo|Pi))===So&&(Am(),Tu()))}function ES(t,n){var l=Cn;Cn|=eR;try{return t(n)}finally{Cn=l,Cn===So&&!cl.isBatchingLegacy&&(Am(),aE())}}function CD(t,n,l,u,h){var g=Fa(),C=Bo.transition;try{return Bo.transition=null,Fr(No),t(n,l,u,h)}finally{Fr(g),Bo.transition=C,Cn===So&&Am()}}function Bs(t){Mu!==null&&Mu.tag===Eu&&(Cn&(zo|Pi))===So&&zs();var n=Cn;Cn|=eR;var l=Bo.transition,u=Fa();try{return Bo.transition=null,Fr(No),t?t():void 0}finally{Fr(u),Bo.transition=l,Cn=n,(Cn&(zo|Pi))===So&&Tu()}}function uR(){return(Cn&(zo|Pi))!==So}function o0(t,n){ca(vS,Wl,t),Wl=on(Wl,n)}function TS(t){Wl=vS.current,ua(vS,t)}function nd(t,n){t.finishedWork=null,t.finishedLanes=Xe;var l=t.timeoutHandle;if(l!==S1&&(t.timeoutHandle=S1,Qk(l)),Nr!==null)for(var u=Nr.return;u!==null;){var h=u.alternate;FT(h,u),u=u.return}Ea=t;var g=od(t.current,null);return Nr=g,Co=Wl=n,wo=js,Rm=null,Kg=Xe,Om=Xe,Zg=Xe,$m=null,za=null,yN(),nl.discardPendingWarnings(),g}function cR(t,n){do{var l=Nr;try{if(hg(),ME(),br(),hS.current=null,l===null||l.return===null){wo=Em,Rm=n,Nr=null;return}if($e&&l.mode&$n&&zg(l,!0),W)if(xa(),n!==null&&typeof n=="object"&&typeof n.then=="function"){var u=n;xi(l,u,Co)}else cc(l,n,Co);WN(t,l.return,l,n,Co),hR(l)}catch(h){n=h,Nr===l&&l!==null?(l=l.return,Nr=l):l=Nr;continue}return}while(!0)}function dR(){var t=pS.current;return pS.current=Fg,t===null?Fg:t}function fR(t){pS.current=t}function wD(){yS=Wr()}function Dm(t){Kg=on(t,Kg)}function ED(){wo===js&&(wo=Xg)}function RS(){(wo===js||wo===Xg||wo===ed)&&(wo=Tm),Ea!==null&&(Sc(Kg)||Sc(Om))&&Iu(Ea,Co)}function TD(t){wo!==Tm&&(wo=ed),$m===null?$m=[t]:$m.push(t)}function RD(){return wo===js}function a0(t,n){var l=Cn;Cn|=zo;var u=dR();if(Ea!==t||Co!==n){if(ra){var h=t.memoizedUpdaters;h.size>0&&(Mm(t,Co),h.clear()),dy(t,n)}Us=Eh(),nd(t,n)}gs(n);do try{OD();break}catch(g){cR(t,g)}while(!0);if(hg(),Cn=l,fR(u),Nr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return qd(),Ea=null,Co=Xe,wo}function OD(){for(;Nr!==null;)pR(Nr)}function $D(t,n){var l=Cn;Cn|=zo;var u=dR();if(Ea!==t||Co!==n){if(ra){var h=t.memoizedUpdaters;h.size>0&&(Mm(t,Co),h.clear()),dy(t,n)}Us=Eh(),Am(),nd(t,n)}gs(n);do try{AD();break}catch(g){cR(t,g)}while(!0);return hg(),fR(u),Cn=l,Nr!==null?(ny(),js):(qd(),Ea=null,Co=Xe,wo)}function AD(){for(;Nr!==null&&!rh();)pR(Nr)}function pR(t){var n=t.alternate;ir(t);var l;(t.mode&$n)!==jt?(Ax(t),l=OS(n,t,Wl),zg(t,!0)):l=OS(n,t,Wl),br(),t.memoizedProps=t.pendingProps,l===null?hR(t):Nr=l,hS.current=null}function hR(t){var n=t;do{var l=n.alternate,u=n.return;if((n.flags&lc)===Vt){ir(n);var h=void 0;if((n.mode&$n)===jt?h=_T(l,n,Wl):(Ax(n),h=_T(l,n,Wl),zg(n,!1)),br(),h!==null){Nr=h;return}}else{var g=E2(l,n);if(g!==null){g.flags&=Xv,Nr=g;return}if((n.mode&$n)!==jt){zg(n,!1);for(var C=n.actualDuration,O=n.child;O!==null;)C+=O.actualDuration,O=O.sibling;n.actualDuration=C}if(u!==null)u.flags|=lc,u.subtreeFlags=Vt,u.deletions=null;else{wo=mS,Nr=null;return}}var D=n.sibling;if(D!==null){Nr=D;return}n=u,Nr=n}while(n!==null);wo===js&&(wo=tR)}function rd(t,n,l){var u=Fa(),h=Bo.transition;try{Bo.transition=null,Fr(No),kD(t,n,l,u)}finally{Bo.transition=h,Fr(u)}return null}function kD(t,n,l,u){do zs();while(Mu!==null);if(UD(),(Cn&(zo|Pi))!==So)throw new Error("Should not already be working.");var h=t.finishedWork,g=t.finishedLanes;if(uh(g),h===null)return ch(),null;if(g===Xe&&d("root.finishedLanes should not be empty during a commit. This is a bug in React."),t.finishedWork=null,t.finishedLanes=Xe,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=En;var C=on(h.lanes,h.childLanes);Ch(t,C),t===Ea&&(Ea=null,Nr=null,Co=Xe),((h.subtreeFlags&Wi)!==Vt||(h.flags&Wi)!==Vt)&&(td||(td=!0,xS=l,kS(Yi,function(){return zs(),null})));var O=(h.subtreeFlags&(wl|El|Tl|Wi))!==Vt,D=(h.flags&(wl|El|Tl|Wi))!==Vt;if(O||D){var H=Bo.transition;Bo.transition=null;var Q=Fa();Fr(No);var Se=Cn;Cn|=Pi,hS.current=null,A2(t,h),aT(),z2(t,h,g),Bk(t.containerInfo),t.current=h,dc(g),H2(h,t,g),fc(),oh(),Cn=Se,Fr(Q),Bo.transition=H}else t.current=h,aT();var ye=td;if(td?(td=!1,Mu=t,km=g):(ap=0,t0=null),C=t.pendingLanes,C===Xe&&(op=null),ye||gR(t.current,!1),ih(h.stateNode,u),ra&&t.memoizedUpdaters.clear(),uD(),Ha(t,Wr()),n!==null)for(var Me=t.onRecoverableError,_e=0;_e<n.length;_e++){var je=n[_e],xt=je.stack,Ut=je.digest;Me(je.value,{componentStack:xt,digest:Ut})}if(Jg){Jg=!1;var It=gS;throw gS=null,It}return aa(km,qt)&&t.tag!==Eu&&zs(),C=t.pendingLanes,aa(C,qt)?(LN(),t===SS?Pm++:(Pm=0,SS=t)):Pm=0,Tu(),ch(),null}function zs(){if(Mu!==null){var t=hy(km),n=Oc(Ia,t),l=Bo.transition,u=Fa();try{return Bo.transition=null,Fr(n),ND()}finally{Fr(u),Bo.transition=l}}return!1}function PD(t){bS.push(t),td||(td=!0,kS(Yi,function(){return zs(),null}))}function ND(){if(Mu===null)return!1;var t=xS;xS=null;var n=Mu,l=km;if(Mu=null,km=Xe,(Cn&(zo|Pi))!==So)throw new Error("Cannot flush passive effects while already rendering.");CS=!0,e0=!1,ys(l);var u=Cn;Cn|=Pi,K2(n.current),Y2(n,n.current,l,t);{var h=bS;bS=[];for(var g=0;g<h.length;g++){var C=h[g];D2(n,C)}}ph(),gR(n.current,!0),Cn=u,Tu(),e0?n===t0?ap++:(ap=0,t0=n):ap=0,CS=!1,e0=!1,lh(n);{var O=n.current.stateNode;O.effectDuration=0,O.passiveEffectDuration=0}return!0}function mR(t){return op!==null&&op.has(t)}function DD(t){op===null?op=new Set([t]):op.add(t)}function MD(t){Jg||(Jg=!0,gS=t)}var LD=MD;function vR(t,n,l){var u=Zc(l,n),h=pT(t,u,qt),g=Ou(t,h,qt),C=Ta();g!==null&&(fu(g,qt,C),Ha(g,C))}function lr(t,n,l){if(R2(l),Lm(!1),t.tag===w){vR(t,t,l);return}var u=null;for(u=n;u!==null;){if(u.tag===w){vR(u,t,l);return}else if(u.tag===S){var h=u.type,g=u.stateNode;if(typeof h.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&!mR(g)){var C=Zc(l,t),O=Yx(u,C,qt),D=Ou(u,O,qt),H=Ta();D!==null&&(fu(D,qt,H),Ha(D,H));return}}u=u.return}d(`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.
|
|
2819
2819
|
|
|
2820
2820
|
Error message:
|
|
2821
2821
|
|
|
2822
|
-
%s`,l)}function ID(t,n,l){var u=t.pingCache;u!==null&&u.delete(n);var h=Ta();yf(t,l),GD(t),Ea===t&&Rs(Co,l)&&(wo===Tm||wo===Xg&&Ts(Co)&&Wr()-yS<nR?nd(t,Xe):Zg=on(Zg,l)),Ha(t,h)}function yR(t,n){n===En&&(n=vD(t));var l=Ta(),u=Ua(t,n);u!==null&&(fu(u,n,l),Ha(u,l))}function _D(t){var n=t.memoizedState,l=En;n!==null&&(l=n.retryLane),yR(t,l)}function FD(t,n){var l=En,u;switch(t.tag){case N:u=t.stateNode;var h=t.memoizedState;h!==null&&(l=h.retryLane);break;case se:u=t.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(n),yR(t,l)}function VD(t){return t<120?120:t<480?480:t<1080?1080:t<1920?1920:t<3e3?3e3:t<4320?4320:fD(t/1960)*1960}function jD(){if(Pm>hD)throw Pm=0,SS=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.");ap>mD&&(ap=0,t0=null,d("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 UD(){nl.flushLegacyContextWarning(),nl.flushPendingUnsafeLifecycleWarnings()}function gR(t,n){ir(t),i0(t,Cl,iD),n&&i0(t,yi,lD),i0(t,Cl,oD),n&&i0(t,yi,aD),br()}function i0(t,n,l){for(var u=t,h=null;u!==null;){var g=u.subtreeFlags&n;u!==h&&u.child!==null&&g!==Vt?u=u.child:((u.flags&n)!==Vt&&l(u),u.sibling!==null?u=u.sibling:u=h=u.return)}}var l0=null;function bR(t){{if((Cn&zo)!==So||!(t.mode&hn))return;var n=t.tag;if(n!==T&&n!==w&&n!==S&&n!==b&&n!==k&&n!==z&&n!==Z)return;var l=rn(t)||"ReactComponent";if(l0!==null){if(l0.has(l))return;l0.add(l)}else l0=new Set([l]);var u=Po;try{ir(t),d("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{u?ir(t):br()}}}var OS;{var BD=null;OS=function(t,n,l){var u=OR(BD,n);try{return NT(t,n,l)}catch(g){if(eN()||g!==null&&typeof g=="object"&&typeof g.then=="function")throw g;if(hg(),ME(),FT(t,n),OR(n,u),n.mode&$n&&Ax(n),Sl(null,NT,null,t,n,l),Hi()){var h=ic();typeof h=="object"&&h!==null&&h._suppressLogging&&typeof g=="object"&&g!==null&&!g._suppressLogging&&(g._suppressLogging=!0)}throw g}}}var xR=!1,$S;$S=new Set;function zD(t){if(ml&&!NN())switch(t.tag){case b:case k:case Z:{var n=
|
|
2822
|
+
%s`,l)}function ID(t,n,l){var u=t.pingCache;u!==null&&u.delete(n);var h=Ta();yf(t,l),GD(t),Ea===t&&Rs(Co,l)&&(wo===Tm||wo===Xg&&Ts(Co)&&Wr()-yS<nR?nd(t,Xe):Zg=on(Zg,l)),Ha(t,h)}function yR(t,n){n===En&&(n=vD(t));var l=Ta(),u=Ua(t,n);u!==null&&(fu(u,n,l),Ha(u,l))}function _D(t){var n=t.memoizedState,l=En;n!==null&&(l=n.retryLane),yR(t,l)}function FD(t,n){var l=En,u;switch(t.tag){case N:u=t.stateNode;var h=t.memoizedState;h!==null&&(l=h.retryLane);break;case se:u=t.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(n),yR(t,l)}function VD(t){return t<120?120:t<480?480:t<1080?1080:t<1920?1920:t<3e3?3e3:t<4320?4320:fD(t/1960)*1960}function jD(){if(Pm>hD)throw Pm=0,SS=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.");ap>mD&&(ap=0,t0=null,d("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 UD(){nl.flushLegacyContextWarning(),nl.flushPendingUnsafeLifecycleWarnings()}function gR(t,n){ir(t),i0(t,Cl,iD),n&&i0(t,yi,lD),i0(t,Cl,oD),n&&i0(t,yi,aD),br()}function i0(t,n,l){for(var u=t,h=null;u!==null;){var g=u.subtreeFlags&n;u!==h&&u.child!==null&&g!==Vt?u=u.child:((u.flags&n)!==Vt&&l(u),u.sibling!==null?u=u.sibling:u=h=u.return)}}var l0=null;function bR(t){{if((Cn&zo)!==So||!(t.mode&hn))return;var n=t.tag;if(n!==T&&n!==w&&n!==S&&n!==b&&n!==k&&n!==z&&n!==Z)return;var l=rn(t)||"ReactComponent";if(l0!==null){if(l0.has(l))return;l0.add(l)}else l0=new Set([l]);var u=Po;try{ir(t),d("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{u?ir(t):br()}}}var OS;{var BD=null;OS=function(t,n,l){var u=OR(BD,n);try{return NT(t,n,l)}catch(g){if(eN()||g!==null&&typeof g=="object"&&typeof g.then=="function")throw g;if(hg(),ME(),FT(t,n),OR(n,u),n.mode&$n&&Ax(n),Sl(null,NT,null,t,n,l),Hi()){var h=ic();typeof h=="object"&&h!==null&&h._suppressLogging&&typeof g=="object"&&g!==null&&!g._suppressLogging&&(g._suppressLogging=!0)}throw g}}}var xR=!1,$S;$S=new Set;function zD(t){if(ml&&!NN())switch(t.tag){case b:case k:case Z:{var n=Nr&&rn(Nr)||"Unknown",l=n;if(!$S.has(l)){$S.add(l);var u=rn(t)||"Unknown";d("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",u,n,n)}break}case S:{xR||(d("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),xR=!0);break}}}function Mm(t,n){if(ra){var l=t.memoizedUpdaters;l.forEach(function(u){Tc(t,u,n)})}}var AS={};function kS(t,n){{var l=cl.current;return l!==null?(l.push(n),AS):nh(t,n)}}function SR(t){if(t!==AS)return Zv(t)}function CR(){return cl.current!==null}function HD(t){{if(t.mode&hn){if(!JT())return}else if(!dD()||Cn!==So||t.tag!==b&&t.tag!==k&&t.tag!==Z)return;if(cl.current===null){var n=Po;try{ir(t),d(`An update to %s inside a test was not wrapped in act(...).
|
|
2823
2823
|
|
|
2824
2824
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
2825
2825
|
|
|
@@ -2837,9 +2837,9 @@ act(() => {
|
|
|
2837
2837
|
});
|
|
2838
2838
|
/* assert on the output */
|
|
2839
2839
|
|
|
2840
|
-
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 Lm(t){aR=t}var Ni=null,ip=null,WD=function(t){Ni=t};function lp(t){{if(Ni===null)return t;var n=Ni(t);return n===void 0?t:n.current}}function PS(t){return lp(t)}function NS(t){{if(Ni===null)return t;var n=Ni(t);if(n===void 0){if(t!=null&&typeof t.render=="function"){var l=lp(t.render);if(t.render!==l){var u={$$typeof:Ye,render:l};return t.displayName!==void 0&&(u.displayName=t.displayName),u}}return t}return n.current}}function wR(t,n){{if(Ni===null)return!1;var l=t.elementType,u=n.type,h=!1,g=typeof u=="object"&&u!==null?u.$$typeof:null;switch(t.tag){case S:{typeof u=="function"&&(h=!0);break}case b:{(typeof u=="function"||g===Wt)&&(h=!0);break}case k:{(g===Ye||g===Wt)&&(h=!0);break}case z:case Z:{(g===At||g===Wt)&&(h=!0);break}default:return!1}if(h){var C=Ni(l);if(C!==void 0&&C===Ni(u))return!0}return!1}}function ER(t){{if(Ni===null||typeof WeakSet!="function")return;ip===null&&(ip=new WeakSet),ip.add(t)}}var YD=function(t,n){{if(Ni===null)return;var l=n.staleFamilies,u=n.updatedFamilies;zs(),Bs(function(){DS(t.current,u,l)})}},qD=function(t,n){{if(t.context!==
|
|
2840
|
+
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 Lm(t){aR=t}var Ni=null,ip=null,WD=function(t){Ni=t};function lp(t){{if(Ni===null)return t;var n=Ni(t);return n===void 0?t:n.current}}function PS(t){return lp(t)}function NS(t){{if(Ni===null)return t;var n=Ni(t);if(n===void 0){if(t!=null&&typeof t.render=="function"){var l=lp(t.render);if(t.render!==l){var u={$$typeof:Ye,render:l};return t.displayName!==void 0&&(u.displayName=t.displayName),u}}return t}return n.current}}function wR(t,n){{if(Ni===null)return!1;var l=t.elementType,u=n.type,h=!1,g=typeof u=="object"&&u!==null?u.$$typeof:null;switch(t.tag){case S:{typeof u=="function"&&(h=!0);break}case b:{(typeof u=="function"||g===Wt)&&(h=!0);break}case k:{(g===Ye||g===Wt)&&(h=!0);break}case z:case Z:{(g===At||g===Wt)&&(h=!0);break}default:return!1}if(h){var C=Ni(l);if(C!==void 0&&C===Ni(u))return!0}return!1}}function ER(t){{if(Ni===null||typeof WeakSet!="function")return;ip===null&&(ip=new WeakSet),ip.add(t)}}var YD=function(t,n){{if(Ni===null)return;var l=n.staleFamilies,u=n.updatedFamilies;zs(),Bs(function(){DS(t.current,u,l)})}},qD=function(t,n){{if(t.context!==ri)return;zs(),Bs(function(){Im(n,t,null,null)})}};function DS(t,n,l){{var u=t.alternate,h=t.child,g=t.sibling,C=t.tag,O=t.type,D=null;switch(C){case b:case Z:case S:D=O;break;case k:D=O.render;break}if(Ni===null)throw new Error("Expected resolveFamily to be set during hot reload.");var H=!1,Q=!1;if(D!==null){var Se=Ni(D);Se!==void 0&&(l.has(Se)?Q=!0:n.has(Se)&&(C===S?Q=!0:H=!0))}if(ip!==null&&(ip.has(t)||u!==null&&ip.has(u))&&(Q=!0),Q&&(t._debugNeedsRemount=!0),Q||H){var ye=Ua(t,qt);ye!==null&&Eo(ye,t,qt,Kn)}h!==null&&!Q&&DS(h,n,l),g!==null&&DS(g,n,l)}}var QD=function(t,n){{var l=new Set,u=new Set(n.map(function(h){return h.current}));return MS(t.current,u,l),l}};function MS(t,n,l){{var u=t.child,h=t.sibling,g=t.tag,C=t.type,O=null;switch(g){case b:case Z:case S:O=C;break;case k:O=C.render;break}var D=!1;O!==null&&n.has(O)&&(D=!0),D?XD(t,l):u!==null&&MS(u,n,l),h!==null&&MS(h,n,l)}}function XD(t,n){{var l=KD(t,n);if(l)return;for(var u=t;;){switch(u.tag){case A:n.add(u.stateNode);return;case R:n.add(u.stateNode.containerInfo);return;case w:n.add(u.stateNode.containerInfo);return}if(u.return===null)throw new Error("Expected to reach root first.");u=u.return}}}function KD(t,n){for(var l=t,u=!1;;){if(l.tag===A)u=!0,n.add(l.stateNode);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)return u;for(;l.sibling===null;){if(l.return===null||l.return===t)return u;l=l.return}l.sibling.return=l.return,l=l.sibling}return!1}var LS;{LS=!1;try{var TR=Object.preventExtensions({})}catch{LS=!0}}function ZD(t,n,l,u){this.tag=t,this.key=l,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=n,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=u,this.flags=Vt,this.subtreeFlags=Vt,this.deletions=null,this.lanes=Xe,this.childLanes=Xe,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,!LS&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var oi=function(t,n,l,u){return new ZD(t,n,l,u)};function IS(t){var n=t.prototype;return!!(n&&n.isReactComponent)}function JD(t){return typeof t=="function"&&!IS(t)&&t.defaultProps===void 0}function e6(t){if(typeof t=="function")return IS(t)?S:b;if(t!=null){var n=t.$$typeof;if(n===Ye)return k;if(n===At)return z}return T}function od(t,n){var l=t.alternate;l===null?(l=oi(t.tag,n,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l._debugSource=t._debugSource,l._debugOwner=t._debugOwner,l._debugHookTypes=t._debugHookTypes,l.alternate=t,t.alternate=l):(l.pendingProps=n,l.type=t.type,l.flags=Vt,l.subtreeFlags=Vt,l.deletions=null,l.actualDuration=0,l.actualStartTime=-1),l.flags=t.flags&Lr,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue;var u=t.dependencies;switch(l.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.selfBaseDuration=t.selfBaseDuration,l.treeBaseDuration=t.treeBaseDuration,l._debugNeedsRemount=t._debugNeedsRemount,l.tag){case T:case b:case Z:l.type=lp(t.type);break;case S:l.type=PS(t.type);break;case k:l.type=NS(t.type);break}return l}function t6(t,n){t.flags&=Lr|pr;var l=t.alternate;if(l===null)t.childLanes=Xe,t.lanes=n,t.child=null,t.subtreeFlags=Vt,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null,t.selfBaseDuration=0,t.treeBaseDuration=0;else{t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=Vt,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type;var u=l.dependencies;t.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},t.selfBaseDuration=l.selfBaseDuration,t.treeBaseDuration=l.treeBaseDuration}return t}function n6(t,n,l){var u;return t===og?(u=hn,n===!0&&(u|=zn,u|=An)):u=jt,ra&&(u|=$n),oi(w,null,null,u)}function _S(t,n,l,u,h,g){var C=T,O=t;if(typeof t=="function")IS(t)?(C=S,O=PS(O)):O=lp(O);else if(typeof t=="string")C=A;else e:switch(t){case bn:return _u(l.children,h,g,n);case pn:C=j,h|=zn,(h&hn)!==jt&&(h|=An);break;case Xn:return r6(l,h,g,n);case at:return o6(l,h,g,n);case _t:return a6(l,h,g,n);case Er:return RR(l,h,g,n);case Zn:case Jt:case ar:case Kr:case en:default:{if(typeof t=="object"&&t!==null)switch(t.$$typeof){case an:C=Y;break e;case ae:C=G;break e;case Ye:C=k,O=NS(O);break e;case At:C=z;break e;case Wt:C=ie,O=null;break e}var D="";{(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(D+=" 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 H=u?rn(u):null;H&&(D+=`
|
|
2841
2841
|
|
|
2842
|
-
Check the render method of \``+H+"`.")}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)+"."+D))}}var Q=
|
|
2842
|
+
Check the render method of \``+H+"`.")}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)+"."+D))}}var Q=oi(C,l,n,h);return Q.elementType=t,Q.type=O,Q.lanes=g,Q._debugOwner=u,Q}function FS(t,n,l){var u=null;u=t._owner;var h=t.type,g=t.key,C=t.props,O=_S(h,g,C,u,n,l);return O._debugSource=t._source,O._debugOwner=t._owner,O}function _u(t,n,l,u){var h=oi(P,t,u,n);return h.lanes=l,h}function r6(t,n,l,u){typeof t.id!="string"&&d('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof t.id);var h=oi(V,t,u,n|$n);return h.elementType=Xn,h.lanes=l,h.stateNode={effectDuration:0,passiveEffectDuration:0},h}function o6(t,n,l,u){var h=oi(N,t,u,n);return h.elementType=at,h.lanes=l,h}function a6(t,n,l,u){var h=oi(se,t,u,n);return h.elementType=_t,h.lanes=l,h}function RR(t,n,l,u){var h=oi(he,t,u,n);h.elementType=Er,h.lanes=l;var g={isHidden:!1};return h.stateNode=g,h}function VS(t,n,l){var u=oi(L,t,null,n);return u.lanes=l,u}function i6(){var t=oi(A,null,null,jt);return t.elementType="DELETED",t}function l6(t){var n=oi(M,null,null,jt);return n.stateNode=t,n}function jS(t,n,l){var u=t.children!==null?t.children:[],h=oi(R,u,t.key,n);return h.lanes=l,h.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},h}function OR(t,n){return t===null&&(t=oi(T,null,null,jt)),t.tag=n.tag,t.key=n.key,t.elementType=n.elementType,t.type=n.type,t.stateNode=n.stateNode,t.return=n.return,t.child=n.child,t.sibling=n.sibling,t.index=n.index,t.ref=n.ref,t.pendingProps=n.pendingProps,t.memoizedProps=n.memoizedProps,t.updateQueue=n.updateQueue,t.memoizedState=n.memoizedState,t.dependencies=n.dependencies,t.mode=n.mode,t.flags=n.flags,t.subtreeFlags=n.subtreeFlags,t.deletions=n.deletions,t.lanes=n.lanes,t.childLanes=n.childLanes,t.alternate=n.alternate,t.actualDuration=n.actualDuration,t.actualStartTime=n.actualStartTime,t.selfBaseDuration=n.selfBaseDuration,t.treeBaseDuration=n.treeBaseDuration,t._debugSource=n._debugSource,t._debugOwner=n._debugOwner,t._debugNeedsRemount=n._debugNeedsRemount,t._debugHookTypes=n._debugHookTypes,t}function s6(t,n,l,u,h){this.tag=n,this.containerInfo=t,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=S1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=En,this.eventTimes=Ec(Xe),this.expirationTimes=Ec(Kn),this.pendingLanes=Xe,this.suspendedLanes=Xe,this.pingedLanes=Xe,this.expiredLanes=Xe,this.mutableReadLanes=Xe,this.finishedLanes=Xe,this.entangledLanes=Xe,this.entanglements=Ec(Xe),this.identifierPrefix=u,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var g=this.pendingUpdatersLaneMap=[],C=0;C<bs;C++)g.push(new Set)}switch(n){case og:this._debugRootType=l?"hydrateRoot()":"createRoot()";break;case Eu:this._debugRootType=l?"hydrate()":"render()";break}}function $R(t,n,l,u,h,g,C,O,D,H){var Q=new s6(t,n,l,O,D),Se=n6(n,g);Q.current=Se,Se.stateNode=Q;{var ye={element:u,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null};Se.memoizedState=ye}return J1(Se),Q}var US="18.3.1";function u6(t,n,l){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Lt(u),{$$typeof:zt,key:u==null?null:""+u,children:t,containerInfo:n,implementation:l}}var BS,zS;BS=!1,zS={};function AR(t){if(!t)return ri;var n=iu(t),l=GP(n);if(n.tag===S){var u=n.type;if(Vl(u))return nE(n,u,l)}return l}function c6(t,n){{var l=iu(t);if(l===void 0){if(typeof t.render=="function")throw new Error("Unable to find node on an unmounted component.");var u=Object.keys(t).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+u)}var h=ta(l);if(h===null)return null;if(h.mode&zn){var g=rn(l)||"Component";if(!zS[g]){zS[g]=!0;var C=Po;try{ir(h),l.mode&zn?d("%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",n,n,g):d("%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",n,n,g)}finally{C?ir(C):br()}}}return h.stateNode}}function kR(t,n,l,u,h,g,C,O){var D=!1,H=null;return $R(t,n,D,H,l,u,h,g,C)}function PR(t,n,l,u,h,g,C,O,D,H){var Q=!0,Se=$R(l,u,Q,t,h,g,C,O,D);Se.context=AR(null);var ye=Se.current,Me=Ta(),_e=Lu(ye),je=Fs(Me,_e);return je.callback=n??null,Ou(ye,je,_e),yD(Se,_e,Me),Se}function Im(t,n,l,u){ah(n,t);var h=n.current,g=Ta(),C=Lu(h);mr(C);var O=AR(l);n.context===null?n.context=O:n.pendingContext=O,ml&&Po!==null&&!BS&&(BS=!0,d(`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.
|
|
2843
2843
|
|
|
2844
2844
|
Check the render method of %s.`,rn(Po)||"Unknown"));var D=Fs(g,C);D.payload={element:t},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&d("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),D.callback=u);var H=Ou(h,D,C);return H!==null&&(Eo(H,h,C,g),bg(H,h,C)),C}function s0(t){var n=t.current;if(!n.child)return null;switch(n.child.tag){case A:return n.child.stateNode;default:return n.child.stateNode}}function d6(t){switch(t.tag){case w:{var n=t.stateNode;if(bf(n)){var l=oy(n);SD(n,l)}break}case N:{Bs(function(){var h=Ua(t,qt);if(h!==null){var g=Ta();Eo(h,t,qt,g)}});var u=qt;HS(t,u);break}}}function NR(t,n){var l=t.memoizedState;l!==null&&l.dehydrated!==null&&(l.retryLane=uy(l.retryLane,n))}function HS(t,n){NR(t,n);var l=t.alternate;l&&NR(l,n)}function f6(t){if(t.tag===N){var n=gc,l=Ua(t,n);if(l!==null){var u=Ta();Eo(l,t,n,u)}HS(t,n)}}function p6(t){if(t.tag===N){var n=Lu(t),l=Ua(t,n);if(l!==null){var u=Ta();Eo(l,t,n,u)}HS(t,n)}}function DR(t){var n=cr(t);return n===null?null:n.stateNode}var MR=function(t){return null};function h6(t){return MR(t)}var LR=function(t){return!1};function m6(t){return LR(t)}var IR=null,_R=null,FR=null,VR=null,jR=null,UR=null,BR=null,zR=null,HR=null;{var GR=function(t,n,l){var u=n[l],h=fo(t)?t.slice():nn({},t);return l+1===n.length?(fo(h)?h.splice(u,1):delete h[u],h):(h[u]=GR(t[u],n,l+1),h)},WR=function(t,n){return GR(t,n,0)},YR=function(t,n,l,u){var h=n[u],g=fo(t)?t.slice():nn({},t);if(u+1===n.length){var C=l[u];g[C]=g[h],fo(g)?g.splice(h,1):delete g[h]}else g[h]=YR(t[h],n,l,u+1);return g},qR=function(t,n,l){if(n.length!==l.length){p("copyWithRename() expects paths of the same length");return}else for(var u=0;u<l.length-1;u++)if(n[u]!==l[u]){p("copyWithRename() expects paths to be the same except for the deepest key");return}return YR(t,n,l,0)},QR=function(t,n,l,u){if(l>=n.length)return u;var h=n[l],g=fo(t)?t.slice():nn({},t);return g[h]=QR(t[h],n,l+1,u),g},XR=function(t,n,l){return QR(t,n,0,l)},GS=function(t,n){for(var l=t.memoizedState;l!==null&&n>0;)l=l.next,n--;return l};IR=function(t,n,l,u){var h=GS(t,n);if(h!==null){var g=XR(h.memoizedState,l,u);h.memoizedState=g,h.baseState=g,t.memoizedProps=nn({},t.memoizedProps);var C=Ua(t,qt);C!==null&&Eo(C,t,qt,Kn)}},_R=function(t,n,l){var u=GS(t,n);if(u!==null){var h=WR(u.memoizedState,l);u.memoizedState=h,u.baseState=h,t.memoizedProps=nn({},t.memoizedProps);var g=Ua(t,qt);g!==null&&Eo(g,t,qt,Kn)}},FR=function(t,n,l,u){var h=GS(t,n);if(h!==null){var g=qR(h.memoizedState,l,u);h.memoizedState=g,h.baseState=g,t.memoizedProps=nn({},t.memoizedProps);var C=Ua(t,qt);C!==null&&Eo(C,t,qt,Kn)}},VR=function(t,n,l){t.pendingProps=XR(t.memoizedProps,n,l),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var u=Ua(t,qt);u!==null&&Eo(u,t,qt,Kn)},jR=function(t,n){t.pendingProps=WR(t.memoizedProps,n),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var l=Ua(t,qt);l!==null&&Eo(l,t,qt,Kn)},UR=function(t,n,l){t.pendingProps=qR(t.memoizedProps,n,l),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var u=Ua(t,qt);u!==null&&Eo(u,t,qt,Kn)},BR=function(t){var n=Ua(t,qt);n!==null&&Eo(n,t,qt,Kn)},zR=function(t){MR=t},HR=function(t){LR=t}}function v6(t){var n=ta(t);return n===null?null:n.stateNode}function y6(t){return null}function g6(){return Po}function b6(t){var n=t.findFiberByHostInstance,l=i.ReactCurrentDispatcher;return uu({bundleType:t.bundleType,version:t.version,rendererPackageName:t.rendererPackageName,rendererConfig:t.rendererConfig,overrideHookState:IR,overrideHookStateDeletePath:_R,overrideHookStateRenamePath:FR,overrideProps:VR,overridePropsDeletePath:jR,overridePropsRenamePath:UR,setErrorHandler:zR,setSuspenseHandler:HR,scheduleUpdate:BR,currentDispatcherRef:l,findHostInstanceByFiber:v6,findFiberByHostInstance:n||y6,findHostInstancesForRefresh:QD,scheduleRefresh:YD,scheduleRoot:qD,setRefreshHandler:WD,getCurrentFiber:g6,reconcilerVersion:US})}var KR=typeof reportError=="function"?reportError:function(t){console.error(t)};function WS(t){this._internalRoot=t}u0.prototype.render=WS.prototype.render=function(t){var n=this._internalRoot;if(n===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?d("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):c0(arguments[1])?d("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"&&d("You passed a second argument to root.render(...) but it only accepts one argument.");var l=n.containerInfo;if(l.nodeType!==Dr){var u=DR(n.current);u&&u.parentNode!==l&&d("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.")}}Im(t,n,null,null)},u0.prototype.unmount=WS.prototype.unmount=function(){typeof arguments[0]=="function"&&d("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 n=t.containerInfo;uR()&&d("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."),Bs(function(){Im(null,t,null,null)}),Kw(n)}};function x6(t,n){if(!c0(t))throw new Error("createRoot(...): Target container is not a DOM element.");ZR(t);var l=!1,u=!1,h="",g=KR;n!=null&&(n.hydrate?p("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof n=="object"&&n!==null&&n.$$typeof===dn&&d(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
2845
2845
|
|
|
@@ -2859,7 +2859,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
2859
2859
|
`))}return null}),anchorOrigin:y.shape({horizontal:y.oneOfType([y.oneOf(["center","left","right"]),y.number]).isRequired,vertical:y.oneOfType([y.oneOf(["bottom","center","top"]),y.number]).isRequired}),anchorPosition:y.shape({left:y.number.isRequired,top:y.number.isRequired}),anchorReference:y.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:y.elementType,BackdropProps:y.object,children:y.node,classes:y.object,className:y.string,container:y.oneOfType([iv,y.func]),disableScrollLock:y.bool,elevation:pA,marginThreshold:y.number,onClose:y.func,open:y.bool.isRequired,PaperProps:y.shape({component:uA}),slotProps:y.shape({backdrop:y.oneOfType([y.func,y.object]),paper:y.oneOfType([y.func,y.object]),root:y.oneOfType([y.func,y.object]),transition:y.oneOfType([y.func,y.object])}),slots:y.shape({backdrop:y.elementType,paper:y.elementType,root:y.elementType,transition:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),transformOrigin:y.shape({horizontal:y.oneOfType([y.oneOf(["center","left","right"]),y.number]).isRequired,vertical:y.oneOfType([y.oneOf(["bottom","center","top"]),y.number]).isRequired}),TransitionComponent:y.elementType,transitionDuration:y.oneOfType([y.oneOf(["auto"]),y.number,y.shape({appear:y.number,enter:y.number,exit:y.number})]),TransitionProps:y.object});function CV(e){return Xr("MuiMenu",e)}io("MuiMenu",["root","paper","list"]);const wV={vertical:"top",horizontal:"right"},EV={vertical:"top",horizontal:"left"},TV=e=>{const{classes:r}=e;return lo({root:["root"],paper:["paper"],list:["list"]},CV,r)},RV=ln(MA,{shouldForwardProp:e=>ts(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),OV=ln(DA,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),$V=ln(NA,{name:"MuiMenu",slot:"List"})({outline:0}),LA=Oe.forwardRef(function(r,i){const s=ko({props:r,name:"MuiMenu"}),{autoFocus:c=!0,children:p,className:d,disableAutoFocusItem:v=!1,MenuListProps:b={},onClose:S,open:T,PaperProps:w={},PopoverClasses:R,transitionDuration:A="auto",TransitionProps:{onEntering:L,...P}={},variant:j="selectedMenu",slots:G={},slotProps:Y={},...k}=s,V=G_(),N={...s,autoFocus:c,disableAutoFocusItem:v,MenuListProps:b,onEntering:L,PaperProps:w,transitionDuration:A,TransitionProps:P,variant:j},z=TV(N),Z=c&&!v&&T,ie=Oe.useRef(null),ge=(ne,ee)=>{ie.current&&ie.current.adjustStyleForScrollbar(ne,{direction:V?"rtl":"ltr"}),L&&L(ne,ee)},M=ne=>{ne.key==="Tab"&&(ne.preventDefault(),S&&S(ne,"tabKeyDown"))};let se=-1;Oe.Children.map(p,(ne,ee)=>{Oe.isValidElement(ne)&&(process.env.NODE_ENV!=="production"&&pd.isFragment(ne)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
2860
2860
|
`)),ne.props.disabled||(j==="selectedMenu"&&ne.props.selected||se===-1)&&(se=ee))});const Te={slots:G,slotProps:{list:b,transition:P,paper:w,...Y}},he=hF({elementType:G.root,externalSlotProps:Y.root,ownerState:N,className:[z.root,d]}),[we,ce]=ma("paper",{className:z.paper,elementType:OV,externalForwardedProps:Te,shouldForwardComponentProp:!0,ownerState:N}),[fe,ve]=ma("list",{className:yr(z.list,b.className),elementType:$V,shouldForwardComponentProp:!0,externalForwardedProps:Te,getSlotProps:ne=>({...ne,onKeyDown:ee=>{var Re;M(ee),(Re=ne.onKeyDown)==null||Re.call(ne,ee)}}),ownerState:N}),pe=typeof Te.slotProps.transition=="function"?Te.slotProps.transition(N):Te.slotProps.transition;return I.jsx(RV,{onClose:S,anchorOrigin:{vertical:"bottom",horizontal:V?"right":"left"},transformOrigin:V?wV:EV,slots:{root:G.root,paper:we,backdrop:G.backdrop,...G.transition&&{transition:G.transition}},slotProps:{root:he,paper:ce,backdrop:typeof Y.backdrop=="function"?Y.backdrop(N):Y.backdrop,transition:{...pe,onEntering:(...ne)=>{var ee;ge(...ne),(ee=pe==null?void 0:pe.onEntering)==null||ee.call(pe,...ne)}}},open:T,ref:i,transitionDuration:A,ownerState:N,...k,classes:R,children:I.jsx(fe,{actions:ie,autoFocus:c&&(se===-1||v),autoFocusItem:Z,variant:j,...ve,children:p})})});process.env.NODE_ENV!=="production"&&(LA.propTypes={anchorEl:y.oneOfType([iv,y.func]),autoFocus:y.bool,children:y.node,classes:y.object,className:y.string,disableAutoFocusItem:y.bool,MenuListProps:y.object,onClose:y.func,open:y.bool.isRequired,PaperProps:y.object,PopoverClasses:y.object,slotProps:y.shape({backdrop:y.oneOfType([y.func,y.object]),list:y.oneOfType([y.func,y.object]),paper:y.oneOfType([y.func,y.object]),root:y.oneOfType([y.func,y.object]),transition:y.oneOfType([y.func,y.object])}),slots:y.shape({backdrop:y.elementType,list:y.elementType,paper:y.elementType,root:y.elementType,transition:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),transitionDuration:y.oneOfType([y.oneOf(["auto"]),y.number,y.shape({appear:y.number,enter:y.number,exit:y.number})]),TransitionProps:y.object,variant:y.oneOf(["menu","selectedMenu"])});function AV(e){return Xr("MuiNativeSelect",e)}const gw=io("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),kV=e=>{const{classes:r,variant:i,disabled:s,multiple:c,open:p,error:d}=e,v={select:["select",i,s&&"disabled",c&&"multiple",d&&"error"],icon:["icon",`icon${Cr(i)}`,p&&"iconOpen",s&&"disabled"]};return lo(v,AV,r)},IA=ln("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${gw.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:r})=>r.variant!=="filled"&&r.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}}}]})),PV=ln(IA,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:ts,overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.select,r[i.variant],i.error&&r.error,{[`&.${gw.multiple}`]:r.multiple}]}})({}),_A=ln("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${gw.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:r})=>r.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),NV=ln(_A,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.icon,i.variant&&r[`icon${Cr(i.variant)}`],i.open&&r.iconOpen]}})({}),FA=Oe.forwardRef(function(r,i){const{className:s,disabled:c,error:p,IconComponent:d,inputRef:v,variant:b="standard",...S}=r,T={...r,disabled:c,variant:b,error:p},w=kV(T);return I.jsxs(Oe.Fragment,{children:[I.jsx(PV,{ownerState:T,className:yr(w.select,s),disabled:c,ref:v||i,...S}),r.multiple?null:I.jsx(NV,{as:d,ownerState:T,className:w.icon})]})});process.env.NODE_ENV!=="production"&&(FA.propTypes={children:y.node,classes:y.object,className:y.string,disabled:y.bool,error:y.bool,IconComponent:y.elementType.isRequired,inputRef:zu,multiple:y.bool,name:y.string,onChange:y.func,value:y.any,variant:y.oneOf(["standard","outlined","filled"])});var U$;const DV=ln("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:ts})({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%"}),MV=ln("legend",{name:"MuiNotchedOutlined",shouldForwardProp:ts})(qo(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:r})=>!r.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:r})=>r.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:r})=>r.withLabel&&r.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function VA(e){const{children:r,classes:i,className:s,label:c,notched:p,...d}=e,v=c!=null&&c!=="",b={...e,notched:p,withLabel:v};return I.jsx(DV,{"aria-hidden":!0,className:s,ownerState:b,...d,children:I.jsx(MV,{ownerState:b,children:v?I.jsx("span",{children:c}):U$||(U$=I.jsx("span",{className:"notranslate","aria-hidden":!0,children:""}))})})}process.env.NODE_ENV!=="production"&&(VA.propTypes={children:y.node,classes:y.object,className:y.string,label:y.node,notched:y.bool.isRequired,style:y.object});const LV=e=>{const{classes:r}=e,s=lo({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},CF,r);return{...r,...s}},IV=ln(bb,{shouldForwardProp:e=>ts(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:yb})(qo(({theme:e})=>{const r=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 .${Ql.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Ql.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${Ql.focused} .${Ql.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(mv()).map(([i])=>({props:{color:i},style:{[`&.${Ql.focused} .${Ql.notchedOutline}`]:{borderColor:(e.vars||e).palette[i].main}}})),{props:{},style:{[`&.${Ql.error} .${Ql.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Ql.disabled} .${Ql.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:i})=>i.startAdornment,style:{paddingLeft:14}},{props:({ownerState:i})=>i.endAdornment,style:{paddingRight:14}},{props:({ownerState:i})=>i.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:i,size:s})=>i.multiline&&s==="small",style:{padding:"8.5px 14px"}}]}})),_V=ln(VA,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(qo(({theme:e})=>{const r=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)`:r}})),FV=ln(xb,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:gb})(qo(({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:r})=>r.multiline,style:{padding:0}},{props:({ownerState:r})=>r.startAdornment,style:{paddingLeft:0}},{props:({ownerState:r})=>r.endAdornment,style:{paddingRight:0}}]}))),Tb=Oe.forwardRef(function(r,i){const s=ko({props:r,name:"MuiOutlinedInput"}),{components:c={},fullWidth:p=!1,inputComponent:d="input",label:v,multiline:b=!1,notched:S,slots:T={},slotProps:w={},type:R="text",...A}=s,L=LV(s),P=Op(),j=Rp({props:s,muiFormControl:P,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),G={...s,color:j.color||"primary",disabled:j.disabled,error:j.error,focused:j.focused,formControl:P,fullWidth:p,hiddenLabel:j.hiddenLabel,multiline:b,size:j.size,type:R},Y=T.root??c.Root??IV,k=T.input??c.Input??FV,[V,N]=ma("notchedOutline",{elementType:_V,className:L.notchedOutline,shouldForwardComponentProp:!0,ownerState:G,externalForwardedProps:{slots:T,slotProps:w},additionalProps:{label:v!=null&&v!==""&&j.required?I.jsxs(Oe.Fragment,{children:[v," ","*"]}):v}});return I.jsx(Sb,{slots:{root:Y,input:k},slotProps:w,renderSuffix:z=>I.jsx(V,{...N,notched:typeof S<"u"?S:!!(z.startAdornment||z.filled||z.focused)}),fullWidth:p,inputComponent:d,multiline:b,ref:i,type:R,...A,classes:{...L,notchedOutline:null}})});process.env.NODE_ENV!=="production"&&(Tb.propTypes={autoComplete:y.string,autoFocus:y.bool,classes:y.object,color:y.oneOfType([y.oneOf(["primary","secondary"]),y.string]),components:y.shape({Input:y.elementType,Root:y.elementType}),defaultValue:y.any,disabled:y.bool,endAdornment:y.node,error:y.bool,fullWidth:y.bool,id:y.string,inputComponent:y.elementType,inputProps:y.object,inputRef:zu,label:y.node,margin:y.oneOf(["dense","none"]),maxRows:y.oneOfType([y.number,y.string]),minRows:y.oneOfType([y.number,y.string]),multiline:y.bool,name:y.string,notched:y.bool,onChange:y.func,placeholder:y.string,readOnly:y.bool,required:y.bool,rows:y.oneOfType([y.number,y.string]),slotProps:y.shape({input:y.object,notchedOutline:y.oneOfType([y.func,y.object]),root:y.object}),slots:y.shape({input:y.elementType,notchedOutline:y.elementType,root:y.elementType}),startAdornment:y.node,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),type:y.string,value:y.any});Tb.muiName="Input";function jA(e){return Xr("MuiSelect",e)}const Gm=io("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var B$;const VV=ln(IA,{name:"MuiSelect",slot:"Select",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[{[`&.${Gm.select}`]:r.select},{[`&.${Gm.select}`]:r[i.variant]},{[`&.${Gm.error}`]:r.error},{[`&.${Gm.multiple}`]:r.multiple}]}})({[`&.${Gm.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),jV=ln(_A,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,r)=>{const{ownerState:i}=e;return[r.icon,i.variant&&r[`icon${Cr(i.variant)}`],i.open&&r.iconOpen]}})({}),UV=ln("input",{shouldForwardProp:e=>rA(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function z$(e,r){return typeof r=="object"&&r!==null?e===r:String(e)===String(r)}function BV(e){return e==null||typeof e=="string"&&!e.trim()}const zV=e=>{const{classes:r,variant:i,disabled:s,multiple:c,open:p,error:d}=e,v={select:["select",i,s&&"disabled",c&&"multiple",d&&"error"],icon:["icon",`icon${Cr(i)}`,p&&"iconOpen",s&&"disabled"],nativeInput:["nativeInput"]};return lo(v,jA,r)},UA=Oe.forwardRef(function(r,i){var On,Ln;const{"aria-describedby":s,"aria-label":c,autoFocus:p,autoWidth:d,children:v,className:b,defaultOpen:S,defaultValue:T,disabled:w,displayEmpty:R,error:A=!1,IconComponent:L,inputRef:P,labelId:j,MenuProps:G={},multiple:Y,name:k,onBlur:V,onChange:N,onClose:z,onFocus:Z,onOpen:ie,open:ge,readOnly:M,renderValue:se,required:Te,SelectDisplayProps:he={},tabIndex:we,type:ce,value:fe,variant:ve="standard",...pe}=r,[ne,ee]=y$({controlled:fe,default:T,name:"Select"}),[Re,B]=y$({controlled:ge,default:S,name:"Select"}),W=Oe.useRef(null),$e=Oe.useRef(null),[Be,Qe]=Oe.useState(null),{current:We}=Oe.useRef(ge!=null),[X,oe]=Oe.useState(),K=Ii(i,P),Ee=Oe.useCallback(qe=>{$e.current=qe,qe&&Qe(qe)},[]),te=Be==null?void 0:Be.parentNode;Oe.useImperativeHandle(K,()=>({focus:()=>{$e.current.focus()},node:W.current,value:ne}),[ne]),Oe.useEffect(()=>{S&&Re&&Be&&!We&&(oe(d?null:te.clientWidth),$e.current.focus())},[Be,d]),Oe.useEffect(()=>{p&&$e.current.focus()},[p]),Oe.useEffect(()=>{if(!j)return;const qe=fl($e.current).getElementById(j);if(qe){const U=()=>{getSelection().isCollapsed&&$e.current.focus()};return qe.addEventListener("click",U),()=>{qe.removeEventListener("click",U)}}},[j]);const De=(qe,U)=>{qe?ie&&ie(U):z&&z(U),We||(oe(d?null:te.clientWidth),B(qe))},Ce=qe=>{qe.button===0&&(qe.preventDefault(),$e.current.focus(),De(!0,qe))},Fe=qe=>{De(!1,qe)},rt=Oe.Children.toArray(v),Lt=qe=>{const U=rt.find(J=>J.props.value===qe.target.value);U!==void 0&&(ee(U.props.value),N&&N(qe,U))},Dt=qe=>U=>{let J;if(U.currentTarget.hasAttribute("tabindex")){if(Y){J=Array.isArray(ne)?ne.slice():[];const le=ne.indexOf(qe.props.value);le===-1?J.push(qe.props.value):J.splice(le,1)}else J=qe.props.value;if(qe.props.onClick&&qe.props.onClick(U),ne!==J&&(ee(J),N)){const le=U.nativeEvent||U,$=new le.constructor(le.type,le);Object.defineProperty($,"target",{writable:!0,value:{value:J,name:k}}),N($,qe)}Y||De(!1,U)}},vt=qe=>{M||[" ","ArrowUp","ArrowDown","Enter"].includes(qe.key)&&(qe.preventDefault(),De(!0,qe))},yt=Be!==null&&Re,St=qe=>{!yt&&V&&(Object.defineProperty(qe,"target",{writable:!0,value:{value:ne,name:k}}),V(qe))};delete pe["aria-invalid"];let lt,sn;const mn=[];let fn=!1,un=!1;(G0({value:ne})||R)&&(se?lt=se(ne):fn=!0);const Tn=rt.map(qe=>{if(!Oe.isValidElement(qe))return null;process.env.NODE_ENV!=="production"&&pd.isFragment(qe)&&console.error(["MUI: The Select component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
2861
2861
|
`));let U;if(Y){if(!Array.isArray(ne))throw new Error(process.env.NODE_ENV!=="production"?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":es(2));U=ne.some(J=>z$(J,qe.props.value)),U&&fn&&mn.push(qe.props.children)}else U=z$(ne,qe.props.value),U&&fn&&(sn=qe.props.children);return U&&(un=!0),Oe.cloneElement(qe,{"aria-selected":U?"true":"false",onClick:Dt(qe),onKeyUp:J=>{J.key===" "&&J.preventDefault(),qe.props.onKeyUp&&qe.props.onKeyUp(J)},role:"option",selected:U,value:void 0,"data-value":qe.props.value})});process.env.NODE_ENV!=="production"&&Oe.useEffect(()=>{if(!un&&!Y&&ne!==""){const qe=rt.map(U=>U.props.value);console.warn([`MUI: You have provided an out-of-range value \`${ne}\` for the select ${k?`(name="${k}") `:""}component.`,"Consider providing a value that matches one of the available options or ''.",`The available values are ${qe.filter(U=>U!=null).map(U=>`\`${U}\``).join(", ")||'""'}.`].join(`
|
|
2862
|
-
`))}},[un,rt,Y,k,ne]),fn&&(Y?mn.length===0?lt=null:lt=mn.reduce((qe,U,J)=>(qe.push(U),J<mn.length-1&&qe.push(", "),qe),[]):lt=sn);let rr=X;!d&&We&&Be&&(rr=te.clientWidth);let or;typeof we<"u"?or=we:or=w?null:0;const it=he.id||(k?`mui-component-select-${k}`:void 0),ot={...r,variant:ve,value:ne,open:yt,error:A},He=zV(ot),cn={...G.PaperProps,...(On=G.slotProps)==null?void 0:On.paper},Rn={...G.MenuListProps,...(Ln=G.slotProps)==null?void 0:Ln.list},Dn=X3();return I.jsxs(Oe.Fragment,{children:[I.jsx(VV,{as:"div",ref:Ee,tabIndex:or,role:"combobox","aria-controls":yt?Dn:void 0,"aria-disabled":w?"true":void 0,"aria-expanded":yt?"true":"false","aria-haspopup":"listbox","aria-label":c,"aria-labelledby":[j,it].filter(Boolean).join(" ")||void 0,"aria-describedby":s,"aria-required":Te?"true":void 0,"aria-invalid":A?"true":void 0,onKeyDown:vt,onMouseDown:w||M?null:Ce,onBlur:St,onFocus:Z,...he,ownerState:ot,className:yr(he.className,He.select,b),id:it,children:BV(lt)?B$||(B$=I.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):lt}),I.jsx(UV,{"aria-invalid":A,value:Array.isArray(ne)?ne.join(","):ne,name:k,ref:W,"aria-hidden":!0,onChange:Lt,tabIndex:-1,disabled:w,className:He.nativeInput,autoFocus:p,required:Te,...pe,ownerState:ot}),I.jsx(jV,{as:L,className:He.icon,ownerState:ot}),I.jsx(LA,{id:`menu-${k||""}`,anchorEl:te,open:yt,onClose:Fe,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...G,slotProps:{...G.slotProps,list:{"aria-labelledby":j,role:"listbox","aria-multiselectable":Y?"true":void 0,disableListWrap:!0,id:Dn,...Rn},paper:{...cn,style:{minWidth:rr,...cn!=null?cn.style:null}}},children:Tn})]})});process.env.NODE_ENV!=="production"&&(UA.propTypes={"aria-describedby":y.string,"aria-label":y.string,autoFocus:y.bool,autoWidth:y.bool,children:y.node,classes:y.object,className:y.string,defaultOpen:y.bool,defaultValue:y.any,disabled:y.bool,displayEmpty:y.bool,error:y.bool,IconComponent:y.elementType.isRequired,inputRef:zu,labelId:y.string,MenuProps:y.object,multiple:y.bool,name:y.string,onBlur:y.func,onChange:y.func,onClose:y.func,onFocus:y.func,onOpen:y.func,open:y.bool,readOnly:y.bool,renderValue:y.func,required:y.bool,SelectDisplayProps:y.object,tabIndex:y.oneOfType([y.number,y.string]),type:y.any,value:y.any,variant:y.oneOf(["standard","outlined","filled"])});const HV=e=>{const{classes:r}=e,s=lo({root:["root"]},jA,r);return{...r,...s}},bw={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>ts(e)&&e!=="variant"},GV=ln(Eb,bw)(""),WV=ln(Tb,bw)(""),YV=ln(wb,bw)(""),xw=Oe.forwardRef(function(r,i){const s=ko({name:"MuiSelect",props:r}),{autoWidth:c=!1,children:p,classes:d={},className:v,defaultOpen:b=!1,displayEmpty:S=!1,IconComponent:T=EF,id:w,input:R,inputProps:A,label:L,labelId:P,MenuProps:j,multiple:G=!1,native:Y=!1,onClose:k,onOpen:V,open:N,renderValue:z,SelectDisplayProps:Z,variant:ie="outlined",...ge}=s,M=Y?FA:UA,se=Op(),Te=Rp({props:s,muiFormControl:se,states:["variant","error"]}),he=Te.variant||ie,we={...s,variant:he,classes:d},ce=HV(we),{root:fe,...ve}=ce,pe=R||{standard:I.jsx(GV,{ownerState:we}),outlined:I.jsx(WV,{label:L,ownerState:we}),filled:I.jsx(YV,{ownerState:we})}[he],ne=Ii(i,vv(pe));return I.jsx(Oe.Fragment,{children:Oe.cloneElement(pe,{inputComponent:M,inputProps:{children:p,error:Te.error,IconComponent:T,variant:he,type:void 0,multiple:G,...Y?{id:w}:{autoWidth:c,defaultOpen:b,displayEmpty:S,labelId:P,MenuProps:j,onClose:k,onOpen:V,open:N,renderValue:z,SelectDisplayProps:{id:w,...Z}},...A,classes:A?va(ve,A.classes):ve,...R?R.props.inputProps:{}},...(G&&Y||S)&&he==="outlined"?{notched:!0}:{},ref:ne,className:yr(pe.props.className,v,ce.root),...!R&&{variant:he},...ge})})});process.env.NODE_ENV!=="production"&&(xw.propTypes={autoWidth:y.bool,children:y.node,classes:y.object,className:y.string,defaultOpen:y.bool,defaultValue:y.any,displayEmpty:y.bool,IconComponent:y.elementType,id:y.string,input:y.element,inputProps:y.object,label:y.node,labelId:y.string,MenuProps:y.object,multiple:y.bool,native:y.bool,onChange:y.func,onClose:y.func,onOpen:y.func,open:y.bool,renderValue:y.func,SelectDisplayProps:y.object,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),value:y.oneOfType([y.oneOf([""]),y.any]),variant:y.oneOf(["filled","outlined","standard"])});xw.muiName="Select";function qV(e){return Xr("MuiTextField",e)}io("MuiTextField",["root"]);const QV={standard:Eb,filled:wb,outlined:Tb},XV=e=>{const{classes:r}=e;return lo({root:["root"]},qV,r)},KV=ln(TA,{name:"MuiTextField",slot:"Root"})({}),BA=Oe.forwardRef(function(r,i){const s=ko({props:r,name:"MuiTextField"}),{autoComplete:c,autoFocus:p=!1,children:d,className:v,color:b="primary",defaultValue:S,disabled:T=!1,error:w=!1,FormHelperTextProps:R,fullWidth:A=!1,helperText:L,id:P,InputLabelProps:j,inputProps:G,InputProps:Y,inputRef:k,label:V,maxRows:N,minRows:z,multiline:Z=!1,name:ie,onBlur:ge,onChange:M,onFocus:se,placeholder:Te,required:he=!1,rows:we,select:ce=!1,SelectProps:fe,slots:ve={},slotProps:pe={},type:ne,value:ee,variant:Re="outlined",...B}=s,W={...s,autoFocus:p,color:b,disabled:T,error:w,fullWidth:A,multiline:Z,required:he,select:ce,variant:Re},$e=XV(W);process.env.NODE_ENV!=="production"&&ce&&!d&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const Be=X3(P),Qe=L&&Be?`${Be}-helper-text`:void 0,We=V&&Be?`${Be}-label`:void 0,X=QV[Re],oe={slots:ve,slotProps:{input:Y,inputLabel:j,htmlInput:G,formHelperText:R,select:fe,...pe}},K={},Ee=oe.slotProps.inputLabel;Re==="outlined"&&(Ee&&typeof Ee.shrink<"u"&&(K.notched=Ee.shrink),K.label=V),ce&&((!fe||!fe.native)&&(K.id=void 0),K["aria-describedby"]=void 0);const[te,De]=ma("root",{elementType:KV,shouldForwardComponentProp:!0,externalForwardedProps:{...oe,...B},ownerState:W,className:yr($e.root,v),ref:i,additionalProps:{disabled:T,error:w,fullWidth:A,required:he,color:b,variant:Re}}),[Ce,Fe]=ma("input",{elementType:X,externalForwardedProps:oe,additionalProps:K,ownerState:W}),[rt,Lt]=ma("inputLabel",{elementType:$A,externalForwardedProps:oe,ownerState:W}),[Dt,vt]=ma("htmlInput",{elementType:"input",externalForwardedProps:oe,ownerState:W}),[yt,St]=ma("formHelperText",{elementType:RA,externalForwardedProps:oe,ownerState:W}),[lt,sn]=ma("select",{elementType:xw,externalForwardedProps:oe,ownerState:W}),mn=I.jsx(Ce,{"aria-describedby":Qe,autoComplete:c,autoFocus:p,defaultValue:S,fullWidth:A,multiline:Z,name:ie,rows:we,maxRows:N,minRows:z,type:ne,value:ee,id:Be,inputRef:k,onBlur:ge,onChange:M,onFocus:se,placeholder:Te,inputProps:vt,slots:{input:ve.htmlInput?Dt:void 0},...Fe});return I.jsxs(te,{...De,children:[V!=null&&V!==""&&I.jsx(rt,{htmlFor:Be,id:We,...Lt,children:V}),ce?I.jsx(lt,{"aria-describedby":Qe,id:Be,labelId:We,value:ee,input:mn,...sn,children:d}):mn,L&&I.jsx(yt,{id:Qe,...St,children:L})]})});process.env.NODE_ENV!=="production"&&(BA.propTypes={autoComplete:y.string,autoFocus:y.bool,children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["primary","secondary","error","info","success","warning"]),y.string]),defaultValue:y.any,disabled:y.bool,error:y.bool,FormHelperTextProps:y.object,fullWidth:y.bool,helperText:y.node,id:y.string,InputLabelProps:y.object,inputProps:y.object,InputProps:y.object,inputRef:zu,label:y.node,margin:y.oneOf(["dense","none","normal"]),maxRows:y.oneOfType([y.number,y.string]),minRows:y.oneOfType([y.number,y.string]),multiline:y.bool,name:y.string,onBlur:y.func,onChange:y.func,onFocus:y.func,placeholder:y.string,required:y.bool,rows:y.oneOfType([y.number,y.string]),select:y.bool,SelectProps:y.object,size:y.oneOfType([y.oneOf(["medium","small"]),y.string]),slotProps:y.shape({formHelperText:y.oneOfType([y.func,y.object]),htmlInput:y.oneOfType([y.func,y.object]),input:y.oneOfType([y.func,y.object]),inputLabel:y.oneOfType([y.func,y.object]),select:y.oneOfType([y.func,y.object])}),slots:y.shape({formHelperText:y.elementType,htmlInput:y.elementType,input:y.elementType,inputLabel:y.elementType,root:y.elementType,select:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),type:y.string,value:y.any,variant:y.oneOf(["filled","outlined","standard"])});const ZV=ln(Cb)(({theme:e})=>({display:"flex",flexDirection:"column",gap:e.spacing(2),width:"100%"})),JV=ln(Cb)(({theme:e})=>({display:"flex",gap:e.spacing(1),justifyContent:"center",marginBottom:e.spacing(1)})),ej=ln(yw)(({theme:e})=>({fontSize:"0.75rem",textAlign:"center",marginBottom:e.spacing(.25),minHeight:"0.75rem",display:"flex",alignItems:"center",justifyContent:"center",padding:0,lineHeight:1})),tj=ln(BA,{shouldForwardProp:e=>e!=="verified"})(({theme:e,verified:r})=>({width:"3rem","& .MuiInputBase-input, & .MuiOutlinedInput-input":{textAlign:"center !important",fontSize:"1.5rem !important",fontWeight:"bold !important",padding:`${e.spacing(1)} !important`,height:"3.75rem !important",lineHeight:"3.75rem !important",width:"100% !important",boxSizing:"border-box !important",border:"none !important",borderRadius:"8px !important",backgroundColor:"transparent !important",minWidth:"auto !important",transition:"none !important",boxShadow:"none !important"},"& .MuiOutlinedInput-root":{height:"3.75rem !important",minHeight:"3.75rem !important",border:"1px solid rgba(0, 0, 0, 0.23) !important",borderRadius:"8px !important",backgroundColor:"transparent !important","&:hover":{border:"1px solid #86AF61 !important"},"&.Mui-focused":{border:"1px solid #86AF61 !important"}},...r&&{"& .MuiInputBase-input, & .MuiOutlinedInput-input":{color:`${e.palette.success.main} !important`,WebkitTextFillColor:`${e.palette.success.main} !important`,textAlign:"center !important",fontSize:"1.5rem !important",fontWeight:"bold !important",padding:`${e.spacing(1)} !important`,height:"3.75rem !important",lineHeight:"3.75rem !important"},"& .MuiOutlinedInput-root":{"&.Mui-disabled":{opacity:"1 !important",height:"3.75rem !important",minHeight:"3.75rem !important"},"&.Mui-disabled .MuiInputBase-input, &.Mui-disabled .MuiOutlinedInput-input":{color:`${e.palette.success.main} !important`,WebkitTextFillColor:`${e.palette.success.main} !important`,textAlign:"center !important",fontSize:"1.5rem !important",fontWeight:"bold !important",padding:`${e.spacing(1)} !important`,height:"3.75rem !important",lineHeight:"3.75rem !important"},"& fieldset":{borderColor:`${e.palette.success.main} !important`},"&.Mui-disabled fieldset":{borderColor:`${e.palette.success.main} !important`},"&:hover fieldset":{borderColor:`${e.palette.success.main} !important`},"&.Mui-focused fieldset":{borderColor:`${e.palette.success.main} !important`}}}})),nj=ln(Cb)(({theme:e})=>({display:"flex",gap:e.spacing(2),justifyContent:"center",flexWrap:"wrap"})),rj=({formComponent:e,formidavimHost:r})=>{const i=(e==null?void 0:e.props)||{},s=i.propertyId,c=i.label??"Enter verification code",p=typeof i.length=="number"?i.length:6,d=typeof i.required=="string"?i.required.toLowerCase()==="true":!!i.required,v=i.currentValue,{getFlowValue:b,setFlowAndPatientValue:S,setFlowError:T,setDisableSubmitValue:w}=Nr(),R=s?b(s):void 0,A=v&&v.length===p?v:typeof R=="string"&&R.length===p?R:"",[L,P]=Ve.useState(A?A.split(""):new Array(p).fill("")),[j,G]=Ve.useState(!!(A&&A.length===p)),[Y,k]=Ve.useState(!1),[V,N]=Ve.useState(null),[z,Z]=Ve.useState(null),[ie,ge]=Ve.useState(!1),[M,se]=Ve.useState(0),[Te,he]=Ve.useState(0),[we,ce]=Ve.useState(0),[fe,ve]=Ve.useState(!1),pe=Ve.useRef([]),ne=b("_phone"),ee=b("email"),Re=uv(r),B=X=>{const oe=X.replace(/\D/g,"");return oe.length===10?`+1${oe}`:X},W=Ve.useCallback(async(X,oe)=>{if(!(oe==="sms"&&M>0)&&!(oe==="call"&&Te>0)&&!(oe==="email"&&we>0))try{const K=oe==="email"?X:B(X),Ee=await Re.otpControllerSendOtp({recipient:K,channel:oe}).catch(()=>null);Ee&&(Ee.status===200||Ee.status===201)?(ge(!0),oe==="sms"?se(30):oe==="call"?he(30):oe==="email"&&ce(30),N(null)):N("Failed to send OTP. Please try again.")}catch{N("Failed to send OTP. Please try again.")}},[M,Te,we]),$e=Ve.useCallback(async(X,oe,K=!1)=>{try{const Ee=K?X:B(X),te=await Re.otpControllerVerifyOtp({recipient:Ee,otp:oe}).catch(()=>null);if(!te)return!1;const De=te.data;return(De==null?void 0:De.status)==="approved"||(De==null?void 0:De.verified)===!0}catch{return!1}},[]);Ve.useCallback(async()=>{const X=L.join(""),oe=ne||ee,K=!!(ee&&!ne);if(!(X.length!==p||!oe||fe)){ve(!0),k(!0),N(null),Z(null);try{await $e(oe,X,K)&&s?(G(!0),S(s,X),T(s,null),w(!1),Z("Verification successful!"),se(0),he(0),ce(0)):(N("The code you entered is incorrect. Please check your code and try again."),G(!1),s&&T(s,"The code you entered is incorrect. Please check your code and try again."),ve(!1),d&&w(!0))}catch(Ee){console.error("OTP verification error:",Ee),N("Verification failed. Please try again."),G(!1),s&&T(s,"Verification failed"),ve(!1)}finally{k(!1)}}},[L,p,ne,ee,$e,s,S,T,fe]);const Be=Ve.useCallback((X,oe)=>{var Ee;if(j||oe.length>1)return;const K=[...L];if(K[X]=oe,P(K),G(!1),ve(!1),N(null),Z(null),oe&&X<p-1&&((Ee=pe.current[X+1])==null||Ee.focus()),K.join("").length===p){const te=K.join(""),De=ne||ee,Ce=!!(ee&&!ne);te.length===p&&De&&!fe&&(ve(!0),k(!0),N(null),Z(null),$e(De,te,Ce).then(Fe=>{Fe&&s?(G(!0),S(s,te),T(s,null),w(!1),Z("Verification successful!"),se(0),he(0),ce(0)):(N("The code you entered is incorrect. Please check your code and try again."),G(!1),s&&T(s,"The code you entered is incorrect. Please check your code and try again."),ve(!1),d&&w(!0))}).catch(Fe=>{console.error("OTP verification error:",Fe),N("Verification failed. Please try again."),G(!1),s&&T(s,"Verification failed"),ve(!1),d&&w(!0)}).finally(()=>{k(!1)}))}},[L,p,ne,s,S,T,fe,$e,j]),Qe=(X,oe)=>{var K;oe.key==="Backspace"&&!L[X]&&X>0&&((K=pe.current[X-1])==null||K.focus())},We=X=>{var Ee;if(j)return;X.preventDefault();const K=X.clipboardData.getData("text/plain").replace(/\D/g,"").slice(0,p);if(K.length===p){const te=K.split("");P(te),G(!1),ve(!1),N(null),Z(null);const De=te.join(""),Ce=ne||ee,Fe=!!(ee&&!ne);De.length===p&&Ce&&!fe&&(ve(!0),k(!0),N(null),Z(null),$e(Ce,De,Fe).then(rt=>{rt&&s?(G(!0),S(s,De),T(s,null),w(!1),Z("Verification successful!"),se(0),he(0),ce(0)):(N("Invalid verification code. Please try again."),G(!1),s&&T(s,"Invalid verification code"),ve(!1),d&&w(!0))}).catch(rt=>{console.error("OTP verification error:",rt),N("Verification failed. Please try again."),G(!1),s&&T(s,"Verification failed"),ve(!1),d&&w(!0)}).finally(()=>{k(!1)})),(Ee=pe.current[p-1])==null||Ee.focus()}};return Ve.useEffect(()=>{if(M>0){const X=setTimeout(()=>se(oe=>oe-1),1e3);return()=>clearTimeout(X)}},[M]),Ve.useEffect(()=>{if(Te>0){const X=setTimeout(()=>he(oe=>oe-1),1e3);return()=>clearTimeout(X)}},[Te]),Ve.useEffect(()=>{if(we>0){const X=setTimeout(()=>ce(oe=>oe-1),1e3);return()=>clearTimeout(X)}},[we]),Ve.useEffect(()=>{const X=!!(v&&v.length===p||typeof R=="string"&&R.length===p),oe=ne||ee,K=!!(ee&&!ne),Ee=K?"email":"sms";oe&&!ie&&!j&&!X&&(async()=>{if(!(K&&we>0)&&!(!K&&M>0))try{const De=K?oe:B(oe),Ce=await Re.otpControllerSendOtp({recipient:De,channel:Ee}).catch(()=>null);Ce&&(Ce.status===200||Ce.status===201)?(ge(!0),K?ce(30):se(30),N(null)):N("Failed to send OTP. Please try again.")}catch{N("Failed to send OTP. Please try again.")}})()},[ne,ee,ie,j,M,we,v,p,R]),Ve.useEffect(()=>{w(d?!j:!1)},[j,d,w]),Ve.useEffect(()=>{const X=v&&v.length===p?v:typeof R=="string"&&R.length===p?R:"";X&&X.length===p&&(P(X.split("")),G(!0))},[v,p,R]),Ve.useEffect(()=>{pe.current[0]&&!j&&pe.current[0].focus()},[j]),L.join("").length,I.jsxs(ZV,{children:[I.jsx(yw,{variant:"h6",gutterBottom:!0,children:c}),I.jsx(JV,{children:L.map((X,oe)=>I.jsx(tj,{inputRef:K=>pe.current[oe]=K,value:X,onChange:K=>Be(oe,K.target.value),onKeyDown:K=>Qe(oe,K),onPaste:We,inputProps:{maxLength:1,pattern:"[0-9]*",inputMode:"numeric"},variant:"outlined",disabled:Y||j,verified:j},oe))}),I.jsxs(ej,{variant:"body2",color:V?"error":z?"success":"textSecondary",children:[V||z||" "," "]}),I.jsxs(nj,{children:[I.jsx("button",{type:"button",onClick:()=>W(ne,"sms"),disabled:!ne||M>0||j,style:{background:"none",border:"none",color:M>0||j?"#999":"#000",textDecoration:"underline",cursor:M>0||j?"not-allowed":"pointer",fontSize:"0.875rem",padding:"0",fontFamily:"inherit"},onMouseEnter:X=>{M===0&&!j&&(X.currentTarget.style.textDecoration="none")},onMouseLeave:X=>{M===0&&!j&&(X.currentTarget.style.textDecoration="underline")},children:M>0?`Resend SMS in ${M}s`:"Resend SMS code"}),I.jsx("button",{type:"button",onClick:()=>W(ne,"call"),disabled:!ne||Te>0||j,style:{background:"none",border:"none",color:Te>0||j?"#999":"#000",textDecoration:"underline",cursor:Te>0||j?"not-allowed":"pointer",fontSize:"0.875rem",padding:"0",fontFamily:"inherit"},onMouseEnter:X=>{Te===0&&!j&&(X.currentTarget.style.textDecoration="none")},onMouseLeave:X=>{Te===0&&!j&&(X.currentTarget.style.textDecoration="underline")},children:Te>0?`Wait ${Te}s before requesting another code`:"Receive code by voice call instead"}),ee&&I.jsx("button",{type:"button",onClick:()=>W(ee,"email"),disabled:!ee||we>0||j,style:{background:"none",border:"none",color:we>0||j?"#999":"#000",textDecoration:"underline",cursor:we>0||j?"not-allowed":"pointer",fontSize:"0.875rem",padding:"0",fontFamily:"inherit"},onMouseEnter:X=>{we===0&&!j&&(X.currentTarget.style.textDecoration="none")},onMouseLeave:X=>{we===0&&!j&&(X.currentTarget.style.textDecoration="underline")},children:we>0?`Resend email in ${we}s`:"Send code by email instead"})]})]})},zA={AL:"Alabama",AK:"Alaska",AZ:"Arizona",AR:"Arkansas",CA:"California",CO:"Colorado",CT:"Connecticut",DE:"Delaware",FL:"Florida",GA:"Georgia",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VA:"Virginia",WA:"Washington",DC:"Washington DC",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming"},H$=e=>{const r={...zA},i=e.toUpperCase(),s=e.replace(/\b\w/g,c=>c.toUpperCase());return r.hasOwnProperty(i)?i:Object.values(r).includes(s)&&Object.keys(r).find(c=>r[c]===s)||i},oj=be.div`
|
|
2862
|
+
`))}},[un,rt,Y,k,ne]),fn&&(Y?mn.length===0?lt=null:lt=mn.reduce((qe,U,J)=>(qe.push(U),J<mn.length-1&&qe.push(", "),qe),[]):lt=sn);let rr=X;!d&&We&&Be&&(rr=te.clientWidth);let or;typeof we<"u"?or=we:or=w?null:0;const it=he.id||(k?`mui-component-select-${k}`:void 0),ot={...r,variant:ve,value:ne,open:yt,error:A},He=zV(ot),cn={...G.PaperProps,...(On=G.slotProps)==null?void 0:On.paper},Rn={...G.MenuListProps,...(Ln=G.slotProps)==null?void 0:Ln.list},Dn=X3();return I.jsxs(Oe.Fragment,{children:[I.jsx(VV,{as:"div",ref:Ee,tabIndex:or,role:"combobox","aria-controls":yt?Dn:void 0,"aria-disabled":w?"true":void 0,"aria-expanded":yt?"true":"false","aria-haspopup":"listbox","aria-label":c,"aria-labelledby":[j,it].filter(Boolean).join(" ")||void 0,"aria-describedby":s,"aria-required":Te?"true":void 0,"aria-invalid":A?"true":void 0,onKeyDown:vt,onMouseDown:w||M?null:Ce,onBlur:St,onFocus:Z,...he,ownerState:ot,className:yr(he.className,He.select,b),id:it,children:BV(lt)?B$||(B$=I.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):lt}),I.jsx(UV,{"aria-invalid":A,value:Array.isArray(ne)?ne.join(","):ne,name:k,ref:W,"aria-hidden":!0,onChange:Lt,tabIndex:-1,disabled:w,className:He.nativeInput,autoFocus:p,required:Te,...pe,ownerState:ot}),I.jsx(jV,{as:L,className:He.icon,ownerState:ot}),I.jsx(LA,{id:`menu-${k||""}`,anchorEl:te,open:yt,onClose:Fe,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...G,slotProps:{...G.slotProps,list:{"aria-labelledby":j,role:"listbox","aria-multiselectable":Y?"true":void 0,disableListWrap:!0,id:Dn,...Rn},paper:{...cn,style:{minWidth:rr,...cn!=null?cn.style:null}}},children:Tn})]})});process.env.NODE_ENV!=="production"&&(UA.propTypes={"aria-describedby":y.string,"aria-label":y.string,autoFocus:y.bool,autoWidth:y.bool,children:y.node,classes:y.object,className:y.string,defaultOpen:y.bool,defaultValue:y.any,disabled:y.bool,displayEmpty:y.bool,error:y.bool,IconComponent:y.elementType.isRequired,inputRef:zu,labelId:y.string,MenuProps:y.object,multiple:y.bool,name:y.string,onBlur:y.func,onChange:y.func,onClose:y.func,onFocus:y.func,onOpen:y.func,open:y.bool,readOnly:y.bool,renderValue:y.func,required:y.bool,SelectDisplayProps:y.object,tabIndex:y.oneOfType([y.number,y.string]),type:y.any,value:y.any,variant:y.oneOf(["standard","outlined","filled"])});const HV=e=>{const{classes:r}=e,s=lo({root:["root"]},jA,r);return{...r,...s}},bw={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>ts(e)&&e!=="variant"},GV=ln(Eb,bw)(""),WV=ln(Tb,bw)(""),YV=ln(wb,bw)(""),xw=Oe.forwardRef(function(r,i){const s=ko({name:"MuiSelect",props:r}),{autoWidth:c=!1,children:p,classes:d={},className:v,defaultOpen:b=!1,displayEmpty:S=!1,IconComponent:T=EF,id:w,input:R,inputProps:A,label:L,labelId:P,MenuProps:j,multiple:G=!1,native:Y=!1,onClose:k,onOpen:V,open:N,renderValue:z,SelectDisplayProps:Z,variant:ie="outlined",...ge}=s,M=Y?FA:UA,se=Op(),Te=Rp({props:s,muiFormControl:se,states:["variant","error"]}),he=Te.variant||ie,we={...s,variant:he,classes:d},ce=HV(we),{root:fe,...ve}=ce,pe=R||{standard:I.jsx(GV,{ownerState:we}),outlined:I.jsx(WV,{label:L,ownerState:we}),filled:I.jsx(YV,{ownerState:we})}[he],ne=Ii(i,vv(pe));return I.jsx(Oe.Fragment,{children:Oe.cloneElement(pe,{inputComponent:M,inputProps:{children:p,error:Te.error,IconComponent:T,variant:he,type:void 0,multiple:G,...Y?{id:w}:{autoWidth:c,defaultOpen:b,displayEmpty:S,labelId:P,MenuProps:j,onClose:k,onOpen:V,open:N,renderValue:z,SelectDisplayProps:{id:w,...Z}},...A,classes:A?va(ve,A.classes):ve,...R?R.props.inputProps:{}},...(G&&Y||S)&&he==="outlined"?{notched:!0}:{},ref:ne,className:yr(pe.props.className,v,ce.root),...!R&&{variant:he},...ge})})});process.env.NODE_ENV!=="production"&&(xw.propTypes={autoWidth:y.bool,children:y.node,classes:y.object,className:y.string,defaultOpen:y.bool,defaultValue:y.any,displayEmpty:y.bool,IconComponent:y.elementType,id:y.string,input:y.element,inputProps:y.object,label:y.node,labelId:y.string,MenuProps:y.object,multiple:y.bool,native:y.bool,onChange:y.func,onClose:y.func,onOpen:y.func,open:y.bool,renderValue:y.func,SelectDisplayProps:y.object,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),value:y.oneOfType([y.oneOf([""]),y.any]),variant:y.oneOf(["filled","outlined","standard"])});xw.muiName="Select";function qV(e){return Xr("MuiTextField",e)}io("MuiTextField",["root"]);const QV={standard:Eb,filled:wb,outlined:Tb},XV=e=>{const{classes:r}=e;return lo({root:["root"]},qV,r)},KV=ln(TA,{name:"MuiTextField",slot:"Root"})({}),BA=Oe.forwardRef(function(r,i){const s=ko({props:r,name:"MuiTextField"}),{autoComplete:c,autoFocus:p=!1,children:d,className:v,color:b="primary",defaultValue:S,disabled:T=!1,error:w=!1,FormHelperTextProps:R,fullWidth:A=!1,helperText:L,id:P,InputLabelProps:j,inputProps:G,InputProps:Y,inputRef:k,label:V,maxRows:N,minRows:z,multiline:Z=!1,name:ie,onBlur:ge,onChange:M,onFocus:se,placeholder:Te,required:he=!1,rows:we,select:ce=!1,SelectProps:fe,slots:ve={},slotProps:pe={},type:ne,value:ee,variant:Re="outlined",...B}=s,W={...s,autoFocus:p,color:b,disabled:T,error:w,fullWidth:A,multiline:Z,required:he,select:ce,variant:Re},$e=XV(W);process.env.NODE_ENV!=="production"&&ce&&!d&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const Be=X3(P),Qe=L&&Be?`${Be}-helper-text`:void 0,We=V&&Be?`${Be}-label`:void 0,X=QV[Re],oe={slots:ve,slotProps:{input:Y,inputLabel:j,htmlInput:G,formHelperText:R,select:fe,...pe}},K={},Ee=oe.slotProps.inputLabel;Re==="outlined"&&(Ee&&typeof Ee.shrink<"u"&&(K.notched=Ee.shrink),K.label=V),ce&&((!fe||!fe.native)&&(K.id=void 0),K["aria-describedby"]=void 0);const[te,De]=ma("root",{elementType:KV,shouldForwardComponentProp:!0,externalForwardedProps:{...oe,...B},ownerState:W,className:yr($e.root,v),ref:i,additionalProps:{disabled:T,error:w,fullWidth:A,required:he,color:b,variant:Re}}),[Ce,Fe]=ma("input",{elementType:X,externalForwardedProps:oe,additionalProps:K,ownerState:W}),[rt,Lt]=ma("inputLabel",{elementType:$A,externalForwardedProps:oe,ownerState:W}),[Dt,vt]=ma("htmlInput",{elementType:"input",externalForwardedProps:oe,ownerState:W}),[yt,St]=ma("formHelperText",{elementType:RA,externalForwardedProps:oe,ownerState:W}),[lt,sn]=ma("select",{elementType:xw,externalForwardedProps:oe,ownerState:W}),mn=I.jsx(Ce,{"aria-describedby":Qe,autoComplete:c,autoFocus:p,defaultValue:S,fullWidth:A,multiline:Z,name:ie,rows:we,maxRows:N,minRows:z,type:ne,value:ee,id:Be,inputRef:k,onBlur:ge,onChange:M,onFocus:se,placeholder:Te,inputProps:vt,slots:{input:ve.htmlInput?Dt:void 0},...Fe});return I.jsxs(te,{...De,children:[V!=null&&V!==""&&I.jsx(rt,{htmlFor:Be,id:We,...Lt,children:V}),ce?I.jsx(lt,{"aria-describedby":Qe,id:Be,labelId:We,value:ee,input:mn,...sn,children:d}):mn,L&&I.jsx(yt,{id:Qe,...St,children:L})]})});process.env.NODE_ENV!=="production"&&(BA.propTypes={autoComplete:y.string,autoFocus:y.bool,children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["primary","secondary","error","info","success","warning"]),y.string]),defaultValue:y.any,disabled:y.bool,error:y.bool,FormHelperTextProps:y.object,fullWidth:y.bool,helperText:y.node,id:y.string,InputLabelProps:y.object,inputProps:y.object,InputProps:y.object,inputRef:zu,label:y.node,margin:y.oneOf(["dense","none","normal"]),maxRows:y.oneOfType([y.number,y.string]),minRows:y.oneOfType([y.number,y.string]),multiline:y.bool,name:y.string,onBlur:y.func,onChange:y.func,onFocus:y.func,placeholder:y.string,required:y.bool,rows:y.oneOfType([y.number,y.string]),select:y.bool,SelectProps:y.object,size:y.oneOfType([y.oneOf(["medium","small"]),y.string]),slotProps:y.shape({formHelperText:y.oneOfType([y.func,y.object]),htmlInput:y.oneOfType([y.func,y.object]),input:y.oneOfType([y.func,y.object]),inputLabel:y.oneOfType([y.func,y.object]),select:y.oneOfType([y.func,y.object])}),slots:y.shape({formHelperText:y.elementType,htmlInput:y.elementType,input:y.elementType,inputLabel:y.elementType,root:y.elementType,select:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),type:y.string,value:y.any,variant:y.oneOf(["filled","outlined","standard"])});const ZV=ln(Cb)(({theme:e})=>({display:"flex",flexDirection:"column",gap:e.spacing(2),width:"100%"})),JV=ln(Cb)(({theme:e})=>({display:"flex",gap:e.spacing(1),justifyContent:"center",marginBottom:e.spacing(1)})),ej=ln(yw)(({theme:e})=>({fontSize:"0.75rem",textAlign:"center",marginBottom:e.spacing(.25),minHeight:"0.75rem",display:"flex",alignItems:"center",justifyContent:"center",padding:0,lineHeight:1})),tj=ln(BA,{shouldForwardProp:e=>e!=="verified"})(({theme:e,verified:r})=>({width:"3rem","& .MuiInputBase-input, & .MuiOutlinedInput-input":{textAlign:"center !important",fontSize:"1.5rem !important",fontWeight:"bold !important",padding:`${e.spacing(1)} !important`,height:"3.75rem !important",lineHeight:"3.75rem !important",width:"100% !important",boxSizing:"border-box !important",border:"none !important",borderRadius:"8px !important",backgroundColor:"transparent !important",minWidth:"auto !important",transition:"none !important",boxShadow:"none !important"},"& .MuiOutlinedInput-root":{height:"3.75rem !important",minHeight:"3.75rem !important",border:"1px solid rgba(0, 0, 0, 0.23) !important",borderRadius:"8px !important",backgroundColor:"transparent !important","&:hover":{border:"1px solid #86AF61 !important"},"&.Mui-focused":{border:"1px solid #86AF61 !important"}},...r&&{"& .MuiInputBase-input, & .MuiOutlinedInput-input":{color:`${e.palette.success.main} !important`,WebkitTextFillColor:`${e.palette.success.main} !important`,textAlign:"center !important",fontSize:"1.5rem !important",fontWeight:"bold !important",padding:`${e.spacing(1)} !important`,height:"3.75rem !important",lineHeight:"3.75rem !important"},"& .MuiOutlinedInput-root":{"&.Mui-disabled":{opacity:"1 !important",height:"3.75rem !important",minHeight:"3.75rem !important"},"&.Mui-disabled .MuiInputBase-input, &.Mui-disabled .MuiOutlinedInput-input":{color:`${e.palette.success.main} !important`,WebkitTextFillColor:`${e.palette.success.main} !important`,textAlign:"center !important",fontSize:"1.5rem !important",fontWeight:"bold !important",padding:`${e.spacing(1)} !important`,height:"3.75rem !important",lineHeight:"3.75rem !important"},"& fieldset":{borderColor:`${e.palette.success.main} !important`},"&.Mui-disabled fieldset":{borderColor:`${e.palette.success.main} !important`},"&:hover fieldset":{borderColor:`${e.palette.success.main} !important`},"&.Mui-focused fieldset":{borderColor:`${e.palette.success.main} !important`}}}})),nj=ln(Cb)(({theme:e})=>({display:"flex",gap:e.spacing(2),justifyContent:"center",flexWrap:"wrap"})),rj=({formComponent:e,formidavimHost:r})=>{const i=(e==null?void 0:e.props)||{},s=i.propertyId,c=i.label??"Enter verification code",p=typeof i.length=="number"?i.length:6,d=typeof i.required=="string"?i.required.toLowerCase()==="true":!!i.required,v=i.currentValue,{getFlowValue:b,setFlowAndPatientValue:S,setFlowError:T,setDisableSubmitValue:w}=wr(),R=s?b(s):void 0,A=v&&v.length===p?v:typeof R=="string"&&R.length===p?R:"",[L,P]=Ve.useState(A?A.split(""):new Array(p).fill("")),[j,G]=Ve.useState(!!(A&&A.length===p)),[Y,k]=Ve.useState(!1),[V,N]=Ve.useState(null),[z,Z]=Ve.useState(null),[ie,ge]=Ve.useState(!1),[M,se]=Ve.useState(0),[Te,he]=Ve.useState(0),[we,ce]=Ve.useState(0),[fe,ve]=Ve.useState(!1),pe=Ve.useRef([]),ne=b("_phone"),ee=b("email"),Re=uv(r),B=X=>{const oe=X.replace(/\D/g,"");return oe.length===10?`+1${oe}`:X},W=Ve.useCallback(async(X,oe)=>{if(!(oe==="sms"&&M>0)&&!(oe==="call"&&Te>0)&&!(oe==="email"&&we>0))try{const K=oe==="email"?X:B(X),Ee=await Re.otpControllerSendOtp({recipient:K,channel:oe}).catch(()=>null);Ee&&(Ee.status===200||Ee.status===201)?(ge(!0),oe==="sms"?se(30):oe==="call"?he(30):oe==="email"&&ce(30),N(null)):N("Failed to send OTP. Please try again.")}catch{N("Failed to send OTP. Please try again.")}},[M,Te,we]),$e=Ve.useCallback(async(X,oe,K=!1)=>{try{const Ee=K?X:B(X),te=await Re.otpControllerVerifyOtp({recipient:Ee,otp:oe}).catch(()=>null);if(!te)return!1;const De=te.data;return(De==null?void 0:De.status)==="approved"||(De==null?void 0:De.verified)===!0}catch{return!1}},[]);Ve.useCallback(async()=>{const X=L.join(""),oe=ne||ee,K=!!(ee&&!ne);if(!(X.length!==p||!oe||fe)){ve(!0),k(!0),N(null),Z(null);try{await $e(oe,X,K)&&s?(G(!0),S(s,X),T(s,null),w(!1),Z("Verification successful!"),se(0),he(0),ce(0)):(N("The code you entered is incorrect. Please check your code and try again."),G(!1),s&&T(s,"The code you entered is incorrect. Please check your code and try again."),ve(!1),d&&w(!0))}catch(Ee){console.error("OTP verification error:",Ee),N("Verification failed. Please try again."),G(!1),s&&T(s,"Verification failed"),ve(!1)}finally{k(!1)}}},[L,p,ne,ee,$e,s,S,T,fe]);const Be=Ve.useCallback((X,oe)=>{var Ee;if(j||oe.length>1)return;const K=[...L];if(K[X]=oe,P(K),G(!1),ve(!1),N(null),Z(null),oe&&X<p-1&&((Ee=pe.current[X+1])==null||Ee.focus()),K.join("").length===p){const te=K.join(""),De=ne||ee,Ce=!!(ee&&!ne);te.length===p&&De&&!fe&&(ve(!0),k(!0),N(null),Z(null),$e(De,te,Ce).then(Fe=>{Fe&&s?(G(!0),S(s,te),T(s,null),w(!1),Z("Verification successful!"),se(0),he(0),ce(0)):(N("The code you entered is incorrect. Please check your code and try again."),G(!1),s&&T(s,"The code you entered is incorrect. Please check your code and try again."),ve(!1),d&&w(!0))}).catch(Fe=>{console.error("OTP verification error:",Fe),N("Verification failed. Please try again."),G(!1),s&&T(s,"Verification failed"),ve(!1),d&&w(!0)}).finally(()=>{k(!1)}))}},[L,p,ne,s,S,T,fe,$e,j]),Qe=(X,oe)=>{var K;oe.key==="Backspace"&&!L[X]&&X>0&&((K=pe.current[X-1])==null||K.focus())},We=X=>{var Ee;if(j)return;X.preventDefault();const K=X.clipboardData.getData("text/plain").replace(/\D/g,"").slice(0,p);if(K.length===p){const te=K.split("");P(te),G(!1),ve(!1),N(null),Z(null);const De=te.join(""),Ce=ne||ee,Fe=!!(ee&&!ne);De.length===p&&Ce&&!fe&&(ve(!0),k(!0),N(null),Z(null),$e(Ce,De,Fe).then(rt=>{rt&&s?(G(!0),S(s,De),T(s,null),w(!1),Z("Verification successful!"),se(0),he(0),ce(0)):(N("Invalid verification code. Please try again."),G(!1),s&&T(s,"Invalid verification code"),ve(!1),d&&w(!0))}).catch(rt=>{console.error("OTP verification error:",rt),N("Verification failed. Please try again."),G(!1),s&&T(s,"Verification failed"),ve(!1),d&&w(!0)}).finally(()=>{k(!1)})),(Ee=pe.current[p-1])==null||Ee.focus()}};return Ve.useEffect(()=>{if(M>0){const X=setTimeout(()=>se(oe=>oe-1),1e3);return()=>clearTimeout(X)}},[M]),Ve.useEffect(()=>{if(Te>0){const X=setTimeout(()=>he(oe=>oe-1),1e3);return()=>clearTimeout(X)}},[Te]),Ve.useEffect(()=>{if(we>0){const X=setTimeout(()=>ce(oe=>oe-1),1e3);return()=>clearTimeout(X)}},[we]),Ve.useEffect(()=>{const X=!!(v&&v.length===p||typeof R=="string"&&R.length===p),oe=ne||ee,K=!!(ee&&!ne),Ee=K?"email":"sms";oe&&!ie&&!j&&!X&&(async()=>{if(!(K&&we>0)&&!(!K&&M>0))try{const De=K?oe:B(oe),Ce=await Re.otpControllerSendOtp({recipient:De,channel:Ee}).catch(()=>null);Ce&&(Ce.status===200||Ce.status===201)?(ge(!0),K?ce(30):se(30),N(null)):N("Failed to send OTP. Please try again.")}catch{N("Failed to send OTP. Please try again.")}})()},[ne,ee,ie,j,M,we,v,p,R]),Ve.useEffect(()=>{w(d?!j:!1)},[j,d,w]),Ve.useEffect(()=>{const X=v&&v.length===p?v:typeof R=="string"&&R.length===p?R:"";X&&X.length===p&&(P(X.split("")),G(!0))},[v,p,R]),Ve.useEffect(()=>{pe.current[0]&&!j&&pe.current[0].focus()},[j]),L.join("").length,I.jsxs(ZV,{children:[I.jsx(yw,{variant:"h6",gutterBottom:!0,children:c}),I.jsx(JV,{children:L.map((X,oe)=>I.jsx(tj,{inputRef:K=>pe.current[oe]=K,value:X,onChange:K=>Be(oe,K.target.value),onKeyDown:K=>Qe(oe,K),onPaste:We,inputProps:{maxLength:1,pattern:"[0-9]*",inputMode:"numeric"},variant:"outlined",disabled:Y||j,verified:j},oe))}),I.jsxs(ej,{variant:"body2",color:V?"error":z?"success":"textSecondary",children:[V||z||" "," "]}),I.jsxs(nj,{children:[I.jsx("button",{type:"button",onClick:()=>W(ne,"sms"),disabled:!ne||M>0||j,style:{background:"none",border:"none",color:M>0||j?"#999":"#000",textDecoration:"underline",cursor:M>0||j?"not-allowed":"pointer",fontSize:"0.875rem",padding:"0",fontFamily:"inherit"},onMouseEnter:X=>{M===0&&!j&&(X.currentTarget.style.textDecoration="none")},onMouseLeave:X=>{M===0&&!j&&(X.currentTarget.style.textDecoration="underline")},children:M>0?`Resend SMS in ${M}s`:"Resend SMS code"}),I.jsx("button",{type:"button",onClick:()=>W(ne,"call"),disabled:!ne||Te>0||j,style:{background:"none",border:"none",color:Te>0||j?"#999":"#000",textDecoration:"underline",cursor:Te>0||j?"not-allowed":"pointer",fontSize:"0.875rem",padding:"0",fontFamily:"inherit"},onMouseEnter:X=>{Te===0&&!j&&(X.currentTarget.style.textDecoration="none")},onMouseLeave:X=>{Te===0&&!j&&(X.currentTarget.style.textDecoration="underline")},children:Te>0?`Wait ${Te}s before requesting another code`:"Receive code by voice call instead"}),ee&&I.jsx("button",{type:"button",onClick:()=>W(ee,"email"),disabled:!ee||we>0||j,style:{background:"none",border:"none",color:we>0||j?"#999":"#000",textDecoration:"underline",cursor:we>0||j?"not-allowed":"pointer",fontSize:"0.875rem",padding:"0",fontFamily:"inherit"},onMouseEnter:X=>{we===0&&!j&&(X.currentTarget.style.textDecoration="none")},onMouseLeave:X=>{we===0&&!j&&(X.currentTarget.style.textDecoration="underline")},children:we>0?`Resend email in ${we}s`:"Send code by email instead"})]})]})},zA={AL:"Alabama",AK:"Alaska",AZ:"Arizona",AR:"Arkansas",CA:"California",CO:"Colorado",CT:"Connecticut",DE:"Delaware",FL:"Florida",GA:"Georgia",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VA:"Virginia",WA:"Washington",DC:"Washington DC",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming"},H$=e=>{const r={...zA},i=e.toUpperCase(),s=e.replace(/\b\w/g,c=>c.toUpperCase());return r.hasOwnProperty(i)?i:Object.values(r).includes(s)&&Object.keys(r).find(c=>r[c]===s)||i},oj=be.div`
|
|
2863
2863
|
display: flex;
|
|
2864
2864
|
flex-direction: column;
|
|
2865
2865
|
gap: 1.5rem;
|
|
@@ -2980,7 +2980,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
2980
2980
|
transition: all 0.2s;
|
|
2981
2981
|
}
|
|
2982
2982
|
}
|
|
2983
|
-
`,dj=({formComponent:e})=>{const r=e.props,{required:i,propertyId:s,label:c="Address",inlineCopy:p}=r||{},{getFlowValue:d,setFlowAndPatientValue:v,getFlowValue:b,getFlowError:S,setFlowError:T}=Nr(),w=b(s)||{},[R,A]=Ve.useState({address1:w.address1||"",address2:w.address2||"",city:w.city||"",state:w.state||"",postcode:w.postcode||"",coordinates:w.coordinates}),[L,P]=Ve.useState([]),[j,G]=Ve.useState(!1),[Y,k]=Ve.useState(!1),[V,N]=Ve.useState(!1),[z,Z]=Ve.useState("prompt"),ie=Ve.useRef(),ge="pk.eyJ1IjoiYW50aG9ueS1pdmltIiwiYSI6ImNsdXY4M245OTAwcmoya3BiY3RwOHU2aGoifQ.WKeVR5UV446JNt1PxJgccg",M=(ve,pe)=>{const ne={...R,[ve]:pe};A(ne),v(s,ne),ve==="address1"&&pe.length>1&&se(pe)},se=async ve=>{ie.current&&clearTimeout(ie.current),ie.current=setTimeout(async()=>{if(console.log(ve.length),ve.length<1)return;console.log("Searching for address:",ve),k(!0);const pe=()=>new Promise(ne=>{if(!navigator.geolocation){ne(null);return}navigator.geolocation.getCurrentPosition(ee=>{ne({lat:ee.coords.latitude,lng:ee.coords.longitude})},()=>ne(null),{timeout:5e3,enableHighAccuracy:!1})});try{const ne=await pe();let ee=`https://api.mapbox.com/search/geocode/v6/forward?q=${encodeURIComponent(ve)}&access_token=${ge}&country=US&types=address&limit=5&language=en`;ne&&(ee+=`&proximity=${ne.lng},${ne.lat}`,console.log("Using proximity bias:",ne));const Re=await fetch(ee);if(Re.ok){const B=await Re.json();console.log("Mapbox v6 response:",B),P(B.features||[]),G(!0)}else{console.error("Mapbox API error:",Re.status,Re.statusText);const B=await Re.text();console.error("Error details:",B)}}catch(ne){console.error("Error fetching address suggestions:",ne)}finally{k(!1)}},300)},Te=ve=>{var oe,K,Ee,te,De,Ce,Fe,rt,Lt;console.log("Selected feature:",ve);const pe=((oe=ve.properties)==null?void 0:oe.context)||{},ne=ve.properties||{};let ee="",Re="",B="",W="";const $e=((K=pe.address)==null?void 0:K.address_number)||"",Be=((Ee=pe.address)==null?void 0:Ee.street_name)||((te=pe.street)==null?void 0:te.name)||"";$e&&Be?ee=`${$e} ${Be}`.trim():ne.full_address?ee=ne.full_address.split(",")[0].trim():(De=pe.address)!=null&&De.name?ee=pe.address.name:ee=ve.text||"",Re=((Ce=pe.place)==null?void 0:Ce.name)||"";const Qe=((Fe=pe.region)==null?void 0:Fe.region_code)||"",We=((rt=pe.region)==null?void 0:rt.name)||"";if(B=Qe||(We?H$(We):""),W=((Lt=pe.postcode)==null?void 0:Lt.name)||"",!ee||!Re||!B||!W){const Dt=ve.place_name.split(", ");if(!ee&&Dt.length>=1&&(ee=Dt[0]),!Re&&Dt.length>=2&&(Re=Dt[1]),(!B||!W)&&Dt.length>=3){const yt=Dt[2].trim().split(/\s+/);if(!W&&yt.length>=2&&(W=yt[yt.length-1]),!B){const St=yt.slice(0,Math.max(1,yt.length-1)).join(" ");B=H$(St)}}}const X={address1:ee.trim(),address2:R.address2||"",city:Re.trim(),state:B.trim(),postcode:W.trim(),coordinates:{lat:ve.geometry.coordinates[1],lng:ve.geometry.coordinates[0]}};console.log("Parsed address:",X),A(X),v(s,X),G(!1),P([])},he=()=>!!(R.address1&&R.city&&R.state&&R.postcode);Ve.useEffect(()=>{const ve=pe=>{pe.target.closest(".address-autofill-container")||G(!1)};return document.addEventListener("click",ve),()=>document.removeEventListener("click",ve)},[]),Ve.useEffect(()=>{console.log("Suggestions state changed:",{showSuggestions:j,suggestionsCount:L.length,isAddress1Focused:V,isLoading:Y})},[j,L.length,V,Y]),Ve.useEffect(()=>{i&&!he()?T(s,"Required"):T(s,null)},[R.address1,R.city,R.state,R.postcode,i,s,T]),d(s);const we=S(s),ce=!!we&&we!=="Required",fe=he();return I.jsxs(ai,{$visible:!0,$type:"address",$hasError:ce,children:[I.jsx(dl,{$color:ce?"danger":void 0,children:c}),I.jsxs(oj,{children:[I.jsx(ai,{$visible:!0,children:I.jsxs(aj,{className:"address-autofill-container",children:[I.jsx("input",{type:"text",value:R.address1,onInput:ve=>M("address1",ve.target.value),onFocus:()=>{console.log("Address1 input focused"),N(!0)},onBlur:()=>{console.log("Address1 input blurred"),setTimeout(()=>{console.log("Hiding suggestions after blur timeout"),N(!1)},200)},id:`${s}-address1`,name:"address1",autoComplete:"address-line1"}),I.jsx(Mi,{htmlFor:`${s}-address1`,children:"Address Line 1"}),I.jsx(ij,{$show:V&&(j||Y),children:Y?I.jsx(sj,{children:"Loading suggestions..."}):L.length===0?I.jsx(uj,{children:"No suggestions found."}):L.map((ve,pe)=>{var ne;return I.jsx(lj,{onClick:ee=>{ee.stopPropagation(),Te(ve)},children:((ne=ve.properties)==null?void 0:ne.full_address)||ve.place_name||ve.text},pe)})})]})}),I.jsxs(ai,{$visible:!0,children:[I.jsx("input",{type:"text",value:R.address2,onInput:ve=>M("address2",ve.target.value),id:`${s}-address2`,name:"address2",autoComplete:"address-line2"}),I.jsx(Mi,{htmlFor:`${s}-address2`,children:"Address Line 2"})]}),I.jsxs(ai,{$visible:!0,children:[I.jsx("input",{type:"text",value:R.city,onInput:ve=>M("city",ve.target.value),id:`${s}-city`,name:"city",autoComplete:"address-level2"}),I.jsx(Mi,{htmlFor:`${s}-city`,children:"City"})]}),I.jsxs(qC,{$visible:!0,$hasError:ce,$height:"auto",$marginBottom:"0px",children:[I.jsxs(cj,{value:R.state,onChange:ve=>M("state",ve.target.value),id:`${s}-state`,name:"state",autoComplete:"address-level1",children:[I.jsx("option",{value:"",disabled:!0,children:"Select State"}),Object.entries(zA).map(([ve,pe],ne)=>I.jsx("option",{value:ve,children:pe},ve+ne))]}),I.jsx(Mi,{htmlFor:`${s}-state`,children:"State / Region"})]}),I.jsxs(ai,{$visible:!0,children:[I.jsx("input",{type:"text",value:R.postcode,onInput:ve=>M("postcode",ve.target.value),id:`${s}-postcode`,name:"postal-code",autoComplete:"postal-code",maxLength:10}),I.jsx(Mi,{htmlFor:`${s}-postcode`,children:"ZIP / Postcode"})]})]}),p&&I.jsx(dl,{children:p}),r!=null&&r.required&&!fe&&!ce?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):ce?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),we]}):null]})},fj=({formComponent:e,formidavimHost:r})=>{const i=e.props,{propertyId:s,label:c="Hidden Field",jsonataExpression:p}=i||{},{getFlowValue:d,setFlowAndPatientValue:v,getFlowError:b,setFlowError:S,setDisableSubmitValue:T,setFlowValue:w}=Nr(),R=Sp(d(s)),[A,L]=Ve.useState("");Ve.useEffect(()=>{L(R)},[R]),Ve.useEffect(()=>{R||w(s,""),T(!1)},[s,w,T]),Ve.useEffect(()=>{console.log("Hidden component - jsonataExpression (evaluated value):",p),console.log("Hidden component - propertyId:",s),p!=null?(w(s,String(p)),S(s,null),T(!1),console.log("Hidden component - stored evaluated value:",p)):(console.log("Hidden component - no value, setting default"),w(s,""),S(s,null),T(!1))},[p,s,w,S,T]);const j=!!b(s);return I.jsxs(ai,{$visible:!1,$hasError:j,children:[I.jsx("input",{id:s,name:s,type:"text",value:A,readOnly:!0,className:j?"error":"",style:{position:"absolute",left:"-9999px",opacity:0,pointerEvents:"none",width:"1px",height:"1px",overflow:"hidden"},"aria-hidden":"true",tabIndex:-1}),I.jsx("label",{htmlFor:s,style:{display:"none"},children:c})]})},pj=({formComponent:e})=>{const r=e.props,{propertyId:i,label:s="Input Label",required:c,lastPrescribedDose:p,concentration:d}=r||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S,setFlowError:T}=Nr(),w=Ve.useRef(null),R=Ve.useRef(!1),L=(N=>N?typeof N=="number"?N:parseFloat(String(N).replace(" mg",""))||0:0)(v(i)),P=parseFloat((d==null?void 0:d.split(" ")[0])||"0"),j=100;Ve.useEffect(()=>{!R.current&&p&&(!L&&p&&b(i,p+" mg"),R.current=!0)},[p]);const G=N=>P===0?0:Math.round(N/P*100),Y=N=>P===0?0:N/100*P,k=G(L),V=N=>{const z=Y(N);Number(N)===0?(b(i,0),T(i,"Units must be greater than 0")):(T(i,""),b(i,z+" mg"))};return I.jsxs(rM,{$visible:!0,children:[I.jsx(dl,{children:s}),I.jsxs(hM,{children:[I.jsx(mM,{children:I.jsx(vM,{$width:`${k}%`})}),I.jsx(Z$,{src:"http://media-s3-cdn.ivimhealth.com/assets/images/formidavim/dosing-variable-units-vial.webp"})]}),I.jsxs(yM,{children:[I.jsx(dO,{onClick:()=>V(Math.max(0,k-1)),children:I.jsx("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",children:I.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.998 23H11.998V21H31.998V23Z",fill:"#32312D"})})}),I.jsxs(gM,{onClick:()=>{var N;return(N=w.current)==null?void 0:N.focus()},children:[I.jsx(bM,{ref:w,type:"number",min:"0",max:j,value:k,onChange:N=>V(Math.max(0,Math.min(j,parseInt(N.target.value)||0)))}),I.jsx(xM,{children:"units"})]}),I.jsx(dO,{onClick:()=>V(Math.min(j,k+1)),children:I.jsx("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",children:I.jsx("path",{d:"M22 15V29M15 22H29",stroke:"#32312D",strokeWidth:"2"})})})]}),I.jsx(ao,{$bottom:"-30px",$visible:!0,children:S(i)||(c?"Required":"")})]})},hj=({formComponent:e})=>{const r=e.props,{required:i,propertyId:s,label:c="File Upload",accepted:p="pdf,jpg,jpeg,png",maxSize:d=5,maxWidth:v=800,multiple:b=!1,inlineCopy:S}=r||{},T=typeof v=="string"?parseInt(v,10):v;console.log("maxWidthRaw:",v,"maxWidth:",T);const w=typeof p=="string"?p.split(",").map(ie=>ie.trim()):Array.isArray(p)?p:["pdf","jpg","jpeg","png"],{getFlowValue:R,setFlowAndPatientValue:A,getFlowError:L,setFlowError:P,setDisableSubmitValue:j}=Nr(),G=R(s),Y=L(s),k=!!Y&&Y!=="Required",[V,N]=Ve.useState(""),z=i==="true";Ve.useEffect(()=>{G?b&&Array.isArray(G)?N(`${G.length} file(s) selected`):!b&&G&&N("File selected"):N("")},[G,b]);const Z=ie=>{const{files:ge}=ie.target;if(!ge||ge.length===0){z?(P(s,"Required"),j(!0)):(P(s,null),j(!1)),A(s,b?[]:null),N("");return}N(b?`${ge.length} file(s) selected`:ge[0].name);const M=d*1024*1024;let se=[],Te=[],he=[],we=0;Array.from(ge).forEach((ce,fe)=>{const ve=new FileReader;ve.onload=pe=>{var W;let ne="";const ee=((W=pe.target)==null?void 0:W.result)||"",Re=!w.some($e=>ce.type.endsWith("/"+$e));if(ce.type.startsWith("image/")){const $e=new Image;$e.onload=()=>{const Be=document.createElement("canvas"),Qe=T/$e.width,We=T,X=$e.height*Qe;Be.width=We,Be.height=X;const oe=Be.getContext("2d");oe&&We>0&&X>0&&(oe.drawImage($e,0,0,We,X),ne=Be.toDataURL("image/jpeg",.8)),(!ne||ne==="data:,")&&(ne=ee),we++,B()},$e.onerror=()=>{ne=ee,we++,B()},$e.src=ee}else ce.type==="application/pdf"?(ne=ee,we++,B()):(Te.push(!0),we++,B());function B(){Re&&Te.push(!0),ce.size>M?se.push(!0):Re||(ne&&ne!=="data:,"?he.push(ne):ee&&ee!=="data:,"&&he.push(ee)),we===(ge==null?void 0:ge.length)&&(Te.includes(!0)?(P(s,`File types allowed are ${w.join(", ")}`),A(s,b?[]:null),j(!0)):se.includes(!0)?(P(s,`File(s) exceeds the maximum of ${d}MB.`),A(s,b?[]:null),j(!0)):(P(s,null),A(s,b?he:he[0]||null),j(!1)))}},ve.readAsDataURL(ce)})};return I.jsxs(oM,{$visible:"true",$hasError:k,$req:z?"true":"false",$isMultiple:b,children:[I.jsx("input",{type:"file",id:s,name:s,onChange:Z,accept:w.map(ie=>`.${ie}`).join(", "),multiple:b,style:{display:"none"}}),I.jsx("label",{style:{cursor:"pointer"},onClick:()=>{const ie=document.getElementById(s);ie&&ie.click()},children:"Browse"}),c&&c!==""&&I.jsx("span",{children:c}),V&&I.jsx("p",{className:"fileName",children:V}),z&&!G&&!k?I.jsx(ao,{$bottom:"-20px",$margin:"19% 0 0 15px",$visible:!0,children:"Required"}):k?I.jsxs(Yo,{$bottom:"-20px",$margin:"19% 0 0 15px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),Y]}):null,S&&I.jsx("div",{style:{position:"absolute",bottom:k?"-32px":"-21px",left:"15px",fontSize:"12px",color:"#666"},children:S})]})},mj=({formComponent:e})=>{const r=e.props;return r!=null&&r.text?I.jsx(G6,{$margin:"0px",$color:r.color,$align:r["text-align"],dangerouslySetInnerHTML:{__html:r.text}}):null},vj=({formComponent:e})=>{const r=e.props;return r!=null&&r.src?I.jsx(Z$,{src:r.src}):I.jsx(Cp,{errors:["Image form component is missing valid image src"]})},yj=({formComponent:e})=>I.jsx(gj,{children:I.jsx(bj,{children:I.jsx(xj,{children:I.jsxs("svg",{width:"352",height:"243",viewBox:"0 0 352 243",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[I.jsxs("g",{"clip-path":"url(#clip0_356_13948)",children:[I.jsxs("g",{"clip-path":"url(#clip1_356_13948)",children:[I.jsx("path",{d:"M351 195C151.369 195 32.4675 102 0 22V230H351V195Z",fill:"url(#paint0_linear_356_13948)"}),I.jsx("path",{d:"M0 22C32.4675 102 151.369 195 351 195",stroke:"#86AF61","stroke-width":"2","stroke-linecap":"round"})]}),I.jsx("circle",{cx:"294.5",cy:"191.5",r:"22.5",fill:"#6F9351","fill-opacity":"0.16"}),I.jsx("circle",{cx:"294.5",cy:"191.5",r:"6.5",fill:"white",stroke:"#6F9351","stroke-width":"4"}),I.jsx("path",{d:"M0 22C32.56 75.1792 151.8 137 352 137",stroke:"#D9D8D8","stroke-width":"2","stroke-linecap":"round"})]}),I.jsxs("defs",{children:[I.jsxs("linearGradient",{id:"paint0_linear_356_13948",x1:"58.654",y1:"230",x2:"58.654",y2:"22",gradientUnits:"userSpaceOnUse",children:[I.jsx("stop",{"stop-color":"#86AF61","stop-opacity":"0"}),I.jsx("stop",{offset:"1","stop-color":"#86AF61"})]}),I.jsx("clipPath",{id:"clip0_356_13948",children:I.jsx("rect",{width:"352",height:"242",fill:"white",transform:"translate(0 0.5)"})}),I.jsx("clipPath",{id:"clip1_356_13948",children:I.jsx("rect",{width:"351",height:"220",fill:"white",transform:"translate(0 22)"})})]})]})})})}),gj=be.div`
|
|
2983
|
+
`,dj=({formComponent:e})=>{const r=e.props,{required:i,propertyId:s,label:c="Address",inlineCopy:p}=r||{},{getFlowValue:d,setFlowAndPatientValue:v,getFlowValue:b,getFlowError:S,setFlowError:T}=wr(),w=b(s)||{},[R,A]=Ve.useState({address1:w.address1||"",address2:w.address2||"",city:w.city||"",state:w.state||"",postcode:w.postcode||"",coordinates:w.coordinates}),[L,P]=Ve.useState([]),[j,G]=Ve.useState(!1),[Y,k]=Ve.useState(!1),[V,N]=Ve.useState(!1),[z,Z]=Ve.useState("prompt"),ie=Ve.useRef(),ge="pk.eyJ1IjoiYW50aG9ueS1pdmltIiwiYSI6ImNsdXY4M245OTAwcmoya3BiY3RwOHU2aGoifQ.WKeVR5UV446JNt1PxJgccg",M=(ve,pe)=>{const ne={...R,[ve]:pe};A(ne),v(s,ne),ve==="address1"&&pe.length>1&&se(pe)},se=async ve=>{ie.current&&clearTimeout(ie.current),ie.current=setTimeout(async()=>{if(console.log(ve.length),ve.length<1)return;console.log("Searching for address:",ve),k(!0);const pe=()=>new Promise(ne=>{if(!navigator.geolocation){ne(null);return}navigator.geolocation.getCurrentPosition(ee=>{ne({lat:ee.coords.latitude,lng:ee.coords.longitude})},()=>ne(null),{timeout:5e3,enableHighAccuracy:!1})});try{const ne=await pe();let ee=`https://api.mapbox.com/search/geocode/v6/forward?q=${encodeURIComponent(ve)}&access_token=${ge}&country=US&types=address&limit=5&language=en`;ne&&(ee+=`&proximity=${ne.lng},${ne.lat}`,console.log("Using proximity bias:",ne));const Re=await fetch(ee);if(Re.ok){const B=await Re.json();console.log("Mapbox v6 response:",B),P(B.features||[]),G(!0)}else{console.error("Mapbox API error:",Re.status,Re.statusText);const B=await Re.text();console.error("Error details:",B)}}catch(ne){console.error("Error fetching address suggestions:",ne)}finally{k(!1)}},300)},Te=ve=>{var oe,K,Ee,te,De,Ce,Fe,rt,Lt;console.log("Selected feature:",ve);const pe=((oe=ve.properties)==null?void 0:oe.context)||{},ne=ve.properties||{};let ee="",Re="",B="",W="";const $e=((K=pe.address)==null?void 0:K.address_number)||"",Be=((Ee=pe.address)==null?void 0:Ee.street_name)||((te=pe.street)==null?void 0:te.name)||"";$e&&Be?ee=`${$e} ${Be}`.trim():ne.full_address?ee=ne.full_address.split(",")[0].trim():(De=pe.address)!=null&&De.name?ee=pe.address.name:ee=ve.text||"",Re=((Ce=pe.place)==null?void 0:Ce.name)||"";const Qe=((Fe=pe.region)==null?void 0:Fe.region_code)||"",We=((rt=pe.region)==null?void 0:rt.name)||"";if(B=Qe||(We?H$(We):""),W=((Lt=pe.postcode)==null?void 0:Lt.name)||"",!ee||!Re||!B||!W){const Dt=ve.place_name.split(", ");if(!ee&&Dt.length>=1&&(ee=Dt[0]),!Re&&Dt.length>=2&&(Re=Dt[1]),(!B||!W)&&Dt.length>=3){const yt=Dt[2].trim().split(/\s+/);if(!W&&yt.length>=2&&(W=yt[yt.length-1]),!B){const St=yt.slice(0,Math.max(1,yt.length-1)).join(" ");B=H$(St)}}}const X={address1:ee.trim(),address2:R.address2||"",city:Re.trim(),state:B.trim(),postcode:W.trim(),coordinates:{lat:ve.geometry.coordinates[1],lng:ve.geometry.coordinates[0]}};console.log("Parsed address:",X),A(X),v(s,X),G(!1),P([])},he=()=>!!(R.address1&&R.city&&R.state&&R.postcode);Ve.useEffect(()=>{const ve=pe=>{pe.target.closest(".address-autofill-container")||G(!1)};return document.addEventListener("click",ve),()=>document.removeEventListener("click",ve)},[]),Ve.useEffect(()=>{console.log("Suggestions state changed:",{showSuggestions:j,suggestionsCount:L.length,isAddress1Focused:V,isLoading:Y})},[j,L.length,V,Y]),Ve.useEffect(()=>{i&&!he()?T(s,"Required"):T(s,null)},[R.address1,R.city,R.state,R.postcode,i,s,T]),d(s);const we=S(s),ce=!!we&&we!=="Required",fe=he();return I.jsxs(Ya,{$visible:!0,$type:"address",$hasError:ce,children:[I.jsx(dl,{$color:ce?"danger":void 0,children:c}),I.jsxs(oj,{children:[I.jsx(Ya,{$visible:!0,children:I.jsxs(aj,{className:"address-autofill-container",children:[I.jsx("input",{type:"text",value:R.address1,onInput:ve=>M("address1",ve.target.value),onFocus:()=>{console.log("Address1 input focused"),N(!0)},onBlur:()=>{console.log("Address1 input blurred"),setTimeout(()=>{console.log("Hiding suggestions after blur timeout"),N(!1)},200)},id:`${s}-address1`,name:"address1",autoComplete:"address-line1"}),I.jsx(Mi,{htmlFor:`${s}-address1`,children:"Address Line 1"}),I.jsx(ij,{$show:V&&(j||Y),children:Y?I.jsx(sj,{children:"Loading suggestions..."}):L.length===0?I.jsx(uj,{children:"No suggestions found."}):L.map((ve,pe)=>{var ne;return I.jsx(lj,{onClick:ee=>{ee.stopPropagation(),Te(ve)},children:((ne=ve.properties)==null?void 0:ne.full_address)||ve.place_name||ve.text},pe)})})]})}),I.jsxs(Ya,{$visible:!0,children:[I.jsx("input",{type:"text",value:R.address2,onInput:ve=>M("address2",ve.target.value),id:`${s}-address2`,name:"address2",autoComplete:"address-line2"}),I.jsx(Mi,{htmlFor:`${s}-address2`,children:"Address Line 2"})]}),I.jsxs(Ya,{$visible:!0,children:[I.jsx("input",{type:"text",value:R.city,onInput:ve=>M("city",ve.target.value),id:`${s}-city`,name:"city",autoComplete:"address-level2"}),I.jsx(Mi,{htmlFor:`${s}-city`,children:"City"})]}),I.jsxs(qC,{$visible:!0,$hasError:ce,$height:"auto",$marginBottom:"0px",children:[I.jsxs(cj,{value:R.state,onChange:ve=>M("state",ve.target.value),id:`${s}-state`,name:"state",autoComplete:"address-level1",children:[I.jsx("option",{value:"",disabled:!0,children:"Select State"}),Object.entries(zA).map(([ve,pe],ne)=>I.jsx("option",{value:ve,children:pe},ve+ne))]}),I.jsx(Mi,{htmlFor:`${s}-state`,children:"State / Region"})]}),I.jsxs(Ya,{$visible:!0,children:[I.jsx("input",{type:"text",value:R.postcode,onInput:ve=>M("postcode",ve.target.value),id:`${s}-postcode`,name:"postal-code",autoComplete:"postal-code",maxLength:10}),I.jsx(Mi,{htmlFor:`${s}-postcode`,children:"ZIP / Postcode"})]})]}),p&&I.jsx(dl,{children:p}),r!=null&&r.required&&!fe&&!ce?I.jsx(ao,{$bottom:"-30px",$visible:!0,children:"Required"}):ce?I.jsxs(Yo,{$bottom:"-30px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.6803 14.1667 13.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),we]}):null]})},fj=({formComponent:e,formidavimHost:r})=>{const i=e.props,{propertyId:s,label:c="Hidden Field",jsonataExpression:p}=i||{},{getFlowValue:d,setFlowAndPatientValue:v,getFlowError:b,setFlowError:S,setDisableSubmitValue:T,setFlowValue:w}=wr(),R=Sp(d(s)),[A,L]=Ve.useState("");Ve.useEffect(()=>{L(R)},[R]),Ve.useEffect(()=>{R||w(s,""),T(!1)},[s,w,T]),Ve.useEffect(()=>{console.log("Hidden component - jsonataExpression (evaluated value):",p),console.log("Hidden component - propertyId:",s),p!=null?(w(s,String(p)),S(s,null),T(!1),console.log("Hidden component - stored evaluated value:",p)):(console.log("Hidden component - no value, setting default"),w(s,""),S(s,null),T(!1))},[p,s,w,S,T]);const j=!!b(s);return I.jsxs(Ya,{$visible:!1,$hasError:j,children:[I.jsx("input",{id:s,name:s,type:"text",value:A,readOnly:!0,className:j?"error":"",style:{position:"absolute",left:"-9999px",opacity:0,pointerEvents:"none",width:"1px",height:"1px",overflow:"hidden"},"aria-hidden":"true",tabIndex:-1}),I.jsx("label",{htmlFor:s,style:{display:"none"},children:c})]})},pj=({formComponent:e,formidavimHost:r})=>{const i=e.props,{propertyId:s,label:c="GA Client ID"}=i||{},{setFlowValue:p,setFlowError:d,setDisableSubmitValue:v}=wr(),b=()=>{try{const T=document.cookie.split("; ").find(w=>w.startsWith("_ga="));if(T){const R=T.substring(4).match(/GA\d+\.\d+\.(\d+\.\d+)/);if(R&&R[1])return R[1]}return null}catch(S){return console.warn("Error extracting GA client ID:",S),null}};return Ve.useEffect(()=>{const S=b();S?(p(s,S),d(s,null),v(!1),console.log("GA Client ID extracted and stored:",S)):(p(s,""),d(s,null),v(!1),console.log("No GA cookie found, setting empty value"))},[s,p,d,v]),I.jsxs(Ya,{$visible:!1,$hasError:!1,children:[I.jsx("input",{id:s,name:s,type:"text",readOnly:!0,style:{position:"absolute",left:"-9999px",opacity:0,pointerEvents:"none",width:"1px",height:"1px",overflow:"hidden"},"aria-hidden":"true",tabIndex:-1}),I.jsx("label",{htmlFor:s,style:{display:"none"},children:c})]})},hj=({formComponent:e})=>{const r=e.props,{propertyId:i,label:s="Input Label",required:c,lastPrescribedDose:p,concentration:d}=r||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S,setFlowError:T}=wr(),w=Ve.useRef(null),R=Ve.useRef(!1),L=(N=>N?typeof N=="number"?N:parseFloat(String(N).replace(" mg",""))||0:0)(v(i)),P=parseFloat((d==null?void 0:d.split(" ")[0])||"0"),j=100;Ve.useEffect(()=>{!R.current&&p&&(!L&&p&&b(i,p+" mg"),R.current=!0)},[p]);const G=N=>P===0?0:Math.round(N/P*100),Y=N=>P===0?0:N/100*P,k=G(L),V=N=>{const z=Y(N);Number(N)===0?(b(i,0),T(i,"Units must be greater than 0")):(T(i,""),b(i,z+" mg"))};return I.jsxs(rM,{$visible:!0,children:[I.jsx(dl,{children:s}),I.jsxs(hM,{children:[I.jsx(mM,{children:I.jsx(vM,{$width:`${k}%`})}),I.jsx(Z$,{src:"http://media-s3-cdn.ivimhealth.com/assets/images/formidavim/dosing-variable-units-vial.webp"})]}),I.jsxs(yM,{children:[I.jsx(dO,{onClick:()=>V(Math.max(0,k-1)),children:I.jsx("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",children:I.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.998 23H11.998V21H31.998V23Z",fill:"#32312D"})})}),I.jsxs(gM,{onClick:()=>{var N;return(N=w.current)==null?void 0:N.focus()},children:[I.jsx(bM,{ref:w,type:"number",min:"0",max:j,value:k,onChange:N=>V(Math.max(0,Math.min(j,parseInt(N.target.value)||0)))}),I.jsx(xM,{children:"units"})]}),I.jsx(dO,{onClick:()=>V(Math.min(j,k+1)),children:I.jsx("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",children:I.jsx("path",{d:"M22 15V29M15 22H29",stroke:"#32312D",strokeWidth:"2"})})})]}),I.jsx(ao,{$bottom:"-30px",$visible:!0,children:S(i)||(c?"Required":"")})]})},mj=({formComponent:e})=>{const r=e.props,{required:i,propertyId:s,label:c="File Upload",accepted:p="pdf,jpg,jpeg,png",maxSize:d=5,maxWidth:v=800,multiple:b=!1,inlineCopy:S}=r||{},T=typeof v=="string"?parseInt(v,10):v;console.log("maxWidthRaw:",v,"maxWidth:",T);const w=typeof p=="string"?p.split(",").map(ie=>ie.trim()):Array.isArray(p)?p:["pdf","jpg","jpeg","png"],{getFlowValue:R,setFlowAndPatientValue:A,getFlowError:L,setFlowError:P,setDisableSubmitValue:j}=wr(),G=R(s),Y=L(s),k=!!Y&&Y!=="Required",[V,N]=Ve.useState(""),z=i==="true";Ve.useEffect(()=>{G?b&&Array.isArray(G)?N(`${G.length} file(s) selected`):!b&&G&&N("File selected"):N("")},[G,b]);const Z=ie=>{const{files:ge}=ie.target;if(!ge||ge.length===0){z?(P(s,"Required"),j(!0)):(P(s,null),j(!1)),A(s,b?[]:null),N("");return}N(b?`${ge.length} file(s) selected`:ge[0].name);const M=d*1024*1024;let se=[],Te=[],he=[],we=0;Array.from(ge).forEach((ce,fe)=>{const ve=new FileReader;ve.onload=pe=>{var W;let ne="";const ee=((W=pe.target)==null?void 0:W.result)||"",Re=!w.some($e=>ce.type.endsWith("/"+$e));if(ce.type.startsWith("image/")){const $e=new Image;$e.onload=()=>{const Be=document.createElement("canvas"),Qe=T/$e.width,We=T,X=$e.height*Qe;Be.width=We,Be.height=X;const oe=Be.getContext("2d");oe&&We>0&&X>0&&(oe.drawImage($e,0,0,We,X),ne=Be.toDataURL("image/jpeg",.8)),(!ne||ne==="data:,")&&(ne=ee),we++,B()},$e.onerror=()=>{ne=ee,we++,B()},$e.src=ee}else ce.type==="application/pdf"?(ne=ee,we++,B()):(Te.push(!0),we++,B());function B(){Re&&Te.push(!0),ce.size>M?se.push(!0):Re||(ne&&ne!=="data:,"?he.push(ne):ee&&ee!=="data:,"&&he.push(ee)),we===(ge==null?void 0:ge.length)&&(Te.includes(!0)?(P(s,`File types allowed are ${w.join(", ")}`),A(s,b?[]:null),j(!0)):se.includes(!0)?(P(s,`File(s) exceeds the maximum of ${d}MB.`),A(s,b?[]:null),j(!0)):(P(s,null),A(s,b?he:he[0]||null),j(!1)))}},ve.readAsDataURL(ce)})};return I.jsxs(oM,{$visible:"true",$hasError:k,$req:z?"true":"false",$isMultiple:b,children:[I.jsx("input",{type:"file",id:s,name:s,onChange:Z,accept:w.map(ie=>`.${ie}`).join(", "),multiple:b,style:{display:"none"}}),I.jsx("label",{style:{cursor:"pointer"},onClick:()=>{const ie=document.getElementById(s);ie&&ie.click()},children:"Browse"}),c&&c!==""&&I.jsx("span",{children:c}),V&&I.jsx("p",{className:"fileName",children:V}),z&&!G&&!k?I.jsx(ao,{$bottom:"-20px",$margin:"19% 0 0 15px",$visible:!0,children:"Required"}):k?I.jsxs(Yo,{$bottom:"-20px",$margin:"19% 0 0 15px",$visible:!0,children:[I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:I.jsx("path",{d:"M0.331707 7.50001C0.331707 11.1819 3.31647 14.1667 6.99837 14.1667C10.665 11.1819 13.665 7.50001C13.665 3.81811 10.6803 0.833344 6.99837 0.833344C3.31647 0.833344 0.331707 3.81811 0.331707 7.50001ZM3.8603 5.30475L4.80311 4.36194L10.1364 9.69527L9.19363 10.6381L3.8603 5.30475Z",fill:"#B94E36"})}),Y]}):null,S&&I.jsx("div",{style:{position:"absolute",bottom:k?"-32px":"-21px",left:"15px",fontSize:"12px",color:"#666"},children:S})]})},vj=({formComponent:e})=>{const r=e.props;return r!=null&&r.text?I.jsx(G6,{$margin:"0px",$color:r.color,$align:r["text-align"],dangerouslySetInnerHTML:{__html:r.text}}):null},yj=({formComponent:e})=>{const r=e.props;return r!=null&&r.src?I.jsx(Z$,{src:r.src}):I.jsx(Cp,{errors:["Image form component is missing valid image src"]})},gj=({formComponent:e})=>I.jsx(bj,{children:I.jsx(xj,{children:I.jsx(Sj,{children:I.jsxs("svg",{width:"352",height:"243",viewBox:"0 0 352 243",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[I.jsxs("g",{"clip-path":"url(#clip0_356_13948)",children:[I.jsxs("g",{"clip-path":"url(#clip1_356_13948)",children:[I.jsx("path",{d:"M351 195C151.369 195 32.4675 102 0 22V230H351V195Z",fill:"url(#paint0_linear_356_13948)"}),I.jsx("path",{d:"M0 22C32.4675 102 151.369 195 351 195",stroke:"#86AF61","stroke-width":"2","stroke-linecap":"round"})]}),I.jsx("circle",{cx:"294.5",cy:"191.5",r:"22.5",fill:"#6F9351","fill-opacity":"0.16"}),I.jsx("circle",{cx:"294.5",cy:"191.5",r:"6.5",fill:"white",stroke:"#6F9351","stroke-width":"4"}),I.jsx("path",{d:"M0 22C32.56 75.1792 151.8 137 352 137",stroke:"#D9D8D8","stroke-width":"2","stroke-linecap":"round"})]}),I.jsxs("defs",{children:[I.jsxs("linearGradient",{id:"paint0_linear_356_13948",x1:"58.654",y1:"230",x2:"58.654",y2:"22",gradientUnits:"userSpaceOnUse",children:[I.jsx("stop",{"stop-color":"#86AF61","stop-opacity":"0"}),I.jsx("stop",{offset:"1","stop-color":"#86AF61"})]}),I.jsx("clipPath",{id:"clip0_356_13948",children:I.jsx("rect",{width:"352",height:"242",fill:"white",transform:"translate(0 0.5)"})}),I.jsx("clipPath",{id:"clip1_356_13948",children:I.jsx("rect",{width:"351",height:"220",fill:"white",transform:"translate(0 22)"})})]})]})})})}),bj=be.div`
|
|
2984
2984
|
&& {
|
|
2985
2985
|
display: flex;
|
|
2986
2986
|
flex-direction: column;
|
|
@@ -2995,14 +2995,14 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
2995
2995
|
padding: 0 5px;
|
|
2996
2996
|
}
|
|
2997
2997
|
}
|
|
2998
|
-
`,
|
|
2998
|
+
`,xj=be.div`
|
|
2999
2999
|
&& {
|
|
3000
3000
|
position: relative;
|
|
3001
3001
|
width: 100%;
|
|
3002
3002
|
// height: 188px;
|
|
3003
3003
|
// margin-bottom: 54px;
|
|
3004
3004
|
}
|
|
3005
|
-
`,
|
|
3005
|
+
`,Sj=be.div`
|
|
3006
3006
|
&& {
|
|
3007
3007
|
position: relative;
|
|
3008
3008
|
width: 100%;
|
|
@@ -3029,7 +3029,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
3029
3029
|
opacity: 1;
|
|
3030
3030
|
}
|
|
3031
3031
|
}
|
|
3032
|
-
`;document.head.appendChild(HA);const
|
|
3032
|
+
`;document.head.appendChild(HA);const Cj=be.hr`
|
|
3033
3033
|
&& {
|
|
3034
3034
|
height: ${e=>e.$thiccMode?"16px":"1px"};
|
|
3035
3035
|
border: ${e=>e.$thiccMode?"none":`1px solid ${e.$color.startsWith("#")?e.$color:e.theme.colors[e.$color]||e.$color}`};
|
|
@@ -3042,10 +3042,10 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
3042
3042
|
width: calc(100% + 40px);
|
|
3043
3043
|
`}
|
|
3044
3044
|
}
|
|
3045
|
-
`,
|
|
3045
|
+
`,wj=({formComponent:e})=>{const r=e.props,{margin:i="20px 0",thiccMode:s=!1,color:c="#D9D8D8",fullWidth:p=!1}=r||{};return I.jsx(Cj,{$margin:i,$thiccMode:s,$color:c,$fullWidth:p})},Ej=({formComponent:e})=>{var r;return(r=e.props)!=null&&r.text?I.jsx(W6,{$margin:"0px",dangerouslySetInnerHTML:{__html:e.props.text}}):null},Tj=({formComponent:e})=>{const r=e.props;return r!=null&&r.text?I.jsx(Y6,{$margin:"0px",$color:r.color,$align:r["text-align"],dangerouslySetInnerHTML:{__html:r.text}}):null},Rj=({formComponent:e})=>{const r=e.props;return r!=null&&r.text?I.jsx(X$,{$margin:"0px",$color:r.color,$align:r["text-align"],dangerouslySetInnerHTML:{__html:r.text}}):null},Oj=({formComponent:e})=>{const r=e.props,{medication:i="Compounded Semaglutide"}=r||{};return I.jsx($j,{children:I.jsxs(Aj,{children:[I.jsx(kj,{children:"IN REVIEW"}),I.jsx(Pj,{children:"Refill Request"}),I.jsx(Nj,{children:I.jsxs(Dj,{children:[I.jsx(Mj,{children:I.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:I.jsx("path",{d:"M20 11C19.7554 9.24017 18.9391 7.60961 17.6766 6.35945C16.4142 5.10928 14.7758 4.30887 13.0137 4.0815C11.2516 3.85414 9.46362 4.21243 7.9252 5.1012C6.38678 5.98996 5.18325 7.35989 4.5 8.99995M4 4.99995V8.99995H8M4 13C4.24456 14.7598 5.06093 16.3903 6.32336 17.6405C7.58579 18.8907 9.22424 19.6911 10.9863 19.9184C12.7484 20.1458 14.5364 19.7875 16.0748 18.8988C17.6132 18.01 18.8168 16.6401 19.5 15M20 19V15H16",stroke:"currentColor",strokeOpacity:"0.7",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),I.jsx(Lj,{children:i})]})})]})})},$j=be.div`
|
|
3046
3046
|
position: relative;
|
|
3047
3047
|
padding-top: 34px;
|
|
3048
|
-
|
|
3048
|
+
`,Aj=be.div`
|
|
3049
3049
|
background: #F5F4F2;
|
|
3050
3050
|
border-radius: 10px;
|
|
3051
3051
|
padding: 10px 20px 20px 20px;
|
|
@@ -3056,7 +3056,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
3056
3056
|
max-height: 'auto';
|
|
3057
3057
|
max-width: 100%;
|
|
3058
3058
|
height: auto;
|
|
3059
|
-
`,
|
|
3059
|
+
`,kj=be.div`
|
|
3060
3060
|
position: absolute;
|
|
3061
3061
|
top: 0px;
|
|
3062
3062
|
right: 16px;
|
|
@@ -3068,14 +3068,14 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
3068
3068
|
font-weight: 600;
|
|
3069
3069
|
letter-spacing: 0.05em;
|
|
3070
3070
|
height: 34px;
|
|
3071
|
-
`,
|
|
3071
|
+
`,Pj=be.h2`
|
|
3072
3072
|
font-size: 14px;
|
|
3073
3073
|
line-height: 28px;
|
|
3074
3074
|
font-weight: 600;
|
|
3075
3075
|
color: #32312D;
|
|
3076
3076
|
margin: 4px 0 10px 0;
|
|
3077
3077
|
font-family: ${e=>e.theme.fonts.poppins};
|
|
3078
|
-
`,
|
|
3078
|
+
`,Nj=be.div`
|
|
3079
3079
|
display: flex;
|
|
3080
3080
|
align-items: center;
|
|
3081
3081
|
min-height: 35px;
|
|
@@ -3089,23 +3089,23 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
3089
3089
|
align-items: center;
|
|
3090
3090
|
justify-content: center;
|
|
3091
3091
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
3092
|
-
`;const
|
|
3092
|
+
`;const Dj=be.div`
|
|
3093
3093
|
display:flex;
|
|
3094
|
-
`,
|
|
3094
|
+
`,Mj=be.div`
|
|
3095
3095
|
color: #6b7280;
|
|
3096
3096
|
// margin-bottom: 8px;
|
|
3097
3097
|
margin-left: 20px;
|
|
3098
|
-
`,
|
|
3098
|
+
`,Lj=be.p`
|
|
3099
3099
|
font-size: 18px;
|
|
3100
3100
|
font-weight: 500;
|
|
3101
3101
|
color: #1f2937;
|
|
3102
3102
|
margin: 0;
|
|
3103
3103
|
margin-left:14px;
|
|
3104
|
-
`,
|
|
3104
|
+
`,Ij=({formComponent:e})=>{const r=e.props,{addonMedicationProperty:i}=r||{};return I.jsx(I.Fragment,{children:Array.isArray(i)&&i.map((s,c)=>I.jsx(_j,{$isFirst:c===0,children:I.jsxs(Fj,{children:[I.jsx(Vj,{children:"IN REVIEW"}),I.jsx(jj,{children:"Refill Request"}),I.jsx(Uj,{children:I.jsxs(Bj,{children:[I.jsx(zj,{children:I.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:I.jsx("path",{d:"M20 11C19.7554 9.24017 18.9391 7.60961 17.6766 6.35945C16.4142 5.10928 14.7758 4.30887 13.0137 4.0815C11.2516 3.85414 9.46362 4.21243 7.9252 5.1012C6.38678 5.98996 5.18325 7.35989 4.5 8.99995M4 4.99995V8.99995H8M4 13C4.24456 14.7598 5.06093 16.3903 6.32336 17.6405C7.58579 18.8907 9.22424 19.6911 10.9863 19.9184C12.7484 20.1458 14.5364 19.7875 16.0748 18.8988C17.6132 18.01 18.8168 16.6401 19.5 15M20 19V15H16",stroke:"currentColor",strokeOpacity:"0.7",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),I.jsx(Hj,{children:s})]})})]})},c))})},_j=be.div`
|
|
3105
3105
|
position: relative;
|
|
3106
3106
|
padding-top: 34px;
|
|
3107
3107
|
${e=>!e.$isFirst&&"margin-top: 25px;"}
|
|
3108
|
-
`,
|
|
3108
|
+
`,Fj=be.div`
|
|
3109
3109
|
background: #F5F4F2;
|
|
3110
3110
|
border-radius: 10px;
|
|
3111
3111
|
padding: 10px 20px 20px 20px;
|
|
@@ -3116,7 +3116,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
3116
3116
|
max-height: 'auto';
|
|
3117
3117
|
max-width: 100%;
|
|
3118
3118
|
height: auto;
|
|
3119
|
-
`,
|
|
3119
|
+
`,Vj=be.div`
|
|
3120
3120
|
position: absolute;
|
|
3121
3121
|
top: 0px;
|
|
3122
3122
|
right: 16px;
|
|
@@ -3128,14 +3128,14 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
3128
3128
|
font-weight: 600;
|
|
3129
3129
|
letter-spacing: 0.05em;
|
|
3130
3130
|
height: 34px;
|
|
3131
|
-
`,
|
|
3131
|
+
`,jj=be.h2`
|
|
3132
3132
|
font-size: 14px;
|
|
3133
3133
|
line-height: 28px;
|
|
3134
3134
|
font-weight: 600;
|
|
3135
3135
|
color: #32312D;
|
|
3136
3136
|
margin: 4px 0 10px 0;
|
|
3137
3137
|
font-family: ${e=>e.theme.fonts.poppins};
|
|
3138
|
-
`,
|
|
3138
|
+
`,Uj=be.div`
|
|
3139
3139
|
display: flex;
|
|
3140
3140
|
align-items: center;
|
|
3141
3141
|
min-height: 35px;
|
|
@@ -3149,26 +3149,26 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
3149
3149
|
align-items: center;
|
|
3150
3150
|
justify-content: center;
|
|
3151
3151
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
3152
|
-
`;const
|
|
3152
|
+
`;const Bj=be.div`
|
|
3153
3153
|
display:flex;
|
|
3154
|
-
`,
|
|
3154
|
+
`,zj=be.div`
|
|
3155
3155
|
color: #6b7280;
|
|
3156
3156
|
// margin-bottom: 8px;
|
|
3157
3157
|
margin-left: 20px;
|
|
3158
|
-
`,
|
|
3158
|
+
`,Hj=be.p`
|
|
3159
3159
|
font-size: 18px;
|
|
3160
3160
|
font-weight: 500;
|
|
3161
3161
|
color: #1f2937;
|
|
3162
3162
|
margin: 0;
|
|
3163
3163
|
margin-left:14px;
|
|
3164
|
-
`,
|
|
3164
|
+
`,Gj=({formComponent:e})=>{var s;const r=e.props;if(!(r!=null&&r.src))return I.jsx(Cp,{errors:["Video form component is missing valid video src"]});const i=(s=r.src.split(".").pop())==null?void 0:s.toLowerCase();return i!=="webm"&&i!=="mp4"?I.jsx(Cp,{errors:["Video form component has unsupported video type. Supported types are: webm, mp4"]}):I.jsx(uM,{$visible:(r==null?void 0:r.visible)!==void 0?r.visible.toString():"false",$margin:r==null?void 0:r.margin,$maxHeight:r==null?void 0:r.maxHeight,$borderRadius:r==null?void 0:r.borderRadius,children:r!=null&&r.controls?I.jsx(cO,{src:r==null?void 0:r.src,muted:r==null?void 0:r.muted,loop:r==null?void 0:r.loop,autoPlay:r==null?void 0:r.autoPlay,playsInline:!0,controls:!0,children:I.jsx("source",{src:r==null?void 0:r.src,type:`video/${i}`})},"VideoBlock"+e.id):I.jsx(cO,{src:r==null?void 0:r.src,muted:r==null?void 0:r.muted,loop:r==null?void 0:r.loop,autoPlay:r==null?void 0:r.autoPlay,playsInline:!0,children:I.jsx("source",{src:r==null?void 0:r.src,type:`video/${i}`})},"VideoBlock"+e.id)})},Wj=({formComponent:e})=>{const r=e.props,{getFlowValue:i,setFlowAndPatientValue:s,getFlowError:c}=wr(),[p,d]=Ve.useState(!1),[v,b]=Ve.useState(!1),[S,T]=Ve.useState(!1),[w,R]=Ve.useState(!1),A=Ve.useRef(null),L=i(r.propertyId),P=c(r.propertyId),j=!!P&&P!=="Required";Ve.useEffect(()=>{T(!!L)},[L]),Ve.useEffect(()=>{const ge=A.current;if(!ge)return;const M=()=>{const{scrollHeight:Te,clientHeight:he}=ge,we=Te>he;b(we),we||d(!0)};M();const se=new ResizeObserver(M);return se.observe(ge),()=>se.disconnect()},[r.consentText]);const G=()=>{const ge=A.current;if(!ge||p||!v)return;const{scrollTop:M,scrollHeight:se,clientHeight:Te}=ge;M+Te>=se-.625&&!p&&d(!0)},Y=ge=>{const{checked:M}=ge.target;T(M),M?s(r.propertyId,new Date().toISOString().split("T")[0]):s(r.propertyId,null)},k=ge=>{const{checked:M}=ge.target;R(M)},V=!p,N=!!r.secondaryCheckboxLabel,z=N?S&&w:S,Z=r.required&&!z&&p&&!j,ie=V&&v;return I.jsxs(Yj,{children:[I.jsxs(qj,{children:["Effective Date: ",r.effectiveDate]}),I.jsx(Qj,{ref:A,$height:r.height||"20rem",onScroll:G,children:I.jsx("div",{dangerouslySetInnerHTML:{__html:r.consentText}})}),I.jsxs(Xj,{children:[ie&&I.jsxs("div",{style:{fontSize:"0.875rem",color:"#666",marginBottom:"0.5rem"},children:["Please scroll to the bottom to enable the acknowledgment ",N?"checkboxes":"checkbox","."]}),I.jsxs("label",{"data-disabled":V,children:[I.jsx("input",{type:"checkbox",checked:S,onChange:Y,disabled:V}),I.jsxs("div",{className:"checkbox-label",children:[I.jsx(G$,{$checked:S,$disabled:V}),I.jsx("span",{children:r.checkboxLabel||"I Acknowledge Receipt of the Notice of HIPAA Privacy Practices"})]})]}),r.secondaryCheckboxLabel&&I.jsx(I.Fragment,{children:I.jsxs("label",{"data-disabled":V,children:[I.jsx("input",{type:"checkbox",checked:w,onChange:k,disabled:V}),I.jsxs("div",{className:"checkbox-label",children:[I.jsx(G$,{$checked:w,$disabled:V}),I.jsx("span",{children:r.secondaryCheckboxLabel})]})]})}),Z&&I.jsx(W$,{children:N?"Both checkboxes must be checked to continue":"This field is required"}),j&&I.jsx(W$,{children:P})]})]})},Yj=be.div`
|
|
3165
3165
|
margin: 1rem 0;
|
|
3166
|
-
`,
|
|
3166
|
+
`,qj=be.div`
|
|
3167
3167
|
font-size: 0.9rem;
|
|
3168
3168
|
color: ${e=>e.theme.colors.gray};
|
|
3169
3169
|
margin-bottom: 1rem;
|
|
3170
3170
|
font-weight: 500;
|
|
3171
|
-
`,
|
|
3171
|
+
`,Qj=be.div`
|
|
3172
3172
|
height: ${e=>e.$height};
|
|
3173
3173
|
overflow-y: auto;
|
|
3174
3174
|
border-radius: 0.5rem;
|
|
@@ -3230,7 +3230,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
3230
3230
|
margin: 1.5rem 0 0.5rem 0;
|
|
3231
3231
|
font-weight: 600;
|
|
3232
3232
|
}
|
|
3233
|
-
`,
|
|
3233
|
+
`,Xj=be.div`
|
|
3234
3234
|
display: flex;
|
|
3235
3235
|
flex-direction: column;
|
|
3236
3236
|
|
|
@@ -3321,7 +3321,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
3321
3321
|
color: ${e=>e.theme.colors.danger};
|
|
3322
3322
|
font-size: 0.875rem;
|
|
3323
3323
|
margin-top: 0.25rem;
|
|
3324
|
-
`,
|
|
3324
|
+
`,Kj=be.a`
|
|
3325
3325
|
&& {
|
|
3326
3326
|
border-radius: 22px;
|
|
3327
3327
|
padding: 10px 20px;
|
|
@@ -3351,10 +3351,10 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
3351
3351
|
border: 1px solid ${e=>e.$btnStyle==="green"?e.theme.colors.primary:e.theme.colors.ivimGreen};
|
|
3352
3352
|
}
|
|
3353
3353
|
}
|
|
3354
|
-
`,Kj=({formComponent:e})=>{const r=e.props,{label:i="Button",url:s,target:c="_self",btnStyle:p="alt",margin:d}=r||{};return I.jsx(Xj,{href:s,target:c,$btnStyle:p,$margin:d,children:i})},Zj={number:"number","number-input":"number",radio:"string","radio-group":"string","checkbox-single":"boolean","checkbox-multi":"any[]",scale:"number",dropdown:"string","titration-select":"string",datepicker:"string","text-input":"string","dosing-custom-units":"string",email:"string",password:"string",phone:"string",otp:"string",address:"object",hidden:"string","hipaa-consent":"string",file:"string"},Jj={header:mj,image:vj,"weight-loss-chart":yj,"horizontal-rule":Cj,"text-tip":wj,"small-text":Ej,paragraph:Tj,"refill-request":Rj,"addon-request":Lj,"hipaa-consent":Gj,"link-button":Kj,video:Hj,"checkbox-single":W5,"checkbox-multi":Y5,radio:wO,"radio-group":wO,number:B5,dropdown:nL,datepicker:tL,scale:q5,"text-input":rL,textarea:G5,"titration-select":oL,"dosing-custom-units":pj,email:pL,password:hL,phone:mL,otp:rj,address:dj,hidden:fj,file:hj},Nr=()=>{const e=Fu.useDispatch(),r=Fu.useSelector(M=>$5(M)),i=Fu.useSelector(M=>A5(M)),s=Fu.useSelector(M=>k5(M)),c=Fu.useSelector(M=>P5(M)),p=Fu.useSelector(M=>N5(M)),d=Fu.useSelector(M=>I5(M)),v=Ve.useCallback((M,se)=>{e(S5({field:M,value:se}))},[e]),b=Ve.useCallback(M=>r[M],[r]),S=Ve.useCallback(()=>r,[r]),T=Ve.useCallback(M=>{e(C5(M))},[e]),w=Ve.useCallback(M=>{e(w5(M))},[e]),R=Ve.useCallback((M,se)=>{e(E5({field:M,error:se}))},[e]),A=Ve.useCallback(M=>i[M],[i]),L=Ve.useCallback(M=>{e(T5(M))},[e]),P=Ve.useCallback(()=>s,[s]),j=Ve.useCallback((M,se)=>{e(L5({[M]:se}))},[e]),G=Ve.useCallback(M=>{const se={id:M.customerId??null,profile:M.data};e(M5(se))},[e]),Y=Ve.useCallback(M=>d==null?void 0:d[M],[d]),k=Ve.useCallback(()=>d,[d]),V=Ve.useCallback(M=>{e(R5(M))},[e]),N=Ve.useCallback(()=>c,[c]),z=Ve.useCallback(M=>{e(O5(M))},[e]),Z=Ve.useCallback(()=>p,[p]),ie=Ve.useCallback((M,se)=>{v(M,se),j(M,se)},[v,j]),ge=Ve.useCallback(M=>{const se={};return M.flowForms&&M.flowForms.forEach(Te=>{var he;(he=Te.form)!=null&&he.formComponents&&Te.form.formComponents.forEach(we=>{const ce=we.componentId||"";if(Zj[ce]){const ve=we.props,pe=ve==null?void 0:ve.propertyId;pe&&(se[pe]=null)}})}),se},[]);return{setFlowValue:v,setFlowValues:T,resetAndSetFlowValues:w,getFlowValue:b,getAllFlowData:S,setFlowError:R,getFlowError:A,setDisableSubmitValue:L,getDisableSubmitValue:P,setPatientValue:j,setPatientValues:G,getPatientValue:Y,getFullPatient:k,setCurrentFlowValue:V,getCurrentFlowValue:N,setCurrentFormValue:z,getCurrentFormValue:Z,setFlowAndPatientValue:ie,generateFormDataFromFlow:ge}};function A0(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var bC={exports:{}},Y$;function eU(){return Y$||(Y$=1,function(e,r){(function(i){e.exports=i()})(function(){return function(){function i(s,c,p){function d(S,T){if(!c[S]){if(!s[S]){var w=typeof A0=="function"&&A0;if(!T&&w)return w(S,!0);if(v)return v(S,!0);var R=new Error("Cannot find module '"+S+"'");throw R.code="MODULE_NOT_FOUND",R}var A=c[S]={exports:{}};s[S][0].call(A.exports,function(L){var P=s[S][1][L];return d(P||L)},A,A.exports,i,s,c,p)}return c[S].exports}for(var v=typeof A0=="function"&&A0,b=0;b<p.length;b++)d(p[b]);return d}return i}()({1:[function(i,s,c){const p=i("./utils"),d=function(){const v=p.stringToArray,b=["Zero","One","Two","Three","Four","Five","Six","Seven","Eight","Nine","Ten","Eleven","Twelve","Thirteen","Fourteen","Fifteen","Sixteen","Seventeen","Eighteen","Nineteen"],S=["Zeroth","First","Second","Third","Fourth","Fifth","Sixth","Seventh","Eighth","Ninth","Tenth","Eleventh","Twelfth","Thirteenth","Fourteenth","Fifteenth","Sixteenth","Seventeenth","Eighteenth","Nineteenth"],T=["Twenty","Thirty","Forty","Fifty","Sixty","Seventy","Eighty","Ninety","Hundred"],w=["Thousand","Million","Billion","Trillion"];function R(X,oe){var K=function(te,De,Ce){var Fe="";if(te<=19)Fe=(De?" and ":"")+(Ce?S[te]:b[te]);else if(te<100){const Lt=Math.floor(te/10),Dt=te%10;Fe=(De?" and ":"")+T[Lt-2],Dt>0?Fe+="-"+K(Dt,!1,Ce):Ce&&(Fe=Fe.substring(0,Fe.length-1)+"ieth")}else if(te<1e3){const Lt=Math.floor(te/100),Dt=te%100;Fe=(De?", ":"")+b[Lt]+" Hundred",Dt>0?Fe+=K(Dt,!0,Ce):Ce&&(Fe+="th")}else{var rt=Math.floor(Math.log10(te)/3);rt>w.length&&(rt=w.length);const Lt=Math.pow(10,rt*3),Dt=Math.floor(te/Lt),vt=te-Dt*Lt;Fe=(De?", ":"")+K(Dt,!1,!1)+" "+w[rt-1],vt>0?Fe+=K(vt,!0,Ce):Ce&&(Fe+="th")}return Fe},Ee=K(X,!1,oe);return Ee}const A={};b.forEach(function(X,oe){A[X.toLowerCase()]=oe}),S.forEach(function(X,oe){A[X.toLowerCase()]=oe}),T.forEach(function(X,oe){const K=X.toLowerCase();A[K]=(oe+2)*10,A[K.substring(0,X.length-1)+"ieth"]=A[K]}),A.hundredth=100,w.forEach(function(X,oe){const K=X.toLowerCase(),Ee=Math.pow(10,(oe+1)*3);A[K]=Ee,A[K+"th"]=Ee});function L(X){const K=X.split(/,\s|\sand\s|[\s\\-]/).map(De=>A[De]);let Ee=[0];return K.forEach(De=>{if(De<100){let Ce=Ee.pop();Ce>=1e3&&(Ee.push(Ce),Ce=0),Ee.push(Ce+De)}else Ee.push(Ee.pop()*De)}),Ee.reduce((De,Ce)=>De+Ce,0)}const P=[[1e3,"m"],[900,"cm"],[500,"d"],[400,"cd"],[100,"c"],[90,"xc"],[50,"l"],[40,"xl"],[10,"x"],[9,"ix"],[5,"v"],[4,"iv"],[1,"i"]],j={M:1e3,D:500,C:100,L:50,X:10,V:5,I:1};function G(X){for(var oe=0;oe<P.length;oe++){const K=P[oe];if(X>=K[0])return K[1]+G(X-K[0])}return""}function Y(X){for(var oe=0,K=1,Ee=X.length-1;Ee>=0;Ee--){const te=X[Ee],De=j[te];De<K?oe-=De:(K=De,oe+=De)}return oe}function k(X,oe){for(var K=[],Ee=oe.charCodeAt(0);X>0;)K.unshift(String.fromCharCode((X-1)%26+Ee)),X=Math.floor((X-1)/26);return K.join("")}function V(X,oe){for(var K=oe.charCodeAt(0),Ee=0,te=0;te<X.length;te++)Ee+=(X.charCodeAt(X.length-te-1)-K+1)*Math.pow(26,te);return Ee}function N(X,oe){if(typeof X>"u")return;X=Math.floor(X);const K=M(oe);return ie(X,K)}const z={DECIMAL:"decimal",LETTERS:"letters",ROMAN:"roman",WORDS:"words",SEQUENCE:"sequence"},Z={UPPER:"upper",LOWER:"lower",TITLE:"title"};function ie(X,oe){let K;const Ee=X<0;switch(X=Math.abs(X),oe.primary){case z.LETTERS:K=k(X,oe.case===Z.UPPER?"A":"a");break;case z.ROMAN:K=G(X),oe.case===Z.UPPER&&(K=K.toUpperCase());break;case z.WORDS:K=R(X,oe.ordinal),oe.case===Z.UPPER?K=K.toUpperCase():oe.case===Z.LOWER&&(K=K.toLowerCase());break;case z.DECIMAL:K=""+X;var te=oe.mandatoryDigits-K.length;if(te>0){var De=new Array(te+1).join("0");K=De+K}if(oe.zeroCode!==48&&(K=v(K).map(Lt=>String.fromCodePoint(Lt.codePointAt(0)+oe.zeroCode-48)).join("")),oe.regular){const Lt=Math.floor((K.length-1)/oe.groupingSeparators.position);for(let Dt=Lt;Dt>0;Dt--){const vt=K.length-Dt*oe.groupingSeparators.position;K=K.substr(0,vt)+oe.groupingSeparators.character+K.substr(vt)}}else oe.groupingSeparators.reverse().forEach(Lt=>{const Dt=K.length-Lt.position;K=K.substr(0,Dt)+Lt.character+K.substr(Dt)});if(oe.ordinal){var Ce={1:"st",2:"nd",3:"rd"},Fe=K[K.length-1],rt=Ce[Fe];(!rt||K.length>1&&K[K.length-2]==="1")&&(rt="th"),K=K+rt}break;case z.SEQUENCE:throw{code:"D3130",value:oe.token}}return Ee&&(K="-"+K),K}const ge=[48,1632,1776,1984,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,42528,43216,43264,43472,43504,43600,44016,65296];function M(X){const oe={type:"integer",primary:z.DECIMAL,case:Z.LOWER,ordinal:!1};let K,Ee;const te=X.lastIndexOf(";");switch(te===-1?K=X:(K=X.substring(0,te),Ee=X.substring(te+1),Ee[0]==="o"&&(oe.ordinal=!0)),K){case"A":oe.case=Z.UPPER;case"a":oe.primary=z.LETTERS;break;case"I":oe.case=Z.UPPER;case"i":oe.primary=z.ROMAN;break;case"W":oe.case=Z.UPPER,oe.primary=z.WORDS;break;case"Ww":oe.case=Z.TITLE,oe.primary=z.WORDS;break;case"w":oe.primary=z.WORDS;break;default:{let De=null,Ce=0,Fe=0,rt=[],Lt=0;if(v(K).map(vt=>vt.codePointAt(0)).reverse().forEach(vt=>{let yt=!1;for(let St=0;St<ge.length;St++){const lt=ge[St];if(vt>=lt&&vt<=lt+9){if(yt=!0,Ce++,Lt++,De===null)De=lt;else if(lt!==De)throw{code:"D3131"};break}}yt||(vt===35?(Lt++,Fe++):rt.push({position:Lt,character:String.fromCodePoint(vt)}))}),Ce>0){oe.primary=z.DECIMAL,oe.zeroCode=De,oe.mandatoryDigits=Ce,oe.optionalDigits=Fe;const yt=function(St){if(St.length===0)return 0;const lt=St[0].character;for(let un=1;un<St.length;un++)if(St[un].character!==lt)return 0;const sn=St.map(un=>un.position),mn=function(un,Tn){return Tn===0?un:mn(Tn,un%Tn)},fn=sn.reduce(mn);for(let un=1;un<=sn.length;un++)if(sn.indexOf(un*fn)===-1)return 0;return fn}(rt);yt>0?(oe.regular=!0,oe.groupingSeparators={position:yt,character:rt[0].character}):(oe.regular=!1,oe.groupingSeparators=rt)}else oe.primary=z.SEQUENCE,oe.token=K}}return oe}const se={Y:"1",M:"1",D:"1",d:"1",F:"n",W:"1",w:"1",X:"1",x:"1",H:"1",h:"1",P:"n",m:"01",s:"01",f:"1",Z:"01:01",z:"01:01",C:"n",E:"n"};function Te(X){var oe=[];const K={type:"datetime",parts:oe},Ee=function(yt,St){if(St>yt){let lt=X.substring(yt,St);lt=lt.split("]]").join("]"),oe.push({type:"literal",value:lt})}};for(var te=0,De=0;De<X.length;){if(X.charAt(De)==="["){if(X.charAt(De+1)==="["){Ee(te,De),oe.push({type:"literal",value:"["}),De+=2,te=De;continue}if(Ee(te,De),te=De,De=X.indexOf("]",te),De===-1)throw{code:"D3135"};let yt=X.substring(te+1,De);yt=yt.split(/\s+/).join("");var Ce={type:"marker",component:yt.charAt(0)},Fe=yt.lastIndexOf(","),rt;if(Fe!==-1){const St=yt.substring(Fe+1),lt=St.indexOf("-");let sn,mn;const fn=function(Tn){if(!(typeof Tn>"u"||Tn==="*"))return parseInt(Tn)};lt===-1?sn=St:(sn=St.substring(0,lt),mn=St.substring(lt+1));const un={min:fn(sn),max:fn(mn)};Ce.width=un,rt=yt.substring(1,Fe)}else rt=yt.substring(1);if(rt.length===1)Ce.presentation1=rt;else if(rt.length>1){var Lt=rt.charAt(rt.length-1);"atco".indexOf(Lt)!==-1?(Ce.presentation2=Lt,Lt==="o"&&(Ce.ordinal=!0),Ce.presentation1=rt.substring(0,rt.length-1)):Ce.presentation1=rt}else Ce.presentation1=se[Ce.component];if(typeof Ce.presentation1>"u")throw{code:"D3132",value:Ce.component};if(Ce.presentation1[0]==="n")Ce.names=Z.LOWER;else if(Ce.presentation1[0]==="N")Ce.presentation1[1]==="n"?Ce.names=Z.TITLE:Ce.names=Z.UPPER;else if("YMDdFWwXxHhmsf".indexOf(Ce.component)!==-1){var Dt=Ce.presentation1;if(Ce.presentation2&&(Dt+=";"+Ce.presentation2),Ce.integerFormat=M(Dt),Ce.width&&Ce.width.min!==void 0&&Ce.integerFormat.mandatoryDigits<Ce.width.min&&(Ce.integerFormat.mandatoryDigits=Ce.width.min),Ce.component==="Y")if(Ce.n=-1,Ce.width&&Ce.width.max!==void 0)Ce.n=Ce.width.max,Ce.integerFormat.mandatoryDigits=Ce.n;else{var vt=Ce.integerFormat.mandatoryDigits+Ce.integerFormat.optionalDigits;vt>=2&&(Ce.n=vt)}const St=oe[oe.length-1];St&&St.integerFormat&&(St.integerFormat.parseWidth=St.integerFormat.mandatoryDigits)}(Ce.component==="Z"||Ce.component==="z")&&(Ce.integerFormat=M(Ce.presentation1)),oe.push(Ce),te=De+1}De++}return Ee(te,De),K}const he=["","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],we=["January","February","March","April","May","June","July","August","September","October","November","December"],ce=1e3*60*60*24,fe=function(X){const oe=Date.UTC(X.year,X.month);var K=new Date(oe).getUTCDay();return K===0&&(K=7),K>4?oe+(8-K)*ce:oe-(K-1)*ce},ve=function(X,oe){return{year:X,month:oe,nextMonth:function(){return oe===11?ve(X+1,0):ve(X,oe+1)},previousMonth:function(){return oe===0?ve(X-1,11):ve(X,oe-1)},nextYear:function(){return ve(X+1,oe)},previousYear:function(){return ve(X-1,oe)}}},pe=function(X,oe){return(oe-X)/(ce*7)+1},ne=(X,oe)=>{let K;switch(oe){case"Y":K=X.getUTCFullYear();break;case"M":K=X.getUTCMonth()+1;break;case"D":K=X.getUTCDate();break;case"d":{const Ee=Date.UTC(X.getUTCFullYear(),X.getUTCMonth(),X.getUTCDate()),te=Date.UTC(X.getUTCFullYear(),0);K=(Ee-te)/ce+1;break}case"F":K=X.getUTCDay(),K===0&&(K=7);break;case"W":{const Ee=ve(X.getUTCFullYear(),0),te=fe(Ee),De=Date.UTC(Ee.year,X.getUTCMonth(),X.getUTCDate());let Ce=pe(te,De);if(Ce>52){const Fe=fe(Ee.nextYear());De>=Fe&&(Ce=1)}else if(Ce<1){const Fe=fe(Ee.previousYear());Ce=pe(Fe,De)}K=Math.floor(Ce);break}case"w":{const Ee=ve(X.getUTCFullYear(),X.getUTCMonth()),te=fe(Ee),De=Date.UTC(Ee.year,Ee.month,X.getUTCDate());let Ce=pe(te,De);if(Ce>4){const Fe=fe(Ee.nextMonth());De>=Fe&&(Ce=1)}else if(Ce<1){const Fe=fe(Ee.previousMonth());Ce=pe(Fe,De)}K=Math.floor(Ce);break}case"X":{const Ee=ve(X.getUTCFullYear(),0),te=fe(Ee),De=fe(Ee.nextYear()),Ce=X.getTime();Ce<te?K=Ee.year-1:Ce>=De?K=Ee.year+1:K=Ee.year;break}case"x":{const Ee=ve(X.getUTCFullYear(),X.getUTCMonth()),te=fe(Ee),De=Ee.nextMonth(),Ce=fe(De),Fe=X.getTime();Fe<te?K=Ee.previousMonth().month+1:Fe>=Ce?K=De.month+1:K=Ee.month+1;break}case"H":K=X.getUTCHours();break;case"h":K=X.getUTCHours(),K=K%12,K===0&&(K=12);break;case"P":K=X.getUTCHours()>=12?"pm":"am";break;case"m":K=X.getUTCMinutes();break;case"s":K=X.getUTCSeconds();break;case"f":K=X.getUTCMilliseconds();break;case"Z":case"z":break;case"C":K="ISO";break;case"E":K="ISO";break}return K};let ee=null;function Re(X,oe,K){var Ee=0,te=0;if(typeof K<"u"){const Dt=parseInt(K);Ee=Math.floor(Dt/100),te=Dt%100}var De=function(Dt,vt){var yt=ne(Dt,vt.component);if("YMDdFWwXxHhms".indexOf(vt.component)!==-1)if(vt.component==="Y"&&vt.n!==-1&&(yt=yt%Math.pow(10,vt.n)),vt.names){if(vt.component==="M"||vt.component==="x")yt=we[yt-1];else if(vt.component==="F")yt=he[yt];else throw{code:"D3133",value:vt.component};vt.names===Z.UPPER?yt=yt.toUpperCase():vt.names===Z.LOWER&&(yt=yt.toLowerCase()),vt.width&&yt.length>vt.width.max&&(yt=yt.substring(0,vt.width.max))}else yt=ie(yt,vt.integerFormat);else if(vt.component==="f")yt=ie(yt,vt.integerFormat);else if(vt.component==="Z"||vt.component==="z"){const St=Ee*100+te;if(vt.integerFormat.regular)yt=ie(St,vt.integerFormat);else{const lt=vt.integerFormat.mandatoryDigits;if(lt===1||lt===2)yt=ie(Ee,vt.integerFormat),te!==0&&(yt+=":"+N(te,"00"));else if(lt===3||lt===4)yt=ie(St,vt.integerFormat);else throw{code:"D3134",value:lt}}St>=0&&(yt="+"+yt),vt.component==="z"&&(yt="GMT"+yt),St===0&&vt.presentation2==="t"&&(yt="Z")}else vt.component==="P"&&vt.names===Z.UPPER&&(yt=yt.toUpperCase());return yt};let Ce;typeof oe>"u"?(ee===null&&(ee=Te("[Y0001]-[M01]-[D01]T[H01]:[m01]:[s01].[f001][Z01:01t]")),Ce=ee):Ce=Te(oe);const Fe=(60*Ee+te)*60*1e3,rt=new Date(X+Fe);let Lt="";return Ce.parts.forEach(function(Dt){Dt.type==="literal"?Lt+=Dt.value:Lt+=De(rt,Dt)}),Lt}function B(X){var oe={};if(X.type==="datetime")oe.type="datetime",oe.parts=X.parts.map(function(K){var Ee={};if(K.type==="literal")Ee.regex=K.value.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");else if(K.component==="Z"||K.component==="z"){let De;Array.isArray(K.integerFormat.groupingSeparators)||(De=K.integerFormat.groupingSeparators),Ee.regex="",K.component==="z"&&(Ee.regex="GMT"),Ee.regex+="[-+][0-9]+",De&&(Ee.regex+=De.character+"[0-9]+"),Ee.parse=function(Ce){K.component==="z"&&(Ce=Ce.substring(3));let Fe=0,rt=0;return De?(Fe=Number.parseInt(Ce.substring(0,Ce.indexOf(De.character))),rt=Number.parseInt(Ce.substring(Ce.indexOf(De.character)+1))):Ce.length-1<=2?Fe=Number.parseInt(Ce):(Fe=Number.parseInt(Ce.substring(0,3)),rt=Number.parseInt(Ce.substring(3))),Fe*60+rt}}else if(K.integerFormat)Ee=B(K.integerFormat);else{Ee.regex="[a-zA-Z]+";var te={};if(K.component==="M"||K.component==="x")we.forEach(function(De,Ce){K.width&&K.width.max?te[De.substring(0,K.width.max)]=Ce+1:te[De]=Ce+1});else if(K.component==="F")he.forEach(function(De,Ce){Ce>0&&(K.width&&K.width.max?te[De.substring(0,K.width.max)]=Ce:te[De]=Ce)});else if(K.component==="P")te={am:0,AM:0,pm:1,PM:1};else throw{code:"D3133",value:K.component};Ee.parse=function(De){return te[De]}}return Ee.component=K.component,Ee});else{oe.type="integer";const K=X.case===Z.UPPER;switch(X.primary){case z.LETTERS:oe.regex=K?"[A-Z]+":"[a-z]+",oe.parse=function(Ee){return V(Ee,K?"A":"a")};break;case z.ROMAN:oe.regex=K?"[MDCLXVI]+":"[mdclxvi]+",oe.parse=function(Ee){return Y(K?Ee:Ee.toUpperCase())};break;case z.WORDS:oe.regex="(?:"+Object.keys(A).concat("and","[\\-, ]").join("|")+")+",oe.parse=function(Ee){return L(Ee.toLowerCase())};break;case z.DECIMAL:oe.regex="[0-9]",X.parseWidth?oe.regex+=`{${X.parseWidth}}`:oe.regex+="+",X.ordinal&&(oe.regex+="(?:th|st|nd|rd)"),oe.parse=function(Ee){let te=Ee;return X.ordinal&&(te=Ee.substring(0,Ee.length-2)),X.regular?te=te.split(",").join(""):X.groupingSeparators.forEach(De=>{te=te.split(De.character).join("")}),X.zeroCode!==48&&(te=te.split("").map(De=>String.fromCodePoint(De.codePointAt(0)-X.zeroCode+48)).join("")),parseInt(te)};break;case z.SEQUENCE:throw{code:"D3130",value:X.token}}}return oe}function W(X,oe){if(typeof X>"u")return;const K=M(oe);return B(K).parse(X)}function $e(X,oe){const K=Te(oe),Ee=B(K),te="^"+Ee.parts.map(rt=>"("+rt.regex+")").join("")+"$";var Ce=new RegExp(te,"i").exec(X);if(Ce!==null){const lt={};for(let qe=1;qe<Ce.length;qe++){const U=Ee.parts[qe-1];U.parse&&(lt[U.component]=U.parse(Ce[qe]))}if(Object.getOwnPropertyNames(lt).length===0)return;let sn=0;const mn=qe=>{sn<<=1,sn+=qe?1:0},fn=qe=>!(~qe&sn)&&!!(qe&sn);"YXMxWwdD".split("").forEach(qe=>mn(lt[qe]));const Tn=!fn(161)&&fn(130),rr=fn(84),or=!rr&&fn(72);sn=0,"PHhmsf".split("").forEach(qe=>mn(lt[qe]));const ot=!fn(23)&&fn(47),Rn=(Tn?"YD":rr?"XxwF":or?"XWF":"YMD")+(ot?"Phmsf":"Hmsf"),Dn=this.environment.timestamp;let On=!1,Ln=!1;if(Rn.split("").forEach(qe=>{if(typeof lt[qe]>"u")On?(lt[qe]="MDd".indexOf(qe)!==-1?1:0,Ln=!0):lt[qe]=ne(Dn,qe);else if(On=!0,Ln)throw{code:"D3136"}}),lt.M>0?lt.M-=1:lt.M=0,Tn){const qe=Date.UTC(lt.Y,0),U=(lt.d-1)*1e3*60*60*24,J=new Date(qe+U);lt.M=J.getUTCMonth(),lt.D=J.getUTCDate()}if(rr)throw{code:"D3136"};if(or)throw{code:"D3136"};ot&&(lt.H=lt.h===12?0:lt.h,lt.P===1&&(lt.H+=12));var Fe=Date.UTC(lt.Y,lt.M,lt.D,lt.H,lt.m,lt.s,lt.f);return(lt.Z||lt.z)&&(Fe-=(lt.Z||lt.z)*60*1e3),Fe}}var Be=new RegExp("^\\d{4}(-[01]\\d)*(-[0-3]\\d)*(T[0-2]\\d:[0-5]\\d:[0-5]\\d)*(\\.\\d+)?([+-][0-2]\\d:?[0-5]\\d|Z)?$");function Qe(X,oe){if(!(typeof X>"u"))if(typeof oe>"u"){if(!Be.test(X))throw{stack:new Error().stack,code:"D3110",value:X};return Date.parse(X)}else return $e.call(this,X,oe)}function We(X,oe,K){if(!(typeof X>"u"))return Re.call(this,X,oe,K)}return{formatInteger:N,parseInteger:W,fromMillis:We,toMillis:Qe}}();s.exports=d},{"./utils":6}],2:[function(i,s,c){(function(p){(function(){var d=i("./utils");const v=(()=>{var b=d.isNumeric,S=d.isArrayOfStrings,T=d.isArrayOfNumbers,w=d.createSequence,R=d.isSequence,A=d.isFunction,L=d.isLambda,P=d.isPromise,j=d.getFunctionArity,G=d.isDeepEqual,Y=d.stringToArray;function k($){if(!(typeof $>"u")){var F=0;return $.forEach(function(q){F+=q}),F}}function V($){return typeof $>"u"?0:$.length}function N($){if(!(typeof $>"u"||$.length===0))return Math.max.apply(Math,$)}function z($){if(!(typeof $>"u"||$.length===0))return Math.min.apply(Math,$)}function Z($){if(!(typeof $>"u"||$.length===0)){var F=0;return $.forEach(function(q){F+=q}),F/$.length}}function ie($,F=!1){if(!(typeof $>"u")){var q;if(typeof $=="string")q=$;else if(A($))q="";else{if(typeof $=="number"&&!isFinite($))throw{code:"D3001",value:$,stack:new Error().stack};var me=F?2:0;Array.isArray($)&&$.outerWrapper&&($=$[0]),q=JSON.stringify($,function(ue,Ie){return typeof Ie<"u"&&Ie!==null&&Ie.toPrecision&&b(Ie)?Number(Ie.toPrecision(15)):Ie&&A(Ie)?"":Ie},me)}return q}}function ge($,F,q){if(!(typeof $>"u")){var me=Y($),ue=me.length;if(ue+F<0&&(F=0),typeof q<"u"){if(q<=0)return"";var Ie=F>=0?F+q:ue+F+q;return me.slice(F,Ie).join("")}return me.slice(F).join("")}}function M($,F){if(!(typeof $>"u")){var q=$.indexOf(F);return q>-1?$.substr(0,q):$}}function se($,F){if(!(typeof $>"u")){var q=$.indexOf(F);return q>-1?$.substr(q+F.length):$}}function Te($){if(!(typeof $>"u"))return $.toLowerCase()}function he($){if(!(typeof $>"u"))return $.toUpperCase()}function we($){if(!(typeof $>"u"))return Y($).length}function ce($){if(!(typeof $>"u")){var F=$.replace(/[ \t\n\r]+/gm," ");return F.charAt(0)===" "&&(F=F.substring(1)),F.charAt(F.length-1)===" "&&(F=F.substring(0,F.length-1)),F}}function fe($,F,q){if(!(typeof $>"u")){(typeof q>"u"||q.length===0)&&(q=" ");var me;F=Math.trunc(F);var ue=Math.abs(F)-we($);if(ue>0){var Ie=new Array(ue+1).join(q);q.length>1&&(Ie=ge(Ie,0,ue)),F>0?me=$+Ie:me=Ie+$}else me=$;return me}}async function ve($,F){var q=$.apply(this,[F]);if(P(q)&&(q=await q),q&&!(typeof q.start=="number"||q.end==="number"||Array.isArray(q.groups)||A(q.next)))throw{code:"T1010",stack:new Error().stack};return q}async function pe($,F){if(!(typeof $>"u")){var q;if(typeof F=="string")q=$.indexOf(F)!==-1;else{var me=await ve(F,$);q=typeof me<"u"}return q}}async function ne($,F,q){if(!(typeof $>"u")){if(q<0)throw{stack:new Error().stack,value:q,code:"D3040",index:3};var me=w();if(typeof q>"u"||q>0){var ue=0,Ie=await ve(F,$);if(typeof Ie<"u")for(;typeof Ie<"u"&&(typeof q>"u"||ue<q);)me.push({match:Ie.match,index:Ie.start,groups:Ie.groups}),Ie=await ve(Ie.next),ue++}return me}}async function ee($,F,q,me){if(!(typeof $>"u")){var ue=this;if(F==="")throw{code:"D3010",stack:new Error().stack,value:F,index:2};if(me<0)throw{code:"D3011",stack:new Error().stack,value:me,index:4};var Ie;typeof q=="string"?Ie=function(pn){for(var Xn="",an=0,ae=q.indexOf("$",an);ae!==-1&&an<q.length;){Xn+=q.substring(an,ae),an=ae+1;var Ye=q.charAt(an);if(Ye==="$")Xn+="$",an++;else if(Ye==="0")Xn+=pn.match,an++;else{var at;if(pn.groups.length===0?at=1:at=Math.floor(Math.log(pn.groups.length)*Math.LOG10E)+1,ae=parseInt(q.substring(an,an+at),10),at>1&&ae>pn.groups.length&&(ae=parseInt(q.substring(an,an+at-1),10)),isNaN(ae))Xn+="$";else{if(pn.groups.length>0){var _t=pn.groups[ae-1];typeof _t<"u"&&(Xn+=_t)}an+=ae.toString().length}}ae=q.indexOf("$",an)}return Xn+=q.substring(an),Xn}:Ie=q;var nt="",Tt=0;if(typeof me>"u"||me>0){var $t=0;if(typeof F=="string"){for(var dn=$.indexOf(F,Tt);dn!==-1&&(typeof me>"u"||$t<me);)nt+=$.substring(Tt,dn),nt+=q,Tt=dn+F.length,$t++,dn=$.indexOf(F,Tt);nt+=$.substring(Tt)}else{var zt=await ve(F,$);if(typeof zt<"u"){for(;typeof zt<"u"&&(typeof me>"u"||$t<me);){nt+=$.substring(Tt,zt.start);var bn=Ie.apply(ue,[zt]);if(P(bn)&&(bn=await bn),typeof bn=="string")nt+=bn;else throw{code:"D3012",stack:new Error().stack,value:bn};Tt=zt.start+zt.match.length,$t++,zt=await ve(zt.next)}nt+=$.substring(Tt)}else nt=$}}else nt=$;return nt}}function Re($){if(!(typeof $>"u")){var F=typeof window<"u"?window.btoa:function(q){return new p.Buffer.from(q,"binary").toString("base64")};return F($)}}function B($){if(!(typeof $>"u")){var F=typeof window<"u"?window.atob:function(q){return new p.Buffer.from(q,"base64").toString("binary")};return F($)}}function W($){if(!(typeof $>"u")){var F;try{F=encodeURIComponent($)}catch{throw{code:"D3140",stack:new Error().stack,value:$,functionName:"encodeUrlComponent"}}return F}}function $e($){if(!(typeof $>"u")){var F;try{F=encodeURI($)}catch{throw{code:"D3140",stack:new Error().stack,value:$,functionName:"encodeUrl"}}return F}}function Be($){if(!(typeof $>"u")){var F;try{F=decodeURIComponent($)}catch{throw{code:"D3140",stack:new Error().stack,value:$,functionName:"decodeUrlComponent"}}return F}}function Qe($){if(!(typeof $>"u")){var F;try{F=decodeURI($)}catch{throw{code:"D3140",stack:new Error().stack,value:$,functionName:"decodeUrl"}}return F}}async function We($,F,q){if(!(typeof $>"u")){if(q<0)throw{code:"D3020",stack:new Error().stack,value:q,index:3};var me=[];if(typeof q>"u"||q>0)if(typeof F=="string")me=$.split(F,q);else{var ue=0,Ie=await ve(F,$);if(typeof Ie<"u"){for(var nt=0;typeof Ie<"u"&&(typeof q>"u"||ue<q);)me.push($.substring(nt,Ie.start)),nt=Ie.end,Ie=await ve(Ie.next),ue++;(typeof q>"u"||ue<q)&&me.push($.substring(nt))}else me.push($)}return me}}function X($,F){if(!(typeof $>"u"))return typeof F>"u"&&(F=""),$.join(F)}function oe($,F,q){if(!(typeof $>"u")){var me={"decimal-separator":".","grouping-separator":",","exponent-separator":"e",infinity:"Infinity","minus-sign":"-",NaN:"NaN",percent:"%","per-mille":"‰","zero-digit":"0",digit:"#","pattern-separator":";"},ue=me;typeof q<"u"&&Object.keys(q).forEach(function(Ht){ue[Ht]=q[Ht]});for(var Ie=[],nt=ue["zero-digit"].charCodeAt(0),Tt=nt;Tt<nt+10;Tt++)Ie.push(String.fromCharCode(Tt));var $t=Ie.concat([ue["decimal-separator"],ue["exponent-separator"],ue["grouping-separator"],ue.digit,ue["pattern-separator"]]),dn=F.split(ue["pattern-separator"]);if(dn.length>2)throw{code:"D3080",stack:new Error().stack};var zt=function(Ht){var Bn=function(){for(var Mn,Tr=0;Tr<Ht.length;Tr++)if(Mn=Ht.charAt(Tr),$t.indexOf(Mn)!==-1&&Mn!==ue["exponent-separator"])return Ht.substring(0,Tr)}(),gr=function(){for(var Mn,Tr=Ht.length-1;Tr>=0;Tr--)if(Mn=Ht.charAt(Tr),$t.indexOf(Mn)!==-1&&Mn!==ue["exponent-separator"])return Ht.substring(Tr+1)}(),yn=Ht.substring(Bn.length,Ht.length-gr.length),so,Er,To,_i,uo=Ht.indexOf(ue["exponent-separator"],Bn.length);uo===-1||uo>Ht.length-gr.length?(so=yn,Er=void 0):(so=yn.substring(0,uo),Er=yn.substring(uo+1));var Zr=so.indexOf(ue["decimal-separator"]);return Zr===-1?(To=so,_i=gr):(To=so.substring(0,Zr),_i=so.substring(Zr+1)),{prefix:Bn,suffix:gr,activePart:yn,mantissaPart:so,exponentPart:Er,integerPart:To,fractionalPart:_i,subpicture:Ht}},bn=function(Ht){var Bn,gr,yn=Ht.subpicture,so=yn.indexOf(ue["decimal-separator"]);so!==yn.lastIndexOf(ue["decimal-separator"])&&(Bn="D3081"),yn.indexOf(ue.percent)!==yn.lastIndexOf(ue.percent)&&(Bn="D3082"),yn.indexOf(ue["per-mille"])!==yn.lastIndexOf(ue["per-mille"])&&(Bn="D3083"),yn.indexOf(ue.percent)!==-1&&yn.indexOf(ue["per-mille"])!==-1&&(Bn="D3084");var Er=!1;for(gr=0;gr<Ht.mantissaPart.length;gr++){var To=Ht.mantissaPart.charAt(gr);if(Ie.indexOf(To)!==-1||To===ue.digit){Er=!0;break}}Er||(Bn="D3085");var _i=Ht.activePart.split("").map(function(Mn){return $t.indexOf(Mn)===-1?"p":"a"}).join("");_i.indexOf("p")!==-1&&(Bn="D3086"),so!==-1?(yn.charAt(so-1)===ue["grouping-separator"]||yn.charAt(so+1)===ue["grouping-separator"])&&(Bn="D3087"):Ht.integerPart.charAt(Ht.integerPart.length-1)===ue["grouping-separator"]&&(Bn="D3088"),yn.indexOf(ue["grouping-separator"]+ue["grouping-separator"])!==-1&&(Bn="D3089");var uo=Ht.integerPart.indexOf(ue.digit);uo!==-1&&Ht.integerPart.substring(0,uo).split("").filter(function(Mn){return Ie.indexOf(Mn)>-1}).length>0&&(Bn="D3090"),uo=Ht.fractionalPart.lastIndexOf(ue.digit),uo!==-1&&Ht.fractionalPart.substring(uo).split("").filter(function(Mn){return Ie.indexOf(Mn)>-1}).length>0&&(Bn="D3091");var Zr=typeof Ht.exponentPart=="string";if(Zr&&Ht.exponentPart.length>0&&(yn.indexOf(ue.percent)!==-1||yn.indexOf(ue["per-mille"])!==-1)&&(Bn="D3092"),Zr&&(Ht.exponentPart.length===0||Ht.exponentPart.split("").filter(function(Mn){return Ie.indexOf(Mn)===-1}).length>0)&&(Bn="D3093"),Bn)throw{code:Bn,stack:new Error().stack}},pn=function(Ht){var Bn=function(Hr,pl){for(var Fi=[],Qo=Hr.indexOf(ue["grouping-separator"]);Qo!==-1;){var hl=(pl?Hr.substring(0,Qo):Hr.substring(Qo)).split("").filter(function(Xo){return Ie.indexOf(Xo)!==-1||Xo===ue.digit}).length;Fi.push(hl),Qo=Ht.integerPart.indexOf(ue["grouping-separator"],Qo+1)}return Fi},gr=Bn(Ht.integerPart),yn=function(Hr){if(Hr.length===0)return 0;for(var pl=function(hl,Xo){return Xo===0?hl:pl(Xo,hl%Xo)},Fi=Hr.reduce(pl),Qo=1;Qo<=Hr.length;Qo++)if(Hr.indexOf(Qo*Fi)===-1)return 0;return Fi},so=yn(gr),Er=Bn(Ht.fractionalPart,!0),To=Ht.integerPart.split("").filter(function(Hr){return Ie.indexOf(Hr)!==-1}).length,_i=To,uo=Ht.fractionalPart.split(""),Zr=uo.filter(function(Hr){return Ie.indexOf(Hr)!==-1}).length,Mn=uo.filter(function(Hr){return Ie.indexOf(Hr)!==-1||Hr===ue.digit}).length,Tr=typeof Ht.exponentPart=="string";To===0&&Mn===0&&(Tr?(Zr=1,Mn=1):To=1),Tr&&To===0&&Ht.integerPart.indexOf(ue.digit)!==-1&&(To=1),To===0&&Zr===0&&(Zr=1);var fi=0;return Tr&&(fi=Ht.exponentPart.split("").filter(function(Hr){return Ie.indexOf(Hr)!==-1}).length),{integerPartGroupingPositions:gr,regularGrouping:so,minimumIntegerPartSize:To,scalingFactor:_i,prefix:Ht.prefix,fractionalPartGroupingPositions:Er,minimumFactionalPartSize:Zr,maximumFactionalPartSize:Mn,minimumExponentSize:fi,suffix:Ht.suffix,picture:Ht.subpicture}},Xn=dn.map(zt);Xn.forEach(bn);var an=Xn.map(pn),ae=ue["minus-sign"],Ye=ue["zero-digit"],at=ue["decimal-separator"],_t=ue["grouping-separator"];an.length===1&&(an.push(JSON.parse(JSON.stringify(an[0]))),an[1].prefix=ae+an[1].prefix);var At;$>=0?At=an[0]:At=an[1];var Wt;At.picture.indexOf(ue.percent)!==-1?Wt=$*100:At.picture.indexOf(ue["per-mille"])!==-1?Wt=$*1e3:Wt=$;var Jt,en;if(At.minimumExponentSize===0)Jt=Wt;else{var wr=Math.pow(10,At.scalingFactor),Zn=Math.pow(10,At.scalingFactor-1);for(Jt=Wt,en=0;Jt<Zn;)Jt*=10,en-=1;for(;Jt>wr;)Jt/=10,en+=1}var ar=Fe(Jt,At.maximumFactionalPartSize),Kr=function(Ht,Bn){var gr=Math.abs(Ht).toFixed(Bn);return Ye!=="0"&&(gr=gr.split("").map(function(yn){return yn>="0"&&yn<="9"?Ie[yn.charCodeAt(0)-48]:yn}).join("")),gr},Yt=Kr(ar,At.maximumFactionalPartSize),Jn=Yt.indexOf(".");for(Jn===-1?Yt=Yt+at:Yt=Yt.replace(".",at);Yt.charAt(0)===Ye;)Yt=Yt.substring(1);for(;Yt.charAt(Yt.length-1)===Ye;)Yt=Yt.substring(0,Yt.length-1);Jn=Yt.indexOf(at);var Xt=At.minimumIntegerPartSize-Jn,nn=At.minimumFactionalPartSize-(Yt.length-Jn-1);if(Yt=(Xt>0?new Array(Xt+1).join(Ye):"")+Yt,Yt=Yt+(nn>0?new Array(nn+1).join(Ye):""),Jn=Yt.indexOf(at),At.regularGrouping>0)for(var Qa=Math.floor((Jn-1)/At.regularGrouping),ci=1;ci<=Qa;ci++)Yt=[Yt.slice(0,Jn-ci*At.regularGrouping),_t,Yt.slice(Jn-ci*At.regularGrouping)].join("");else At.integerPartGroupingPositions.forEach(function(Ht){Yt=[Yt.slice(0,Jn-Ht),_t,Yt.slice(Jn-Ht)].join(""),Jn++});if(Jn=Yt.indexOf(at),At.fractionalPartGroupingPositions.forEach(function(Ht){Yt=[Yt.slice(0,Ht+Jn+1),_t,Yt.slice(Ht+Jn+1)].join("")}),Jn=Yt.indexOf(at),(At.picture.indexOf(at)===-1||Jn===Yt.length-1)&&(Yt=Yt.substring(0,Yt.length-1)),typeof en<"u"){var di=Kr(en,0);Xt=At.minimumExponentSize-di.length,Xt>0&&(di=new Array(Xt+1).join(Ye)+di),Yt=Yt+ue["exponent-separator"]+(en<0?ae:"")+di}return Yt=At.prefix+Yt+At.suffix,Yt}}function K($,F){if(!(typeof $>"u")){if($=Fe($),typeof F>"u"?F=10:F=Fe(F),F<2||F>36)throw{code:"D3100",stack:new Error().stack,value:F};var q=$.toString(F);return q}}function Ee($){var F;if(!(typeof $>"u")){if(typeof $=="number")F=$;else if(typeof $=="string"&&/^-?[0-9]+(\.[0-9]+)?([Ee][-+]?[0-9]+)?$/.test($)&&!isNaN(parseFloat($))&&isFinite($))F=parseFloat($);else if(typeof $=="string"&&/^(0[xX][0-9A-Fa-f]+)|(0[oO][0-7]+)|(0[bB][0-1]+)$/.test($))F=Number($);else if($===!0)F=1;else if($===!1)F=0;else throw{code:"D3030",value:$,stack:new Error().stack,index:1};return F}}function te($){var F;if(!(typeof $>"u"))return F=Math.abs($),F}function De($){var F;if(!(typeof $>"u"))return F=Math.floor($),F}function Ce($){var F;if(!(typeof $>"u"))return F=Math.ceil($),F}function Fe($,F){var q;if(!(typeof $>"u")){if(F){var me=$.toString().split("e");$=+(me[0]+"e"+(me[1]?+me[1]+F:F))}q=Math.round($);var ue=q-$;return Math.abs(ue)===.5&&Math.abs(q%2)===1&&(q=q-1),F&&(me=q.toString().split("e"),q=+(me[0]+"e"+(me[1]?+me[1]-F:-F))),Object.is(q,-0)&&(q=0),q}}function rt($){var F;if(!(typeof $>"u")){if($<0)throw{stack:new Error().stack,code:"D3060",index:1,value:$};return F=Math.sqrt($),F}}function Lt($,F){var q;if(!(typeof $>"u")){if(q=Math.pow($,F),!isFinite(q))throw{stack:new Error().stack,code:"D3061",index:1,value:$,exp:F};return q}}function Dt(){return Math.random()}function vt($){if(!(typeof $>"u")){var F=!1;if(Array.isArray($)){if($.length===1)F=vt($[0]);else if($.length>1){var q=$.filter(function(me){return vt(me)});F=q.length>0}}else typeof $=="string"?$.length>0&&(F=!0):b($)?$!==0&&(F=!0):$!==null&&typeof $=="object"&&!A($)?Object.keys($).length>0&&(F=!0):typeof $=="boolean"&&$===!0&&(F=!0);return F}}function yt($){if(!(typeof $>"u"))return!vt($)}function St($,F,q,me){var ue=[F],Ie=j($);return Ie>=2&&ue.push(q),Ie>=3&&ue.push(me),ue}async function lt($,F){if(!(typeof $>"u")){for(var q=w(),me=0;me<$.length;me++){var ue=St(F,$[me],me,$),Ie=await F.apply(this,ue);typeof Ie<"u"&&q.push(Ie)}return q}}async function sn($,F){if(!(typeof $>"u")){for(var q=w(),me=0;me<$.length;me++){var ue=$[me],Ie=St(F,ue,me,$),nt=await F.apply(this,Ie);vt(nt)&&q.push(ue)}return q}}async function mn($,F){if(!(typeof $>"u")){for(var q=!1,me,ue=0;ue<$.length;ue++){var Ie=$[ue],nt=!0;if(typeof F<"u"){var Tt=St(F,Ie,ue,$),$t=await F.apply(this,Tt);nt=vt($t)}if(nt)if(!q)me=Ie,q=!0;else throw{stack:new Error().stack,code:"D3138",index:ue}}if(!q)throw{stack:new Error().stack,code:"D3139"};return me}}function fn(){for(var $=[],F=Array.prototype.slice.call(arguments),q=Math.min.apply(Math,F.map(function(Ie){return Array.isArray(Ie)?Ie.length:0})),me=0;me<q;me++){var ue=F.map(Ie=>Ie[me]);$.push(ue)}return $}async function un($,F,q){if(!(typeof $>"u")){var me,ue=j(F);if(ue<2)throw{stack:new Error().stack,code:"D3050",index:1};var Ie;for(typeof q>"u"&&$.length>0?(me=$[0],Ie=1):(me=q,Ie=0);Ie<$.length;){var nt=[me,$[Ie]];ue>=3&&nt.push(Ie),ue>=4&&nt.push($),me=await F.apply(this,nt),Ie++}return me}}function Tn($){var F=w();if(Array.isArray($)){var q={};$.forEach(function(me){var ue=Tn(me);ue.forEach(function(Ie){q[Ie]=!0})}),F=Tn(q)}else $!==null&&typeof $=="object"&&!A($)&&Object.keys($).forEach(me=>F.push(me));return F}function rr($,F){var q;if(Array.isArray($)){q=w();for(var me=0;me<$.length;me++){var ue=rr($[me],F);typeof ue<"u"&&(Array.isArray(ue)?ue.forEach(Ie=>q.push(Ie)):q.push(ue))}}else $!==null&&typeof $=="object"&&!A($)&&(q=$[F]);return q}function or($,F){return typeof $>"u"?F:typeof F>"u"?$:(Array.isArray($)||($=w($)),Array.isArray(F)||(F=[F]),$.concat(F))}function it($){return!(typeof $>"u")}function ot($){var F=w();if(Array.isArray($))$.forEach(function(ue){F=or(F,ot(ue))});else if($!==null&&typeof $=="object"&&!L($))for(var q in $){var me={};me[q]=$[q],F.push(me)}else F=$;return F}function He($){if(!(typeof $>"u")){var F={};return $.forEach(function(q){for(var me in q)F[me]=q[me]}),F}}function cn($){if(!(typeof $>"u")){if($.length<=1)return $;for(var F=$.length,q=new Array(F),me=0;me<F;me++)q[F-me-1]=$[me];return q}}async function Rn($,F){var q=w();for(var me in $){var ue=St(F,$[me],me,$),Ie=await F.apply(this,ue);typeof Ie<"u"&&q.push(Ie)}return q}function Dn($){throw{code:"D3137",stack:new Error().stack,message:$||"$error() function evaluated"}}function On($,F){if(!$)throw{code:"D3141",stack:new Error().stack,message:F||"$assert() statement failed"}}function Ln($){if($!==void 0)return $===null?"null":b($)?"number":typeof $=="string"?"string":typeof $=="boolean"?"boolean":Array.isArray($)?"array":A($)?"function":"object"}async function qe($,F){if(!(typeof $>"u")){if($.length<=1)return $;var q;if(typeof F>"u"){if(!T($)&&!S($))throw{stack:new Error().stack,code:"D3070",index:1};q=async function(nt,Tt){return nt>Tt}}else q=F;var me=async function(nt,Tt){var $t=async function(zt,bn,pn){bn.length===0?Array.prototype.push.apply(zt,pn):pn.length===0?Array.prototype.push.apply(zt,bn):await q(bn[0],pn[0])?(zt.push(pn[0]),await $t(zt,bn,pn.slice(1))):(zt.push(bn[0]),await $t(zt,bn.slice(1),pn))},dn=[];return await $t(dn,nt,Tt),dn},ue=async function(nt){if(!Array.isArray(nt)||nt.length<=1)return nt;var Tt=Math.floor(nt.length/2),$t=nt.slice(0,Tt),dn=nt.slice(Tt);return $t=await ue($t),dn=await ue(dn),await me($t,dn)},Ie=await ue($);return Ie}}function U($){if(!(typeof $>"u")){if($.length<=1)return $;for(var F=new Array($.length),q=0;q<$.length;q++){var me=Math.floor(Math.random()*(q+1));q!==me&&(F[q]=F[me]),F[me]=$[q]}return F}}function J($){if(!(typeof $>"u")){if(!Array.isArray($)||$.length<=1)return $;for(var F=R($)?w():[],q=0;q<$.length;q++){for(var me=$[q],ue=!1,Ie=0;Ie<F.length;Ie++)if(G(me,F[Ie])){ue=!0;break}ue||F.push(me)}return F}}async function le($,F){var q={};for(var me in $){var ue=$[me],Ie=St(F,ue,me,$),nt=await F.apply(this,Ie);vt(nt)&&(q[me]=ue)}return Object.keys(q).length===0&&(q=void 0),q}return{sum:k,count:V,max:N,min:z,average:Z,string:ie,substring:ge,substringBefore:M,substringAfter:se,lowercase:Te,uppercase:he,length:we,trim:ce,pad:fe,match:ne,contains:pe,replace:ee,split:We,join:X,formatNumber:oe,formatBase:K,number:Ee,floor:De,ceil:Ce,round:Fe,abs:te,sqrt:rt,power:Lt,random:Dt,boolean:vt,not:yt,map:lt,zip:fn,filter:sn,single:mn,foldLeft:un,sift:le,keys:Tn,lookup:rr,append:or,exists:it,spread:ot,merge:He,reverse:cn,each:Rn,error:Dn,assert:On,type:Ln,sort:qe,shuffle:U,distinct:J,base64encode:Re,base64decode:B,encodeUrlComponent:W,encodeUrl:$e,decodeUrlComponent:Be,decodeUrl:Qe}})();s.exports=v}).call(this)}).call(this,typeof oO<"u"?oO:typeof self<"u"?self:typeof window<"u"?window:{})},{"./utils":6}],3:[function(i,s,c){var p=i("./datetime"),d=i("./functions"),v=i("./utils"),b=i("./parser"),S=i("./signature"),T=function(){var w=v.isNumeric,R=v.isArrayOfStrings,A=v.isArrayOfNumbers,L=v.createSequence,P=v.isSequence,j=v.isFunction,G=v.isLambda,Y=v.isIterable,k=v.isPromise,V=v.getFunctionArity,N=v.isDeepEqual,z=Dn(null);async function Z(U,J,le){var $,F=le.lookup(Symbol.for("jsonata.__evaluate_entry"));switch(F&&await F(U,J,le),U.type){case"path":$=await ie(U,J,le);break;case"binary":$=await we(U,J,le);break;case"unary":$=await ce(U,J,le);break;case"name":$=fe(U,J);break;case"string":case"number":case"value":$=ve(U);break;case"wildcard":$=pe(U,J);break;case"descendant":$=ee(U,J);break;case"parent":$=le.lookup(U.slot.label);break;case"condition":$=await De(U,J,le);break;case"block":$=await Ce(U,J,le);break;case"bind":$=await te(U,J,le);break;case"regex":$=Fe(U);break;case"function":$=await St(U,J,le);break;case"variable":$=rt(U,J,le);break;case"lambda":$=mn(U,J,le);break;case"partial":$=await fn(U,J,le);break;case"apply":$=await yt(U,J,le);break;case"transform":$=Dt(U,J,le);break}if(Object.prototype.hasOwnProperty.call(U,"predicate"))for(var q=0;q<U.predicate.length;q++)$=await he(U.predicate[q].expr,$,le);U.type!=="path"&&Object.prototype.hasOwnProperty.call(U,"group")&&($=await oe(U.group,$,le));var me=le.lookup(Symbol.for("jsonata.__evaluate_exit"));return me&&await me(U,J,le,$),$&&P($)&&!$.tupleStream&&(U.keepArray&&($.keepSingleton=!0),$.length===0?$=void 0:$.length===1&&($=$.keepSingleton?$:$[0])),$}async function ie(U,J,le){var $;Array.isArray(J)&&U.steps[0].type!=="variable"?$=J:$=L(J);for(var F,q=!1,me=void 0,ue=0;ue<U.steps.length;ue++){var Ie=U.steps[ue];if(Ie.tuple&&(q=!0),ue===0&&Ie.consarray?F=await Z(Ie,$,le):q?me=await Te(Ie,$,me,le):F=await M(Ie,$,le,ue===U.steps.length-1),!q&&(typeof F>"u"||F.length===0))break;typeof Ie.focus>"u"&&($=F)}if(q)if(U.tuple)F=me;else for(F=L(),ue=0;ue<me.length;ue++)F.push(me[ue]["@"]);return U.keepSingletonArray&&(Array.isArray(F)&&F.cons&&!F.sequence&&(F=L(F)),F.keepSingleton=!0),U.hasOwnProperty("group")&&(F=await oe(U.group,q?me:F,le)),F}function ge(U,J){var le=Dn(U);for(const $ in J)le.bind($,J[$]);return le}async function M(U,J,le,$){var F;if(U.type==="sort")return F=await Lt(U,J,le),U.stages&&(F=await se(U.stages,F,le)),F;F=L();for(var q=0;q<J.length;q++){var me=await Z(U,J[q],le);if(U.stages)for(var ue=0;ue<U.stages.length;ue++)me=await he(U.stages[ue].expr,me,le);typeof me<"u"&&F.push(me)}var Ie=L();return $&&F.length===1&&Array.isArray(F[0])&&!P(F[0])?Ie=F[0]:F.forEach(function(nt){!Array.isArray(nt)||nt.cons?Ie.push(nt):nt.forEach(Tt=>Ie.push(Tt))}),Ie}async function se(U,J,le){for(var $=J,F=0;F<U.length;F++){var q=U[F];switch(q.type){case"filter":$=await he(q.expr,$,le);break;case"index":for(var me=0;me<$.length;me++){var ue=$[me];ue[q.value]=me}break}}return $}async function Te(U,J,le,$){var F;if(U.type==="sort"){if(le)F=await Lt(U,le,$);else{var q=await Lt(U,J,$);F=L(),F.tupleStream=!0;for(var me=0;me<q.length;me++){var ue={"@":q[me]};ue[U.index]=me,F.push(ue)}}return U.stages&&(F=await se(U.stages,F,$)),F}F=L(),F.tupleStream=!0;var Ie=$;le===void 0&&(le=J.map(dn=>({"@":dn})));for(var nt=0;nt<le.length;nt++){Ie=ge($,le[nt]);var Tt=await Z(U,le[nt]["@"],Ie);if(typeof Tt<"u"){Array.isArray(Tt)||(Tt=[Tt]);for(var $t=0;$t<Tt.length;$t++)ue={},Object.assign(ue,le[nt]),Tt.tupleStream?Object.assign(ue,Tt[$t]):(U.focus?(ue[U.focus]=Tt[$t],ue["@"]=le[nt]["@"]):ue["@"]=Tt[$t],U.index&&(ue[U.index]=$t),U.ancestor&&(ue[U.ancestor.label]=le[nt]["@"])),F.push(ue)}}return U.stages&&(F=await se(U.stages,F,$)),F}async function he(U,J,le){var $=L();if(J&&J.tupleStream&&($.tupleStream=!0),Array.isArray(J)||(J=L(J)),U.type==="number"){var F=Math.floor(U.value);F<0&&(F=J.length+F);var q=await J[F];typeof q<"u"&&(Array.isArray(q)?$=q:$.push(q))}else for(F=0;F<J.length;F++){var q=J[F],me=q,ue=le;J.tupleStream&&(me=q["@"],ue=ge(le,q));var Ie=await Z(U,me,ue);w(Ie)&&(Ie=[Ie]),A(Ie)?Ie.forEach(function(Tt){var $t=Math.floor(Tt);$t<0&&($t=J.length+$t),$t===F&&$.push(q)}):d.boolean(Ie)&&$.push(q)}return $}async function we(U,J,le){var $,F=await Z(U.lhs,J,le),q=U.value,me=async()=>await Z(U.rhs,J,le);if(q==="and"||q==="or")try{return await Qe(F,me,q)}catch(Ie){throw Ie.position=U.position,Ie.token=q,Ie}var ue=await me();try{switch(q){case"+":case"-":case"*":case"/":case"%":$=B(F,ue,q);break;case"=":case"!=":$=W(F,ue,q);break;case"<":case"<=":case">":case">=":$=$e(F,ue,q);break;case"&":$=X(F,ue);break;case"..":$=Ee(F,ue);break;case"in":$=Be(F,ue);break}}catch(Ie){throw Ie.position=U.position,Ie.token=q,Ie}return $}async function ce(U,J,le){var $;switch(U.value){case"-":if($=await Z(U.expression,J,le),typeof $>"u")$=void 0;else if(w($))$=-$;else throw{code:"D1002",stack:new Error().stack,position:U.position,token:U.value,value:$};break;case"[":$=[];let me=await Promise.all(U.expressions.map(async(ue,Ie)=>(le.isParallelCall=Ie>0,[ue,await Z(ue,J,le)])));for(let ue of me){var[F,q]=ue;typeof q<"u"&&(F.value==="["?$.push(q):$=d.append($,q))}U.consarray&&Object.defineProperty($,"cons",{enumerable:!1,configurable:!1,value:!0});break;case"{":$=await oe(U,J,le);break}return $}function fe(U,J,le){return d.lookup(J,U.value)}function ve(U){return U.value}function pe(U,J){var le=L();return Array.isArray(J)&&J.outerWrapper&&J.length>0&&(J=J[0]),J!==null&&typeof J=="object"&&Object.keys(J).forEach(function($){var F=J[$];Array.isArray(F)?(F=ne(F),le=d.append(le,F)):le.push(F)}),le}function ne(U,J){return typeof J>"u"&&(J=[]),Array.isArray(U)?U.forEach(function(le){ne(le,J)}):J.push(U),J}function ee(U,J){var le,$=L();return typeof J<"u"&&(Re(J,$),$.length===1?le=$[0]:le=$),le}function Re(U,J){Array.isArray(U)||J.push(U),Array.isArray(U)?U.forEach(function(le){Re(le,J)}):U!==null&&typeof U=="object"&&Object.keys(U).forEach(function(le){Re(U[le],J)})}function B(U,J,le){var $;if(typeof U<"u"&&!w(U))throw{code:"T2001",stack:new Error().stack,value:U};if(typeof J<"u"&&!w(J))throw{code:"T2002",stack:new Error().stack,value:J};if(typeof U>"u"||typeof J>"u")return $;switch(le){case"+":$=U+J;break;case"-":$=U-J;break;case"*":$=U*J;break;case"/":$=U/J;break;case"%":$=U%J;break}return $}function W(U,J,le){var $,F=typeof U,q=typeof J;if(F==="undefined"||q==="undefined")return!1;switch(le){case"=":$=N(U,J);break;case"!=":$=!N(U,J);break}return $}function $e(U,J,le){var $,F=typeof U,q=typeof J,me=F==="undefined"||F==="string"||F==="number",ue=q==="undefined"||q==="string"||q==="number";if(!me||!ue)throw{code:"T2010",stack:new Error().stack,value:F==="string"||F==="number"?J:U};if(!(F==="undefined"||q==="undefined")){if(F!==q)throw{code:"T2009",stack:new Error().stack,value:U,value2:J};switch(le){case"<":$=U<J;break;case"<=":$=U<=J;break;case">":$=U>J;break;case">=":$=U>=J;break}return $}}function Be(U,J){var le=!1;if(typeof U>"u"||typeof J>"u")return!1;Array.isArray(J)||(J=[J]);for(var $=0;$<J.length;$++)if(J[$]===U){le=!0;break}return le}async function Qe(U,J,le){var $,F=We(U);switch(le){case"and":$=F&&We(await J());break;case"or":$=F||We(await J());break}return $}function We(U){var J=d.boolean(U);return typeof J>"u"?!1:J}function X(U,J){var le,$="",F="";return typeof U<"u"&&($=d.string(U)),typeof J<"u"&&(F=d.string(J)),le=$.concat(F),le}async function oe(U,J,le){var $={},F={},q=!!(J&&J.tupleStream);Array.isArray(J)||(J=L(J)),J.length===0&&J.push(void 0);for(var me=0;me<J.length;me++)for(var ue=J[me],Ie=q?ge(le,ue):le,nt=0;nt<U.lhs.length;nt++){var Tt=U.lhs[nt],$t=await Z(Tt[0],q?ue["@"]:ue,Ie);if(typeof $t!="string"&&$t!==void 0)throw{code:"T1003",stack:new Error().stack,position:U.position,value:$t};if($t!==void 0){var dn={data:ue,exprIndex:nt};if(F.hasOwnProperty($t)){if(F[$t].exprIndex!==nt)throw{code:"D1009",stack:new Error().stack,position:U.position,value:$t};F[$t].data=d.append(F[$t].data,ue)}else F[$t]=dn}}let zt=await Promise.all(Object.keys(F).map(async(pn,Xn)=>{let an=F[pn];var ae=an.data,Ye=le;if(q){var at=K(an.data);ae=at["@"],delete at["@"],Ye=ge(le,at)}return le.isParallelCall=Xn>0,[pn,await Z(U.lhs[an.exprIndex][1],ae,Ye)]}));for(let pn of zt){var[$t,bn]=await pn;typeof bn<"u"&&($[$t]=bn)}return $}function K(U){if(!Array.isArray(U))return U;var J={};Object.assign(J,U[0]);for(var le=1;le<U.length;le++)for(const $ in U[le])J[$]=d.append(J[$],U[le][$]);return J}function Ee(U,J){var le;if(typeof U<"u"&&!Number.isInteger(U))throw{code:"T2003",stack:new Error().stack,value:U};if(typeof J<"u"&&!Number.isInteger(J))throw{code:"T2004",stack:new Error().stack,value:J};if(typeof U>"u"||typeof J>"u"||U>J)return le;var $=J-U+1;if($>1e7)throw{code:"D2014",stack:new Error().stack,value:$};le=new Array($);for(var F=U,q=0;F<=J;F++,q++)le[q]=F;return le.sequence=!0,le}async function te(U,J,le){var $=await Z(U.rhs,J,le);return le.bind(U.lhs.value,$),$}async function De(U,J,le){var $,F=await Z(U.condition,J,le);return d.boolean(F)?$=await Z(U.then,J,le):typeof U.else<"u"&&($=await Z(U.else,J,le)),$}async function Ce(U,J,le){for(var $,F=Dn(le),q=0;q<U.expressions.length;q++)$=await Z(U.expressions[q],J,F);return $}function Fe(U){var J=new qe.RegexEngine(U.value),le=function($,F){var q;J.lastIndex=F||0;var me=J.exec($);if(me!==null){if(q={match:me[0],start:me.index,end:me.index+me[0].length,groups:[]},me.length>1)for(var ue=1;ue<me.length;ue++)q.groups.push(me[ue]);q.next=function(){if(!(J.lastIndex>=$.length)){var Ie=le($,J.lastIndex);if(Ie&&Ie.match==="")throw{code:"D1004",stack:new Error().stack,position:U.position,value:U.value.source};return Ie}}}return q};return le}function rt(U,J,le){var $;return U.value===""?$=J&&J.outerWrapper?J[0]:J:$=le.lookup(U.value),$}async function Lt(U,J,le){var $,F=J,q=!!J.tupleStream,me=async function(Ie,nt){for(var Tt=0,$t=0;Tt===0&&$t<U.terms.length;$t++){var dn=U.terms[$t],zt=Ie,bn=le;q&&(zt=Ie["@"],bn=ge(le,Ie));var pn=await Z(dn.expression,zt,bn);zt=nt,bn=le,q&&(zt=nt["@"],bn=ge(le,nt));var Xn=await Z(dn.expression,zt,bn),an=typeof pn,ae=typeof Xn;if(an==="undefined"){Tt=ae==="undefined"?0:1;continue}if(ae==="undefined"){Tt=-1;continue}if(!(an==="string"||an==="number")||!(ae==="string"||ae==="number"))throw{code:"T2008",stack:new Error().stack,position:U.position,value:an==="string"||an==="number"?Xn:pn};if(an!==ae)throw{code:"T2007",stack:new Error().stack,position:U.position,value:pn,value2:Xn};pn!==Xn&&(pn<Xn?Tt=-1:Tt=1,dn.descending===!0&&(Tt=-Tt))}return Tt===1},ue={environment:le,input:J};return $=await d.sort.apply(ue,[F,me]),$}function Dt(U,J,le){var $=async function(F){if(!(typeof F>"u")){var q=le.lookup("clone");if(!j(q))throw{code:"T2013",stack:new Error().stack,position:U.position};var me=await lt(q,[F],null,le),ue=await Z(U.pattern,me,le);if(typeof ue<"u"){Array.isArray(ue)||(ue=[ue]);for(var Ie=0;Ie<ue.length;Ie++){var nt=ue[Ie];if(nt&&(nt.isPrototypeOf(me)||nt instanceof Object.constructor))throw{code:"D1010",stack:new Error().stack,position:U.position};var Tt=await Z(U.update,nt,le),$t=typeof Tt;if($t!=="undefined"){if($t!=="object"||Tt===null||Array.isArray(Tt))throw{code:"T2011",stack:new Error().stack,position:U.update.position,value:Tt};for(var dn in Tt)nt[dn]=Tt[dn]}if(typeof U.delete<"u"){var zt=await Z(U.delete,nt,le);if(typeof zt<"u"){var bn=zt;if(Array.isArray(zt)||(zt=[zt]),!R(zt))throw{code:"T2012",stack:new Error().stack,position:U.delete.position,value:bn};for(var pn=0;pn<zt.length;pn++)typeof nt=="object"&&nt!==null&&delete nt[zt[pn]]}}}}return me}};return He($,"<(oa):o>")}var vt=b("function($f, $g) { function($x){ $g($f($x)) } }");async function yt(U,J,le){var $,F=await Z(U.lhs,J,le);if(U.rhs.type==="function")$=await St(U.rhs,J,le,{context:F});else{var q=await Z(U.rhs,J,le);if(!j(q))throw{code:"T2006",stack:new Error().stack,position:U.position,value:q};if(j(F)){var me=await Z(vt,null,le);$=await lt(me,[F,q],null,le)}else $=await lt(q,[F],null,le)}return $}async function St(U,J,le,$){var F,q=await Z(U.procedure,J,le);if(typeof q>"u"&&U.procedure.type==="path"&&le.lookup(U.procedure.steps[0].value))throw{code:"T1005",stack:new Error().stack,position:U.position,token:U.procedure.steps[0].value};var me=[];typeof $<"u"&&me.push($.context);for(var ue=0;ue<U.arguments.length;ue++){const nt=await Z(U.arguments[ue],J,le);if(j(nt)){const Tt=async function(...$t){return await lt(nt,$t,null,le)};Tt.arity=V(nt),me.push(Tt)}else me.push(nt)}var Ie=U.procedure.type==="path"?U.procedure.steps[0].value:U.procedure.value;try{typeof q=="object"&&(q.token=Ie,q.position=U.position),F=await lt(q,me,J,le)}catch(nt){throw nt.position||(nt.position=U.position),nt.token||(nt.token=Ie),nt}return F}async function lt(U,J,le,$){var F;for(F=await sn(U,J,le,$);G(F)&&F.thunk===!0;){var q=await Z(F.body.procedure,F.input,F.environment);F.body.procedure.type==="variable"&&(q.token=F.body.procedure.value),q.position=F.body.procedure.position;for(var me=[],ue=0;ue<F.body.arguments.length;ue++)me.push(await Z(F.body.arguments[ue],F.input,F.environment));F=await sn(q,me,le,$)}return F}async function sn(U,J,le,$){var F;try{var q=J;if(U&&(q=un(U.signature,J,le)),G(U))F=await Tn(U,q);else if(U&&U._jsonata_function===!0){var me={environment:$,input:le};F=U.implementation.apply(me,q),Y(F)&&(F=F.next().value),k(F)&&(F=await F)}else if(typeof U=="function")F=U.apply(le,q),k(F)&&(F=await F);else throw{code:"T1006",stack:new Error().stack}}catch(ue){throw U&&(typeof ue.token>"u"&&typeof U.token<"u"&&(ue.token=U.token),ue.position=U.position||ue.position),ue}return F}function mn(U,J,le){var $={_jsonata_lambda:!0,input:J,environment:le,arguments:U.arguments,signature:U.signature,body:U.body};return U.thunk===!0&&($.thunk=!0),$.apply=async function(F,q){return await lt($,q,J,F?F.environment:le)},$}async function fn(U,J,le){for(var $,F=[],q=0;q<U.arguments.length;q++){var me=U.arguments[q];me.type==="operator"&&me.value==="?"?F.push(me):F.push(await Z(me,J,le))}var ue=await Z(U.procedure,J,le);if(typeof ue>"u"&&U.procedure.type==="path"&&le.lookup(U.procedure.steps[0].value))throw{code:"T1007",stack:new Error().stack,position:U.position,token:U.procedure.steps[0].value};if(G(ue))$=rr(ue,F);else if(ue&&ue._jsonata_function===!0)$=or(ue.implementation,F);else if(typeof ue=="function")$=or(ue,F);else throw{code:"T1008",stack:new Error().stack,position:U.position,token:U.procedure.type==="path"?U.procedure.steps[0].value:U.procedure.value};return $}function un(U,J,le){if(typeof U>"u")return J;var $=U.validate(J,le);return $}async function Tn(U,J){var le,$=Dn(U.environment);return U.arguments.forEach(function(F,q){$.bind(F.value,J[q])}),typeof U.body=="function"?le=await it(U.body,$):le=await Z(U.body,U.input,$),le}function rr(U,J){var le=Dn(U.environment),$=[];U.arguments.forEach(function(q,me){var ue=J[me];ue&&ue.type==="operator"&&ue.value==="?"?$.push(q):le.bind(q.value,ue)});var F={_jsonata_lambda:!0,input:U.input,environment:le,arguments:$,body:U.body};return F}function or(U,J){var le=ot(U);le=le.map(function(me){return"$"+me.trim()});var $="function("+le.join(", ")+"){ _ }",F=b($);F.body=U;var q=rr(F,J);return q}async function it(U,J){var le=ot(U),$=le.map(function(me){return J.lookup(me.trim())}),F={environment:J},q=U.apply(F,$);return k(q)&&(q=await q),q}function ot(U){var J=U.toString(),le=/\(([^)]*)\)/.exec(J)[1],$=le.split(",");return $}function He(U,J){var le={_jsonata_function:!0,implementation:U};return typeof J<"u"&&(le.signature=S(J)),le}async function cn(U,J){if(!(typeof U>"u")){var le=this.input;typeof J<"u"&&(le=J,Array.isArray(le)&&!P(le)&&(le=L(le),le.outerWrapper=!0));try{var $=b(U,!1)}catch(q){throw Ln(q),{stack:new Error().stack,code:"D3120",value:q.message,error:q}}try{var F=await Z($,le,this.environment)}catch(q){throw Ln(q),{stack:new Error().stack,code:"D3121",value:q.message,error:q}}return F}}function Rn(U){if(!(typeof U>"u"))return JSON.parse(d.string(U))}function Dn(U){var J={};const le={bind:function(F,q){J[F]=q},lookup:function(F){var q;return J.hasOwnProperty(F)?q=J[F]:U&&(q=U.lookup(F)),q},timestamp:U?U.timestamp:null,async:U?U.async:!1,isParallelCall:U?U.isParallelCall:!1,global:U?U.global:{ancestry:[null]}};if(U){var $=U.lookup(Symbol.for("jsonata.__createFrame_push"));$&&$(U,le)}return le}z.bind("sum",He(d.sum,"<a<n>:n>")),z.bind("count",He(d.count,"<a:n>")),z.bind("max",He(d.max,"<a<n>:n>")),z.bind("min",He(d.min,"<a<n>:n>")),z.bind("average",He(d.average,"<a<n>:n>")),z.bind("string",He(d.string,"<x-b?:s>")),z.bind("substring",He(d.substring,"<s-nn?:s>")),z.bind("substringBefore",He(d.substringBefore,"<s-s:s>")),z.bind("substringAfter",He(d.substringAfter,"<s-s:s>")),z.bind("lowercase",He(d.lowercase,"<s-:s>")),z.bind("uppercase",He(d.uppercase,"<s-:s>")),z.bind("length",He(d.length,"<s-:n>")),z.bind("trim",He(d.trim,"<s-:s>")),z.bind("pad",He(d.pad,"<s-ns?:s>")),z.bind("match",He(d.match,"<s-f<s:o>n?:a<o>>")),z.bind("contains",He(d.contains,"<s-(sf):b>")),z.bind("replace",He(d.replace,"<s-(sf)(sf)n?:s>")),z.bind("split",He(d.split,"<s-(sf)n?:a<s>>")),z.bind("join",He(d.join,"<a<s>s?:s>")),z.bind("formatNumber",He(d.formatNumber,"<n-so?:s>")),z.bind("formatBase",He(d.formatBase,"<n-n?:s>")),z.bind("formatInteger",He(p.formatInteger,"<n-s:s>")),z.bind("parseInteger",He(p.parseInteger,"<s-s:n>")),z.bind("number",He(d.number,"<(nsb)-:n>")),z.bind("floor",He(d.floor,"<n-:n>")),z.bind("ceil",He(d.ceil,"<n-:n>")),z.bind("round",He(d.round,"<n-n?:n>")),z.bind("abs",He(d.abs,"<n-:n>")),z.bind("sqrt",He(d.sqrt,"<n-:n>")),z.bind("power",He(d.power,"<n-n:n>")),z.bind("random",He(d.random,"<:n>")),z.bind("boolean",He(d.boolean,"<x-:b>")),z.bind("not",He(d.not,"<x-:b>")),z.bind("map",He(d.map,"<af>")),z.bind("zip",He(d.zip,"<a+>")),z.bind("filter",He(d.filter,"<af>")),z.bind("single",He(d.single,"<af?>")),z.bind("reduce",He(d.foldLeft,"<afj?:j>")),z.bind("sift",He(d.sift,"<o-f?:o>")),z.bind("keys",He(d.keys,"<x-:a<s>>")),z.bind("lookup",He(d.lookup,"<x-s:x>")),z.bind("append",He(d.append,"<xx:a>")),z.bind("exists",He(d.exists,"<x:b>")),z.bind("spread",He(d.spread,"<x-:a<o>>")),z.bind("merge",He(d.merge,"<a<o>:o>")),z.bind("reverse",He(d.reverse,"<a:a>")),z.bind("each",He(d.each,"<o-f:a>")),z.bind("error",He(d.error,"<s?:x>")),z.bind("assert",He(d.assert,"<bs?:x>")),z.bind("type",He(d.type,"<x:s>")),z.bind("sort",He(d.sort,"<af?:a>")),z.bind("shuffle",He(d.shuffle,"<a:a>")),z.bind("distinct",He(d.distinct,"<x:x>")),z.bind("base64encode",He(d.base64encode,"<s-:s>")),z.bind("base64decode",He(d.base64decode,"<s-:s>")),z.bind("encodeUrlComponent",He(d.encodeUrlComponent,"<s-:s>")),z.bind("encodeUrl",He(d.encodeUrl,"<s-:s>")),z.bind("decodeUrlComponent",He(d.decodeUrlComponent,"<s-:s>")),z.bind("decodeUrl",He(d.decodeUrl,"<s-:s>")),z.bind("eval",He(cn,"<sx?:x>")),z.bind("toMillis",He(p.toMillis,"<s-s?:n>")),z.bind("fromMillis",He(p.fromMillis,"<n-s?s?:s>")),z.bind("clone",He(Rn,"<(oa)-:o>"));var On={S0101:"String literal must be terminated by a matching quote",S0102:"Number out of range: {{token}}",S0103:"Unsupported escape sequence: \\{{token}}",S0104:"The escape sequence \\u must be followed by 4 hex digits",S0105:"Quoted property name must be terminated with a backquote (`)",S0106:"Comment has no closing tag",S0201:"Syntax error: {{token}}",S0202:"Expected {{value}}, got {{token}}",S0203:"Expected {{value}} before end of expression",S0204:"Unknown operator: {{token}}",S0205:"Unexpected token: {{token}}",S0206:"Unknown expression type: {{token}}",S0207:"Unexpected end of expression",S0208:"Parameter {{value}} of function definition must be a variable name (start with $)",S0209:"A predicate cannot follow a grouping expression in a step",S0210:"Each step can only have one grouping expression",S0211:"The symbol {{token}} cannot be used as a unary operator",S0212:"The left side of := must be a variable name (start with $)",S0213:"The literal value {{value}} cannot be used as a step within a path expression",S0214:"The right side of {{token}} must be a variable name (start with $)",S0215:"A context variable binding must precede any predicates on a step",S0216:"A context variable binding must precede the 'order-by' clause on a step",S0217:"The object representing the 'parent' cannot be derived from this expression",S0301:"Empty regular expressions are not allowed",S0302:"No terminating / in regular expression",S0402:"Choice groups containing parameterized types are not supported",S0401:"Type parameters can only be applied to functions and arrays",S0500:"Attempted to evaluate an expression containing syntax error(s)",T0410:"Argument {{index}} of function {{token}} does not match function signature",T0411:"Context value is not a compatible type with argument {{index}} of function {{token}}",T0412:"Argument {{index}} of function {{token}} must be an array of {{type}}",D1001:"Number out of range: {{value}}",D1002:"Cannot negate a non-numeric value: {{value}}",T1003:"Key in object structure must evaluate to a string; got: {{value}}",D1004:"Regular expression matches zero length string",T1005:"Attempted to invoke a non-function. Did you mean ${{{token}}}?",T1006:"Attempted to invoke a non-function",T1007:"Attempted to partially apply a non-function. Did you mean ${{{token}}}?",T1008:"Attempted to partially apply a non-function",D1009:"Multiple key definitions evaluate to same key: {{value}}",D1010:"Attempted to access the Javascript object prototype",T1010:"The matcher function argument passed to function {{token}} does not return the correct object structure",T2001:"The left side of the {{token}} operator must evaluate to a number",T2002:"The right side of the {{token}} operator must evaluate to a number",T2003:"The left side of the range operator (..) must evaluate to an integer",T2004:"The right side of the range operator (..) must evaluate to an integer",D2005:"The left side of := must be a variable name (start with $)",T2006:"The right side of the function application operator ~> must be a function",T2007:"Type mismatch when comparing values {{value}} and {{value2}} in order-by clause",T2008:"The expressions within an order-by clause must evaluate to numeric or string values",T2009:"The values {{value}} and {{value2}} either side of operator {{token}} must be of the same data type",T2010:"The expressions either side of operator {{token}} must evaluate to numeric or string values",T2011:"The insert/update clause of the transform expression must evaluate to an object: {{value}}",T2012:"The delete clause of the transform expression must evaluate to a string or array of strings: {{value}}",T2013:"The transform expression clones the input object using the $clone() function. This has been overridden in the current scope by a non-function.",D2014:"The size of the sequence allocated by the range operator (..) must not exceed 1e6. Attempted to allocate {{value}}.",D3001:"Attempting to invoke string function on Infinity or NaN",D3010:"Second argument of replace function cannot be an empty string",D3011:"Fourth argument of replace function must evaluate to a positive number",D3012:"Attempted to replace a matched string with a non-string value",D3020:"Third argument of split function must evaluate to a positive number",D3030:"Unable to cast value to a number: {{value}}",D3040:"Third argument of match function must evaluate to a positive number",D3050:"The second argument of reduce function must be a function with at least two arguments",D3060:"The sqrt function cannot be applied to a negative number: {{value}}",D3061:"The power function has resulted in a value that cannot be represented as a JSON number: base={{value}}, exponent={{exp}}",D3070:"The single argument form of the sort function can only be applied to an array of strings or an array of numbers. Use the second argument to specify a comparison function",D3080:"The picture string must only contain a maximum of two sub-pictures",D3081:"The sub-picture must not contain more than one instance of the 'decimal-separator' character",D3082:"The sub-picture must not contain more than one instance of the 'percent' character",D3083:"The sub-picture must not contain more than one instance of the 'per-mille' character",D3084:"The sub-picture must not contain both a 'percent' and a 'per-mille' character",D3085:"The mantissa part of a sub-picture must contain at least one character that is either an 'optional digit character' or a member of the 'decimal digit family'",D3086:"The sub-picture must not contain a passive character that is preceded by an active character and that is followed by another active character",D3087:"The sub-picture must not contain a 'grouping-separator' character that appears adjacent to a 'decimal-separator' character",D3088:"The sub-picture must not contain a 'grouping-separator' at the end of the integer part",D3089:"The sub-picture must not contain two adjacent instances of the 'grouping-separator' character",D3090:"The integer part of the sub-picture must not contain a member of the 'decimal digit family' that is followed by an instance of the 'optional digit character'",D3091:"The fractional part of the sub-picture must not contain an instance of the 'optional digit character' that is followed by a member of the 'decimal digit family'",D3092:"A sub-picture that contains a 'percent' or 'per-mille' character must not contain a character treated as an 'exponent-separator'",D3093:"The exponent part of the sub-picture must comprise only of one or more characters that are members of the 'decimal digit family'",D3100:"The radix of the formatBase function must be between 2 and 36. It was given {{value}}",D3110:"The argument of the toMillis function must be an ISO 8601 formatted timestamp. Given {{value}}",D3120:"Syntax error in expression passed to function eval: {{value}}",D3121:"Dynamic error evaluating the expression passed to function eval: {{value}}",D3130:"Formatting or parsing an integer as a sequence starting with {{value}} is not supported by this implementation",D3131:"In a decimal digit pattern, all digits must be from the same decimal group",D3132:"Unknown component specifier {{value}} in date/time picture string",D3133:"The 'name' modifier can only be applied to months and days in the date/time picture string, not {{value}}",D3134:"The timezone integer format specifier cannot have more than four digits",D3135:"No matching closing bracket ']' in date/time picture string",D3136:"The date/time picture string is missing specifiers required to parse the timestamp",D3137:"{{{message}}}",D3138:"The $single() function expected exactly 1 matching result. Instead it matched more.",D3139:"The $single() function expected exactly 1 matching result. Instead it matched 0.",D3140:"Malformed URL passed to ${{{functionName}}}(): {{value}}",D3141:"{{{message}}}"};function Ln(U){var J=On[U.code];if(typeof J<"u"){var le=J.replace(/\{\{\{([^}]+)}}}/g,function(){return U[arguments[1]]});le=le.replace(/\{\{([^}]+)}}/g,function(){return JSON.stringify(U[arguments[1]])}),U.message=le}}function qe(U,J){var le,$;try{le=b(U,J&&J.recover),$=le.errors,delete le.errors}catch(me){throw Ln(me),me}var F=Dn(z),q=new Date;return F.bind("now",He(function(me,ue){return p.fromMillis(q.getTime(),me,ue)},"<s?s?:s>")),F.bind("millis",He(function(){return q.getTime()},"<:n>")),J&&J.RegexEngine?qe.RegexEngine=J.RegexEngine:qe.RegexEngine=RegExp,{evaluate:async function(me,ue,Ie){if(typeof $<"u"){var nt={code:"S0500",position:0};throw Ln(nt),nt}if(typeof ue<"u"){var Tt;Tt=Dn(F);for(var $t in ue)Tt.bind($t,ue[$t])}else Tt=F;Tt.bind("$",me),q=new Date,Tt.timestamp=q,Array.isArray(me)&&!P(me)&&(me=L(me),me.outerWrapper=!0);var dn;try{return dn=await Z(le,me,Tt),typeof Ie=="function"&&Ie(null,dn),dn}catch(zt){throw Ln(zt),zt}},assign:function(me,ue){F.bind(me,ue)},registerFunction:function(me,ue,Ie){var nt=He(ue,Ie);F.bind(me,nt)},ast:function(){return le},errors:function(){return $}}}return qe.parser=b,qe}();s.exports=T},{"./datetime":1,"./functions":2,"./parser":4,"./signature":5,"./utils":6}],4:[function(i,s,c){var p=i("./signature");const d=(()=>{var v={".":75,"[":80,"]":0,"{":70,"}":0,"(":80,")":0,",":0,"@":80,"#":80,";":80,":":80,"?":20,"+":50,"-":50,"*":60,"/":60,"%":60,"|":20,"=":40,"<":40,">":40,"^":40,"**":60,"..":20,":=":10,"!=":40,"<=":40,">=":40,"~>":40,"?:":40,"??":40,and:30,or:25,in:40,"&":50,"!":0,"~":0},b={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
|
|
3354
|
+
`,Zj=({formComponent:e})=>{const r=e.props,{label:i="Button",url:s,target:c="_self",btnStyle:p="alt",margin:d}=r||{};return I.jsx(Kj,{href:s,target:c,$btnStyle:p,$margin:d,children:i})},Jj={number:"number","number-input":"number",radio:"string","radio-group":"string","checkbox-single":"boolean","checkbox-multi":"any[]",scale:"number",dropdown:"string","titration-select":"string",datepicker:"string","text-input":"string","dosing-custom-units":"string",email:"string",password:"string",phone:"string",otp:"string",address:"object",hidden:"string","ga-client-id":"string","hipaa-consent":"string",file:"string"},eU={header:vj,image:yj,"weight-loss-chart":gj,"horizontal-rule":wj,"text-tip":Ej,"small-text":Tj,paragraph:Rj,"refill-request":Oj,"addon-request":Ij,"hipaa-consent":Wj,"link-button":Zj,video:Gj,"checkbox-single":W5,"checkbox-multi":Y5,radio:wO,"radio-group":wO,number:B5,dropdown:nL,datepicker:tL,scale:q5,"text-input":rL,textarea:G5,"titration-select":oL,"dosing-custom-units":hj,email:pL,password:hL,phone:mL,otp:rj,address:dj,hidden:fj,"ga-client-id":pj,file:mj},wr=()=>{const e=Fu.useDispatch(),r=Fu.useSelector(M=>$5(M)),i=Fu.useSelector(M=>A5(M)),s=Fu.useSelector(M=>k5(M)),c=Fu.useSelector(M=>P5(M)),p=Fu.useSelector(M=>N5(M)),d=Fu.useSelector(M=>I5(M)),v=Ve.useCallback((M,se)=>{e(S5({field:M,value:se}))},[e]),b=Ve.useCallback(M=>r[M],[r]),S=Ve.useCallback(()=>r,[r]),T=Ve.useCallback(M=>{e(C5(M))},[e]),w=Ve.useCallback(M=>{e(w5(M))},[e]),R=Ve.useCallback((M,se)=>{e(E5({field:M,error:se}))},[e]),A=Ve.useCallback(M=>i[M],[i]),L=Ve.useCallback(M=>{e(T5(M))},[e]),P=Ve.useCallback(()=>s,[s]),j=Ve.useCallback((M,se)=>{e(L5({[M]:se}))},[e]),G=Ve.useCallback(M=>{const se={id:M.customerId??null,profile:M.data};e(M5(se))},[e]),Y=Ve.useCallback(M=>d==null?void 0:d[M],[d]),k=Ve.useCallback(()=>d,[d]),V=Ve.useCallback(M=>{e(R5(M))},[e]),N=Ve.useCallback(()=>c,[c]),z=Ve.useCallback(M=>{e(O5(M))},[e]),Z=Ve.useCallback(()=>p,[p]),ie=Ve.useCallback((M,se)=>{v(M,se),j(M,se)},[v,j]),ge=Ve.useCallback(M=>{const se={};return M.flowForms&&M.flowForms.forEach(Te=>{var he;(he=Te.form)!=null&&he.formComponents&&Te.form.formComponents.forEach(we=>{const ce=we.componentId||"";if(Jj[ce]){const ve=we.props,pe=ve==null?void 0:ve.propertyId;pe&&(se[pe]=null)}})}),se},[]);return{setFlowValue:v,setFlowValues:T,resetAndSetFlowValues:w,getFlowValue:b,getAllFlowData:S,setFlowError:R,getFlowError:A,setDisableSubmitValue:L,getDisableSubmitValue:P,setPatientValue:j,setPatientValues:G,getPatientValue:Y,getFullPatient:k,setCurrentFlowValue:V,getCurrentFlowValue:N,setCurrentFormValue:z,getCurrentFormValue:Z,setFlowAndPatientValue:ie,generateFormDataFromFlow:ge}};function A0(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var bC={exports:{}},Y$;function tU(){return Y$||(Y$=1,function(e,r){(function(i){e.exports=i()})(function(){return function(){function i(s,c,p){function d(S,T){if(!c[S]){if(!s[S]){var w=typeof A0=="function"&&A0;if(!T&&w)return w(S,!0);if(v)return v(S,!0);var R=new Error("Cannot find module '"+S+"'");throw R.code="MODULE_NOT_FOUND",R}var A=c[S]={exports:{}};s[S][0].call(A.exports,function(L){var P=s[S][1][L];return d(P||L)},A,A.exports,i,s,c,p)}return c[S].exports}for(var v=typeof A0=="function"&&A0,b=0;b<p.length;b++)d(p[b]);return d}return i}()({1:[function(i,s,c){const p=i("./utils"),d=function(){const v=p.stringToArray,b=["Zero","One","Two","Three","Four","Five","Six","Seven","Eight","Nine","Ten","Eleven","Twelve","Thirteen","Fourteen","Fifteen","Sixteen","Seventeen","Eighteen","Nineteen"],S=["Zeroth","First","Second","Third","Fourth","Fifth","Sixth","Seventh","Eighth","Ninth","Tenth","Eleventh","Twelfth","Thirteenth","Fourteenth","Fifteenth","Sixteenth","Seventeenth","Eighteenth","Nineteenth"],T=["Twenty","Thirty","Forty","Fifty","Sixty","Seventy","Eighty","Ninety","Hundred"],w=["Thousand","Million","Billion","Trillion"];function R(X,oe){var K=function(te,De,Ce){var Fe="";if(te<=19)Fe=(De?" and ":"")+(Ce?S[te]:b[te]);else if(te<100){const Lt=Math.floor(te/10),Dt=te%10;Fe=(De?" and ":"")+T[Lt-2],Dt>0?Fe+="-"+K(Dt,!1,Ce):Ce&&(Fe=Fe.substring(0,Fe.length-1)+"ieth")}else if(te<1e3){const Lt=Math.floor(te/100),Dt=te%100;Fe=(De?", ":"")+b[Lt]+" Hundred",Dt>0?Fe+=K(Dt,!0,Ce):Ce&&(Fe+="th")}else{var rt=Math.floor(Math.log10(te)/3);rt>w.length&&(rt=w.length);const Lt=Math.pow(10,rt*3),Dt=Math.floor(te/Lt),vt=te-Dt*Lt;Fe=(De?", ":"")+K(Dt,!1,!1)+" "+w[rt-1],vt>0?Fe+=K(vt,!0,Ce):Ce&&(Fe+="th")}return Fe},Ee=K(X,!1,oe);return Ee}const A={};b.forEach(function(X,oe){A[X.toLowerCase()]=oe}),S.forEach(function(X,oe){A[X.toLowerCase()]=oe}),T.forEach(function(X,oe){const K=X.toLowerCase();A[K]=(oe+2)*10,A[K.substring(0,X.length-1)+"ieth"]=A[K]}),A.hundredth=100,w.forEach(function(X,oe){const K=X.toLowerCase(),Ee=Math.pow(10,(oe+1)*3);A[K]=Ee,A[K+"th"]=Ee});function L(X){const K=X.split(/,\s|\sand\s|[\s\\-]/).map(De=>A[De]);let Ee=[0];return K.forEach(De=>{if(De<100){let Ce=Ee.pop();Ce>=1e3&&(Ee.push(Ce),Ce=0),Ee.push(Ce+De)}else Ee.push(Ee.pop()*De)}),Ee.reduce((De,Ce)=>De+Ce,0)}const P=[[1e3,"m"],[900,"cm"],[500,"d"],[400,"cd"],[100,"c"],[90,"xc"],[50,"l"],[40,"xl"],[10,"x"],[9,"ix"],[5,"v"],[4,"iv"],[1,"i"]],j={M:1e3,D:500,C:100,L:50,X:10,V:5,I:1};function G(X){for(var oe=0;oe<P.length;oe++){const K=P[oe];if(X>=K[0])return K[1]+G(X-K[0])}return""}function Y(X){for(var oe=0,K=1,Ee=X.length-1;Ee>=0;Ee--){const te=X[Ee],De=j[te];De<K?oe-=De:(K=De,oe+=De)}return oe}function k(X,oe){for(var K=[],Ee=oe.charCodeAt(0);X>0;)K.unshift(String.fromCharCode((X-1)%26+Ee)),X=Math.floor((X-1)/26);return K.join("")}function V(X,oe){for(var K=oe.charCodeAt(0),Ee=0,te=0;te<X.length;te++)Ee+=(X.charCodeAt(X.length-te-1)-K+1)*Math.pow(26,te);return Ee}function N(X,oe){if(typeof X>"u")return;X=Math.floor(X);const K=M(oe);return ie(X,K)}const z={DECIMAL:"decimal",LETTERS:"letters",ROMAN:"roman",WORDS:"words",SEQUENCE:"sequence"},Z={UPPER:"upper",LOWER:"lower",TITLE:"title"};function ie(X,oe){let K;const Ee=X<0;switch(X=Math.abs(X),oe.primary){case z.LETTERS:K=k(X,oe.case===Z.UPPER?"A":"a");break;case z.ROMAN:K=G(X),oe.case===Z.UPPER&&(K=K.toUpperCase());break;case z.WORDS:K=R(X,oe.ordinal),oe.case===Z.UPPER?K=K.toUpperCase():oe.case===Z.LOWER&&(K=K.toLowerCase());break;case z.DECIMAL:K=""+X;var te=oe.mandatoryDigits-K.length;if(te>0){var De=new Array(te+1).join("0");K=De+K}if(oe.zeroCode!==48&&(K=v(K).map(Lt=>String.fromCodePoint(Lt.codePointAt(0)+oe.zeroCode-48)).join("")),oe.regular){const Lt=Math.floor((K.length-1)/oe.groupingSeparators.position);for(let Dt=Lt;Dt>0;Dt--){const vt=K.length-Dt*oe.groupingSeparators.position;K=K.substr(0,vt)+oe.groupingSeparators.character+K.substr(vt)}}else oe.groupingSeparators.reverse().forEach(Lt=>{const Dt=K.length-Lt.position;K=K.substr(0,Dt)+Lt.character+K.substr(Dt)});if(oe.ordinal){var Ce={1:"st",2:"nd",3:"rd"},Fe=K[K.length-1],rt=Ce[Fe];(!rt||K.length>1&&K[K.length-2]==="1")&&(rt="th"),K=K+rt}break;case z.SEQUENCE:throw{code:"D3130",value:oe.token}}return Ee&&(K="-"+K),K}const ge=[48,1632,1776,1984,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,42528,43216,43264,43472,43504,43600,44016,65296];function M(X){const oe={type:"integer",primary:z.DECIMAL,case:Z.LOWER,ordinal:!1};let K,Ee;const te=X.lastIndexOf(";");switch(te===-1?K=X:(K=X.substring(0,te),Ee=X.substring(te+1),Ee[0]==="o"&&(oe.ordinal=!0)),K){case"A":oe.case=Z.UPPER;case"a":oe.primary=z.LETTERS;break;case"I":oe.case=Z.UPPER;case"i":oe.primary=z.ROMAN;break;case"W":oe.case=Z.UPPER,oe.primary=z.WORDS;break;case"Ww":oe.case=Z.TITLE,oe.primary=z.WORDS;break;case"w":oe.primary=z.WORDS;break;default:{let De=null,Ce=0,Fe=0,rt=[],Lt=0;if(v(K).map(vt=>vt.codePointAt(0)).reverse().forEach(vt=>{let yt=!1;for(let St=0;St<ge.length;St++){const lt=ge[St];if(vt>=lt&&vt<=lt+9){if(yt=!0,Ce++,Lt++,De===null)De=lt;else if(lt!==De)throw{code:"D3131"};break}}yt||(vt===35?(Lt++,Fe++):rt.push({position:Lt,character:String.fromCodePoint(vt)}))}),Ce>0){oe.primary=z.DECIMAL,oe.zeroCode=De,oe.mandatoryDigits=Ce,oe.optionalDigits=Fe;const yt=function(St){if(St.length===0)return 0;const lt=St[0].character;for(let un=1;un<St.length;un++)if(St[un].character!==lt)return 0;const sn=St.map(un=>un.position),mn=function(un,Tn){return Tn===0?un:mn(Tn,un%Tn)},fn=sn.reduce(mn);for(let un=1;un<=sn.length;un++)if(sn.indexOf(un*fn)===-1)return 0;return fn}(rt);yt>0?(oe.regular=!0,oe.groupingSeparators={position:yt,character:rt[0].character}):(oe.regular=!1,oe.groupingSeparators=rt)}else oe.primary=z.SEQUENCE,oe.token=K}}return oe}const se={Y:"1",M:"1",D:"1",d:"1",F:"n",W:"1",w:"1",X:"1",x:"1",H:"1",h:"1",P:"n",m:"01",s:"01",f:"1",Z:"01:01",z:"01:01",C:"n",E:"n"};function Te(X){var oe=[];const K={type:"datetime",parts:oe},Ee=function(yt,St){if(St>yt){let lt=X.substring(yt,St);lt=lt.split("]]").join("]"),oe.push({type:"literal",value:lt})}};for(var te=0,De=0;De<X.length;){if(X.charAt(De)==="["){if(X.charAt(De+1)==="["){Ee(te,De),oe.push({type:"literal",value:"["}),De+=2,te=De;continue}if(Ee(te,De),te=De,De=X.indexOf("]",te),De===-1)throw{code:"D3135"};let yt=X.substring(te+1,De);yt=yt.split(/\s+/).join("");var Ce={type:"marker",component:yt.charAt(0)},Fe=yt.lastIndexOf(","),rt;if(Fe!==-1){const St=yt.substring(Fe+1),lt=St.indexOf("-");let sn,mn;const fn=function(Tn){if(!(typeof Tn>"u"||Tn==="*"))return parseInt(Tn)};lt===-1?sn=St:(sn=St.substring(0,lt),mn=St.substring(lt+1));const un={min:fn(sn),max:fn(mn)};Ce.width=un,rt=yt.substring(1,Fe)}else rt=yt.substring(1);if(rt.length===1)Ce.presentation1=rt;else if(rt.length>1){var Lt=rt.charAt(rt.length-1);"atco".indexOf(Lt)!==-1?(Ce.presentation2=Lt,Lt==="o"&&(Ce.ordinal=!0),Ce.presentation1=rt.substring(0,rt.length-1)):Ce.presentation1=rt}else Ce.presentation1=se[Ce.component];if(typeof Ce.presentation1>"u")throw{code:"D3132",value:Ce.component};if(Ce.presentation1[0]==="n")Ce.names=Z.LOWER;else if(Ce.presentation1[0]==="N")Ce.presentation1[1]==="n"?Ce.names=Z.TITLE:Ce.names=Z.UPPER;else if("YMDdFWwXxHhmsf".indexOf(Ce.component)!==-1){var Dt=Ce.presentation1;if(Ce.presentation2&&(Dt+=";"+Ce.presentation2),Ce.integerFormat=M(Dt),Ce.width&&Ce.width.min!==void 0&&Ce.integerFormat.mandatoryDigits<Ce.width.min&&(Ce.integerFormat.mandatoryDigits=Ce.width.min),Ce.component==="Y")if(Ce.n=-1,Ce.width&&Ce.width.max!==void 0)Ce.n=Ce.width.max,Ce.integerFormat.mandatoryDigits=Ce.n;else{var vt=Ce.integerFormat.mandatoryDigits+Ce.integerFormat.optionalDigits;vt>=2&&(Ce.n=vt)}const St=oe[oe.length-1];St&&St.integerFormat&&(St.integerFormat.parseWidth=St.integerFormat.mandatoryDigits)}(Ce.component==="Z"||Ce.component==="z")&&(Ce.integerFormat=M(Ce.presentation1)),oe.push(Ce),te=De+1}De++}return Ee(te,De),K}const he=["","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],we=["January","February","March","April","May","June","July","August","September","October","November","December"],ce=1e3*60*60*24,fe=function(X){const oe=Date.UTC(X.year,X.month);var K=new Date(oe).getUTCDay();return K===0&&(K=7),K>4?oe+(8-K)*ce:oe-(K-1)*ce},ve=function(X,oe){return{year:X,month:oe,nextMonth:function(){return oe===11?ve(X+1,0):ve(X,oe+1)},previousMonth:function(){return oe===0?ve(X-1,11):ve(X,oe-1)},nextYear:function(){return ve(X+1,oe)},previousYear:function(){return ve(X-1,oe)}}},pe=function(X,oe){return(oe-X)/(ce*7)+1},ne=(X,oe)=>{let K;switch(oe){case"Y":K=X.getUTCFullYear();break;case"M":K=X.getUTCMonth()+1;break;case"D":K=X.getUTCDate();break;case"d":{const Ee=Date.UTC(X.getUTCFullYear(),X.getUTCMonth(),X.getUTCDate()),te=Date.UTC(X.getUTCFullYear(),0);K=(Ee-te)/ce+1;break}case"F":K=X.getUTCDay(),K===0&&(K=7);break;case"W":{const Ee=ve(X.getUTCFullYear(),0),te=fe(Ee),De=Date.UTC(Ee.year,X.getUTCMonth(),X.getUTCDate());let Ce=pe(te,De);if(Ce>52){const Fe=fe(Ee.nextYear());De>=Fe&&(Ce=1)}else if(Ce<1){const Fe=fe(Ee.previousYear());Ce=pe(Fe,De)}K=Math.floor(Ce);break}case"w":{const Ee=ve(X.getUTCFullYear(),X.getUTCMonth()),te=fe(Ee),De=Date.UTC(Ee.year,Ee.month,X.getUTCDate());let Ce=pe(te,De);if(Ce>4){const Fe=fe(Ee.nextMonth());De>=Fe&&(Ce=1)}else if(Ce<1){const Fe=fe(Ee.previousMonth());Ce=pe(Fe,De)}K=Math.floor(Ce);break}case"X":{const Ee=ve(X.getUTCFullYear(),0),te=fe(Ee),De=fe(Ee.nextYear()),Ce=X.getTime();Ce<te?K=Ee.year-1:Ce>=De?K=Ee.year+1:K=Ee.year;break}case"x":{const Ee=ve(X.getUTCFullYear(),X.getUTCMonth()),te=fe(Ee),De=Ee.nextMonth(),Ce=fe(De),Fe=X.getTime();Fe<te?K=Ee.previousMonth().month+1:Fe>=Ce?K=De.month+1:K=Ee.month+1;break}case"H":K=X.getUTCHours();break;case"h":K=X.getUTCHours(),K=K%12,K===0&&(K=12);break;case"P":K=X.getUTCHours()>=12?"pm":"am";break;case"m":K=X.getUTCMinutes();break;case"s":K=X.getUTCSeconds();break;case"f":K=X.getUTCMilliseconds();break;case"Z":case"z":break;case"C":K="ISO";break;case"E":K="ISO";break}return K};let ee=null;function Re(X,oe,K){var Ee=0,te=0;if(typeof K<"u"){const Dt=parseInt(K);Ee=Math.floor(Dt/100),te=Dt%100}var De=function(Dt,vt){var yt=ne(Dt,vt.component);if("YMDdFWwXxHhms".indexOf(vt.component)!==-1)if(vt.component==="Y"&&vt.n!==-1&&(yt=yt%Math.pow(10,vt.n)),vt.names){if(vt.component==="M"||vt.component==="x")yt=we[yt-1];else if(vt.component==="F")yt=he[yt];else throw{code:"D3133",value:vt.component};vt.names===Z.UPPER?yt=yt.toUpperCase():vt.names===Z.LOWER&&(yt=yt.toLowerCase()),vt.width&&yt.length>vt.width.max&&(yt=yt.substring(0,vt.width.max))}else yt=ie(yt,vt.integerFormat);else if(vt.component==="f")yt=ie(yt,vt.integerFormat);else if(vt.component==="Z"||vt.component==="z"){const St=Ee*100+te;if(vt.integerFormat.regular)yt=ie(St,vt.integerFormat);else{const lt=vt.integerFormat.mandatoryDigits;if(lt===1||lt===2)yt=ie(Ee,vt.integerFormat),te!==0&&(yt+=":"+N(te,"00"));else if(lt===3||lt===4)yt=ie(St,vt.integerFormat);else throw{code:"D3134",value:lt}}St>=0&&(yt="+"+yt),vt.component==="z"&&(yt="GMT"+yt),St===0&&vt.presentation2==="t"&&(yt="Z")}else vt.component==="P"&&vt.names===Z.UPPER&&(yt=yt.toUpperCase());return yt};let Ce;typeof oe>"u"?(ee===null&&(ee=Te("[Y0001]-[M01]-[D01]T[H01]:[m01]:[s01].[f001][Z01:01t]")),Ce=ee):Ce=Te(oe);const Fe=(60*Ee+te)*60*1e3,rt=new Date(X+Fe);let Lt="";return Ce.parts.forEach(function(Dt){Dt.type==="literal"?Lt+=Dt.value:Lt+=De(rt,Dt)}),Lt}function B(X){var oe={};if(X.type==="datetime")oe.type="datetime",oe.parts=X.parts.map(function(K){var Ee={};if(K.type==="literal")Ee.regex=K.value.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");else if(K.component==="Z"||K.component==="z"){let De;Array.isArray(K.integerFormat.groupingSeparators)||(De=K.integerFormat.groupingSeparators),Ee.regex="",K.component==="z"&&(Ee.regex="GMT"),Ee.regex+="[-+][0-9]+",De&&(Ee.regex+=De.character+"[0-9]+"),Ee.parse=function(Ce){K.component==="z"&&(Ce=Ce.substring(3));let Fe=0,rt=0;return De?(Fe=Number.parseInt(Ce.substring(0,Ce.indexOf(De.character))),rt=Number.parseInt(Ce.substring(Ce.indexOf(De.character)+1))):Ce.length-1<=2?Fe=Number.parseInt(Ce):(Fe=Number.parseInt(Ce.substring(0,3)),rt=Number.parseInt(Ce.substring(3))),Fe*60+rt}}else if(K.integerFormat)Ee=B(K.integerFormat);else{Ee.regex="[a-zA-Z]+";var te={};if(K.component==="M"||K.component==="x")we.forEach(function(De,Ce){K.width&&K.width.max?te[De.substring(0,K.width.max)]=Ce+1:te[De]=Ce+1});else if(K.component==="F")he.forEach(function(De,Ce){Ce>0&&(K.width&&K.width.max?te[De.substring(0,K.width.max)]=Ce:te[De]=Ce)});else if(K.component==="P")te={am:0,AM:0,pm:1,PM:1};else throw{code:"D3133",value:K.component};Ee.parse=function(De){return te[De]}}return Ee.component=K.component,Ee});else{oe.type="integer";const K=X.case===Z.UPPER;switch(X.primary){case z.LETTERS:oe.regex=K?"[A-Z]+":"[a-z]+",oe.parse=function(Ee){return V(Ee,K?"A":"a")};break;case z.ROMAN:oe.regex=K?"[MDCLXVI]+":"[mdclxvi]+",oe.parse=function(Ee){return Y(K?Ee:Ee.toUpperCase())};break;case z.WORDS:oe.regex="(?:"+Object.keys(A).concat("and","[\\-, ]").join("|")+")+",oe.parse=function(Ee){return L(Ee.toLowerCase())};break;case z.DECIMAL:oe.regex="[0-9]",X.parseWidth?oe.regex+=`{${X.parseWidth}}`:oe.regex+="+",X.ordinal&&(oe.regex+="(?:th|st|nd|rd)"),oe.parse=function(Ee){let te=Ee;return X.ordinal&&(te=Ee.substring(0,Ee.length-2)),X.regular?te=te.split(",").join(""):X.groupingSeparators.forEach(De=>{te=te.split(De.character).join("")}),X.zeroCode!==48&&(te=te.split("").map(De=>String.fromCodePoint(De.codePointAt(0)-X.zeroCode+48)).join("")),parseInt(te)};break;case z.SEQUENCE:throw{code:"D3130",value:X.token}}}return oe}function W(X,oe){if(typeof X>"u")return;const K=M(oe);return B(K).parse(X)}function $e(X,oe){const K=Te(oe),Ee=B(K),te="^"+Ee.parts.map(rt=>"("+rt.regex+")").join("")+"$";var Ce=new RegExp(te,"i").exec(X);if(Ce!==null){const lt={};for(let qe=1;qe<Ce.length;qe++){const U=Ee.parts[qe-1];U.parse&&(lt[U.component]=U.parse(Ce[qe]))}if(Object.getOwnPropertyNames(lt).length===0)return;let sn=0;const mn=qe=>{sn<<=1,sn+=qe?1:0},fn=qe=>!(~qe&sn)&&!!(qe&sn);"YXMxWwdD".split("").forEach(qe=>mn(lt[qe]));const Tn=!fn(161)&&fn(130),rr=fn(84),or=!rr&&fn(72);sn=0,"PHhmsf".split("").forEach(qe=>mn(lt[qe]));const ot=!fn(23)&&fn(47),Rn=(Tn?"YD":rr?"XxwF":or?"XWF":"YMD")+(ot?"Phmsf":"Hmsf"),Dn=this.environment.timestamp;let On=!1,Ln=!1;if(Rn.split("").forEach(qe=>{if(typeof lt[qe]>"u")On?(lt[qe]="MDd".indexOf(qe)!==-1?1:0,Ln=!0):lt[qe]=ne(Dn,qe);else if(On=!0,Ln)throw{code:"D3136"}}),lt.M>0?lt.M-=1:lt.M=0,Tn){const qe=Date.UTC(lt.Y,0),U=(lt.d-1)*1e3*60*60*24,J=new Date(qe+U);lt.M=J.getUTCMonth(),lt.D=J.getUTCDate()}if(rr)throw{code:"D3136"};if(or)throw{code:"D3136"};ot&&(lt.H=lt.h===12?0:lt.h,lt.P===1&&(lt.H+=12));var Fe=Date.UTC(lt.Y,lt.M,lt.D,lt.H,lt.m,lt.s,lt.f);return(lt.Z||lt.z)&&(Fe-=(lt.Z||lt.z)*60*1e3),Fe}}var Be=new RegExp("^\\d{4}(-[01]\\d)*(-[0-3]\\d)*(T[0-2]\\d:[0-5]\\d:[0-5]\\d)*(\\.\\d+)?([+-][0-2]\\d:?[0-5]\\d|Z)?$");function Qe(X,oe){if(!(typeof X>"u"))if(typeof oe>"u"){if(!Be.test(X))throw{stack:new Error().stack,code:"D3110",value:X};return Date.parse(X)}else return $e.call(this,X,oe)}function We(X,oe,K){if(!(typeof X>"u"))return Re.call(this,X,oe,K)}return{formatInteger:N,parseInteger:W,fromMillis:We,toMillis:Qe}}();s.exports=d},{"./utils":6}],2:[function(i,s,c){(function(p){(function(){var d=i("./utils");const v=(()=>{var b=d.isNumeric,S=d.isArrayOfStrings,T=d.isArrayOfNumbers,w=d.createSequence,R=d.isSequence,A=d.isFunction,L=d.isLambda,P=d.isPromise,j=d.getFunctionArity,G=d.isDeepEqual,Y=d.stringToArray;function k($){if(!(typeof $>"u")){var F=0;return $.forEach(function(q){F+=q}),F}}function V($){return typeof $>"u"?0:$.length}function N($){if(!(typeof $>"u"||$.length===0))return Math.max.apply(Math,$)}function z($){if(!(typeof $>"u"||$.length===0))return Math.min.apply(Math,$)}function Z($){if(!(typeof $>"u"||$.length===0)){var F=0;return $.forEach(function(q){F+=q}),F/$.length}}function ie($,F=!1){if(!(typeof $>"u")){var q;if(typeof $=="string")q=$;else if(A($))q="";else{if(typeof $=="number"&&!isFinite($))throw{code:"D3001",value:$,stack:new Error().stack};var me=F?2:0;Array.isArray($)&&$.outerWrapper&&($=$[0]),q=JSON.stringify($,function(ue,Ie){return typeof Ie<"u"&&Ie!==null&&Ie.toPrecision&&b(Ie)?Number(Ie.toPrecision(15)):Ie&&A(Ie)?"":Ie},me)}return q}}function ge($,F,q){if(!(typeof $>"u")){var me=Y($),ue=me.length;if(ue+F<0&&(F=0),typeof q<"u"){if(q<=0)return"";var Ie=F>=0?F+q:ue+F+q;return me.slice(F,Ie).join("")}return me.slice(F).join("")}}function M($,F){if(!(typeof $>"u")){var q=$.indexOf(F);return q>-1?$.substr(0,q):$}}function se($,F){if(!(typeof $>"u")){var q=$.indexOf(F);return q>-1?$.substr(q+F.length):$}}function Te($){if(!(typeof $>"u"))return $.toLowerCase()}function he($){if(!(typeof $>"u"))return $.toUpperCase()}function we($){if(!(typeof $>"u"))return Y($).length}function ce($){if(!(typeof $>"u")){var F=$.replace(/[ \t\n\r]+/gm," ");return F.charAt(0)===" "&&(F=F.substring(1)),F.charAt(F.length-1)===" "&&(F=F.substring(0,F.length-1)),F}}function fe($,F,q){if(!(typeof $>"u")){(typeof q>"u"||q.length===0)&&(q=" ");var me;F=Math.trunc(F);var ue=Math.abs(F)-we($);if(ue>0){var Ie=new Array(ue+1).join(q);q.length>1&&(Ie=ge(Ie,0,ue)),F>0?me=$+Ie:me=Ie+$}else me=$;return me}}async function ve($,F){var q=$.apply(this,[F]);if(P(q)&&(q=await q),q&&!(typeof q.start=="number"||q.end==="number"||Array.isArray(q.groups)||A(q.next)))throw{code:"T1010",stack:new Error().stack};return q}async function pe($,F){if(!(typeof $>"u")){var q;if(typeof F=="string")q=$.indexOf(F)!==-1;else{var me=await ve(F,$);q=typeof me<"u"}return q}}async function ne($,F,q){if(!(typeof $>"u")){if(q<0)throw{stack:new Error().stack,value:q,code:"D3040",index:3};var me=w();if(typeof q>"u"||q>0){var ue=0,Ie=await ve(F,$);if(typeof Ie<"u")for(;typeof Ie<"u"&&(typeof q>"u"||ue<q);)me.push({match:Ie.match,index:Ie.start,groups:Ie.groups}),Ie=await ve(Ie.next),ue++}return me}}async function ee($,F,q,me){if(!(typeof $>"u")){var ue=this;if(F==="")throw{code:"D3010",stack:new Error().stack,value:F,index:2};if(me<0)throw{code:"D3011",stack:new Error().stack,value:me,index:4};var Ie;typeof q=="string"?Ie=function(pn){for(var Xn="",an=0,ae=q.indexOf("$",an);ae!==-1&&an<q.length;){Xn+=q.substring(an,ae),an=ae+1;var Ye=q.charAt(an);if(Ye==="$")Xn+="$",an++;else if(Ye==="0")Xn+=pn.match,an++;else{var at;if(pn.groups.length===0?at=1:at=Math.floor(Math.log(pn.groups.length)*Math.LOG10E)+1,ae=parseInt(q.substring(an,an+at),10),at>1&&ae>pn.groups.length&&(ae=parseInt(q.substring(an,an+at-1),10)),isNaN(ae))Xn+="$";else{if(pn.groups.length>0){var _t=pn.groups[ae-1];typeof _t<"u"&&(Xn+=_t)}an+=ae.toString().length}}ae=q.indexOf("$",an)}return Xn+=q.substring(an),Xn}:Ie=q;var nt="",Tt=0;if(typeof me>"u"||me>0){var $t=0;if(typeof F=="string"){for(var dn=$.indexOf(F,Tt);dn!==-1&&(typeof me>"u"||$t<me);)nt+=$.substring(Tt,dn),nt+=q,Tt=dn+F.length,$t++,dn=$.indexOf(F,Tt);nt+=$.substring(Tt)}else{var zt=await ve(F,$);if(typeof zt<"u"){for(;typeof zt<"u"&&(typeof me>"u"||$t<me);){nt+=$.substring(Tt,zt.start);var bn=Ie.apply(ue,[zt]);if(P(bn)&&(bn=await bn),typeof bn=="string")nt+=bn;else throw{code:"D3012",stack:new Error().stack,value:bn};Tt=zt.start+zt.match.length,$t++,zt=await ve(zt.next)}nt+=$.substring(Tt)}else nt=$}}else nt=$;return nt}}function Re($){if(!(typeof $>"u")){var F=typeof window<"u"?window.btoa:function(q){return new p.Buffer.from(q,"binary").toString("base64")};return F($)}}function B($){if(!(typeof $>"u")){var F=typeof window<"u"?window.atob:function(q){return new p.Buffer.from(q,"base64").toString("binary")};return F($)}}function W($){if(!(typeof $>"u")){var F;try{F=encodeURIComponent($)}catch{throw{code:"D3140",stack:new Error().stack,value:$,functionName:"encodeUrlComponent"}}return F}}function $e($){if(!(typeof $>"u")){var F;try{F=encodeURI($)}catch{throw{code:"D3140",stack:new Error().stack,value:$,functionName:"encodeUrl"}}return F}}function Be($){if(!(typeof $>"u")){var F;try{F=decodeURIComponent($)}catch{throw{code:"D3140",stack:new Error().stack,value:$,functionName:"decodeUrlComponent"}}return F}}function Qe($){if(!(typeof $>"u")){var F;try{F=decodeURI($)}catch{throw{code:"D3140",stack:new Error().stack,value:$,functionName:"decodeUrl"}}return F}}async function We($,F,q){if(!(typeof $>"u")){if(q<0)throw{code:"D3020",stack:new Error().stack,value:q,index:3};var me=[];if(typeof q>"u"||q>0)if(typeof F=="string")me=$.split(F,q);else{var ue=0,Ie=await ve(F,$);if(typeof Ie<"u"){for(var nt=0;typeof Ie<"u"&&(typeof q>"u"||ue<q);)me.push($.substring(nt,Ie.start)),nt=Ie.end,Ie=await ve(Ie.next),ue++;(typeof q>"u"||ue<q)&&me.push($.substring(nt))}else me.push($)}return me}}function X($,F){if(!(typeof $>"u"))return typeof F>"u"&&(F=""),$.join(F)}function oe($,F,q){if(!(typeof $>"u")){var me={"decimal-separator":".","grouping-separator":",","exponent-separator":"e",infinity:"Infinity","minus-sign":"-",NaN:"NaN",percent:"%","per-mille":"‰","zero-digit":"0",digit:"#","pattern-separator":";"},ue=me;typeof q<"u"&&Object.keys(q).forEach(function(Ht){ue[Ht]=q[Ht]});for(var Ie=[],nt=ue["zero-digit"].charCodeAt(0),Tt=nt;Tt<nt+10;Tt++)Ie.push(String.fromCharCode(Tt));var $t=Ie.concat([ue["decimal-separator"],ue["exponent-separator"],ue["grouping-separator"],ue.digit,ue["pattern-separator"]]),dn=F.split(ue["pattern-separator"]);if(dn.length>2)throw{code:"D3080",stack:new Error().stack};var zt=function(Ht){var Bn=function(){for(var Mn,Rr=0;Rr<Ht.length;Rr++)if(Mn=Ht.charAt(Rr),$t.indexOf(Mn)!==-1&&Mn!==ue["exponent-separator"])return Ht.substring(0,Rr)}(),gr=function(){for(var Mn,Rr=Ht.length-1;Rr>=0;Rr--)if(Mn=Ht.charAt(Rr),$t.indexOf(Mn)!==-1&&Mn!==ue["exponent-separator"])return Ht.substring(Rr+1)}(),yn=Ht.substring(Bn.length,Ht.length-gr.length),so,Tr,To,_i,uo=Ht.indexOf(ue["exponent-separator"],Bn.length);uo===-1||uo>Ht.length-gr.length?(so=yn,Tr=void 0):(so=yn.substring(0,uo),Tr=yn.substring(uo+1));var Zr=so.indexOf(ue["decimal-separator"]);return Zr===-1?(To=so,_i=gr):(To=so.substring(0,Zr),_i=so.substring(Zr+1)),{prefix:Bn,suffix:gr,activePart:yn,mantissaPart:so,exponentPart:Tr,integerPart:To,fractionalPart:_i,subpicture:Ht}},bn=function(Ht){var Bn,gr,yn=Ht.subpicture,so=yn.indexOf(ue["decimal-separator"]);so!==yn.lastIndexOf(ue["decimal-separator"])&&(Bn="D3081"),yn.indexOf(ue.percent)!==yn.lastIndexOf(ue.percent)&&(Bn="D3082"),yn.indexOf(ue["per-mille"])!==yn.lastIndexOf(ue["per-mille"])&&(Bn="D3083"),yn.indexOf(ue.percent)!==-1&&yn.indexOf(ue["per-mille"])!==-1&&(Bn="D3084");var Tr=!1;for(gr=0;gr<Ht.mantissaPart.length;gr++){var To=Ht.mantissaPart.charAt(gr);if(Ie.indexOf(To)!==-1||To===ue.digit){Tr=!0;break}}Tr||(Bn="D3085");var _i=Ht.activePart.split("").map(function(Mn){return $t.indexOf(Mn)===-1?"p":"a"}).join("");_i.indexOf("p")!==-1&&(Bn="D3086"),so!==-1?(yn.charAt(so-1)===ue["grouping-separator"]||yn.charAt(so+1)===ue["grouping-separator"])&&(Bn="D3087"):Ht.integerPart.charAt(Ht.integerPart.length-1)===ue["grouping-separator"]&&(Bn="D3088"),yn.indexOf(ue["grouping-separator"]+ue["grouping-separator"])!==-1&&(Bn="D3089");var uo=Ht.integerPart.indexOf(ue.digit);uo!==-1&&Ht.integerPart.substring(0,uo).split("").filter(function(Mn){return Ie.indexOf(Mn)>-1}).length>0&&(Bn="D3090"),uo=Ht.fractionalPart.lastIndexOf(ue.digit),uo!==-1&&Ht.fractionalPart.substring(uo).split("").filter(function(Mn){return Ie.indexOf(Mn)>-1}).length>0&&(Bn="D3091");var Zr=typeof Ht.exponentPart=="string";if(Zr&&Ht.exponentPart.length>0&&(yn.indexOf(ue.percent)!==-1||yn.indexOf(ue["per-mille"])!==-1)&&(Bn="D3092"),Zr&&(Ht.exponentPart.length===0||Ht.exponentPart.split("").filter(function(Mn){return Ie.indexOf(Mn)===-1}).length>0)&&(Bn="D3093"),Bn)throw{code:Bn,stack:new Error().stack}},pn=function(Ht){var Bn=function(Hr,pl){for(var Fi=[],Qo=Hr.indexOf(ue["grouping-separator"]);Qo!==-1;){var hl=(pl?Hr.substring(0,Qo):Hr.substring(Qo)).split("").filter(function(Xo){return Ie.indexOf(Xo)!==-1||Xo===ue.digit}).length;Fi.push(hl),Qo=Ht.integerPart.indexOf(ue["grouping-separator"],Qo+1)}return Fi},gr=Bn(Ht.integerPart),yn=function(Hr){if(Hr.length===0)return 0;for(var pl=function(hl,Xo){return Xo===0?hl:pl(Xo,hl%Xo)},Fi=Hr.reduce(pl),Qo=1;Qo<=Hr.length;Qo++)if(Hr.indexOf(Qo*Fi)===-1)return 0;return Fi},so=yn(gr),Tr=Bn(Ht.fractionalPart,!0),To=Ht.integerPart.split("").filter(function(Hr){return Ie.indexOf(Hr)!==-1}).length,_i=To,uo=Ht.fractionalPart.split(""),Zr=uo.filter(function(Hr){return Ie.indexOf(Hr)!==-1}).length,Mn=uo.filter(function(Hr){return Ie.indexOf(Hr)!==-1||Hr===ue.digit}).length,Rr=typeof Ht.exponentPart=="string";To===0&&Mn===0&&(Rr?(Zr=1,Mn=1):To=1),Rr&&To===0&&Ht.integerPart.indexOf(ue.digit)!==-1&&(To=1),To===0&&Zr===0&&(Zr=1);var fi=0;return Rr&&(fi=Ht.exponentPart.split("").filter(function(Hr){return Ie.indexOf(Hr)!==-1}).length),{integerPartGroupingPositions:gr,regularGrouping:so,minimumIntegerPartSize:To,scalingFactor:_i,prefix:Ht.prefix,fractionalPartGroupingPositions:Tr,minimumFactionalPartSize:Zr,maximumFactionalPartSize:Mn,minimumExponentSize:fi,suffix:Ht.suffix,picture:Ht.subpicture}},Xn=dn.map(zt);Xn.forEach(bn);var an=Xn.map(pn),ae=ue["minus-sign"],Ye=ue["zero-digit"],at=ue["decimal-separator"],_t=ue["grouping-separator"];an.length===1&&(an.push(JSON.parse(JSON.stringify(an[0]))),an[1].prefix=ae+an[1].prefix);var At;$>=0?At=an[0]:At=an[1];var Wt;At.picture.indexOf(ue.percent)!==-1?Wt=$*100:At.picture.indexOf(ue["per-mille"])!==-1?Wt=$*1e3:Wt=$;var Jt,en;if(At.minimumExponentSize===0)Jt=Wt;else{var Er=Math.pow(10,At.scalingFactor),Zn=Math.pow(10,At.scalingFactor-1);for(Jt=Wt,en=0;Jt<Zn;)Jt*=10,en-=1;for(;Jt>Er;)Jt/=10,en+=1}var ar=Fe(Jt,At.maximumFactionalPartSize),Kr=function(Ht,Bn){var gr=Math.abs(Ht).toFixed(Bn);return Ye!=="0"&&(gr=gr.split("").map(function(yn){return yn>="0"&&yn<="9"?Ie[yn.charCodeAt(0)-48]:yn}).join("")),gr},Yt=Kr(ar,At.maximumFactionalPartSize),Jn=Yt.indexOf(".");for(Jn===-1?Yt=Yt+at:Yt=Yt.replace(".",at);Yt.charAt(0)===Ye;)Yt=Yt.substring(1);for(;Yt.charAt(Yt.length-1)===Ye;)Yt=Yt.substring(0,Yt.length-1);Jn=Yt.indexOf(at);var Xt=At.minimumIntegerPartSize-Jn,nn=At.minimumFactionalPartSize-(Yt.length-Jn-1);if(Yt=(Xt>0?new Array(Xt+1).join(Ye):"")+Yt,Yt=Yt+(nn>0?new Array(nn+1).join(Ye):""),Jn=Yt.indexOf(at),At.regularGrouping>0)for(var Xa=Math.floor((Jn-1)/At.regularGrouping),ci=1;ci<=Xa;ci++)Yt=[Yt.slice(0,Jn-ci*At.regularGrouping),_t,Yt.slice(Jn-ci*At.regularGrouping)].join("");else At.integerPartGroupingPositions.forEach(function(Ht){Yt=[Yt.slice(0,Jn-Ht),_t,Yt.slice(Jn-Ht)].join(""),Jn++});if(Jn=Yt.indexOf(at),At.fractionalPartGroupingPositions.forEach(function(Ht){Yt=[Yt.slice(0,Ht+Jn+1),_t,Yt.slice(Ht+Jn+1)].join("")}),Jn=Yt.indexOf(at),(At.picture.indexOf(at)===-1||Jn===Yt.length-1)&&(Yt=Yt.substring(0,Yt.length-1)),typeof en<"u"){var di=Kr(en,0);Xt=At.minimumExponentSize-di.length,Xt>0&&(di=new Array(Xt+1).join(Ye)+di),Yt=Yt+ue["exponent-separator"]+(en<0?ae:"")+di}return Yt=At.prefix+Yt+At.suffix,Yt}}function K($,F){if(!(typeof $>"u")){if($=Fe($),typeof F>"u"?F=10:F=Fe(F),F<2||F>36)throw{code:"D3100",stack:new Error().stack,value:F};var q=$.toString(F);return q}}function Ee($){var F;if(!(typeof $>"u")){if(typeof $=="number")F=$;else if(typeof $=="string"&&/^-?[0-9]+(\.[0-9]+)?([Ee][-+]?[0-9]+)?$/.test($)&&!isNaN(parseFloat($))&&isFinite($))F=parseFloat($);else if(typeof $=="string"&&/^(0[xX][0-9A-Fa-f]+)|(0[oO][0-7]+)|(0[bB][0-1]+)$/.test($))F=Number($);else if($===!0)F=1;else if($===!1)F=0;else throw{code:"D3030",value:$,stack:new Error().stack,index:1};return F}}function te($){var F;if(!(typeof $>"u"))return F=Math.abs($),F}function De($){var F;if(!(typeof $>"u"))return F=Math.floor($),F}function Ce($){var F;if(!(typeof $>"u"))return F=Math.ceil($),F}function Fe($,F){var q;if(!(typeof $>"u")){if(F){var me=$.toString().split("e");$=+(me[0]+"e"+(me[1]?+me[1]+F:F))}q=Math.round($);var ue=q-$;return Math.abs(ue)===.5&&Math.abs(q%2)===1&&(q=q-1),F&&(me=q.toString().split("e"),q=+(me[0]+"e"+(me[1]?+me[1]-F:-F))),Object.is(q,-0)&&(q=0),q}}function rt($){var F;if(!(typeof $>"u")){if($<0)throw{stack:new Error().stack,code:"D3060",index:1,value:$};return F=Math.sqrt($),F}}function Lt($,F){var q;if(!(typeof $>"u")){if(q=Math.pow($,F),!isFinite(q))throw{stack:new Error().stack,code:"D3061",index:1,value:$,exp:F};return q}}function Dt(){return Math.random()}function vt($){if(!(typeof $>"u")){var F=!1;if(Array.isArray($)){if($.length===1)F=vt($[0]);else if($.length>1){var q=$.filter(function(me){return vt(me)});F=q.length>0}}else typeof $=="string"?$.length>0&&(F=!0):b($)?$!==0&&(F=!0):$!==null&&typeof $=="object"&&!A($)?Object.keys($).length>0&&(F=!0):typeof $=="boolean"&&$===!0&&(F=!0);return F}}function yt($){if(!(typeof $>"u"))return!vt($)}function St($,F,q,me){var ue=[F],Ie=j($);return Ie>=2&&ue.push(q),Ie>=3&&ue.push(me),ue}async function lt($,F){if(!(typeof $>"u")){for(var q=w(),me=0;me<$.length;me++){var ue=St(F,$[me],me,$),Ie=await F.apply(this,ue);typeof Ie<"u"&&q.push(Ie)}return q}}async function sn($,F){if(!(typeof $>"u")){for(var q=w(),me=0;me<$.length;me++){var ue=$[me],Ie=St(F,ue,me,$),nt=await F.apply(this,Ie);vt(nt)&&q.push(ue)}return q}}async function mn($,F){if(!(typeof $>"u")){for(var q=!1,me,ue=0;ue<$.length;ue++){var Ie=$[ue],nt=!0;if(typeof F<"u"){var Tt=St(F,Ie,ue,$),$t=await F.apply(this,Tt);nt=vt($t)}if(nt)if(!q)me=Ie,q=!0;else throw{stack:new Error().stack,code:"D3138",index:ue}}if(!q)throw{stack:new Error().stack,code:"D3139"};return me}}function fn(){for(var $=[],F=Array.prototype.slice.call(arguments),q=Math.min.apply(Math,F.map(function(Ie){return Array.isArray(Ie)?Ie.length:0})),me=0;me<q;me++){var ue=F.map(Ie=>Ie[me]);$.push(ue)}return $}async function un($,F,q){if(!(typeof $>"u")){var me,ue=j(F);if(ue<2)throw{stack:new Error().stack,code:"D3050",index:1};var Ie;for(typeof q>"u"&&$.length>0?(me=$[0],Ie=1):(me=q,Ie=0);Ie<$.length;){var nt=[me,$[Ie]];ue>=3&&nt.push(Ie),ue>=4&&nt.push($),me=await F.apply(this,nt),Ie++}return me}}function Tn($){var F=w();if(Array.isArray($)){var q={};$.forEach(function(me){var ue=Tn(me);ue.forEach(function(Ie){q[Ie]=!0})}),F=Tn(q)}else $!==null&&typeof $=="object"&&!A($)&&Object.keys($).forEach(me=>F.push(me));return F}function rr($,F){var q;if(Array.isArray($)){q=w();for(var me=0;me<$.length;me++){var ue=rr($[me],F);typeof ue<"u"&&(Array.isArray(ue)?ue.forEach(Ie=>q.push(Ie)):q.push(ue))}}else $!==null&&typeof $=="object"&&!A($)&&(q=$[F]);return q}function or($,F){return typeof $>"u"?F:typeof F>"u"?$:(Array.isArray($)||($=w($)),Array.isArray(F)||(F=[F]),$.concat(F))}function it($){return!(typeof $>"u")}function ot($){var F=w();if(Array.isArray($))$.forEach(function(ue){F=or(F,ot(ue))});else if($!==null&&typeof $=="object"&&!L($))for(var q in $){var me={};me[q]=$[q],F.push(me)}else F=$;return F}function He($){if(!(typeof $>"u")){var F={};return $.forEach(function(q){for(var me in q)F[me]=q[me]}),F}}function cn($){if(!(typeof $>"u")){if($.length<=1)return $;for(var F=$.length,q=new Array(F),me=0;me<F;me++)q[F-me-1]=$[me];return q}}async function Rn($,F){var q=w();for(var me in $){var ue=St(F,$[me],me,$),Ie=await F.apply(this,ue);typeof Ie<"u"&&q.push(Ie)}return q}function Dn($){throw{code:"D3137",stack:new Error().stack,message:$||"$error() function evaluated"}}function On($,F){if(!$)throw{code:"D3141",stack:new Error().stack,message:F||"$assert() statement failed"}}function Ln($){if($!==void 0)return $===null?"null":b($)?"number":typeof $=="string"?"string":typeof $=="boolean"?"boolean":Array.isArray($)?"array":A($)?"function":"object"}async function qe($,F){if(!(typeof $>"u")){if($.length<=1)return $;var q;if(typeof F>"u"){if(!T($)&&!S($))throw{stack:new Error().stack,code:"D3070",index:1};q=async function(nt,Tt){return nt>Tt}}else q=F;var me=async function(nt,Tt){var $t=async function(zt,bn,pn){bn.length===0?Array.prototype.push.apply(zt,pn):pn.length===0?Array.prototype.push.apply(zt,bn):await q(bn[0],pn[0])?(zt.push(pn[0]),await $t(zt,bn,pn.slice(1))):(zt.push(bn[0]),await $t(zt,bn.slice(1),pn))},dn=[];return await $t(dn,nt,Tt),dn},ue=async function(nt){if(!Array.isArray(nt)||nt.length<=1)return nt;var Tt=Math.floor(nt.length/2),$t=nt.slice(0,Tt),dn=nt.slice(Tt);return $t=await ue($t),dn=await ue(dn),await me($t,dn)},Ie=await ue($);return Ie}}function U($){if(!(typeof $>"u")){if($.length<=1)return $;for(var F=new Array($.length),q=0;q<$.length;q++){var me=Math.floor(Math.random()*(q+1));q!==me&&(F[q]=F[me]),F[me]=$[q]}return F}}function J($){if(!(typeof $>"u")){if(!Array.isArray($)||$.length<=1)return $;for(var F=R($)?w():[],q=0;q<$.length;q++){for(var me=$[q],ue=!1,Ie=0;Ie<F.length;Ie++)if(G(me,F[Ie])){ue=!0;break}ue||F.push(me)}return F}}async function le($,F){var q={};for(var me in $){var ue=$[me],Ie=St(F,ue,me,$),nt=await F.apply(this,Ie);vt(nt)&&(q[me]=ue)}return Object.keys(q).length===0&&(q=void 0),q}return{sum:k,count:V,max:N,min:z,average:Z,string:ie,substring:ge,substringBefore:M,substringAfter:se,lowercase:Te,uppercase:he,length:we,trim:ce,pad:fe,match:ne,contains:pe,replace:ee,split:We,join:X,formatNumber:oe,formatBase:K,number:Ee,floor:De,ceil:Ce,round:Fe,abs:te,sqrt:rt,power:Lt,random:Dt,boolean:vt,not:yt,map:lt,zip:fn,filter:sn,single:mn,foldLeft:un,sift:le,keys:Tn,lookup:rr,append:or,exists:it,spread:ot,merge:He,reverse:cn,each:Rn,error:Dn,assert:On,type:Ln,sort:qe,shuffle:U,distinct:J,base64encode:Re,base64decode:B,encodeUrlComponent:W,encodeUrl:$e,decodeUrlComponent:Be,decodeUrl:Qe}})();s.exports=v}).call(this)}).call(this,typeof oO<"u"?oO:typeof self<"u"?self:typeof window<"u"?window:{})},{"./utils":6}],3:[function(i,s,c){var p=i("./datetime"),d=i("./functions"),v=i("./utils"),b=i("./parser"),S=i("./signature"),T=function(){var w=v.isNumeric,R=v.isArrayOfStrings,A=v.isArrayOfNumbers,L=v.createSequence,P=v.isSequence,j=v.isFunction,G=v.isLambda,Y=v.isIterable,k=v.isPromise,V=v.getFunctionArity,N=v.isDeepEqual,z=Dn(null);async function Z(U,J,le){var $,F=le.lookup(Symbol.for("jsonata.__evaluate_entry"));switch(F&&await F(U,J,le),U.type){case"path":$=await ie(U,J,le);break;case"binary":$=await we(U,J,le);break;case"unary":$=await ce(U,J,le);break;case"name":$=fe(U,J);break;case"string":case"number":case"value":$=ve(U);break;case"wildcard":$=pe(U,J);break;case"descendant":$=ee(U,J);break;case"parent":$=le.lookup(U.slot.label);break;case"condition":$=await De(U,J,le);break;case"block":$=await Ce(U,J,le);break;case"bind":$=await te(U,J,le);break;case"regex":$=Fe(U);break;case"function":$=await St(U,J,le);break;case"variable":$=rt(U,J,le);break;case"lambda":$=mn(U,J,le);break;case"partial":$=await fn(U,J,le);break;case"apply":$=await yt(U,J,le);break;case"transform":$=Dt(U,J,le);break}if(Object.prototype.hasOwnProperty.call(U,"predicate"))for(var q=0;q<U.predicate.length;q++)$=await he(U.predicate[q].expr,$,le);U.type!=="path"&&Object.prototype.hasOwnProperty.call(U,"group")&&($=await oe(U.group,$,le));var me=le.lookup(Symbol.for("jsonata.__evaluate_exit"));return me&&await me(U,J,le,$),$&&P($)&&!$.tupleStream&&(U.keepArray&&($.keepSingleton=!0),$.length===0?$=void 0:$.length===1&&($=$.keepSingleton?$:$[0])),$}async function ie(U,J,le){var $;Array.isArray(J)&&U.steps[0].type!=="variable"?$=J:$=L(J);for(var F,q=!1,me=void 0,ue=0;ue<U.steps.length;ue++){var Ie=U.steps[ue];if(Ie.tuple&&(q=!0),ue===0&&Ie.consarray?F=await Z(Ie,$,le):q?me=await Te(Ie,$,me,le):F=await M(Ie,$,le,ue===U.steps.length-1),!q&&(typeof F>"u"||F.length===0))break;typeof Ie.focus>"u"&&($=F)}if(q)if(U.tuple)F=me;else for(F=L(),ue=0;ue<me.length;ue++)F.push(me[ue]["@"]);return U.keepSingletonArray&&(Array.isArray(F)&&F.cons&&!F.sequence&&(F=L(F)),F.keepSingleton=!0),U.hasOwnProperty("group")&&(F=await oe(U.group,q?me:F,le)),F}function ge(U,J){var le=Dn(U);for(const $ in J)le.bind($,J[$]);return le}async function M(U,J,le,$){var F;if(U.type==="sort")return F=await Lt(U,J,le),U.stages&&(F=await se(U.stages,F,le)),F;F=L();for(var q=0;q<J.length;q++){var me=await Z(U,J[q],le);if(U.stages)for(var ue=0;ue<U.stages.length;ue++)me=await he(U.stages[ue].expr,me,le);typeof me<"u"&&F.push(me)}var Ie=L();return $&&F.length===1&&Array.isArray(F[0])&&!P(F[0])?Ie=F[0]:F.forEach(function(nt){!Array.isArray(nt)||nt.cons?Ie.push(nt):nt.forEach(Tt=>Ie.push(Tt))}),Ie}async function se(U,J,le){for(var $=J,F=0;F<U.length;F++){var q=U[F];switch(q.type){case"filter":$=await he(q.expr,$,le);break;case"index":for(var me=0;me<$.length;me++){var ue=$[me];ue[q.value]=me}break}}return $}async function Te(U,J,le,$){var F;if(U.type==="sort"){if(le)F=await Lt(U,le,$);else{var q=await Lt(U,J,$);F=L(),F.tupleStream=!0;for(var me=0;me<q.length;me++){var ue={"@":q[me]};ue[U.index]=me,F.push(ue)}}return U.stages&&(F=await se(U.stages,F,$)),F}F=L(),F.tupleStream=!0;var Ie=$;le===void 0&&(le=J.map(dn=>({"@":dn})));for(var nt=0;nt<le.length;nt++){Ie=ge($,le[nt]);var Tt=await Z(U,le[nt]["@"],Ie);if(typeof Tt<"u"){Array.isArray(Tt)||(Tt=[Tt]);for(var $t=0;$t<Tt.length;$t++)ue={},Object.assign(ue,le[nt]),Tt.tupleStream?Object.assign(ue,Tt[$t]):(U.focus?(ue[U.focus]=Tt[$t],ue["@"]=le[nt]["@"]):ue["@"]=Tt[$t],U.index&&(ue[U.index]=$t),U.ancestor&&(ue[U.ancestor.label]=le[nt]["@"])),F.push(ue)}}return U.stages&&(F=await se(U.stages,F,$)),F}async function he(U,J,le){var $=L();if(J&&J.tupleStream&&($.tupleStream=!0),Array.isArray(J)||(J=L(J)),U.type==="number"){var F=Math.floor(U.value);F<0&&(F=J.length+F);var q=await J[F];typeof q<"u"&&(Array.isArray(q)?$=q:$.push(q))}else for(F=0;F<J.length;F++){var q=J[F],me=q,ue=le;J.tupleStream&&(me=q["@"],ue=ge(le,q));var Ie=await Z(U,me,ue);w(Ie)&&(Ie=[Ie]),A(Ie)?Ie.forEach(function(Tt){var $t=Math.floor(Tt);$t<0&&($t=J.length+$t),$t===F&&$.push(q)}):d.boolean(Ie)&&$.push(q)}return $}async function we(U,J,le){var $,F=await Z(U.lhs,J,le),q=U.value,me=async()=>await Z(U.rhs,J,le);if(q==="and"||q==="or")try{return await Qe(F,me,q)}catch(Ie){throw Ie.position=U.position,Ie.token=q,Ie}var ue=await me();try{switch(q){case"+":case"-":case"*":case"/":case"%":$=B(F,ue,q);break;case"=":case"!=":$=W(F,ue,q);break;case"<":case"<=":case">":case">=":$=$e(F,ue,q);break;case"&":$=X(F,ue);break;case"..":$=Ee(F,ue);break;case"in":$=Be(F,ue);break}}catch(Ie){throw Ie.position=U.position,Ie.token=q,Ie}return $}async function ce(U,J,le){var $;switch(U.value){case"-":if($=await Z(U.expression,J,le),typeof $>"u")$=void 0;else if(w($))$=-$;else throw{code:"D1002",stack:new Error().stack,position:U.position,token:U.value,value:$};break;case"[":$=[];let me=await Promise.all(U.expressions.map(async(ue,Ie)=>(le.isParallelCall=Ie>0,[ue,await Z(ue,J,le)])));for(let ue of me){var[F,q]=ue;typeof q<"u"&&(F.value==="["?$.push(q):$=d.append($,q))}U.consarray&&Object.defineProperty($,"cons",{enumerable:!1,configurable:!1,value:!0});break;case"{":$=await oe(U,J,le);break}return $}function fe(U,J,le){return d.lookup(J,U.value)}function ve(U){return U.value}function pe(U,J){var le=L();return Array.isArray(J)&&J.outerWrapper&&J.length>0&&(J=J[0]),J!==null&&typeof J=="object"&&Object.keys(J).forEach(function($){var F=J[$];Array.isArray(F)?(F=ne(F),le=d.append(le,F)):le.push(F)}),le}function ne(U,J){return typeof J>"u"&&(J=[]),Array.isArray(U)?U.forEach(function(le){ne(le,J)}):J.push(U),J}function ee(U,J){var le,$=L();return typeof J<"u"&&(Re(J,$),$.length===1?le=$[0]:le=$),le}function Re(U,J){Array.isArray(U)||J.push(U),Array.isArray(U)?U.forEach(function(le){Re(le,J)}):U!==null&&typeof U=="object"&&Object.keys(U).forEach(function(le){Re(U[le],J)})}function B(U,J,le){var $;if(typeof U<"u"&&!w(U))throw{code:"T2001",stack:new Error().stack,value:U};if(typeof J<"u"&&!w(J))throw{code:"T2002",stack:new Error().stack,value:J};if(typeof U>"u"||typeof J>"u")return $;switch(le){case"+":$=U+J;break;case"-":$=U-J;break;case"*":$=U*J;break;case"/":$=U/J;break;case"%":$=U%J;break}return $}function W(U,J,le){var $,F=typeof U,q=typeof J;if(F==="undefined"||q==="undefined")return!1;switch(le){case"=":$=N(U,J);break;case"!=":$=!N(U,J);break}return $}function $e(U,J,le){var $,F=typeof U,q=typeof J,me=F==="undefined"||F==="string"||F==="number",ue=q==="undefined"||q==="string"||q==="number";if(!me||!ue)throw{code:"T2010",stack:new Error().stack,value:F==="string"||F==="number"?J:U};if(!(F==="undefined"||q==="undefined")){if(F!==q)throw{code:"T2009",stack:new Error().stack,value:U,value2:J};switch(le){case"<":$=U<J;break;case"<=":$=U<=J;break;case">":$=U>J;break;case">=":$=U>=J;break}return $}}function Be(U,J){var le=!1;if(typeof U>"u"||typeof J>"u")return!1;Array.isArray(J)||(J=[J]);for(var $=0;$<J.length;$++)if(J[$]===U){le=!0;break}return le}async function Qe(U,J,le){var $,F=We(U);switch(le){case"and":$=F&&We(await J());break;case"or":$=F||We(await J());break}return $}function We(U){var J=d.boolean(U);return typeof J>"u"?!1:J}function X(U,J){var le,$="",F="";return typeof U<"u"&&($=d.string(U)),typeof J<"u"&&(F=d.string(J)),le=$.concat(F),le}async function oe(U,J,le){var $={},F={},q=!!(J&&J.tupleStream);Array.isArray(J)||(J=L(J)),J.length===0&&J.push(void 0);for(var me=0;me<J.length;me++)for(var ue=J[me],Ie=q?ge(le,ue):le,nt=0;nt<U.lhs.length;nt++){var Tt=U.lhs[nt],$t=await Z(Tt[0],q?ue["@"]:ue,Ie);if(typeof $t!="string"&&$t!==void 0)throw{code:"T1003",stack:new Error().stack,position:U.position,value:$t};if($t!==void 0){var dn={data:ue,exprIndex:nt};if(F.hasOwnProperty($t)){if(F[$t].exprIndex!==nt)throw{code:"D1009",stack:new Error().stack,position:U.position,value:$t};F[$t].data=d.append(F[$t].data,ue)}else F[$t]=dn}}let zt=await Promise.all(Object.keys(F).map(async(pn,Xn)=>{let an=F[pn];var ae=an.data,Ye=le;if(q){var at=K(an.data);ae=at["@"],delete at["@"],Ye=ge(le,at)}return le.isParallelCall=Xn>0,[pn,await Z(U.lhs[an.exprIndex][1],ae,Ye)]}));for(let pn of zt){var[$t,bn]=await pn;typeof bn<"u"&&($[$t]=bn)}return $}function K(U){if(!Array.isArray(U))return U;var J={};Object.assign(J,U[0]);for(var le=1;le<U.length;le++)for(const $ in U[le])J[$]=d.append(J[$],U[le][$]);return J}function Ee(U,J){var le;if(typeof U<"u"&&!Number.isInteger(U))throw{code:"T2003",stack:new Error().stack,value:U};if(typeof J<"u"&&!Number.isInteger(J))throw{code:"T2004",stack:new Error().stack,value:J};if(typeof U>"u"||typeof J>"u"||U>J)return le;var $=J-U+1;if($>1e7)throw{code:"D2014",stack:new Error().stack,value:$};le=new Array($);for(var F=U,q=0;F<=J;F++,q++)le[q]=F;return le.sequence=!0,le}async function te(U,J,le){var $=await Z(U.rhs,J,le);return le.bind(U.lhs.value,$),$}async function De(U,J,le){var $,F=await Z(U.condition,J,le);return d.boolean(F)?$=await Z(U.then,J,le):typeof U.else<"u"&&($=await Z(U.else,J,le)),$}async function Ce(U,J,le){for(var $,F=Dn(le),q=0;q<U.expressions.length;q++)$=await Z(U.expressions[q],J,F);return $}function Fe(U){var J=new qe.RegexEngine(U.value),le=function($,F){var q;J.lastIndex=F||0;var me=J.exec($);if(me!==null){if(q={match:me[0],start:me.index,end:me.index+me[0].length,groups:[]},me.length>1)for(var ue=1;ue<me.length;ue++)q.groups.push(me[ue]);q.next=function(){if(!(J.lastIndex>=$.length)){var Ie=le($,J.lastIndex);if(Ie&&Ie.match==="")throw{code:"D1004",stack:new Error().stack,position:U.position,value:U.value.source};return Ie}}}return q};return le}function rt(U,J,le){var $;return U.value===""?$=J&&J.outerWrapper?J[0]:J:$=le.lookup(U.value),$}async function Lt(U,J,le){var $,F=J,q=!!J.tupleStream,me=async function(Ie,nt){for(var Tt=0,$t=0;Tt===0&&$t<U.terms.length;$t++){var dn=U.terms[$t],zt=Ie,bn=le;q&&(zt=Ie["@"],bn=ge(le,Ie));var pn=await Z(dn.expression,zt,bn);zt=nt,bn=le,q&&(zt=nt["@"],bn=ge(le,nt));var Xn=await Z(dn.expression,zt,bn),an=typeof pn,ae=typeof Xn;if(an==="undefined"){Tt=ae==="undefined"?0:1;continue}if(ae==="undefined"){Tt=-1;continue}if(!(an==="string"||an==="number")||!(ae==="string"||ae==="number"))throw{code:"T2008",stack:new Error().stack,position:U.position,value:an==="string"||an==="number"?Xn:pn};if(an!==ae)throw{code:"T2007",stack:new Error().stack,position:U.position,value:pn,value2:Xn};pn!==Xn&&(pn<Xn?Tt=-1:Tt=1,dn.descending===!0&&(Tt=-Tt))}return Tt===1},ue={environment:le,input:J};return $=await d.sort.apply(ue,[F,me]),$}function Dt(U,J,le){var $=async function(F){if(!(typeof F>"u")){var q=le.lookup("clone");if(!j(q))throw{code:"T2013",stack:new Error().stack,position:U.position};var me=await lt(q,[F],null,le),ue=await Z(U.pattern,me,le);if(typeof ue<"u"){Array.isArray(ue)||(ue=[ue]);for(var Ie=0;Ie<ue.length;Ie++){var nt=ue[Ie];if(nt&&(nt.isPrototypeOf(me)||nt instanceof Object.constructor))throw{code:"D1010",stack:new Error().stack,position:U.position};var Tt=await Z(U.update,nt,le),$t=typeof Tt;if($t!=="undefined"){if($t!=="object"||Tt===null||Array.isArray(Tt))throw{code:"T2011",stack:new Error().stack,position:U.update.position,value:Tt};for(var dn in Tt)nt[dn]=Tt[dn]}if(typeof U.delete<"u"){var zt=await Z(U.delete,nt,le);if(typeof zt<"u"){var bn=zt;if(Array.isArray(zt)||(zt=[zt]),!R(zt))throw{code:"T2012",stack:new Error().stack,position:U.delete.position,value:bn};for(var pn=0;pn<zt.length;pn++)typeof nt=="object"&&nt!==null&&delete nt[zt[pn]]}}}}return me}};return He($,"<(oa):o>")}var vt=b("function($f, $g) { function($x){ $g($f($x)) } }");async function yt(U,J,le){var $,F=await Z(U.lhs,J,le);if(U.rhs.type==="function")$=await St(U.rhs,J,le,{context:F});else{var q=await Z(U.rhs,J,le);if(!j(q))throw{code:"T2006",stack:new Error().stack,position:U.position,value:q};if(j(F)){var me=await Z(vt,null,le);$=await lt(me,[F,q],null,le)}else $=await lt(q,[F],null,le)}return $}async function St(U,J,le,$){var F,q=await Z(U.procedure,J,le);if(typeof q>"u"&&U.procedure.type==="path"&&le.lookup(U.procedure.steps[0].value))throw{code:"T1005",stack:new Error().stack,position:U.position,token:U.procedure.steps[0].value};var me=[];typeof $<"u"&&me.push($.context);for(var ue=0;ue<U.arguments.length;ue++){const nt=await Z(U.arguments[ue],J,le);if(j(nt)){const Tt=async function(...$t){return await lt(nt,$t,null,le)};Tt.arity=V(nt),me.push(Tt)}else me.push(nt)}var Ie=U.procedure.type==="path"?U.procedure.steps[0].value:U.procedure.value;try{typeof q=="object"&&(q.token=Ie,q.position=U.position),F=await lt(q,me,J,le)}catch(nt){throw nt.position||(nt.position=U.position),nt.token||(nt.token=Ie),nt}return F}async function lt(U,J,le,$){var F;for(F=await sn(U,J,le,$);G(F)&&F.thunk===!0;){var q=await Z(F.body.procedure,F.input,F.environment);F.body.procedure.type==="variable"&&(q.token=F.body.procedure.value),q.position=F.body.procedure.position;for(var me=[],ue=0;ue<F.body.arguments.length;ue++)me.push(await Z(F.body.arguments[ue],F.input,F.environment));F=await sn(q,me,le,$)}return F}async function sn(U,J,le,$){var F;try{var q=J;if(U&&(q=un(U.signature,J,le)),G(U))F=await Tn(U,q);else if(U&&U._jsonata_function===!0){var me={environment:$,input:le};F=U.implementation.apply(me,q),Y(F)&&(F=F.next().value),k(F)&&(F=await F)}else if(typeof U=="function")F=U.apply(le,q),k(F)&&(F=await F);else throw{code:"T1006",stack:new Error().stack}}catch(ue){throw U&&(typeof ue.token>"u"&&typeof U.token<"u"&&(ue.token=U.token),ue.position=U.position||ue.position),ue}return F}function mn(U,J,le){var $={_jsonata_lambda:!0,input:J,environment:le,arguments:U.arguments,signature:U.signature,body:U.body};return U.thunk===!0&&($.thunk=!0),$.apply=async function(F,q){return await lt($,q,J,F?F.environment:le)},$}async function fn(U,J,le){for(var $,F=[],q=0;q<U.arguments.length;q++){var me=U.arguments[q];me.type==="operator"&&me.value==="?"?F.push(me):F.push(await Z(me,J,le))}var ue=await Z(U.procedure,J,le);if(typeof ue>"u"&&U.procedure.type==="path"&&le.lookup(U.procedure.steps[0].value))throw{code:"T1007",stack:new Error().stack,position:U.position,token:U.procedure.steps[0].value};if(G(ue))$=rr(ue,F);else if(ue&&ue._jsonata_function===!0)$=or(ue.implementation,F);else if(typeof ue=="function")$=or(ue,F);else throw{code:"T1008",stack:new Error().stack,position:U.position,token:U.procedure.type==="path"?U.procedure.steps[0].value:U.procedure.value};return $}function un(U,J,le){if(typeof U>"u")return J;var $=U.validate(J,le);return $}async function Tn(U,J){var le,$=Dn(U.environment);return U.arguments.forEach(function(F,q){$.bind(F.value,J[q])}),typeof U.body=="function"?le=await it(U.body,$):le=await Z(U.body,U.input,$),le}function rr(U,J){var le=Dn(U.environment),$=[];U.arguments.forEach(function(q,me){var ue=J[me];ue&&ue.type==="operator"&&ue.value==="?"?$.push(q):le.bind(q.value,ue)});var F={_jsonata_lambda:!0,input:U.input,environment:le,arguments:$,body:U.body};return F}function or(U,J){var le=ot(U);le=le.map(function(me){return"$"+me.trim()});var $="function("+le.join(", ")+"){ _ }",F=b($);F.body=U;var q=rr(F,J);return q}async function it(U,J){var le=ot(U),$=le.map(function(me){return J.lookup(me.trim())}),F={environment:J},q=U.apply(F,$);return k(q)&&(q=await q),q}function ot(U){var J=U.toString(),le=/\(([^)]*)\)/.exec(J)[1],$=le.split(",");return $}function He(U,J){var le={_jsonata_function:!0,implementation:U};return typeof J<"u"&&(le.signature=S(J)),le}async function cn(U,J){if(!(typeof U>"u")){var le=this.input;typeof J<"u"&&(le=J,Array.isArray(le)&&!P(le)&&(le=L(le),le.outerWrapper=!0));try{var $=b(U,!1)}catch(q){throw Ln(q),{stack:new Error().stack,code:"D3120",value:q.message,error:q}}try{var F=await Z($,le,this.environment)}catch(q){throw Ln(q),{stack:new Error().stack,code:"D3121",value:q.message,error:q}}return F}}function Rn(U){if(!(typeof U>"u"))return JSON.parse(d.string(U))}function Dn(U){var J={};const le={bind:function(F,q){J[F]=q},lookup:function(F){var q;return J.hasOwnProperty(F)?q=J[F]:U&&(q=U.lookup(F)),q},timestamp:U?U.timestamp:null,async:U?U.async:!1,isParallelCall:U?U.isParallelCall:!1,global:U?U.global:{ancestry:[null]}};if(U){var $=U.lookup(Symbol.for("jsonata.__createFrame_push"));$&&$(U,le)}return le}z.bind("sum",He(d.sum,"<a<n>:n>")),z.bind("count",He(d.count,"<a:n>")),z.bind("max",He(d.max,"<a<n>:n>")),z.bind("min",He(d.min,"<a<n>:n>")),z.bind("average",He(d.average,"<a<n>:n>")),z.bind("string",He(d.string,"<x-b?:s>")),z.bind("substring",He(d.substring,"<s-nn?:s>")),z.bind("substringBefore",He(d.substringBefore,"<s-s:s>")),z.bind("substringAfter",He(d.substringAfter,"<s-s:s>")),z.bind("lowercase",He(d.lowercase,"<s-:s>")),z.bind("uppercase",He(d.uppercase,"<s-:s>")),z.bind("length",He(d.length,"<s-:n>")),z.bind("trim",He(d.trim,"<s-:s>")),z.bind("pad",He(d.pad,"<s-ns?:s>")),z.bind("match",He(d.match,"<s-f<s:o>n?:a<o>>")),z.bind("contains",He(d.contains,"<s-(sf):b>")),z.bind("replace",He(d.replace,"<s-(sf)(sf)n?:s>")),z.bind("split",He(d.split,"<s-(sf)n?:a<s>>")),z.bind("join",He(d.join,"<a<s>s?:s>")),z.bind("formatNumber",He(d.formatNumber,"<n-so?:s>")),z.bind("formatBase",He(d.formatBase,"<n-n?:s>")),z.bind("formatInteger",He(p.formatInteger,"<n-s:s>")),z.bind("parseInteger",He(p.parseInteger,"<s-s:n>")),z.bind("number",He(d.number,"<(nsb)-:n>")),z.bind("floor",He(d.floor,"<n-:n>")),z.bind("ceil",He(d.ceil,"<n-:n>")),z.bind("round",He(d.round,"<n-n?:n>")),z.bind("abs",He(d.abs,"<n-:n>")),z.bind("sqrt",He(d.sqrt,"<n-:n>")),z.bind("power",He(d.power,"<n-n:n>")),z.bind("random",He(d.random,"<:n>")),z.bind("boolean",He(d.boolean,"<x-:b>")),z.bind("not",He(d.not,"<x-:b>")),z.bind("map",He(d.map,"<af>")),z.bind("zip",He(d.zip,"<a+>")),z.bind("filter",He(d.filter,"<af>")),z.bind("single",He(d.single,"<af?>")),z.bind("reduce",He(d.foldLeft,"<afj?:j>")),z.bind("sift",He(d.sift,"<o-f?:o>")),z.bind("keys",He(d.keys,"<x-:a<s>>")),z.bind("lookup",He(d.lookup,"<x-s:x>")),z.bind("append",He(d.append,"<xx:a>")),z.bind("exists",He(d.exists,"<x:b>")),z.bind("spread",He(d.spread,"<x-:a<o>>")),z.bind("merge",He(d.merge,"<a<o>:o>")),z.bind("reverse",He(d.reverse,"<a:a>")),z.bind("each",He(d.each,"<o-f:a>")),z.bind("error",He(d.error,"<s?:x>")),z.bind("assert",He(d.assert,"<bs?:x>")),z.bind("type",He(d.type,"<x:s>")),z.bind("sort",He(d.sort,"<af?:a>")),z.bind("shuffle",He(d.shuffle,"<a:a>")),z.bind("distinct",He(d.distinct,"<x:x>")),z.bind("base64encode",He(d.base64encode,"<s-:s>")),z.bind("base64decode",He(d.base64decode,"<s-:s>")),z.bind("encodeUrlComponent",He(d.encodeUrlComponent,"<s-:s>")),z.bind("encodeUrl",He(d.encodeUrl,"<s-:s>")),z.bind("decodeUrlComponent",He(d.decodeUrlComponent,"<s-:s>")),z.bind("decodeUrl",He(d.decodeUrl,"<s-:s>")),z.bind("eval",He(cn,"<sx?:x>")),z.bind("toMillis",He(p.toMillis,"<s-s?:n>")),z.bind("fromMillis",He(p.fromMillis,"<n-s?s?:s>")),z.bind("clone",He(Rn,"<(oa)-:o>"));var On={S0101:"String literal must be terminated by a matching quote",S0102:"Number out of range: {{token}}",S0103:"Unsupported escape sequence: \\{{token}}",S0104:"The escape sequence \\u must be followed by 4 hex digits",S0105:"Quoted property name must be terminated with a backquote (`)",S0106:"Comment has no closing tag",S0201:"Syntax error: {{token}}",S0202:"Expected {{value}}, got {{token}}",S0203:"Expected {{value}} before end of expression",S0204:"Unknown operator: {{token}}",S0205:"Unexpected token: {{token}}",S0206:"Unknown expression type: {{token}}",S0207:"Unexpected end of expression",S0208:"Parameter {{value}} of function definition must be a variable name (start with $)",S0209:"A predicate cannot follow a grouping expression in a step",S0210:"Each step can only have one grouping expression",S0211:"The symbol {{token}} cannot be used as a unary operator",S0212:"The left side of := must be a variable name (start with $)",S0213:"The literal value {{value}} cannot be used as a step within a path expression",S0214:"The right side of {{token}} must be a variable name (start with $)",S0215:"A context variable binding must precede any predicates on a step",S0216:"A context variable binding must precede the 'order-by' clause on a step",S0217:"The object representing the 'parent' cannot be derived from this expression",S0301:"Empty regular expressions are not allowed",S0302:"No terminating / in regular expression",S0402:"Choice groups containing parameterized types are not supported",S0401:"Type parameters can only be applied to functions and arrays",S0500:"Attempted to evaluate an expression containing syntax error(s)",T0410:"Argument {{index}} of function {{token}} does not match function signature",T0411:"Context value is not a compatible type with argument {{index}} of function {{token}}",T0412:"Argument {{index}} of function {{token}} must be an array of {{type}}",D1001:"Number out of range: {{value}}",D1002:"Cannot negate a non-numeric value: {{value}}",T1003:"Key in object structure must evaluate to a string; got: {{value}}",D1004:"Regular expression matches zero length string",T1005:"Attempted to invoke a non-function. Did you mean ${{{token}}}?",T1006:"Attempted to invoke a non-function",T1007:"Attempted to partially apply a non-function. Did you mean ${{{token}}}?",T1008:"Attempted to partially apply a non-function",D1009:"Multiple key definitions evaluate to same key: {{value}}",D1010:"Attempted to access the Javascript object prototype",T1010:"The matcher function argument passed to function {{token}} does not return the correct object structure",T2001:"The left side of the {{token}} operator must evaluate to a number",T2002:"The right side of the {{token}} operator must evaluate to a number",T2003:"The left side of the range operator (..) must evaluate to an integer",T2004:"The right side of the range operator (..) must evaluate to an integer",D2005:"The left side of := must be a variable name (start with $)",T2006:"The right side of the function application operator ~> must be a function",T2007:"Type mismatch when comparing values {{value}} and {{value2}} in order-by clause",T2008:"The expressions within an order-by clause must evaluate to numeric or string values",T2009:"The values {{value}} and {{value2}} either side of operator {{token}} must be of the same data type",T2010:"The expressions either side of operator {{token}} must evaluate to numeric or string values",T2011:"The insert/update clause of the transform expression must evaluate to an object: {{value}}",T2012:"The delete clause of the transform expression must evaluate to a string or array of strings: {{value}}",T2013:"The transform expression clones the input object using the $clone() function. This has been overridden in the current scope by a non-function.",D2014:"The size of the sequence allocated by the range operator (..) must not exceed 1e6. Attempted to allocate {{value}}.",D3001:"Attempting to invoke string function on Infinity or NaN",D3010:"Second argument of replace function cannot be an empty string",D3011:"Fourth argument of replace function must evaluate to a positive number",D3012:"Attempted to replace a matched string with a non-string value",D3020:"Third argument of split function must evaluate to a positive number",D3030:"Unable to cast value to a number: {{value}}",D3040:"Third argument of match function must evaluate to a positive number",D3050:"The second argument of reduce function must be a function with at least two arguments",D3060:"The sqrt function cannot be applied to a negative number: {{value}}",D3061:"The power function has resulted in a value that cannot be represented as a JSON number: base={{value}}, exponent={{exp}}",D3070:"The single argument form of the sort function can only be applied to an array of strings or an array of numbers. Use the second argument to specify a comparison function",D3080:"The picture string must only contain a maximum of two sub-pictures",D3081:"The sub-picture must not contain more than one instance of the 'decimal-separator' character",D3082:"The sub-picture must not contain more than one instance of the 'percent' character",D3083:"The sub-picture must not contain more than one instance of the 'per-mille' character",D3084:"The sub-picture must not contain both a 'percent' and a 'per-mille' character",D3085:"The mantissa part of a sub-picture must contain at least one character that is either an 'optional digit character' or a member of the 'decimal digit family'",D3086:"The sub-picture must not contain a passive character that is preceded by an active character and that is followed by another active character",D3087:"The sub-picture must not contain a 'grouping-separator' character that appears adjacent to a 'decimal-separator' character",D3088:"The sub-picture must not contain a 'grouping-separator' at the end of the integer part",D3089:"The sub-picture must not contain two adjacent instances of the 'grouping-separator' character",D3090:"The integer part of the sub-picture must not contain a member of the 'decimal digit family' that is followed by an instance of the 'optional digit character'",D3091:"The fractional part of the sub-picture must not contain an instance of the 'optional digit character' that is followed by a member of the 'decimal digit family'",D3092:"A sub-picture that contains a 'percent' or 'per-mille' character must not contain a character treated as an 'exponent-separator'",D3093:"The exponent part of the sub-picture must comprise only of one or more characters that are members of the 'decimal digit family'",D3100:"The radix of the formatBase function must be between 2 and 36. It was given {{value}}",D3110:"The argument of the toMillis function must be an ISO 8601 formatted timestamp. Given {{value}}",D3120:"Syntax error in expression passed to function eval: {{value}}",D3121:"Dynamic error evaluating the expression passed to function eval: {{value}}",D3130:"Formatting or parsing an integer as a sequence starting with {{value}} is not supported by this implementation",D3131:"In a decimal digit pattern, all digits must be from the same decimal group",D3132:"Unknown component specifier {{value}} in date/time picture string",D3133:"The 'name' modifier can only be applied to months and days in the date/time picture string, not {{value}}",D3134:"The timezone integer format specifier cannot have more than four digits",D3135:"No matching closing bracket ']' in date/time picture string",D3136:"The date/time picture string is missing specifiers required to parse the timestamp",D3137:"{{{message}}}",D3138:"The $single() function expected exactly 1 matching result. Instead it matched more.",D3139:"The $single() function expected exactly 1 matching result. Instead it matched 0.",D3140:"Malformed URL passed to ${{{functionName}}}(): {{value}}",D3141:"{{{message}}}"};function Ln(U){var J=On[U.code];if(typeof J<"u"){var le=J.replace(/\{\{\{([^}]+)}}}/g,function(){return U[arguments[1]]});le=le.replace(/\{\{([^}]+)}}/g,function(){return JSON.stringify(U[arguments[1]])}),U.message=le}}function qe(U,J){var le,$;try{le=b(U,J&&J.recover),$=le.errors,delete le.errors}catch(me){throw Ln(me),me}var F=Dn(z),q=new Date;return F.bind("now",He(function(me,ue){return p.fromMillis(q.getTime(),me,ue)},"<s?s?:s>")),F.bind("millis",He(function(){return q.getTime()},"<:n>")),J&&J.RegexEngine?qe.RegexEngine=J.RegexEngine:qe.RegexEngine=RegExp,{evaluate:async function(me,ue,Ie){if(typeof $<"u"){var nt={code:"S0500",position:0};throw Ln(nt),nt}if(typeof ue<"u"){var Tt;Tt=Dn(F);for(var $t in ue)Tt.bind($t,ue[$t])}else Tt=F;Tt.bind("$",me),q=new Date,Tt.timestamp=q,Array.isArray(me)&&!P(me)&&(me=L(me),me.outerWrapper=!0);var dn;try{return dn=await Z(le,me,Tt),typeof Ie=="function"&&Ie(null,dn),dn}catch(zt){throw Ln(zt),zt}},assign:function(me,ue){F.bind(me,ue)},registerFunction:function(me,ue,Ie){var nt=He(ue,Ie);F.bind(me,nt)},ast:function(){return le},errors:function(){return $}}}return qe.parser=b,qe}();s.exports=T},{"./datetime":1,"./functions":2,"./parser":4,"./signature":5,"./utils":6}],4:[function(i,s,c){var p=i("./signature");const d=(()=>{var v={".":75,"[":80,"]":0,"{":70,"}":0,"(":80,")":0,",":0,"@":80,"#":80,";":80,":":80,"?":20,"+":50,"-":50,"*":60,"/":60,"%":60,"|":20,"=":40,"<":40,">":40,"^":40,"**":60,"..":20,":=":10,"!=":40,"<=":40,">=":40,"~>":40,"?:":40,"??":40,and:30,or:25,in:40,"&":50,"!":0,"~":0},b={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
|
|
3355
3355
|
`,r:"\r",t:" "},S=function(w){var R=0,A=w.length,L=function(G,Y){var k={type:G,value:Y,position:R};return k},P=function(){for(var G=R,Y=0,k,V,N=function(Z){if(w.charAt(Z)==="/"&&Y===0){for(var ie=0;w.charAt(Z-(ie+1))==="\\";)ie++;if(ie%2===0)return!0}return!1};R<A;){var z=w.charAt(R);if(N(R)){if(k=w.substring(G,R),k==="")throw{code:"S0301",stack:new Error().stack,position:R};for(R++,z=w.charAt(R),G=R;z==="i"||z==="m";)R++,z=w.charAt(R);return V=w.substring(G,R)+"g",new RegExp(k,V)}(z==="("||z==="["||z==="{")&&w.charAt(R-1)!=="\\"&&Y++,(z===")"||z==="]"||z==="}")&&w.charAt(R-1)!=="\\"&&Y--,R++}throw{code:"S0302",stack:new Error().stack,position:R}},j=function(G){if(R>=A)return null;for(var Y=w.charAt(R);R<A&&`
|
|
3356
3356
|
\r\v`.indexOf(Y)>-1;)R++,Y=w.charAt(R);if(Y==="/"&&w.charAt(R+1)==="*"){var k=R;for(R+=2,Y=w.charAt(R);!(Y==="*"&&w.charAt(R+1)==="/");)if(Y=w.charAt(++R),R>=A)throw{code:"S0106",stack:new Error().stack,position:k};return R+=2,Y=w.charAt(R),j(G)}if(G!==!0&&Y==="/")return R++,L("regex",P());if(Y==="."&&w.charAt(R+1)===".")return R+=2,L("operator","..");if(Y===":"&&w.charAt(R+1)==="=")return R+=2,L("operator",":=");if(Y==="!"&&w.charAt(R+1)==="=")return R+=2,L("operator","!=");if(Y===">"&&w.charAt(R+1)==="=")return R+=2,L("operator",">=");if(Y==="<"&&w.charAt(R+1)==="=")return R+=2,L("operator","<=");if(Y==="*"&&w.charAt(R+1)==="*")return R+=2,L("operator","**");if(Y==="~"&&w.charAt(R+1)===">")return R+=2,L("operator","~>");if(Y==="?"&&w.charAt(R+1)===":")return R+=2,L("operator","?:");if(Y==="?"&&w.charAt(R+1)==="?")return R+=2,L("operator","??");if(Object.prototype.hasOwnProperty.call(v,Y))return R++,L("operator",Y);if(Y==='"'||Y==="'"){var V=Y;R++;for(var N="";R<A;){if(Y=w.charAt(R),Y==="\\")if(R++,Y=w.charAt(R),Object.prototype.hasOwnProperty.call(b,Y))N+=b[Y];else if(Y==="u"){var z=w.substr(R+1,4);if(/^[0-9a-fA-F]+$/.test(z)){var Z=parseInt(z,16);N+=String.fromCharCode(Z),R+=4}else throw{code:"S0104",stack:new Error().stack,position:R}}else throw{code:"S0103",stack:new Error().stack,position:R,token:Y};else{if(Y===V)return R++,L("string",N);N+=Y}R++}throw{code:"S0101",stack:new Error().stack,position:R}}var ie=/^-?(0|([1-9][0-9]*))(\.[0-9]+)?([Ee][-+]?[0-9]+)?/,ge=ie.exec(w.substring(R));if(ge!==null){var M=parseFloat(ge[0]);if(!isNaN(M)&&isFinite(M))return R+=ge[0].length,L("number",M);throw{code:"S0102",stack:new Error().stack,position:R,token:ge[0]}}var se;if(Y==="`"){R++;var Te=w.indexOf("`",R);if(Te!==-1)return se=w.substring(R,Te),R=Te+1,L("name",se);throw R=A,{code:"S0105",stack:new Error().stack,position:R}}for(var he=R,we;;)if(we=w.charAt(he),he===A||`
|
|
3357
|
-
\r\v`.indexOf(we)>-1||Object.prototype.hasOwnProperty.call(v,we)){if(w.charAt(R)==="$")return se=w.substring(R+1,he),R=he,L("variable",se);switch(se=w.substring(R,he),R=he,se){case"or":case"in":case"and":return L("operator",se);case"true":return L("value",!0);case"false":return L("value",!1);case"null":return L("value",null);default:return R===A&&se===""?null:L("name",se)}}else he++};return j},T=function(w,R){var A,L,P={},j=[],G=function(){var B=[];A.id!=="(end)"&&B.push({type:A.type,value:A.value,position:A.position});for(var W=L();W!==null;)B.push(W),W=L();return B},Y={nud:function(){var B={code:"S0211",token:this.value,position:this.position};if(R)return B.remaining=G(),B.type="error",j.push(B),B;throw B.stack=new Error().stack,B}},k=function(B,W){var $e=P[B];return W=W||0,$e?W>=$e.lbp&&($e.lbp=W):($e=Object.create(Y),$e.id=$e.value=B,$e.lbp=W,P[B]=$e),$e},V=function(B){if(R){B.remaining=G(),j.push(B);var W=P["(error)"];return A=Object.create(W),A.error=B,A.type="(error)",A}else throw B.stack=new Error().stack,B},N=function(B,W){if(B&&A.id!==B){var $e;A.id==="(end)"?$e="S0203":$e="S0202";var Be={code:$e,position:A.position,token:A.value,value:B};return V(Be)}var Qe=L(W);if(Qe===null)return A=P["(end)"],A.position=w.length,A;var We=Qe.value,X=Qe.type,oe;switch(X){case"name":case"variable":oe=P["(name)"];break;case"operator":if(oe=P[We],!oe)return V({code:"S0204",stack:new Error().stack,position:Qe.position,token:We});break;case"string":case"number":case"value":oe=P["(literal)"];break;case"regex":X="regex",oe=P["(regex)"];break;default:return V({code:"S0205",stack:new Error().stack,position:Qe.position,token:We})}return A=Object.create(oe),A.value=We,A.type=X,A.position=Qe.position,A},z=function(B){var W,$e=A;for(N(null,!0),W=$e.nud();B<A.lbp;)$e=A,N(),W=$e.led(W);return W},Z=function(B){var W=k(B,0);W.nud=function(){return this}},ie=function(B,W,$e){var Be=W||v[B],Qe=k(B,Be);return Qe.led=$e||function(We){return this.lhs=We,this.rhs=z(Be),this.type="binary",this},Qe},ge=function(B,W,$e){var Be=k(B,W);return Be.led=$e,Be},M=function(B,W){var $e=k(B);return $e.nud=W||function(){return this.expression=z(70),this.type="unary",this},$e};Z("(end)"),Z("(name)"),Z("(literal)"),Z("(regex)"),k(":"),k(";"),k(","),k(")"),k("]"),k("}"),k(".."),ie("."),ie("+"),ie("-"),ie("*"),ie("/"),ie("%"),ie("="),ie("<"),ie(">"),ie("!="),ie("<="),ie(">="),ie("&"),ie("and"),ie("or"),ie("in"),Z("and"),Z("or"),Z("in"),M("-"),ie("~>"),ie("??",v["??"],function(B){return this.type="condition",this.condition={type:"function",value:"(",procedure:{type:"variable",value:"exists"},arguments:[B]},this.then=B,this.else=z(0),this}),ge("(error)",10,function(B){return this.lhs=B,this.error=A.error,this.remaining=G(),this.type="error",this}),M("*",function(){return this.type="wildcard",this}),M("**",function(){return this.type="descendant",this}),M("%",function(){return this.type="parent",this}),ie("(",v["("],function(B){if(this.procedure=B,this.type="function",this.arguments=[],A.id!==")")for(;A.type==="operator"&&A.id==="?"?(this.type="partial",this.arguments.push(A),N("?")):this.arguments.push(z(0)),A.id===",";)N(",");if(N(")",!0),B.type==="name"&&(B.value==="function"||B.value==="λ")){if(this.arguments.forEach(function(We,X){if(We.type!=="variable")return V({code:"S0208",stack:new Error().stack,position:We.position,token:We.value,value:X+1})}),this.type="lambda",A.id==="<"){for(var W=A.position,$e=1,Be="<";$e>0&&A.id!=="{"&&A.id!=="(end)";){var Qe=N();Qe.id===">"?$e--:Qe.id==="<"&&$e++,Be+=Qe.value}N(">");try{this.signature=p(Be)}catch(We){return We.position=W+We.offset,V(We)}}N("{"),this.body=z(0),N("}")}return this}),M("(",function(){for(var B=[];A.id!==")"&&(B.push(z(0)),A.id===";");)N(";");return N(")",!0),this.type="block",this.expressions=B,this}),M("[",function(){var B=[];if(A.id!=="]")for(;;){var W=z(0);if(A.id===".."){var $e={type:"binary",value:"..",position:A.position,lhs:W};N(".."),$e.rhs=z(0),W=$e}if(B.push(W),A.id!==",")break;N(",")}return N("]",!0),this.expressions=B,this.type="unary",this}),ie("[",v["["],function(B){if(A.id==="]"){for(var W=B;W&&W.type==="binary"&&W.value==="[";)W=W.lhs;return W.keepArray=!0,N("]"),B}else return this.lhs=B,this.rhs=z(v["]"]),this.type="binary",N("]",!0),this}),ie("^",v["^"],function(B){N("(");for(var W=[];;){var $e={descending:!1};if(A.id==="<"?N("<"):A.id===">"&&($e.descending=!0,N(">")),$e.expression=z(0),W.push($e),A.id!==",")break;N(",")}return N(")"),this.lhs=B,this.rhs=W,this.type="binary",this});var se=function(B){var W=[];if(A.id!=="}")for(;;){var $e=z(0);N(":");var Be=z(0);if(W.push([$e,Be]),A.id!==",")break;N(",")}return N("}",!0),typeof B>"u"?(this.lhs=W,this.type="unary"):(this.lhs=B,this.rhs=W,this.type="binary"),this};M("{",se),ie("{",v["{"],se),ge(":=",v[":="],function(B){return B.type!=="variable"?V({code:"S0212",stack:new Error().stack,position:B.position,token:B.value}):(this.lhs=B,this.rhs=z(v[":="]-1),this.type="binary",this)}),ie("@",v["@"],function(B){return this.lhs=B,this.rhs=z(v["@"]),this.rhs.type!=="variable"?V({code:"S0214",stack:new Error().stack,position:this.rhs.position,token:"@"}):(this.type="binary",this)}),ie("#",v["#"],function(B){return this.lhs=B,this.rhs=z(v["#"]),this.rhs.type!=="variable"?V({code:"S0214",stack:new Error().stack,position:this.rhs.position,token:"#"}):(this.type="binary",this)}),ie("?",v["?"],function(B){return this.type="condition",this.condition=B,this.then=z(0),A.id===":"&&(N(":"),this.else=z(0)),this}),ie("?:",v["?:"],function(B){return this.type="condition",this.condition=B,this.then=B,this.else=z(0),this}),M("|",function(){return this.type="transform",this.pattern=z(0),N("|"),this.update=z(0),A.id===","&&(N(","),this.delete=z(0)),N("|"),this});var Te=function(B){var W;if(B.type==="function"&&!B.predicate){var $e={type:"lambda",thunk:!0,arguments:[],position:B.position};$e.body=B,W=$e}else if(B.type==="condition")B.then=Te(B.then),typeof B.else<"u"&&(B.else=Te(B.else)),W=B;else if(B.type==="block"){var Be=B.expressions.length;Be>0&&(B.expressions[Be-1]=Te(B.expressions[Be-1])),W=B}else W=B;return W},he=0,we=0,ce=[],fe=function(B,W){switch(B.type){case"name":case"wildcard":W.level--,W.level===0&&(typeof B.ancestor>"u"||(ce[W.index].slot.label=B.ancestor.label),B.ancestor=W,B.tuple=!0);break;case"parent":W.level++;break;case"block":B.expressions.length>0&&(B.tuple=!0,W=fe(B.expressions[B.expressions.length-1],W));break;case"path":B.tuple=!0;var $e=B.steps.length-1;for(W=fe(B.steps[$e--],W);W.level>0&&$e>=0;)W=fe(B.steps[$e--],W);break;default:throw{code:"S0217",token:B.type,position:B.position}}return W},ve=function(B,W){if(typeof W.seekingParent<"u"||W.type==="parent"){var $e=typeof W.seekingParent<"u"?W.seekingParent:[];W.type==="parent"&&$e.push(W.slot),typeof B.seekingParent>"u"?B.seekingParent=$e:Array.prototype.push.apply(B.seekingParent,$e)}},pe=function(B){var W=B.steps.length-1,$e=B.steps[W],Be=typeof $e.seekingParent<"u"?$e.seekingParent:[];$e.type==="parent"&&Be.push($e.slot);for(var Qe=0;Qe<Be.length;Qe++){var We=Be[Qe];for(W=B.steps.length-2;We.level>0;){if(W<0){typeof B.seekingParent>"u"?B.seekingParent=[We]:B.seekingParent.push(We);break}for(var X=B.steps[W--];W>=0&&X.focus&&B.steps[W].focus;)X=B.steps[W--];We=fe(X,We)}}},ne=function(B){var W;switch(B.type){case"binary":switch(B.value){case".":var $e=ne(B.lhs);$e.type==="path"?W=$e:W={type:"path",steps:[$e]},$e.type==="parent"&&(W.seekingParent=[$e.slot]);var Be=ne(B.rhs);Be.type==="function"&&Be.procedure.type==="path"&&Be.procedure.steps.length===1&&Be.procedure.steps[0].type==="name"&&W.steps[W.steps.length-1].type==="function"&&(W.steps[W.steps.length-1].nextFunction=Be.procedure.steps[0].value),Be.type==="path"?Array.prototype.push.apply(W.steps,Be.steps):(typeof Be.predicate<"u"&&(Be.stages=Be.predicate,delete Be.predicate),W.steps.push(Be)),W.steps.filter(function(Fe){if(Fe.type==="number"||Fe.type==="value")throw{code:"S0213",stack:new Error().stack,position:Fe.position,value:Fe.value};return Fe.type==="string"}).forEach(function(Fe){Fe.type="name"}),W.steps.filter(function(Fe){return Fe.keepArray===!0}).length>0&&(W.keepSingletonArray=!0);var Qe=W.steps[0];Qe.type==="unary"&&Qe.value==="["&&(Qe.consarray=!0);var We=W.steps[W.steps.length-1];We.type==="unary"&&We.value==="["&&(We.consarray=!0),pe(W);break;case"[":W=ne(B.lhs);var X=W,oe="predicate";if(W.type==="path"&&(X=W.steps[W.steps.length-1],oe="stages"),typeof X.group<"u")throw{code:"S0209",stack:new Error().stack,position:B.position};typeof X[oe]>"u"&&(X[oe]=[]);var K=ne(B.rhs);typeof K.seekingParent<"u"&&(K.seekingParent.forEach(Fe=>{Fe.level===1?fe(X,Fe):Fe.level--}),ve(X,K)),X[oe].push({type:"filter",expr:K,position:B.position});break;case"{":if(W=ne(B.lhs),typeof W.group<"u")throw{code:"S0210",stack:new Error().stack,position:B.position};W.group={lhs:B.rhs.map(function(Fe){return[ne(Fe[0]),ne(Fe[1])]}),position:B.position};break;case"^":W=ne(B.lhs),W.type!=="path"&&(W={type:"path",steps:[W]});var Ee={type:"sort",position:B.position};Ee.terms=B.rhs.map(function(Fe){var rt=ne(Fe.expression);return ve(Ee,rt),{descending:Fe.descending,expression:rt}}),W.steps.push(Ee),pe(W);break;case":=":W={type:"bind",value:B.value,position:B.position},W.lhs=ne(B.lhs),W.rhs=ne(B.rhs),ve(W,W.rhs);break;case"@":if(W=ne(B.lhs),X=W,W.type==="path"&&(X=W.steps[W.steps.length-1]),typeof X.stages<"u"||typeof X.predicate<"u")throw{code:"S0215",stack:new Error().stack,position:B.position};if(X.type==="sort")throw{code:"S0216",stack:new Error().stack,position:B.position};B.keepArray&&(X.keepArray=!0),X.focus=B.rhs.value,X.tuple=!0;break;case"#":W=ne(B.lhs),X=W,W.type==="path"?X=W.steps[W.steps.length-1]:(W={type:"path",steps:[W]},typeof X.predicate<"u"&&(X.stages=X.predicate,delete X.predicate)),typeof X.stages>"u"?X.index=B.rhs.value:X.stages.push({type:"index",value:B.rhs.value,position:B.position}),X.tuple=!0;break;case"~>":W={type:"apply",value:B.value,position:B.position},W.lhs=ne(B.lhs),W.rhs=ne(B.rhs),W.keepArray=W.lhs.keepArray||W.rhs.keepArray;break;default:W={type:B.type,value:B.value,position:B.position},W.lhs=ne(B.lhs),W.rhs=ne(B.rhs),ve(W,W.lhs),ve(W,W.rhs)}break;case"unary":W={type:B.type,value:B.value,position:B.position},B.value==="["?W.expressions=B.expressions.map(function(Fe){var rt=ne(Fe);return ve(W,rt),rt}):B.value==="{"?W.lhs=B.lhs.map(function(Fe){var rt=ne(Fe[0]);ve(W,rt);var Lt=ne(Fe[1]);return ve(W,Lt),[rt,Lt]}):(W.expression=ne(B.expression),B.value==="-"&&W.expression.type==="number"?(W=W.expression,W.value=-W.value):ve(W,W.expression));break;case"function":case"partial":W={type:B.type,name:B.name,value:B.value,position:B.position},W.arguments=B.arguments.map(function(Fe){var rt=ne(Fe);return ve(W,rt),rt}),W.procedure=ne(B.procedure);break;case"lambda":W={type:B.type,arguments:B.arguments,signature:B.signature,position:B.position};var te=ne(B.body);W.body=Te(te);break;case"condition":W={type:B.type,position:B.position},W.condition=ne(B.condition),ve(W,W.condition),W.then=ne(B.then),ve(W,W.then),typeof B.else<"u"&&(W.else=ne(B.else),ve(W,W.else));break;case"transform":W={type:B.type,position:B.position},W.pattern=ne(B.pattern),W.update=ne(B.update),typeof B.delete<"u"&&(W.delete=ne(B.delete));break;case"block":W={type:B.type,position:B.position},W.expressions=B.expressions.map(function(Fe){var rt=ne(Fe);return ve(W,rt),(rt.consarray||rt.type==="path"&&rt.steps[0].consarray)&&(W.consarray=!0),rt});break;case"name":W={type:"path",steps:[B]},B.keepArray&&(W.keepSingletonArray=!0);break;case"parent":W={type:"parent",slot:{label:"!"+he++,level:1,index:we++}},ce.push(W);break;case"string":case"number":case"value":case"wildcard":case"descendant":case"variable":case"regex":W=B;break;case"operator":if(B.value==="and"||B.value==="or"||B.value==="in")B.type="name",W=ne(B);else if(B.value==="?")W=B;else throw{code:"S0201",stack:new Error().stack,position:B.position,token:B.value};break;case"error":W=B,B.lhs&&(W=ne(B.lhs));break;default:var De="S0206";B.id==="(end)"&&(De="S0207");var Ce={code:De,position:B.position,token:B.value};if(R)return j.push(Ce),{type:"error",error:Ce};throw Ce.stack=new Error().stack,Ce}return B.keepArray&&(W.keepArray=!0),W};L=S(w),N();var ee=z(0);if(A.id!=="(end)"){var Re={code:"S0201",position:A.position,token:A.value};V(Re)}if(ee=ne(ee),ee.type==="parent"||typeof ee.seekingParent<"u")throw{code:"S0217",token:ee.type,position:ee.position};return j.length>0&&(ee.errors=j),ee};return T})();s.exports=d},{"./signature":5}],5:[function(i,s,c){var p=i("./utils");const d=(()=>{var v={a:"arrays",b:"booleans",f:"functions",n:"numbers",o:"objects",s:"strings"};function b(S){for(var T=1,w=[],R={},A=R;T<S.length;){var L=S.charAt(T);if(L===":")break;var P=function(){w.push(R),A=R,R={}},j=function(ie,ge,M,se){for(var Te=1,he=ge;he<ie.length;)if(he++,L=ie.charAt(he),L===se){if(Te--,Te===0)break}else L===M&&Te++;return he};switch(L){case"s":case"n":case"b":case"l":case"o":R.regex="["+L+"m]",R.type=L,P();break;case"a":R.regex="[asnblfom]",R.type=L,R.array=!0,P();break;case"f":R.regex="f",R.type=L,P();break;case"j":R.regex="[asnblom]",R.type=L,P();break;case"x":R.regex="[asnblfom]",R.type=L,P();break;case"-":A.context=!0,A.contextRegex=new RegExp(A.regex),A.regex+="?";break;case"?":case"+":A.regex+=L;break;case"(":var G=j(S,T,"(",")"),Y=S.substring(T+1,G);if(Y.indexOf("<")===-1)R.regex="["+Y+"m]";else throw{code:"S0402",stack:new Error().stack,value:Y,offset:T};R.type="("+Y+")",T=G,P();break;case"<":if(A.type==="a"||A.type==="f"){var k=j(S,T,"<",">");A.subtype=S.substring(T+1,k),T=k}else throw{code:"S0401",stack:new Error().stack,value:A.type,offset:T};break}T++}var V="^"+w.map(function(ie){return"("+ie.regex+")"}).join("")+"$",N=new RegExp(V),z=function(ie){var ge;if(p.isFunction(ie))ge="f";else{var M=typeof ie;switch(M){case"string":ge="s";break;case"number":ge="n";break;case"boolean":ge="b";break;case"object":ie===null?ge="l":Array.isArray(ie)?ge="a":ge="o";break;case"undefined":default:ge="m"}}return ge},Z=function(ie,ge){for(var M="^",se=0,Te=0;Te<w.length;Te++){M+=w[Te].regex;var he=ge.match(M);if(he===null)throw{code:"T0410",stack:new Error().stack,value:ie[se],index:se+1};se=he[0].length}throw{code:"T0410",stack:new Error().stack,value:ie[se],index:se+1}};return{definition:S,validate:function(ie,ge){var M="";ie.forEach(function(we){M+=z(we)});var se=N.exec(M);if(se){var Te=[],he=0;return w.forEach(function(we,ce){var fe=ie[he],ve=se[ce+1];if(ve==="")if(we.context&&we.contextRegex){var pe=z(ge);if(we.contextRegex.test(pe))Te.push(ge);else throw{code:"T0411",stack:new Error().stack,value:ge,index:he+1}}else Te.push(fe),he++;else ve.split("").forEach(function(ne){if(we.type==="a"){if(ne==="m")fe=void 0;else{fe=ie[he];var ee=!0;if(typeof we.subtype<"u"){if(ne!=="a"&&ve!==we.subtype)ee=!1;else if(ne==="a"&&fe.length>0){var Re=z(fe[0]);if(Re!==we.subtype.charAt(0))ee=!1;else{var B=fe.filter(function(W){return z(W)!==Re});ee=B.length===0}}}if(!ee)throw{code:"T0412",stack:new Error().stack,value:fe,index:he+1,type:v[we.subtype]};ne!=="a"&&(fe=[fe])}Te.push(fe),he++}else Te.push(fe),he++})}),Te}Z(ie,M)}}}return b})();s.exports=d},{"./utils":6}],6:[function(i,s,c){const p=(()=>{function d(k){var V=!1;if(typeof k=="number"&&(V=!isNaN(k),V&&!isFinite(k)))throw{code:"D1001",value:k,stack:new Error().stack};return V}function v(k){var V=!1;return Array.isArray(k)&&(V=k.filter(function(N){return typeof N!="string"}).length===0),V}function b(k){var V=!1;return Array.isArray(k)&&(V=k.filter(function(N){return!d(N)}).length===0),V}function S(){var k=[];return k.sequence=!0,arguments.length===1&&k.push(arguments[0]),k}function T(k){return k.sequence===!0&&Array.isArray(k)}function w(k){return k&&(k._jsonata_function===!0||k._jsonata_lambda===!0)||typeof k=="function"}function R(k){var V=typeof k.arity=="number"?k.arity:typeof k.implementation=="function"?k.implementation.length:typeof k.length=="number"?k.length:k.arguments.length;return V}function A(k){return k&&k._jsonata_lambda===!0}var L=(typeof Symbol=="function"?Symbol:{}).iterator||"@@iterator";function P(k){return typeof k=="object"&&k!==null&&L in k&&"next"in k&&typeof k.next=="function"}function j(k,V){if(k===V)return!0;if(typeof k=="object"&&typeof V=="object"&&k!==null&&V!==null){if(Array.isArray(k)&&Array.isArray(V)){if(k.length!==V.length)return!1;for(var N=0;N<k.length;N++)if(!j(k[N],V[N]))return!1;return!0}var z=Object.getOwnPropertyNames(k),Z=Object.getOwnPropertyNames(V);if(z.length!==Z.length)return!1;for(z=z.sort(),Z=Z.sort(),N=0;N<z.length;N++)if(z[N]!==Z[N])return!1;for(N=0;N<z.length;N++){var ie=z[N];if(!j(k[ie],V[ie]))return!1}return!0}return!1}function G(k){return typeof k=="object"&&k!==null&&"then"in k&&typeof k.then=="function"}function Y(k){var V=[];for(let N of k)V.push(N);return V}return{isNumeric:d,isArrayOfStrings:v,isArrayOfNumbers:b,createSequence:S,isSequence:T,isFunction:w,isLambda:A,isIterable:P,getFunctionArity:R,isDeepEqual:j,stringToArray:Y,isPromise:G}})();s.exports=p},{}]},{},[3])(3)})}(bC)),bC.exports}var tU=eU();const GA=WC(tU),nU=async(e,r,i)=>{const{operand:s,operator:c,value:p}=e;if(c==="jsonata")try{const S=p.toString(),T=i();return await GA(S).evaluate(T)}catch(S){return console.log("JSONata evaluation error:",S),!1}const d=r(s),v=String(d||"").toLowerCase().trim(),b=String(p||"").toLowerCase().trim();switch(c){case"==":case"===":return v===b;case"!=":case"!==":return v!==b;case">":const S=parseFloat(v),T=parseFloat(b);return!isNaN(S)&&!isNaN(T)&&S>T;case">=":const w=parseFloat(v),R=parseFloat(b);return!isNaN(w)&&!isNaN(R)&&w>=R;case"<":const A=parseFloat(v),L=parseFloat(b);return!isNaN(A)&&!isNaN(L)&&A<L;case"<=":const P=parseFloat(v),j=parseFloat(b);return!isNaN(P)&&!isNaN(j)&&P<=j;case"contains":case"includes":return Array.isArray(d)?d.some(k=>String(k).toLowerCase().trim().includes(b)):v.includes(b);case"not_contains":case"not_includes":return Array.isArray(d)?!d.some(k=>String(k).toLowerCase().trim().includes(b)):!v.includes(b);case"starts_with":return v.startsWith(b);case"ends_with":return v.endsWith(b);case"exists":case"is_not_empty":return d!=null&&v!=="";case"not_exists":case"is_empty":return d==null||v==="";case"in":return Array.isArray(p)?p.some(k=>String(k).toLowerCase().trim()===v):String(p).split(",").map(k=>k.toLowerCase().trim()).includes(v);case"not_in":return Array.isArray(p)?!p.some(k=>String(k).toLowerCase().trim()===v):!String(p).split(",").map(k=>k.toLowerCase().trim()).includes(v);case"regex":case"matches":try{return new RegExp(String(p),"i").test(v)}catch{return console.warn("Invalid regex pattern:",p),!1}default:return console.warn("Unknown operator:",c),!1}},WA=async(e,r,i)=>{if(!e||!e.conditions||e.conditions.length===0)return!0;for(const s of e.conditions){let c=!0;for(const p of s)if(!await nU(p,r,i)){c=!1;break}if(c)return!0}return!1},rU=()=>{const{getPatientValue:e,getFullPatient:r}=Nr();return{evaluateCondition:Ve.useMemo(()=>async s=>await WA(s,e,r),[e,r])}},oU=e=>{var i;const r=(i=e.props)==null?void 0:i.required;return typeof r=="boolean"?r:typeof r=="string"?b3(r):!1},q$=(e,r,i)=>{var c,p;const s=e.filter(d=>d.shouldRender);for(const d of s){if(oU(d)&&!aU(d,r))return console.warn(`Required field is missing: ${d.name||((c=d.props)==null?void 0:c.propertyId)||d.id}`),!1;if((p=d.props)!=null&&p.propertyId&&i(d.props.propertyId))return!1}return!0},aU=(e,r)=>{var c;const i=(c=e.props)==null?void 0:c.propertyId;if(!i)return!0;const s=r(i);return!(s==null||typeof s=="string"&&s.trim()===""||Array.isArray(s)&&s.length===0)},YA=({flow:e,isPreview:r,$bgColor:i,onSubmit:s,onNextStep:c,onPrevStep:p,shouldRedirect:d=!0,formidavimHost:v})=>{const[b,S]=Ve.useState(0),[T,w]=Ve.useState([]),[R,A]=Ve.useState(!0),{evaluateCondition:L}=rU(),{getFlowValue:P,getAllFlowData:j,setDisableSubmitValue:G,getDisableSubmitValue:Y,getFlowError:k,setCurrentFormValue:V}=Nr(),N=Nr().getAllFlowData(),z=async ce=>{if(!ce)return[];const fe=[];for(const ve of ce){const pe=!ve.condition||await L(ve.condition),ne=pe;fe.push({...ve,isVisible:pe,shouldRender:ne,hasCondition:!!ve.condition})}return fe};Ve.useEffect(()=>{S(0)},[e.slug]),Ve.useEffect(()=>{const ce=async()=>{var ve;if(!e.flowForms){w([]),A(!1);return}const fe=[];for(const pe of e.flowForms)if(!pe.condition||await L(pe.condition)){const ee=(ve=pe.form)!=null&&ve.formComponents?await z(pe.form.formComponents):[];fe.push({...pe,evaluatedFormComponents:ee})}w(fe),A(!1)};A(!0),ce()},[e.flowForms,L]),Ve.useEffect(()=>{if(!R&&T.length>0&&b<T.length){const ce=T[b],fe=(ce==null?void 0:ce.evaluatedFormComponents)||[],ve=q$(fe,P,k);G(!ve)}},[T,b,R,N,P,G]);const Z=T.length,ie=T[b],ge=Y();if(Ve.useEffect(()=>{ie&&V(ie)},[ie,V]),R)return I.jsx("div",{children:"Loading..."});if(!ie)return null;const M=T[0]===ie,se=b===Z-1,Te=(ie==null?void 0:ie.evaluatedFormComponents)||[],he=()=>{if(q$(Te,P,k)){if(ie.submit){s(j(),e,d);return}c&&c(e,ie),b<Z-1&&(S(fe=>fe+1),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0))}},we=()=>{b>0&&(p&&p(e,ie),S(ce=>ce-1)),window.scrollTo({top:0,behavior:"smooth"})};return I.jsxs(iM,{children:[I.jsxs(fM,{$tracker:!0,id:"FormHeaderMobile",children:[I.jsx(uO,{src:"https://media-s3-cdn.ivimhealth.com/assets/images/logos/ivim-black.svg"}),I.jsx(dM,{id:"FlowStepTrackerContainerMobile"}),!M&&I.jsx(lM,{onClick:we})]}),I.jsx(J$,{currentStep:b+1,totalSteps:Z,showOnDesktop:!0,showOnMobile:!1}),I.jsx(bp,{$xSmall:!0,$bgColor:"white",$bRad:"10px 10px 0px 0px",children:I.jsxs(cM,{id:"FormHeaderDesktop",children:[!M&&I.jsx(K$,{onClick:we}),I.jsx(uO,{src:"https://media-s3-cdn.ivimhealth.com/assets/images/logos/ivim-black.svg"})]})}),I.jsx(KA,{$bgColor:ie.bgColor,children:I.jsx(qA,{flowForm:ie,isPreview:r,evaluatedFormComponents:Te,formidavimHost:v})}),I.jsx(bp,{$xSmall:!0,$bgColor:"white",$bRad:"0px 0px 10px 10px",children:I.jsx(sM,{$borderOff:!!ie.bgColor,children:I.jsx(sO,{type:"submit",onClick:he,$isLastStep:se,$radius:"41px",$margin:"0 0 15px 0",$btnStyle:"black",$disable:ge,children:ie.navButtonText?ie.navButtonText:"Next"})})}),I.jsx(pM,{id:"BtnFlowBtnWrapperMobile",children:I.jsx(sO,{type:"submit",onClick:he,$isLastStep:se,$radius:"41px",$margin:"0 0 15px 0",$btnStyle:"black",$disable:ge,$allowDisableClick:!0,children:ie.navButtonText?ie.navButtonText:"Next"})})]})},iU=async(e,r)=>{if(!e||typeof e!="string"||!r)return e;const i=/\{\{\s*([^}]+)\s*\}\}/g;let s=e,c;for(;(c=i.exec(e))!==null;){const p=c[0],d=c[1].trim();try{const v=await GA(d).evaluate(r),b=v??"";typeof b!="object"?s=s.replace(p,String(b)):s=b}catch(v){console.warn(`Failed to process template expression: "${d}"`,v)}}return s},HC=async(e,r)=>{if(!e||!r)return e;if(typeof e=="string")return await iU(e,r);if(Array.isArray(e))return Promise.all(e.map(i=>HC(i,r)));if(typeof e=="object"){const i={};for(const[s,c]of Object.entries(e))i[s]=await HC(c,r);return i}return e},lU=async(e,r)=>{var i;if(!e||!r)return e;try{const s=JSON.parse(JSON.stringify(e));if(s.flowForms){for(const c of s.flowForms)if((i=c.form)!=null&&i.formComponents)for(const p of c.form.formComponents)p.props&&(p.props=await HC(p.props,r))}return s}catch(s){return console.error("Error processing flow config templates:",s),e}},Sw=({data:e,config:r,isPreview:i,onSubmit:s,onNextStep:c,onPrevStep:p,onFlowInit:d,shouldRedirect:v,formidavimHost:b})=>{const{setFlowValues:S,resetAndSetFlowValues:T,generateFormDataFromFlow:w,setPatientValues:R,getFullPatient:A,setCurrentFlowValue:L}=Nr(),[P,j]=Ve.useState(null),[G,Y]=Ve.useState(!0),[k,V]=Ve.useState(!1),N=async(Z,ie=!1,ge=!1)=>{try{const M=await lU(r,Z);if(j(M),L(M),ge&&d&&(r!=null&&r.id)&&(r!=null&&r.slug)&&d(r),ie){const se=w(M);T(se)}}catch(M){if(console.error("Error processing config:",M),j(r),L(r),ge&&d&&(r!=null&&r.id)&&(r!=null&&r.slug)&&d(r),ie){const se=w(r);T(se)}}};Ve.useEffect(()=>{(async()=>{Y(!0),e&&R(e),await N(e,!0,!0),V(!0),Y(!1)})()},[e,r]);const z=A();return Ve.useEffect(()=>{k&&z&&N(z,!1,!1)},[z,k]),G||!P?I.jsx("div",{children:"Processing form..."}):I.jsx(YA,{flow:P,isPreview:i,onSubmit:s,onNextStep:c,onPrevStep:p,shouldRedirect:v,formidavimHost:b})},sU={lightPalettePine120:"#5A6859",darkGreenTint:"#7B867A",lightGreen:"#D9E7CE",lightGreenTint:"#ECF3E7",paleLeaf:"#C5D5B9",brandDarkGray:"#32312D",mediumGray:"#474642",gray:"#706F6C",lightGray:"#ADADAB",ltGray:"#D2D2D2",lightGrayTint:"#F5F5F5",brandTan:"#C2925B",neutral50:"#CAC8BE",neutralTint1:"#E5E3D7",neutralTint2:"#EAE9DF",neutralTint3:"#FAF9F7",transparent:"transparent",errorRed:"#DD1818",purple:"#8A61AF",ltPurple:"#E3D9EC",blue:"#6186AF",ltBlue:"#C8E2FE",focus:"#b17bb2",xltGray:"#E1E2E7",white:"#FFFFFF",transp:"transparent",primary:"#32312D",ivimGreen:"#85AF61",success:"#6F9351",pine120:"#5A6859",pine100:"#7B867A",pine60:"#ACB3AC",neutral0:"#FFFFFF",neutral20:"#F5F4F2",neutral30:"#F1EFED",neutral40:"#D8D6CA",gray60:"#ADADAB",danger:"#B94E36"},uU={playfair:'"Playfair Display", serif',poppins:"Poppins, sans-serif",karmina:"Karmina, serif"},cU={xs:"only screen and (min-width: 400px)",sm:"only screen and (min-width: 576px)",md:"only screen and (min-width: 766px)",lg:"only screen and (min-width: 992px)",xl:"only screen and (min-width: 1200px)"},dU={colors:sU,fonts:uU,mediaQuery:cU},fU=s5({reducer:{[V0.name]:V0.reducer,[F0.name]:F0.reducer}}),pU=be.div`
|
|
3357
|
+
\r\v`.indexOf(we)>-1||Object.prototype.hasOwnProperty.call(v,we)){if(w.charAt(R)==="$")return se=w.substring(R+1,he),R=he,L("variable",se);switch(se=w.substring(R,he),R=he,se){case"or":case"in":case"and":return L("operator",se);case"true":return L("value",!0);case"false":return L("value",!1);case"null":return L("value",null);default:return R===A&&se===""?null:L("name",se)}}else he++};return j},T=function(w,R){var A,L,P={},j=[],G=function(){var B=[];A.id!=="(end)"&&B.push({type:A.type,value:A.value,position:A.position});for(var W=L();W!==null;)B.push(W),W=L();return B},Y={nud:function(){var B={code:"S0211",token:this.value,position:this.position};if(R)return B.remaining=G(),B.type="error",j.push(B),B;throw B.stack=new Error().stack,B}},k=function(B,W){var $e=P[B];return W=W||0,$e?W>=$e.lbp&&($e.lbp=W):($e=Object.create(Y),$e.id=$e.value=B,$e.lbp=W,P[B]=$e),$e},V=function(B){if(R){B.remaining=G(),j.push(B);var W=P["(error)"];return A=Object.create(W),A.error=B,A.type="(error)",A}else throw B.stack=new Error().stack,B},N=function(B,W){if(B&&A.id!==B){var $e;A.id==="(end)"?$e="S0203":$e="S0202";var Be={code:$e,position:A.position,token:A.value,value:B};return V(Be)}var Qe=L(W);if(Qe===null)return A=P["(end)"],A.position=w.length,A;var We=Qe.value,X=Qe.type,oe;switch(X){case"name":case"variable":oe=P["(name)"];break;case"operator":if(oe=P[We],!oe)return V({code:"S0204",stack:new Error().stack,position:Qe.position,token:We});break;case"string":case"number":case"value":oe=P["(literal)"];break;case"regex":X="regex",oe=P["(regex)"];break;default:return V({code:"S0205",stack:new Error().stack,position:Qe.position,token:We})}return A=Object.create(oe),A.value=We,A.type=X,A.position=Qe.position,A},z=function(B){var W,$e=A;for(N(null,!0),W=$e.nud();B<A.lbp;)$e=A,N(),W=$e.led(W);return W},Z=function(B){var W=k(B,0);W.nud=function(){return this}},ie=function(B,W,$e){var Be=W||v[B],Qe=k(B,Be);return Qe.led=$e||function(We){return this.lhs=We,this.rhs=z(Be),this.type="binary",this},Qe},ge=function(B,W,$e){var Be=k(B,W);return Be.led=$e,Be},M=function(B,W){var $e=k(B);return $e.nud=W||function(){return this.expression=z(70),this.type="unary",this},$e};Z("(end)"),Z("(name)"),Z("(literal)"),Z("(regex)"),k(":"),k(";"),k(","),k(")"),k("]"),k("}"),k(".."),ie("."),ie("+"),ie("-"),ie("*"),ie("/"),ie("%"),ie("="),ie("<"),ie(">"),ie("!="),ie("<="),ie(">="),ie("&"),ie("and"),ie("or"),ie("in"),Z("and"),Z("or"),Z("in"),M("-"),ie("~>"),ie("??",v["??"],function(B){return this.type="condition",this.condition={type:"function",value:"(",procedure:{type:"variable",value:"exists"},arguments:[B]},this.then=B,this.else=z(0),this}),ge("(error)",10,function(B){return this.lhs=B,this.error=A.error,this.remaining=G(),this.type="error",this}),M("*",function(){return this.type="wildcard",this}),M("**",function(){return this.type="descendant",this}),M("%",function(){return this.type="parent",this}),ie("(",v["("],function(B){if(this.procedure=B,this.type="function",this.arguments=[],A.id!==")")for(;A.type==="operator"&&A.id==="?"?(this.type="partial",this.arguments.push(A),N("?")):this.arguments.push(z(0)),A.id===",";)N(",");if(N(")",!0),B.type==="name"&&(B.value==="function"||B.value==="λ")){if(this.arguments.forEach(function(We,X){if(We.type!=="variable")return V({code:"S0208",stack:new Error().stack,position:We.position,token:We.value,value:X+1})}),this.type="lambda",A.id==="<"){for(var W=A.position,$e=1,Be="<";$e>0&&A.id!=="{"&&A.id!=="(end)";){var Qe=N();Qe.id===">"?$e--:Qe.id==="<"&&$e++,Be+=Qe.value}N(">");try{this.signature=p(Be)}catch(We){return We.position=W+We.offset,V(We)}}N("{"),this.body=z(0),N("}")}return this}),M("(",function(){for(var B=[];A.id!==")"&&(B.push(z(0)),A.id===";");)N(";");return N(")",!0),this.type="block",this.expressions=B,this}),M("[",function(){var B=[];if(A.id!=="]")for(;;){var W=z(0);if(A.id===".."){var $e={type:"binary",value:"..",position:A.position,lhs:W};N(".."),$e.rhs=z(0),W=$e}if(B.push(W),A.id!==",")break;N(",")}return N("]",!0),this.expressions=B,this.type="unary",this}),ie("[",v["["],function(B){if(A.id==="]"){for(var W=B;W&&W.type==="binary"&&W.value==="[";)W=W.lhs;return W.keepArray=!0,N("]"),B}else return this.lhs=B,this.rhs=z(v["]"]),this.type="binary",N("]",!0),this}),ie("^",v["^"],function(B){N("(");for(var W=[];;){var $e={descending:!1};if(A.id==="<"?N("<"):A.id===">"&&($e.descending=!0,N(">")),$e.expression=z(0),W.push($e),A.id!==",")break;N(",")}return N(")"),this.lhs=B,this.rhs=W,this.type="binary",this});var se=function(B){var W=[];if(A.id!=="}")for(;;){var $e=z(0);N(":");var Be=z(0);if(W.push([$e,Be]),A.id!==",")break;N(",")}return N("}",!0),typeof B>"u"?(this.lhs=W,this.type="unary"):(this.lhs=B,this.rhs=W,this.type="binary"),this};M("{",se),ie("{",v["{"],se),ge(":=",v[":="],function(B){return B.type!=="variable"?V({code:"S0212",stack:new Error().stack,position:B.position,token:B.value}):(this.lhs=B,this.rhs=z(v[":="]-1),this.type="binary",this)}),ie("@",v["@"],function(B){return this.lhs=B,this.rhs=z(v["@"]),this.rhs.type!=="variable"?V({code:"S0214",stack:new Error().stack,position:this.rhs.position,token:"@"}):(this.type="binary",this)}),ie("#",v["#"],function(B){return this.lhs=B,this.rhs=z(v["#"]),this.rhs.type!=="variable"?V({code:"S0214",stack:new Error().stack,position:this.rhs.position,token:"#"}):(this.type="binary",this)}),ie("?",v["?"],function(B){return this.type="condition",this.condition=B,this.then=z(0),A.id===":"&&(N(":"),this.else=z(0)),this}),ie("?:",v["?:"],function(B){return this.type="condition",this.condition=B,this.then=B,this.else=z(0),this}),M("|",function(){return this.type="transform",this.pattern=z(0),N("|"),this.update=z(0),A.id===","&&(N(","),this.delete=z(0)),N("|"),this});var Te=function(B){var W;if(B.type==="function"&&!B.predicate){var $e={type:"lambda",thunk:!0,arguments:[],position:B.position};$e.body=B,W=$e}else if(B.type==="condition")B.then=Te(B.then),typeof B.else<"u"&&(B.else=Te(B.else)),W=B;else if(B.type==="block"){var Be=B.expressions.length;Be>0&&(B.expressions[Be-1]=Te(B.expressions[Be-1])),W=B}else W=B;return W},he=0,we=0,ce=[],fe=function(B,W){switch(B.type){case"name":case"wildcard":W.level--,W.level===0&&(typeof B.ancestor>"u"||(ce[W.index].slot.label=B.ancestor.label),B.ancestor=W,B.tuple=!0);break;case"parent":W.level++;break;case"block":B.expressions.length>0&&(B.tuple=!0,W=fe(B.expressions[B.expressions.length-1],W));break;case"path":B.tuple=!0;var $e=B.steps.length-1;for(W=fe(B.steps[$e--],W);W.level>0&&$e>=0;)W=fe(B.steps[$e--],W);break;default:throw{code:"S0217",token:B.type,position:B.position}}return W},ve=function(B,W){if(typeof W.seekingParent<"u"||W.type==="parent"){var $e=typeof W.seekingParent<"u"?W.seekingParent:[];W.type==="parent"&&$e.push(W.slot),typeof B.seekingParent>"u"?B.seekingParent=$e:Array.prototype.push.apply(B.seekingParent,$e)}},pe=function(B){var W=B.steps.length-1,$e=B.steps[W],Be=typeof $e.seekingParent<"u"?$e.seekingParent:[];$e.type==="parent"&&Be.push($e.slot);for(var Qe=0;Qe<Be.length;Qe++){var We=Be[Qe];for(W=B.steps.length-2;We.level>0;){if(W<0){typeof B.seekingParent>"u"?B.seekingParent=[We]:B.seekingParent.push(We);break}for(var X=B.steps[W--];W>=0&&X.focus&&B.steps[W].focus;)X=B.steps[W--];We=fe(X,We)}}},ne=function(B){var W;switch(B.type){case"binary":switch(B.value){case".":var $e=ne(B.lhs);$e.type==="path"?W=$e:W={type:"path",steps:[$e]},$e.type==="parent"&&(W.seekingParent=[$e.slot]);var Be=ne(B.rhs);Be.type==="function"&&Be.procedure.type==="path"&&Be.procedure.steps.length===1&&Be.procedure.steps[0].type==="name"&&W.steps[W.steps.length-1].type==="function"&&(W.steps[W.steps.length-1].nextFunction=Be.procedure.steps[0].value),Be.type==="path"?Array.prototype.push.apply(W.steps,Be.steps):(typeof Be.predicate<"u"&&(Be.stages=Be.predicate,delete Be.predicate),W.steps.push(Be)),W.steps.filter(function(Fe){if(Fe.type==="number"||Fe.type==="value")throw{code:"S0213",stack:new Error().stack,position:Fe.position,value:Fe.value};return Fe.type==="string"}).forEach(function(Fe){Fe.type="name"}),W.steps.filter(function(Fe){return Fe.keepArray===!0}).length>0&&(W.keepSingletonArray=!0);var Qe=W.steps[0];Qe.type==="unary"&&Qe.value==="["&&(Qe.consarray=!0);var We=W.steps[W.steps.length-1];We.type==="unary"&&We.value==="["&&(We.consarray=!0),pe(W);break;case"[":W=ne(B.lhs);var X=W,oe="predicate";if(W.type==="path"&&(X=W.steps[W.steps.length-1],oe="stages"),typeof X.group<"u")throw{code:"S0209",stack:new Error().stack,position:B.position};typeof X[oe]>"u"&&(X[oe]=[]);var K=ne(B.rhs);typeof K.seekingParent<"u"&&(K.seekingParent.forEach(Fe=>{Fe.level===1?fe(X,Fe):Fe.level--}),ve(X,K)),X[oe].push({type:"filter",expr:K,position:B.position});break;case"{":if(W=ne(B.lhs),typeof W.group<"u")throw{code:"S0210",stack:new Error().stack,position:B.position};W.group={lhs:B.rhs.map(function(Fe){return[ne(Fe[0]),ne(Fe[1])]}),position:B.position};break;case"^":W=ne(B.lhs),W.type!=="path"&&(W={type:"path",steps:[W]});var Ee={type:"sort",position:B.position};Ee.terms=B.rhs.map(function(Fe){var rt=ne(Fe.expression);return ve(Ee,rt),{descending:Fe.descending,expression:rt}}),W.steps.push(Ee),pe(W);break;case":=":W={type:"bind",value:B.value,position:B.position},W.lhs=ne(B.lhs),W.rhs=ne(B.rhs),ve(W,W.rhs);break;case"@":if(W=ne(B.lhs),X=W,W.type==="path"&&(X=W.steps[W.steps.length-1]),typeof X.stages<"u"||typeof X.predicate<"u")throw{code:"S0215",stack:new Error().stack,position:B.position};if(X.type==="sort")throw{code:"S0216",stack:new Error().stack,position:B.position};B.keepArray&&(X.keepArray=!0),X.focus=B.rhs.value,X.tuple=!0;break;case"#":W=ne(B.lhs),X=W,W.type==="path"?X=W.steps[W.steps.length-1]:(W={type:"path",steps:[W]},typeof X.predicate<"u"&&(X.stages=X.predicate,delete X.predicate)),typeof X.stages>"u"?X.index=B.rhs.value:X.stages.push({type:"index",value:B.rhs.value,position:B.position}),X.tuple=!0;break;case"~>":W={type:"apply",value:B.value,position:B.position},W.lhs=ne(B.lhs),W.rhs=ne(B.rhs),W.keepArray=W.lhs.keepArray||W.rhs.keepArray;break;default:W={type:B.type,value:B.value,position:B.position},W.lhs=ne(B.lhs),W.rhs=ne(B.rhs),ve(W,W.lhs),ve(W,W.rhs)}break;case"unary":W={type:B.type,value:B.value,position:B.position},B.value==="["?W.expressions=B.expressions.map(function(Fe){var rt=ne(Fe);return ve(W,rt),rt}):B.value==="{"?W.lhs=B.lhs.map(function(Fe){var rt=ne(Fe[0]);ve(W,rt);var Lt=ne(Fe[1]);return ve(W,Lt),[rt,Lt]}):(W.expression=ne(B.expression),B.value==="-"&&W.expression.type==="number"?(W=W.expression,W.value=-W.value):ve(W,W.expression));break;case"function":case"partial":W={type:B.type,name:B.name,value:B.value,position:B.position},W.arguments=B.arguments.map(function(Fe){var rt=ne(Fe);return ve(W,rt),rt}),W.procedure=ne(B.procedure);break;case"lambda":W={type:B.type,arguments:B.arguments,signature:B.signature,position:B.position};var te=ne(B.body);W.body=Te(te);break;case"condition":W={type:B.type,position:B.position},W.condition=ne(B.condition),ve(W,W.condition),W.then=ne(B.then),ve(W,W.then),typeof B.else<"u"&&(W.else=ne(B.else),ve(W,W.else));break;case"transform":W={type:B.type,position:B.position},W.pattern=ne(B.pattern),W.update=ne(B.update),typeof B.delete<"u"&&(W.delete=ne(B.delete));break;case"block":W={type:B.type,position:B.position},W.expressions=B.expressions.map(function(Fe){var rt=ne(Fe);return ve(W,rt),(rt.consarray||rt.type==="path"&&rt.steps[0].consarray)&&(W.consarray=!0),rt});break;case"name":W={type:"path",steps:[B]},B.keepArray&&(W.keepSingletonArray=!0);break;case"parent":W={type:"parent",slot:{label:"!"+he++,level:1,index:we++}},ce.push(W);break;case"string":case"number":case"value":case"wildcard":case"descendant":case"variable":case"regex":W=B;break;case"operator":if(B.value==="and"||B.value==="or"||B.value==="in")B.type="name",W=ne(B);else if(B.value==="?")W=B;else throw{code:"S0201",stack:new Error().stack,position:B.position,token:B.value};break;case"error":W=B,B.lhs&&(W=ne(B.lhs));break;default:var De="S0206";B.id==="(end)"&&(De="S0207");var Ce={code:De,position:B.position,token:B.value};if(R)return j.push(Ce),{type:"error",error:Ce};throw Ce.stack=new Error().stack,Ce}return B.keepArray&&(W.keepArray=!0),W};L=S(w),N();var ee=z(0);if(A.id!=="(end)"){var Re={code:"S0201",position:A.position,token:A.value};V(Re)}if(ee=ne(ee),ee.type==="parent"||typeof ee.seekingParent<"u")throw{code:"S0217",token:ee.type,position:ee.position};return j.length>0&&(ee.errors=j),ee};return T})();s.exports=d},{"./signature":5}],5:[function(i,s,c){var p=i("./utils");const d=(()=>{var v={a:"arrays",b:"booleans",f:"functions",n:"numbers",o:"objects",s:"strings"};function b(S){for(var T=1,w=[],R={},A=R;T<S.length;){var L=S.charAt(T);if(L===":")break;var P=function(){w.push(R),A=R,R={}},j=function(ie,ge,M,se){for(var Te=1,he=ge;he<ie.length;)if(he++,L=ie.charAt(he),L===se){if(Te--,Te===0)break}else L===M&&Te++;return he};switch(L){case"s":case"n":case"b":case"l":case"o":R.regex="["+L+"m]",R.type=L,P();break;case"a":R.regex="[asnblfom]",R.type=L,R.array=!0,P();break;case"f":R.regex="f",R.type=L,P();break;case"j":R.regex="[asnblom]",R.type=L,P();break;case"x":R.regex="[asnblfom]",R.type=L,P();break;case"-":A.context=!0,A.contextRegex=new RegExp(A.regex),A.regex+="?";break;case"?":case"+":A.regex+=L;break;case"(":var G=j(S,T,"(",")"),Y=S.substring(T+1,G);if(Y.indexOf("<")===-1)R.regex="["+Y+"m]";else throw{code:"S0402",stack:new Error().stack,value:Y,offset:T};R.type="("+Y+")",T=G,P();break;case"<":if(A.type==="a"||A.type==="f"){var k=j(S,T,"<",">");A.subtype=S.substring(T+1,k),T=k}else throw{code:"S0401",stack:new Error().stack,value:A.type,offset:T};break}T++}var V="^"+w.map(function(ie){return"("+ie.regex+")"}).join("")+"$",N=new RegExp(V),z=function(ie){var ge;if(p.isFunction(ie))ge="f";else{var M=typeof ie;switch(M){case"string":ge="s";break;case"number":ge="n";break;case"boolean":ge="b";break;case"object":ie===null?ge="l":Array.isArray(ie)?ge="a":ge="o";break;case"undefined":default:ge="m"}}return ge},Z=function(ie,ge){for(var M="^",se=0,Te=0;Te<w.length;Te++){M+=w[Te].regex;var he=ge.match(M);if(he===null)throw{code:"T0410",stack:new Error().stack,value:ie[se],index:se+1};se=he[0].length}throw{code:"T0410",stack:new Error().stack,value:ie[se],index:se+1}};return{definition:S,validate:function(ie,ge){var M="";ie.forEach(function(we){M+=z(we)});var se=N.exec(M);if(se){var Te=[],he=0;return w.forEach(function(we,ce){var fe=ie[he],ve=se[ce+1];if(ve==="")if(we.context&&we.contextRegex){var pe=z(ge);if(we.contextRegex.test(pe))Te.push(ge);else throw{code:"T0411",stack:new Error().stack,value:ge,index:he+1}}else Te.push(fe),he++;else ve.split("").forEach(function(ne){if(we.type==="a"){if(ne==="m")fe=void 0;else{fe=ie[he];var ee=!0;if(typeof we.subtype<"u"){if(ne!=="a"&&ve!==we.subtype)ee=!1;else if(ne==="a"&&fe.length>0){var Re=z(fe[0]);if(Re!==we.subtype.charAt(0))ee=!1;else{var B=fe.filter(function(W){return z(W)!==Re});ee=B.length===0}}}if(!ee)throw{code:"T0412",stack:new Error().stack,value:fe,index:he+1,type:v[we.subtype]};ne!=="a"&&(fe=[fe])}Te.push(fe),he++}else Te.push(fe),he++})}),Te}Z(ie,M)}}}return b})();s.exports=d},{"./utils":6}],6:[function(i,s,c){const p=(()=>{function d(k){var V=!1;if(typeof k=="number"&&(V=!isNaN(k),V&&!isFinite(k)))throw{code:"D1001",value:k,stack:new Error().stack};return V}function v(k){var V=!1;return Array.isArray(k)&&(V=k.filter(function(N){return typeof N!="string"}).length===0),V}function b(k){var V=!1;return Array.isArray(k)&&(V=k.filter(function(N){return!d(N)}).length===0),V}function S(){var k=[];return k.sequence=!0,arguments.length===1&&k.push(arguments[0]),k}function T(k){return k.sequence===!0&&Array.isArray(k)}function w(k){return k&&(k._jsonata_function===!0||k._jsonata_lambda===!0)||typeof k=="function"}function R(k){var V=typeof k.arity=="number"?k.arity:typeof k.implementation=="function"?k.implementation.length:typeof k.length=="number"?k.length:k.arguments.length;return V}function A(k){return k&&k._jsonata_lambda===!0}var L=(typeof Symbol=="function"?Symbol:{}).iterator||"@@iterator";function P(k){return typeof k=="object"&&k!==null&&L in k&&"next"in k&&typeof k.next=="function"}function j(k,V){if(k===V)return!0;if(typeof k=="object"&&typeof V=="object"&&k!==null&&V!==null){if(Array.isArray(k)&&Array.isArray(V)){if(k.length!==V.length)return!1;for(var N=0;N<k.length;N++)if(!j(k[N],V[N]))return!1;return!0}var z=Object.getOwnPropertyNames(k),Z=Object.getOwnPropertyNames(V);if(z.length!==Z.length)return!1;for(z=z.sort(),Z=Z.sort(),N=0;N<z.length;N++)if(z[N]!==Z[N])return!1;for(N=0;N<z.length;N++){var ie=z[N];if(!j(k[ie],V[ie]))return!1}return!0}return!1}function G(k){return typeof k=="object"&&k!==null&&"then"in k&&typeof k.then=="function"}function Y(k){var V=[];for(let N of k)V.push(N);return V}return{isNumeric:d,isArrayOfStrings:v,isArrayOfNumbers:b,createSequence:S,isSequence:T,isFunction:w,isLambda:A,isIterable:P,getFunctionArity:R,isDeepEqual:j,stringToArray:Y,isPromise:G}})();s.exports=p},{}]},{},[3])(3)})}(bC)),bC.exports}var nU=tU();const GA=WC(nU),rU=async(e,r,i)=>{const{operand:s,operator:c,value:p}=e;if(c==="jsonata")try{const S=p.toString(),T=i();return await GA(S).evaluate(T)}catch(S){return console.log("JSONata evaluation error:",S),!1}const d=r(s),v=String(d||"").toLowerCase().trim(),b=String(p||"").toLowerCase().trim();switch(c){case"==":case"===":return v===b;case"!=":case"!==":return v!==b;case">":const S=parseFloat(v),T=parseFloat(b);return!isNaN(S)&&!isNaN(T)&&S>T;case">=":const w=parseFloat(v),R=parseFloat(b);return!isNaN(w)&&!isNaN(R)&&w>=R;case"<":const A=parseFloat(v),L=parseFloat(b);return!isNaN(A)&&!isNaN(L)&&A<L;case"<=":const P=parseFloat(v),j=parseFloat(b);return!isNaN(P)&&!isNaN(j)&&P<=j;case"contains":case"includes":return Array.isArray(d)?d.some(k=>String(k).toLowerCase().trim().includes(b)):v.includes(b);case"not_contains":case"not_includes":return Array.isArray(d)?!d.some(k=>String(k).toLowerCase().trim().includes(b)):!v.includes(b);case"starts_with":return v.startsWith(b);case"ends_with":return v.endsWith(b);case"exists":case"is_not_empty":return d!=null&&v!=="";case"not_exists":case"is_empty":return d==null||v==="";case"in":return Array.isArray(p)?p.some(k=>String(k).toLowerCase().trim()===v):String(p).split(",").map(k=>k.toLowerCase().trim()).includes(v);case"not_in":return Array.isArray(p)?!p.some(k=>String(k).toLowerCase().trim()===v):!String(p).split(",").map(k=>k.toLowerCase().trim()).includes(v);case"regex":case"matches":try{return new RegExp(String(p),"i").test(v)}catch{return console.warn("Invalid regex pattern:",p),!1}default:return console.warn("Unknown operator:",c),!1}},WA=async(e,r,i)=>{if(!e||!e.conditions||e.conditions.length===0)return!0;for(const s of e.conditions){let c=!0;for(const p of s)if(!await rU(p,r,i)){c=!1;break}if(c)return!0}return!1},oU=()=>{const{getPatientValue:e,getFullPatient:r}=wr();return{evaluateCondition:Ve.useMemo(()=>async s=>await WA(s,e,r),[e,r])}},aU=e=>{var i;const r=(i=e.props)==null?void 0:i.required;return typeof r=="boolean"?r:typeof r=="string"?b3(r):!1},q$=(e,r,i)=>{var c,p;const s=e.filter(d=>d.shouldRender);for(const d of s){if(aU(d)&&!iU(d,r))return console.warn(`Required field is missing: ${d.name||((c=d.props)==null?void 0:c.propertyId)||d.id}`),!1;if((p=d.props)!=null&&p.propertyId&&i(d.props.propertyId))return!1}return!0},iU=(e,r)=>{var c;const i=(c=e.props)==null?void 0:c.propertyId;if(!i)return!0;const s=r(i);return!(s==null||typeof s=="string"&&s.trim()===""||Array.isArray(s)&&s.length===0)},YA=({flow:e,isPreview:r,$bgColor:i,onSubmit:s,onNextStep:c,onPrevStep:p,shouldRedirect:d=!0,formidavimHost:v})=>{const[b,S]=Ve.useState(0),[T,w]=Ve.useState([]),[R,A]=Ve.useState(!0),{evaluateCondition:L}=oU(),{getFlowValue:P,getAllFlowData:j,setDisableSubmitValue:G,getDisableSubmitValue:Y,getFlowError:k,setCurrentFormValue:V}=wr(),N=wr().getAllFlowData(),z=async ce=>{if(!ce)return[];const fe=[];for(const ve of ce){const pe=!ve.condition||await L(ve.condition),ne=pe;fe.push({...ve,isVisible:pe,shouldRender:ne,hasCondition:!!ve.condition})}return fe};Ve.useEffect(()=>{S(0)},[e.slug]),Ve.useEffect(()=>{const ce=async()=>{var ve;if(!e.flowForms){w([]),A(!1);return}const fe=[];for(const pe of e.flowForms)if(!pe.condition||await L(pe.condition)){const ee=(ve=pe.form)!=null&&ve.formComponents?await z(pe.form.formComponents):[];fe.push({...pe,evaluatedFormComponents:ee})}w(fe),A(!1)};A(!0),ce()},[e.flowForms,L]),Ve.useEffect(()=>{if(!R&&T.length>0&&b<T.length){const ce=T[b],fe=(ce==null?void 0:ce.evaluatedFormComponents)||[],ve=q$(fe,P,k);G(!ve)}},[T,b,R,N,P,G]);const Z=T.length,ie=T[b],ge=Y();if(Ve.useEffect(()=>{ie&&V(ie)},[ie,V]),R)return I.jsx("div",{children:"Loading..."});if(!ie)return null;const M=T[0]===ie,se=b===Z-1,Te=(ie==null?void 0:ie.evaluatedFormComponents)||[],he=()=>{if(q$(Te,P,k)){if(ie.submit){s(j(),e,d);return}c&&c(e,ie),b<Z-1&&(S(fe=>fe+1),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0))}},we=()=>{b>0&&(p&&p(e,ie),S(ce=>ce-1)),window.scrollTo({top:0,behavior:"smooth"})};return I.jsxs(iM,{children:[I.jsxs(fM,{$tracker:!0,id:"FormHeaderMobile",children:[I.jsx(uO,{src:"https://media-s3-cdn.ivimhealth.com/assets/images/logos/ivim-black.svg"}),I.jsx(dM,{id:"FlowStepTrackerContainerMobile"}),!M&&I.jsx(lM,{onClick:we})]}),I.jsx(J$,{currentStep:b+1,totalSteps:Z,showOnDesktop:!0,showOnMobile:!1}),I.jsx(bp,{$xSmall:!0,$bgColor:"white",$bRad:"10px 10px 0px 0px",children:I.jsxs(cM,{id:"FormHeaderDesktop",children:[!M&&I.jsx(K$,{onClick:we}),I.jsx(uO,{src:"https://media-s3-cdn.ivimhealth.com/assets/images/logos/ivim-black.svg"})]})}),I.jsx(KA,{$bgColor:ie.bgColor,children:I.jsx(qA,{flowForm:ie,isPreview:r,evaluatedFormComponents:Te,formidavimHost:v})}),I.jsx(bp,{$xSmall:!0,$bgColor:"white",$bRad:"0px 0px 10px 10px",children:I.jsx(sM,{$borderOff:!!ie.bgColor,children:I.jsx(sO,{type:"submit",onClick:he,$isLastStep:se,$radius:"41px",$margin:"0 0 15px 0",$btnStyle:"black",$disable:ge,children:ie.navButtonText?ie.navButtonText:"Next"})})}),I.jsx(pM,{id:"BtnFlowBtnWrapperMobile",children:I.jsx(sO,{type:"submit",onClick:he,$isLastStep:se,$radius:"41px",$margin:"0 0 15px 0",$btnStyle:"black",$disable:ge,$allowDisableClick:!0,children:ie.navButtonText?ie.navButtonText:"Next"})})]})},lU=async(e,r)=>{if(!e||typeof e!="string"||!r)return e;const i=/\{\{\s*([^}]+)\s*\}\}/g;let s=e,c;for(;(c=i.exec(e))!==null;){const p=c[0],d=c[1].trim();try{const v=await GA(d).evaluate(r),b=v??"";typeof b!="object"?s=s.replace(p,String(b)):s=b}catch(v){console.warn(`Failed to process template expression: "${d}"`,v)}}return s},HC=async(e,r)=>{if(!e||!r)return e;if(typeof e=="string")return await lU(e,r);if(Array.isArray(e))return Promise.all(e.map(i=>HC(i,r)));if(typeof e=="object"){const i={};for(const[s,c]of Object.entries(e))i[s]=await HC(c,r);return i}return e},sU=async(e,r)=>{var i;if(!e||!r)return e;try{const s=JSON.parse(JSON.stringify(e));if(s.flowForms){for(const c of s.flowForms)if((i=c.form)!=null&&i.formComponents)for(const p of c.form.formComponents)p.props&&(p.props=await HC(p.props,r))}return s}catch(s){return console.error("Error processing flow config templates:",s),e}},Sw=({data:e,config:r,isPreview:i,onSubmit:s,onNextStep:c,onPrevStep:p,onFlowInit:d,shouldRedirect:v,formidavimHost:b})=>{const{setFlowValues:S,resetAndSetFlowValues:T,generateFormDataFromFlow:w,setPatientValues:R,getFullPatient:A,setCurrentFlowValue:L}=wr(),[P,j]=Ve.useState(null),[G,Y]=Ve.useState(!0),[k,V]=Ve.useState(!1),N=async(Z,ie=!1,ge=!1)=>{try{const M=await sU(r,Z);if(j(M),L(M),ge&&d&&(r!=null&&r.id)&&(r!=null&&r.slug)&&d(r),ie){const se=w(M);T(se)}}catch(M){if(console.error("Error processing config:",M),j(r),L(r),ge&&d&&(r!=null&&r.id)&&(r!=null&&r.slug)&&d(r),ie){const se=w(r);T(se)}}};Ve.useEffect(()=>{(async()=>{Y(!0),e&&R(e),await N(e,!0,!0),V(!0),Y(!1)})()},[e,r]);const z=A();return Ve.useEffect(()=>{k&&z&&N(z,!1,!1)},[z,k]),G||!P?I.jsx("div",{children:"Processing form..."}):I.jsx(YA,{flow:P,isPreview:i,onSubmit:s,onNextStep:c,onPrevStep:p,shouldRedirect:v,formidavimHost:b})},uU={lightPalettePine120:"#5A6859",darkGreenTint:"#7B867A",lightGreen:"#D9E7CE",lightGreenTint:"#ECF3E7",paleLeaf:"#C5D5B9",brandDarkGray:"#32312D",mediumGray:"#474642",gray:"#706F6C",lightGray:"#ADADAB",ltGray:"#D2D2D2",lightGrayTint:"#F5F5F5",brandTan:"#C2925B",neutral50:"#CAC8BE",neutralTint1:"#E5E3D7",neutralTint2:"#EAE9DF",neutralTint3:"#FAF9F7",transparent:"transparent",errorRed:"#DD1818",purple:"#8A61AF",ltPurple:"#E3D9EC",blue:"#6186AF",ltBlue:"#C8E2FE",focus:"#b17bb2",xltGray:"#E1E2E7",white:"#FFFFFF",transp:"transparent",primary:"#32312D",ivimGreen:"#85AF61",success:"#6F9351",pine120:"#5A6859",pine100:"#7B867A",pine60:"#ACB3AC",neutral0:"#FFFFFF",neutral20:"#F5F4F2",neutral30:"#F1EFED",neutral40:"#D8D6CA",gray60:"#ADADAB",danger:"#B94E36"},cU={playfair:'"Playfair Display", serif',poppins:"Poppins, sans-serif",karmina:"Karmina, serif"},dU={xs:"only screen and (min-width: 400px)",sm:"only screen and (min-width: 576px)",md:"only screen and (min-width: 766px)",lg:"only screen and (min-width: 992px)",xl:"only screen and (min-width: 1200px)"},fU={colors:uU,fonts:cU,mediaQuery:dU},pU=s5({reducer:{[V0.name]:V0.reducer,[F0.name]:F0.reducer}}),hU=be.div`
|
|
3358
3358
|
&&{
|
|
3359
3359
|
width: 100%;
|
|
3360
3360
|
min-height: calc(100vh - 100px);
|
|
@@ -3372,11 +3372,11 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
3372
3372
|
}
|
|
3373
3373
|
}
|
|
3374
3374
|
}
|
|
3375
|
-
`,
|
|
3375
|
+
`,mU=be.div`
|
|
3376
3376
|
width: 100%;
|
|
3377
3377
|
// max-width: 600px;
|
|
3378
3378
|
margin: 0 auto;
|
|
3379
3379
|
position: relative;
|
|
3380
|
-
`,Cw=({$isPreview:e,children:r})=>I.jsx(Fu.Provider,{store:
|
|
3380
|
+
`,Cw=({$isPreview:e,children:r})=>I.jsx(Fu.Provider,{store:pU,children:I.jsx(be.ThemeProvider,{theme:fU,children:I.jsx(hU,{$isPreview:e,children:I.jsx(mU,{children:r})})})}),qA=({flowForm:e,isPreview:r,evaluatedFormComponents:i,formidavimHost:s})=>!e||!e.form?null:I.jsx(XA,{form:e.form,isPreview:r,evaluatedFormComponents:i,formidavimHost:s}),ww=class ww{static register(r,i){this.registry[r]=i}static getComponent(r){return this.registry[r]||null}static hasComponent(r){return r in this.registry}static getRegisteredComponents(){return Object.keys(this.registry)}};ww.registry={...eU};let q0=ww;const QA=({formComponent:e,isPreview:r,boundary:i,isVisible:s=!0,formidavimHost:c})=>{var d;const p=v=>{const b=v.componentId;if(!b)return I.jsx(Cp,{errors:["Missing componentId"]});const S=q0.getComponent(b);return S?I.jsx(S,{formComponent:v,formidavimHost:c}):I.jsx(Cp,{errors:[`Unknown component type: ${b}`]})};return I.jsx(Q0,{children:I.jsx(lv,{$span:"12",children:I.jsx(tM,{$margin:(d=e.props)==null?void 0:d.margin,$boundary:i,children:p(e)})})})},XA=({form:e,isPreview:r,evaluatedFormComponents:i,formidavimHost:s})=>{const c=r?i:i.filter(d=>d.shouldRender),p=c.length;return I.jsx(I.Fragment,{children:c.map((d,v)=>{const b=v===0?"first":p===v+1?"last":null,S=d.isVisible;return I.jsx(QA,{formComponent:d,isPreview:r,boundary:b,isVisible:S,formidavimHost:s},d.id)})})},vU=be.form`
|
|
3381
3381
|
padding: 20px 0px 20px;
|
|
3382
|
-
`,KA=({children:e,$bgColor:r})=>I.jsx(bp,{$overflow:"visible",$position:"static",$xSmall:!0,id:"MainFlowContainer",$bgColor:r||"white",$bRad:"0px",$marginBottom:"80px",$marginBottomMd:"0px",children:I.jsx(
|
|
3382
|
+
`,KA=({children:e,$bgColor:r})=>I.jsx(bp,{$overflow:"visible",$position:"static",$xSmall:!0,id:"MainFlowContainer",$bgColor:r||"white",$bRad:"0px",$marginBottom:"80px",$marginBottomMd:"0px",children:I.jsx(vU,{onSubmit:i=>i.preventDefault(),children:e})}),ZA=({dataFetcher:e=()=>{},children:r,configFetcher:i,isPreview:s=!1,onSubmit:c=()=>Promise.resolve(),formidavimHost:p,version:d,flowName:v="",onNextStep:b,onPrevStep:S,onFlowInit:T,onConfigFetchError:w,shouldRedirect:R,onFormidavimFallback:A})=>{const L=uv(p),[P,j]=Ve.useState({config:null,data:null}),[G,Y]=Ve.useState(!0);if(Ve.useEffect(()=>{Y(!0),(i?i():L.flowControllerGetBySlug(v,d).then(({data:N})=>N)).then(async N=>{const z=e?await e("flow"):null;j({config:N,data:z}),Y(!1)}).catch(N=>{console.warn("configFetcher failed",N),w&&w(N),Y(!1)})},[v,d]),G)return null;if(!P.config)return A&&A(),I.jsx(I.Fragment,{children:r});const k=async(V,N)=>{const z=await c(V,N);if(z&&typeof z=="function"){z();return}};return I.jsx(Cw,{children:I.jsx(Sw,{data:P.data,isPreview:s,config:P.config,onSubmit:k,onNextStep:b,onPrevStep:S,onFlowInit:T,shouldRedirect:R,formidavimHost:p})})},yU=({dataFetcher:e=()=>Promise.resolve(null),children:r,configFetcher:i,pipelineFetcher:s,isPreview:c=!1,onSubmit:p=()=>Promise.resolve(),formidavimHost:d,version:v,flowName:b="",onNextStep:S,onPrevStep:T,onFlowInit:w,onPipelineInit:R,onNoFlowsAvailable:A,onConfigFetchError:L,onFormidavimFallback:P})=>{const j=uv(d),[G,Y]=Ve.useState({config:null,data:null}),[k,V]=Ve.useState([]),[N,z]=Ve.useState({}),[Z,ie]=Ve.useState(!0),[ge,M]=Ve.useState(!1),se=Ve.useRef(new Set);Ve.useEffect(()=>{ie(!0),(s?s():j.pipelineControllerGetBySlug(b,v).then(({data:fe})=>fe)).then(async fe=>{const ve=e?await e("pipeline"):null;if(Y({config:fe,data:ve}),fe!=null&&fe.pipelineFlows&&(await Te(fe.pipelineFlows,ve.data)).length===0){A&&A();return}R&&R(fe),ie(!1)}).catch(fe=>{console.warn("configFetcher failed",fe),L&&L(fe),ie(!1)})},[b,v]),Ve.useEffect(()=>{var fe;const ce=((fe=k==null?void 0:k[0])==null?void 0:fe.flow)||{};z(ve=>{const pe=ve,ne=ce;return ge||(pe==null?void 0:pe.id)===(ne==null?void 0:ne.id)&&(pe==null?void 0:pe.version)===(ne==null?void 0:ne.version)||!(pe!=null&&pe.id)&&!(ne!=null&&ne.id)?ve:ce})},[k,ge]);const Te=async(ce,fe,ve=!0)=>{var B;const pe=[],ne=W=>fe==null?void 0:fe[W],ee=()=>fe,Re=(W,$e)=>{const Be=fe==null?void 0:fe.flow_submissions;return!(!Be||!Be[W])};for(const W of ce)Re(W.flowSlug,(B=W.flow)==null?void 0:B.version)||W.condition&&!await WA(W.condition,ne,ee)||pe.push(W);return ve&&V(pe),pe};if(Z)return null;if(!G.config)return I.jsx(ZA,{dataFetcher:e,configFetcher:i,flowName:b,formidavimHost:d,onSubmit:p,isPreview:!1,onNextStep:S,onPrevStep:T,onFlowInit:w,onFormidavimFallback:P,children:r});const he=async ce=>{var fe;if(!ge){M(!0);try{const ve=await p(ce,N),pe=e?await e("pipeline"):null;if((fe=G.config)!=null&&fe.pipelineFlows){const ne=await Te(G.config.pipelineFlows,pe.data,!1);if(ne.length===0&&ve&&typeof ve=="function"){M(!1),await ve(G.config);return}Y(Re=>({...Re,data:pe})),V(ne)}else if(Y(ne=>({...ne,data:pe})),ve&&typeof ve=="function"){M(!1),await ve(G.config);return}}finally{M(!1)}}},we=ce=>{const fe=ce!=null&&ce.id&&(ce!=null&&ce.slug)?`${ce.id}-${ce.slug}-${ce.version||"1.0"}`:null;w&&!ge&&fe&&!se.current.has(fe)&&(se.current.add(fe),w(ce,G.config))};return I.jsx(Cw,{children:I.jsx(Sw,{data:G.data,isPreview:c,config:N,onSubmit:he,onNextStep:S,onPrevStep:T,onFlowInit:we,shouldRedirect:!1,formidavimHost:d},`${N==null?void 0:N.id}-${N==null?void 0:N.slug}-${N==null?void 0:N.version}`)})};exports.ComponentFactory=q0;exports.DataRenderer=ZA;exports.FlowFormRenderer=qA;exports.FlowProgressTracker=J$;exports.FlowRenderer=YA;exports.FormComponentRenderer=QA;exports.FormRenderer=XA;exports.FormWrapper=KA;exports.PipelineProcessor=yU;exports.Renderer=Sw;exports.RendererWrapper=Cw;
|