@hievilmath/browser-formidavim 1.4.6 → 1.4.8
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/index.js
CHANGED
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var aO;function j6(){return aO||(aO=1,process.env.NODE_ENV!=="production"&&function(){var e=Xe,o=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"),k=Symbol.for("react.offscreen"),M=Symbol.iterator,P="@@iterator";function U(ne){if(ne===null||typeof ne!="object")return null;var Ge=M&&ne[M]||ne[P];return typeof Ge=="function"?Ge:null}var G=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function
|
|
17
|
+
*/var aO;function j6(){return aO||(aO=1,process.env.NODE_ENV!=="production"&&function(){var e=Xe,o=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"),k=Symbol.for("react.offscreen"),M=Symbol.iterator,P="@@iterator";function U(ne){if(ne===null||typeof ne!="object")return null;var Ge=M&&ne[M]||ne[P];return typeof Ge=="function"?Ge:null}var G=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function W(ne){{for(var Ge=arguments.length,ot=new Array(Ge>1?Ge-1:0),Lt=1;Lt<Ge;Lt++)ot[Lt-1]=arguments[Lt];A("error",ne,ot)}}function A(ne,Ge,ot){{var Lt=G.ReactDebugCurrentFrame,At=Lt.getStackAddendum();At!==""&&(Ge+="%s",ot=ot.concat([At]));var Wt=ot.map(function(Jt){return String(Jt)});Wt.unshift("Warning: "+Ge),Function.prototype.apply.call(console[ne],console,Wt)}}var _=!1,N=!1,z=!1,X=!1,fe=!1,Ce;Ce=Symbol.for("react.module.reference");function V(ne){return!!(typeof ne=="string"||typeof ne=="function"||ne===s||ne===p||fe||ne===c||ne===S||ne===T||X||ne===k||_||N||z||typeof ne=="object"&&ne!==null&&(ne.$$typeof===R||ne.$$typeof===w||ne.$$typeof===d||ne.$$typeof===v||ne.$$typeof===b||ne.$$typeof===Ce||ne.getModuleId!==void 0))}function ve(ne,Ge,ot){var Lt=ne.displayName;if(Lt)return Lt;var At=Ge.displayName||Ge.name||"";return At!==""?ot+"("+At+")":ot}function we(ne){return ne.displayName||"Context"}function ce(ne){if(ne==null)return null;if(typeof ne.tag=="number"&&W("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof ne=="function")return ne.displayName||ne.name||null;if(typeof ne=="string")return ne;switch(ne){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 ne=="object")switch(ne.$$typeof){case v:var Ge=ne;return we(Ge)+".Consumer";case d:var ot=ne;return we(ot._context)+".Provider";case b:return ve(ne,ne.render,"ForwardRef");case w:var Lt=ne.displayName||null;return Lt!==null?Lt:ce(ne.type)||"Memo";case R:{var At=ne,Wt=At._payload,Jt=At._init;try{return ce(Jt(Wt))}catch{return null}}}return null}var Se=Object.assign,Ee=0,ge,De,ke,se,oe,Te,B;function Y(){}Y.__reactDisabledLog=!0;function Oe(){{if(Ee===0){ge=console.log,De=console.info,ke=console.warn,se=console.error,oe=console.group,Te=console.groupCollapsed,B=console.groupEnd;var ne={configurable:!0,enumerable:!0,value:Y,writable:!0};Object.defineProperties(console,{info:ne,log:ne,warn:ne,error:ne,group:ne,groupCollapsed:ne,groupEnd:ne})}Ee++}}function He(){{if(Ee--,Ee===0){var ne={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Se({},ne,{value:ge}),info:Se({},ne,{value:De}),warn:Se({},ne,{value:ke}),error:Se({},ne,{value:se}),group:Se({},ne,{value:oe}),groupCollapsed:Se({},ne,{value:Te}),groupEnd:Se({},ne,{value:B})})}Ee<0&&W("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Je=G.ReactCurrentDispatcher,We;function Z(ne,Ge,ot){{if(We===void 0)try{throw Error()}catch(At){var Lt=At.stack.trim().match(/\n( *(at )?)/);We=Lt&&Lt[1]||""}return`
|
|
18
18
|
`+We+ne}}var re=!1,K;{var be=typeof WeakMap=="function"?WeakMap:Map;K=new be}function ee(ne,Ge){if(!ne||re)return"";{var ot=K.get(ne);if(ot!==void 0)return ot}var Lt;re=!0;var At=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Wt;Wt=Je.current,Je.current=null,Oe();try{if(Ge){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){Lt=Xt}Reflect.construct(ne,[],Jt)}else{try{Jt.call()}catch(Xt){Lt=Xt}ne.call(Jt.prototype)}}else{try{throw Error()}catch(Xt){Lt=Xt}ne()}}catch(Xt){if(Xt&&Lt&&typeof Xt.stack=="string"){for(var en=Xt.stack.split(`
|
|
19
19
|
`),wr=Lt.stack.split(`
|
|
20
20
|
`),Zn=en.length-1,ar=wr.length-1;Zn>=1&&ar>=0&&en[Zn]!==wr[ar];)ar--;for(;Zn>=1&&ar>=0;Zn--,ar--)if(en[Zn]!==wr[ar]){if(Zn!==1||ar!==1)do if(Zn--,ar--,ar<0||en[Zn]!==wr[ar]){var Kr=`
|
|
21
|
-
`+en[Zn].replace(" at new "," at ");return ne.displayName&&Kr.includes("<anonymous>")&&(Kr=Kr.replace("<anonymous>",ne.displayName)),typeof ne=="function"&&K.set(ne,Kr),Kr}while(Zn>=1&&ar>=0);break}}}finally{re=!1,Je.current=Wt,He(),Error.prepareStackTrace=At}var Yt=ne?ne.displayName||ne.name:"",Jn=Yt?Z(Yt):"";return typeof ne=="function"&&K.set(ne,Jn),Jn}function Ne(ne,Ge,ot){return ee(ne,!1)}function ye(ne){var Ge=ne.prototype;return!!(Ge&&Ge.isReactComponent)}function Fe(ne,Ge,ot){if(ne==null)return"";if(typeof ne=="function")return ee(ne,ye(ne));if(typeof ne=="string")return Z(ne);switch(ne){case S:return Z("Suspense");case T:return Z("SuspenseList")}if(typeof ne=="object")switch(ne.$$typeof){case b:return Ne(ne.render);case w:return Fe(ne.type,Ge,ot);case R:{var Lt=ne,At=Lt._payload,Wt=Lt._init;try{return Fe(Wt(At),Ge,ot)}catch{}}}return""}var at=Object.prototype.hasOwnProperty,It={},jt=G.ReactDebugCurrentFrame;function vt(ne){if(ne){var Ge=ne._owner,ot=Fe(ne.type,ne._source,Ge?Ge.type:null);jt.setExtraStackFrame(ot)}else jt.setExtraStackFrame(null)}function gt(ne,Ge,ot,Lt,At){{var Wt=Function.call.bind(at);for(var Jt in ne)if(Wt(ne,Jt)){var en=void 0;try{if(typeof ne[Jt]!="function"){var wr=Error((Lt||"React class")+": "+ot+" type `"+Jt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof ne[Jt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw wr.name="Invariant Violation",wr}en=ne[Jt](Ge,Jt,Lt,ot,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Zn){en=Zn}en&&!(en instanceof Error)&&(vt(At),
|
|
21
|
+
`+en[Zn].replace(" at new "," at ");return ne.displayName&&Kr.includes("<anonymous>")&&(Kr=Kr.replace("<anonymous>",ne.displayName)),typeof ne=="function"&&K.set(ne,Kr),Kr}while(Zn>=1&&ar>=0);break}}}finally{re=!1,Je.current=Wt,He(),Error.prepareStackTrace=At}var Yt=ne?ne.displayName||ne.name:"",Jn=Yt?Z(Yt):"";return typeof ne=="function"&&K.set(ne,Jn),Jn}function Ne(ne,Ge,ot){return ee(ne,!1)}function ye(ne){var Ge=ne.prototype;return!!(Ge&&Ge.isReactComponent)}function Fe(ne,Ge,ot){if(ne==null)return"";if(typeof ne=="function")return ee(ne,ye(ne));if(typeof ne=="string")return Z(ne);switch(ne){case S:return Z("Suspense");case T:return Z("SuspenseList")}if(typeof ne=="object")switch(ne.$$typeof){case b:return Ne(ne.render);case w:return Fe(ne.type,Ge,ot);case R:{var Lt=ne,At=Lt._payload,Wt=Lt._init;try{return Fe(Wt(At),Ge,ot)}catch{}}}return""}var at=Object.prototype.hasOwnProperty,It={},jt=G.ReactDebugCurrentFrame;function vt(ne){if(ne){var Ge=ne._owner,ot=Fe(ne.type,ne._source,Ge?Ge.type:null);jt.setExtraStackFrame(ot)}else jt.setExtraStackFrame(null)}function gt(ne,Ge,ot,Lt,At){{var Wt=Function.call.bind(at);for(var Jt in ne)if(Wt(ne,Jt)){var en=void 0;try{if(typeof ne[Jt]!="function"){var wr=Error((Lt||"React class")+": "+ot+" type `"+Jt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof ne[Jt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw wr.name="Invariant Violation",wr}en=ne[Jt](Ge,Jt,Lt,ot,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Zn){en=Zn}en&&!(en instanceof Error)&&(vt(At),W("%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).",Lt||"React class",ot,Jt,typeof en),vt(null)),en instanceof Error&&!(en.message in It)&&(It[en.message]=!0,vt(At),W("Failed %s type: %s",ot,en.message),vt(null))}}}var Ct=Array.isArray;function lt(ne){return Ct(ne)}function sn(ne){{var Ge=typeof Symbol=="function"&&Symbol.toStringTag,ot=Ge&&ne[Symbol.toStringTag]||ne.constructor.name||"Object";return ot}}function mn(ne){try{return dn(ne),!1}catch{return!0}}function dn(ne){return""+ne}function un(ne){if(mn(ne))return W("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",sn(ne)),dn(ne)}var Tn=G.ReactCurrentOwner,rr={key:!0,ref:!0,__self:!0,__source:!0},or,it;function rt(ne){if(at.call(ne,"ref")){var Ge=Object.getOwnPropertyDescriptor(ne,"ref").get;if(Ge&&Ge.isReactWarning)return!1}return ne.ref!==void 0}function Be(ne){if(at.call(ne,"key")){var Ge=Object.getOwnPropertyDescriptor(ne,"key").get;if(Ge&&Ge.isReactWarning)return!1}return ne.key!==void 0}function cn(ne,Ge){typeof ne.ref=="string"&&Tn.current}function Rn(ne,Ge){{var ot=function(){or||(or=!0,W("%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)",Ge))};ot.isReactWarning=!0,Object.defineProperty(ne,"key",{get:ot,configurable:!0})}}function Dn(ne,Ge){{var ot=function(){it||(it=!0,W("%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)",Ge))};ot.isReactWarning=!0,Object.defineProperty(ne,"ref",{get:ot,configurable:!0})}}var On=function(ne,Ge,ot,Lt,At,Wt,Jt){var en={$$typeof:o,type:ne,key:Ge,ref:ot,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:Lt}),Object.defineProperty(en,"_source",{configurable:!1,enumerable:!1,writable:!1,value:At}),Object.freeze&&(Object.freeze(en.props),Object.freeze(en)),en};function Ln(ne,Ge,ot,Lt,At){{var Wt,Jt={},en=null,wr=null;ot!==void 0&&(un(ot),en=""+ot),Be(Ge)&&(un(Ge.key),en=""+Ge.key),rt(Ge)&&(wr=Ge.ref,cn(Ge,At));for(Wt in Ge)at.call(Ge,Wt)&&!rr.hasOwnProperty(Wt)&&(Jt[Wt]=Ge[Wt]);if(ne&&ne.defaultProps){var Zn=ne.defaultProps;for(Wt in Zn)Jt[Wt]===void 0&&(Jt[Wt]=Zn[Wt])}if(en||wr){var ar=typeof ne=="function"?ne.displayName||ne.name||"Unknown":ne;en&&Rn(Jt,ar),wr&&Dn(Jt,ar)}return On(ne,en,wr,At,Lt,Tn.current,Jt)}}var Ye=G.ReactCurrentOwner,j=G.ReactDebugCurrentFrame;function J(ne){if(ne){var Ge=ne._owner,ot=Fe(ne.type,ne._source,Ge?Ge.type:null);j.setExtraStackFrame(ot)}else j.setExtraStackFrame(null)}var ae;ae=!1;function $(ne){return typeof ne=="object"&&ne!==null&&ne.$$typeof===o}function F(){{if(Ye.current){var ne=ce(Ye.current.type);if(ne)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+ne+"`."}return""}}function q(ne){return""}var
|
|
23
|
+
Check the render method of \``+ne+"`."}return""}}function q(ne){return""}var ue={};function ie(ne){{var Ge=F();if(!Ge){var ot=typeof ne=="string"?ne:ne.displayName||ne.name;ot&&(Ge=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+ot+">.")}return Ge}}function _e(ne,Ge){{if(!ne._store||ne._store.validated||ne.key!=null)return;ne._store.validated=!0;var ot=ie(Ge);if(
|
|
25
|
+
Check the top-level render call using <`+ot+">.")}return Ge}}function _e(ne,Ge){{if(!ne._store||ne._store.validated||ne.key!=null)return;ne._store.validated=!0;var ot=ie(Ge);if(ue[ot])return;ue[ot]=!0;var Lt="";ne&&ne._owner&&ne._owner!==Ye.current&&(Lt=" It was passed a child from "+ce(ne._owner.type)+"."),J(ne),W('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ot,Lt),J(null)}}function nt(ne,Ge){{if(typeof ne!="object")return;if(lt(ne))for(var ot=0;ot<ne.length;ot++){var Lt=ne[ot];$(Lt)&&_e(Lt,Ge)}else if($(ne))ne._store&&(ne._store.validated=!0);else if(ne){var At=U(ne);if(typeof At=="function"&&At!==ne.entries)for(var Wt=At.call(ne),Jt;!(Jt=Wt.next()).done;)$(Jt.value)&&_e(Jt.value,Ge)}}}function Tt(ne){{var Ge=ne.type;if(Ge==null||typeof Ge=="string")return;var ot;if(typeof Ge=="function")ot=Ge.propTypes;else if(typeof Ge=="object"&&(Ge.$$typeof===b||Ge.$$typeof===w))ot=Ge.propTypes;else return;if(ot){var Lt=ce(Ge);gt(ot,ne.props,"prop",Lt,ne)}else if(Ge.PropTypes!==void 0&&!ae){ae=!0;var At=ce(Ge);W("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",At||"Unknown")}typeof Ge.getDefaultProps=="function"&&!Ge.getDefaultProps.isReactClassApproved&&W("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function $t(ne){{for(var Ge=Object.keys(ne.props),ot=0;ot<Ge.length;ot++){var Lt=Ge[ot];if(Lt!=="children"&&Lt!=="key"){J(ne),W("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Lt),J(null);break}}ne.ref!==null&&(J(ne),W("Invalid attribute `ref` supplied to `React.Fragment`."),J(null))}}var fn={};function zt(ne,Ge,ot,Lt,At,Wt){{var Jt=V(ne);if(!Jt){var en="";(ne===void 0||typeof ne=="object"&&ne!==null&&Object.keys(ne).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 wr=q();wr?en+=wr:en+=F();var Zn;ne===null?Zn="null":lt(ne)?Zn="array":ne!==void 0&&ne.$$typeof===o?(Zn="<"+(ce(ne.type)||"Unknown")+" />",en=" Did you accidentally export a JSX literal instead of a component?"):Zn=typeof ne,W("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(ne,Ge,ot,At,Wt);if(ar==null)return ar;if(Jt){var Kr=Ge.children;if(Kr!==void 0)if(Lt)if(lt(Kr)){for(var Yt=0;Yt<Kr.length;Yt++)nt(Kr[Yt],ne);Object.freeze&&Object.freeze(Kr)}else W("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,ne)}if(at.call(Ge,"key")){var Jn=ce(ne),Xt=Object.keys(Ge).filter(function(ci){return ci!=="key"}),nn=Xt.length>0?"{key: someKey, "+Xt.join(": ..., ")+": ...}":"{key: someKey}";if(!fn[Jn+nn]){var Qa=Xt.length>0?"{"+Xt.join(": ..., ")+": ...}":"{}";W(`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:
|
|
@@ -2466,15 +2466,15 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2466
2466
|
height: 100%;
|
|
2467
2467
|
background-color: ${e=>{var o,i;return((i=(o=e.theme)==null?void 0:o.colors)==null?void 0:i.ivimGreen)||"#85AF61"}};
|
|
2468
2468
|
transition: width 0.3s ease-in-out;
|
|
2469
|
-
`;function Ho(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 CM=typeof Symbol=="function"&&Symbol.observable||"@@observable",cO=CM,QS=()=>Math.random().toString(36).substring(7).split("").join("."),wM={INIT:`@@redux/INIT${QS()}`,REPLACE:`@@redux/REPLACE${QS()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${QS()}`},cf=wM;function lv(e){if(typeof e!="object"||e===null)return!1;let o=e;for(;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(e)===o||Object.getPrototypeOf(e)===null}function EM(e){if(e===void 0)return"undefined";if(e===null)return"null";const o=typeof e;switch(o){case"boolean":case"string":case"number":case"symbol":case"function":return o}if(Array.isArray(e))return"array";if(OM(e))return"date";if(RM(e))return"error";const i=TM(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 TM(e){return typeof e.constructor=="function"?e.constructor.name:null}function RM(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function OM(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function Fu(e){let o=typeof e;return process.env.NODE_ENV!=="production"&&(o=EM(e)),o}function Z$(e,o,i){if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?Ho(2):`Expected the root reducer to be a function. Instead, received: '${Fu(e)}'`);if(typeof o=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Ho(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 o=="function"&&typeof i>"u"&&(i=o,o=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(process.env.NODE_ENV==="production"?Ho(1):`Expected the enhancer to be a function. Instead, received: '${Fu(i)}'`);return i(Z$)(e,o)}let s=e,c=o,p=new Map,d=p,v=0,b=!1;function S(){d===p&&(d=new Map,p.forEach((U,G)=>{d.set(G,U)}))}function T(){if(b)throw new Error(process.env.NODE_ENV==="production"?Ho(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(U){if(typeof U!="function")throw new Error(process.env.NODE_ENV==="production"?Ho(4):`Expected the listener to be a function. Instead, received: '${Fu(U)}'`);if(b)throw new Error(process.env.NODE_ENV==="production"?Ho(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,U),function(){if(G){if(b)throw new Error(process.env.NODE_ENV==="production"?Ho(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(U){if(!lv(U))throw new Error(process.env.NODE_ENV==="production"?Ho(7):`Actions must be plain objects. Instead, the actual type was: '${Fu(U)}'. 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 U.type>"u")throw new Error(process.env.NODE_ENV==="production"?Ho(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof U.type!="string")throw new Error(process.env.NODE_ENV==="production"?Ho(17):`Action "type" property must be a string. Instead, the actual type was: '${Fu(U.type)}'. Value was: '${U.type}' (stringified)`);if(b)throw new Error(process.env.NODE_ENV==="production"?Ho(9):"Reducers may not dispatch actions.");try{b=!0,c=s(c,U)}finally{b=!1}return(p=d).forEach(Y=>{Y()}),U}function k(U){if(typeof U!="function")throw new Error(process.env.NODE_ENV==="production"?Ho(10):`Expected the nextReducer to be a function. Instead, received: '${Fu(U)}`);s=U,R({type:cf.REPLACE})}function M(){const U=w;return{subscribe(G){if(typeof G!="object"||G===null)throw new Error(process.env.NODE_ENV==="production"?Ho(11):`Expected the observer to be an object. Instead, received: '${Fu(G)}'`);function Y(){const _=G;_.next&&_.next(T())}return Y(),{unsubscribe:U(Y)}},[cO](){return this}}}return R({type:cf.INIT}),{dispatch:R,subscribe:w,getState:T,replaceReducer:k,[cO]:M}}function fO(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function $M(e,o,i,s){const c=Object.keys(o),p=i&&i.type===cf.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(!lv(e))return`The ${p} has unexpected type of "${Fu(e)}". Expected argument to be an object with the following keys: "${c.join('", "')}"`;const d=Object.keys(e).filter(v=>!o.hasOwnProperty(v)&&!s[v]);if(d.forEach(v=>{s[v]=!0}),!(i&&i.type===cf.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 AM(e){Object.keys(e).forEach(o=>{const i=e[o];if(typeof i(void 0,{type:cf.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?Ho(12):`The slice reducer for key "${o}" 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:cf.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?Ho(13):`The slice reducer for key "${o}" returned undefined when probed with a random type. Don't try to handle '${cf.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 kM(e){const o=Object.keys(e),i={};for(let d=0;d<o.length;d++){const v=o[d];process.env.NODE_ENV!=="production"&&typeof e[v]>"u"&&fO(`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{AM(i)}catch(d){p=d}return function(v={},b){if(p)throw p;if(process.env.NODE_ENV!=="production"){const w=$M(v,i,b,c);w&&fO(w)}let S=!1;const T={};for(let w=0;w<s.length;w++){const R=s[w],k=i[R],M=v[R],P=k(M,b);if(typeof P>"u"){const U=b&&b.type;throw new Error(process.env.NODE_ENV==="production"?Ho(14):`When called with an action of type ${U?`"${String(U)}"`:"(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!==M}return S=S||s.length!==Object.keys(v).length,S?T:v}}function D0(...e){return e.length===0?o=>o:e.length===1?e[0]:e.reduce((o,i)=>(...s)=>o(i(...s)))}function PM(...e){return o=>(i,s)=>{const c=o(i,s);let p=()=>{throw new Error(process.env.NODE_ENV==="production"?Ho(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=D0(...v)(c.dispatch),{...c,dispatch:p}}}function J$(e){return lv(e)&&"type"in e&&typeof e.type=="string"}var e3=Symbol.for("immer-nothing"),dO=Symbol.for("immer-draftable"),si=Symbol.for("immer-state"),NM=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,...o){if(process.env.NODE_ENV!=="production"){const i=NM[e],s=typeof i=="function"?i.apply(null,o):i;throw new Error(`[Immer] ${s}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var bp=Object.getPrototypeOf;function ff(e){return!!e&&!!e[si]}function Ws(e){var o;return e?t3(e)||Array.isArray(e)||!!e[dO]||!!((o=e.constructor)!=null&&o[dO])||X0(e)||K0(e):!1}var DM=Object.prototype.constructor.toString();function t3(e){if(!e||typeof e!="object")return!1;const o=bp(e);if(o===null)return!0;const i=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return i===Object?!0:typeof i=="function"&&Function.toString.call(i)===DM}function M0(e,o){Q0(e)===0?Reflect.ownKeys(e).forEach(i=>{o(i,e[i],e)}):e.forEach((i,s)=>o(s,i,e))}function Q0(e){const o=e[si];return o?o.type_:Array.isArray(e)?1:X0(e)?2:K0(e)?3:0}function bC(e,o){return Q0(e)===2?e.has(o):Object.prototype.hasOwnProperty.call(e,o)}function n3(e,o,i){const s=Q0(e);s===2?e.set(o,i):s===3?e.add(i):e[o]=i}function MM(e,o){return e===o?e!==0||1/e===1/o:e!==e&&o!==o}function X0(e){return e instanceof Map}function K0(e){return e instanceof Set}function af(e){return e.copy_||e.base_}function xC(e,o){if(X0(e))return new Map(e);if(K0(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const i=t3(e);if(o===!0||o==="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(bp(e),s)}else{const s=bp(e);if(s!==null&&i)return{...e};const c=Object.create(s);return Object.assign(c,e)}}function qC(e,o=!1){return Z0(e)||ff(e)||!Ws(e)||(Q0(e)>1&&(e.set=e.add=e.clear=e.delete=LM),Object.freeze(e),o&&Object.entries(e).forEach(([i,s])=>qC(s,!0))),e}function LM(){Ya(2)}function Z0(e){return Object.isFrozen(e)}var _M={};function df(e){const o=_M[e];return o||Ya(0,e),o}var Zm;function r3(){return Zm}function IM(e,o){return{drafts_:[],parent_:e,immer_:o,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function pO(e,o){o&&(df("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=o)}function SC(e){CC(e),e.drafts_.forEach(FM),e.drafts_=null}function CC(e){e===Zm&&(Zm=e.parent_)}function hO(e){return Zm=IM(Zm,e)}function FM(e){const o=e[si];o.type_===0||o.type_===1?o.revoke_():o.revoked_=!0}function mO(e,o){o.unfinalizedDrafts_=o.drafts_.length;const i=o.drafts_[0];return e!==void 0&&e!==i?(i[si].modified_&&(SC(o),Ya(4)),Ws(e)&&(e=L0(o,e),o.parent_||_0(o,e)),o.patches_&&df("Patches").generateReplacementPatches_(i[si].base_,e,o.patches_,o.inversePatches_)):e=L0(o,i,[]),SC(o),o.patches_&&o.patchListener_(o.patches_,o.inversePatches_),e!==e3?e:void 0}function L0(e,o,i){if(Z0(o))return o;const s=o[si];if(!s)return M0(o,(c,p)=>vO(e,s,o,c,p,i)),o;if(s.scope_!==e)return o;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),M0(p,(v,b)=>vO(e,s,c,v,b,i,d)),_0(e,c,!1),i&&e.patches_&&df("Patches").generatePatches_(s,i,e.patches_,e.inversePatches_)}return s.copy_}function vO(e,o,i,s,c,p,d){if(process.env.NODE_ENV!=="production"&&c===i&&Ya(5),ff(c)){const v=p&&o&&o.type_!==3&&!bC(o.assigned_,s)?p.concat(s):void 0,b=L0(e,c,v);if(n3(i,s,b),ff(b))e.canAutoFreeze_=!1;else return}else d&&i.add(c);if(Ws(c)&&!Z0(c)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;L0(e,c),(!o||!o.scope_.parent_)&&typeof s!="symbol"&&Object.prototype.propertyIsEnumerable.call(i,s)&&_0(e,c)}}function _0(e,o,i=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&qC(o,i)}function VM(e,o){const i=Array.isArray(e),s={type_:i?1:0,scope_:o?o.scope_:r3(),modified_:!1,finalized_:!1,assigned_:{},parent_:o,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let c=s,p=QC;i&&(c=[s],p=Jm);const{revoke:d,proxy:v}=Proxy.revocable(c,p);return s.draft_=v,s.revoke_=d,v}var QC={get(e,o){if(o===si)return e;const i=af(e);if(!bC(i,o))return jM(e,i,o);const s=i[o];return e.finalized_||!Ws(s)?s:s===XS(e.base_,o)?(KS(e),e.copy_[o]=EC(s,e)):s},has(e,o){return o in af(e)},ownKeys(e){return Reflect.ownKeys(af(e))},set(e,o,i){const s=o3(af(e),o);if(s!=null&&s.set)return s.set.call(e.draft_,i),!0;if(!e.modified_){const c=XS(af(e),o),p=c==null?void 0:c[si];if(p&&p.base_===i)return e.copy_[o]=i,e.assigned_[o]=!1,!0;if(MM(i,c)&&(i!==void 0||bC(e.base_,o)))return!0;KS(e),wC(e)}return e.copy_[o]===i&&(i!==void 0||o in e.copy_)||Number.isNaN(i)&&Number.isNaN(e.copy_[o])||(e.copy_[o]=i,e.assigned_[o]=!0),!0},deleteProperty(e,o){return XS(e.base_,o)!==void 0||o in e.base_?(e.assigned_[o]=!1,KS(e),wC(e)):delete e.assigned_[o],e.copy_&&delete e.copy_[o],!0},getOwnPropertyDescriptor(e,o){const i=af(e),s=Reflect.getOwnPropertyDescriptor(i,o);return s&&{writable:!0,configurable:e.type_!==1||o!=="length",enumerable:s.enumerable,value:i[o]}},defineProperty(){Ya(11)},getPrototypeOf(e){return bp(e.base_)},setPrototypeOf(){Ya(12)}},Jm={};M0(QC,(e,o)=>{Jm[e]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}});Jm.deleteProperty=function(e,o){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(o))&&Ya(13),Jm.set.call(this,e,o,void 0)};Jm.set=function(e,o,i){return process.env.NODE_ENV!=="production"&&o!=="length"&&isNaN(parseInt(o))&&Ya(14),QC.set.call(this,e[0],o,i,e[0])};function XS(e,o){const i=e[si];return(i?af(i):e)[o]}function jM(e,o,i){var c;const s=o3(o,i);return s?"value"in s?s.value:(c=s.get)==null?void 0:c.call(e.draft_):void 0}function o3(e,o){if(!(o in e))return;let i=bp(e);for(;i;){const s=Object.getOwnPropertyDescriptor(i,o);if(s)return s;i=bp(i)}}function wC(e){e.modified_||(e.modified_=!0,e.parent_&&wC(e.parent_))}function KS(e){e.copy_||(e.copy_=xC(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var UM=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(o,i,s)=>{if(typeof o=="function"&&typeof i!="function"){const p=i;i=o;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(o)){const p=hO(this),d=EC(o,void 0);let v=!0;try{c=i(d),v=!1}finally{v?SC(p):CC(p)}return pO(p,s),mO(c,p)}else if(!o||typeof o!="object"){if(c=i(o),c===void 0&&(c=o),c===e3&&(c=void 0),this.autoFreeze_&&qC(c,!0),s){const p=[],d=[];df("Patches").generateReplacementPatches_(o,c,p,d),s(p,d)}return c}else Ya(1,o)},this.produceWithPatches=(o,i)=>{if(typeof o=="function")return(d,...v)=>this.produceWithPatches(d,b=>o(b,...v));let s,c;return[this.produce(o,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),ff(e)&&(e=BM(e));const o=hO(this),i=EC(e,void 0);return i[si].isManual_=!0,CC(o),i}finishDraft(e,o){const i=e&&e[si];(!i||!i.isManual_)&&Ya(9);const{scope_:s}=i;return pO(s,o),mO(void 0,s)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,o){let i;for(i=o.length-1;i>=0;i--){const c=o[i];if(c.path.length===0&&c.op==="replace"){e=c.value;break}}i>-1&&(o=o.slice(i+1));const s=df("Patches").applyPatches_;return ff(e)?s(e,o):this.produce(e,c=>s(c,o))}};function EC(e,o){const i=X0(e)?df("MapSet").proxyMap_(e,o):K0(e)?df("MapSet").proxySet_(e,o):VM(e,o);return(o?o.scope_:r3()).drafts_.push(i),i}function BM(e){return ff(e)||Ya(10,e),a3(e)}function a3(e){if(!Ws(e)||Z0(e))return e;const o=e[si];let i;if(o){if(!o.modified_)return o.base_;o.finalized_=!0,i=xC(e,o.scope_.immer_.useStrictShallowCopy_)}else i=xC(e,!0);return M0(i,(s,c)=>{n3(i,s,a3(c))}),o&&(o.finalized_=!1),i}var ui=new UM,i3=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 l3(e){return({dispatch:i,getState:s})=>c=>p=>typeof p=="function"?p(i,s,e):c(p)}var zM=l3(),HM=l3,GM=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?D0:D0.apply(null,arguments)},WM=e=>e&&typeof e.match=="function";function yO(e,o){function i(...s){if(o){let c=o(...s);if(!c)throw new Error(process.env.NODE_ENV==="production"?dr(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=>J$(s)&&s.type===e,i}function YM(e){return typeof e=="function"&&"type"in e&&WM(e)}function qM(e){const o=e?`${e}`.split("/"):[],i=o[o.length-1]||"actionCreator";return`Detected an action creator with type "${e||"unknown"}" being dispatched.
|
|
2469
|
+
`;function Ho(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 CM=typeof Symbol=="function"&&Symbol.observable||"@@observable",cO=CM,QS=()=>Math.random().toString(36).substring(7).split("").join("."),wM={INIT:`@@redux/INIT${QS()}`,REPLACE:`@@redux/REPLACE${QS()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${QS()}`},cf=wM;function lv(e){if(typeof e!="object"||e===null)return!1;let o=e;for(;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(e)===o||Object.getPrototypeOf(e)===null}function EM(e){if(e===void 0)return"undefined";if(e===null)return"null";const o=typeof e;switch(o){case"boolean":case"string":case"number":case"symbol":case"function":return o}if(Array.isArray(e))return"array";if(OM(e))return"date";if(RM(e))return"error";const i=TM(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 TM(e){return typeof e.constructor=="function"?e.constructor.name:null}function RM(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function OM(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function Fu(e){let o=typeof e;return process.env.NODE_ENV!=="production"&&(o=EM(e)),o}function Z$(e,o,i){if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?Ho(2):`Expected the root reducer to be a function. Instead, received: '${Fu(e)}'`);if(typeof o=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Ho(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 o=="function"&&typeof i>"u"&&(i=o,o=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(process.env.NODE_ENV==="production"?Ho(1):`Expected the enhancer to be a function. Instead, received: '${Fu(i)}'`);return i(Z$)(e,o)}let s=e,c=o,p=new Map,d=p,v=0,b=!1;function S(){d===p&&(d=new Map,p.forEach((U,G)=>{d.set(G,U)}))}function T(){if(b)throw new Error(process.env.NODE_ENV==="production"?Ho(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(U){if(typeof U!="function")throw new Error(process.env.NODE_ENV==="production"?Ho(4):`Expected the listener to be a function. Instead, received: '${Fu(U)}'`);if(b)throw new Error(process.env.NODE_ENV==="production"?Ho(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 W=v++;return d.set(W,U),function(){if(G){if(b)throw new Error(process.env.NODE_ENV==="production"?Ho(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(W),p=null}}}function R(U){if(!lv(U))throw new Error(process.env.NODE_ENV==="production"?Ho(7):`Actions must be plain objects. Instead, the actual type was: '${Fu(U)}'. 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 U.type>"u")throw new Error(process.env.NODE_ENV==="production"?Ho(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof U.type!="string")throw new Error(process.env.NODE_ENV==="production"?Ho(17):`Action "type" property must be a string. Instead, the actual type was: '${Fu(U.type)}'. Value was: '${U.type}' (stringified)`);if(b)throw new Error(process.env.NODE_ENV==="production"?Ho(9):"Reducers may not dispatch actions.");try{b=!0,c=s(c,U)}finally{b=!1}return(p=d).forEach(W=>{W()}),U}function k(U){if(typeof U!="function")throw new Error(process.env.NODE_ENV==="production"?Ho(10):`Expected the nextReducer to be a function. Instead, received: '${Fu(U)}`);s=U,R({type:cf.REPLACE})}function M(){const U=w;return{subscribe(G){if(typeof G!="object"||G===null)throw new Error(process.env.NODE_ENV==="production"?Ho(11):`Expected the observer to be an object. Instead, received: '${Fu(G)}'`);function W(){const _=G;_.next&&_.next(T())}return W(),{unsubscribe:U(W)}},[cO](){return this}}}return R({type:cf.INIT}),{dispatch:R,subscribe:w,getState:T,replaceReducer:k,[cO]:M}}function fO(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function $M(e,o,i,s){const c=Object.keys(o),p=i&&i.type===cf.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(!lv(e))return`The ${p} has unexpected type of "${Fu(e)}". Expected argument to be an object with the following keys: "${c.join('", "')}"`;const d=Object.keys(e).filter(v=>!o.hasOwnProperty(v)&&!s[v]);if(d.forEach(v=>{s[v]=!0}),!(i&&i.type===cf.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 AM(e){Object.keys(e).forEach(o=>{const i=e[o];if(typeof i(void 0,{type:cf.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?Ho(12):`The slice reducer for key "${o}" 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:cf.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?Ho(13):`The slice reducer for key "${o}" returned undefined when probed with a random type. Don't try to handle '${cf.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 kM(e){const o=Object.keys(e),i={};for(let d=0;d<o.length;d++){const v=o[d];process.env.NODE_ENV!=="production"&&typeof e[v]>"u"&&fO(`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{AM(i)}catch(d){p=d}return function(v={},b){if(p)throw p;if(process.env.NODE_ENV!=="production"){const w=$M(v,i,b,c);w&&fO(w)}let S=!1;const T={};for(let w=0;w<s.length;w++){const R=s[w],k=i[R],M=v[R],P=k(M,b);if(typeof P>"u"){const U=b&&b.type;throw new Error(process.env.NODE_ENV==="production"?Ho(14):`When called with an action of type ${U?`"${String(U)}"`:"(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!==M}return S=S||s.length!==Object.keys(v).length,S?T:v}}function D0(...e){return e.length===0?o=>o:e.length===1?e[0]:e.reduce((o,i)=>(...s)=>o(i(...s)))}function PM(...e){return o=>(i,s)=>{const c=o(i,s);let p=()=>{throw new Error(process.env.NODE_ENV==="production"?Ho(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=D0(...v)(c.dispatch),{...c,dispatch:p}}}function J$(e){return lv(e)&&"type"in e&&typeof e.type=="string"}var e3=Symbol.for("immer-nothing"),dO=Symbol.for("immer-draftable"),si=Symbol.for("immer-state"),NM=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,...o){if(process.env.NODE_ENV!=="production"){const i=NM[e],s=typeof i=="function"?i.apply(null,o):i;throw new Error(`[Immer] ${s}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var bp=Object.getPrototypeOf;function ff(e){return!!e&&!!e[si]}function Ws(e){var o;return e?t3(e)||Array.isArray(e)||!!e[dO]||!!((o=e.constructor)!=null&&o[dO])||X0(e)||K0(e):!1}var DM=Object.prototype.constructor.toString();function t3(e){if(!e||typeof e!="object")return!1;const o=bp(e);if(o===null)return!0;const i=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return i===Object?!0:typeof i=="function"&&Function.toString.call(i)===DM}function M0(e,o){Q0(e)===0?Reflect.ownKeys(e).forEach(i=>{o(i,e[i],e)}):e.forEach((i,s)=>o(s,i,e))}function Q0(e){const o=e[si];return o?o.type_:Array.isArray(e)?1:X0(e)?2:K0(e)?3:0}function bC(e,o){return Q0(e)===2?e.has(o):Object.prototype.hasOwnProperty.call(e,o)}function n3(e,o,i){const s=Q0(e);s===2?e.set(o,i):s===3?e.add(i):e[o]=i}function MM(e,o){return e===o?e!==0||1/e===1/o:e!==e&&o!==o}function X0(e){return e instanceof Map}function K0(e){return e instanceof Set}function af(e){return e.copy_||e.base_}function xC(e,o){if(X0(e))return new Map(e);if(K0(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const i=t3(e);if(o===!0||o==="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(bp(e),s)}else{const s=bp(e);if(s!==null&&i)return{...e};const c=Object.create(s);return Object.assign(c,e)}}function qC(e,o=!1){return Z0(e)||ff(e)||!Ws(e)||(Q0(e)>1&&(e.set=e.add=e.clear=e.delete=LM),Object.freeze(e),o&&Object.entries(e).forEach(([i,s])=>qC(s,!0))),e}function LM(){Ya(2)}function Z0(e){return Object.isFrozen(e)}var _M={};function df(e){const o=_M[e];return o||Ya(0,e),o}var Zm;function r3(){return Zm}function IM(e,o){return{drafts_:[],parent_:e,immer_:o,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function pO(e,o){o&&(df("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=o)}function SC(e){CC(e),e.drafts_.forEach(FM),e.drafts_=null}function CC(e){e===Zm&&(Zm=e.parent_)}function hO(e){return Zm=IM(Zm,e)}function FM(e){const o=e[si];o.type_===0||o.type_===1?o.revoke_():o.revoked_=!0}function mO(e,o){o.unfinalizedDrafts_=o.drafts_.length;const i=o.drafts_[0];return e!==void 0&&e!==i?(i[si].modified_&&(SC(o),Ya(4)),Ws(e)&&(e=L0(o,e),o.parent_||_0(o,e)),o.patches_&&df("Patches").generateReplacementPatches_(i[si].base_,e,o.patches_,o.inversePatches_)):e=L0(o,i,[]),SC(o),o.patches_&&o.patchListener_(o.patches_,o.inversePatches_),e!==e3?e:void 0}function L0(e,o,i){if(Z0(o))return o;const s=o[si];if(!s)return M0(o,(c,p)=>vO(e,s,o,c,p,i)),o;if(s.scope_!==e)return o;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),M0(p,(v,b)=>vO(e,s,c,v,b,i,d)),_0(e,c,!1),i&&e.patches_&&df("Patches").generatePatches_(s,i,e.patches_,e.inversePatches_)}return s.copy_}function vO(e,o,i,s,c,p,d){if(process.env.NODE_ENV!=="production"&&c===i&&Ya(5),ff(c)){const v=p&&o&&o.type_!==3&&!bC(o.assigned_,s)?p.concat(s):void 0,b=L0(e,c,v);if(n3(i,s,b),ff(b))e.canAutoFreeze_=!1;else return}else d&&i.add(c);if(Ws(c)&&!Z0(c)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;L0(e,c),(!o||!o.scope_.parent_)&&typeof s!="symbol"&&Object.prototype.propertyIsEnumerable.call(i,s)&&_0(e,c)}}function _0(e,o,i=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&qC(o,i)}function VM(e,o){const i=Array.isArray(e),s={type_:i?1:0,scope_:o?o.scope_:r3(),modified_:!1,finalized_:!1,assigned_:{},parent_:o,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let c=s,p=QC;i&&(c=[s],p=Jm);const{revoke:d,proxy:v}=Proxy.revocable(c,p);return s.draft_=v,s.revoke_=d,v}var QC={get(e,o){if(o===si)return e;const i=af(e);if(!bC(i,o))return jM(e,i,o);const s=i[o];return e.finalized_||!Ws(s)?s:s===XS(e.base_,o)?(KS(e),e.copy_[o]=EC(s,e)):s},has(e,o){return o in af(e)},ownKeys(e){return Reflect.ownKeys(af(e))},set(e,o,i){const s=o3(af(e),o);if(s!=null&&s.set)return s.set.call(e.draft_,i),!0;if(!e.modified_){const c=XS(af(e),o),p=c==null?void 0:c[si];if(p&&p.base_===i)return e.copy_[o]=i,e.assigned_[o]=!1,!0;if(MM(i,c)&&(i!==void 0||bC(e.base_,o)))return!0;KS(e),wC(e)}return e.copy_[o]===i&&(i!==void 0||o in e.copy_)||Number.isNaN(i)&&Number.isNaN(e.copy_[o])||(e.copy_[o]=i,e.assigned_[o]=!0),!0},deleteProperty(e,o){return XS(e.base_,o)!==void 0||o in e.base_?(e.assigned_[o]=!1,KS(e),wC(e)):delete e.assigned_[o],e.copy_&&delete e.copy_[o],!0},getOwnPropertyDescriptor(e,o){const i=af(e),s=Reflect.getOwnPropertyDescriptor(i,o);return s&&{writable:!0,configurable:e.type_!==1||o!=="length",enumerable:s.enumerable,value:i[o]}},defineProperty(){Ya(11)},getPrototypeOf(e){return bp(e.base_)},setPrototypeOf(){Ya(12)}},Jm={};M0(QC,(e,o)=>{Jm[e]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}});Jm.deleteProperty=function(e,o){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(o))&&Ya(13),Jm.set.call(this,e,o,void 0)};Jm.set=function(e,o,i){return process.env.NODE_ENV!=="production"&&o!=="length"&&isNaN(parseInt(o))&&Ya(14),QC.set.call(this,e[0],o,i,e[0])};function XS(e,o){const i=e[si];return(i?af(i):e)[o]}function jM(e,o,i){var c;const s=o3(o,i);return s?"value"in s?s.value:(c=s.get)==null?void 0:c.call(e.draft_):void 0}function o3(e,o){if(!(o in e))return;let i=bp(e);for(;i;){const s=Object.getOwnPropertyDescriptor(i,o);if(s)return s;i=bp(i)}}function wC(e){e.modified_||(e.modified_=!0,e.parent_&&wC(e.parent_))}function KS(e){e.copy_||(e.copy_=xC(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var UM=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(o,i,s)=>{if(typeof o=="function"&&typeof i!="function"){const p=i;i=o;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(o)){const p=hO(this),d=EC(o,void 0);let v=!0;try{c=i(d),v=!1}finally{v?SC(p):CC(p)}return pO(p,s),mO(c,p)}else if(!o||typeof o!="object"){if(c=i(o),c===void 0&&(c=o),c===e3&&(c=void 0),this.autoFreeze_&&qC(c,!0),s){const p=[],d=[];df("Patches").generateReplacementPatches_(o,c,p,d),s(p,d)}return c}else Ya(1,o)},this.produceWithPatches=(o,i)=>{if(typeof o=="function")return(d,...v)=>this.produceWithPatches(d,b=>o(b,...v));let s,c;return[this.produce(o,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),ff(e)&&(e=BM(e));const o=hO(this),i=EC(e,void 0);return i[si].isManual_=!0,CC(o),i}finishDraft(e,o){const i=e&&e[si];(!i||!i.isManual_)&&Ya(9);const{scope_:s}=i;return pO(s,o),mO(void 0,s)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,o){let i;for(i=o.length-1;i>=0;i--){const c=o[i];if(c.path.length===0&&c.op==="replace"){e=c.value;break}}i>-1&&(o=o.slice(i+1));const s=df("Patches").applyPatches_;return ff(e)?s(e,o):this.produce(e,c=>s(c,o))}};function EC(e,o){const i=X0(e)?df("MapSet").proxyMap_(e,o):K0(e)?df("MapSet").proxySet_(e,o):VM(e,o);return(o?o.scope_:r3()).drafts_.push(i),i}function BM(e){return ff(e)||Ya(10,e),a3(e)}function a3(e){if(!Ws(e)||Z0(e))return e;const o=e[si];let i;if(o){if(!o.modified_)return o.base_;o.finalized_=!0,i=xC(e,o.scope_.immer_.useStrictShallowCopy_)}else i=xC(e,!0);return M0(i,(s,c)=>{n3(i,s,a3(c))}),o&&(o.finalized_=!1),i}var ui=new UM,i3=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 l3(e){return({dispatch:i,getState:s})=>c=>p=>typeof p=="function"?p(i,s,e):c(p)}var zM=l3(),HM=l3,GM=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?D0:D0.apply(null,arguments)},WM=e=>e&&typeof e.match=="function";function yO(e,o){function i(...s){if(o){let c=o(...s);if(!c)throw new Error(process.env.NODE_ENV==="production"?dr(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=>J$(s)&&s.type===e,i}function YM(e){return typeof e=="function"&&"type"in e&&WM(e)}function qM(e){const o=e?`${e}`.split("/"):[],i=o[o.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 QM(e={}){if(process.env.NODE_ENV==="production")return()=>i=>s=>i(s);const{isActionCreator:o=YM}=e;return()=>i=>s=>(o(s)&&console.warn(qM(s.type)),i(s))}function s3(e,o){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(`${o} 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
|
-
It is disabled in production builds, so you don't need to worry about that.`)}}}var u3=class Hm extends Array{constructor(...o){super(...o),Object.setPrototypeOf(this,Hm.prototype)}static get[Symbol.species](){return Hm}concat(...o){return super.concat.apply(this,o)}prepend(...o){return o.length===1&&Array.isArray(o[0])?new Hm(...o[0].concat(this)):new Hm(...o.concat(this))}};function gO(e){return Ws(e)?i3(e,()=>{}):e}function bO(e,o,i){if(e.has(o)){let c=e.get(o);return i.update&&(c=i.update(c,o,e),e.set(o,c)),c}if(!i.insert)throw new Error(process.env.NODE_ENV==="production"?dr(10):"No insert provided for key not already in map");const s=i.insert(o,e);return e.set(o,s),s}function XM(e){return typeof e!="object"||e==null||Object.isFrozen(e)}function KM(e,o,i){const s=c3(e,o,i);return{detectMutations(){return f3(e,o,s,i)}}}function c3(e,o=[],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;o.length&&o.indexOf(v)!==-1||(p.children[d]=c3(e,o,i[d],v))}}return p}function f3(e,o=[],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=o.length>0;for(let T in b){const w=p?p+"."+T:T;if(S&&o.some(M=>M instanceof RegExp?M.test(w):w===M))continue;const R=f3(e,o,i.children[T],s[T],v,w);if(R.wasMutated)return R}return{wasMutated:!1}}function ZM(e={}){if(process.env.NODE_ENV==="production")return()=>o=>i=>o(i);{let o=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 k=S.indexOf(this);~k?S.splice(k+1):S.push(this),~k?T.splice(k,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=XM,ignoredPaths:c,warnAfter:p=32}=e;const d=KM.bind(null,s,c);return({getState:v})=>{let b=v(),S=d(b),T;return w=>R=>{const k=s3(p,"ImmutableStateInvariantMiddleware");k.measureTime(()=>{if(b=v(),T=S.detectMutations(),S=d(b),T.wasMutated)throw new Error(process.env.NODE_ENV==="production"?dr(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 M=w(R);return k.measureTime(()=>{if(b=v(),T=S.detectMutations(),S=d(b),T.wasMutated)throw new Error(process.env.NODE_ENV==="production"?dr(20):`A state mutation was detected inside a dispatch, in the path: ${T.path||""}. Take a look at the reducer(s) handling the action ${o(R)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}),k.warnIfExceeded(),M}}}}function d3(e){const o=typeof e;return e==null||o==="string"||o==="boolean"||o==="number"||Array.isArray(e)||lv(e)}function TC(e,o="",i=d3,s,c=[],p){let d;if(!i(e))return{keyPath:o||"<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=o?o+"."+S:S;if(!(b&&c.some(k=>k instanceof RegExp?k.test(w):w===k))){if(!i(T))return{keyPath:w,value:T};if(typeof T=="object"&&(d=TC(T,w,i,s,c,p),d))return d}}return p&&p3(e)&&p.add(e),!1}function p3(e){if(!Object.isFrozen(e))return!1;for(const o of Object.values(e))if(!(typeof o!="object"||o===null)&&!p3(o))return!1;return!0}function JM(e={}){if(process.env.NODE_ENV==="production")return()=>o=>i=>o(i);{const{isSerializable:o=d3,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=>k=>{if(!J$(k))return R(k);const M=R(k),P=s3(d,"SerializableStateInvariantMiddleware");return!b&&!(s.length&&s.indexOf(k.type)!==-1)&&P.measureTime(()=>{const U=TC(k,"",o,i,c,T);if(U){const{keyPath:G,value:
|
|
2472
|
+
It is disabled in production builds, so you don't need to worry about that.`)}}}var u3=class Hm extends Array{constructor(...o){super(...o),Object.setPrototypeOf(this,Hm.prototype)}static get[Symbol.species](){return Hm}concat(...o){return super.concat.apply(this,o)}prepend(...o){return o.length===1&&Array.isArray(o[0])?new Hm(...o[0].concat(this)):new Hm(...o.concat(this))}};function gO(e){return Ws(e)?i3(e,()=>{}):e}function bO(e,o,i){if(e.has(o)){let c=e.get(o);return i.update&&(c=i.update(c,o,e),e.set(o,c)),c}if(!i.insert)throw new Error(process.env.NODE_ENV==="production"?dr(10):"No insert provided for key not already in map");const s=i.insert(o,e);return e.set(o,s),s}function XM(e){return typeof e!="object"||e==null||Object.isFrozen(e)}function KM(e,o,i){const s=c3(e,o,i);return{detectMutations(){return f3(e,o,s,i)}}}function c3(e,o=[],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;o.length&&o.indexOf(v)!==-1||(p.children[d]=c3(e,o,i[d],v))}}return p}function f3(e,o=[],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=o.length>0;for(let T in b){const w=p?p+"."+T:T;if(S&&o.some(M=>M instanceof RegExp?M.test(w):w===M))continue;const R=f3(e,o,i.children[T],s[T],v,w);if(R.wasMutated)return R}return{wasMutated:!1}}function ZM(e={}){if(process.env.NODE_ENV==="production")return()=>o=>i=>o(i);{let o=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 k=S.indexOf(this);~k?S.splice(k+1):S.push(this),~k?T.splice(k,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=XM,ignoredPaths:c,warnAfter:p=32}=e;const d=KM.bind(null,s,c);return({getState:v})=>{let b=v(),S=d(b),T;return w=>R=>{const k=s3(p,"ImmutableStateInvariantMiddleware");k.measureTime(()=>{if(b=v(),T=S.detectMutations(),S=d(b),T.wasMutated)throw new Error(process.env.NODE_ENV==="production"?dr(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 M=w(R);return k.measureTime(()=>{if(b=v(),T=S.detectMutations(),S=d(b),T.wasMutated)throw new Error(process.env.NODE_ENV==="production"?dr(20):`A state mutation was detected inside a dispatch, in the path: ${T.path||""}. Take a look at the reducer(s) handling the action ${o(R)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}),k.warnIfExceeded(),M}}}}function d3(e){const o=typeof e;return e==null||o==="string"||o==="boolean"||o==="number"||Array.isArray(e)||lv(e)}function TC(e,o="",i=d3,s,c=[],p){let d;if(!i(e))return{keyPath:o||"<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=o?o+"."+S:S;if(!(b&&c.some(k=>k instanceof RegExp?k.test(w):w===k))){if(!i(T))return{keyPath:w,value:T};if(typeof T=="object"&&(d=TC(T,w,i,s,c,p),d))return d}}return p&&p3(e)&&p.add(e),!1}function p3(e){if(!Object.isFrozen(e))return!1;for(const o of Object.values(e))if(!(typeof o!="object"||o===null)&&!p3(o))return!1;return!0}function JM(e={}){if(process.env.NODE_ENV==="production")return()=>o=>i=>o(i);{const{isSerializable:o=d3,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=>k=>{if(!J$(k))return R(k);const M=R(k),P=s3(d,"SerializableStateInvariantMiddleware");return!b&&!(s.length&&s.indexOf(k.type)!==-1)&&P.measureTime(()=>{const U=TC(k,"",o,i,c,T);if(U){const{keyPath:G,value:W}=U;console.error(`A non-serializable value was detected in an action, in the path: \`${G}\`. Value:`,W,`
|
|
2473
2473
|
Take a look at the logic that dispatched this action: `,k,`
|
|
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
|
-
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),v||(P.measureTime(()=>{const U=w.getState(),G=TC(U,"",o,i,p,T);if(G){const{keyPath:
|
|
2475
|
+
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),v||(P.measureTime(()=>{const U=w.getState(),G=TC(U,"",o,i,p,T);if(G){const{keyPath:W,value:A}=G;console.error(`A non-serializable value was detected in the state, in the path: \`${W}\`. Value:`,A,`
|
|
2476
2476
|
Take a look at the reducer(s) handling this action type: ${k.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()),M}}}function d0(e){return typeof e=="boolean"}var e5=()=>function(o){const{thunk:i=!0,immutableCheck:s=!0,serializableCheck:c=!0,actionCreatorCheck:p=!0}=o??{};let d=new u3;if(i&&(d0(i)?d.push(zM):d.push(HM(i.extraArgument))),process.env.NODE_ENV!=="production"){if(s){let v={};d0(s)||(v=s),d.unshift(ZM(v))}if(c){let v={};d0(c)||(v=c),d.push(JM(v))}if(p){let v={};d0(p)||(v=p),d.unshift(QM(v))}}return d},t5="RTK_autoBatch",h3=e=>o=>{setTimeout(o,e)},n5=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:h3(10),r5=(e={type:"raf"})=>o=>(...i)=>{const s=o(...i);let c=!0,p=!1,d=!1;const v=new Set,b=e.type==="tick"?queueMicrotask:e.type==="raf"?n5:e.type==="callback"?e.queueNotification:h3(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[t5]),p=!c,p&&(d||(d=!0,b(S))),s.dispatch(T)}finally{c=!0}}})},o5=e=>function(i){const{autoBatch:s=!0}=i??{};let c=new u3(e);return s&&c.push(r5(typeof s=="object"?s:void 0)),c};function a5(e){const o=e5(),{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(lv(i))v=kM(i);else throw new Error(process.env.NODE_ENV==="production"?dr(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"?dr(2):"`middleware` field must be a callback");let b;if(typeof s=="function"){if(b=s(o),process.env.NODE_ENV!=="production"&&!Array.isArray(b))throw new Error(process.env.NODE_ENV==="production"?dr(3):"when using a middleware builder function, an array of middleware must be returned")}else b=o();if(process.env.NODE_ENV!=="production"&&b.some(M=>typeof M!="function"))throw new Error(process.env.NODE_ENV==="production"?dr(4):"each middleware provided to configureStore must be a function");let S=D0;c&&(S=GM({trace:process.env.NODE_ENV!=="production",...typeof c=="object"&&c}));const T=PM(...b),w=o5(T);if(process.env.NODE_ENV!=="production"&&d&&typeof d!="function")throw new Error(process.env.NODE_ENV==="production"?dr(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"?dr(6):"`enhancers` callback must return an array");if(process.env.NODE_ENV!=="production"&&R.some(M=>typeof M!="function"))throw new Error(process.env.NODE_ENV==="production"?dr(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 k=S(...R);return Z$(v,p,k)}function m3(e){const o={},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"?dr(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(s)throw new Error(process.env.NODE_ENV==="production"?dr(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"?dr(28):"`builder.addCase` cannot be called with an empty action type");if(v in o)throw new Error(process.env.NODE_ENV==="production"?dr(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${v}'`);return o[v]=d,c},addMatcher(p,d){if(process.env.NODE_ENV!=="production"&&s)throw new Error(process.env.NODE_ENV==="production"?dr(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"?dr(31):"`builder.addDefaultCase` can only be called once");return s=p,c}};return e(c),[o,i,s]}function i5(e){return typeof e=="function"}function l5(e,o){if(process.env.NODE_ENV!=="production"&&typeof o=="object")throw new Error(process.env.NODE_ENV==="production"?dr(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]=m3(o),p;if(i5(e))p=()=>gO(e());else{const v=gO(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(ff(T)){const k=w(T,b);return k===void 0?T:k}else{if(Ws(T))return i3(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 s5=Symbol.for("rtk-slice-createasyncthunk");function u5(e,o){return`${e}/${o}`}function c5({creators:e}={}){var i;const o=(i=e==null?void 0:e.asyncThunk)==null?void 0:i[s5];return function(c){const{name:p,reducerPath:d=p}=c;if(!p)throw new Error(process.env.NODE_ENV==="production"?dr(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(d5()):c.reducers)||{},b=Object.keys(v),S={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},T={addCase(A,_){const N=typeof A=="string"?A:A.type;if(!N)throw new Error(process.env.NODE_ENV==="production"?dr(12):"`context.addCase` cannot be called with an empty action type");if(N in S.sliceCaseReducersByType)throw new Error(process.env.NODE_ENV==="production"?dr(13):"`context.addCase` cannot be called with two reducers for the same action type: "+N);return S.sliceCaseReducersByType[N]=_,T},addMatcher(A,_){return S.sliceMatchers.push({matcher:A,reducer:_}),T},exposeAction(A,_){return S.actionCreators[A]=_,T},exposeCaseReducer(A,_){return S.sliceCaseReducersByName[A]=_,T}};b.forEach(A=>{const _=v[A],N={reducerName:A,type:u5(p,A),createNotation:typeof c.reducers=="function"};h5(_)?v5(N,_,T,o):p5(N,_,T)});function w(){if(process.env.NODE_ENV!=="production"&&typeof c.extraReducers=="object")throw new Error(process.env.NODE_ENV==="production"?dr(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[A={},_=[],N=void 0]=typeof c.extraReducers=="function"?m3(c.extraReducers):[c.extraReducers],z={...A,...S.sliceCaseReducersByType};return l5(c.initialState,X=>{for(let fe in z)X.addCase(fe,z[fe]);for(let fe of S.sliceMatchers)X.addMatcher(fe.matcher,fe.reducer);for(let fe of _)X.addMatcher(fe.matcher,fe.reducer);N&&X.addDefaultCase(N)})}const R=A=>A,k=new Map;let M;function P(A,_){return M||(M=w()),M(A,_)}function U(){return M||(M=w()),M.getInitialState()}function G(A,_=!1){function N(X){let fe=X[A];if(typeof fe>"u"){if(_)fe=U();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?dr(15):"selectSlice returned undefined for an uninjected slice reducer")}return fe}function z(X=R){const fe=bO(k,_,{insert:()=>new WeakMap});return bO(fe,X,{insert:()=>{const Ce={};for(const[V,ve]of Object.entries(c.selectors??{}))Ce[V]=f5(ve,X,U,_);return Ce}})}return{reducerPath:A,getSelectors:z,get selectors(){return z(N)},selectSlice:N}}const Y={name:p,reducer:P,actions:S.actionCreators,caseReducers:S.sliceCaseReducersByName,getInitialState:U,...G(d),injectInto(A,{reducerPath:_,...N}={}){const z=_??d;return A.inject({reducerPath:z,reducer:P},N),{...Y,...G(z,!0)}}};return Y}}function f5(e,o,i,s){function c(p,...d){let v=o(p);if(typeof v>"u"){if(s)v=i();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?dr(16):"selectState returned undefined for an uninjected slice reducer")}return e(v,...d)}return c.unwrapped=e,c}var v3=c5();function d5(){function e(o,i){return{_reducerDefinitionType:"asyncThunk",payloadCreator:o,...i}}return e.withTypes=()=>e,{reducer(o){return Object.assign({[o.name](...i){return o(...i)}}[o.name],{_reducerDefinitionType:"reducer"})},preparedReducer(o,i){return{_reducerDefinitionType:"reducerWithPrepare",prepare:o,reducer:i}},asyncThunk:e}}function p5({type:e,reducerName:o,createNotation:i},s,c){let p,d;if("reducer"in s){if(i&&!m5(s))throw new Error(process.env.NODE_ENV==="production"?dr(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(o,p).exposeAction(o,d?yO(e,d):yO(e))}function h5(e){return e._reducerDefinitionType==="asyncThunk"}function m5(e){return e._reducerDefinitionType==="reducerWithPrepare"}function v5({type:e,reducerName:o},i,s,c){if(!c)throw new Error(process.env.NODE_ENV==="production"?dr(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(o,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(o,{fulfilled:d||p0,pending:v||p0,rejected:b||p0,settled:S||p0})}function p0(){}function dr(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 y5={inputValues:{},inputErrors:{},disableSubmit:!1},I0=v3({name:"flow",initialState:y5,reducers:{setInputValue:(e,o)=>{const{field:i,value:s}=o.payload;e.inputValues[i]=s},setInputValues:(e,o)=>{e.inputValues={...e.inputValues,...o.payload}},setInputError:(e,o)=>{const{field:i,error:s}=o.payload;s===null?delete e.inputErrors[i]:e.inputErrors[i]=s},setDisableSubmit:(e,o)=>{e.disableSubmit=o.payload}},selectors:{selectInputValues:e=>e.inputValues,selectInputErrors:e=>e.inputErrors,selectDisableSubmit:e=>e.disableSubmit}}),{setInputValue:g5,setInputValues:xO,setInputError:b5,setDisableSubmit:x5}=I0.actions,{selectInputValues:S5,selectInputErrors:C5,selectDisableSubmit:w5}=I0.selectors,E5={patient:{id:null,profile:{}}},F0=v3({name:"patient",initialState:E5,reducers:{setPatient:(e,o)=>{e.patient=o.payload},updatePatient:(e,o)=>{e.patient&&(e.patient.profile={...e.patient.profile,...o.payload})}},selectors:{selectPatient:e=>{var o;return((o=e.patient)==null?void 0:o.profile)||null}}}),{setPatient:T5,updatePatient:R5}=F0.actions,{selectPatient:O5}=F0.selectors,ev=e=>e==null?"":String(e),$5=e=>e===""?null:e,A5=e=>e?"true":"false",y3=e=>e==="true",k5=e=>e==="true"||e==="false"?y3(e):e,SO=e=>typeof e=="boolean"?A5(e):e,P5=e=>e==null?"":String(e),N5=e=>{if(e===""||e===null||e===void 0)return null;const o=Number(e);return isNaN(o)?null:o},D5=({formComponent:e})=>{const o=e.props,{propertyId:i,label:s="Input Label",min:c,max:p,allowLeadingZero:d}=o||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S}=qr(),T=P5(v(i)),w=S(i),R=!!w&&w!=="Required",k=1,M=P=>{let{value:U}=P.target;d||(U=U.replace(/^0+/,""));const G=N5(U);b(i,G)};return L.jsxs(ai,{$visible:!0,$hasError:R,children:[L.jsx(Mi,{$color:R?"danger":void 0,children:s}),L.jsx("input",{type:"number",value:T,onChange:M,min:c,max:p,step:k,inputMode:"numeric",pattern:"\\[0-9\\]\\*"}),o!=null&&o.required&&!T&&!R?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):R?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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"})}),w]}):null]})},xp=({errors:e})=>L.jsx(M5,{children:e.map((o,i)=>L.jsx(L5,{children:o},i))}),M5=me.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()),M}}}function d0(e){return typeof e=="boolean"}var e5=()=>function(o){const{thunk:i=!0,immutableCheck:s=!0,serializableCheck:c=!0,actionCreatorCheck:p=!0}=o??{};let d=new u3;if(i&&(d0(i)?d.push(zM):d.push(HM(i.extraArgument))),process.env.NODE_ENV!=="production"){if(s){let v={};d0(s)||(v=s),d.unshift(ZM(v))}if(c){let v={};d0(c)||(v=c),d.push(JM(v))}if(p){let v={};d0(p)||(v=p),d.unshift(QM(v))}}return d},t5="RTK_autoBatch",h3=e=>o=>{setTimeout(o,e)},n5=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:h3(10),r5=(e={type:"raf"})=>o=>(...i)=>{const s=o(...i);let c=!0,p=!1,d=!1;const v=new Set,b=e.type==="tick"?queueMicrotask:e.type==="raf"?n5:e.type==="callback"?e.queueNotification:h3(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[t5]),p=!c,p&&(d||(d=!0,b(S))),s.dispatch(T)}finally{c=!0}}})},o5=e=>function(i){const{autoBatch:s=!0}=i??{};let c=new u3(e);return s&&c.push(r5(typeof s=="object"?s:void 0)),c};function a5(e){const o=e5(),{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(lv(i))v=kM(i);else throw new Error(process.env.NODE_ENV==="production"?dr(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"?dr(2):"`middleware` field must be a callback");let b;if(typeof s=="function"){if(b=s(o),process.env.NODE_ENV!=="production"&&!Array.isArray(b))throw new Error(process.env.NODE_ENV==="production"?dr(3):"when using a middleware builder function, an array of middleware must be returned")}else b=o();if(process.env.NODE_ENV!=="production"&&b.some(M=>typeof M!="function"))throw new Error(process.env.NODE_ENV==="production"?dr(4):"each middleware provided to configureStore must be a function");let S=D0;c&&(S=GM({trace:process.env.NODE_ENV!=="production",...typeof c=="object"&&c}));const T=PM(...b),w=o5(T);if(process.env.NODE_ENV!=="production"&&d&&typeof d!="function")throw new Error(process.env.NODE_ENV==="production"?dr(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"?dr(6):"`enhancers` callback must return an array");if(process.env.NODE_ENV!=="production"&&R.some(M=>typeof M!="function"))throw new Error(process.env.NODE_ENV==="production"?dr(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 k=S(...R);return Z$(v,p,k)}function m3(e){const o={},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"?dr(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(s)throw new Error(process.env.NODE_ENV==="production"?dr(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"?dr(28):"`builder.addCase` cannot be called with an empty action type");if(v in o)throw new Error(process.env.NODE_ENV==="production"?dr(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${v}'`);return o[v]=d,c},addMatcher(p,d){if(process.env.NODE_ENV!=="production"&&s)throw new Error(process.env.NODE_ENV==="production"?dr(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"?dr(31):"`builder.addDefaultCase` can only be called once");return s=p,c}};return e(c),[o,i,s]}function i5(e){return typeof e=="function"}function l5(e,o){if(process.env.NODE_ENV!=="production"&&typeof o=="object")throw new Error(process.env.NODE_ENV==="production"?dr(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]=m3(o),p;if(i5(e))p=()=>gO(e());else{const v=gO(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(ff(T)){const k=w(T,b);return k===void 0?T:k}else{if(Ws(T))return i3(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 s5=Symbol.for("rtk-slice-createasyncthunk");function u5(e,o){return`${e}/${o}`}function c5({creators:e}={}){var i;const o=(i=e==null?void 0:e.asyncThunk)==null?void 0:i[s5];return function(c){const{name:p,reducerPath:d=p}=c;if(!p)throw new Error(process.env.NODE_ENV==="production"?dr(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(d5()):c.reducers)||{},b=Object.keys(v),S={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},T={addCase(A,_){const N=typeof A=="string"?A:A.type;if(!N)throw new Error(process.env.NODE_ENV==="production"?dr(12):"`context.addCase` cannot be called with an empty action type");if(N in S.sliceCaseReducersByType)throw new Error(process.env.NODE_ENV==="production"?dr(13):"`context.addCase` cannot be called with two reducers for the same action type: "+N);return S.sliceCaseReducersByType[N]=_,T},addMatcher(A,_){return S.sliceMatchers.push({matcher:A,reducer:_}),T},exposeAction(A,_){return S.actionCreators[A]=_,T},exposeCaseReducer(A,_){return S.sliceCaseReducersByName[A]=_,T}};b.forEach(A=>{const _=v[A],N={reducerName:A,type:u5(p,A),createNotation:typeof c.reducers=="function"};h5(_)?v5(N,_,T,o):p5(N,_,T)});function w(){if(process.env.NODE_ENV!=="production"&&typeof c.extraReducers=="object")throw new Error(process.env.NODE_ENV==="production"?dr(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[A={},_=[],N=void 0]=typeof c.extraReducers=="function"?m3(c.extraReducers):[c.extraReducers],z={...A,...S.sliceCaseReducersByType};return l5(c.initialState,X=>{for(let fe in z)X.addCase(fe,z[fe]);for(let fe of S.sliceMatchers)X.addMatcher(fe.matcher,fe.reducer);for(let fe of _)X.addMatcher(fe.matcher,fe.reducer);N&&X.addDefaultCase(N)})}const R=A=>A,k=new Map;let M;function P(A,_){return M||(M=w()),M(A,_)}function U(){return M||(M=w()),M.getInitialState()}function G(A,_=!1){function N(X){let fe=X[A];if(typeof fe>"u"){if(_)fe=U();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?dr(15):"selectSlice returned undefined for an uninjected slice reducer")}return fe}function z(X=R){const fe=bO(k,_,{insert:()=>new WeakMap});return bO(fe,X,{insert:()=>{const Ce={};for(const[V,ve]of Object.entries(c.selectors??{}))Ce[V]=f5(ve,X,U,_);return Ce}})}return{reducerPath:A,getSelectors:z,get selectors(){return z(N)},selectSlice:N}}const W={name:p,reducer:P,actions:S.actionCreators,caseReducers:S.sliceCaseReducersByName,getInitialState:U,...G(d),injectInto(A,{reducerPath:_,...N}={}){const z=_??d;return A.inject({reducerPath:z,reducer:P},N),{...W,...G(z,!0)}}};return W}}function f5(e,o,i,s){function c(p,...d){let v=o(p);if(typeof v>"u"){if(s)v=i();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?dr(16):"selectState returned undefined for an uninjected slice reducer")}return e(v,...d)}return c.unwrapped=e,c}var v3=c5();function d5(){function e(o,i){return{_reducerDefinitionType:"asyncThunk",payloadCreator:o,...i}}return e.withTypes=()=>e,{reducer(o){return Object.assign({[o.name](...i){return o(...i)}}[o.name],{_reducerDefinitionType:"reducer"})},preparedReducer(o,i){return{_reducerDefinitionType:"reducerWithPrepare",prepare:o,reducer:i}},asyncThunk:e}}function p5({type:e,reducerName:o,createNotation:i},s,c){let p,d;if("reducer"in s){if(i&&!m5(s))throw new Error(process.env.NODE_ENV==="production"?dr(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(o,p).exposeAction(o,d?yO(e,d):yO(e))}function h5(e){return e._reducerDefinitionType==="asyncThunk"}function m5(e){return e._reducerDefinitionType==="reducerWithPrepare"}function v5({type:e,reducerName:o},i,s,c){if(!c)throw new Error(process.env.NODE_ENV==="production"?dr(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(o,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(o,{fulfilled:d||p0,pending:v||p0,rejected:b||p0,settled:S||p0})}function p0(){}function dr(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 y5={inputValues:{},inputErrors:{},disableSubmit:!1},I0=v3({name:"flow",initialState:y5,reducers:{setInputValue:(e,o)=>{const{field:i,value:s}=o.payload;e.inputValues[i]=s},setInputValues:(e,o)=>{e.inputValues={...e.inputValues,...o.payload}},setInputError:(e,o)=>{const{field:i,error:s}=o.payload;s===null?delete e.inputErrors[i]:e.inputErrors[i]=s},setDisableSubmit:(e,o)=>{e.disableSubmit=o.payload}},selectors:{selectInputValues:e=>e.inputValues,selectInputErrors:e=>e.inputErrors,selectDisableSubmit:e=>e.disableSubmit}}),{setInputValue:g5,setInputValues:xO,setInputError:b5,setDisableSubmit:x5}=I0.actions,{selectInputValues:S5,selectInputErrors:C5,selectDisableSubmit:w5}=I0.selectors,E5={patient:{id:null,profile:{}}},F0=v3({name:"patient",initialState:E5,reducers:{setPatient:(e,o)=>{e.patient=o.payload},updatePatient:(e,o)=>{e.patient&&(e.patient.profile={...e.patient.profile,...o.payload})}},selectors:{selectPatient:e=>{var o;return((o=e.patient)==null?void 0:o.profile)||null}}}),{setPatient:T5,updatePatient:R5}=F0.actions,{selectPatient:O5}=F0.selectors,ev=e=>e==null?"":String(e),$5=e=>e===""?null:e,A5=e=>e?"true":"false",y3=e=>e==="true",k5=e=>e==="true"||e==="false"?y3(e):e,SO=e=>typeof e=="boolean"?A5(e):e,P5=e=>e==null?"":String(e),N5=e=>{if(e===""||e===null||e===void 0)return null;const o=Number(e);return isNaN(o)?null:o},D5=({formComponent:e})=>{const o=e.props,{propertyId:i,label:s="Input Label",min:c,max:p,allowLeadingZero:d,required:v}=o||{},{getFlowValue:b,setFlowAndPatientValue:S,getFlowError:T}=qr(),w=P5(b(i)),R=T(i),k=!!R&&R!=="Required",M=1,P=v==="true",U=G=>{let{value:W}=G.target;d||(W=W.replace(/^0+/,""));const A=N5(W);S(i,A)};return L.jsxs(ai,{$visible:!0,$hasError:k,children:[L.jsx(Mi,{$color:k?"danger":void 0,children:s}),L.jsx("input",{type:"number",value:w,onChange:U,min:c,max:p,step:M,inputMode:"numeric",pattern:"\\[0-9\\]\\*"}),P&&!w&&!k?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):k?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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]})},xp=({errors:e})=>L.jsx(M5,{children:e.map((o,i)=>L.jsx(L5,{children:o},i))}),M5=me.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: ${k.type}.
|
|
|
2485
2485
|
font-size: 14px;
|
|
2486
2486
|
color: #666;
|
|
2487
2487
|
margin-bottom: 4px;
|
|
2488
|
-
`,CO=({formComponent:e})=>{var
|
|
2488
|
+
`,CO=({formComponent:e})=>{var U;const{getFlowValue:o,setFlowAndPatientValue:i,getFlowError:s}=qr(),[c,p]=Xe.useState({}),d=e.props,v=(d==null?void 0:d.options)||[],b=[],S=o(d.propertyId),T=s(d.propertyId),w=!!T&&T!=="Required";d.propertyId||b.push("Error");const R=(d==null?void 0:d.required)==="true";Xe.useEffect(()=>{},[S]);const k=G=>{const{value:W}=G.target;let A=S,_={...c};if(e.componentId==="radio"||e.componentId==="radio-group")SO(S)===W?A=null:A=k5(W);else if(Array.isArray(A)||(A=[]),A.indexOf(W)!==-1){let N=A.indexOf(W);A.splice(N,1)}else A.push(W);i(d.propertyId,A),p(_)},M=G=>{var W;if(e.componentId==="radio"||e.componentId==="radio-group"){const A=(W=v[G])==null?void 0:W.value;return SO(S)===A}},P=(v==null?void 0:v.length)||0;return b.length>0?L.jsx(xp,{errors:b}):L.jsxs(WC,{id:e.id,$style:"input",children:[L.jsxs(q0,{children:[L.jsx(fl,{$margin:"0px 0px 5px 10px",$color:w?"danger":void 0,children:(U=e.props)==null?void 0:U.label}),v&&v.map((G,W)=>{const A=W===0&&W+1!=P?"first":P===W+1?"last":null,_=e.id+"_"+W,N=e.componentId==="radio-group"?d.propertyId:e.id;return L.jsx(iv,{$justify:"flex-start",$inputBoundary:A,children:L.jsxs("label",{htmlFor:_,children:[L.jsx(YC,{dangerouslySetInnerHTML:{__html:G.labelText}}),L.jsx("input",{type:"checkbox",id:_,name:N,value:G.value,onChange:z=>k(z),checked:M(W)}),L.jsx("span",{})]})},_)})]}),R&&!S&&!w?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):w?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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)},_5=({formComponent:e})=>{const o=e.props,{required:i,maxLength:s,propertyId:c,label:p="Text Area Input"}=o||{},{getFlowValue:d,setFlowAndPatientValue:v,getFlowError:b}=qr(),S=d(c)||"",T=b(c),w=!!T&&T!=="Required",R=i===!0||i==="true",k=M=>{const{value:P}=M.target;v(c,P)};return L.jsxs(ai,{$visible:!0,$type:"textArea",$hasError:w,children:[L.jsx(fl,{$color:w?"danger":void 0,children:p}),L.jsx("textarea",{id:c,name:c,value:S,onChange:k,rows:3,maxLength:s||600}),R&&!S&&!w?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):w?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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]})},I5=({formComponent:e})=>{var M;const o=e.props,{required:i,propertyId:s,label:c,inlineLabelText:p="Yes"}=o||{},{getFlowValue:d,setFlowAndPatientValue:v,getFlowError:b}=qr(),S=d(s),T=b(s),w=!!T&&T!=="Required",R=!!S,k=P=>{const{checked:U}=P.target;v(o.propertyId,!!U)};return L.jsxs(WC,{children:[L.jsxs(q0,{children:[L.jsx(fl,{$margin:"0px 0px 5px 10px",$color:w?"danger":void 0,children:(M=e.props)==null?void 0:M.label}),L.jsx(iv,{$justify:"flex-start",children:L.jsxs("label",{children:[L.jsx(YC,{dangerouslySetInnerHTML:{__html:p}}),L.jsx("input",{type:"checkbox",name:s,value:S,onChange:P=>k(P),checked:R}),L.jsx("span",{})]})})]}),o!=null&&o.required&&!S&&!w?o.requiredErrorText?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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"})}),o.requiredErrorText]}):L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):w?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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]})},F5=({formComponent:e})=>{var W;const o=e.props,{required:i,propertyId:s,label:c,options:p,jsonataData:d}=o||{},v=i==="true";let b=[];d?b=(Array.isArray(d)?d:[d]).map(_=>({value:_,labelText:_})):b=p||[];const{getFlowValue:S,setFlowAndPatientValue:T,getFlowError:w}=qr(),R=S(s),k=w(s),M=!!k&&k!=="Required",P=A=>{const{value:_}=A.target;let N=Array.isArray(R)?[...R]:[];if(N.indexOf(_)!==-1){let z=N.indexOf(_);N.splice(z,1)}else N.push(_);console.log(N),T(o.propertyId,N)},U=A=>{var N;const _=(N=b[A])==null?void 0:N.value;return Array.isArray(R)&&R.includes(_)},G=(b==null?void 0:b.length)||0;return L.jsxs(WC,{id:e.id,$style:"input",children:[L.jsxs(q0,{children:[L.jsx(fl,{$margin:"0px 0px 5px 10px",$color:M?"danger":void 0,children:(W=e.props)==null?void 0:W.label}),b&&b.map((A,_)=>{const N=_===0&&_+1!=G?"first":G===_+1?"last":null,z=e.id+"_"+_,X=e.componentId==="radio-group"?o.propertyId:e.id;return L.jsx(iv,{$justify:"flex-start",$inputBoundary:N,children:L.jsxs("label",{htmlFor:z,children:[L.jsx(YC,{dangerouslySetInnerHTML:{__html:A.labelText}}),L.jsx("input",{type:"checkbox",id:z,name:X,value:A.value,onChange:fe=>P(fe),checked:U(_)}),L.jsx("span",{})]})},z)})]}),v&&(!R||Array.isArray(R)&&R.length===0)&&!M?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):M?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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]}):null]},e.id)},V5=({formComponent:e})=>{const{getFlowValue:o,setFlowAndPatientValue:i,getFlowError:s}=qr(),c=e.props,{labelText:p,leftText:d,middleText:v,rightText:b,propertyId:S,required:T,colorDirection:w="green-to-red"}=c||{},R=o(S),k=s(S),M=!!k&&k!=="Required",P=W=>{i(S,W)},U=W=>{const A=["#9AB777","#949455","#A07D4B","#AC6741","#BD5E46"];let _;return w==="green-to-red"?_={1:A[0],2:A[1],3:A[2],4:A[3],5:A[4]}:_={1:A[4],2:A[3],3:A[2],4:A[1],5:A[0]},_[W]||A[0]},G=W=>R===W;return L.jsxs(ai,{$visible:!0,$hasError:M,$type:"symptomSurvey",children:[L.jsxs(j5,{children:[p&&L.jsx(Y$,{$color:"primary",$margin:"0px 0px 10px 0px",children:p}),L.jsxs(U5,{children:[L.jsxs(B5,{children:[d&&L.jsx(ZS,{children:d}),v&&L.jsx(ZS,{children:v}),b&&L.jsx(ZS,{children:b})]}),L.jsx(z5,{children:[1,2,3,4,5].map(W=>L.jsx(H5,{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:L.jsx(G5,{$severity:W,$color:U(W),$isSelected:G(W),onClick:()=>P(W),type:"button",children:W})},W))})]})]}),c!=null&&c.required&&!R&&!M?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):M?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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]}):null]},S)};me.div`
|
|
2489
2489
|
&&{
|
|
2490
2490
|
display: flex;
|
|
2491
2491
|
align-items: center;
|
|
@@ -2583,40 +2583,40 @@ Take a look at the reducer(s) handling this action type: ${k.type}.
|
|
|
2583
2583
|
box-shadow: 0 0 0 2px ${e=>e.theme.colors.primary}40;
|
|
2584
2584
|
}
|
|
2585
2585
|
}
|
|
2586
|
-
`,h0=e=>e instanceof Date&&!isNaN(e.getTime()),JS=e=>{const o=new Date;let i=o.getFullYear()-e.getFullYear();const s=o.getMonth()-e.getMonth();return(s<0||s===0&&o.getDate()<e.getDate())&&i--,i},W5=({formComponent:e})=>{const o=e.props,{propertyId:i,label:s="Label",minDate:c,maxDate:p,minAge:d}=o||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S,setFlowError:T}=qr(),w=v(o.propertyId),R=S(o.propertyId),k=!!R&&R!=="Required";Xe.useEffect(()=>{if(d&&w){const G=new Date(w);h0(G)&&(JS(G)<d?T(i,`Must be over ${d}`):T(i,""))}},[d,w,i,T]),Xe.useEffect(()=>{if(d&&w){const G=new Date(w);h0(G)&&(JS(G)<d?T(i,`Must be over ${d}`):T(i,""))}},[d,w,i,T]);const M=G=>(b(i,P(G)),d&&G&&h0(G)?JS(G)<d?T(i,`Must be over ${d}`):T(i,""):d&&!G&&T(i,""),null),P=G=>{if(!h0(G))return"";const Y=new Date(G),A=String(Y.getDate()).padStart(2,"0"),_=String(Y.getMonth()+1).padStart(2,"0"),N=Y.getFullYear();return`${_}/${A}/${N}`},U=qS.default.default||qS.default||qS;return L.jsx(J6,{$justify:"start",$margin:"",id:`datepicker_${i}`,children:L.jsxs(tM,{$visible:!0,$margin:"0px auto 40px 0px",$hasError:k,children:[L.jsx(Mi,{$color:k?"danger":void 0,children:s}),L.jsx(U,{selected:w,onChange:G=>M(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}),o!=null&&o.required&&!w&&!k?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):k?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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]})})},Y5=({formComponent:e})=>{const o=e.props,{propertyId:i,label:s="Text Area Input"}=o||{},{getFlowValue:c,setFlowAndPatientValue:p,getFlowError:d}=qr(),v=c(o.propertyId),b=d(i),S=!!b&&b!=="Required",T=(o==null?void 0:o.options)||[],[w,R]=Xe.useState(!1),k=()=>{w||R(!0)},M=P=>{const{value:U}=P.target;p(o.propertyId,U)};return L.jsxs(q$,{$visible:!0,$hasError:S,children:[L.jsx(fl,{$color:S?"danger":void 0,children:s}),L.jsxs("select",{id:i,name:i,onChange:P=>M(P),onBlur:k,value:v||"",children:[L.jsx("option",{value:"",disabled:!0,children:"Make a selection"}),T&&T.map((P,U)=>L.jsx("option",{value:P.value,children:P.labelText},U))]}),o!=null&&o.required&&!v&&!S?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):S?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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]})},q5=({formComponent:e})=>{const o=e.props,{required:i,maxLength:s,propertyId:c,label:p="Text Input",type:d="text"}=o||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S}=qr(),T=ev(v(c)),w=S(c),R=!!w&&w!=="Required",k=M=>{const{value:P}=M.target;b(c,$5(P))};return L.jsxs(ai,{$visible:!0,$hasError:R,children:[L.jsx(Mi,{$color:R?"danger":void 0,children:p}),L.jsx("input",{id:c,name:c,type:d,value:T,onChange:k,maxLength:s||255}),i&&!T&&!R?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):R?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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]})},Q5=({formComponent:e})=>{const o=e.props,{propertyId:i,label:s="Input Label"}=o||{},{getFlowValue:c,setFlowAndPatientValue:p,getPatientValue:d,getFlowError:v}=qr(),b=c(i),S=v(i),T=!!S&&S!=="Required",w=d("dosing"),[R,k]=Xe.useState(!1);if(!w)return L.jsx("p",{children:"Titration options not available for preview"});const M=Object.values(w)[0],P=typeof M=="object"&&M!==null&&"titrations"in M?M.titrations:[],U=()=>{R||k(!0)},G=Y=>{const{value:A}=Y.target;p(o.propertyId,A)};return L.jsxs(q$,{$visible:!0,$hasError:T,children:[L.jsx(fl,{$color:T?"danger":void 0,children:s}),L.jsxs("select",{id:i,name:i,onChange:Y=>G(Y),onBlur:U,value:b||"",children:[L.jsx("option",{value:"",disabled:!0,children:"Make a selection"}),P&&P.map((Y,A)=>L.jsxs("option",{value:Y,children:[Y," mg"]},A))]}),o!=null&&o.required&&!b&&!T?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):T?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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]})},X5=({formComponent:e})=>{const o=e.props,{propertyId:i,label:s="Input Label",required:c,lastPrescribedDose:p,concentration:d}=o||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S,setFlowError:T}=qr(),w=Xe.useRef(null),R=Xe.useRef(!1),M=(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"),U=100;Xe.useEffect(()=>{!R.current&&p&&(!M&&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,A=G(M),_=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 L.jsxs(eM,{$visible:!0,children:[L.jsx(fl,{children:s}),L.jsxs(fM,{children:[L.jsx(dM,{children:L.jsx(pM,{$width:`${A}%`})}),L.jsx(X$,{src:"http://media-s3-cdn.ivimhealth.com/assets/images/formidavim/dosing-variable-units-vial.webp"})]}),L.jsxs(hM,{children:[L.jsx(uO,{onClick:()=>_(Math.max(0,A-1)),children:L.jsx("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",children:L.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.998 23H11.998V21H31.998V23Z",fill:"#32312D"})})}),L.jsxs(mM,{onClick:()=>{var N;return(N=w.current)==null?void 0:N.focus()},children:[L.jsx(vM,{ref:w,type:"number",min:"0",max:U,value:A,onChange:N=>_(Math.max(0,Math.min(U,parseInt(N.target.value)||0)))}),L.jsx(yM,{children:"units"})]}),L.jsx(uO,{onClick:()=>_(Math.min(U,A+1)),children:L.jsx("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",children:L.jsx("path",{d:"M22 15V29M15 22H29",stroke:"#32312D",strokeWidth:"2"})})})]}),L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:S(i)||(c?"Required":"")})]})},K5=["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"],m0=e=>{const o=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(o)){const c=o.split("@")[1].split("."),p=c[c.length-1];K5.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},Z5=({formComponent:e})=>{const o=e.props,{required:i,maxLength:s,propertyId:c,label:p="Email",inlineCopy:d}=o||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S,setFlowError:T,setDisableSubmitValue:w,setFlowValue:R}=qr(),k=ev(v(c)),[M,P]=Xe.useState("");Xe.useEffect(()=>{P(k)},[k]),Xe.useEffect(()=>{i&&(!k||k==="")?(T(c,"Required"),w(!0)):k&&!m0(k).valid?(T(c,"Please enter a valid email address"),w(!0)):k&&m0(k).valid&&(T(c,null),w(!1))},[k,i,c,T,w]);const U=A=>{const{value:_}=A.target;P(_),R(c,_);const N=_==="",z=m0(_).valid;!N&&!z?T(c,"Please enter a valid email address"):T(c,null)},G=A=>{const{value:_}=A.target;_&&!m0(_).valid&&T(c,"Please enter a valid email address")},Y=!!S(c)&&S(c)!=="Required";return L.jsxs(ai,{$visible:!0,$hasError:Y,children:[L.jsx(Mi,{$color:Y?"danger":void 0,children:p}),L.jsx("input",{id:c,name:c,type:"email",value:M,onChange:U,onBlur:G,maxLength:s||255,className:S(c)?"error":""}),d&&L.jsx(fl,{children:d}),o!=null&&o.required&&!k&&!Y?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):Y?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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(c)]}):null]})},J5=({formComponent:e})=>{const o=e.props,{required:i,maxLength:s,propertyId:c,label:p="Password",inlineCopy:d,minLength:v=8,confirmPasswordPropertyId:b}=o||{},{getFlowValue:S,setFlowAndPatientValue:T,getFlowError:w,setFlowError:R,setDisableSubmitValue:k,setFlowValue:M}=qr(),P=ev(S(c)),U=b?ev(S(b)):"",G=w(c),Y=b?w(b):null,A=!!G&&G!=="Required",_=!!Y&&Y!=="Required",[N,z]=Xe.useState(!1),[X,fe]=Xe.useState(!1),[Ce,V]=Xe.useState(""),[ve,we]=Xe.useState(""),ue=Te=>{if(Te.length<v)return!1;const B=/[a-z]/.test(Te),W=/[A-Z]/.test(Te),Oe=/\d/.test(Te),He=/[^A-Za-z0-9]/.test(Te);return B&&W&&Oe&&He},Se=(Te,B)=>Te===B;Xe.useEffect(()=>{V(P)},[P]),Xe.useEffect(()=>{b&&we(U)},[U,b]),Xe.useEffect(()=>{const Te=ue(Ce),B=b?Se(Ce,ve):!0;i&&(!Ce||Ce==="")?(R(c,"Required"),k(!0)):Ce&&!Te?(R(c,`Password must be at least ${v} characters with lowercase, uppercase, number, and special character`),k(!0)):b&&Ce&&ve&&!B?(R(b,"Passwords do not match"),k(!0)):Ce&&Te&&(!b||B)&&(R(c,null),b&&R(b,null),k(!1))},[Ce,ve,i,c,b,R,k,v]);const Ee=Te=>{const{value:B}=Te.target;V(B);const W=B==="",Oe=ue(B),He=b?Se(B,ve):!0;!W&&!Oe?(R(c,`Password must be at least ${v} characters with lowercase, uppercase, number, and special character`),M(c,null)):Oe?!b||He?(T(c,B),R(c,null),b&&R(b,null),k(!1)):(M(c,null),R(c,null),R(b,"Passwords do not match"),k(!0)):(R(c,null),M(c,null))},ge=Te=>{if(!b)return;const{value:B}=Te.target;we(B),T(b,B);const W=Se(Ce,B);B&&!W?(R(b,"Passwords do not match"),k(!0)):W&&ue(Ce)?(T(c,Ce),R(b,null),R(c,null),k(!1)):R(b,null)},De=Te=>{const{value:B}=Te.target;B&&!ue(B)&&(R(c,`Password must be at least ${v} characters with lowercase, uppercase, number, and special character`),M(c,null))},ke=Te=>{if(!b)return;const{value:B}=Te.target;B&&!Se(Ce,B)&&R(b,"Passwords do not match")};w(c)||o!=null&&o.required,b&&w(b),w(c)||o!=null&&o.required,b&&w(b);const ce=()=>{z(!N)},oe=()=>{fe(!X)};return L.jsxs(ai,{$visible:!0,$hasError:A||_,$type:"password",$isPass:"true",$show:N?"true":"false",children:[L.jsx(Mi,{$color:A?"danger":void 0,children:p}),L.jsxs("div",{style:{position:"relative"},children:[L.jsx("input",{id:c,name:c,type:N?"text":"password",value:Ce,onChange:Ee,onBlur:De,maxLength:s||255,minLength:v,className:w(c)?"error":""}),L.jsx("button",{type:"button",onClick:ce,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:Te=>{Te.currentTarget.style.opacity="1"},onMouseLeave:Te=>{Te.currentTarget.style.opacity="0.8"},children:N?L.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[L.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"}),L.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}):L.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[L.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),L.jsx("circle",{cx:"12",cy:"12",r:"3"})]})})]}),i&&!P&&!A?L.jsx(Wo,{$visible:!0,children:"Required"}):A?L.jsxs(va,{$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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&&L.jsxs(L.Fragment,{children:[L.jsxs("div",{style:{position:"relative",marginTop:"1rem"},children:[L.jsx(Mi,{children:"Confirm Password"}),L.jsx("input",{id:b,name:b,type:X?"text":"password",value:ve,onChange:ge,onBlur:ke,maxLength:s||255,minLength:v,className:w(b)?"error":""}),L.jsx("button",{type:"button",onClick:oe,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:Te=>{Te.currentTarget.style.opacity="1"},onMouseLeave:Te=>{Te.currentTarget.style.opacity="0.8"},children:X?L.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[L.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"}),L.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}):L.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[L.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),L.jsx("circle",{cx:"12",cy:"12",r:"3"})]})})]}),i&&!U&&!_?L.jsx(Wo,{$visible:!0,children:"Required"}):_?L.jsxs(va,{$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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&&L.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:"0.75rem"},children:[L.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:L.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"})}),L.jsx(fl,{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})]})]})},eL=({formComponent:e})=>{const o=e.props,{required:i,maxLength:s,propertyId:c,label:p="Phone Number"}=o||{},{getFlowValue:d,setFlowAndPatientValue:v,getFlowError:b,setFlowError:S,setDisableSubmitValue:T,setFlowValue:w}=qr(),R=ev(d(c)),[k,M]=Xe.useState(R),P=_=>{const N=_.replace(/\D/g,"");return N.length<=3?N:N.length<=6?`(${N.slice(0,3)}) ${N.slice(3)}`:`(${N.slice(0,3)}) ${N.slice(3,6)}-${N.slice(6,10)}`},U=_=>_.replace(/\D/g,"").length===10,G=_=>{const{value:N}=_.target,z=P(N);M(z);const X=z==="",fe=U(z);!X&&!fe?(S(c,"Please enter a valid phone number"),w(c,null)):fe?(S(c,null),v(c,z)):(S(c,null),w(c,null))};Xe.useEffect(()=>{M(R)},[R]),Xe.useEffect(()=>{i&&(!R||R==="")?(S(c,"Required"),T(!0)):R&&R.length>0&&!U(R)?(S(c,"Please enter a valid phone number"),T(!0)):R&&U(R)&&(S(c,null),T(!1))},[R,i,c,S,T]);const Y=_=>{const{value:N}=_.target;N&&!U(N)&&(S(c,"Please enter a valid phone number"),w(c,null))},A=!!b(c)&&b(c)!=="Required";return L.jsxs(ai,{$visible:!0,$hasError:A,children:[L.jsx(Mi,{$color:A?"danger":void 0,children:p}),L.jsx("input",{id:c,name:c,type:"tel",value:k,onChange:G,onBlur:Y,maxLength:s||14,placeholder:"",className:b(c)?"error":""}),o!=null&&o.required&&!R&&!A?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):A?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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"})}),b(c)]}):null]})},tv={black:"#000",white:"#fff"},sp={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},up={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},cp={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},fp={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},dp={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Vm={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},tL={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,...o){const i=new URL(`https://mui.com/production-error/?code=${e}`);return o.forEach(s=>i.searchParams.append("args[]",s)),`Minified MUI error #${e}; visit ${i} for the full message.`}const J0="$$material";function RC(){return RC=Object.assign?Object.assign.bind():function(e){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var s in i)({}).hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e},RC.apply(null,arguments)}function nL(e){if(e.sheet)return e.sheet;for(var o=0;o<document.styleSheets.length;o++)if(document.styleSheets[o].ownerNode===e)return document.styleSheets[o]}function rL(e){var o=document.createElement("style");return o.setAttribute("data-emotion",e.key),e.nonce!==void 0&&o.setAttribute("nonce",e.nonce),o.appendChild(document.createTextNode("")),o.setAttribute("data-s",""),o}var oL=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 o=e.prototype;return o.hydrate=function(s){s.forEach(this._insertTag)},o.insert=function(s){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(rL(this));var c=this.tags[this.tags.length-1];if(this.isSpeedy){var p=nL(c);try{p.insertRule(s,p.cssRules.length)}catch{}}else c.appendChild(document.createTextNode(s));this.ctr++},o.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}(),pa="-ms-",V0="-moz-",jn="-webkit-",g3="comm",XC="rule",KC="decl",aL="@import",b3="@keyframes",iL="@layer",lL=Math.abs,eb=String.fromCharCode,sL=Object.assign;function uL(e,o){return Go(e,0)^45?(((o<<2^Go(e,0))<<2^Go(e,1))<<2^Go(e,2))<<2^Go(e,3):0}function x3(e){return e.trim()}function cL(e,o){return(e=o.exec(e))?e[0]:e}function Un(e,o,i){return e.replace(o,i)}function OC(e,o){return e.indexOf(o)}function Go(e,o){return e.charCodeAt(o)|0}function nv(e,o,i){return e.slice(o,i)}function Xl(e){return e.length}function ZC(e){return e.length}function v0(e,o){return o.push(e),e}function fL(e,o){return e.map(o).join("")}var tb=1,Sp=1,S3=0,qa=0,oo=0,wp="";function nb(e,o,i,s,c,p,d){return{value:e,root:o,parent:i,type:s,props:c,children:p,line:tb,column:Sp,length:d,return:""}}function jm(e,o){return sL(nb("",null,null,"",null,null,0),e,{length:-e.length},o)}function dL(){return oo}function pL(){return oo=qa>0?Go(wp,--qa):0,Sp--,oo===10&&(Sp=1,tb--),oo}function li(){return oo=qa<S3?Go(wp,qa++):0,Sp++,oo===10&&(Sp=1,tb++),oo}function Jl(){return Go(wp,qa)}function A0(){return qa}function sv(e,o){return nv(wp,e,o)}function rv(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 C3(e){return tb=Sp=1,S3=Xl(wp=e),qa=0,[]}function w3(e){return wp="",e}function k0(e){return x3(sv(qa-1,$C(e===91?e+2:e===40?e+1:e)))}function hL(e){for(;(oo=Jl())&&oo<33;)li();return rv(e)>2||rv(oo)>3?"":" "}function mL(e,o){for(;--o&&li()&&!(oo<48||oo>102||oo>57&&oo<65||oo>70&&oo<97););return sv(e,A0()+(o<6&&Jl()==32&&li()==32))}function $C(e){for(;li();)switch(oo){case e:return qa;case 34:case 39:e!==34&&e!==39&&$C(oo);break;case 40:e===41&&$C(e);break;case 92:li();break}return qa}function vL(e,o){for(;li()&&e+oo!==57;)if(e+oo===84&&Jl()===47)break;return"/*"+sv(o,qa-1)+"*"+eb(e===47?e:li())}function yL(e){for(;!rv(Jl());)li();return sv(e,qa)}function gL(e){return w3(P0("",null,null,null,[""],e=C3(e),0,[0],e))}function P0(e,o,i,s,c,p,d,v,b){for(var S=0,T=0,w=d,R=0,k=0,M=0,P=1,U=1,G=1,Y=0,A="",_=c,N=p,z=s,X=A;U;)switch(M=Y,Y=li()){case 40:if(M!=108&&Go(X,w-1)==58){OC(X+=Un(k0(Y),"&","&\f"),"&\f")!=-1&&(G=-1);break}case 34:case 39:case 91:X+=k0(Y);break;case 9:case 10:case 13:case 32:X+=hL(M);break;case 92:X+=mL(A0()-1,7);continue;case 47:switch(Jl()){case 42:case 47:v0(bL(vL(li(),A0()),o,i),b);break;default:X+="/"}break;case 123*P:v[S++]=Xl(X)*G;case 125*P:case 59:case 0:switch(Y){case 0:case 125:U=0;case 59+T:G==-1&&(X=Un(X,/\f/g,"")),k>0&&Xl(X)-w&&v0(k>32?EO(X+";",s,i,w-1):EO(Un(X," ","")+";",s,i,w-2),b);break;case 59:X+=";";default:if(v0(z=wO(X,o,i,S,T,c,v,A,_=[],N=[],w),p),Y===123)if(T===0)P0(X,o,z,z,_,p,w,v,N);else switch(R===99&&Go(X,3)===110?100:R){case 100:case 108:case 109:case 115:P0(e,z,z,s&&v0(wO(e,z,z,0,0,c,v,A,c,_=[],w),N),c,N,w,v,s?_:N);break;default:P0(X,z,z,z,[""],N,0,v,N)}}S=T=k=0,P=G=1,A=X="",w=d;break;case 58:w=1+Xl(X),k=M;default:if(P<1){if(Y==123)--P;else if(Y==125&&P++==0&&pL()==125)continue}switch(X+=eb(Y),Y*P){case 38:G=T>0?1:(X+="\f",-1);break;case 44:v[S++]=(Xl(X)-1)*G,G=1;break;case 64:Jl()===45&&(X+=k0(li())),R=Jl(),T=w=Xl(A=X+=yL(A0())),Y++;break;case 45:M===45&&Xl(X)==2&&(P=0)}}return p}function wO(e,o,i,s,c,p,d,v,b,S,T){for(var w=c-1,R=c===0?p:[""],k=ZC(R),M=0,P=0,U=0;M<s;++M)for(var G=0,Y=nv(e,w+1,w=lL(P=d[M])),A=e;G<k;++G)(A=x3(P>0?R[G]+" "+Y:Un(Y,/&\f/g,R[G])))&&(b[U++]=A);return nb(e,o,i,c===0?XC:v,b,S,T)}function bL(e,o,i){return nb(e,o,i,g3,eb(dL()),nv(e,2,-2),0)}function EO(e,o,i,s){return nb(e,o,i,KC,nv(e,0,s),nv(e,s+1,-1),s)}function vp(e,o){for(var i="",s=ZC(e),c=0;c<s;c++)i+=o(e[c],c,e,o)||"";return i}function xL(e,o,i,s){switch(e.type){case iL:if(e.children.length)break;case aL:case KC:return e.return=e.return||e.value;case g3:return"";case b3:return e.return=e.value+"{"+vp(e.children,s)+"}";case XC:e.value=e.props.join(",")}return Xl(i=vp(e.children,s))?e.return=e.value+"{"+i+"}":""}function SL(e){var o=ZC(e);return function(i,s,c,p){for(var d="",v=0;v<o;v++)d+=e[v](i,s,c,p)||"";return d}}function CL(e){return function(o){o.root||(o=o.return)&&e(o)}}function E3(e){var o=Object.create(null);return function(i){return o[i]===void 0&&(o[i]=e(i)),o[i]}}var wL=function(o,i,s){for(var c=0,p=0;c=p,p=Jl(),c===38&&p===12&&(i[s]=1),!rv(p);)li();return sv(o,qa)},EL=function(o,i){var s=-1,c=44;do switch(rv(c)){case 0:c===38&&Jl()===12&&(i[s]=1),o[s]+=wL(qa-1,i,s);break;case 2:o[s]+=k0(c);break;case 4:if(c===44){o[++s]=Jl()===58?"&\f":"",i[s]=o[s].length;break}default:o[s]+=eb(c)}while(c=li());return o},TL=function(o,i){return w3(EL(C3(o),i))},TO=new WeakMap,RL=function(o){if(!(o.type!=="rule"||!o.parent||o.length<1)){for(var i=o.value,s=o.parent,c=o.column===s.column&&o.line===s.line;s.type!=="rule";)if(s=s.parent,!s)return;if(!(o.props.length===1&&i.charCodeAt(0)!==58&&!TO.get(s))&&!c){TO.set(o,!0);for(var p=[],d=TL(i,p),v=s.props,b=0,S=0;b<d.length;b++)for(var T=0;T<v.length;T++,S++)o.props[S]=p[b]?d[b].replace(/&\f/g,v[T]):v[T]+" "+d[b]}}},OL=function(o){if(o.type==="decl"){var i=o.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(o.return="",o.value="")}};function T3(e,o){switch(uL(e,o)){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+V0+e+pa+e+e;case 6828:case 4268:return jn+e+pa+e+e;case 6165:return jn+e+pa+"flex-"+e+e;case 5187:return jn+e+Un(e,/(\w+).+(:[^]+)/,jn+"box-$1$2"+pa+"flex-$1$2")+e;case 5443:return jn+e+pa+"flex-item-"+Un(e,/flex-|-self/,"")+e;case 4675:return jn+e+pa+"flex-line-pack"+Un(e,/align-content|flex-|-self/,"")+e;case 5548:return jn+e+pa+Un(e,"shrink","negative")+e;case 5292:return jn+e+pa+Un(e,"basis","preferred-size")+e;case 6060:return jn+"box-"+Un(e,"-grow","")+jn+e+pa+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"+pa+"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-o>6)switch(Go(e,o+1)){case 109:if(Go(e,o+4)!==45)break;case 102:return Un(e,/(.+:)(.+)-([^]+)/,"$1"+jn+"$2-$3$1"+V0+(Go(e,o+3)==108?"$3":"$2-$3"))+e;case 115:return~OC(e,"stretch")?T3(Un(e,"stretch","fill-available"),o)+e:e}break;case 4949:if(Go(e,o+1)!==115)break;case 6444:switch(Go(e,Xl(e)-3-(~OC(e,"!important")&&10))){case 107:return Un(e,":",":"+jn)+e;case 101:return Un(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+jn+(Go(e,14)===45?"inline-":"")+"box$3$1"+jn+"$2$3$1"+pa+"$2box$3")+e}break;case 5936:switch(Go(e,o+11)){case 114:return jn+e+pa+Un(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return jn+e+pa+Un(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return jn+e+pa+Un(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return jn+e+pa+e+e}return e}var $L=function(o,i,s,c){if(o.length>-1&&!o.return)switch(o.type){case KC:o.return=T3(o.value,o.length);break;case b3:return vp([jm(o,{value:Un(o.value,"@","@"+jn)})],c);case XC:if(o.length)return fL(o.props,function(p){switch(cL(p,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return vp([jm(o,{props:[Un(p,/:(read-\w+)/,":"+V0+"$1")]})],c);case"::placeholder":return vp([jm(o,{props:[Un(p,/:(plac\w+)/,":"+jn+"input-$1")]}),jm(o,{props:[Un(p,/:(plac\w+)/,":"+V0+"$1")]}),jm(o,{props:[Un(p,/:(plac\w+)/,pa+"input-$1")]})],c)}return""})}},AL=[$L],kL=function(o){var i=o.key;if(i==="css"){var s=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(s,function(P){var U=P.getAttribute("data-emotion");U.indexOf(" ")!==-1&&(document.head.appendChild(P),P.setAttribute("data-s",""))})}var c=o.stylisPlugins||AL,p={},d,v=[];d=o.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(P){for(var U=P.getAttribute("data-emotion").split(" "),G=1;G<U.length;G++)p[U[G]]=!0;v.push(P)});var b,S=[RL,OL];{var T,w=[xL,CL(function(P){T.insert(P)})],R=SL(S.concat(c,w)),k=function(U){return vp(gL(U),R)};b=function(U,G,Y,A){T=Y,k(U?U+"{"+G.styles+"}":G.styles),A&&(M.inserted[G.name]=!0)}}var M={key:i,sheet:new oL({key:i,container:d,nonce:o.nonce,speedy:o.speedy,prepend:o.prepend,insertionPoint:o.insertionPoint}),nonce:o.nonce,inserted:p,registered:{},insert:b};return M.sheet.hydrate(v),M},y0={exports:{}},Wn={};/** @license React v16.13.1
|
|
2586
|
+
`,h0=e=>e instanceof Date&&!isNaN(e.getTime()),JS=e=>{const o=new Date;let i=o.getFullYear()-e.getFullYear();const s=o.getMonth()-e.getMonth();return(s<0||s===0&&o.getDate()<e.getDate())&&i--,i},W5=({formComponent:e})=>{const o=e.props,{propertyId:i,label:s="Label",minDate:c,maxDate:p,minAge:d}=o||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S,setFlowError:T}=qr(),w=v(o.propertyId),R=S(o.propertyId),k=!!R&&R!=="Required";Xe.useEffect(()=>{if(d&&w){const G=new Date(w);h0(G)&&(JS(G)<d?T(i,`Must be over ${d}`):T(i,""))}},[d,w,i,T]),Xe.useEffect(()=>{if(d&&w){const G=new Date(w);h0(G)&&(JS(G)<d?T(i,`Must be over ${d}`):T(i,""))}},[d,w,i,T]);const M=G=>(b(i,P(G)),d&&G&&h0(G)?JS(G)<d?T(i,`Must be over ${d}`):T(i,""):d&&!G&&T(i,""),null),P=G=>{if(!h0(G))return"";const W=new Date(G),A=String(W.getDate()).padStart(2,"0"),_=String(W.getMonth()+1).padStart(2,"0"),N=W.getFullYear();return`${_}/${A}/${N}`},U=qS.default.default||qS.default||qS;return L.jsx(J6,{$justify:"start",$margin:"",id:`datepicker_${i}`,children:L.jsxs(tM,{$visible:!0,$margin:"0px auto 40px 0px",$hasError:k,children:[L.jsx(Mi,{$color:k?"danger":void 0,children:s}),L.jsx(U,{selected:w,onChange:G=>M(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}),o!=null&&o.required&&!w&&!k?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):k?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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]})})},Y5=({formComponent:e})=>{const o=e.props,{propertyId:i,label:s="Text Area Input"}=o||{},{getFlowValue:c,setFlowAndPatientValue:p,getFlowError:d}=qr(),v=c(o.propertyId),b=d(i),S=!!b&&b!=="Required",T=(o==null?void 0:o.options)||[],[w,R]=Xe.useState(!1),k=()=>{w||R(!0)},M=P=>{const{value:U}=P.target;p(o.propertyId,U)};return L.jsxs(q$,{$visible:!0,$hasError:S,children:[L.jsx(fl,{$color:S?"danger":void 0,children:s}),L.jsxs("select",{id:i,name:i,onChange:P=>M(P),onBlur:k,value:v||"",children:[L.jsx("option",{value:"",disabled:!0,children:"Make a selection"}),T&&T.map((P,U)=>L.jsx("option",{value:P.value,children:P.labelText},U))]}),o!=null&&o.required&&!v&&!S?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):S?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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]})},q5=({formComponent:e})=>{const o=e.props,{required:i,maxLength:s,propertyId:c,label:p="Text Input",type:d="text"}=o||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S}=qr(),T=ev(v(c)),w=S(c),R=!!w&&w!=="Required",k=i==="true",M=P=>{const{value:U}=P.target;b(c,$5(U))};return L.jsxs(ai,{$visible:!0,$hasError:R,children:[L.jsx(Mi,{$color:R?"danger":void 0,children:p}),L.jsx("input",{id:c,name:c,type:d,value:T,onChange:M,maxLength:s||255}),k&&!T&&!R?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):R?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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]})},Q5=({formComponent:e})=>{const o=e.props,{propertyId:i,label:s="Input Label"}=o||{},{getFlowValue:c,setFlowAndPatientValue:p,getPatientValue:d,getFlowError:v}=qr(),b=c(i),S=v(i),T=!!S&&S!=="Required",w=d("dosing"),[R,k]=Xe.useState(!1);if(!w)return L.jsx("p",{children:"Titration options not available for preview"});const M=Object.values(w)[0],P=typeof M=="object"&&M!==null&&"titrations"in M?M.titrations:[],U=()=>{R||k(!0)},G=W=>{const{value:A}=W.target;p(o.propertyId,A)};return L.jsxs(q$,{$visible:!0,$hasError:T,children:[L.jsx(fl,{$color:T?"danger":void 0,children:s}),L.jsxs("select",{id:i,name:i,onChange:W=>G(W),onBlur:U,value:b||"",children:[L.jsx("option",{value:"",disabled:!0,children:"Make a selection"}),P&&P.map((W,A)=>L.jsxs("option",{value:W,children:[W," mg"]},A))]}),o!=null&&o.required&&!b&&!T?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):T?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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]})},X5=({formComponent:e})=>{const o=e.props,{propertyId:i,label:s="Input Label",required:c,lastPrescribedDose:p,concentration:d}=o||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S,setFlowError:T}=qr(),w=Xe.useRef(null),R=Xe.useRef(!1),M=(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"),U=100;Xe.useEffect(()=>{!R.current&&p&&(!M&&p&&b(i,p+" mg"),R.current=!0)},[p]);const G=N=>P===0?0:Math.round(N/P*100),W=N=>P===0?0:N/100*P,A=G(M),_=N=>{const z=W(N);Number(N)===0?(b(i,0),T(i,"Units must be greater than 0")):(T(i,""),b(i,z+" mg"))};return L.jsxs(eM,{$visible:!0,children:[L.jsx(fl,{children:s}),L.jsxs(fM,{children:[L.jsx(dM,{children:L.jsx(pM,{$width:`${A}%`})}),L.jsx(X$,{src:"http://media-s3-cdn.ivimhealth.com/assets/images/formidavim/dosing-variable-units-vial.webp"})]}),L.jsxs(hM,{children:[L.jsx(uO,{onClick:()=>_(Math.max(0,A-1)),children:L.jsx("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",children:L.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.998 23H11.998V21H31.998V23Z",fill:"#32312D"})})}),L.jsxs(mM,{onClick:()=>{var N;return(N=w.current)==null?void 0:N.focus()},children:[L.jsx(vM,{ref:w,type:"number",min:"0",max:U,value:A,onChange:N=>_(Math.max(0,Math.min(U,parseInt(N.target.value)||0)))}),L.jsx(yM,{children:"units"})]}),L.jsx(uO,{onClick:()=>_(Math.min(U,A+1)),children:L.jsx("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",children:L.jsx("path",{d:"M22 15V29M15 22H29",stroke:"#32312D",strokeWidth:"2"})})})]}),L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:S(i)||(c?"Required":"")})]})},K5=["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"],m0=e=>{const o=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(o)){const c=o.split("@")[1].split("."),p=c[c.length-1];K5.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},Z5=({formComponent:e})=>{const o=e.props,{required:i,maxLength:s,propertyId:c,label:p="Email",inlineCopy:d}=o||{},{getFlowValue:v,setFlowAndPatientValue:b,getFlowError:S,setFlowError:T,setDisableSubmitValue:w,setFlowValue:R}=qr(),k=ev(v(c)),[M,P]=Xe.useState("");Xe.useEffect(()=>{P(k)},[k]),Xe.useEffect(()=>{i&&(!k||k==="")?(T(c,"Required"),w(!0)):k&&!m0(k).valid?(T(c,"Please enter a valid email address"),w(!0)):k&&m0(k).valid&&(T(c,null),w(!1))},[k,i,c,T,w]);const U=A=>{const{value:_}=A.target;P(_),R(c,_);const N=_==="",z=m0(_).valid;!N&&!z?T(c,"Please enter a valid email address"):T(c,null)},G=A=>{const{value:_}=A.target;_&&!m0(_).valid&&T(c,"Please enter a valid email address")},W=!!S(c)&&S(c)!=="Required";return L.jsxs(ai,{$visible:!0,$hasError:W,children:[L.jsx(Mi,{$color:W?"danger":void 0,children:p}),L.jsx("input",{id:c,name:c,type:"email",value:M,onChange:U,onBlur:G,maxLength:s||255,className:S(c)?"error":""}),d&&L.jsx(fl,{children:d}),o!=null&&o.required&&!k&&!W?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):W?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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(c)]}):null]})},J5=({formComponent:e})=>{const o=e.props,{required:i,maxLength:s,propertyId:c,label:p="Password",inlineCopy:d,minLength:v=8,confirmPasswordPropertyId:b}=o||{},{getFlowValue:S,setFlowAndPatientValue:T,getFlowError:w,setFlowError:R,setDisableSubmitValue:k,setFlowValue:M}=qr(),P=ev(S(c)),U=b?ev(S(b)):"",G=w(c),W=b?w(b):null,A=!!G&&G!=="Required",_=!!W&&W!=="Required",[N,z]=Xe.useState(!1),[X,fe]=Xe.useState(!1),[Ce,V]=Xe.useState(""),[ve,we]=Xe.useState(""),ce=Te=>{if(Te.length<v)return!1;const B=/[a-z]/.test(Te),Y=/[A-Z]/.test(Te),Oe=/\d/.test(Te),He=/[^A-Za-z0-9]/.test(Te);return B&&Y&&Oe&&He},Se=(Te,B)=>Te===B;Xe.useEffect(()=>{V(P)},[P]),Xe.useEffect(()=>{b&&we(U)},[U,b]),Xe.useEffect(()=>{const Te=ce(Ce),B=b?Se(Ce,ve):!0;i&&(!Ce||Ce==="")?(R(c,"Required"),k(!0)):Ce&&!Te?(R(c,`Password must be at least ${v} characters with lowercase, uppercase, number, and special character`),k(!0)):b&&Ce&&ve&&!B?(R(b,"Passwords do not match"),k(!0)):Ce&&Te&&(!b||B)&&(R(c,null),b&&R(b,null),k(!1))},[Ce,ve,i,c,b,R,k,v]);const Ee=Te=>{const{value:B}=Te.target;V(B);const Y=B==="",Oe=ce(B),He=b?Se(B,ve):!0;!Y&&!Oe?(R(c,`Password must be at least ${v} characters with lowercase, uppercase, number, and special character`),M(c,null)):Oe?!b||He?(T(c,B),R(c,null),b&&R(b,null),k(!1)):(M(c,null),R(c,null),R(b,"Passwords do not match"),k(!0)):(R(c,null),M(c,null))},ge=Te=>{if(!b)return;const{value:B}=Te.target;we(B),T(b,B);const Y=Se(Ce,B);B&&!Y?(R(b,"Passwords do not match"),k(!0)):Y&&ce(Ce)?(T(c,Ce),R(b,null),R(c,null),k(!1)):R(b,null)},De=Te=>{const{value:B}=Te.target;B&&!ce(B)&&(R(c,`Password must be at least ${v} characters with lowercase, uppercase, number, and special character`),M(c,null))},ke=Te=>{if(!b)return;const{value:B}=Te.target;B&&!Se(Ce,B)&&R(b,"Passwords do not match")};w(c)||o!=null&&o.required,b&&w(b),w(c)||o!=null&&o.required,b&&w(b);const se=()=>{z(!N)},oe=()=>{fe(!X)};return L.jsxs(ai,{$visible:!0,$hasError:A||_,$type:"password",$isPass:"true",$show:N?"true":"false",children:[L.jsx(Mi,{$color:A?"danger":void 0,children:p}),L.jsxs("div",{style:{position:"relative"},children:[L.jsx("input",{id:c,name:c,type:N?"text":"password",value:Ce,onChange:Ee,onBlur:De,maxLength:s||255,minLength:v,className:w(c)?"error":""}),L.jsx("button",{type:"button",onClick:se,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:Te=>{Te.currentTarget.style.opacity="1"},onMouseLeave:Te=>{Te.currentTarget.style.opacity="0.8"},children:N?L.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[L.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"}),L.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}):L.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[L.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),L.jsx("circle",{cx:"12",cy:"12",r:"3"})]})})]}),i&&!P&&!A?L.jsx(Wo,{$visible:!0,children:"Required"}):A?L.jsxs(va,{$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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&&L.jsxs(L.Fragment,{children:[L.jsxs("div",{style:{position:"relative",marginTop:"1rem"},children:[L.jsx(Mi,{children:"Confirm Password"}),L.jsx("input",{id:b,name:b,type:X?"text":"password",value:ve,onChange:ge,onBlur:ke,maxLength:s||255,minLength:v,className:w(b)?"error":""}),L.jsx("button",{type:"button",onClick:oe,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:Te=>{Te.currentTarget.style.opacity="1"},onMouseLeave:Te=>{Te.currentTarget.style.opacity="0.8"},children:X?L.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[L.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"}),L.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}):L.jsxs("svg",{width:"21",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[L.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),L.jsx("circle",{cx:"12",cy:"12",r:"3"})]})})]}),i&&!U&&!_?L.jsx(Wo,{$visible:!0,children:"Required"}):_?L.jsxs(va,{$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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"})}),W]}):null]}),d&&L.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:"0.75rem"},children:[L.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:L.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"})}),L.jsx(fl,{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})]})]})},eL=({formComponent:e})=>{const o=e.props,{required:i,maxLength:s,propertyId:c,label:p="Phone Number"}=o||{},{getFlowValue:d,setFlowAndPatientValue:v,getFlowError:b,setFlowError:S,setDisableSubmitValue:T,setFlowValue:w}=qr(),R=ev(d(c)),[k,M]=Xe.useState(R),P=_=>{const N=_.replace(/\D/g,"");return N.length<=3?N:N.length<=6?`(${N.slice(0,3)}) ${N.slice(3)}`:`(${N.slice(0,3)}) ${N.slice(3,6)}-${N.slice(6,10)}`},U=_=>_.replace(/\D/g,"").length===10,G=_=>{const{value:N}=_.target,z=P(N);M(z);const X=z==="",fe=U(z);!X&&!fe?(S(c,"Please enter a valid phone number"),w(c,null)):fe?(S(c,null),v(c,z)):(S(c,null),w(c,null))};Xe.useEffect(()=>{M(R)},[R]),Xe.useEffect(()=>{i&&(!R||R==="")?(S(c,"Required"),T(!0)):R&&R.length>0&&!U(R)?(S(c,"Please enter a valid phone number"),T(!0)):R&&U(R)&&(S(c,null),T(!1))},[R,i,c,S,T]);const W=_=>{const{value:N}=_.target;N&&!U(N)&&(S(c,"Please enter a valid phone number"),w(c,null))},A=!!b(c)&&b(c)!=="Required";return L.jsxs(ai,{$visible:!0,$hasError:A,children:[L.jsx(Mi,{$color:A?"danger":void 0,children:p}),L.jsx("input",{id:c,name:c,type:"tel",value:k,onChange:G,onBlur:W,maxLength:s||14,placeholder:"",className:b(c)?"error":""}),o!=null&&o.required&&!R&&!A?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):A?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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"})}),b(c)]}):null]})},tv={black:"#000",white:"#fff"},sp={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},up={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},cp={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},fp={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},dp={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Vm={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},tL={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,...o){const i=new URL(`https://mui.com/production-error/?code=${e}`);return o.forEach(s=>i.searchParams.append("args[]",s)),`Minified MUI error #${e}; visit ${i} for the full message.`}const J0="$$material";function RC(){return RC=Object.assign?Object.assign.bind():function(e){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var s in i)({}).hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e},RC.apply(null,arguments)}function nL(e){if(e.sheet)return e.sheet;for(var o=0;o<document.styleSheets.length;o++)if(document.styleSheets[o].ownerNode===e)return document.styleSheets[o]}function rL(e){var o=document.createElement("style");return o.setAttribute("data-emotion",e.key),e.nonce!==void 0&&o.setAttribute("nonce",e.nonce),o.appendChild(document.createTextNode("")),o.setAttribute("data-s",""),o}var oL=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 o=e.prototype;return o.hydrate=function(s){s.forEach(this._insertTag)},o.insert=function(s){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(rL(this));var c=this.tags[this.tags.length-1];if(this.isSpeedy){var p=nL(c);try{p.insertRule(s,p.cssRules.length)}catch{}}else c.appendChild(document.createTextNode(s));this.ctr++},o.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}(),pa="-ms-",V0="-moz-",jn="-webkit-",g3="comm",XC="rule",KC="decl",aL="@import",b3="@keyframes",iL="@layer",lL=Math.abs,eb=String.fromCharCode,sL=Object.assign;function uL(e,o){return Go(e,0)^45?(((o<<2^Go(e,0))<<2^Go(e,1))<<2^Go(e,2))<<2^Go(e,3):0}function x3(e){return e.trim()}function cL(e,o){return(e=o.exec(e))?e[0]:e}function Un(e,o,i){return e.replace(o,i)}function OC(e,o){return e.indexOf(o)}function Go(e,o){return e.charCodeAt(o)|0}function nv(e,o,i){return e.slice(o,i)}function Xl(e){return e.length}function ZC(e){return e.length}function v0(e,o){return o.push(e),e}function fL(e,o){return e.map(o).join("")}var tb=1,Sp=1,S3=0,qa=0,oo=0,wp="";function nb(e,o,i,s,c,p,d){return{value:e,root:o,parent:i,type:s,props:c,children:p,line:tb,column:Sp,length:d,return:""}}function jm(e,o){return sL(nb("",null,null,"",null,null,0),e,{length:-e.length},o)}function dL(){return oo}function pL(){return oo=qa>0?Go(wp,--qa):0,Sp--,oo===10&&(Sp=1,tb--),oo}function li(){return oo=qa<S3?Go(wp,qa++):0,Sp++,oo===10&&(Sp=1,tb++),oo}function Jl(){return Go(wp,qa)}function A0(){return qa}function sv(e,o){return nv(wp,e,o)}function rv(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 C3(e){return tb=Sp=1,S3=Xl(wp=e),qa=0,[]}function w3(e){return wp="",e}function k0(e){return x3(sv(qa-1,$C(e===91?e+2:e===40?e+1:e)))}function hL(e){for(;(oo=Jl())&&oo<33;)li();return rv(e)>2||rv(oo)>3?"":" "}function mL(e,o){for(;--o&&li()&&!(oo<48||oo>102||oo>57&&oo<65||oo>70&&oo<97););return sv(e,A0()+(o<6&&Jl()==32&&li()==32))}function $C(e){for(;li();)switch(oo){case e:return qa;case 34:case 39:e!==34&&e!==39&&$C(oo);break;case 40:e===41&&$C(e);break;case 92:li();break}return qa}function vL(e,o){for(;li()&&e+oo!==57;)if(e+oo===84&&Jl()===47)break;return"/*"+sv(o,qa-1)+"*"+eb(e===47?e:li())}function yL(e){for(;!rv(Jl());)li();return sv(e,qa)}function gL(e){return w3(P0("",null,null,null,[""],e=C3(e),0,[0],e))}function P0(e,o,i,s,c,p,d,v,b){for(var S=0,T=0,w=d,R=0,k=0,M=0,P=1,U=1,G=1,W=0,A="",_=c,N=p,z=s,X=A;U;)switch(M=W,W=li()){case 40:if(M!=108&&Go(X,w-1)==58){OC(X+=Un(k0(W),"&","&\f"),"&\f")!=-1&&(G=-1);break}case 34:case 39:case 91:X+=k0(W);break;case 9:case 10:case 13:case 32:X+=hL(M);break;case 92:X+=mL(A0()-1,7);continue;case 47:switch(Jl()){case 42:case 47:v0(bL(vL(li(),A0()),o,i),b);break;default:X+="/"}break;case 123*P:v[S++]=Xl(X)*G;case 125*P:case 59:case 0:switch(W){case 0:case 125:U=0;case 59+T:G==-1&&(X=Un(X,/\f/g,"")),k>0&&Xl(X)-w&&v0(k>32?EO(X+";",s,i,w-1):EO(Un(X," ","")+";",s,i,w-2),b);break;case 59:X+=";";default:if(v0(z=wO(X,o,i,S,T,c,v,A,_=[],N=[],w),p),W===123)if(T===0)P0(X,o,z,z,_,p,w,v,N);else switch(R===99&&Go(X,3)===110?100:R){case 100:case 108:case 109:case 115:P0(e,z,z,s&&v0(wO(e,z,z,0,0,c,v,A,c,_=[],w),N),c,N,w,v,s?_:N);break;default:P0(X,z,z,z,[""],N,0,v,N)}}S=T=k=0,P=G=1,A=X="",w=d;break;case 58:w=1+Xl(X),k=M;default:if(P<1){if(W==123)--P;else if(W==125&&P++==0&&pL()==125)continue}switch(X+=eb(W),W*P){case 38:G=T>0?1:(X+="\f",-1);break;case 44:v[S++]=(Xl(X)-1)*G,G=1;break;case 64:Jl()===45&&(X+=k0(li())),R=Jl(),T=w=Xl(A=X+=yL(A0())),W++;break;case 45:M===45&&Xl(X)==2&&(P=0)}}return p}function wO(e,o,i,s,c,p,d,v,b,S,T){for(var w=c-1,R=c===0?p:[""],k=ZC(R),M=0,P=0,U=0;M<s;++M)for(var G=0,W=nv(e,w+1,w=lL(P=d[M])),A=e;G<k;++G)(A=x3(P>0?R[G]+" "+W:Un(W,/&\f/g,R[G])))&&(b[U++]=A);return nb(e,o,i,c===0?XC:v,b,S,T)}function bL(e,o,i){return nb(e,o,i,g3,eb(dL()),nv(e,2,-2),0)}function EO(e,o,i,s){return nb(e,o,i,KC,nv(e,0,s),nv(e,s+1,-1),s)}function vp(e,o){for(var i="",s=ZC(e),c=0;c<s;c++)i+=o(e[c],c,e,o)||"";return i}function xL(e,o,i,s){switch(e.type){case iL:if(e.children.length)break;case aL:case KC:return e.return=e.return||e.value;case g3:return"";case b3:return e.return=e.value+"{"+vp(e.children,s)+"}";case XC:e.value=e.props.join(",")}return Xl(i=vp(e.children,s))?e.return=e.value+"{"+i+"}":""}function SL(e){var o=ZC(e);return function(i,s,c,p){for(var d="",v=0;v<o;v++)d+=e[v](i,s,c,p)||"";return d}}function CL(e){return function(o){o.root||(o=o.return)&&e(o)}}function E3(e){var o=Object.create(null);return function(i){return o[i]===void 0&&(o[i]=e(i)),o[i]}}var wL=function(o,i,s){for(var c=0,p=0;c=p,p=Jl(),c===38&&p===12&&(i[s]=1),!rv(p);)li();return sv(o,qa)},EL=function(o,i){var s=-1,c=44;do switch(rv(c)){case 0:c===38&&Jl()===12&&(i[s]=1),o[s]+=wL(qa-1,i,s);break;case 2:o[s]+=k0(c);break;case 4:if(c===44){o[++s]=Jl()===58?"&\f":"",i[s]=o[s].length;break}default:o[s]+=eb(c)}while(c=li());return o},TL=function(o,i){return w3(EL(C3(o),i))},TO=new WeakMap,RL=function(o){if(!(o.type!=="rule"||!o.parent||o.length<1)){for(var i=o.value,s=o.parent,c=o.column===s.column&&o.line===s.line;s.type!=="rule";)if(s=s.parent,!s)return;if(!(o.props.length===1&&i.charCodeAt(0)!==58&&!TO.get(s))&&!c){TO.set(o,!0);for(var p=[],d=TL(i,p),v=s.props,b=0,S=0;b<d.length;b++)for(var T=0;T<v.length;T++,S++)o.props[S]=p[b]?d[b].replace(/&\f/g,v[T]):v[T]+" "+d[b]}}},OL=function(o){if(o.type==="decl"){var i=o.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(o.return="",o.value="")}};function T3(e,o){switch(uL(e,o)){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+V0+e+pa+e+e;case 6828:case 4268:return jn+e+pa+e+e;case 6165:return jn+e+pa+"flex-"+e+e;case 5187:return jn+e+Un(e,/(\w+).+(:[^]+)/,jn+"box-$1$2"+pa+"flex-$1$2")+e;case 5443:return jn+e+pa+"flex-item-"+Un(e,/flex-|-self/,"")+e;case 4675:return jn+e+pa+"flex-line-pack"+Un(e,/align-content|flex-|-self/,"")+e;case 5548:return jn+e+pa+Un(e,"shrink","negative")+e;case 5292:return jn+e+pa+Un(e,"basis","preferred-size")+e;case 6060:return jn+"box-"+Un(e,"-grow","")+jn+e+pa+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"+pa+"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-o>6)switch(Go(e,o+1)){case 109:if(Go(e,o+4)!==45)break;case 102:return Un(e,/(.+:)(.+)-([^]+)/,"$1"+jn+"$2-$3$1"+V0+(Go(e,o+3)==108?"$3":"$2-$3"))+e;case 115:return~OC(e,"stretch")?T3(Un(e,"stretch","fill-available"),o)+e:e}break;case 4949:if(Go(e,o+1)!==115)break;case 6444:switch(Go(e,Xl(e)-3-(~OC(e,"!important")&&10))){case 107:return Un(e,":",":"+jn)+e;case 101:return Un(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+jn+(Go(e,14)===45?"inline-":"")+"box$3$1"+jn+"$2$3$1"+pa+"$2box$3")+e}break;case 5936:switch(Go(e,o+11)){case 114:return jn+e+pa+Un(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return jn+e+pa+Un(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return jn+e+pa+Un(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return jn+e+pa+e+e}return e}var $L=function(o,i,s,c){if(o.length>-1&&!o.return)switch(o.type){case KC:o.return=T3(o.value,o.length);break;case b3:return vp([jm(o,{value:Un(o.value,"@","@"+jn)})],c);case XC:if(o.length)return fL(o.props,function(p){switch(cL(p,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return vp([jm(o,{props:[Un(p,/:(read-\w+)/,":"+V0+"$1")]})],c);case"::placeholder":return vp([jm(o,{props:[Un(p,/:(plac\w+)/,":"+jn+"input-$1")]}),jm(o,{props:[Un(p,/:(plac\w+)/,":"+V0+"$1")]}),jm(o,{props:[Un(p,/:(plac\w+)/,pa+"input-$1")]})],c)}return""})}},AL=[$L],kL=function(o){var i=o.key;if(i==="css"){var s=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(s,function(P){var U=P.getAttribute("data-emotion");U.indexOf(" ")!==-1&&(document.head.appendChild(P),P.setAttribute("data-s",""))})}var c=o.stylisPlugins||AL,p={},d,v=[];d=o.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(P){for(var U=P.getAttribute("data-emotion").split(" "),G=1;G<U.length;G++)p[U[G]]=!0;v.push(P)});var b,S=[RL,OL];{var T,w=[xL,CL(function(P){T.insert(P)})],R=SL(S.concat(c,w)),k=function(U){return vp(gL(U),R)};b=function(U,G,W,A){T=W,k(U?U+"{"+G.styles+"}":G.styles),A&&(M.inserted[G.name]=!0)}}var M={key:i,sheet:new oL({key:i,container:d,nonce:o.nonce,speedy:o.speedy,prepend:o.prepend,insertionPoint:o.insertionPoint}),nonce:o.nonce,inserted:p,registered:{},insert:b};return M.sheet.hydrate(v),M},y0={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.
|
|
2590
2590
|
*
|
|
2591
2591
|
* This source code is licensed under the MIT license found in the
|
|
2592
2592
|
* LICENSE file in the root directory of this source tree.
|
|
2593
|
-
*/var RO;function PL(){if(RO)return Wn;RO=1;var e=typeof Symbol=="function"&&Symbol.for,o=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,c=e?Symbol.for("react.strict_mode"):60108,p=e?Symbol.for("react.profiler"):60114,d=e?Symbol.for("react.provider"):60109,v=e?Symbol.for("react.context"):60110,b=e?Symbol.for("react.async_mode"):60111,S=e?Symbol.for("react.concurrent_mode"):60111,T=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,M=e?Symbol.for("react.lazy"):60116,P=e?Symbol.for("react.block"):60121,U=e?Symbol.for("react.fundamental"):60117,G=e?Symbol.for("react.responder"):60118,
|
|
2593
|
+
*/var RO;function PL(){if(RO)return Wn;RO=1;var e=typeof Symbol=="function"&&Symbol.for,o=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,c=e?Symbol.for("react.strict_mode"):60108,p=e?Symbol.for("react.profiler"):60114,d=e?Symbol.for("react.provider"):60109,v=e?Symbol.for("react.context"):60110,b=e?Symbol.for("react.async_mode"):60111,S=e?Symbol.for("react.concurrent_mode"):60111,T=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,M=e?Symbol.for("react.lazy"):60116,P=e?Symbol.for("react.block"):60121,U=e?Symbol.for("react.fundamental"):60117,G=e?Symbol.for("react.responder"):60118,W=e?Symbol.for("react.scope"):60119;function A(N){if(typeof N=="object"&&N!==null){var z=N.$$typeof;switch(z){case o:switch(N=N.type,N){case b:case S:case s:case p:case c:case w:return N;default:switch(N=N&&N.$$typeof,N){case v:case T:case M:case k:case d:return N;default:return z}}case i:return z}}}function _(N){return A(N)===S}return Wn.AsyncMode=b,Wn.ConcurrentMode=S,Wn.ContextConsumer=v,Wn.ContextProvider=d,Wn.Element=o,Wn.ForwardRef=T,Wn.Fragment=s,Wn.Lazy=M,Wn.Memo=k,Wn.Portal=i,Wn.Profiler=p,Wn.StrictMode=c,Wn.Suspense=w,Wn.isAsyncMode=function(N){return _(N)||A(N)===b},Wn.isConcurrentMode=_,Wn.isContextConsumer=function(N){return A(N)===v},Wn.isContextProvider=function(N){return A(N)===d},Wn.isElement=function(N){return typeof N=="object"&&N!==null&&N.$$typeof===o},Wn.isForwardRef=function(N){return A(N)===T},Wn.isFragment=function(N){return A(N)===s},Wn.isLazy=function(N){return A(N)===M},Wn.isMemo=function(N){return A(N)===k},Wn.isPortal=function(N){return A(N)===i},Wn.isProfiler=function(N){return A(N)===p},Wn.isStrictMode=function(N){return A(N)===c},Wn.isSuspense=function(N){return A(N)===w},Wn.isValidElementType=function(N){return typeof N=="string"||typeof N=="function"||N===s||N===S||N===p||N===c||N===w||N===R||typeof N=="object"&&N!==null&&(N.$$typeof===M||N.$$typeof===k||N.$$typeof===d||N.$$typeof===v||N.$$typeof===T||N.$$typeof===U||N.$$typeof===G||N.$$typeof===W||N.$$typeof===P)},Wn.typeOf=A,Wn}var Yn={};/** @license React v16.13.1
|
|
2594
2594
|
* react-is.development.js
|
|
2595
2595
|
*
|
|
2596
2596
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2597
2597
|
*
|
|
2598
2598
|
* This source code is licensed under the MIT license found in the
|
|
2599
2599
|
* LICENSE file in the root directory of this source tree.
|
|
2600
|
-
*/var OO;function NL(){return OO||(OO=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,o=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,c=e?Symbol.for("react.strict_mode"):60108,p=e?Symbol.for("react.profiler"):60114,d=e?Symbol.for("react.provider"):60109,v=e?Symbol.for("react.context"):60110,b=e?Symbol.for("react.async_mode"):60111,S=e?Symbol.for("react.concurrent_mode"):60111,T=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,M=e?Symbol.for("react.lazy"):60116,P=e?Symbol.for("react.block"):60121,U=e?Symbol.for("react.fundamental"):60117,G=e?Symbol.for("react.responder"):60118,Y=e?Symbol.for("react.scope"):60119;function A(ee){return typeof ee=="string"||typeof ee=="function"||ee===s||ee===S||ee===p||ee===c||ee===w||ee===R||typeof ee=="object"&&ee!==null&&(ee.$$typeof===M||ee.$$typeof===k||ee.$$typeof===d||ee.$$typeof===v||ee.$$typeof===T||ee.$$typeof===U||ee.$$typeof===G||ee.$$typeof===Y||ee.$$typeof===P)}function _(ee){if(typeof ee=="object"&&ee!==null){var Ne=ee.$$typeof;switch(Ne){case o:var ye=ee.type;switch(ye){case b:case S:case s:case p:case c:case w:return ye;default:var Fe=ye&&ye.$$typeof;switch(Fe){case v:case T:case M:case k:case d:return Fe;default:return Ne}}case i:return Ne}}}var N=b,z=S,X=v,fe=d,Ce=o,V=T,ve=s,we=M,ue=k,Se=i,Ee=p,ge=c,De=w,ke=!1;function ce(ee){return ke||(ke=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),oe(ee)||_(ee)===b}function oe(ee){return _(ee)===S}function Te(ee){return _(ee)===v}function B(ee){return _(ee)===d}function W(ee){return typeof ee=="object"&&ee!==null&&ee.$$typeof===o}function Oe(ee){return _(ee)===T}function He(ee){return _(ee)===s}function Je(ee){return _(ee)===M}function We(ee){return _(ee)===k}function Z(ee){return _(ee)===i}function re(ee){return _(ee)===p}function K(ee){return _(ee)===c}function be(ee){return _(ee)===w}Yn.AsyncMode=N,Yn.ConcurrentMode=z,Yn.ContextConsumer=X,Yn.ContextProvider=fe,Yn.Element=Ce,Yn.ForwardRef=V,Yn.Fragment=ve,Yn.Lazy=we,Yn.Memo=ue,Yn.Portal=Se,Yn.Profiler=Ee,Yn.StrictMode=ge,Yn.Suspense=De,Yn.isAsyncMode=ce,Yn.isConcurrentMode=oe,Yn.isContextConsumer=Te,Yn.isContextProvider=B,Yn.isElement=W,Yn.isForwardRef=Oe,Yn.isFragment=He,Yn.isLazy=Je,Yn.isMemo=We,Yn.isPortal=Z,Yn.isProfiler=re,Yn.isStrictMode=K,Yn.isSuspense=be,Yn.isValidElementType=A,Yn.typeOf=_}()),Yn}var $O;function DL(){return $O||($O=1,process.env.NODE_ENV==="production"?y0.exports=PL():y0.exports=NL()),y0.exports}var eC,AO;function ML(){if(AO)return eC;AO=1;var e=DL(),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},p={};p[e.ForwardRef]=s,p[e.Memo]=c;function d(M){return e.isMemo(M)?c:p[M.$$typeof]||o}var v=Object.defineProperty,b=Object.getOwnPropertyNames,S=Object.getOwnPropertySymbols,T=Object.getOwnPropertyDescriptor,w=Object.getPrototypeOf,R=Object.prototype;function k(M,P,U){if(typeof P!="string"){if(R){var G=w(P);G&&G!==R&&k(M,G,U)}var Y=b(P);S&&(Y=Y.concat(S(P)));for(var A=d(M),_=d(P),N=0;N<Y.length;++N){var z=Y[N];if(!i[z]&&!(U&&U[z])&&!(_&&_[z])&&!(A&&A[z])){var X=T(P,z);try{v(M,z,X)}catch{}}}}return M}return eC=k,eC}ML();var LL=!0;function R3(e,o,i){var s="";return i.split(" ").forEach(function(c){e[c]!==void 0?o.push(e[c]+";"):c&&(s+=c+" ")}),s}var JC=function(o,i,s){var c=o.key+"-"+i.name;(s===!1||LL===!1)&&o.registered[c]===void 0&&(o.registered[c]=i.styles)},ew=function(o,i,s){JC(o,i,s);var c=o.key+"-"+i.name;if(o.inserted[i.name]===void 0){var p=i;do o.insert(i===p?"."+c:"",p,o.sheet,!0),p=p.next;while(p!==void 0)}};function _L(e){for(var o=0,i,s=0,c=e.length;c>=4;++s,c-=4)i=e.charCodeAt(s)&255|(e.charCodeAt(++s)&255)<<8|(e.charCodeAt(++s)&255)<<16|(e.charCodeAt(++s)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,o=(i&65535)*1540483477+((i>>>16)*59797<<16)^(o&65535)*1540483477+((o>>>16)*59797<<16);switch(c){case 3:o^=(e.charCodeAt(s+2)&255)<<16;case 2:o^=(e.charCodeAt(s+1)&255)<<8;case 1:o^=e.charCodeAt(s)&255,o=(o&65535)*1540483477+((o>>>16)*59797<<16)}return o^=o>>>13,o=(o&65535)*1540483477+((o>>>16)*59797<<16),((o^o>>>15)>>>0).toString(36)}var IL={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},FL=/[A-Z]|^ms/g,VL=/_EMO_([^_]+?)_([^]*?)_EMO_/g,O3=function(o){return o.charCodeAt(1)===45},kO=function(o){return o!=null&&typeof o!="boolean"},tC=E3(function(e){return O3(e)?e:e.replace(FL,"-$&").toLowerCase()}),PO=function(o,i){switch(o){case"animation":case"animationName":if(typeof i=="string")return i.replace(VL,function(s,c,p){return Kl={name:c,styles:p,next:Kl},c})}return IL[o]!==1&&!O3(o)&&typeof i=="number"&&i!==0?i+"px":i};function ov(e,o,i){if(i==null)return"";var s=i;if(s.__emotion_styles!==void 0)return s;switch(typeof i){case"boolean":return"";case"object":{var c=i;if(c.anim===1)return Kl={name:c.name,styles:c.styles,next:Kl},c.name;var p=i;if(p.styles!==void 0){var d=p.next;if(d!==void 0)for(;d!==void 0;)Kl={name:d.name,styles:d.styles,next:Kl},d=d.next;var v=p.styles+";";return v}return jL(e,o,i)}case"function":{if(e!==void 0){var b=Kl,S=i(e);return Kl=b,ov(e,o,S)}break}}var T=i;if(o==null)return T;var w=o[T];return w!==void 0?w:T}function jL(e,o,i){var s="";if(Array.isArray(i))for(var c=0;c<i.length;c++)s+=ov(e,o,i[c])+";";else for(var p in i){var d=i[p];if(typeof d!="object"){var v=d;o!=null&&o[v]!==void 0?s+=p+"{"+o[v]+"}":kO(v)&&(s+=tC(p)+":"+PO(p,v)+";")}else if(Array.isArray(d)&&typeof d[0]=="string"&&(o==null||o[d[0]]===void 0))for(var b=0;b<d.length;b++)kO(d[b])&&(s+=tC(p)+":"+PO(p,d[b])+";");else{var S=ov(e,o,d);switch(p){case"animation":case"animationName":{s+=tC(p)+":"+S+";";break}default:s+=p+"{"+S+"}"}}}return s}var NO=/label:\s*([^\s;{]+)\s*(;|$)/g,Kl;function rb(e,o,i){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var s=!0,c="";Kl=void 0;var p=e[0];if(p==null||p.raw===void 0)s=!1,c+=ov(i,o,p);else{var d=p;c+=d[0]}for(var v=1;v<e.length;v++)if(c+=ov(i,o,e[v]),s){var b=p;c+=b[v]}NO.lastIndex=0;for(var S="",T;(T=NO.exec(c))!==null;)S+="-"+T[1];var w=_L(c)+S;return{name:w,styles:c,next:Kl}}var UL=function(o){return o()},$3=xe.useInsertionEffect?xe.useInsertionEffect:!1,A3=$3||UL,DO=$3||xe.useLayoutEffect,k3=xe.createContext(typeof HTMLElement<"u"?kL({key:"css"}):null);k3.Provider;var tw=function(o){return Xe.forwardRef(function(i,s){var c=Xe.useContext(k3);return o(i,c,s)})},ob=xe.createContext({}),nw={}.hasOwnProperty,AC="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",BL=function(o,i){var s={};for(var c in i)nw.call(i,c)&&(s[c]=i[c]);return s[AC]=o,s},zL=function(o){var i=o.cache,s=o.serialized,c=o.isStringTag;return JC(i,s,c),A3(function(){return ew(i,s,c)}),null},HL=tw(function(e,o,i){var s=e.css;typeof s=="string"&&o.registered[s]!==void 0&&(s=o.registered[s]);var c=e[AC],p=[s],d="";typeof e.className=="string"?d=R3(o.registered,p,e.className):e.className!=null&&(d=e.className+" ");var v=rb(p,void 0,xe.useContext(ob));d+=o.key+"-"+v.name;var b={};for(var S in e)nw.call(e,S)&&S!=="css"&&S!==AC&&(b[S]=e[S]);return b.className=d,i&&(b.ref=i),xe.createElement(xe.Fragment,null,xe.createElement(zL,{cache:o,serialized:v,isStringTag:typeof c=="string"}),xe.createElement(c,b))}),GL=HL,MO=function(o,i){var s=arguments;if(i==null||!nw.call(i,"css"))return xe.createElement.apply(void 0,s);var c=s.length,p=new Array(c);p[0]=GL,p[1]=BL(o,i);for(var d=2;d<c;d++)p[d]=s[d];return xe.createElement.apply(null,p)};(function(e){var o;o||(o=e.JSX||(e.JSX={}))})(MO||(MO={}));var WL=tw(function(e,o){var i=e.styles,s=rb([i],void 0,xe.useContext(ob)),c=xe.useRef();return DO(function(){var p=o.key+"-global",d=new o.sheet.constructor({key:p,nonce:o.sheet.nonce,container:o.sheet.container,speedy:o.sheet.isSpeedy}),v=!1,b=document.querySelector('style[data-emotion="'+p+" "+s.name+'"]');return o.sheet.tags.length&&(d.before=o.sheet.tags[0]),b!==null&&(v=!0,b.setAttribute("data-emotion",p),d.hydrate([b])),c.current=[d,v],function(){d.flush()}},[o]),DO(function(){var p=c.current,d=p[0],v=p[1];if(v){p[1]=!1;return}if(s.next!==void 0&&ew(o,s.next,!0),d.tags.length){var b=d.tags[d.tags.length-1].nextElementSibling;d.before=b,d.flush()}o.insert("",s,d,!1)},[o,s.name]),null}),YL=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,qL=E3(function(e){return YL.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),QL=qL,XL=function(o){return o!=="theme"},LO=function(o){return typeof o=="string"&&o.charCodeAt(0)>96?QL:XL},_O=function(o,i,s){var c;if(i){var p=i.shouldForwardProp;c=o.__emotion_forwardProp&&p?function(d){return o.__emotion_forwardProp(d)&&p(d)}:p}return typeof c!="function"&&s&&(c=o.__emotion_forwardProp),c},KL=function(o){var i=o.cache,s=o.serialized,c=o.isStringTag;return JC(i,s,c),A3(function(){return ew(i,s,c)}),null},ZL=function e(o,i){var s=o.__emotion_real===o,c=s&&o.__emotion_base||o,p,d;i!==void 0&&(p=i.label,d=i.target);var v=_O(o,i,s),b=v||LO(c),S=!b("as");return function(){var T=arguments,w=s&&o.__emotion_styles!==void 0?o.__emotion_styles.slice(0):[];if(p!==void 0&&w.push("label:"+p+";"),T[0]==null||T[0].raw===void 0)w.push.apply(w,T);else{var R=T[0];w.push(R[0]);for(var k=T.length,M=1;M<k;M++)w.push(T[M],R[M])}var P=tw(function(U,G,Y){var A=S&&U.as||c,_="",N=[],z=U;if(U.theme==null){z={};for(var X in U)z[X]=U[X];z.theme=xe.useContext(ob)}typeof U.className=="string"?_=R3(G.registered,N,U.className):U.className!=null&&(_=U.className+" ");var fe=rb(w.concat(N),G.registered,z);_+=G.key+"-"+fe.name,d!==void 0&&(_+=" "+d);var Ce=S&&v===void 0?LO(A):b,V={};for(var ve in U)S&&ve==="as"||Ce(ve)&&(V[ve]=U[ve]);return V.className=_,Y&&(V.ref=Y),xe.createElement(xe.Fragment,null,xe.createElement(KL,{cache:G,serialized:fe,isStringTag:typeof A=="string"}),xe.createElement(A,V))});return P.displayName=p!==void 0?p:"Styled("+(typeof c=="string"?c:c.displayName||c.name||"Component")+")",P.defaultProps=o.defaultProps,P.__emotion_real=P,P.__emotion_base=c,P.__emotion_styles=w,P.__emotion_forwardProp=v,Object.defineProperty(P,"toString",{value:function(){return"."+d}}),P.withComponent=function(U,G){var Y=e(U,RC({},i,G,{shouldForwardProp:_O(P,G,!0)}));return Y.apply(void 0,w)},P}},JL=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],kC=ZL.bind(null);JL.forEach(function(e){kC[e]=kC(e)});var g0={exports:{}},b0={exports:{}},qn={};/** @license React v16.13.1
|
|
2600
|
+
*/var OO;function NL(){return OO||(OO=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,o=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,c=e?Symbol.for("react.strict_mode"):60108,p=e?Symbol.for("react.profiler"):60114,d=e?Symbol.for("react.provider"):60109,v=e?Symbol.for("react.context"):60110,b=e?Symbol.for("react.async_mode"):60111,S=e?Symbol.for("react.concurrent_mode"):60111,T=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,M=e?Symbol.for("react.lazy"):60116,P=e?Symbol.for("react.block"):60121,U=e?Symbol.for("react.fundamental"):60117,G=e?Symbol.for("react.responder"):60118,W=e?Symbol.for("react.scope"):60119;function A(ee){return typeof ee=="string"||typeof ee=="function"||ee===s||ee===S||ee===p||ee===c||ee===w||ee===R||typeof ee=="object"&&ee!==null&&(ee.$$typeof===M||ee.$$typeof===k||ee.$$typeof===d||ee.$$typeof===v||ee.$$typeof===T||ee.$$typeof===U||ee.$$typeof===G||ee.$$typeof===W||ee.$$typeof===P)}function _(ee){if(typeof ee=="object"&&ee!==null){var Ne=ee.$$typeof;switch(Ne){case o:var ye=ee.type;switch(ye){case b:case S:case s:case p:case c:case w:return ye;default:var Fe=ye&&ye.$$typeof;switch(Fe){case v:case T:case M:case k:case d:return Fe;default:return Ne}}case i:return Ne}}}var N=b,z=S,X=v,fe=d,Ce=o,V=T,ve=s,we=M,ce=k,Se=i,Ee=p,ge=c,De=w,ke=!1;function se(ee){return ke||(ke=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),oe(ee)||_(ee)===b}function oe(ee){return _(ee)===S}function Te(ee){return _(ee)===v}function B(ee){return _(ee)===d}function Y(ee){return typeof ee=="object"&&ee!==null&&ee.$$typeof===o}function Oe(ee){return _(ee)===T}function He(ee){return _(ee)===s}function Je(ee){return _(ee)===M}function We(ee){return _(ee)===k}function Z(ee){return _(ee)===i}function re(ee){return _(ee)===p}function K(ee){return _(ee)===c}function be(ee){return _(ee)===w}Yn.AsyncMode=N,Yn.ConcurrentMode=z,Yn.ContextConsumer=X,Yn.ContextProvider=fe,Yn.Element=Ce,Yn.ForwardRef=V,Yn.Fragment=ve,Yn.Lazy=we,Yn.Memo=ce,Yn.Portal=Se,Yn.Profiler=Ee,Yn.StrictMode=ge,Yn.Suspense=De,Yn.isAsyncMode=se,Yn.isConcurrentMode=oe,Yn.isContextConsumer=Te,Yn.isContextProvider=B,Yn.isElement=Y,Yn.isForwardRef=Oe,Yn.isFragment=He,Yn.isLazy=Je,Yn.isMemo=We,Yn.isPortal=Z,Yn.isProfiler=re,Yn.isStrictMode=K,Yn.isSuspense=be,Yn.isValidElementType=A,Yn.typeOf=_}()),Yn}var $O;function DL(){return $O||($O=1,process.env.NODE_ENV==="production"?y0.exports=PL():y0.exports=NL()),y0.exports}var eC,AO;function ML(){if(AO)return eC;AO=1;var e=DL(),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},p={};p[e.ForwardRef]=s,p[e.Memo]=c;function d(M){return e.isMemo(M)?c:p[M.$$typeof]||o}var v=Object.defineProperty,b=Object.getOwnPropertyNames,S=Object.getOwnPropertySymbols,T=Object.getOwnPropertyDescriptor,w=Object.getPrototypeOf,R=Object.prototype;function k(M,P,U){if(typeof P!="string"){if(R){var G=w(P);G&&G!==R&&k(M,G,U)}var W=b(P);S&&(W=W.concat(S(P)));for(var A=d(M),_=d(P),N=0;N<W.length;++N){var z=W[N];if(!i[z]&&!(U&&U[z])&&!(_&&_[z])&&!(A&&A[z])){var X=T(P,z);try{v(M,z,X)}catch{}}}}return M}return eC=k,eC}ML();var LL=!0;function R3(e,o,i){var s="";return i.split(" ").forEach(function(c){e[c]!==void 0?o.push(e[c]+";"):c&&(s+=c+" ")}),s}var JC=function(o,i,s){var c=o.key+"-"+i.name;(s===!1||LL===!1)&&o.registered[c]===void 0&&(o.registered[c]=i.styles)},ew=function(o,i,s){JC(o,i,s);var c=o.key+"-"+i.name;if(o.inserted[i.name]===void 0){var p=i;do o.insert(i===p?"."+c:"",p,o.sheet,!0),p=p.next;while(p!==void 0)}};function _L(e){for(var o=0,i,s=0,c=e.length;c>=4;++s,c-=4)i=e.charCodeAt(s)&255|(e.charCodeAt(++s)&255)<<8|(e.charCodeAt(++s)&255)<<16|(e.charCodeAt(++s)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,o=(i&65535)*1540483477+((i>>>16)*59797<<16)^(o&65535)*1540483477+((o>>>16)*59797<<16);switch(c){case 3:o^=(e.charCodeAt(s+2)&255)<<16;case 2:o^=(e.charCodeAt(s+1)&255)<<8;case 1:o^=e.charCodeAt(s)&255,o=(o&65535)*1540483477+((o>>>16)*59797<<16)}return o^=o>>>13,o=(o&65535)*1540483477+((o>>>16)*59797<<16),((o^o>>>15)>>>0).toString(36)}var IL={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},FL=/[A-Z]|^ms/g,VL=/_EMO_([^_]+?)_([^]*?)_EMO_/g,O3=function(o){return o.charCodeAt(1)===45},kO=function(o){return o!=null&&typeof o!="boolean"},tC=E3(function(e){return O3(e)?e:e.replace(FL,"-$&").toLowerCase()}),PO=function(o,i){switch(o){case"animation":case"animationName":if(typeof i=="string")return i.replace(VL,function(s,c,p){return Kl={name:c,styles:p,next:Kl},c})}return IL[o]!==1&&!O3(o)&&typeof i=="number"&&i!==0?i+"px":i};function ov(e,o,i){if(i==null)return"";var s=i;if(s.__emotion_styles!==void 0)return s;switch(typeof i){case"boolean":return"";case"object":{var c=i;if(c.anim===1)return Kl={name:c.name,styles:c.styles,next:Kl},c.name;var p=i;if(p.styles!==void 0){var d=p.next;if(d!==void 0)for(;d!==void 0;)Kl={name:d.name,styles:d.styles,next:Kl},d=d.next;var v=p.styles+";";return v}return jL(e,o,i)}case"function":{if(e!==void 0){var b=Kl,S=i(e);return Kl=b,ov(e,o,S)}break}}var T=i;if(o==null)return T;var w=o[T];return w!==void 0?w:T}function jL(e,o,i){var s="";if(Array.isArray(i))for(var c=0;c<i.length;c++)s+=ov(e,o,i[c])+";";else for(var p in i){var d=i[p];if(typeof d!="object"){var v=d;o!=null&&o[v]!==void 0?s+=p+"{"+o[v]+"}":kO(v)&&(s+=tC(p)+":"+PO(p,v)+";")}else if(Array.isArray(d)&&typeof d[0]=="string"&&(o==null||o[d[0]]===void 0))for(var b=0;b<d.length;b++)kO(d[b])&&(s+=tC(p)+":"+PO(p,d[b])+";");else{var S=ov(e,o,d);switch(p){case"animation":case"animationName":{s+=tC(p)+":"+S+";";break}default:s+=p+"{"+S+"}"}}}return s}var NO=/label:\s*([^\s;{]+)\s*(;|$)/g,Kl;function rb(e,o,i){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var s=!0,c="";Kl=void 0;var p=e[0];if(p==null||p.raw===void 0)s=!1,c+=ov(i,o,p);else{var d=p;c+=d[0]}for(var v=1;v<e.length;v++)if(c+=ov(i,o,e[v]),s){var b=p;c+=b[v]}NO.lastIndex=0;for(var S="",T;(T=NO.exec(c))!==null;)S+="-"+T[1];var w=_L(c)+S;return{name:w,styles:c,next:Kl}}var UL=function(o){return o()},$3=xe.useInsertionEffect?xe.useInsertionEffect:!1,A3=$3||UL,DO=$3||xe.useLayoutEffect,k3=xe.createContext(typeof HTMLElement<"u"?kL({key:"css"}):null);k3.Provider;var tw=function(o){return Xe.forwardRef(function(i,s){var c=Xe.useContext(k3);return o(i,c,s)})},ob=xe.createContext({}),nw={}.hasOwnProperty,AC="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",BL=function(o,i){var s={};for(var c in i)nw.call(i,c)&&(s[c]=i[c]);return s[AC]=o,s},zL=function(o){var i=o.cache,s=o.serialized,c=o.isStringTag;return JC(i,s,c),A3(function(){return ew(i,s,c)}),null},HL=tw(function(e,o,i){var s=e.css;typeof s=="string"&&o.registered[s]!==void 0&&(s=o.registered[s]);var c=e[AC],p=[s],d="";typeof e.className=="string"?d=R3(o.registered,p,e.className):e.className!=null&&(d=e.className+" ");var v=rb(p,void 0,xe.useContext(ob));d+=o.key+"-"+v.name;var b={};for(var S in e)nw.call(e,S)&&S!=="css"&&S!==AC&&(b[S]=e[S]);return b.className=d,i&&(b.ref=i),xe.createElement(xe.Fragment,null,xe.createElement(zL,{cache:o,serialized:v,isStringTag:typeof c=="string"}),xe.createElement(c,b))}),GL=HL,MO=function(o,i){var s=arguments;if(i==null||!nw.call(i,"css"))return xe.createElement.apply(void 0,s);var c=s.length,p=new Array(c);p[0]=GL,p[1]=BL(o,i);for(var d=2;d<c;d++)p[d]=s[d];return xe.createElement.apply(null,p)};(function(e){var o;o||(o=e.JSX||(e.JSX={}))})(MO||(MO={}));var WL=tw(function(e,o){var i=e.styles,s=rb([i],void 0,xe.useContext(ob)),c=xe.useRef();return DO(function(){var p=o.key+"-global",d=new o.sheet.constructor({key:p,nonce:o.sheet.nonce,container:o.sheet.container,speedy:o.sheet.isSpeedy}),v=!1,b=document.querySelector('style[data-emotion="'+p+" "+s.name+'"]');return o.sheet.tags.length&&(d.before=o.sheet.tags[0]),b!==null&&(v=!0,b.setAttribute("data-emotion",p),d.hydrate([b])),c.current=[d,v],function(){d.flush()}},[o]),DO(function(){var p=c.current,d=p[0],v=p[1];if(v){p[1]=!1;return}if(s.next!==void 0&&ew(o,s.next,!0),d.tags.length){var b=d.tags[d.tags.length-1].nextElementSibling;d.before=b,d.flush()}o.insert("",s,d,!1)},[o,s.name]),null}),YL=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,qL=E3(function(e){return YL.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),QL=qL,XL=function(o){return o!=="theme"},LO=function(o){return typeof o=="string"&&o.charCodeAt(0)>96?QL:XL},_O=function(o,i,s){var c;if(i){var p=i.shouldForwardProp;c=o.__emotion_forwardProp&&p?function(d){return o.__emotion_forwardProp(d)&&p(d)}:p}return typeof c!="function"&&s&&(c=o.__emotion_forwardProp),c},KL=function(o){var i=o.cache,s=o.serialized,c=o.isStringTag;return JC(i,s,c),A3(function(){return ew(i,s,c)}),null},ZL=function e(o,i){var s=o.__emotion_real===o,c=s&&o.__emotion_base||o,p,d;i!==void 0&&(p=i.label,d=i.target);var v=_O(o,i,s),b=v||LO(c),S=!b("as");return function(){var T=arguments,w=s&&o.__emotion_styles!==void 0?o.__emotion_styles.slice(0):[];if(p!==void 0&&w.push("label:"+p+";"),T[0]==null||T[0].raw===void 0)w.push.apply(w,T);else{var R=T[0];w.push(R[0]);for(var k=T.length,M=1;M<k;M++)w.push(T[M],R[M])}var P=tw(function(U,G,W){var A=S&&U.as||c,_="",N=[],z=U;if(U.theme==null){z={};for(var X in U)z[X]=U[X];z.theme=xe.useContext(ob)}typeof U.className=="string"?_=R3(G.registered,N,U.className):U.className!=null&&(_=U.className+" ");var fe=rb(w.concat(N),G.registered,z);_+=G.key+"-"+fe.name,d!==void 0&&(_+=" "+d);var Ce=S&&v===void 0?LO(A):b,V={};for(var ve in U)S&&ve==="as"||Ce(ve)&&(V[ve]=U[ve]);return V.className=_,W&&(V.ref=W),xe.createElement(xe.Fragment,null,xe.createElement(KL,{cache:G,serialized:fe,isStringTag:typeof A=="string"}),xe.createElement(A,V))});return P.displayName=p!==void 0?p:"Styled("+(typeof c=="string"?c:c.displayName||c.name||"Component")+")",P.defaultProps=o.defaultProps,P.__emotion_real=P,P.__emotion_base=c,P.__emotion_styles=w,P.__emotion_forwardProp=v,Object.defineProperty(P,"toString",{value:function(){return"."+d}}),P.withComponent=function(U,G){var W=e(U,RC({},i,G,{shouldForwardProp:_O(P,G,!0)}));return W.apply(void 0,w)},P}},JL=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],kC=ZL.bind(null);JL.forEach(function(e){kC[e]=kC(e)});var g0={exports:{}},b0={exports:{}},qn={};/** @license React v16.13.1
|
|
2601
2601
|
* react-is.production.min.js
|
|
2602
2602
|
*
|
|
2603
2603
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2604
2604
|
*
|
|
2605
2605
|
* This source code is licensed under the MIT license found in the
|
|
2606
2606
|
* LICENSE file in the root directory of this source tree.
|
|
2607
|
-
*/var IO;function e_(){if(IO)return qn;IO=1;var e=typeof Symbol=="function"&&Symbol.for,o=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,c=e?Symbol.for("react.strict_mode"):60108,p=e?Symbol.for("react.profiler"):60114,d=e?Symbol.for("react.provider"):60109,v=e?Symbol.for("react.context"):60110,b=e?Symbol.for("react.async_mode"):60111,S=e?Symbol.for("react.concurrent_mode"):60111,T=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,M=e?Symbol.for("react.lazy"):60116,P=e?Symbol.for("react.block"):60121,U=e?Symbol.for("react.fundamental"):60117,G=e?Symbol.for("react.responder"):60118,
|
|
2607
|
+
*/var IO;function e_(){if(IO)return qn;IO=1;var e=typeof Symbol=="function"&&Symbol.for,o=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,c=e?Symbol.for("react.strict_mode"):60108,p=e?Symbol.for("react.profiler"):60114,d=e?Symbol.for("react.provider"):60109,v=e?Symbol.for("react.context"):60110,b=e?Symbol.for("react.async_mode"):60111,S=e?Symbol.for("react.concurrent_mode"):60111,T=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,M=e?Symbol.for("react.lazy"):60116,P=e?Symbol.for("react.block"):60121,U=e?Symbol.for("react.fundamental"):60117,G=e?Symbol.for("react.responder"):60118,W=e?Symbol.for("react.scope"):60119;function A(N){if(typeof N=="object"&&N!==null){var z=N.$$typeof;switch(z){case o:switch(N=N.type,N){case b:case S:case s:case p:case c:case w:return N;default:switch(N=N&&N.$$typeof,N){case v:case T:case M:case k:case d:return N;default:return z}}case i:return z}}}function _(N){return A(N)===S}return qn.AsyncMode=b,qn.ConcurrentMode=S,qn.ContextConsumer=v,qn.ContextProvider=d,qn.Element=o,qn.ForwardRef=T,qn.Fragment=s,qn.Lazy=M,qn.Memo=k,qn.Portal=i,qn.Profiler=p,qn.StrictMode=c,qn.Suspense=w,qn.isAsyncMode=function(N){return _(N)||A(N)===b},qn.isConcurrentMode=_,qn.isContextConsumer=function(N){return A(N)===v},qn.isContextProvider=function(N){return A(N)===d},qn.isElement=function(N){return typeof N=="object"&&N!==null&&N.$$typeof===o},qn.isForwardRef=function(N){return A(N)===T},qn.isFragment=function(N){return A(N)===s},qn.isLazy=function(N){return A(N)===M},qn.isMemo=function(N){return A(N)===k},qn.isPortal=function(N){return A(N)===i},qn.isProfiler=function(N){return A(N)===p},qn.isStrictMode=function(N){return A(N)===c},qn.isSuspense=function(N){return A(N)===w},qn.isValidElementType=function(N){return typeof N=="string"||typeof N=="function"||N===s||N===S||N===p||N===c||N===w||N===R||typeof N=="object"&&N!==null&&(N.$$typeof===M||N.$$typeof===k||N.$$typeof===d||N.$$typeof===v||N.$$typeof===T||N.$$typeof===U||N.$$typeof===G||N.$$typeof===W||N.$$typeof===P)},qn.typeOf=A,qn}var Qn={};/** @license React v16.13.1
|
|
2608
2608
|
* react-is.development.js
|
|
2609
2609
|
*
|
|
2610
2610
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2611
2611
|
*
|
|
2612
2612
|
* This source code is licensed under the MIT license found in the
|
|
2613
2613
|
* LICENSE file in the root directory of this source tree.
|
|
2614
|
-
*/var FO;function t_(){return FO||(FO=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,o=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,c=e?Symbol.for("react.strict_mode"):60108,p=e?Symbol.for("react.profiler"):60114,d=e?Symbol.for("react.provider"):60109,v=e?Symbol.for("react.context"):60110,b=e?Symbol.for("react.async_mode"):60111,S=e?Symbol.for("react.concurrent_mode"):60111,T=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,M=e?Symbol.for("react.lazy"):60116,P=e?Symbol.for("react.block"):60121,U=e?Symbol.for("react.fundamental"):60117,G=e?Symbol.for("react.responder"):60118,
|
|
2614
|
+
*/var FO;function t_(){return FO||(FO=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,o=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,c=e?Symbol.for("react.strict_mode"):60108,p=e?Symbol.for("react.profiler"):60114,d=e?Symbol.for("react.provider"):60109,v=e?Symbol.for("react.context"):60110,b=e?Symbol.for("react.async_mode"):60111,S=e?Symbol.for("react.concurrent_mode"):60111,T=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,R=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,M=e?Symbol.for("react.lazy"):60116,P=e?Symbol.for("react.block"):60121,U=e?Symbol.for("react.fundamental"):60117,G=e?Symbol.for("react.responder"):60118,W=e?Symbol.for("react.scope"):60119;function A(ee){return typeof ee=="string"||typeof ee=="function"||ee===s||ee===S||ee===p||ee===c||ee===w||ee===R||typeof ee=="object"&&ee!==null&&(ee.$$typeof===M||ee.$$typeof===k||ee.$$typeof===d||ee.$$typeof===v||ee.$$typeof===T||ee.$$typeof===U||ee.$$typeof===G||ee.$$typeof===W||ee.$$typeof===P)}function _(ee){if(typeof ee=="object"&&ee!==null){var Ne=ee.$$typeof;switch(Ne){case o:var ye=ee.type;switch(ye){case b:case S:case s:case p:case c:case w:return ye;default:var Fe=ye&&ye.$$typeof;switch(Fe){case v:case T:case M:case k:case d:return Fe;default:return Ne}}case i:return Ne}}}var N=b,z=S,X=v,fe=d,Ce=o,V=T,ve=s,we=M,ce=k,Se=i,Ee=p,ge=c,De=w,ke=!1;function se(ee){return ke||(ke=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),oe(ee)||_(ee)===b}function oe(ee){return _(ee)===S}function Te(ee){return _(ee)===v}function B(ee){return _(ee)===d}function Y(ee){return typeof ee=="object"&&ee!==null&&ee.$$typeof===o}function Oe(ee){return _(ee)===T}function He(ee){return _(ee)===s}function Je(ee){return _(ee)===M}function We(ee){return _(ee)===k}function Z(ee){return _(ee)===i}function re(ee){return _(ee)===p}function K(ee){return _(ee)===c}function be(ee){return _(ee)===w}Qn.AsyncMode=N,Qn.ConcurrentMode=z,Qn.ContextConsumer=X,Qn.ContextProvider=fe,Qn.Element=Ce,Qn.ForwardRef=V,Qn.Fragment=ve,Qn.Lazy=we,Qn.Memo=ce,Qn.Portal=Se,Qn.Profiler=Ee,Qn.StrictMode=ge,Qn.Suspense=De,Qn.isAsyncMode=se,Qn.isConcurrentMode=oe,Qn.isContextConsumer=Te,Qn.isContextProvider=B,Qn.isElement=Y,Qn.isForwardRef=Oe,Qn.isFragment=He,Qn.isLazy=Je,Qn.isMemo=We,Qn.isPortal=Z,Qn.isProfiler=re,Qn.isStrictMode=K,Qn.isSuspense=be,Qn.isValidElementType=A,Qn.typeOf=_}()),Qn}var VO;function P3(){return VO||(VO=1,process.env.NODE_ENV==="production"?b0.exports=e_():b0.exports=t_()),b0.exports}/*
|
|
2615
2615
|
object-assign
|
|
2616
2616
|
(c) Sindre Sorhus
|
|
2617
2617
|
@license MIT
|
|
2618
|
-
*/var nC,jO;function n_(){if(jO)return nC;jO=1;var e=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function s(p){if(p==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(p)}function c(){try{if(!Object.assign)return!1;var p=new String("abc");if(p[5]="de",Object.getOwnPropertyNames(p)[0]==="5")return!1;for(var d={},v=0;v<10;v++)d["_"+String.fromCharCode(v)]=v;var b=Object.getOwnPropertyNames(d).map(function(T){return d[T]});if(b.join("")!=="0123456789")return!1;var S={};return"abcdefghijklmnopqrst".split("").forEach(function(T){S[T]=T}),Object.keys(Object.assign({},S)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return nC=c()?Object.assign:function(p,d){for(var v,b=s(p),S,T=1;T<arguments.length;T++){v=Object(arguments[T]);for(var w in v)o.call(v,w)&&(b[w]=v[w]);if(e){S=e(v);for(var R=0;R<S.length;R++)i.call(v,S[R])&&(b[S[R]]=v[S[R]])}}return b},nC}var rC,UO;function rw(){if(UO)return rC;UO=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return rC=e,rC}var oC,BO;function N3(){return BO||(BO=1,oC=Function.call.bind(Object.prototype.hasOwnProperty)),oC}var aC,zO;function r_(){if(zO)return aC;zO=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var o=rw(),i={},s=N3();e=function(p){var d="Warning: "+p;typeof console<"u"&&console.error(d);try{throw new Error(d)}catch{}}}function c(p,d,v,b,S){if(process.env.NODE_ENV!=="production"){for(var T in p)if(s(p,T)){var w;try{if(typeof p[T]!="function"){var R=Error((b||"React class")+": "+v+" type `"+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[T]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw R.name="Invariant Violation",R}w=p[T](d,T,b,v,null,o)}catch(M){w=M}if(w&&!(w instanceof Error)&&e((b||"React class")+": type specification of "+v+" `"+T+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof w+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),w instanceof Error&&!(w.message in i)){i[w.message]=!0;var k=S?S():"";e("Failed "+v+" type: "+w.message+(k??""))}}}}return c.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},aC=c,aC}var iC,HO;function o_(){if(HO)return iC;HO=1;var e=P3(),o=n_(),i=rw(),s=N3(),c=r_(),p=function(){};process.env.NODE_ENV!=="production"&&(p=function(v){var b="Warning: "+v;typeof console<"u"&&console.error(b);try{throw new Error(b)}catch{}});function d(){return null}return iC=function(v,b){var S=typeof Symbol=="function"&&Symbol.iterator,T="@@iterator";function w(oe){var Te=oe&&(S&&oe[S]||oe[T]);if(typeof Te=="function")return Te}var R="<<anonymous>>",k={array:G("array"),bigint:G("bigint"),bool:G("boolean"),func:G("function"),number:G("number"),object:G("object"),string:G("string"),symbol:G("symbol"),any:
|
|
2619
|
-
Valid keys: `+JSON.stringify(Object.keys(oe),null," "));var ee=be(We,K,Oe,He,Je+"."+K,i);if(ee)return ee}return null}return U(Te)}function Se(oe){switch(typeof oe){case"number":case"string":case"undefined":return!0;case"boolean":return!oe;case"object":if(Array.isArray(oe))return oe.every(Se);if(oe===null||v(oe))return!0;var Te=w(oe);if(Te){var B=Te.call(oe),
|
|
2618
|
+
*/var nC,jO;function n_(){if(jO)return nC;jO=1;var e=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function s(p){if(p==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(p)}function c(){try{if(!Object.assign)return!1;var p=new String("abc");if(p[5]="de",Object.getOwnPropertyNames(p)[0]==="5")return!1;for(var d={},v=0;v<10;v++)d["_"+String.fromCharCode(v)]=v;var b=Object.getOwnPropertyNames(d).map(function(T){return d[T]});if(b.join("")!=="0123456789")return!1;var S={};return"abcdefghijklmnopqrst".split("").forEach(function(T){S[T]=T}),Object.keys(Object.assign({},S)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return nC=c()?Object.assign:function(p,d){for(var v,b=s(p),S,T=1;T<arguments.length;T++){v=Object(arguments[T]);for(var w in v)o.call(v,w)&&(b[w]=v[w]);if(e){S=e(v);for(var R=0;R<S.length;R++)i.call(v,S[R])&&(b[S[R]]=v[S[R]])}}return b},nC}var rC,UO;function rw(){if(UO)return rC;UO=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return rC=e,rC}var oC,BO;function N3(){return BO||(BO=1,oC=Function.call.bind(Object.prototype.hasOwnProperty)),oC}var aC,zO;function r_(){if(zO)return aC;zO=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var o=rw(),i={},s=N3();e=function(p){var d="Warning: "+p;typeof console<"u"&&console.error(d);try{throw new Error(d)}catch{}}}function c(p,d,v,b,S){if(process.env.NODE_ENV!=="production"){for(var T in p)if(s(p,T)){var w;try{if(typeof p[T]!="function"){var R=Error((b||"React class")+": "+v+" type `"+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[T]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw R.name="Invariant Violation",R}w=p[T](d,T,b,v,null,o)}catch(M){w=M}if(w&&!(w instanceof Error)&&e((b||"React class")+": type specification of "+v+" `"+T+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof w+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),w instanceof Error&&!(w.message in i)){i[w.message]=!0;var k=S?S():"";e("Failed "+v+" type: "+w.message+(k??""))}}}}return c.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},aC=c,aC}var iC,HO;function o_(){if(HO)return iC;HO=1;var e=P3(),o=n_(),i=rw(),s=N3(),c=r_(),p=function(){};process.env.NODE_ENV!=="production"&&(p=function(v){var b="Warning: "+v;typeof console<"u"&&console.error(b);try{throw new Error(b)}catch{}});function d(){return null}return iC=function(v,b){var S=typeof Symbol=="function"&&Symbol.iterator,T="@@iterator";function w(oe){var Te=oe&&(S&&oe[S]||oe[T]);if(typeof Te=="function")return Te}var R="<<anonymous>>",k={array:G("array"),bigint:G("bigint"),bool:G("boolean"),func:G("function"),number:G("number"),object:G("object"),string:G("string"),symbol:G("symbol"),any:W(),arrayOf:A,element:_(),elementType:N(),instanceOf:z,node:V(),objectOf:fe,oneOf:X,oneOfType:Ce,shape:we,exact:ce};function M(oe,Te){return oe===Te?oe!==0||1/oe===1/Te:oe!==oe&&Te!==Te}function P(oe,Te){this.message=oe,this.data=Te&&typeof Te=="object"?Te:{},this.stack=""}P.prototype=Error.prototype;function U(oe){if(process.env.NODE_ENV!=="production")var Te={},B=0;function Y(He,Je,We,Z,re,K,be){if(Z=Z||R,K=K||We,be!==i){if(b){var ee=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw ee.name="Invariant Violation",ee}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ne=Z+":"+We;!Te[Ne]&&B<3&&(p("You are manually calling a React.PropTypes validation function for the `"+K+"` prop on `"+Z+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),Te[Ne]=!0,B++)}}return Je[We]==null?He?Je[We]===null?new P("The "+re+" `"+K+"` is marked as required "+("in `"+Z+"`, but its value is `null`.")):new P("The "+re+" `"+K+"` is marked as required in "+("`"+Z+"`, but its value is `undefined`.")):null:oe(Je,We,Z,re,K)}var Oe=Y.bind(null,!1);return Oe.isRequired=Y.bind(null,!0),Oe}function G(oe){function Te(B,Y,Oe,He,Je,We){var Z=B[Y],re=ge(Z);if(re!==oe){var K=De(Z);return new P("Invalid "+He+" `"+Je+"` of type "+("`"+K+"` supplied to `"+Oe+"`, expected ")+("`"+oe+"`."),{expectedType:oe})}return null}return U(Te)}function W(){return U(d)}function A(oe){function Te(B,Y,Oe,He,Je){if(typeof oe!="function")return new P("Property `"+Je+"` of component `"+Oe+"` has invalid PropType notation inside arrayOf.");var We=B[Y];if(!Array.isArray(We)){var Z=ge(We);return new P("Invalid "+He+" `"+Je+"` of type "+("`"+Z+"` supplied to `"+Oe+"`, expected an array."))}for(var re=0;re<We.length;re++){var K=oe(We,re,Oe,He,Je+"["+re+"]",i);if(K instanceof Error)return K}return null}return U(Te)}function _(){function oe(Te,B,Y,Oe,He){var Je=Te[B];if(!v(Je)){var We=ge(Je);return new P("Invalid "+Oe+" `"+He+"` of type "+("`"+We+"` supplied to `"+Y+"`, expected a single ReactElement."))}return null}return U(oe)}function N(){function oe(Te,B,Y,Oe,He){var Je=Te[B];if(!e.isValidElementType(Je)){var We=ge(Je);return new P("Invalid "+Oe+" `"+He+"` of type "+("`"+We+"` supplied to `"+Y+"`, expected a single ReactElement type."))}return null}return U(oe)}function z(oe){function Te(B,Y,Oe,He,Je){if(!(B[Y]instanceof oe)){var We=oe.name||R,Z=se(B[Y]);return new P("Invalid "+He+" `"+Je+"` of type "+("`"+Z+"` supplied to `"+Oe+"`, expected ")+("instance of `"+We+"`."))}return null}return U(Te)}function X(oe){if(!Array.isArray(oe))return process.env.NODE_ENV!=="production"&&(arguments.length>1?p("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):p("Invalid argument supplied to oneOf, expected an array.")),d;function Te(B,Y,Oe,He,Je){for(var We=B[Y],Z=0;Z<oe.length;Z++)if(M(We,oe[Z]))return null;var re=JSON.stringify(oe,function(be,ee){var Ne=De(ee);return Ne==="symbol"?String(ee):ee});return new P("Invalid "+He+" `"+Je+"` of value `"+String(We)+"` "+("supplied to `"+Oe+"`, expected one of "+re+"."))}return U(Te)}function fe(oe){function Te(B,Y,Oe,He,Je){if(typeof oe!="function")return new P("Property `"+Je+"` of component `"+Oe+"` has invalid PropType notation inside objectOf.");var We=B[Y],Z=ge(We);if(Z!=="object")return new P("Invalid "+He+" `"+Je+"` of type "+("`"+Z+"` supplied to `"+Oe+"`, expected an object."));for(var re in We)if(s(We,re)){var K=oe(We,re,Oe,He,Je+"."+re,i);if(K instanceof Error)return K}return null}return U(Te)}function Ce(oe){if(!Array.isArray(oe))return process.env.NODE_ENV!=="production"&&p("Invalid argument supplied to oneOfType, expected an instance of array."),d;for(var Te=0;Te<oe.length;Te++){var B=oe[Te];if(typeof B!="function")return p("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ke(B)+" at index "+Te+"."),d}function Y(Oe,He,Je,We,Z){for(var re=[],K=0;K<oe.length;K++){var be=oe[K],ee=be(Oe,He,Je,We,Z,i);if(ee==null)return null;ee.data&&s(ee.data,"expectedType")&&re.push(ee.data.expectedType)}var Ne=re.length>0?", expected one of type ["+re.join(", ")+"]":"";return new P("Invalid "+We+" `"+Z+"` supplied to "+("`"+Je+"`"+Ne+"."))}return U(Y)}function V(){function oe(Te,B,Y,Oe,He){return Se(Te[B])?null:new P("Invalid "+Oe+" `"+He+"` supplied to "+("`"+Y+"`, expected a ReactNode."))}return U(oe)}function ve(oe,Te,B,Y,Oe){return new P((oe||"React class")+": "+Te+" type `"+B+"."+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Oe+"`.")}function we(oe){function Te(B,Y,Oe,He,Je){var We=B[Y],Z=ge(We);if(Z!=="object")return new P("Invalid "+He+" `"+Je+"` of type `"+Z+"` "+("supplied to `"+Oe+"`, expected `object`."));for(var re in oe){var K=oe[re];if(typeof K!="function")return ve(Oe,He,Je,re,De(K));var be=K(We,re,Oe,He,Je+"."+re,i);if(be)return be}return null}return U(Te)}function ce(oe){function Te(B,Y,Oe,He,Je){var We=B[Y],Z=ge(We);if(Z!=="object")return new P("Invalid "+He+" `"+Je+"` of type `"+Z+"` "+("supplied to `"+Oe+"`, expected `object`."));var re=o({},B[Y],oe);for(var K in re){var be=oe[K];if(s(oe,K)&&typeof be!="function")return ve(Oe,He,Je,K,De(be));if(!be)return new P("Invalid "+He+" `"+Je+"` key `"+K+"` supplied to `"+Oe+"`.\nBad object: "+JSON.stringify(B[Y],null," ")+`
|
|
2619
|
+
Valid keys: `+JSON.stringify(Object.keys(oe),null," "));var ee=be(We,K,Oe,He,Je+"."+K,i);if(ee)return ee}return null}return U(Te)}function Se(oe){switch(typeof oe){case"number":case"string":case"undefined":return!0;case"boolean":return!oe;case"object":if(Array.isArray(oe))return oe.every(Se);if(oe===null||v(oe))return!0;var Te=w(oe);if(Te){var B=Te.call(oe),Y;if(Te!==oe.entries){for(;!(Y=B.next()).done;)if(!Se(Y.value))return!1}else for(;!(Y=B.next()).done;){var Oe=Y.value;if(Oe&&!Se(Oe[1]))return!1}}else return!1;return!0;default:return!1}}function Ee(oe,Te){return oe==="symbol"?!0:Te?Te["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Te instanceof Symbol:!1}function ge(oe){var Te=typeof oe;return Array.isArray(oe)?"array":oe instanceof RegExp?"object":Ee(Te,oe)?"symbol":Te}function De(oe){if(typeof oe>"u"||oe===null)return""+oe;var Te=ge(oe);if(Te==="object"){if(oe instanceof Date)return"date";if(oe instanceof RegExp)return"regexp"}return Te}function ke(oe){var Te=De(oe);switch(Te){case"array":case"object":return"an "+Te;case"boolean":case"date":case"regexp":return"a "+Te;default:return Te}}function se(oe){return!oe.constructor||!oe.constructor.name?R:oe.constructor.name}return k.checkPropTypes=c,k.resetWarningCache=c.resetWarningCache,k.PropTypes=k,k},iC}var lC,GO;function a_(){if(GO)return lC;GO=1;var e=rw();function o(){}function i(){}return i.resetWarningCache=o,lC=function(){function s(d,v,b,S,T,w){if(w!==e){var R=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw R.name="Invariant Violation",R}}s.isRequired=s;function c(){return s}var p={array:s,bigint:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:c,element:s,elementType:s,instanceOf:c,node:s,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c,checkPropTypes:i,resetWarningCache:o};return p.PropTypes=p,p},lC}var WO;function i_(){if(WO)return g0.exports;if(WO=1,process.env.NODE_ENV!=="production"){var e=P3(),o=!0;g0.exports=o_()(e.isElement,o)}else g0.exports=a_()();return g0.exports}var l_=i_();const y=GC(l_);function s_(e){return e==null||Object.keys(e).length===0}function D3(e){const{styles:o,defaultTheme:i={}}=e,s=typeof o=="function"?c=>o(s_(c)?i:c):o;return L.jsx(WL,{styles:s})}process.env.NODE_ENV!=="production"&&(D3.propTypes={defaultTheme:y.object,styles:y.oneOfType([y.array,y.string,y.object,y.func])});/**
|
|
2620
2620
|
* @mui/styled-engine v7.2.0
|
|
2621
2621
|
*
|
|
2622
2622
|
* @license MIT
|
|
@@ -2643,10 +2643,10 @@ Valid keys: `+JSON.stringify(Object.keys(oe),null," "));var ee=be(We,K,Oe,He,Je
|
|
|
2643
2643
|
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:es(18,`(${o})`));return null}const[,s,c]=i,p=Number.isNaN(+s)?s||0:+s;return e.containerQueries(c).up(p)}function y_(e){const o=(p,d)=>p.replace("@media",d?`@container ${d}`:"@container");function i(p,d){p.up=(...v)=>o(e.breakpoints.up(...v),d),p.down=(...v)=>o(e.breakpoints.down(...v),d),p.between=(...v)=>o(e.breakpoints.between(...v),d),p.only=(...v)=>o(e.breakpoints.only(...v),d),p.not=(...v)=>{const b=o(e.breakpoints.not(...v),d);return b.includes("not all and")?b.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):b}}const s={},c=p=>(i(s,p),s);return i(c),{...e,containerQueries:c}}const g_={borderRadius:4},Uu=process.env.NODE_ENV!=="production"?y.oneOfType([y.number,y.string,y.object,y.array]):{};function Qm(e,o){return o?ma(e,o,{clone:!1}):e}const ab={xs:0,sm:600,md:900,lg:1200,xl:1536},ZO={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${ab[e]}px)`},b_={containerQueries:e=>({up:o=>{let i=typeof o=="number"?o:ab[o]||o;return typeof i=="number"&&(i=`${i}px`),e?`@container ${e} (min-width:${i})`:`@container (min-width:${i})`}})};function Ys(e,o,i){const s=e.theme||{};if(Array.isArray(o)){const p=s.breakpoints||ZO;return o.reduce((d,v,b)=>(d[p.up(p.keys[b])]=i(o[b]),d),{})}if(typeof o=="object"){const p=s.breakpoints||ZO;return Object.keys(o).reduce((d,v)=>{if(m_(p.keys,v)){const b=v_(s.containerQueries?s:b_,v);b&&(d[b]=i(o[v],v))}else if(Object.keys(p.values||ab).includes(v)){const b=p.up(v);d[b]=i(o[v],v)}else{const b=v;d[b]=o[b]}return d},{})}return i(o)}function x_(e={}){var i;return((i=e.keys)==null?void 0:i.reduce((s,c)=>{const p=e.up(c);return s[p]={},s},{}))||{}}function JO(e,o){return e.reduce((i,s)=>{const c=i[s];return(!c||Object.keys(c).length===0)&&delete i[s],i},o)}function Cr(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":es(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ib(e,o,i=!0){if(!o||typeof o!="string")return null;if(e&&e.vars&&i){const s=`vars.${o}`.split(".").reduce((c,p)=>c&&c[p]?c[p]:null,e);if(s!=null)return s}return o.split(".").reduce((s,c)=>s&&s[c]!=null?s[c]:null,e)}function j0(e,o,i,s=i){let c;return typeof e=="function"?c=e(i):Array.isArray(e)?c=e[i]||s:c=ib(e,i)||s,o&&(c=o(c,s,e)),c}function Qr(e){const{prop:o,cssProperty:i=e.prop,themeKey:s,transform:c}=e,p=d=>{if(d[o]==null)return null;const v=d[o],b=d.theme,S=ib(b,s)||{};return Ys(d,v,w=>{let R=j0(S,c,w);return w===R&&typeof w=="string"&&(R=j0(S,c,`${o}${w==="default"?"":Cr(w)}`,w)),i===!1?R:{[i]:R}})};return p.propTypes=process.env.NODE_ENV!=="production"?{[o]:Uu}:{},p.filterProps=[o],p}function S_(e){const o={};return i=>(o[i]===void 0&&(o[i]=e(i)),o[i])}const C_={m:"margin",p:"padding"},w_={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},e$={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},E_=S_(e=>{if(e.length>2)if(e$[e])e=e$[e];else return[e];const[o,i]=e.split(""),s=C_[o],c=w_[i]||"";return Array.isArray(c)?c.map(p=>s+p):[s+c]}),lb=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],sb=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],T_=[...lb,...sb];function uv(e,o,i,s){const c=ib(e,o,!0)??i;return typeof c=="number"||typeof c=="string"?p=>typeof p=="string"?p:(process.env.NODE_ENV!=="production"&&typeof p!="number"&&console.error(`MUI: Expected ${s} argument to be a number or a string, got ${p}.`),typeof c=="string"?c.startsWith("var(")&&p===0?0:c.startsWith("var(")&&p===1?c:`calc(${p} * ${c})`:c*p):Array.isArray(c)?p=>{if(typeof p=="string")return p;const d=Math.abs(p);process.env.NODE_ENV!=="production"&&(Number.isInteger(d)?d>c.length-1&&console.error([`MUI: The value provided (${d}) overflows.`,`The supported values are: ${JSON.stringify(c)}.`,`${d} > ${c.length-1}, you need to add the missing values.`].join(`
|
|
2644
2644
|
`)):console.error([`MUI: The \`theme.${o}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${o}\` as a number.`].join(`
|
|
2645
2645
|
`)));const v=c[d];return p>=0?v:typeof v=="number"?-v:typeof v=="string"&&v.startsWith("var(")?`calc(-1 * ${v})`:`-${v}`}:typeof c=="function"?c:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${o}\` value (${c}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
2646
|
-
`)),()=>{})}function ow(e){return uv(e,"spacing",8,"spacing")}function cv(e,o){return typeof o=="string"||o==null?o:e(o)}function R_(e,o){return i=>e.reduce((s,c)=>(s[c]=cv(o,i),s),{})}function O_(e,o,i,s){if(!o.includes(i))return null;const c=E_(i),p=R_(c,s),d=e[i];return Ys(e,d,p)}function _3(e,o){const i=ow(e.theme);return Object.keys(e).map(s=>O_(e,o,s,i)).reduce(Qm,{})}function Ur(e){return _3(e,lb)}Ur.propTypes=process.env.NODE_ENV!=="production"?lb.reduce((e,o)=>(e[o]=Uu,e),{}):{};Ur.filterProps=lb;function Br(e){return _3(e,sb)}Br.propTypes=process.env.NODE_ENV!=="production"?sb.reduce((e,o)=>(e[o]=Uu,e),{}):{};Br.filterProps=sb;process.env.NODE_ENV!=="production"&&T_.reduce((e,o)=>(e[o]=Uu,e),{});function I3(e=8,o=ow({spacing:e})){if(e.mui)return e;const i=(...s)=>(process.env.NODE_ENV!=="production"&&(s.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${s.length}`)),(s.length===0?[1]:s).map(p=>{const d=o(p);return typeof d=="number"?`${d}px`:d}).join(" "));return i.mui=!0,i}function ub(...e){const o=e.reduce((s,c)=>(c.filterProps.forEach(p=>{s[p]=c}),s),{}),i=s=>Object.keys(s).reduce((c,p)=>o[p]?Qm(c,o[p](s)):c,{});return i.propTypes=process.env.NODE_ENV!=="production"?e.reduce((s,c)=>Object.assign(s,c.propTypes),{}):{},i.filterProps=e.reduce((s,c)=>s.concat(c.filterProps),[]),i}function Di(e){return typeof e!="number"?e:`${e}px solid`}function Li(e,o){return Qr({prop:e,themeKey:"borders",transform:o})}const $_=Li("border",Di),A_=Li("borderTop",Di),k_=Li("borderRight",Di),P_=Li("borderBottom",Di),N_=Li("borderLeft",Di),D_=Li("borderColor"),M_=Li("borderTopColor"),L_=Li("borderRightColor"),__=Li("borderBottomColor"),I_=Li("borderLeftColor"),F_=Li("outline",Di),V_=Li("outlineColor"),cb=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const o=uv(e.theme,"shape.borderRadius",4,"borderRadius"),i=s=>({borderRadius:cv(o,s)});return Ys(e,e.borderRadius,i)}return null};cb.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Uu}:{};cb.filterProps=["borderRadius"];ub($_,A_,k_,P_,N_,D_,M_,L_,__,I_,cb,F_,V_);const fb=e=>{if(e.gap!==void 0&&e.gap!==null){const o=uv(e.theme,"spacing",8,"gap"),i=s=>({gap:cv(o,s)});return Ys(e,e.gap,i)}return null};fb.propTypes=process.env.NODE_ENV!=="production"?{gap:Uu}:{};fb.filterProps=["gap"];const db=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const o=uv(e.theme,"spacing",8,"columnGap"),i=s=>({columnGap:cv(o,s)});return Ys(e,e.columnGap,i)}return null};db.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Uu}:{};db.filterProps=["columnGap"];const pb=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const o=uv(e.theme,"spacing",8,"rowGap"),i=s=>({rowGap:cv(o,s)});return Ys(e,e.rowGap,i)}return null};pb.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Uu}:{};pb.filterProps=["rowGap"];const j_=Qr({prop:"gridColumn"}),U_=Qr({prop:"gridRow"}),B_=Qr({prop:"gridAutoFlow"}),z_=Qr({prop:"gridAutoColumns"}),H_=Qr({prop:"gridAutoRows"}),G_=Qr({prop:"gridTemplateColumns"}),W_=Qr({prop:"gridTemplateRows"}),Y_=Qr({prop:"gridTemplateAreas"}),q_=Qr({prop:"gridArea"});ub(fb,db,pb,j_,U_,B_,z_,H_,G_,W_,Y_,q_);function yp(e,o){return o==="grey"?o:e}const Q_=Qr({prop:"color",themeKey:"palette",transform:yp}),X_=Qr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:yp}),K_=Qr({prop:"backgroundColor",themeKey:"palette",transform:yp});ub(Q_,X_,K_);function ii(e){return e<=1&&e!==0?`${e*100}%`:e}const Z_=Qr({prop:"width",transform:ii}),aw=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const o=i=>{var c,p,d,v,b;const s=((d=(p=(c=e.theme)==null?void 0:c.breakpoints)==null?void 0:p.values)==null?void 0:d[i])||ab[i];return s?((b=(v=e.theme)==null?void 0:v.breakpoints)==null?void 0:b.unit)!=="px"?{maxWidth:`${s}${e.theme.breakpoints.unit}`}:{maxWidth:s}:{maxWidth:ii(i)}};return Ys(e,e.maxWidth,o)}return null};aw.filterProps=["maxWidth"];const J_=Qr({prop:"minWidth",transform:ii}),eI=Qr({prop:"height",transform:ii}),tI=Qr({prop:"maxHeight",transform:ii}),nI=Qr({prop:"minHeight",transform:ii});Qr({prop:"size",cssProperty:"width",transform:ii});Qr({prop:"size",cssProperty:"height",transform:ii});const rI=Qr({prop:"boxSizing"});ub(Z_,aw,J_,eI,tI,nI,rI);const fv={border:{themeKey:"borders",transform:Di},borderTop:{themeKey:"borders",transform:Di},borderRight:{themeKey:"borders",transform:Di},borderBottom:{themeKey:"borders",transform:Di},borderLeft:{themeKey:"borders",transform:Di},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Di},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:cb},color:{themeKey:"palette",transform:yp},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:yp},backgroundColor:{themeKey:"palette",transform:yp},p:{style:Br},pt:{style:Br},pr:{style:Br},pb:{style:Br},pl:{style:Br},px:{style:Br},py:{style:Br},padding:{style:Br},paddingTop:{style:Br},paddingRight:{style:Br},paddingBottom:{style:Br},paddingLeft:{style:Br},paddingX:{style:Br},paddingY:{style:Br},paddingInline:{style:Br},paddingInlineStart:{style:Br},paddingInlineEnd:{style:Br},paddingBlock:{style:Br},paddingBlockStart:{style:Br},paddingBlockEnd:{style:Br},m:{style:Ur},mt:{style:Ur},mr:{style:Ur},mb:{style:Ur},ml:{style:Ur},mx:{style:Ur},my:{style:Ur},margin:{style:Ur},marginTop:{style:Ur},marginRight:{style:Ur},marginBottom:{style:Ur},marginLeft:{style:Ur},marginX:{style:Ur},marginY:{style:Ur},marginInline:{style:Ur},marginInlineStart:{style:Ur},marginInlineEnd:{style:Ur},marginBlock:{style:Ur},marginBlockStart:{style:Ur},marginBlockEnd:{style:Ur},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:fb},rowGap:{style:pb},columnGap:{style:db},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ii},maxWidth:{style:aw},minWidth:{transform:ii},height:{transform:ii},maxHeight:{transform:ii},minHeight:{transform:ii},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function oI(...e){const o=e.reduce((s,c)=>s.concat(Object.keys(c)),[]),i=new Set(o);return e.every(s=>i.size===Object.keys(s).length)}function aI(e,o){return typeof e=="function"?e(o):e}function iI(){function e(i,s,c,p){const d={[i]:s,theme:c},v=p[i];if(!v)return{[i]:s};const{cssProperty:b=i,themeKey:S,transform:T,style:w}=v;if(s==null)return null;if(S==="typography"&&s==="inherit")return{[i]:s};const R=ib(c,S)||{};return w?w(d):Ys(d,s,M=>{let P=j0(R,T,M);return M===P&&typeof M=="string"&&(P=j0(R,T,`${i}${M==="default"?"":Cr(M)}`,M)),b===!1?P:{[b]:P}})}function o(i){const{sx:s,theme:c={},nested:p}=i||{};if(!s)return null;const d=c.unstable_sxConfig??fv;function v(b){let S=b;if(typeof b=="function")S=b(c);else if(typeof b!="object")return b;if(!S)return null;const T=x_(c.breakpoints),w=Object.keys(T);let R=T;return Object.keys(S).forEach(k=>{const M=aI(S[k],c);if(M!=null)if(typeof M=="object")if(d[k])R=Qm(R,e(k,M,c,d));else{const P=Ys({theme:c},M,U=>({[k]:U}));oI(P,M)?R[k]=o({sx:M,theme:c,nested:!0}):R=Qm(R,P)}else R=Qm(R,e(k,M,c,d))}),!p&&c.modularCssLayers?{"@layer sx":KO(c,JO(w,R))}:KO(c,JO(w,R))}return Array.isArray(s)?s.map(v):v(s)}return o}const hf=iI();hf.filterProps=["sx"];function lI(e,o){var s;const i=this;if(i.vars){if(!((s=i.colorSchemes)!=null&&s[e])||typeof i.getColorSchemeSelector!="function")return{};let c=i.getColorSchemeSelector(e);return c==="&"?o:((c.includes("data-")||c.includes("."))&&(c=`*:where(${c.replace(/\s*&$/,"")}) &`),{[c]:o})}return i.palette.mode===e?o:{}}function iw(e={},...o){const{breakpoints:i={},palette:s={},spacing:c,shape:p={},...d}=e,v=h_(i),b=I3(c);let S=ma({breakpoints:v,direction:"ltr",components:{},palette:{mode:"light",...s},spacing:b,shape:{...g_,...p}},d);return S=y_(S),S.applyStyles=lI,S=o.reduce((T,w)=>ma(T,w),S),S.unstable_sxConfig={...fv,...d==null?void 0:d.unstable_sxConfig},S.unstable_sx=function(w){return hf({sx:w,theme:this})},S}function sI(e){return Object.keys(e).length===0}function uI(e=null){const o=xe.useContext(ob);return!o||sI(o)?e:o}const cI=iw();function lw(e=cI){return uI(e)}function sC(e){const o=Vu(e);return e!==o&&o.styles?(o.styles.match(/^@layer\s+[^{]*$/)||(o.styles=`@layer global{${o.styles}}`),o):e}function F3({styles:e,themeId:o,defaultTheme:i={}}){const s=lw(i),c=o&&s[o]||s;let p=typeof e=="function"?e(c):e;return c.modularCssLayers&&(Array.isArray(p)?p=p.map(d=>sC(typeof d=="function"?d(c):d)):p=sC(p)),L.jsx(D3,{styles:p})}process.env.NODE_ENV!=="production"&&(F3.propTypes={defaultTheme:y.object,styles:y.oneOfType([y.array,y.func,y.number,y.object,y.string,y.bool]),themeId:y.string});const fI=e=>{var s;const o={systemProps:{},otherProps:{}},i=((s=e==null?void 0:e.theme)==null?void 0:s.unstable_sxConfig)??fv;return Object.keys(e).forEach(c=>{i[c]?o.systemProps[c]=e[c]:o.otherProps[c]=e[c]}),o};function V3(e){const{sx:o,...i}=e,{systemProps:s,otherProps:c}=fI(i);let p;return Array.isArray(o)?p=[s,...o]:typeof o=="function"?p=(...d)=>{const v=o(...d);return Zl(v)?{...s,...v}:s}:p={...s,...o},{...c,sx:p}}const t$=e=>e,dI=()=>{let e=t$;return{configure(o){e=o},generate(o){return e(o)},reset(){e=t$}}},j3=dI();function U3(e){var o,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var c=e.length;for(o=0;o<c;o++)e[o]&&(i=U3(e[o]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function yr(){for(var e,o,i=0,s="",c=arguments.length;i<c;i++)(e=arguments[i])&&(o=U3(e))&&(s&&(s+=" "),s+=o);return s}function pI(e={}){const{themeId:o,defaultTheme:i,defaultClassName:s="MuiBox-root",generateClassName:c}=e,p=M3("div",{shouldForwardProp:v=>v!=="theme"&&v!=="sx"&&v!=="as"})(hf);return xe.forwardRef(function(b,S){const T=lw(i),{className:w,component:R="div",...k}=V3(b);return L.jsx(p,{as:R,ref:S,className:yr(w,c?c(s):s),theme:o&&T[o]||T,...k})})}const hI={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Xr(e,o,i="Mui"){const s=hI[o];return s?`${i}-${s}`:`${j3.generate(e)}-${o}`}function ao(e,o,i="Mui"){const s={};return o.forEach(c=>{s[c]=Xr(e,c,i)}),s}function B3(e,o=""){return e.displayName||e.name||o}function n$(e,o,i){const s=B3(o);return e.displayName||(s!==""?`${i}(${s})`:i)}function mI(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return B3(e,"Component");if(typeof e=="object")switch(e.$$typeof){case pf.ForwardRef:return n$(e,e.render,"ForwardRef");case pf.Memo:return n$(e,e.type,"memo");default:return}}}function z3(e){const{variants:o,...i}=e,s={variants:o,style:Vu(i),isProcessed:!0};return s.style===i||o&&o.forEach(c=>{typeof c.style!="function"&&(c.style=Vu(c.style))}),s}const vI=iw();function uC(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function uf(e,o){return o&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${o}{${String(e.styles)}}`),e}function yI(e){return e?(o,i)=>i[e]:null}function gI(e,o,i){e.theme=CI(e.theme)?i:e.theme[o]||e.theme}function N0(e,o,i){const s=typeof o=="function"?o(e):o;if(Array.isArray(s))return s.flatMap(c=>N0(e,c,i));if(Array.isArray(s==null?void 0:s.variants)){let c;if(s.isProcessed)c=i?uf(s.style,i):s.style;else{const{variants:p,...d}=s;c=i?uf(Vu(d),i):d}return H3(e,s.variants,[c],i)}return s!=null&&s.isProcessed?i?uf(Vu(s.style),i):s.style:i?uf(Vu(s),i):s}function H3(e,o,i=[],s=void 0){var p;let c;e:for(let d=0;d<o.length;d+=1){const v=o[d];if(typeof v.props=="function"){if(c??(c={...e,...e.ownerState,ownerState:e.ownerState}),!v.props(c))continue}else for(const b in v.props)if(e[b]!==v.props[b]&&((p=e.ownerState)==null?void 0:p[b])!==v.props[b])continue e;typeof v.style=="function"?(c??(c={...e,...e.ownerState,ownerState:e.ownerState}),i.push(s?uf(Vu(v.style(c)),s):v.style(c))):i.push(s?uf(Vu(v.style),s):v.style)}return i}function bI(e={}){const{themeId:o,defaultTheme:i=vI,rootShouldForwardProp:s=uC,slotShouldForwardProp:c=uC}=e;function p(v){gI(v,o,i)}return(v,b={})=>{u_(v,z=>z.filter(X=>X!==hf));const{name:S,slot:T,skipVariantsResolver:w,skipSx:R,overridesResolver:k=yI(G3(T)),...M}=b,P=S&&S.startsWith("Mui")||T?"components":"custom",U=w!==void 0?w:T&&T!=="Root"&&T!=="root"||!1,G=R||!1;let Y=uC;T==="Root"||T==="root"?Y=s:T?Y=c:wI(v)&&(Y=void 0);const A=M3(v,{shouldForwardProp:Y,label:SI(S,T),...M}),_=z=>{if(z.__emotion_real===z)return z;if(typeof z=="function")return function(fe){return N0(fe,z,fe.theme.modularCssLayers?P:void 0)};if(Zl(z)){const X=z3(z);return function(Ce){return X.variants?N0(Ce,X,Ce.theme.modularCssLayers?P:void 0):Ce.theme.modularCssLayers?uf(X.style,P):X.style}}return z},N=(...z)=>{const X=[],fe=z.map(_),Ce=[];if(X.push(p),S&&k&&Ce.push(function(ue){var De,ke;const Ee=(ke=(De=ue.theme.components)==null?void 0:De[S])==null?void 0:ke.styleOverrides;if(!Ee)return null;const ge={};for(const ce in Ee)ge[ce]=N0(ue,Ee[ce],ue.theme.modularCssLayers?"theme":void 0);return k(ue,ge)}),S&&!U&&Ce.push(function(ue){var ge,De;const Se=ue.theme,Ee=(De=(ge=Se==null?void 0:Se.components)==null?void 0:ge[S])==null?void 0:De.variants;return Ee?H3(ue,Ee,[],ue.theme.modularCssLayers?"theme":void 0):null}),G||Ce.push(hf),Array.isArray(fe[0])){const we=fe.shift(),ue=new Array(X.length).fill(""),Se=new Array(Ce.length).fill("");let Ee;Ee=[...ue,...we,...Se],Ee.raw=[...ue,...we.raw,...Se],X.unshift(Ee)}const V=[...X,...fe,...Ce],ve=A(...V);return v.muiName&&(ve.muiName=v.muiName),process.env.NODE_ENV!=="production"&&(ve.displayName=xI(S,T,v)),ve};return A.withConfig&&(N.withConfig=A.withConfig),N}}function xI(e,o,i){return e?`${e}${Cr(o||"")}`:`Styled(${mI(i)})`}function SI(e,o){let i;return process.env.NODE_ENV!=="production"&&e&&(i=`${e}-${G3(o||"Root")}`),i}function CI(e){for(const o in e)return!1;return!0}function wI(e){return typeof e=="string"&&e.charCodeAt(0)>96}function G3(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function PC(e,o,i=!1){const s={...o};for(const c in e)if(Object.prototype.hasOwnProperty.call(e,c)){const p=c;if(p==="components"||p==="slots")s[p]={...e[p],...s[p]};else if(p==="componentsProps"||p==="slotProps"){const d=e[p],v=o[p];if(!v)s[p]=d||{};else if(!d)s[p]=v;else{s[p]={...v};for(const b in d)if(Object.prototype.hasOwnProperty.call(d,b)){const S=b;s[p][S]=PC(d[S],v[S],i)}}}else p==="className"&&i&&o.className?s.className=yr(e==null?void 0:e.className,o==null?void 0:o.className):p==="style"&&i&&o.style?s.style={...e==null?void 0:e.style,...o==null?void 0:o.style}:s[p]===void 0&&(s[p]=e[p])}return s}const mf=typeof window<"u"?xe.useLayoutEffect:xe.useEffect;function EI(e,o=Number.MIN_SAFE_INTEGER,i=Number.MAX_SAFE_INTEGER){return Math.max(o,Math.min(e,i))}function sw(e,o=0,i=1){return process.env.NODE_ENV!=="production"&&(e<o||e>i)&&console.error(`MUI: The value provided ${e} is out of range [${o}, ${i}].`),EI(e,o,i)}function TI(e){e=e.slice(1);const o=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let i=e.match(o);return i&&i[0].length===1&&(i=i.map(s=>s+s)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),i?`rgb${i.length===4?"a":""}(${i.map((s,c)=>c<3?parseInt(s,16):Math.round(parseInt(s,16)/255*1e3)/1e3).join(", ")})`:""}function ju(e){if(e.type)return e;if(e.charAt(0)==="#")return ju(TI(e));const o=e.indexOf("("),i=e.substring(0,o);if(!["rgb","rgba","hsl","hsla","color"].includes(i))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
2646
|
+
`)),()=>{})}function ow(e){return uv(e,"spacing",8,"spacing")}function cv(e,o){return typeof o=="string"||o==null?o:e(o)}function R_(e,o){return i=>e.reduce((s,c)=>(s[c]=cv(o,i),s),{})}function O_(e,o,i,s){if(!o.includes(i))return null;const c=E_(i),p=R_(c,s),d=e[i];return Ys(e,d,p)}function _3(e,o){const i=ow(e.theme);return Object.keys(e).map(s=>O_(e,o,s,i)).reduce(Qm,{})}function Ur(e){return _3(e,lb)}Ur.propTypes=process.env.NODE_ENV!=="production"?lb.reduce((e,o)=>(e[o]=Uu,e),{}):{};Ur.filterProps=lb;function Br(e){return _3(e,sb)}Br.propTypes=process.env.NODE_ENV!=="production"?sb.reduce((e,o)=>(e[o]=Uu,e),{}):{};Br.filterProps=sb;process.env.NODE_ENV!=="production"&&T_.reduce((e,o)=>(e[o]=Uu,e),{});function I3(e=8,o=ow({spacing:e})){if(e.mui)return e;const i=(...s)=>(process.env.NODE_ENV!=="production"&&(s.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${s.length}`)),(s.length===0?[1]:s).map(p=>{const d=o(p);return typeof d=="number"?`${d}px`:d}).join(" "));return i.mui=!0,i}function ub(...e){const o=e.reduce((s,c)=>(c.filterProps.forEach(p=>{s[p]=c}),s),{}),i=s=>Object.keys(s).reduce((c,p)=>o[p]?Qm(c,o[p](s)):c,{});return i.propTypes=process.env.NODE_ENV!=="production"?e.reduce((s,c)=>Object.assign(s,c.propTypes),{}):{},i.filterProps=e.reduce((s,c)=>s.concat(c.filterProps),[]),i}function Di(e){return typeof e!="number"?e:`${e}px solid`}function Li(e,o){return Qr({prop:e,themeKey:"borders",transform:o})}const $_=Li("border",Di),A_=Li("borderTop",Di),k_=Li("borderRight",Di),P_=Li("borderBottom",Di),N_=Li("borderLeft",Di),D_=Li("borderColor"),M_=Li("borderTopColor"),L_=Li("borderRightColor"),__=Li("borderBottomColor"),I_=Li("borderLeftColor"),F_=Li("outline",Di),V_=Li("outlineColor"),cb=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const o=uv(e.theme,"shape.borderRadius",4,"borderRadius"),i=s=>({borderRadius:cv(o,s)});return Ys(e,e.borderRadius,i)}return null};cb.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Uu}:{};cb.filterProps=["borderRadius"];ub($_,A_,k_,P_,N_,D_,M_,L_,__,I_,cb,F_,V_);const fb=e=>{if(e.gap!==void 0&&e.gap!==null){const o=uv(e.theme,"spacing",8,"gap"),i=s=>({gap:cv(o,s)});return Ys(e,e.gap,i)}return null};fb.propTypes=process.env.NODE_ENV!=="production"?{gap:Uu}:{};fb.filterProps=["gap"];const db=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const o=uv(e.theme,"spacing",8,"columnGap"),i=s=>({columnGap:cv(o,s)});return Ys(e,e.columnGap,i)}return null};db.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Uu}:{};db.filterProps=["columnGap"];const pb=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const o=uv(e.theme,"spacing",8,"rowGap"),i=s=>({rowGap:cv(o,s)});return Ys(e,e.rowGap,i)}return null};pb.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Uu}:{};pb.filterProps=["rowGap"];const j_=Qr({prop:"gridColumn"}),U_=Qr({prop:"gridRow"}),B_=Qr({prop:"gridAutoFlow"}),z_=Qr({prop:"gridAutoColumns"}),H_=Qr({prop:"gridAutoRows"}),G_=Qr({prop:"gridTemplateColumns"}),W_=Qr({prop:"gridTemplateRows"}),Y_=Qr({prop:"gridTemplateAreas"}),q_=Qr({prop:"gridArea"});ub(fb,db,pb,j_,U_,B_,z_,H_,G_,W_,Y_,q_);function yp(e,o){return o==="grey"?o:e}const Q_=Qr({prop:"color",themeKey:"palette",transform:yp}),X_=Qr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:yp}),K_=Qr({prop:"backgroundColor",themeKey:"palette",transform:yp});ub(Q_,X_,K_);function ii(e){return e<=1&&e!==0?`${e*100}%`:e}const Z_=Qr({prop:"width",transform:ii}),aw=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const o=i=>{var c,p,d,v,b;const s=((d=(p=(c=e.theme)==null?void 0:c.breakpoints)==null?void 0:p.values)==null?void 0:d[i])||ab[i];return s?((b=(v=e.theme)==null?void 0:v.breakpoints)==null?void 0:b.unit)!=="px"?{maxWidth:`${s}${e.theme.breakpoints.unit}`}:{maxWidth:s}:{maxWidth:ii(i)}};return Ys(e,e.maxWidth,o)}return null};aw.filterProps=["maxWidth"];const J_=Qr({prop:"minWidth",transform:ii}),eI=Qr({prop:"height",transform:ii}),tI=Qr({prop:"maxHeight",transform:ii}),nI=Qr({prop:"minHeight",transform:ii});Qr({prop:"size",cssProperty:"width",transform:ii});Qr({prop:"size",cssProperty:"height",transform:ii});const rI=Qr({prop:"boxSizing"});ub(Z_,aw,J_,eI,tI,nI,rI);const fv={border:{themeKey:"borders",transform:Di},borderTop:{themeKey:"borders",transform:Di},borderRight:{themeKey:"borders",transform:Di},borderBottom:{themeKey:"borders",transform:Di},borderLeft:{themeKey:"borders",transform:Di},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Di},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:cb},color:{themeKey:"palette",transform:yp},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:yp},backgroundColor:{themeKey:"palette",transform:yp},p:{style:Br},pt:{style:Br},pr:{style:Br},pb:{style:Br},pl:{style:Br},px:{style:Br},py:{style:Br},padding:{style:Br},paddingTop:{style:Br},paddingRight:{style:Br},paddingBottom:{style:Br},paddingLeft:{style:Br},paddingX:{style:Br},paddingY:{style:Br},paddingInline:{style:Br},paddingInlineStart:{style:Br},paddingInlineEnd:{style:Br},paddingBlock:{style:Br},paddingBlockStart:{style:Br},paddingBlockEnd:{style:Br},m:{style:Ur},mt:{style:Ur},mr:{style:Ur},mb:{style:Ur},ml:{style:Ur},mx:{style:Ur},my:{style:Ur},margin:{style:Ur},marginTop:{style:Ur},marginRight:{style:Ur},marginBottom:{style:Ur},marginLeft:{style:Ur},marginX:{style:Ur},marginY:{style:Ur},marginInline:{style:Ur},marginInlineStart:{style:Ur},marginInlineEnd:{style:Ur},marginBlock:{style:Ur},marginBlockStart:{style:Ur},marginBlockEnd:{style:Ur},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:fb},rowGap:{style:pb},columnGap:{style:db},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ii},maxWidth:{style:aw},minWidth:{transform:ii},height:{transform:ii},maxHeight:{transform:ii},minHeight:{transform:ii},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function oI(...e){const o=e.reduce((s,c)=>s.concat(Object.keys(c)),[]),i=new Set(o);return e.every(s=>i.size===Object.keys(s).length)}function aI(e,o){return typeof e=="function"?e(o):e}function iI(){function e(i,s,c,p){const d={[i]:s,theme:c},v=p[i];if(!v)return{[i]:s};const{cssProperty:b=i,themeKey:S,transform:T,style:w}=v;if(s==null)return null;if(S==="typography"&&s==="inherit")return{[i]:s};const R=ib(c,S)||{};return w?w(d):Ys(d,s,M=>{let P=j0(R,T,M);return M===P&&typeof M=="string"&&(P=j0(R,T,`${i}${M==="default"?"":Cr(M)}`,M)),b===!1?P:{[b]:P}})}function o(i){const{sx:s,theme:c={},nested:p}=i||{};if(!s)return null;const d=c.unstable_sxConfig??fv;function v(b){let S=b;if(typeof b=="function")S=b(c);else if(typeof b!="object")return b;if(!S)return null;const T=x_(c.breakpoints),w=Object.keys(T);let R=T;return Object.keys(S).forEach(k=>{const M=aI(S[k],c);if(M!=null)if(typeof M=="object")if(d[k])R=Qm(R,e(k,M,c,d));else{const P=Ys({theme:c},M,U=>({[k]:U}));oI(P,M)?R[k]=o({sx:M,theme:c,nested:!0}):R=Qm(R,P)}else R=Qm(R,e(k,M,c,d))}),!p&&c.modularCssLayers?{"@layer sx":KO(c,JO(w,R))}:KO(c,JO(w,R))}return Array.isArray(s)?s.map(v):v(s)}return o}const hf=iI();hf.filterProps=["sx"];function lI(e,o){var s;const i=this;if(i.vars){if(!((s=i.colorSchemes)!=null&&s[e])||typeof i.getColorSchemeSelector!="function")return{};let c=i.getColorSchemeSelector(e);return c==="&"?o:((c.includes("data-")||c.includes("."))&&(c=`*:where(${c.replace(/\s*&$/,"")}) &`),{[c]:o})}return i.palette.mode===e?o:{}}function iw(e={},...o){const{breakpoints:i={},palette:s={},spacing:c,shape:p={},...d}=e,v=h_(i),b=I3(c);let S=ma({breakpoints:v,direction:"ltr",components:{},palette:{mode:"light",...s},spacing:b,shape:{...g_,...p}},d);return S=y_(S),S.applyStyles=lI,S=o.reduce((T,w)=>ma(T,w),S),S.unstable_sxConfig={...fv,...d==null?void 0:d.unstable_sxConfig},S.unstable_sx=function(w){return hf({sx:w,theme:this})},S}function sI(e){return Object.keys(e).length===0}function uI(e=null){const o=xe.useContext(ob);return!o||sI(o)?e:o}const cI=iw();function lw(e=cI){return uI(e)}function sC(e){const o=Vu(e);return e!==o&&o.styles?(o.styles.match(/^@layer\s+[^{]*$/)||(o.styles=`@layer global{${o.styles}}`),o):e}function F3({styles:e,themeId:o,defaultTheme:i={}}){const s=lw(i),c=o&&s[o]||s;let p=typeof e=="function"?e(c):e;return c.modularCssLayers&&(Array.isArray(p)?p=p.map(d=>sC(typeof d=="function"?d(c):d)):p=sC(p)),L.jsx(D3,{styles:p})}process.env.NODE_ENV!=="production"&&(F3.propTypes={defaultTheme:y.object,styles:y.oneOfType([y.array,y.func,y.number,y.object,y.string,y.bool]),themeId:y.string});const fI=e=>{var s;const o={systemProps:{},otherProps:{}},i=((s=e==null?void 0:e.theme)==null?void 0:s.unstable_sxConfig)??fv;return Object.keys(e).forEach(c=>{i[c]?o.systemProps[c]=e[c]:o.otherProps[c]=e[c]}),o};function V3(e){const{sx:o,...i}=e,{systemProps:s,otherProps:c}=fI(i);let p;return Array.isArray(o)?p=[s,...o]:typeof o=="function"?p=(...d)=>{const v=o(...d);return Zl(v)?{...s,...v}:s}:p={...s,...o},{...c,sx:p}}const t$=e=>e,dI=()=>{let e=t$;return{configure(o){e=o},generate(o){return e(o)},reset(){e=t$}}},j3=dI();function U3(e){var o,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var c=e.length;for(o=0;o<c;o++)e[o]&&(i=U3(e[o]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function yr(){for(var e,o,i=0,s="",c=arguments.length;i<c;i++)(e=arguments[i])&&(o=U3(e))&&(s&&(s+=" "),s+=o);return s}function pI(e={}){const{themeId:o,defaultTheme:i,defaultClassName:s="MuiBox-root",generateClassName:c}=e,p=M3("div",{shouldForwardProp:v=>v!=="theme"&&v!=="sx"&&v!=="as"})(hf);return xe.forwardRef(function(b,S){const T=lw(i),{className:w,component:R="div",...k}=V3(b);return L.jsx(p,{as:R,ref:S,className:yr(w,c?c(s):s),theme:o&&T[o]||T,...k})})}const hI={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Xr(e,o,i="Mui"){const s=hI[o];return s?`${i}-${s}`:`${j3.generate(e)}-${o}`}function ao(e,o,i="Mui"){const s={};return o.forEach(c=>{s[c]=Xr(e,c,i)}),s}function B3(e,o=""){return e.displayName||e.name||o}function n$(e,o,i){const s=B3(o);return e.displayName||(s!==""?`${i}(${s})`:i)}function mI(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return B3(e,"Component");if(typeof e=="object")switch(e.$$typeof){case pf.ForwardRef:return n$(e,e.render,"ForwardRef");case pf.Memo:return n$(e,e.type,"memo");default:return}}}function z3(e){const{variants:o,...i}=e,s={variants:o,style:Vu(i),isProcessed:!0};return s.style===i||o&&o.forEach(c=>{typeof c.style!="function"&&(c.style=Vu(c.style))}),s}const vI=iw();function uC(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function uf(e,o){return o&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${o}{${String(e.styles)}}`),e}function yI(e){return e?(o,i)=>i[e]:null}function gI(e,o,i){e.theme=CI(e.theme)?i:e.theme[o]||e.theme}function N0(e,o,i){const s=typeof o=="function"?o(e):o;if(Array.isArray(s))return s.flatMap(c=>N0(e,c,i));if(Array.isArray(s==null?void 0:s.variants)){let c;if(s.isProcessed)c=i?uf(s.style,i):s.style;else{const{variants:p,...d}=s;c=i?uf(Vu(d),i):d}return H3(e,s.variants,[c],i)}return s!=null&&s.isProcessed?i?uf(Vu(s.style),i):s.style:i?uf(Vu(s),i):s}function H3(e,o,i=[],s=void 0){var p;let c;e:for(let d=0;d<o.length;d+=1){const v=o[d];if(typeof v.props=="function"){if(c??(c={...e,...e.ownerState,ownerState:e.ownerState}),!v.props(c))continue}else for(const b in v.props)if(e[b]!==v.props[b]&&((p=e.ownerState)==null?void 0:p[b])!==v.props[b])continue e;typeof v.style=="function"?(c??(c={...e,...e.ownerState,ownerState:e.ownerState}),i.push(s?uf(Vu(v.style(c)),s):v.style(c))):i.push(s?uf(Vu(v.style),s):v.style)}return i}function bI(e={}){const{themeId:o,defaultTheme:i=vI,rootShouldForwardProp:s=uC,slotShouldForwardProp:c=uC}=e;function p(v){gI(v,o,i)}return(v,b={})=>{u_(v,z=>z.filter(X=>X!==hf));const{name:S,slot:T,skipVariantsResolver:w,skipSx:R,overridesResolver:k=yI(G3(T)),...M}=b,P=S&&S.startsWith("Mui")||T?"components":"custom",U=w!==void 0?w:T&&T!=="Root"&&T!=="root"||!1,G=R||!1;let W=uC;T==="Root"||T==="root"?W=s:T?W=c:wI(v)&&(W=void 0);const A=M3(v,{shouldForwardProp:W,label:SI(S,T),...M}),_=z=>{if(z.__emotion_real===z)return z;if(typeof z=="function")return function(fe){return N0(fe,z,fe.theme.modularCssLayers?P:void 0)};if(Zl(z)){const X=z3(z);return function(Ce){return X.variants?N0(Ce,X,Ce.theme.modularCssLayers?P:void 0):Ce.theme.modularCssLayers?uf(X.style,P):X.style}}return z},N=(...z)=>{const X=[],fe=z.map(_),Ce=[];if(X.push(p),S&&k&&Ce.push(function(ce){var De,ke;const Ee=(ke=(De=ce.theme.components)==null?void 0:De[S])==null?void 0:ke.styleOverrides;if(!Ee)return null;const ge={};for(const se in Ee)ge[se]=N0(ce,Ee[se],ce.theme.modularCssLayers?"theme":void 0);return k(ce,ge)}),S&&!U&&Ce.push(function(ce){var ge,De;const Se=ce.theme,Ee=(De=(ge=Se==null?void 0:Se.components)==null?void 0:ge[S])==null?void 0:De.variants;return Ee?H3(ce,Ee,[],ce.theme.modularCssLayers?"theme":void 0):null}),G||Ce.push(hf),Array.isArray(fe[0])){const we=fe.shift(),ce=new Array(X.length).fill(""),Se=new Array(Ce.length).fill("");let Ee;Ee=[...ce,...we,...Se],Ee.raw=[...ce,...we.raw,...Se],X.unshift(Ee)}const V=[...X,...fe,...Ce],ve=A(...V);return v.muiName&&(ve.muiName=v.muiName),process.env.NODE_ENV!=="production"&&(ve.displayName=xI(S,T,v)),ve};return A.withConfig&&(N.withConfig=A.withConfig),N}}function xI(e,o,i){return e?`${e}${Cr(o||"")}`:`Styled(${mI(i)})`}function SI(e,o){let i;return process.env.NODE_ENV!=="production"&&e&&(i=`${e}-${G3(o||"Root")}`),i}function CI(e){for(const o in e)return!1;return!0}function wI(e){return typeof e=="string"&&e.charCodeAt(0)>96}function G3(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function PC(e,o,i=!1){const s={...o};for(const c in e)if(Object.prototype.hasOwnProperty.call(e,c)){const p=c;if(p==="components"||p==="slots")s[p]={...e[p],...s[p]};else if(p==="componentsProps"||p==="slotProps"){const d=e[p],v=o[p];if(!v)s[p]=d||{};else if(!d)s[p]=v;else{s[p]={...v};for(const b in d)if(Object.prototype.hasOwnProperty.call(d,b)){const S=b;s[p][S]=PC(d[S],v[S],i)}}}else p==="className"&&i&&o.className?s.className=yr(e==null?void 0:e.className,o==null?void 0:o.className):p==="style"&&i&&o.style?s.style={...e==null?void 0:e.style,...o==null?void 0:o.style}:s[p]===void 0&&(s[p]=e[p])}return s}const mf=typeof window<"u"?xe.useLayoutEffect:xe.useEffect;function EI(e,o=Number.MIN_SAFE_INTEGER,i=Number.MAX_SAFE_INTEGER){return Math.max(o,Math.min(e,i))}function sw(e,o=0,i=1){return process.env.NODE_ENV!=="production"&&(e<o||e>i)&&console.error(`MUI: The value provided ${e} is out of range [${o}, ${i}].`),EI(e,o,i)}function TI(e){e=e.slice(1);const o=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let i=e.match(o);return i&&i[0].length===1&&(i=i.map(s=>s+s)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),i?`rgb${i.length===4?"a":""}(${i.map((s,c)=>c<3?parseInt(s,16):Math.round(parseInt(s,16)/255*1e3)/1e3).join(", ")})`:""}function ju(e){if(e.type)return e;if(e.charAt(0)==="#")return ju(TI(e));const o=e.indexOf("("),i=e.substring(0,o);if(!["rgb","rgba","hsl","hsla","color"].includes(i))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
2647
2647
|
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:es(9,e));let s=e.substring(o+1,e.length-1),c;if(i==="color"){if(s=s.split(" "),c=s.shift(),s.length===4&&s[3].charAt(0)==="/"&&(s[3]=s[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(c))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${c}\` color space.
|
|
2648
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:es(10,c))}else s=s.split(",");return s=s.map(p=>parseFloat(p)),{type:i,values:s,colorSpace:c}}const RI=e=>{const o=ju(e);return o.values.slice(0,3).map((i,s)=>o.type.includes("hsl")&&s!==0?`${i}%`:i).join(" ")},Gm=(e,o)=>{try{return RI(e)}catch{return o&&process.env.NODE_ENV!=="production"&&console.warn(o),e}};function hb(e){const{type:o,colorSpace:i}=e;let{values:s}=e;return o.includes("rgb")?s=s.map((c,p)=>p<3?parseInt(c,10):c):o.includes("hsl")&&(s[1]=`${s[1]}%`,s[2]=`${s[2]}%`),o.includes("color")?s=`${i} ${s.join(" ")}`:s=`${s.join(", ")}`,`${o}(${s})`}function W3(e){e=ju(e);const{values:o}=e,i=o[0],s=o[1]/100,c=o[2]/100,p=s*Math.min(c,1-c),d=(S,T=(S+i/30)%12)=>c-p*Math.max(Math.min(T-3,9-T,1),-1);let v="rgb";const b=[Math.round(d(0)*255),Math.round(d(8)*255),Math.round(d(4)*255)];return e.type==="hsla"&&(v+="a",b.push(o[3])),hb({type:v,values:b})}function NC(e){e=ju(e);let o=e.type==="hsl"||e.type==="hsla"?ju(W3(e)).values:e.values;return o=o.map(i=>(e.type!=="color"&&(i/=255),i<=.03928?i/12.92:((i+.055)/1.055)**2.4)),Number((.2126*o[0]+.7152*o[1]+.0722*o[2]).toFixed(3))}function r$(e,o){const i=NC(e),s=NC(o);return(Math.max(i,s)+.05)/(Math.min(i,s)+.05)}function DC(e,o){return e=ju(e),o=sw(o),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${o}`:e.values[3]=o,hb(e)}function S0(e,o,i){try{return DC(e,o)}catch{return e}}function uw(e,o){if(e=ju(e),o=sw(o),e.type.includes("hsl"))e.values[2]*=1-o;else if(e.type.includes("rgb")||e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]*=1-o;return hb(e)}function sr(e,o,i){try{return uw(e,o)}catch{return e}}function cw(e,o){if(e=ju(e),o=sw(o),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*o;else if(e.type.includes("rgb"))for(let i=0;i<3;i+=1)e.values[i]+=(255-e.values[i])*o;else if(e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]+=(1-e.values[i])*o;return hb(e)}function ur(e,o,i){try{return cw(e,o)}catch{return e}}function OI(e,o=.15){return NC(e)>.5?uw(e,o):cw(e,o)}function C0(e,o,i){try{return OI(e,o)}catch{return e}}const $I="exact-prop: ";function Y3(e){return process.env.NODE_ENV==="production"?e:{...e,[$I]:o=>{const i=Object.keys(o).filter(s=>!e.hasOwnProperty(s));return i.length>0?new Error(`The following props are not supported: ${i.map(s=>`\`${s}\``).join(", ")}. Please remove them.`):null}}}const AI=xe.createContext();process.env.NODE_ENV!=="production"&&(y.node,y.bool);const kI=()=>xe.useContext(AI)??!1,PI=xe.createContext(void 0);process.env.NODE_ENV!=="production"&&(y.node,y.object);function NI(e){const{theme:o,name:i,props:s}=e;if(!o||!o.components||!o.components[i])return s;const c=o.components[i];return c.defaultProps?PC(c.defaultProps,s,o.components.mergeClassNameAndStyle):!c.styleOverrides&&!c.variants?PC(c,s,o.components.mergeClassNameAndStyle):s}function DI({props:e,name:o}){const i=xe.useContext(PI);return NI({props:e,name:o,theme:{components:i}})}let o$=0;function MI(e){const[o,i]=xe.useState(e),s=e||o;return xe.useEffect(()=>{o==null&&(o$+=1,i(`mui-${o$}`))},[o]),s}const LI={...xe},a$=LI.useId;function q3(e){if(a$!==void 0){const o=a$();return e??o}return MI(e)}const i$={theme:void 0};function _I(e){let o,i;return function(c){let p=o;return(p===void 0||c.theme!==i)&&(i$.theme=c.theme,p=z3(e(i$)),o=p,i=c.theme),p}}function II(e=""){function o(...s){if(!s.length)return"";const c=s[0];return typeof c=="string"&&!c.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${c}${o(...s.slice(1))})`:`, ${c}`}return(s,...c)=>`var(--${e?`${e}-`:""}${s}${o(...c)})`}const l$=(e,o,i,s=[])=>{let c=e;o.forEach((p,d)=>{d===o.length-1?Array.isArray(c)?c[Number(p)]=i:c&&typeof c=="object"&&(c[p]=i):c&&typeof c=="object"&&(c[p]||(c[p]=s.includes(p)?[]:{}),c=c[p])})},FI=(e,o,i)=>{function s(c,p=[],d=[]){Object.entries(c).forEach(([v,b])=>{(!i||i&&!i([...p,v]))&&b!=null&&(typeof b=="object"&&Object.keys(b).length>0?s(b,[...p,v],Array.isArray(b)?[...d,v]:d):o([...p,v],b,d))})}s(e)},VI=(e,o)=>typeof o=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(s=>e.includes(s))||e[e.length-1].toLowerCase().includes("opacity")?o:`${o}px`:o;function cC(e,o){const{prefix:i,shouldSkipGeneratingVar:s}=o||{},c={},p={},d={};return FI(e,(v,b,S)=>{if((typeof b=="string"||typeof b=="number")&&(!s||!s(v,b))){const T=`--${i?`${i}-`:""}${v.join("-")}`,w=VI(v,b);Object.assign(c,{[T]:w}),l$(p,v,`var(${T})`,S),l$(d,v,`var(${T}, ${w})`,S)}},v=>v[0]==="vars"),{css:c,vars:p,varsWithDefaults:d}}function jI(e,o={}){const{getSelector:i=U,disableCssColorScheme:s,colorSchemeSelector:c}=o,{colorSchemes:p={},components:d,defaultColorScheme:v="light",...b}=e,{vars:S,css:T,varsWithDefaults:w}=cC(b,o);let R=w;const k={},{[v]:M,...P}=p;if(Object.entries(P||{}).forEach(([A,_])=>{const{vars:N,css:z,varsWithDefaults:X}=cC(_,o);R=ma(R,X),k[A]={css:z,vars:N}}),M){const{css:A,vars:_,varsWithDefaults:N}=cC(M,o);R=ma(R,N),k[v]={css:A,vars:_}}function U(A,_){var z,X;let N=c;if(c==="class"&&(N=".%s"),c==="data"&&(N="[data-%s]"),c!=null&&c.startsWith("data-")&&!c.includes("%s")&&(N=`[${c}="%s"]`),A){if(N==="media")return e.defaultColorScheme===A?":root":{[`@media (prefers-color-scheme: ${((X=(z=p[A])==null?void 0:z.palette)==null?void 0:X.mode)||A})`]:{":root":_}};if(N)return e.defaultColorScheme===A?`:root, ${N.replace("%s",String(A))}`:N.replace("%s",String(A))}return":root"}return{vars:R,generateThemeVars:()=>{let A={...S};return Object.entries(k).forEach(([,{vars:_}])=>{A=ma(A,_)}),A},generateStyleSheets:()=>{var fe,Ce;const A=[],_=e.defaultColorScheme||"light";function N(V,ve){Object.keys(ve).length&&A.push(typeof V=="string"?{[V]:{...ve}}:V)}N(i(void 0,{...T}),T);const{[_]:z,...X}=k;if(z){const{css:V}=z,ve=(Ce=(fe=p[_])==null?void 0:fe.palette)==null?void 0:Ce.mode,we=!s&&ve?{colorScheme:ve,...V}:{...V};N(i(_,{...we}),we)}return Object.entries(X).forEach(([V,{css:ve}])=>{var Se,Ee;const we=(Ee=(Se=p[V])==null?void 0:Se.palette)==null?void 0:Ee.mode,
|
|
2649
|
-
`))}return U}const R=({color:P,name:U,mainShade:G=500,lightShade:
|
|
2648
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:es(10,c))}else s=s.split(",");return s=s.map(p=>parseFloat(p)),{type:i,values:s,colorSpace:c}}const RI=e=>{const o=ju(e);return o.values.slice(0,3).map((i,s)=>o.type.includes("hsl")&&s!==0?`${i}%`:i).join(" ")},Gm=(e,o)=>{try{return RI(e)}catch{return o&&process.env.NODE_ENV!=="production"&&console.warn(o),e}};function hb(e){const{type:o,colorSpace:i}=e;let{values:s}=e;return o.includes("rgb")?s=s.map((c,p)=>p<3?parseInt(c,10):c):o.includes("hsl")&&(s[1]=`${s[1]}%`,s[2]=`${s[2]}%`),o.includes("color")?s=`${i} ${s.join(" ")}`:s=`${s.join(", ")}`,`${o}(${s})`}function W3(e){e=ju(e);const{values:o}=e,i=o[0],s=o[1]/100,c=o[2]/100,p=s*Math.min(c,1-c),d=(S,T=(S+i/30)%12)=>c-p*Math.max(Math.min(T-3,9-T,1),-1);let v="rgb";const b=[Math.round(d(0)*255),Math.round(d(8)*255),Math.round(d(4)*255)];return e.type==="hsla"&&(v+="a",b.push(o[3])),hb({type:v,values:b})}function NC(e){e=ju(e);let o=e.type==="hsl"||e.type==="hsla"?ju(W3(e)).values:e.values;return o=o.map(i=>(e.type!=="color"&&(i/=255),i<=.03928?i/12.92:((i+.055)/1.055)**2.4)),Number((.2126*o[0]+.7152*o[1]+.0722*o[2]).toFixed(3))}function r$(e,o){const i=NC(e),s=NC(o);return(Math.max(i,s)+.05)/(Math.min(i,s)+.05)}function DC(e,o){return e=ju(e),o=sw(o),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${o}`:e.values[3]=o,hb(e)}function S0(e,o,i){try{return DC(e,o)}catch{return e}}function uw(e,o){if(e=ju(e),o=sw(o),e.type.includes("hsl"))e.values[2]*=1-o;else if(e.type.includes("rgb")||e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]*=1-o;return hb(e)}function sr(e,o,i){try{return uw(e,o)}catch{return e}}function cw(e,o){if(e=ju(e),o=sw(o),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*o;else if(e.type.includes("rgb"))for(let i=0;i<3;i+=1)e.values[i]+=(255-e.values[i])*o;else if(e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]+=(1-e.values[i])*o;return hb(e)}function ur(e,o,i){try{return cw(e,o)}catch{return e}}function OI(e,o=.15){return NC(e)>.5?uw(e,o):cw(e,o)}function C0(e,o,i){try{return OI(e,o)}catch{return e}}const $I="exact-prop: ";function Y3(e){return process.env.NODE_ENV==="production"?e:{...e,[$I]:o=>{const i=Object.keys(o).filter(s=>!e.hasOwnProperty(s));return i.length>0?new Error(`The following props are not supported: ${i.map(s=>`\`${s}\``).join(", ")}. Please remove them.`):null}}}const AI=xe.createContext();process.env.NODE_ENV!=="production"&&(y.node,y.bool);const kI=()=>xe.useContext(AI)??!1,PI=xe.createContext(void 0);process.env.NODE_ENV!=="production"&&(y.node,y.object);function NI(e){const{theme:o,name:i,props:s}=e;if(!o||!o.components||!o.components[i])return s;const c=o.components[i];return c.defaultProps?PC(c.defaultProps,s,o.components.mergeClassNameAndStyle):!c.styleOverrides&&!c.variants?PC(c,s,o.components.mergeClassNameAndStyle):s}function DI({props:e,name:o}){const i=xe.useContext(PI);return NI({props:e,name:o,theme:{components:i}})}let o$=0;function MI(e){const[o,i]=xe.useState(e),s=e||o;return xe.useEffect(()=>{o==null&&(o$+=1,i(`mui-${o$}`))},[o]),s}const LI={...xe},a$=LI.useId;function q3(e){if(a$!==void 0){const o=a$();return e??o}return MI(e)}const i$={theme:void 0};function _I(e){let o,i;return function(c){let p=o;return(p===void 0||c.theme!==i)&&(i$.theme=c.theme,p=z3(e(i$)),o=p,i=c.theme),p}}function II(e=""){function o(...s){if(!s.length)return"";const c=s[0];return typeof c=="string"&&!c.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${c}${o(...s.slice(1))})`:`, ${c}`}return(s,...c)=>`var(--${e?`${e}-`:""}${s}${o(...c)})`}const l$=(e,o,i,s=[])=>{let c=e;o.forEach((p,d)=>{d===o.length-1?Array.isArray(c)?c[Number(p)]=i:c&&typeof c=="object"&&(c[p]=i):c&&typeof c=="object"&&(c[p]||(c[p]=s.includes(p)?[]:{}),c=c[p])})},FI=(e,o,i)=>{function s(c,p=[],d=[]){Object.entries(c).forEach(([v,b])=>{(!i||i&&!i([...p,v]))&&b!=null&&(typeof b=="object"&&Object.keys(b).length>0?s(b,[...p,v],Array.isArray(b)?[...d,v]:d):o([...p,v],b,d))})}s(e)},VI=(e,o)=>typeof o=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(s=>e.includes(s))||e[e.length-1].toLowerCase().includes("opacity")?o:`${o}px`:o;function cC(e,o){const{prefix:i,shouldSkipGeneratingVar:s}=o||{},c={},p={},d={};return FI(e,(v,b,S)=>{if((typeof b=="string"||typeof b=="number")&&(!s||!s(v,b))){const T=`--${i?`${i}-`:""}${v.join("-")}`,w=VI(v,b);Object.assign(c,{[T]:w}),l$(p,v,`var(${T})`,S),l$(d,v,`var(${T}, ${w})`,S)}},v=>v[0]==="vars"),{css:c,vars:p,varsWithDefaults:d}}function jI(e,o={}){const{getSelector:i=U,disableCssColorScheme:s,colorSchemeSelector:c}=o,{colorSchemes:p={},components:d,defaultColorScheme:v="light",...b}=e,{vars:S,css:T,varsWithDefaults:w}=cC(b,o);let R=w;const k={},{[v]:M,...P}=p;if(Object.entries(P||{}).forEach(([A,_])=>{const{vars:N,css:z,varsWithDefaults:X}=cC(_,o);R=ma(R,X),k[A]={css:z,vars:N}}),M){const{css:A,vars:_,varsWithDefaults:N}=cC(M,o);R=ma(R,N),k[v]={css:A,vars:_}}function U(A,_){var z,X;let N=c;if(c==="class"&&(N=".%s"),c==="data"&&(N="[data-%s]"),c!=null&&c.startsWith("data-")&&!c.includes("%s")&&(N=`[${c}="%s"]`),A){if(N==="media")return e.defaultColorScheme===A?":root":{[`@media (prefers-color-scheme: ${((X=(z=p[A])==null?void 0:z.palette)==null?void 0:X.mode)||A})`]:{":root":_}};if(N)return e.defaultColorScheme===A?`:root, ${N.replace("%s",String(A))}`:N.replace("%s",String(A))}return":root"}return{vars:R,generateThemeVars:()=>{let A={...S};return Object.entries(k).forEach(([,{vars:_}])=>{A=ma(A,_)}),A},generateStyleSheets:()=>{var fe,Ce;const A=[],_=e.defaultColorScheme||"light";function N(V,ve){Object.keys(ve).length&&A.push(typeof V=="string"?{[V]:{...ve}}:V)}N(i(void 0,{...T}),T);const{[_]:z,...X}=k;if(z){const{css:V}=z,ve=(Ce=(fe=p[_])==null?void 0:fe.palette)==null?void 0:Ce.mode,we=!s&&ve?{colorScheme:ve,...V}:{...V};N(i(_,{...we}),we)}return Object.entries(X).forEach(([V,{css:ve}])=>{var Se,Ee;const we=(Ee=(Se=p[V])==null?void 0:Se.palette)==null?void 0:Ee.mode,ce=!s&&we?{colorScheme:we,...ve}:{...ve};N(i(V,{...ce}),ce)}),A}}}function UI(e){return function(i){return e==="media"?(process.env.NODE_ENV!=="production"&&i!=="light"&&i!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${i}'.`),`@media (prefers-color-scheme: ${i})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${i}"] &`:e==="class"?`.${i} &`:e==="data"?`[data-${i}] &`:`${e.replace("%s",i)} &`:"&"}}function io(e,o,i=void 0){const s={};for(const c in e){const p=e[c];let d="",v=!0;for(let b=0;b<p.length;b+=1){const S=p[b];S&&(d+=(v===!0?"":" ")+o(S),v=!1,i&&i[S]&&(d+=" "+i[S]))}s[c]=d}return s}function fC(e,o){var i,s,c;return xe.isValidElement(e)&&o.indexOf(e.type.muiName??((c=(s=(i=e.type)==null?void 0:i._payload)==null?void 0:s.value)==null?void 0:c.muiName))!==-1}function Q3(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:tv.white,default:tv.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const BI=Q3();function X3(){return{text:{primary:tv.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:tv.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const s$=X3();function u$(e,o,i,s){const c=s.light||s,p=s.dark||s*1.5;e[o]||(e.hasOwnProperty(i)?e[o]=e[i]:o==="light"?e.light=cw(e.main,c):o==="dark"&&(e.dark=uw(e.main,p)))}function zI(e="light"){return e==="dark"?{main:cp[200],light:cp[50],dark:cp[400]}:{main:cp[700],light:cp[400],dark:cp[800]}}function HI(e="light"){return e==="dark"?{main:up[200],light:up[50],dark:up[400]}:{main:up[500],light:up[300],dark:up[700]}}function GI(e="light"){return e==="dark"?{main:sp[500],light:sp[300],dark:sp[700]}:{main:sp[700],light:sp[400],dark:sp[800]}}function WI(e="light"){return e==="dark"?{main:fp[400],light:fp[300],dark:fp[700]}:{main:fp[700],light:fp[500],dark:fp[900]}}function YI(e="light"){return e==="dark"?{main:dp[400],light:dp[300],dark:dp[700]}:{main:dp[800],light:dp[500],dark:dp[900]}}function qI(e="light"){return e==="dark"?{main:Vm[400],light:Vm[300],dark:Vm[700]}:{main:"#ed6c02",light:Vm[500],dark:Vm[900]}}function fw(e){const{mode:o="light",contrastThreshold:i=3,tonalOffset:s=.2,...c}=e,p=e.primary||zI(o),d=e.secondary||HI(o),v=e.error||GI(o),b=e.info||WI(o),S=e.success||YI(o),T=e.warning||qI(o);function w(P){const U=r$(P,s$.text.primary)>=i?s$.text.primary:BI.text.primary;if(process.env.NODE_ENV!=="production"){const G=r$(P,U);G<3&&console.error([`MUI: The contrast ratio of ${G}:1 for ${U} on ${P}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
2649
|
+
`))}return U}const R=({color:P,name:U,mainShade:G=500,lightShade:W=300,darkShade:A=700})=>{if(P={...P},!P.main&&P[G]&&(P.main=P[G]),!P.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${U?` (${U})`:""} provided to augmentColor(color) is invalid.
|
|
2650
2650
|
The color object needs to have a \`main\` property or a \`${G}\` property.`:es(11,U?` (${U})`:"",G));if(typeof P.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${U?` (${U})`:""} provided to augmentColor(color) is invalid.
|
|
2651
2651
|
\`color.main\` should be a string, but \`${JSON.stringify(P.main)}\` was provided instead.
|
|
2652
2652
|
|
|
@@ -2660,7 +2660,7 @@ const theme1 = createTheme({ palette: {
|
|
|
2660
2660
|
|
|
2661
2661
|
const theme2 = createTheme({ palette: {
|
|
2662
2662
|
primary: { main: green[500] },
|
|
2663
|
-
} });`:es(12,U?` (${U})`:"",JSON.stringify(P.main)));return u$(P,"light",
|
|
2663
|
+
} });`:es(12,U?` (${U})`:"",JSON.stringify(P.main)));return u$(P,"light",W,s),u$(P,"dark",A,s),P.contrastText||(P.contrastText=w(P.main)),P};let k;return o==="light"?k=Q3():o==="dark"&&(k=X3()),process.env.NODE_ENV!=="production"&&(k||console.error(`MUI: The palette mode \`${o}\` is not supported.`)),ma({common:{...tv},mode:o,primary:R({color:p,name:"primary"}),secondary:R({color:d,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:R({color:v,name:"error"}),warning:R({color:T,name:"warning"}),info:R({color:b,name:"info"}),success:R({color:S,name:"success"}),grey:tL,contrastThreshold:i,getContrastText:w,augmentColor:R,tonalOffset:s,...k},c)}function QI(e){const o={};return Object.entries(e).forEach(s=>{const[c,p]=s;typeof p=="object"&&(o[c]=`${p.fontStyle?`${p.fontStyle} `:""}${p.fontVariant?`${p.fontVariant} `:""}${p.fontWeight?`${p.fontWeight} `:""}${p.fontStretch?`${p.fontStretch} `:""}${p.fontSize||""}${p.lineHeight?`/${p.lineHeight} `:""}${p.fontFamily||""}`)}),o}function XI(e,o){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...o}}function KI(e){return Math.round(e*1e5)/1e5}const c$={textTransform:"uppercase"},f$='"Roboto", "Helvetica", "Arial", sans-serif';function ZI(e,o){const{fontFamily:i=f$,fontSize:s=14,fontWeightLight:c=300,fontWeightRegular:p=400,fontWeightMedium:d=500,fontWeightBold:v=700,htmlFontSize:b=16,allVariants:S,pxToRem:T,...w}=typeof o=="function"?o(e):o;process.env.NODE_ENV!=="production"&&(typeof s!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof b!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const R=s/14,k=T||(U=>`${U/b*R}rem`),M=(U,G,W,A,_)=>({fontFamily:i,fontWeight:U,fontSize:k(G),lineHeight:W,...i===f$?{letterSpacing:`${KI(A/G)}em`}:{},..._,...S}),P={h1:M(c,96,1.167,-1.5),h2:M(c,60,1.2,-.5),h3:M(p,48,1.167,0),h4:M(p,34,1.235,.25),h5:M(p,24,1.334,0),h6:M(d,20,1.6,.15),subtitle1:M(p,16,1.75,.15),subtitle2:M(d,14,1.57,.1),body1:M(p,16,1.5,.15),body2:M(p,14,1.43,.15),button:M(d,14,1.75,.4,c$),caption:M(p,12,1.66,.4),overline:M(p,12,2.66,1,c$),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ma({htmlFontSize:b,pxToRem:k,fontFamily:i,fontSize:s,fontWeightLight:c,fontWeightRegular:p,fontWeightMedium:d,fontWeightBold:v,...P},w,{clone:!1})}const JI=.2,e4=.14,t4=.12;function Sr(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${JI})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${e4})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${t4})`].join(",")}const n4=["none",Sr(0,2,1,-1,0,1,1,0,0,1,3,0),Sr(0,3,1,-2,0,2,2,0,0,1,5,0),Sr(0,3,3,-2,0,3,4,0,0,1,8,0),Sr(0,2,4,-1,0,4,5,0,0,1,10,0),Sr(0,3,5,-1,0,5,8,0,0,1,14,0),Sr(0,3,5,-1,0,6,10,0,0,1,18,0),Sr(0,4,5,-2,0,7,10,1,0,2,16,1),Sr(0,5,5,-3,0,8,10,1,0,3,14,2),Sr(0,5,6,-3,0,9,12,1,0,3,16,2),Sr(0,6,6,-3,0,10,14,1,0,4,18,3),Sr(0,6,7,-4,0,11,15,1,0,4,20,3),Sr(0,7,8,-4,0,12,17,2,0,5,22,4),Sr(0,7,8,-4,0,13,19,2,0,5,24,4),Sr(0,7,9,-4,0,14,21,2,0,5,26,4),Sr(0,8,9,-5,0,15,22,2,0,6,28,5),Sr(0,8,10,-5,0,16,24,2,0,6,30,5),Sr(0,8,11,-5,0,17,26,2,0,6,32,5),Sr(0,9,11,-5,0,18,28,2,0,7,34,6),Sr(0,9,12,-6,0,19,29,2,0,7,36,6),Sr(0,10,13,-6,0,20,31,3,0,8,38,7),Sr(0,10,13,-6,0,21,33,3,0,8,40,7),Sr(0,10,14,-6,0,22,35,3,0,8,42,7),Sr(0,11,14,-7,0,23,36,3,0,9,44,8),Sr(0,11,15,-7,0,24,38,3,0,9,46,8)],r4={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},o4={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function d$(e){return`${Math.round(e)}ms`}function a4(e){if(!e)return 0;const o=e/36;return Math.min(Math.round((4+15*o**.25+o/5)*10),3e3)}function i4(e){const o={...r4,...e.easing},i={...o4,...e.duration};return{getAutoHeightDuration:a4,create:(c=["all"],p={})=>{const{duration:d=i.standard,easing:v=o.easeInOut,delay:b=0,...S}=p;if(process.env.NODE_ENV!=="production"){const T=R=>typeof R=="string",w=R=>!Number.isNaN(parseFloat(R));!T(c)&&!Array.isArray(c)&&console.error('MUI: Argument "props" must be a string or Array.'),!w(d)&&!T(d)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${d}.`),T(v)||console.error('MUI: Argument "easing" must be a string.'),!w(b)&&!T(b)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof p!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
2664
2664
|
`)),Object.keys(S).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(S).join(",")}].`)}return(Array.isArray(c)?c:[c]).map(T=>`${T} ${typeof d=="string"?d:d$(d)} ${v} ${typeof b=="string"?b:d$(b)}`).join(",")},...e,easing:o,duration:i}}const l4={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function s4(e){return Zl(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function K3(e={}){const o={...e};function i(s){const c=Object.entries(s);for(let p=0;p<c.length;p++){const[d,v]=c[p];!s4(v)||d.startsWith("unstable_")?delete s[d]:Zl(v)&&(s[d]={...v},i(s[d]))}}return i(o),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
2665
2665
|
|
|
2666
2666
|
const theme = ${JSON.stringify(o,null,2)};
|
|
@@ -2668,9 +2668,9 @@ const theme = ${JSON.stringify(o,null,2)};
|
|
|
2668
2668
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
2669
2669
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
2670
2670
|
|
|
2671
|
-
export default theme;`}function MC(e={},...o){const{breakpoints:i,mixins:s={},spacing:c,palette:p={},transitions:d={},typography:v={},shape:b,...S}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":es(20));const T=fw(p),w=iw(e);let R=ma(w,{mixins:XI(w.breakpoints,s),palette:T,shadows:n4.slice(),typography:ZI(T,v),transitions:i4(d),zIndex:{...l4}});if(R=ma(R,S),R=o.reduce((k,M)=>ma(k,M),R),process.env.NODE_ENV!=="production"){const k=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],M=(P,U)=>{let G;for(G in P){const
|
|
2671
|
+
export default theme;`}function MC(e={},...o){const{breakpoints:i,mixins:s={},spacing:c,palette:p={},transitions:d={},typography:v={},shape:b,...S}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":es(20));const T=fw(p),w=iw(e);let R=ma(w,{mixins:XI(w.breakpoints,s),palette:T,shadows:n4.slice(),typography:ZI(T,v),transitions:i4(d),zIndex:{...l4}});if(R=ma(R,S),R=o.reduce((k,M)=>ma(k,M),R),process.env.NODE_ENV!=="production"){const k=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],M=(P,U)=>{let G;for(G in P){const W=P[G];if(k.includes(G)&&Object.keys(W).length>0){if(process.env.NODE_ENV!=="production"){const A=Xr("",G);console.error([`MUI: The \`${U}\` component increases the CSS specificity of the \`${G}\` internal state.`,"You can not override it like this: ",JSON.stringify(P,null,2),"",`Instead, you need to use the '&.${A}' syntax:`,JSON.stringify({root:{[`&.${A}`]:W}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
2672
2672
|
`))}P[G]={}}}};Object.keys(R.components).forEach(P=>{const U=R.components[P].styleOverrides;U&&P.startsWith("Mui")&&M(U,P)})}return R.unstable_sxConfig={...fv,...S==null?void 0:S.unstable_sxConfig},R.unstable_sx=function(M){return hf({sx:M,theme:this})},R.toRuntimeSource=K3,R}function LC(e){let o;return e<1?o=5.11916*e**2:o=4.5*Math.log(e+1)+2,Math.round(o*10)/1e3}const u4=[...Array(25)].map((e,o)=>{if(o===0)return"none";const i=LC(o);return`linear-gradient(rgba(255 255 255 / ${i}), rgba(255 255 255 / ${i}))`});function Z3(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function J3(e){return e==="dark"?u4:[]}function c4(e){const{palette:o={mode:"light"},opacity:i,overlays:s,...c}=e,p=fw(o);return{palette:p,opacity:{...Z3(p.mode),...i},overlays:s||J3(p.mode),...c}}function f4(e){var o;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((o=e[1])!=null&&o.match(/(mode|contrastThreshold|tonalOffset)/))}const d4=e=>[...[...Array(25)].map((o,i)=>`--${e?`${e}-`:""}overlays-${i}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],p4=e=>(o,i)=>{const s=e.rootSelector||":root",c=e.colorSchemeSelector;let p=c;if(c==="class"&&(p=".%s"),c==="data"&&(p="[data-%s]"),c!=null&&c.startsWith("data-")&&!c.includes("%s")&&(p=`[${c}="%s"]`),e.defaultColorScheme===o){if(o==="dark"){const d={};return d4(e.cssVarPrefix).forEach(v=>{d[v]=i[v],delete i[v]}),p==="media"?{[s]:i,"@media (prefers-color-scheme: dark)":{[s]:d}}:p?{[p.replace("%s",o)]:d,[`${s}, ${p.replace("%s",o)}`]:i}:{[s]:{...i,...d}}}if(p&&p!=="media")return`${s}, ${p.replace("%s",String(o))}`}else if(o){if(p==="media")return{[`@media (prefers-color-scheme: ${String(o)})`]:{[s]:i}};if(p)return p.replace("%s",String(o))}return s};function h4(e,o){o.forEach(i=>{e[i]||(e[i]={})})}function Ue(e,o,i){!e[o]&&i&&(e[o]=i)}function Wm(e){return typeof e!="string"||!e.startsWith("hsl")?e:W3(e)}function Gs(e,o){`${o}Channel`in e||(e[`${o}Channel`]=Gm(Wm(e[o]),`MUI: Can't create \`palette.${o}Channel\` because \`palette.${o}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
2673
|
-
To suppress this warning, you need to explicitly provide the \`palette.${o}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function m4(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const ql=e=>{try{return e()}catch{}},v4=(e="mui")=>II(e);function dC(e,o,i,s){if(!o)return;o=o===!0?{}:o;const c=s==="dark"?"dark":"light";if(!i){e[s]=c4({...o,palette:{mode:c,...o==null?void 0:o.palette}});return}const{palette:p,...d}=MC({...i,palette:{mode:c,...o==null?void 0:o.palette}});return e[s]={...o,palette:p,opacity:{...Z3(c),...o==null?void 0:o.opacity},overlays:(o==null?void 0:o.overlays)||J3(c)},d}function y4(e={},...o){const{colorSchemes:i={light:!0},defaultColorScheme:s,disableCssColorScheme:c=!1,cssVarPrefix:p="mui",shouldSkipGeneratingVar:d=f4,colorSchemeSelector:v=i.light&&i.dark?"media":void 0,rootSelector:b=":root",...S}=e,T=Object.keys(i)[0],w=s||(i.light&&T!=="light"?"light":T),R=v4(p),{[w]:k,light:M,dark:P,...U}=i,G={...U};let Y=k;if((w==="dark"&&!("dark"in i)||w==="light"&&!("light"in i))&&(Y=!0),!Y)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${w}\` option is either missing or invalid.`:es(21,w));const A=dC(G,Y,S,w);M&&!G.light&&dC(G,M,void 0,"light"),P&&!G.dark&&dC(G,P,void 0,"dark");let _={defaultColorScheme:w,...A,cssVarPrefix:p,colorSchemeSelector:v,rootSelector:b,getCssVar:R,colorSchemes:G,font:{...QI(A.typography),...A.font},spacing:m4(S.spacing)};Object.keys(_.colorSchemes).forEach(Ce=>{const V=_.colorSchemes[Ce].palette,ve=we=>{const ue=we.split("-"),Se=ue[1],Ee=ue[2];return R(we,V[Se][Ee])};if(V.mode==="light"&&(Ue(V.common,"background","#fff"),Ue(V.common,"onBackground","#000")),V.mode==="dark"&&(Ue(V.common,"background","#000"),Ue(V.common,"onBackground","#fff")),h4(V,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),V.mode==="light"){Ue(V.Alert,"errorColor",sr(V.error.light,.6)),Ue(V.Alert,"infoColor",sr(V.info.light,.6)),Ue(V.Alert,"successColor",sr(V.success.light,.6)),Ue(V.Alert,"warningColor",sr(V.warning.light,.6)),Ue(V.Alert,"errorFilledBg",ve("palette-error-main")),Ue(V.Alert,"infoFilledBg",ve("palette-info-main")),Ue(V.Alert,"successFilledBg",ve("palette-success-main")),Ue(V.Alert,"warningFilledBg",ve("palette-warning-main")),Ue(V.Alert,"errorFilledColor",ql(()=>V.getContrastText(V.error.main))),Ue(V.Alert,"infoFilledColor",ql(()=>V.getContrastText(V.info.main))),Ue(V.Alert,"successFilledColor",ql(()=>V.getContrastText(V.success.main))),Ue(V.Alert,"warningFilledColor",ql(()=>V.getContrastText(V.warning.main))),Ue(V.Alert,"errorStandardBg",ur(V.error.light,.9)),Ue(V.Alert,"infoStandardBg",ur(V.info.light,.9)),Ue(V.Alert,"successStandardBg",ur(V.success.light,.9)),Ue(V.Alert,"warningStandardBg",ur(V.warning.light,.9)),Ue(V.Alert,"errorIconColor",ve("palette-error-main")),Ue(V.Alert,"infoIconColor",ve("palette-info-main")),Ue(V.Alert,"successIconColor",ve("palette-success-main")),Ue(V.Alert,"warningIconColor",ve("palette-warning-main")),Ue(V.AppBar,"defaultBg",ve("palette-grey-100")),Ue(V.Avatar,"defaultBg",ve("palette-grey-400")),Ue(V.Button,"inheritContainedBg",ve("palette-grey-300")),Ue(V.Button,"inheritContainedHoverBg",ve("palette-grey-A100")),Ue(V.Chip,"defaultBorder",ve("palette-grey-400")),Ue(V.Chip,"defaultAvatarColor",ve("palette-grey-700")),Ue(V.Chip,"defaultIconColor",ve("palette-grey-700")),Ue(V.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Ue(V.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Ue(V.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Ue(V.LinearProgress,"primaryBg",ur(V.primary.main,.62)),Ue(V.LinearProgress,"secondaryBg",ur(V.secondary.main,.62)),Ue(V.LinearProgress,"errorBg",ur(V.error.main,.62)),Ue(V.LinearProgress,"infoBg",ur(V.info.main,.62)),Ue(V.LinearProgress,"successBg",ur(V.success.main,.62)),Ue(V.LinearProgress,"warningBg",ur(V.warning.main,.62)),Ue(V.Skeleton,"bg",`rgba(${ve("palette-text-primaryChannel")} / 0.11)`),Ue(V.Slider,"primaryTrack",ur(V.primary.main,.62)),Ue(V.Slider,"secondaryTrack",ur(V.secondary.main,.62)),Ue(V.Slider,"errorTrack",ur(V.error.main,.62)),Ue(V.Slider,"infoTrack",ur(V.info.main,.62)),Ue(V.Slider,"successTrack",ur(V.success.main,.62)),Ue(V.Slider,"warningTrack",ur(V.warning.main,.62));const we=C0(V.background.default,.8);Ue(V.SnackbarContent,"bg",we),Ue(V.SnackbarContent,"color",ql(()=>V.getContrastText(we))),Ue(V.SpeedDialAction,"fabHoverBg",C0(V.background.paper,.15)),Ue(V.StepConnector,"border",ve("palette-grey-400")),Ue(V.StepContent,"border",ve("palette-grey-400")),Ue(V.Switch,"defaultColor",ve("palette-common-white")),Ue(V.Switch,"defaultDisabledColor",ve("palette-grey-100")),Ue(V.Switch,"primaryDisabledColor",ur(V.primary.main,.62)),Ue(V.Switch,"secondaryDisabledColor",ur(V.secondary.main,.62)),Ue(V.Switch,"errorDisabledColor",ur(V.error.main,.62)),Ue(V.Switch,"infoDisabledColor",ur(V.info.main,.62)),Ue(V.Switch,"successDisabledColor",ur(V.success.main,.62)),Ue(V.Switch,"warningDisabledColor",ur(V.warning.main,.62)),Ue(V.TableCell,"border",ur(S0(V.divider,1),.88)),Ue(V.Tooltip,"bg",S0(V.grey[700],.92))}if(V.mode==="dark"){Ue(V.Alert,"errorColor",ur(V.error.light,.6)),Ue(V.Alert,"infoColor",ur(V.info.light,.6)),Ue(V.Alert,"successColor",ur(V.success.light,.6)),Ue(V.Alert,"warningColor",ur(V.warning.light,.6)),Ue(V.Alert,"errorFilledBg",ve("palette-error-dark")),Ue(V.Alert,"infoFilledBg",ve("palette-info-dark")),Ue(V.Alert,"successFilledBg",ve("palette-success-dark")),Ue(V.Alert,"warningFilledBg",ve("palette-warning-dark")),Ue(V.Alert,"errorFilledColor",ql(()=>V.getContrastText(V.error.dark))),Ue(V.Alert,"infoFilledColor",ql(()=>V.getContrastText(V.info.dark))),Ue(V.Alert,"successFilledColor",ql(()=>V.getContrastText(V.success.dark))),Ue(V.Alert,"warningFilledColor",ql(()=>V.getContrastText(V.warning.dark))),Ue(V.Alert,"errorStandardBg",sr(V.error.light,.9)),Ue(V.Alert,"infoStandardBg",sr(V.info.light,.9)),Ue(V.Alert,"successStandardBg",sr(V.success.light,.9)),Ue(V.Alert,"warningStandardBg",sr(V.warning.light,.9)),Ue(V.Alert,"errorIconColor",ve("palette-error-main")),Ue(V.Alert,"infoIconColor",ve("palette-info-main")),Ue(V.Alert,"successIconColor",ve("palette-success-main")),Ue(V.Alert,"warningIconColor",ve("palette-warning-main")),Ue(V.AppBar,"defaultBg",ve("palette-grey-900")),Ue(V.AppBar,"darkBg",ve("palette-background-paper")),Ue(V.AppBar,"darkColor",ve("palette-text-primary")),Ue(V.Avatar,"defaultBg",ve("palette-grey-600")),Ue(V.Button,"inheritContainedBg",ve("palette-grey-800")),Ue(V.Button,"inheritContainedHoverBg",ve("palette-grey-700")),Ue(V.Chip,"defaultBorder",ve("palette-grey-700")),Ue(V.Chip,"defaultAvatarColor",ve("palette-grey-300")),Ue(V.Chip,"defaultIconColor",ve("palette-grey-300")),Ue(V.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Ue(V.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Ue(V.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Ue(V.LinearProgress,"primaryBg",sr(V.primary.main,.5)),Ue(V.LinearProgress,"secondaryBg",sr(V.secondary.main,.5)),Ue(V.LinearProgress,"errorBg",sr(V.error.main,.5)),Ue(V.LinearProgress,"infoBg",sr(V.info.main,.5)),Ue(V.LinearProgress,"successBg",sr(V.success.main,.5)),Ue(V.LinearProgress,"warningBg",sr(V.warning.main,.5)),Ue(V.Skeleton,"bg",`rgba(${ve("palette-text-primaryChannel")} / 0.13)`),Ue(V.Slider,"primaryTrack",sr(V.primary.main,.5)),Ue(V.Slider,"secondaryTrack",sr(V.secondary.main,.5)),Ue(V.Slider,"errorTrack",sr(V.error.main,.5)),Ue(V.Slider,"infoTrack",sr(V.info.main,.5)),Ue(V.Slider,"successTrack",sr(V.success.main,.5)),Ue(V.Slider,"warningTrack",sr(V.warning.main,.5));const we=C0(V.background.default,.98);Ue(V.SnackbarContent,"bg",we),Ue(V.SnackbarContent,"color",ql(()=>V.getContrastText(we))),Ue(V.SpeedDialAction,"fabHoverBg",C0(V.background.paper,.15)),Ue(V.StepConnector,"border",ve("palette-grey-600")),Ue(V.StepContent,"border",ve("palette-grey-600")),Ue(V.Switch,"defaultColor",ve("palette-grey-300")),Ue(V.Switch,"defaultDisabledColor",ve("palette-grey-600")),Ue(V.Switch,"primaryDisabledColor",sr(V.primary.main,.55)),Ue(V.Switch,"secondaryDisabledColor",sr(V.secondary.main,.55)),Ue(V.Switch,"errorDisabledColor",sr(V.error.main,.55)),Ue(V.Switch,"infoDisabledColor",sr(V.info.main,.55)),Ue(V.Switch,"successDisabledColor",sr(V.success.main,.55)),Ue(V.Switch,"warningDisabledColor",sr(V.warning.main,.55)),Ue(V.TableCell,"border",sr(S0(V.divider,1),.68)),Ue(V.Tooltip,"bg",S0(V.grey[700],.92))}Gs(V.background,"default"),Gs(V.background,"paper"),Gs(V.common,"background"),Gs(V.common,"onBackground"),Gs(V,"divider"),Object.keys(V).forEach(we=>{const ue=V[we];we!=="tonalOffset"&&ue&&typeof ue=="object"&&(ue.main&&Ue(V[we],"mainChannel",Gm(Wm(ue.main))),ue.light&&Ue(V[we],"lightChannel",Gm(Wm(ue.light))),ue.dark&&Ue(V[we],"darkChannel",Gm(Wm(ue.dark))),ue.contrastText&&Ue(V[we],"contrastTextChannel",Gm(Wm(ue.contrastText))),we==="text"&&(Gs(V[we],"primary"),Gs(V[we],"secondary")),we==="action"&&(ue.active&&Gs(V[we],"active"),ue.selected&&Gs(V[we],"selected")))})}),_=o.reduce((Ce,V)=>ma(Ce,V),_);const N={prefix:p,disableCssColorScheme:c,shouldSkipGeneratingVar:d,getSelector:p4(_)},{vars:z,generateThemeVars:X,generateStyleSheets:fe}=jI(_,N);return _.vars=z,Object.entries(_.colorSchemes[_.defaultColorScheme]).forEach(([Ce,V])=>{_[Ce]=V}),_.generateThemeVars=X,_.generateStyleSheets=fe,_.generateSpacing=function(){return I3(S.spacing,ow(this))},_.getColorSchemeSelector=UI(v),_.spacing=_.generateSpacing(),_.shouldSkipGeneratingVar=d,_.unstable_sxConfig={...fv,...S==null?void 0:S.unstable_sxConfig},_.unstable_sx=function(V){return hf({sx:V,theme:this})},_.toRuntimeSource=K3,_}function p$(e,o,i){e.colorSchemes&&i&&(e.colorSchemes[o]={...i!==!0&&i,palette:fw({...i===!0?{}:i.palette,mode:o})})}function eA(e={},...o){const{palette:i,cssVariables:s=!1,colorSchemes:c=i?void 0:{light:!0},defaultColorScheme:p=i==null?void 0:i.mode,...d}=e,v=p||"light",b=c==null?void 0:c[v],S={...c,...i?{[v]:{...typeof b!="boolean"&&b,palette:i}}:void 0};if(s===!1){if(!("colorSchemes"in e))return MC(e,...o);let T=i;"palette"in e||S[v]&&(S[v]!==!0?T=S[v].palette:v==="dark"&&(T={mode:"dark"}));const w=MC({...e,palette:T},...o);return w.defaultColorScheme=v,w.colorSchemes=S,w.palette.mode==="light"&&(w.colorSchemes.light={...S.light!==!0&&S.light,palette:w.palette},p$(w,"dark",S.dark)),w.palette.mode==="dark"&&(w.colorSchemes.dark={...S.dark!==!0&&S.dark,palette:w.palette},p$(w,"light",S.light)),w}return!i&&!("light"in S)&&v==="light"&&(S.light=!0),y4({...d,colorSchemes:S,defaultColorScheme:v,...typeof s!="boolean"&&s},...o)}const dw=eA();function pw(){const e=lw(dw);return process.env.NODE_ENV!=="production"&&xe.useDebugValue(e),e[J0]||e}function tA(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ts=e=>tA(e)&&e!=="classes",ln=bI({themeId:J0,defaultTheme:dw,rootShouldForwardProp:ts});function h$(...e){return e.reduce((o,i)=>i==null?o:function(...c){o.apply(this,c),i.apply(this,c)},()=>{})}function nA(e){return L.jsx(F3,{...e,defaultTheme:dw,themeId:J0})}process.env.NODE_ENV!=="production"&&(nA.propTypes={styles:y.oneOfType([y.array,y.func,y.number,y.object,y.string,y.bool])});function g4(e){return function(i){return L.jsx(nA,{styles:typeof e=="function"?s=>e({theme:s,...i}):e})}}function b4(){return V3}const Yo=_I;process.env.NODE_ENV!=="production"&&(y.node,y.object.isRequired);function Ao(e){return DI(e)}function x4(e){return Xr("MuiSvgIcon",e)}ao("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const S4=e=>{const{color:o,fontSize:i,classes:s}=e,c={root:["root",o!=="inherit"&&`color${Cr(o)}`,`fontSize${Cr(i)}`]};return io(c,x4,s)},C4=ln("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,i.color!=="inherit"&&o[`color${Cr(i.color)}`],o[`fontSize${Cr(i.fontSize)}`]]}})(Yo(({theme:e})=>{var o,i,s,c,p,d,v,b,S,T,w,R,k,M;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(c=(o=e.transitions)==null?void 0:o.create)==null?void 0:c.call(o,"fill",{duration:(s=(i=(e.vars??e).transitions)==null?void 0:i.duration)==null?void 0:s.shorter}),variants:[{props:P=>!P.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((d=(p=e.typography)==null?void 0:p.pxToRem)==null?void 0:d.call(p,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((b=(v=e.typography)==null?void 0:v.pxToRem)==null?void 0:b.call(v,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((T=(S=e.typography)==null?void 0:S.pxToRem)==null?void 0:T.call(S,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,P])=>P&&P.main).map(([P])=>{var U,G;return{props:{color:P},style:{color:(G=(U=(e.vars??e).palette)==null?void 0:U[P])==null?void 0:G.main}}}),{props:{color:"action"},style:{color:(R=(w=(e.vars??e).palette)==null?void 0:w.action)==null?void 0:R.active}},{props:{color:"disabled"},style:{color:(M=(k=(e.vars??e).palette)==null?void 0:k.action)==null?void 0:M.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),U0=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiSvgIcon"}),{children:c,className:p,color:d="inherit",component:v="svg",fontSize:b="medium",htmlColor:S,inheritViewBox:T=!1,titleAccess:w,viewBox:R="0 0 24 24",...k}=s,M=xe.isValidElement(c)&&c.type==="svg",P={...s,color:d,component:v,fontSize:b,instanceFontSize:o.fontSize,inheritViewBox:T,viewBox:R,hasSvgAsChild:M},U={};T||(U.viewBox=R);const G=S4(P);return L.jsxs(C4,{as:v,className:yr(G.root,p),focusable:"false",color:S,"aria-hidden":w?void 0:!0,role:w?"img":void 0,ref:i,...U,...k,...M&&c.props,ownerState:P,children:[M?c.props.children:c,w?L.jsx("title",{children:w}):null]})});process.env.NODE_ENV!=="production"&&(U0.propTypes={children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),y.string]),component:y.elementType,fontSize:y.oneOfType([y.oneOf(["inherit","large","medium","small"]),y.string]),htmlColor:y.string,inheritViewBox:y.bool,shapeRendering:y.string,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),titleAccess:y.string,viewBox:y.string});U0.muiName="SvgIcon";function w4(e,o){function i(s,c){return L.jsx(U0,{"data-testid":process.env.NODE_ENV!=="production"?`${o}Icon`:void 0,ref:c,...s,children:e})}return process.env.NODE_ENV!=="production"&&(i.displayName=`${o}Icon`),i.muiName=U0.muiName,xe.memo(xe.forwardRef(i))}function rA(e,o=166){let i;function s(...c){const p=()=>{e.apply(this,c)};clearTimeout(i),i=setTimeout(p,o)}return s.clear=()=>{clearTimeout(i)},s}function dl(e){return e&&e.ownerDocument||document}function qs(e){return dl(e).defaultView||window}function m$(e,o){typeof e=="function"?e(o):e&&(e.current=o)}function v$(e){const{controlled:o,default:i,name:s,state:c="value"}=e,{current:p}=xe.useRef(o!==void 0),[d,v]=xe.useState(i),b=p?o:d;if(process.env.NODE_ENV!=="production"){xe.useEffect(()=>{p!==(o!==void 0)&&console.error([`MUI: A component is changing the ${p?"":"un"}controlled ${c} state of ${s} to be ${p?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${s} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
2673
|
+
To suppress this warning, you need to explicitly provide the \`palette.${o}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function m4(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const ql=e=>{try{return e()}catch{}},v4=(e="mui")=>II(e);function dC(e,o,i,s){if(!o)return;o=o===!0?{}:o;const c=s==="dark"?"dark":"light";if(!i){e[s]=c4({...o,palette:{mode:c,...o==null?void 0:o.palette}});return}const{palette:p,...d}=MC({...i,palette:{mode:c,...o==null?void 0:o.palette}});return e[s]={...o,palette:p,opacity:{...Z3(c),...o==null?void 0:o.opacity},overlays:(o==null?void 0:o.overlays)||J3(c)},d}function y4(e={},...o){const{colorSchemes:i={light:!0},defaultColorScheme:s,disableCssColorScheme:c=!1,cssVarPrefix:p="mui",shouldSkipGeneratingVar:d=f4,colorSchemeSelector:v=i.light&&i.dark?"media":void 0,rootSelector:b=":root",...S}=e,T=Object.keys(i)[0],w=s||(i.light&&T!=="light"?"light":T),R=v4(p),{[w]:k,light:M,dark:P,...U}=i,G={...U};let W=k;if((w==="dark"&&!("dark"in i)||w==="light"&&!("light"in i))&&(W=!0),!W)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${w}\` option is either missing or invalid.`:es(21,w));const A=dC(G,W,S,w);M&&!G.light&&dC(G,M,void 0,"light"),P&&!G.dark&&dC(G,P,void 0,"dark");let _={defaultColorScheme:w,...A,cssVarPrefix:p,colorSchemeSelector:v,rootSelector:b,getCssVar:R,colorSchemes:G,font:{...QI(A.typography),...A.font},spacing:m4(S.spacing)};Object.keys(_.colorSchemes).forEach(Ce=>{const V=_.colorSchemes[Ce].palette,ve=we=>{const ce=we.split("-"),Se=ce[1],Ee=ce[2];return R(we,V[Se][Ee])};if(V.mode==="light"&&(Ue(V.common,"background","#fff"),Ue(V.common,"onBackground","#000")),V.mode==="dark"&&(Ue(V.common,"background","#000"),Ue(V.common,"onBackground","#fff")),h4(V,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),V.mode==="light"){Ue(V.Alert,"errorColor",sr(V.error.light,.6)),Ue(V.Alert,"infoColor",sr(V.info.light,.6)),Ue(V.Alert,"successColor",sr(V.success.light,.6)),Ue(V.Alert,"warningColor",sr(V.warning.light,.6)),Ue(V.Alert,"errorFilledBg",ve("palette-error-main")),Ue(V.Alert,"infoFilledBg",ve("palette-info-main")),Ue(V.Alert,"successFilledBg",ve("palette-success-main")),Ue(V.Alert,"warningFilledBg",ve("palette-warning-main")),Ue(V.Alert,"errorFilledColor",ql(()=>V.getContrastText(V.error.main))),Ue(V.Alert,"infoFilledColor",ql(()=>V.getContrastText(V.info.main))),Ue(V.Alert,"successFilledColor",ql(()=>V.getContrastText(V.success.main))),Ue(V.Alert,"warningFilledColor",ql(()=>V.getContrastText(V.warning.main))),Ue(V.Alert,"errorStandardBg",ur(V.error.light,.9)),Ue(V.Alert,"infoStandardBg",ur(V.info.light,.9)),Ue(V.Alert,"successStandardBg",ur(V.success.light,.9)),Ue(V.Alert,"warningStandardBg",ur(V.warning.light,.9)),Ue(V.Alert,"errorIconColor",ve("palette-error-main")),Ue(V.Alert,"infoIconColor",ve("palette-info-main")),Ue(V.Alert,"successIconColor",ve("palette-success-main")),Ue(V.Alert,"warningIconColor",ve("palette-warning-main")),Ue(V.AppBar,"defaultBg",ve("palette-grey-100")),Ue(V.Avatar,"defaultBg",ve("palette-grey-400")),Ue(V.Button,"inheritContainedBg",ve("palette-grey-300")),Ue(V.Button,"inheritContainedHoverBg",ve("palette-grey-A100")),Ue(V.Chip,"defaultBorder",ve("palette-grey-400")),Ue(V.Chip,"defaultAvatarColor",ve("palette-grey-700")),Ue(V.Chip,"defaultIconColor",ve("palette-grey-700")),Ue(V.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Ue(V.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Ue(V.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Ue(V.LinearProgress,"primaryBg",ur(V.primary.main,.62)),Ue(V.LinearProgress,"secondaryBg",ur(V.secondary.main,.62)),Ue(V.LinearProgress,"errorBg",ur(V.error.main,.62)),Ue(V.LinearProgress,"infoBg",ur(V.info.main,.62)),Ue(V.LinearProgress,"successBg",ur(V.success.main,.62)),Ue(V.LinearProgress,"warningBg",ur(V.warning.main,.62)),Ue(V.Skeleton,"bg",`rgba(${ve("palette-text-primaryChannel")} / 0.11)`),Ue(V.Slider,"primaryTrack",ur(V.primary.main,.62)),Ue(V.Slider,"secondaryTrack",ur(V.secondary.main,.62)),Ue(V.Slider,"errorTrack",ur(V.error.main,.62)),Ue(V.Slider,"infoTrack",ur(V.info.main,.62)),Ue(V.Slider,"successTrack",ur(V.success.main,.62)),Ue(V.Slider,"warningTrack",ur(V.warning.main,.62));const we=C0(V.background.default,.8);Ue(V.SnackbarContent,"bg",we),Ue(V.SnackbarContent,"color",ql(()=>V.getContrastText(we))),Ue(V.SpeedDialAction,"fabHoverBg",C0(V.background.paper,.15)),Ue(V.StepConnector,"border",ve("palette-grey-400")),Ue(V.StepContent,"border",ve("palette-grey-400")),Ue(V.Switch,"defaultColor",ve("palette-common-white")),Ue(V.Switch,"defaultDisabledColor",ve("palette-grey-100")),Ue(V.Switch,"primaryDisabledColor",ur(V.primary.main,.62)),Ue(V.Switch,"secondaryDisabledColor",ur(V.secondary.main,.62)),Ue(V.Switch,"errorDisabledColor",ur(V.error.main,.62)),Ue(V.Switch,"infoDisabledColor",ur(V.info.main,.62)),Ue(V.Switch,"successDisabledColor",ur(V.success.main,.62)),Ue(V.Switch,"warningDisabledColor",ur(V.warning.main,.62)),Ue(V.TableCell,"border",ur(S0(V.divider,1),.88)),Ue(V.Tooltip,"bg",S0(V.grey[700],.92))}if(V.mode==="dark"){Ue(V.Alert,"errorColor",ur(V.error.light,.6)),Ue(V.Alert,"infoColor",ur(V.info.light,.6)),Ue(V.Alert,"successColor",ur(V.success.light,.6)),Ue(V.Alert,"warningColor",ur(V.warning.light,.6)),Ue(V.Alert,"errorFilledBg",ve("palette-error-dark")),Ue(V.Alert,"infoFilledBg",ve("palette-info-dark")),Ue(V.Alert,"successFilledBg",ve("palette-success-dark")),Ue(V.Alert,"warningFilledBg",ve("palette-warning-dark")),Ue(V.Alert,"errorFilledColor",ql(()=>V.getContrastText(V.error.dark))),Ue(V.Alert,"infoFilledColor",ql(()=>V.getContrastText(V.info.dark))),Ue(V.Alert,"successFilledColor",ql(()=>V.getContrastText(V.success.dark))),Ue(V.Alert,"warningFilledColor",ql(()=>V.getContrastText(V.warning.dark))),Ue(V.Alert,"errorStandardBg",sr(V.error.light,.9)),Ue(V.Alert,"infoStandardBg",sr(V.info.light,.9)),Ue(V.Alert,"successStandardBg",sr(V.success.light,.9)),Ue(V.Alert,"warningStandardBg",sr(V.warning.light,.9)),Ue(V.Alert,"errorIconColor",ve("palette-error-main")),Ue(V.Alert,"infoIconColor",ve("palette-info-main")),Ue(V.Alert,"successIconColor",ve("palette-success-main")),Ue(V.Alert,"warningIconColor",ve("palette-warning-main")),Ue(V.AppBar,"defaultBg",ve("palette-grey-900")),Ue(V.AppBar,"darkBg",ve("palette-background-paper")),Ue(V.AppBar,"darkColor",ve("palette-text-primary")),Ue(V.Avatar,"defaultBg",ve("palette-grey-600")),Ue(V.Button,"inheritContainedBg",ve("palette-grey-800")),Ue(V.Button,"inheritContainedHoverBg",ve("palette-grey-700")),Ue(V.Chip,"defaultBorder",ve("palette-grey-700")),Ue(V.Chip,"defaultAvatarColor",ve("palette-grey-300")),Ue(V.Chip,"defaultIconColor",ve("palette-grey-300")),Ue(V.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Ue(V.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Ue(V.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Ue(V.LinearProgress,"primaryBg",sr(V.primary.main,.5)),Ue(V.LinearProgress,"secondaryBg",sr(V.secondary.main,.5)),Ue(V.LinearProgress,"errorBg",sr(V.error.main,.5)),Ue(V.LinearProgress,"infoBg",sr(V.info.main,.5)),Ue(V.LinearProgress,"successBg",sr(V.success.main,.5)),Ue(V.LinearProgress,"warningBg",sr(V.warning.main,.5)),Ue(V.Skeleton,"bg",`rgba(${ve("palette-text-primaryChannel")} / 0.13)`),Ue(V.Slider,"primaryTrack",sr(V.primary.main,.5)),Ue(V.Slider,"secondaryTrack",sr(V.secondary.main,.5)),Ue(V.Slider,"errorTrack",sr(V.error.main,.5)),Ue(V.Slider,"infoTrack",sr(V.info.main,.5)),Ue(V.Slider,"successTrack",sr(V.success.main,.5)),Ue(V.Slider,"warningTrack",sr(V.warning.main,.5));const we=C0(V.background.default,.98);Ue(V.SnackbarContent,"bg",we),Ue(V.SnackbarContent,"color",ql(()=>V.getContrastText(we))),Ue(V.SpeedDialAction,"fabHoverBg",C0(V.background.paper,.15)),Ue(V.StepConnector,"border",ve("palette-grey-600")),Ue(V.StepContent,"border",ve("palette-grey-600")),Ue(V.Switch,"defaultColor",ve("palette-grey-300")),Ue(V.Switch,"defaultDisabledColor",ve("palette-grey-600")),Ue(V.Switch,"primaryDisabledColor",sr(V.primary.main,.55)),Ue(V.Switch,"secondaryDisabledColor",sr(V.secondary.main,.55)),Ue(V.Switch,"errorDisabledColor",sr(V.error.main,.55)),Ue(V.Switch,"infoDisabledColor",sr(V.info.main,.55)),Ue(V.Switch,"successDisabledColor",sr(V.success.main,.55)),Ue(V.Switch,"warningDisabledColor",sr(V.warning.main,.55)),Ue(V.TableCell,"border",sr(S0(V.divider,1),.68)),Ue(V.Tooltip,"bg",S0(V.grey[700],.92))}Gs(V.background,"default"),Gs(V.background,"paper"),Gs(V.common,"background"),Gs(V.common,"onBackground"),Gs(V,"divider"),Object.keys(V).forEach(we=>{const ce=V[we];we!=="tonalOffset"&&ce&&typeof ce=="object"&&(ce.main&&Ue(V[we],"mainChannel",Gm(Wm(ce.main))),ce.light&&Ue(V[we],"lightChannel",Gm(Wm(ce.light))),ce.dark&&Ue(V[we],"darkChannel",Gm(Wm(ce.dark))),ce.contrastText&&Ue(V[we],"contrastTextChannel",Gm(Wm(ce.contrastText))),we==="text"&&(Gs(V[we],"primary"),Gs(V[we],"secondary")),we==="action"&&(ce.active&&Gs(V[we],"active"),ce.selected&&Gs(V[we],"selected")))})}),_=o.reduce((Ce,V)=>ma(Ce,V),_);const N={prefix:p,disableCssColorScheme:c,shouldSkipGeneratingVar:d,getSelector:p4(_)},{vars:z,generateThemeVars:X,generateStyleSheets:fe}=jI(_,N);return _.vars=z,Object.entries(_.colorSchemes[_.defaultColorScheme]).forEach(([Ce,V])=>{_[Ce]=V}),_.generateThemeVars=X,_.generateStyleSheets=fe,_.generateSpacing=function(){return I3(S.spacing,ow(this))},_.getColorSchemeSelector=UI(v),_.spacing=_.generateSpacing(),_.shouldSkipGeneratingVar=d,_.unstable_sxConfig={...fv,...S==null?void 0:S.unstable_sxConfig},_.unstable_sx=function(V){return hf({sx:V,theme:this})},_.toRuntimeSource=K3,_}function p$(e,o,i){e.colorSchemes&&i&&(e.colorSchemes[o]={...i!==!0&&i,palette:fw({...i===!0?{}:i.palette,mode:o})})}function eA(e={},...o){const{palette:i,cssVariables:s=!1,colorSchemes:c=i?void 0:{light:!0},defaultColorScheme:p=i==null?void 0:i.mode,...d}=e,v=p||"light",b=c==null?void 0:c[v],S={...c,...i?{[v]:{...typeof b!="boolean"&&b,palette:i}}:void 0};if(s===!1){if(!("colorSchemes"in e))return MC(e,...o);let T=i;"palette"in e||S[v]&&(S[v]!==!0?T=S[v].palette:v==="dark"&&(T={mode:"dark"}));const w=MC({...e,palette:T},...o);return w.defaultColorScheme=v,w.colorSchemes=S,w.palette.mode==="light"&&(w.colorSchemes.light={...S.light!==!0&&S.light,palette:w.palette},p$(w,"dark",S.dark)),w.palette.mode==="dark"&&(w.colorSchemes.dark={...S.dark!==!0&&S.dark,palette:w.palette},p$(w,"light",S.light)),w}return!i&&!("light"in S)&&v==="light"&&(S.light=!0),y4({...d,colorSchemes:S,defaultColorScheme:v,...typeof s!="boolean"&&s},...o)}const dw=eA();function pw(){const e=lw(dw);return process.env.NODE_ENV!=="production"&&xe.useDebugValue(e),e[J0]||e}function tA(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ts=e=>tA(e)&&e!=="classes",ln=bI({themeId:J0,defaultTheme:dw,rootShouldForwardProp:ts});function h$(...e){return e.reduce((o,i)=>i==null?o:function(...c){o.apply(this,c),i.apply(this,c)},()=>{})}function nA(e){return L.jsx(F3,{...e,defaultTheme:dw,themeId:J0})}process.env.NODE_ENV!=="production"&&(nA.propTypes={styles:y.oneOfType([y.array,y.func,y.number,y.object,y.string,y.bool])});function g4(e){return function(i){return L.jsx(nA,{styles:typeof e=="function"?s=>e({theme:s,...i}):e})}}function b4(){return V3}const Yo=_I;process.env.NODE_ENV!=="production"&&(y.node,y.object.isRequired);function Ao(e){return DI(e)}function x4(e){return Xr("MuiSvgIcon",e)}ao("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const S4=e=>{const{color:o,fontSize:i,classes:s}=e,c={root:["root",o!=="inherit"&&`color${Cr(o)}`,`fontSize${Cr(i)}`]};return io(c,x4,s)},C4=ln("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,i.color!=="inherit"&&o[`color${Cr(i.color)}`],o[`fontSize${Cr(i.fontSize)}`]]}})(Yo(({theme:e})=>{var o,i,s,c,p,d,v,b,S,T,w,R,k,M;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(c=(o=e.transitions)==null?void 0:o.create)==null?void 0:c.call(o,"fill",{duration:(s=(i=(e.vars??e).transitions)==null?void 0:i.duration)==null?void 0:s.shorter}),variants:[{props:P=>!P.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((d=(p=e.typography)==null?void 0:p.pxToRem)==null?void 0:d.call(p,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((b=(v=e.typography)==null?void 0:v.pxToRem)==null?void 0:b.call(v,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((T=(S=e.typography)==null?void 0:S.pxToRem)==null?void 0:T.call(S,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,P])=>P&&P.main).map(([P])=>{var U,G;return{props:{color:P},style:{color:(G=(U=(e.vars??e).palette)==null?void 0:U[P])==null?void 0:G.main}}}),{props:{color:"action"},style:{color:(R=(w=(e.vars??e).palette)==null?void 0:w.action)==null?void 0:R.active}},{props:{color:"disabled"},style:{color:(M=(k=(e.vars??e).palette)==null?void 0:k.action)==null?void 0:M.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),U0=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiSvgIcon"}),{children:c,className:p,color:d="inherit",component:v="svg",fontSize:b="medium",htmlColor:S,inheritViewBox:T=!1,titleAccess:w,viewBox:R="0 0 24 24",...k}=s,M=xe.isValidElement(c)&&c.type==="svg",P={...s,color:d,component:v,fontSize:b,instanceFontSize:o.fontSize,inheritViewBox:T,viewBox:R,hasSvgAsChild:M},U={};T||(U.viewBox=R);const G=S4(P);return L.jsxs(C4,{as:v,className:yr(G.root,p),focusable:"false",color:S,"aria-hidden":w?void 0:!0,role:w?"img":void 0,ref:i,...U,...k,...M&&c.props,ownerState:P,children:[M?c.props.children:c,w?L.jsx("title",{children:w}):null]})});process.env.NODE_ENV!=="production"&&(U0.propTypes={children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),y.string]),component:y.elementType,fontSize:y.oneOfType([y.oneOf(["inherit","large","medium","small"]),y.string]),htmlColor:y.string,inheritViewBox:y.bool,shapeRendering:y.string,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),titleAccess:y.string,viewBox:y.string});U0.muiName="SvgIcon";function w4(e,o){function i(s,c){return L.jsx(U0,{"data-testid":process.env.NODE_ENV!=="production"?`${o}Icon`:void 0,ref:c,...s,children:e})}return process.env.NODE_ENV!=="production"&&(i.displayName=`${o}Icon`),i.muiName=U0.muiName,xe.memo(xe.forwardRef(i))}function rA(e,o=166){let i;function s(...c){const p=()=>{e.apply(this,c)};clearTimeout(i),i=setTimeout(p,o)}return s.clear=()=>{clearTimeout(i)},s}function dl(e){return e&&e.ownerDocument||document}function qs(e){return dl(e).defaultView||window}function m$(e,o){typeof e=="function"?e(o):e&&(e.current=o)}function v$(e){const{controlled:o,default:i,name:s,state:c="value"}=e,{current:p}=xe.useRef(o!==void 0),[d,v]=xe.useState(i),b=p?o:d;if(process.env.NODE_ENV!=="production"){xe.useEffect(()=>{p!==(o!==void 0)&&console.error([`MUI: A component is changing the ${p?"":"un"}controlled ${c} state of ${s} to be ${p?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${s} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
2674
2674
|
`))},[c,s,o]);const{current:T}=xe.useRef(i);xe.useEffect(()=>{!p&&!Object.is(T,i)&&console.error([`MUI: A component is changing the default ${c} state of an uncontrolled ${s} after being initialized. To suppress this warning opt to use a controlled ${s}.`].join(`
|
|
2675
2675
|
`))},[JSON.stringify(i)])}const S=xe.useCallback(T=>{p||v(T)},[]);return[b,S]}function _C(e){const o=xe.useRef(e);return mf(()=>{o.current=e}),xe.useRef((...i)=>(0,o.current)(...i)).current}function _i(...e){const o=xe.useRef(void 0),i=xe.useCallback(s=>{const c=e.map(p=>{if(p==null)return null;if(typeof p=="function"){const d=p,v=d(s);return typeof v=="function"?v:()=>{d(null)}}return p.current=s,()=>{p.current=null}});return()=>{c.forEach(p=>p==null?void 0:p())}},e);return xe.useMemo(()=>e.every(s=>s==null)?null:s=>{o.current&&(o.current(),o.current=void 0),s!=null&&(o.current=i(s))},e)}function E4(e,o){const i=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&i>=65&&i<=90&&typeof o=="function"}function T4(e,o){if(!e)return o;function i(d,v){const b={};return Object.keys(v).forEach(S=>{E4(S,v[S])&&typeof d[S]=="function"&&(b[S]=(...T)=>{d[S](...T),v[S](...T)})}),b}if(typeof e=="function"||typeof o=="function")return d=>{const v=typeof o=="function"?o(d):o,b=typeof e=="function"?e({...d,...v}):e,S=yr(d==null?void 0:d.className,v==null?void 0:v.className,b==null?void 0:b.className),T=i(b,v);return{...v,...b,...T,...!!S&&{className:S},...(v==null?void 0:v.style)&&(b==null?void 0:b.style)&&{style:{...v.style,...b.style}},...(v==null?void 0:v.sx)&&(b==null?void 0:b.sx)&&{sx:[...Array.isArray(v.sx)?v.sx:[v.sx],...Array.isArray(b.sx)?b.sx:[b.sx]]}}};const s=o,c=i(e,s),p=yr(s==null?void 0:s.className,e==null?void 0:e.className);return{...o,...e,...c,...!!p&&{className:p},...(s==null?void 0:s.style)&&(e==null?void 0:e.style)&&{style:{...s.style,...e.style}},...(s==null?void 0:s.sx)&&(e==null?void 0:e.sx)&&{sx:[...Array.isArray(s.sx)?s.sx:[s.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function dv(e,o){return process.env.NODE_ENV==="production"?()=>null:function(...s){return e(...s)||o(...s)}}function R4(e,o){if(e==null)return{};var i={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(o.indexOf(s)!==-1)continue;i[s]=e[s]}return i}function IC(e,o){return IC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,s){return i.__proto__=s,i},IC(e,o)}function O4(e,o){e.prototype=Object.create(o.prototype),e.prototype.constructor=e,IC(e,o)}var w0={exports:{}},Ga={},E0={exports:{}},pC={};/**
|
|
2676
2676
|
* @license React
|
|
@@ -2680,7 +2680,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
2680
2680
|
*
|
|
2681
2681
|
* This source code is licensed under the MIT license found in the
|
|
2682
2682
|
* LICENSE file in the root directory of this source tree.
|
|
2683
|
-
*/var y$;function $4(){return y$||(y$=1,function(e){function o(ke,
|
|
2683
|
+
*/var y$;function $4(){return y$||(y$=1,function(e){function o(ke,se){var oe=ke.length;ke.push(se);e:for(;0<oe;){var Te=oe-1>>>1,B=ke[Te];if(0<c(B,se))ke[Te]=se,ke[oe]=B,oe=Te;else break e}}function i(ke){return ke.length===0?null:ke[0]}function s(ke){if(ke.length===0)return null;var se=ke[0],oe=ke.pop();if(oe!==se){ke[0]=oe;e:for(var Te=0,B=ke.length,Y=B>>>1;Te<Y;){var Oe=2*(Te+1)-1,He=ke[Oe],Je=Oe+1,We=ke[Je];if(0>c(He,oe))Je<B&&0>c(We,He)?(ke[Te]=We,ke[Je]=oe,Te=Je):(ke[Te]=He,ke[Oe]=oe,Te=Oe);else if(Je<B&&0>c(We,oe))ke[Te]=We,ke[Je]=oe,Te=Je;else break e}}return se}function c(ke,se){var oe=ke.sortIndex-se.sortIndex;return oe!==0?oe:ke.id-se.id}if(typeof performance=="object"&&typeof performance.now=="function"){var p=performance;e.unstable_now=function(){return p.now()}}else{var d=Date,v=d.now();e.unstable_now=function(){return d.now()-v}}var b=[],S=[],T=1,w=null,R=3,k=!1,M=!1,P=!1,U=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function A(ke){for(var se=i(S);se!==null;){if(se.callback===null)s(S);else if(se.startTime<=ke)s(S),se.sortIndex=se.expirationTime,o(b,se);else break;se=i(S)}}function _(ke){if(P=!1,A(ke),!M)if(i(b)!==null)M=!0,ge(N);else{var se=i(S);se!==null&&De(_,se.startTime-ke)}}function N(ke,se){M=!1,P&&(P=!1,G(fe),fe=-1),k=!0;var oe=R;try{for(A(se),w=i(b);w!==null&&(!(w.expirationTime>se)||ke&&!ve());){var Te=w.callback;if(typeof Te=="function"){w.callback=null,R=w.priorityLevel;var B=Te(w.expirationTime<=se);se=e.unstable_now(),typeof B=="function"?w.callback=B:w===i(b)&&s(b),A(se)}else s(b);w=i(b)}if(w!==null)var Y=!0;else{var Oe=i(S);Oe!==null&&De(_,Oe.startTime-se),Y=!1}return Y}finally{w=null,R=oe,k=!1}}var z=!1,X=null,fe=-1,Ce=5,V=-1;function ve(){return!(e.unstable_now()-V<Ce)}function we(){if(X!==null){var ke=e.unstable_now();V=ke;var se=!0;try{se=X(!0,ke)}finally{se?ce():(z=!1,X=null)}}else z=!1}var ce;if(typeof W=="function")ce=function(){W(we)};else if(typeof MessageChannel<"u"){var Se=new MessageChannel,Ee=Se.port2;Se.port1.onmessage=we,ce=function(){Ee.postMessage(null)}}else ce=function(){U(we,0)};function ge(ke){X=ke,z||(z=!0,ce())}function De(ke,se){fe=U(function(){ke(e.unstable_now())},se)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(ke){ke.callback=null},e.unstable_continueExecution=function(){M||k||(M=!0,ge(N))},e.unstable_forceFrameRate=function(ke){0>ke||125<ke?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ce=0<ke?Math.floor(1e3/ke):5},e.unstable_getCurrentPriorityLevel=function(){return R},e.unstable_getFirstCallbackNode=function(){return i(b)},e.unstable_next=function(ke){switch(R){case 1:case 2:case 3:var se=3;break;default:se=R}var oe=R;R=se;try{return ke()}finally{R=oe}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(ke,se){switch(ke){case 1:case 2:case 3:case 4:case 5:break;default:ke=3}var oe=R;R=ke;try{return se()}finally{R=oe}},e.unstable_scheduleCallback=function(ke,se,oe){var Te=e.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?Te+oe:Te):oe=Te,ke){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=oe+B,ke={id:T++,callback:se,priorityLevel:ke,startTime:oe,expirationTime:B,sortIndex:-1},oe>Te?(ke.sortIndex=oe,o(S,ke),i(b)===null&&ke===i(S)&&(P?(G(fe),fe=-1):P=!0,De(_,oe-Te))):(ke.sortIndex=B,o(b,ke),M||k||(M=!0,ge(N))),ke},e.unstable_shouldYield=ve,e.unstable_wrapCallback=function(ke){var se=R;return function(){var oe=R;R=se;try{return ke.apply(this,arguments)}finally{R=oe}}}}(pC)),pC}var hC={};/**
|
|
2684
2684
|
* @license React
|
|
2685
2685
|
* scheduler.development.js
|
|
2686
2686
|
*
|
|
@@ -2688,7 +2688,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
2688
2688
|
*
|
|
2689
2689
|
* This source code is licensed under the MIT license found in the
|
|
2690
2690
|
* LICENSE file in the root directory of this source tree.
|
|
2691
|
-
*/var g$;function A4(){return g$||(g$=1,function(e){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var o=!1,i=5;function s(it,rt){var Be=it.length;it.push(rt),d(it,rt,Be)}function c(it){return it.length===0?null:it[0]}function p(it){if(it.length===0)return null;var rt=it[0],Be=it.pop();return Be!==rt&&(it[0]=Be,v(it,Be,0)),rt}function d(it,rt,Be){for(var cn=Be;cn>0;){var Rn=cn-1>>>1,Dn=it[Rn];if(b(Dn,rt)>0)it[Rn]=rt,it[cn]=Dn,cn=Rn;else return}}function v(it,rt,Be){for(var cn=Be,Rn=it.length,Dn=Rn>>>1;cn<Dn;){var On=(cn+1)*2-1,Ln=it[On],Ye=On+1,j=it[Ye];if(b(Ln,rt)<0)Ye<Rn&&b(j,Ln)<0?(it[cn]=j,it[Ye]=rt,cn=Ye):(it[cn]=Ln,it[On]=rt,cn=On);else if(Ye<Rn&&b(j,rt)<0)it[cn]=j,it[Ye]=rt,cn=Ye;else return}}function b(it,rt){var Be=it.sortIndex-rt.sortIndex;return Be!==0?Be:it.id-rt.id}var S=1,T=2,w=3,R=4,k=5;function M(it,rt){}var P=typeof performance=="object"&&typeof performance.now=="function";if(P){var U=performance;e.unstable_now=function(){return U.now()}}else{var G=Date,
|
|
2691
|
+
*/var g$;function A4(){return g$||(g$=1,function(e){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var o=!1,i=5;function s(it,rt){var Be=it.length;it.push(rt),d(it,rt,Be)}function c(it){return it.length===0?null:it[0]}function p(it){if(it.length===0)return null;var rt=it[0],Be=it.pop();return Be!==rt&&(it[0]=Be,v(it,Be,0)),rt}function d(it,rt,Be){for(var cn=Be;cn>0;){var Rn=cn-1>>>1,Dn=it[Rn];if(b(Dn,rt)>0)it[Rn]=rt,it[cn]=Dn,cn=Rn;else return}}function v(it,rt,Be){for(var cn=Be,Rn=it.length,Dn=Rn>>>1;cn<Dn;){var On=(cn+1)*2-1,Ln=it[On],Ye=On+1,j=it[Ye];if(b(Ln,rt)<0)Ye<Rn&&b(j,Ln)<0?(it[cn]=j,it[Ye]=rt,cn=Ye):(it[cn]=Ln,it[On]=rt,cn=On);else if(Ye<Rn&&b(j,rt)<0)it[cn]=j,it[Ye]=rt,cn=Ye;else return}}function b(it,rt){var Be=it.sortIndex-rt.sortIndex;return Be!==0?Be:it.id-rt.id}var S=1,T=2,w=3,R=4,k=5;function M(it,rt){}var P=typeof performance=="object"&&typeof performance.now=="function";if(P){var U=performance;e.unstable_now=function(){return U.now()}}else{var G=Date,W=G.now();e.unstable_now=function(){return G.now()-W}}var A=1073741823,_=-1,N=250,z=5e3,X=1e4,fe=A,Ce=[],V=[],ve=1,we=null,ce=w,Se=!1,Ee=!1,ge=!1,De=typeof setTimeout=="function"?setTimeout:null,ke=typeof clearTimeout=="function"?clearTimeout:null,se=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function oe(it){for(var rt=c(V);rt!==null;){if(rt.callback===null)p(V);else if(rt.startTime<=it)p(V),rt.sortIndex=rt.expirationTime,s(Ce,rt);else return;rt=c(V)}}function Te(it){if(ge=!1,oe(it),!Ee)if(c(Ce)!==null)Ee=!0,dn(B);else{var rt=c(V);rt!==null&&un(Te,rt.startTime-it)}}function B(it,rt){Ee=!1,ge&&(ge=!1,Tn()),Se=!0;var Be=ce;try{var cn;if(!o)return Y(it,rt)}finally{we=null,ce=Be,Se=!1}}function Y(it,rt){var Be=rt;for(oe(Be),we=c(Ce);we!==null&&!(we.expirationTime>Be&&(!it||jt()));){var cn=we.callback;if(typeof cn=="function"){we.callback=null,ce=we.priorityLevel;var Rn=we.expirationTime<=Be,Dn=cn(Rn);Be=e.unstable_now(),typeof Dn=="function"?we.callback=Dn:we===c(Ce)&&p(Ce),oe(Be)}else p(Ce);we=c(Ce)}if(we!==null)return!0;var On=c(V);return On!==null&&un(Te,On.startTime-Be),!1}function Oe(it,rt){switch(it){case S:case T:case w:case R:case k:break;default:it=w}var Be=ce;ce=it;try{return rt()}finally{ce=Be}}function He(it){var rt;switch(ce){case S:case T:case w:rt=w;break;default:rt=ce;break}var Be=ce;ce=rt;try{return it()}finally{ce=Be}}function Je(it){var rt=ce;return function(){var Be=ce;ce=rt;try{return it.apply(this,arguments)}finally{ce=Be}}}function We(it,rt,Be){var cn=e.unstable_now(),Rn;if(typeof Be=="object"&&Be!==null){var Dn=Be.delay;typeof Dn=="number"&&Dn>0?Rn=cn+Dn:Rn=cn}else Rn=cn;var On;switch(it){case S:On=_;break;case T:On=N;break;case k:On=fe;break;case R:On=X;break;case w:default:On=z;break}var Ln=Rn+On,Ye={id:ve++,callback:rt,priorityLevel:it,startTime:Rn,expirationTime:Ln,sortIndex:-1};return Rn>cn?(Ye.sortIndex=Rn,s(V,Ye),c(Ce)===null&&Ye===c(V)&&(ge?Tn():ge=!0,un(Te,Rn-cn))):(Ye.sortIndex=Ln,s(Ce,Ye),!Ee&&!Se&&(Ee=!0,dn(B))),Ye}function Z(){}function re(){!Ee&&!Se&&(Ee=!0,dn(B))}function K(){return c(Ce)}function be(it){it.callback=null}function ee(){return ce}var Ne=!1,ye=null,Fe=-1,at=i,It=-1;function jt(){var it=e.unstable_now()-It;return!(it<at)}function vt(){}function gt(it){if(it<0||it>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}it>0?at=Math.floor(1e3/it):at=i}var Ct=function(){if(ye!==null){var it=e.unstable_now();It=it;var rt=!0,Be=!0;try{Be=ye(rt,it)}finally{Be?lt():(Ne=!1,ye=null)}}else Ne=!1},lt;if(typeof se=="function")lt=function(){se(Ct)};else if(typeof MessageChannel<"u"){var sn=new MessageChannel,mn=sn.port2;sn.port1.onmessage=Ct,lt=function(){mn.postMessage(null)}}else lt=function(){De(Ct,0)};function dn(it){ye=it,Ne||(Ne=!0,lt())}function un(it,rt){Fe=De(function(){it(e.unstable_now())},rt)}function Tn(){ke(Fe),Fe=-1}var rr=vt,or=null;e.unstable_IdlePriority=k,e.unstable_ImmediatePriority=S,e.unstable_LowPriority=R,e.unstable_NormalPriority=w,e.unstable_Profiling=or,e.unstable_UserBlockingPriority=T,e.unstable_cancelCallback=be,e.unstable_continueExecution=re,e.unstable_forceFrameRate=gt,e.unstable_getCurrentPriorityLevel=ee,e.unstable_getFirstCallbackNode=K,e.unstable_next=He,e.unstable_pauseExecution=Z,e.unstable_requestPaint=rr,e.unstable_runWithPriority=Oe,e.unstable_scheduleCallback=We,e.unstable_shouldYield=jt,e.unstable_wrapCallback=Je,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(hC)),hC}var b$;function oA(){return b$||(b$=1,process.env.NODE_ENV==="production"?E0.exports=$4():E0.exports=A4()),E0.exports}/**
|
|
2692
2692
|
* @license React
|
|
2693
2693
|
* react-dom.production.min.js
|
|
2694
2694
|
*
|
|
@@ -2696,14 +2696,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
2696
2696
|
*
|
|
2697
2697
|
* This source code is licensed under the MIT license found in the
|
|
2698
2698
|
* LICENSE file in the root directory of this source tree.
|
|
2699
|
-
*/var x$;function k4(){if(x$)return Ga;x$=1;var e=Xe,o=oA();function i(r){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+r,f=1;f<arguments.length;f++)a+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+r+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,c={};function p(r,a){d(r,a),d(r+"Capture",a)}function d(r,a){for(c[r]=a,r=0;r<a.length;r++)s.add(a[r])}var v=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),b=Object.prototype.hasOwnProperty,S=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,T={},w={};function R(r){return b.call(w,r)?!0:b.call(T,r)?!1:S.test(r)?w[r]=!0:(T[r]=!0,!1)}function k(r,a,f,m){if(f!==null&&f.type===0)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":return m?!1:f!==null?!f.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function M(r,a,f,m){if(a===null||typeof a>"u"||k(r,a,f,m))return!0;if(m)return!1;if(f!==null)switch(f.type){case 3:return!a;case 4:return a===!1;case 5:return isNaN(a);case 6:return isNaN(a)||1>a}return!1}function P(r,a,f,m,x,E,I){this.acceptsBooleans=a===2||a===3||a===4,this.attributeName=m,this.attributeNamespace=x,this.mustUseProperty=f,this.propertyName=r,this.type=a,this.sanitizeURL=E,this.removeEmptyString=I}var U={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){U[r]=new P(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var a=r[0];U[a]=new P(a,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){U[r]=new P(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){U[r]=new P(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){U[r]=new P(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){U[r]=new P(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){U[r]=new P(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){U[r]=new P(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){U[r]=new P(r,5,!1,r.toLowerCase(),null,!1,!1)});var G=/[\-:]([a-z])/g;function
|
|
2700
|
-
`+Te+r}var
|
|
2699
|
+
*/var x$;function k4(){if(x$)return Ga;x$=1;var e=Xe,o=oA();function i(r){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+r,f=1;f<arguments.length;f++)a+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+r+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,c={};function p(r,a){d(r,a),d(r+"Capture",a)}function d(r,a){for(c[r]=a,r=0;r<a.length;r++)s.add(a[r])}var v=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),b=Object.prototype.hasOwnProperty,S=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,T={},w={};function R(r){return b.call(w,r)?!0:b.call(T,r)?!1:S.test(r)?w[r]=!0:(T[r]=!0,!1)}function k(r,a,f,m){if(f!==null&&f.type===0)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":return m?!1:f!==null?!f.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function M(r,a,f,m){if(a===null||typeof a>"u"||k(r,a,f,m))return!0;if(m)return!1;if(f!==null)switch(f.type){case 3:return!a;case 4:return a===!1;case 5:return isNaN(a);case 6:return isNaN(a)||1>a}return!1}function P(r,a,f,m,x,E,I){this.acceptsBooleans=a===2||a===3||a===4,this.attributeName=m,this.attributeNamespace=x,this.mustUseProperty=f,this.propertyName=r,this.type=a,this.sanitizeURL=E,this.removeEmptyString=I}var U={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){U[r]=new P(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var a=r[0];U[a]=new P(a,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){U[r]=new P(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){U[r]=new P(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){U[r]=new P(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){U[r]=new P(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){U[r]=new P(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){U[r]=new P(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){U[r]=new P(r,5,!1,r.toLowerCase(),null,!1,!1)});var G=/[\-:]([a-z])/g;function W(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var a=r.replace(G,W);U[a]=new P(a,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var a=r.replace(G,W);U[a]=new P(a,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var a=r.replace(G,W);U[a]=new P(a,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){U[r]=new P(r,1,!1,r.toLowerCase(),null,!1,!1)}),U.xlinkHref=new P("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){U[r]=new P(r,1,!1,r.toLowerCase(),null,!0,!0)});function A(r,a,f,m){var x=U.hasOwnProperty(a)?U[a]:null;(x!==null?x.type!==0:m||!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(M(a,f,x,m)&&(f=null),m||x===null?R(a)&&(f===null?r.removeAttribute(a):r.setAttribute(a,""+f)):x.mustUseProperty?r[x.propertyName]=f===null?x.type===3?!1:"":f:(a=x.attributeName,m=x.attributeNamespace,f===null?r.removeAttribute(a):(x=x.type,f=x===3||x===4&&f===!0?"":""+f,m?r.setAttributeNS(m,a,f):r.setAttribute(a,f))))}var _=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,N=Symbol.for("react.element"),z=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),fe=Symbol.for("react.strict_mode"),Ce=Symbol.for("react.profiler"),V=Symbol.for("react.provider"),ve=Symbol.for("react.context"),we=Symbol.for("react.forward_ref"),ce=Symbol.for("react.suspense"),Se=Symbol.for("react.suspense_list"),Ee=Symbol.for("react.memo"),ge=Symbol.for("react.lazy"),De=Symbol.for("react.offscreen"),ke=Symbol.iterator;function se(r){return r===null||typeof r!="object"?null:(r=ke&&r[ke]||r["@@iterator"],typeof r=="function"?r:null)}var oe=Object.assign,Te;function B(r){if(Te===void 0)try{throw Error()}catch(f){var a=f.stack.trim().match(/\n( *(at )?)/);Te=a&&a[1]||""}return`
|
|
2700
|
+
`+Te+r}var Y=!1;function Oe(r,a){if(!r||Y)return"";Y=!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(r,[],a)}else{try{a.call()}catch(Le){m=Le}r.call(a.prototype)}else{try{throw Error()}catch(Le){m=Le}r()}}catch(Le){if(Le&&m&&typeof Le.stack=="string"){for(var x=Le.stack.split(`
|
|
2701
2701
|
`),E=m.stack.split(`
|
|
2702
2702
|
`),I=x.length-1,te=E.length-1;1<=I&&0<=te&&x[I]!==E[te];)te--;for(;1<=I&&0<=te;I--,te--)if(x[I]!==E[te]){if(I!==1||te!==1)do if(I--,te--,0>te||x[I]!==E[te]){var le=`
|
|
2703
|
-
`+x[I].replace(" at new "," at ");return r.displayName&&le.includes("<anonymous>")&&(le=le.replace("<anonymous>",r.displayName)),le}while(1<=I&&0<=te);break}}}finally{W=!1,Error.prepareStackTrace=f}return(r=r?r.displayName||r.name:"")?B(r):""}function He(r){switch(r.tag){case 5:return B(r.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return r=Oe(r.type,!1),r;case 11:return r=Oe(r.type.render,!1),r;case 1:return r=Oe(r.type,!0),r;default:return""}}function Je(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case X:return"Fragment";case z:return"Portal";case Ce:return"Profiler";case fe:return"StrictMode";case ue:return"Suspense";case Se:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case ve:return(r.displayName||"Context")+".Consumer";case V:return(r._context.displayName||"Context")+".Provider";case we:var a=r.render;return r=r.displayName,r||(r=a.displayName||a.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Ee:return a=r.displayName||null,a!==null?a:Je(r.type)||"Memo";case ge:a=r._payload,r=r._init;try{return Je(r(a))}catch{}}return null}function We(r){var a=r.type;switch(r.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 r=a.render,r=r.displayName||r.name||"",a.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Je(a);case 8:return a===fe?"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 Z(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function re(r){var a=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function K(r){var a=re(r)?"checked":"value",f=Object.getOwnPropertyDescriptor(r.constructor.prototype,a),m=""+r[a];if(!r.hasOwnProperty(a)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var x=f.get,E=f.set;return Object.defineProperty(r,a,{configurable:!0,get:function(){return x.call(this)},set:function(I){m=""+I,E.call(this,I)}}),Object.defineProperty(r,a,{enumerable:f.enumerable}),{getValue:function(){return m},setValue:function(I){m=""+I},stopTracking:function(){r._valueTracker=null,delete r[a]}}}}function be(r){r._valueTracker||(r._valueTracker=K(r))}function ee(r){if(!r)return!1;var a=r._valueTracker;if(!a)return!0;var f=a.getValue(),m="";return r&&(m=re(r)?r.checked?"true":"false":r.value),r=m,r!==f?(a.setValue(r),!0):!1}function Ne(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function ye(r,a){var f=a.checked;return oe({},a,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??r._wrapperState.initialChecked})}function Fe(r,a){var f=a.defaultValue==null?"":a.defaultValue,m=a.checked!=null?a.checked:a.defaultChecked;f=Z(a.value!=null?a.value:f),r._wrapperState={initialChecked:m,initialValue:f,controlled:a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null}}function at(r,a){a=a.checked,a!=null&&A(r,"checked",a,!1)}function It(r,a){at(r,a);var f=Z(a.value),m=a.type;if(f!=null)m==="number"?(f===0&&r.value===""||r.value!=f)&&(r.value=""+f):r.value!==""+f&&(r.value=""+f);else if(m==="submit"||m==="reset"){r.removeAttribute("value");return}a.hasOwnProperty("value")?vt(r,a.type,f):a.hasOwnProperty("defaultValue")&&vt(r,a.type,Z(a.defaultValue)),a.checked==null&&a.defaultChecked!=null&&(r.defaultChecked=!!a.defaultChecked)}function jt(r,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=""+r._wrapperState.initialValue,f||a===r.value||(r.value=a),r.defaultValue=a}f=r.name,f!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,f!==""&&(r.name=f)}function vt(r,a,f){(a!=="number"||Ne(r.ownerDocument)!==r)&&(f==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+f&&(r.defaultValue=""+f))}var gt=Array.isArray;function Ct(r,a,f,m){if(r=r.options,a){a={};for(var x=0;x<f.length;x++)a["$"+f[x]]=!0;for(f=0;f<r.length;f++)x=a.hasOwnProperty("$"+r[f].value),r[f].selected!==x&&(r[f].selected=x),x&&m&&(r[f].defaultSelected=!0)}else{for(f=""+Z(f),a=null,x=0;x<r.length;x++){if(r[x].value===f){r[x].selected=!0,m&&(r[x].defaultSelected=!0);return}a!==null||r[x].disabled||(a=r[x])}a!==null&&(a.selected=!0)}}function lt(r,a){if(a.dangerouslySetInnerHTML!=null)throw Error(i(91));return oe({},a,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function sn(r,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(gt(f)){if(1<f.length)throw Error(i(93));f=f[0]}a=f}a==null&&(a=""),f=a}r._wrapperState={initialValue:Z(f)}}function mn(r,a){var f=Z(a.value),m=Z(a.defaultValue);f!=null&&(f=""+f,f!==r.value&&(r.value=f),a.defaultValue==null&&r.defaultValue!==f&&(r.defaultValue=f)),m!=null&&(r.defaultValue=""+m)}function dn(r){var a=r.textContent;a===r._wrapperState.initialValue&&a!==""&&a!==null&&(r.value=a)}function un(r){switch(r){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(r,a){return r==null||r==="http://www.w3.org/1999/xhtml"?un(a):r==="http://www.w3.org/2000/svg"&&a==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var rr,or=function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(a,f,m,x){MSApp.execUnsafeLocalFunction(function(){return r(a,f,m,x)})}:r}(function(r,a){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=a;else{for(rr=rr||document.createElement("div"),rr.innerHTML="<svg>"+a.valueOf().toString()+"</svg>",a=rr.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;a.firstChild;)r.appendChild(a.firstChild)}});function it(r,a){if(a){var f=r.firstChild;if(f&&f===r.lastChild&&f.nodeType===3){f.nodeValue=a;return}}r.textContent=a}var rt={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},Be=["Webkit","ms","Moz","O"];Object.keys(rt).forEach(function(r){Be.forEach(function(a){a=a+r.charAt(0).toUpperCase()+r.substring(1),rt[a]=rt[r]})});function cn(r,a,f){return a==null||typeof a=="boolean"||a===""?"":f||typeof a!="number"||a===0||rt.hasOwnProperty(r)&&rt[r]?(""+a).trim():a+"px"}function Rn(r,a){r=r.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?r.setProperty(f,x):r[f]=x}}var Dn=oe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function On(r,a){if(a){if(Dn[r]&&(a.children!=null||a.dangerouslySetInnerHTML!=null))throw Error(i(137,r));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(r,a){if(r.indexOf("-")===-1)return typeof a.is=="string";switch(r){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 Ye=null;function j(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var J=null,ae=null,$=null;function F(r){if(r=Ft(r)){if(typeof J!="function")throw Error(i(280));var a=r.stateNode;a&&(a=pr(a),J(r.stateNode,r.type,a))}}function q(r){ae?$?$.push(r):$=[r]:ae=r}function se(){if(ae){var r=ae,a=$;if($=ae=null,F(r),a)for(r=0;r<a.length;r++)F(a[r])}}function ie(r,a){return r(a)}function _e(){}var nt=!1;function Tt(r,a,f){if(nt)return r(a,f);nt=!0;try{return ie(r,a,f)}finally{nt=!1,(ae!==null||$!==null)&&(_e(),se())}}function $t(r,a){var f=r.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)||(r=r.type,m=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!m;break e;default:r=!1}if(r)return null;if(f&&typeof f!="function")throw Error(i(231,a,typeof f));return f}var fn=!1;if(v)try{var zt={};Object.defineProperty(zt,"passive",{get:function(){fn=!0}}),window.addEventListener("test",zt,zt),window.removeEventListener("test",zt,zt)}catch{fn=!1}function bn(r,a,f,m,x,E,I,te,le){var Le=Array.prototype.slice.call(arguments,3);try{a.apply(f,Le)}catch(Ke){this.onError(Ke)}}var pn=!1,Xn=null,an=!1,ne=null,Ge={onError:function(r){pn=!0,Xn=r}};function ot(r,a,f,m,x,E,I,te,le){pn=!1,Xn=null,bn.apply(Ge,arguments)}function Lt(r,a,f,m,x,E,I,te,le){if(ot.apply(this,arguments),pn){if(pn){var Le=Xn;pn=!1,Xn=null}else throw Error(i(198));an||(an=!0,ne=Le)}}function At(r){var a=r,f=r;if(r.alternate)for(;a.return;)a=a.return;else{r=a;do a=r,(a.flags&4098)!==0&&(f=a.return),r=a.return;while(r)}return a.tag===3?f:null}function Wt(r){if(r.tag===13){var a=r.memoizedState;if(a===null&&(r=r.alternate,r!==null&&(a=r.memoizedState)),a!==null)return a.dehydrated}return null}function Jt(r){if(At(r)!==r)throw Error(i(188))}function en(r){var a=r.alternate;if(!a){if(a=At(r),a===null)throw Error(i(188));return a!==r?null:r}for(var f=r,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),r;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 I=!1,te=x.child;te;){if(te===f){I=!0,f=x,m=E;break}if(te===m){I=!0,m=x,f=E;break}te=te.sibling}if(!I){for(te=E.child;te;){if(te===f){I=!0,f=E,m=x;break}if(te===m){I=!0,m=E,f=x;break}te=te.sibling}if(!I)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?r:a}function wr(r){return r=en(r),r!==null?Zn(r):null}function Zn(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var a=Zn(r);if(a!==null)return a;r=r.sibling}return null}var ar=o.unstable_scheduleCallback,Kr=o.unstable_cancelCallback,Yt=o.unstable_shouldYield,Jn=o.unstable_requestPaint,Xt=o.unstable_now,nn=o.unstable_getCurrentPriorityLevel,Qa=o.unstable_ImmediatePriority,ci=o.unstable_UserBlockingPriority,fi=o.unstable_NormalPriority,Ht=o.unstable_LowPriority,Bn=o.unstable_IdlePriority,gr=null,yn=null;function lo(r){if(yn&&typeof yn.onCommitFiberRoot=="function")try{yn.onCommitFiberRoot(gr,r,void 0,(r.current.flags&128)===128)}catch{}}var Er=Math.clz32?Math.clz32:so,Eo=Math.log,Ii=Math.LN2;function so(r){return r>>>=0,r===0?32:31-(Eo(r)/Ii|0)|0}var Zr=64,Mn=4194304;function Tr(r){switch(r&-r){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 r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function di(r,a){var f=r.pendingLanes;if(f===0)return 0;var m=0,x=r.suspendedLanes,E=r.pingedLanes,I=f&268435455;if(I!==0){var te=I&~x;te!==0?m=Tr(te):(E&=I,E!==0&&(m=Tr(E)))}else I=f&~x,I!==0?m=Tr(I):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=r.entangledLanes,a!==0)for(r=r.entanglements,a&=m;0<a;)f=31-Er(a),x=1<<f,m|=r[f],a&=~x;return m}function zr(r,a){switch(r){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(r,a){for(var f=r.suspendedLanes,m=r.pingedLanes,x=r.expirationTimes,E=r.pendingLanes;0<E;){var I=31-Er(E),te=1<<I,le=x[I];le===-1?((te&f)===0||(te&m)!==0)&&(x[I]=zr(te,a)):le<=a&&(r.expiredLanes|=te),E&=~te}}function Fi(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function qo(){var r=Zr;return Zr<<=1,(Zr&4194240)===0&&(Zr=64),r}function hl(r){for(var a=[],f=0;31>f;f++)a.push(r);return a}function Qo(r,a,f){r.pendingLanes|=a,a!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,a=31-Er(a),r[a]=f}function Tb(r,a){var f=r.pendingLanes&~a;r.pendingLanes=a,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=a,r.mutableReadLanes&=a,r.entangledLanes&=a,a=r.entanglements;var m=r.eventTimes;for(r=r.expirationTimes;0<f;){var x=31-Er(f),E=1<<x;a[x]=0,m[x]=-1,r[x]=-1,f&=~E}}function vf(r,a){var f=r.entangledLanes|=a;for(r=r.entanglements;f;){var m=31-Er(f),x=1<<m;x&a|r[m]&a&&(r[m]|=a),f&=~x}}var Fn=0;function Rp(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var Vn,Op,$p,rn,Ap,ko=!1,ml=[],$a=null,vl=null,br=null,ir=new Map,zu=new Map,uo=[],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(r,a){switch(r){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":zu.delete(a.pointerId)}}function Hu(r,a,f,m,x,E){return r===null||r.nativeEvent!==E?(r={blockedOn:a,domEventName:f,eventSystemFlags:m,nativeEvent:E,targetContainers:[x]},a!==null&&(a=Ft(a),a!==null&&Op(a)),r):(r.eventSystemFlags|=m,a=r.targetContainers,x!==null&&a.indexOf(x)===-1&&a.push(x),r)}function kp(r,a,f,m,x){switch(a){case"focusin":return $a=Hu($a,r,a,f,m,x),!0;case"dragenter":return vl=Hu(vl,r,a,f,m,x),!0;case"mouseover":return br=Hu(br,r,a,f,m,x),!0;case"pointerover":var E=x.pointerId;return ir.set(E,Hu(ir.get(E)||null,r,a,f,m,x)),!0;case"gotpointercapture":return E=x.pointerId,zu.set(E,Hu(zu.get(E)||null,r,a,f,m,x)),!0}return!1}function Pp(r){var a=ds(r.target);if(a!==null){var f=At(a);if(f!==null){if(a=f.tag,a===13){if(a=Wt(f),a!==null){r.blockedOn=a,Ap(r.priority,function(){$p(f)});return}}else if(a===3&&f.stateNode.current.memoizedState.isDehydrated){r.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Gu(r){if(r.blockedOn!==null)return!1;for(var a=r.targetContainers;0<a.length;){var f=gf(r.domEventName,r.eventSystemFlags,a[0],r.nativeEvent);if(f===null){f=r.nativeEvent;var m=new f.constructor(f.type,f);Ye=m,f.target.dispatchEvent(m),Ye=null}else return a=Ft(f),a!==null&&Op(a),r.blockedOn=f,!1;a.shift()}return!0}function vv(r,a,f){Gu(r)&&f.delete(a)}function Rb(){ko=!1,$a!==null&&Gu($a)&&($a=null),vl!==null&&Gu(vl)&&(vl=null),br!==null&&Gu(br)&&(br=null),ir.forEach(vv),zu.forEach(vv)}function Wu(r,a){r.blockedOn===a&&(r.blockedOn=null,ko||(ko=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Rb)))}function yl(r){function a(x){return Wu(x,r)}if(0<ml.length){Wu(ml[0],r);for(var f=1;f<ml.length;f++){var m=ml[f];m.blockedOn===r&&(m.blockedOn=null)}}for($a!==null&&Wu($a,r),vl!==null&&Wu(vl,r),br!==null&&Wu(br,r),ir.forEach(a),zu.forEach(a),f=0;f<uo.length;f++)m=uo[f],m.blockedOn===r&&(m.blockedOn=null);for(;0<uo.length&&(f=uo[0],f.blockedOn===null);)Pp(f),f.blockedOn===null&&uo.shift()}var rs=_.ReactCurrentBatchConfig,os=!0;function yv(r,a,f,m){var x=Fn,E=rs.transition;rs.transition=null;try{Fn=1,yf(r,a,f,m)}finally{Fn=x,rs.transition=E}}function gv(r,a,f,m){var x=Fn,E=rs.transition;rs.transition=null;try{Fn=4,yf(r,a,f,m)}finally{Fn=x,rs.transition=E}}function yf(r,a,f,m){if(os){var x=gf(r,a,f,m);if(x===null)_f(r,a,m,Yu,f),Vi(r,m);else if(kp(x,r,a,f,m))m.stopPropagation();else if(Vi(r,m),a&4&&-1<Aa.indexOf(r)){for(;x!==null;){var E=Ft(x);if(E!==null&&Vn(E),E=gf(r,a,f,m),E===null&&_f(r,a,m,Yu,f),E===x)break;x=E}x!==null&&m.stopPropagation()}else _f(r,a,m,null,f)}}var Yu=null;function gf(r,a,f,m){if(Yu=null,r=j(m),r=ds(r),r!==null)if(a=At(r),a===null)r=null;else if(f=a.tag,f===13){if(r=Wt(a),r!==null)return r;r=null}else if(f===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;r=null}else a!==r&&(r=null);return Yu=r,null}function bf(r){switch(r){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 fi:case Ht:return 16;case Bn:return 536870912;default:return 16}default:return 16}}var ji=null,xf=null,Qs=null;function Np(){if(Qs)return Qs;var r,a=xf,f=a.length,m,x="value"in ji?ji.value:ji.textContent,E=x.length;for(r=0;r<f&&a[r]===x[r];r++);var I=f-r;for(m=1;m<=I&&a[f-m]===x[E-m];m++);return Qs=x.slice(r,1<m?1-m:void 0)}function Sf(r){var a=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&a===13&&(r=13)):r=a,r===10&&(r=13),32<=r||r===13?r:0}function Cf(){return!0}function wf(){return!1}function Xo(r){function a(f,m,x,E,I){this._reactName=f,this._targetInst=x,this.type=m,this.nativeEvent=E,this.target=I,this.currentTarget=null;for(var te in r)r.hasOwnProperty(te)&&(f=r[te],this[te]=f?f(E):E[te]);return this.isDefaultPrevented=(E.defaultPrevented!=null?E.defaultPrevented:E.returnValue===!1)?Cf:wf,this.isPropagationStopped=wf,this}return oe(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=Cf)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Cf)},persist:function(){},isPersistent:Cf}),a}var as={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ef=Xo(as),Xs=oe({},as,{view:0,detail:0}),Ob=Xo(Xs),Dp,co,is,qu=oe({},Xs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fp,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==is&&(is&&r.type==="mousemove"?(Dp=r.screenX-is.screenX,co=r.screenY-is.screenY):co=Dp=0,is=r),Dp)},movementY:function(r){return"movementY"in r?r.movementY:co}}),Mp=Xo(qu),$b=oe({},qu,{dataTransfer:0}),Ks=Xo($b),Lp=oe({},Xs,{relatedTarget:0}),Tf=Xo(Lp),Ab=oe({},as,{animationName:0,elapsedTime:0,pseudoElement:0}),kb=Xo(Ab),Pb=oe({},as,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),bv=Xo(Pb),_p=oe({},as,{data:0}),Ip=Xo(_p),xv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sv={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"},Nb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ui(r){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(r):(r=Nb[r])?!!a[r]:!1}function Fp(){return Ui}var Vp=oe({},Xs,{key:function(r){if(r.key){var a=xv[r.key]||r.key;if(a!=="Unidentified")return a}return r.type==="keypress"?(r=Sf(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Sv[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fp,charCode:function(r){return r.type==="keypress"?Sf(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Sf(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),jp=Xo(Vp),Up=oe({},qu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Cv=Xo(Up),Rf=oe({},Xs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fp}),wv=Xo(Rf),Ko=oe({},as,{propertyName:0,elapsedTime:0,pseudoElement:0}),Bi=Xo(Ko),Nr=oe({},qu,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),zi=Xo(Nr),Bp=[9,13,27,32],Zs=v&&"CompositionEvent"in window,Qu=null;v&&"documentMode"in document&&(Qu=document.documentMode);var Xu=v&&"TextEvent"in window&&!Qu,Ev=v&&(!Zs||Qu&&8<Qu&&11>=Qu),Tv=" ",Of=!1;function Rv(r,a){switch(r){case"keyup":return Bp.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ov(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Js=!1;function $v(r,a){switch(r){case"compositionend":return Ov(a);case"keypress":return a.which!==32?null:(Of=!0,Tv);case"textInput":return r=a.data,r===Tv&&Of?null:r;default:return null}}function Db(r,a){if(Js)return r==="compositionend"||!Zs&&Rv(r,a)?(r=Np(),Qs=xf=ji=null,Js=!1,r):null;switch(r){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 Ev&&a.locale!=="ko"?null:a.data;default:return null}}var Mb={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 Av(r){var a=r&&r.nodeName&&r.nodeName.toLowerCase();return a==="input"?!!Mb[r.type]:a==="textarea"}function zp(r,a,f,m){q(m),a=nc(a,"onChange"),0<a.length&&(f=new Ef("onChange","change",null,f,m),r.push({event:f,listeners:a}))}var pi=null,ls=null;function kv(r){cs(r,0)}function Ku(r){var a=Ka(r);if(ee(a))return r}function Lb(r,a){if(r==="change")return a}var Pv=!1;if(v){var Hp;if(v){var Gp="oninput"in document;if(!Gp){var Nv=document.createElement("div");Nv.setAttribute("oninput","return;"),Gp=typeof Nv.oninput=="function"}Hp=Gp}else Hp=!1;Pv=Hp&&(!document.documentMode||9<document.documentMode)}function Dv(){pi&&(pi.detachEvent("onpropertychange",Mv),ls=pi=null)}function Mv(r){if(r.propertyName==="value"&&Ku(ls)){var a=[];zp(a,ls,r,j(r)),Tt(kv,a)}}function _b(r,a,f){r==="focusin"?(Dv(),pi=a,ls=f,pi.attachEvent("onpropertychange",Mv)):r==="focusout"&&Dv()}function Lv(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Ku(ls)}function Ib(r,a){if(r==="click")return Ku(a)}function _v(r,a){if(r==="input"||r==="change")return Ku(a)}function Fb(r,a){return r===a&&(r!==0||1/r===1/a)||r!==r&&a!==a}var Xa=typeof Object.is=="function"?Object.is:Fb;function Zu(r,a){if(Xa(r,a))return!0;if(typeof r!="object"||r===null||typeof a!="object"||a===null)return!1;var f=Object.keys(r),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(r[x],a[x]))return!1}return!0}function Iv(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function $f(r,a){var f=Iv(r);r=0;for(var m;f;){if(f.nodeType===3){if(m=r+f.textContent.length,r<=a&&m>=a)return{node:f,offset:a-r};r=m}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=Iv(f)}}function gl(r,a){return r&&a?r===a?!0:r&&r.nodeType===3?!1:a&&a.nodeType===3?gl(r,a.parentNode):"contains"in r?r.contains(a):r.compareDocumentPosition?!!(r.compareDocumentPosition(a)&16):!1:!1}function Ju(){for(var r=window,a=Ne();a instanceof r.HTMLIFrameElement;){try{var f=typeof a.contentWindow.location.href=="string"}catch{f=!1}if(f)r=a.contentWindow;else break;a=Ne(r.document)}return a}function Af(r){var a=r&&r.nodeName&&r.nodeName.toLowerCase();return a&&(a==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||a==="textarea"||r.contentEditable==="true")}function eu(r){var a=Ju(),f=r.focusedElem,m=r.selectionRange;if(a!==f&&f&&f.ownerDocument&&gl(f.ownerDocument.documentElement,f)){if(m!==null&&Af(f)){if(a=m.start,r=m.end,r===void 0&&(r=a),"selectionStart"in f)f.selectionStart=a,f.selectionEnd=Math.min(r,f.value.length);else if(r=(a=f.ownerDocument||document)&&a.defaultView||window,r.getSelection){r=r.getSelection();var x=f.textContent.length,E=Math.min(m.start,x);m=m.end===void 0?E:Math.min(m.end,x),!r.extend&&E>m&&(x=m,m=E,E=x),x=$f(f,E);var I=$f(f,m);x&&I&&(r.rangeCount!==1||r.anchorNode!==x.node||r.anchorOffset!==x.offset||r.focusNode!==I.node||r.focusOffset!==I.offset)&&(a=a.createRange(),a.setStart(x.node,x.offset),r.removeAllRanges(),E>m?(r.addRange(a),r.extend(I.node,I.offset)):(a.setEnd(I.node,I.offset),r.addRange(a)))}}for(a=[],r=f;r=r.parentNode;)r.nodeType===1&&a.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<a.length;f++)r=a[f],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var Vb=v&&"documentMode"in document&&11>=document.documentMode,tu=null,Wp=null,ec=null,Yp=!1;function qp(r,a,f){var m=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;Yp||tu==null||tu!==Ne(m)||(m=tu,"selectionStart"in m&&Af(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}),ec&&Zu(ec,m)||(ec=m,m=nc(Wp,"onSelect"),0<m.length&&(a=new Ef("onSelect","select",null,a,f),r.push({event:a,listeners:m}),a.target=tu)))}function kf(r,a){var f={};return f[r.toLowerCase()]=a.toLowerCase(),f["Webkit"+r]="webkit"+a,f["Moz"+r]="moz"+a,f}var ss={animationend:kf("Animation","AnimationEnd"),animationiteration:kf("Animation","AnimationIteration"),animationstart:kf("Animation","AnimationStart"),transitionend:kf("Transition","TransitionEnd")},fo={},Qp={};v&&(Qp=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 Pf(r){if(fo[r])return fo[r];if(!ss[r])return r;var a=ss[r],f;for(f in a)if(a.hasOwnProperty(f)&&f in Qp)return fo[r]=a[f];return r}var Fv=Pf("animationend"),Vv=Pf("animationiteration"),jv=Pf("animationstart"),Uv=Pf("transitionend"),Xp=new Map,Nf="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(r,a){Xp.set(r,a),p(a,[r])}for(var Kp=0;Kp<Nf.length;Kp++){var us=Nf[Kp],jb=us.toLowerCase(),Ub=us[0].toUpperCase()+us.slice(1);ka(jb,"on"+Ub)}ka(Fv,"onAnimationEnd"),ka(Vv,"onAnimationIteration"),ka(jv,"onAnimationStart"),ka("dblclick","onDoubleClick"),ka("focusin","onFocus"),ka("focusout","onBlur"),ka(Uv,"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 tc="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(" "),Zp=new Set("cancel close invalid load scroll toggle".split(" ").concat(tc));function Df(r,a,f){var m=r.type||"unknown-event";r.currentTarget=f,Lt(m,a,void 0,r),r.currentTarget=null}function cs(r,a){a=(a&4)!==0;for(var f=0;f<r.length;f++){var m=r[f],x=m.event;m=m.listeners;e:{var E=void 0;if(a)for(var I=m.length-1;0<=I;I--){var te=m[I],le=te.instance,Le=te.currentTarget;if(te=te.listener,le!==E&&x.isPropagationStopped())break e;Df(x,te,Le),E=le}else for(I=0;I<m.length;I++){if(te=m[I],le=te.instance,Le=te.currentTarget,te=te.listener,le!==E&&x.isPropagationStopped())break e;Df(x,te,Le),E=le}}}if(an)throw r=ne,an=!1,ne=null,r}function _n(r,a){var f=a[ac];f===void 0&&(f=a[ac]=new Set);var m=r+"__bubble";f.has(m)||(Bv(a,r,2,!1),f.add(m))}function Mf(r,a,f){var m=0;a&&(m|=4),Bv(f,r,m,a)}var Lf="_reactListening"+Math.random().toString(36).slice(2);function nu(r){if(!r[Lf]){r[Lf]=!0,s.forEach(function(f){f!=="selectionchange"&&(Zp.has(f)||Mf(f,!1,r),Mf(f,!0,r))});var a=r.nodeType===9?r:r.ownerDocument;a===null||a[Lf]||(a[Lf]=!0,Mf("selectionchange",!1,a))}}function Bv(r,a,f,m){switch(bf(a)){case 1:var x=yv;break;case 4:x=gv;break;default:x=yf}f=x.bind(null,a,f,r),x=void 0,!fn||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(x=!0),m?x!==void 0?r.addEventListener(a,f,{capture:!0,passive:x}):r.addEventListener(a,f,!0):x!==void 0?r.addEventListener(a,f,{passive:x}):r.addEventListener(a,f,!1)}function _f(r,a,f,m,x){var E=m;if((a&1)===0&&(a&2)===0&&m!==null)e:for(;;){if(m===null)return;var I=m.tag;if(I===3||I===4){var te=m.stateNode.containerInfo;if(te===x||te.nodeType===8&&te.parentNode===x)break;if(I===4)for(I=m.return;I!==null;){var le=I.tag;if((le===3||le===4)&&(le=I.stateNode.containerInfo,le===x||le.nodeType===8&&le.parentNode===x))return;I=I.return}for(;te!==null;){if(I=ds(te),I===null)return;if(le=I.tag,le===5||le===6){m=E=I;continue e}te=te.parentNode}}m=m.return}Tt(function(){var Le=E,Ke=j(f),et=[];e:{var Qe=Xp.get(r);if(Qe!==void 0){var wt=Ef,kt=r;switch(r){case"keypress":if(Sf(f)===0)break e;case"keydown":case"keyup":wt=jp;break;case"focusin":kt="focus",wt=Tf;break;case"focusout":kt="blur",wt=Tf;break;case"beforeblur":case"afterblur":wt=Tf;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=Mp;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=wv;break;case Fv:case Vv:case jv:wt=kb;break;case Uv:wt=Bi;break;case"scroll":wt=Ob;break;case"wheel":wt=zi;break;case"copy":case"cut":case"paste":wt=bv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":wt=Cv}var Dt=(a&4)!==0,kr=!Dt&&r==="scroll",Re=Dt?Qe!==null?Qe+"Capture":null:Qe;Dt=[];for(var pe=Le,Pe;pe!==null;){Pe=pe;var Ze=Pe.stateNode;if(Pe.tag===5&&Ze!==null&&(Pe=Ze,Re!==null&&(Ze=$t(pe,Re),Ze!=null&&Dt.push(ru(pe,Ze,Pe)))),kr)break;pe=pe.return}0<Dt.length&&(Qe=new wt(Qe,kt,null,f,Ke),et.push({event:Qe,listeners:Dt}))}}if((a&7)===0){e:{if(Qe=r==="mouseover"||r==="pointerover",wt=r==="mouseout"||r==="pointerout",Qe&&f!==Ye&&(kt=f.relatedTarget||f.fromElement)&&(ds(kt)||kt[Hi]))break e;if((wt||Qe)&&(Qe=Ke.window===Ke?Ke:(Qe=Ke.ownerDocument)?Qe.defaultView||Qe.parentWindow:window,wt?(kt=f.relatedTarget||f.toElement,wt=Le,kt=kt?ds(kt):null,kt!==null&&(kr=At(kt),kt!==kr||kt.tag!==5&&kt.tag!==6)&&(kt=null)):(wt=null,kt=Le),wt!==kt)){if(Dt=Mp,Ze="onMouseLeave",Re="onMouseEnter",pe="mouse",(r==="pointerout"||r==="pointerover")&&(Dt=Cv,Ze="onPointerLeave",Re="onPointerEnter",pe="pointer"),kr=wt==null?Qe:Ka(wt),Pe=kt==null?Qe:Ka(kt),Qe=new Dt(Ze,pe+"leave",wt,f,Ke),Qe.target=kr,Qe.relatedTarget=Pe,Ze=null,ds(Ke)===Le&&(Dt=new Dt(Re,pe+"enter",kt,f,Ke),Dt.target=Pe,Dt.relatedTarget=kr,Ze=Dt),kr=Ze,wt&&kt)t:{for(Dt=wt,Re=kt,pe=0,Pe=Dt;Pe;Pe=bl(Pe))pe++;for(Pe=0,Ze=Re;Ze;Ze=bl(Ze))Pe++;for(;0<pe-Pe;)Dt=bl(Dt),pe--;for(;0<Pe-pe;)Re=bl(Re),Pe--;for(;pe--;){if(Dt===Re||Re!==null&&Dt===Re.alternate)break t;Dt=bl(Dt),Re=bl(Re)}Dt=null}else Dt=null;wt!==null&&zv(et,Qe,wt,Dt,!1),kt!==null&&kr!==null&&zv(et,kr,kt,Dt,!0)}}e:{if(Qe=Le?Ka(Le):window,wt=Qe.nodeName&&Qe.nodeName.toLowerCase(),wt==="select"||wt==="input"&&Qe.type==="file")var Pt=Lb;else if(Av(Qe))if(Pv)Pt=_v;else{Pt=Lv;var Bt=_b}else(wt=Qe.nodeName)&&wt.toLowerCase()==="input"&&(Qe.type==="checkbox"||Qe.type==="radio")&&(Pt=Ib);if(Pt&&(Pt=Pt(r,Le))){zp(et,Pt,f,Ke);break e}Bt&&Bt(r,Qe,Le),r==="focusout"&&(Bt=Qe._wrapperState)&&Bt.controlled&&Qe.type==="number"&&vt(Qe,"number",Qe.value)}switch(Bt=Le?Ka(Le):window,r){case"focusin":(Av(Bt)||Bt.contentEditable==="true")&&(tu=Bt,Wp=Le,ec=null);break;case"focusout":ec=Wp=tu=null;break;case"mousedown":Yp=!0;break;case"contextmenu":case"mouseup":case"dragend":Yp=!1,qp(et,f,Ke);break;case"selectionchange":if(Vb)break;case"keydown":case"keyup":qp(et,f,Ke)}var Gt;if(Zs)e:{switch(r){case"compositionstart":var Kt="onCompositionStart";break e;case"compositionend":Kt="onCompositionEnd";break e;case"compositionupdate":Kt="onCompositionUpdate";break e}Kt=void 0}else Js?Rv(r,f)&&(Kt="onCompositionEnd"):r==="keydown"&&f.keyCode===229&&(Kt="onCompositionStart");Kt&&(Ev&&f.locale!=="ko"&&(Js||Kt!=="onCompositionStart"?Kt==="onCompositionEnd"&&Js&&(Gt=Np()):(ji=Ke,xf="value"in ji?ji.value:ji.textContent,Js=!0)),Bt=nc(Le,Kt),0<Bt.length&&(Kt=new Ip(Kt,r,null,f,Ke),et.push({event:Kt,listeners:Bt}),Gt?Kt.data=Gt:(Gt=Ov(f),Gt!==null&&(Kt.data=Gt)))),(Gt=Xu?$v(r,f):Db(r,f))&&(Le=nc(Le,"onBeforeInput"),0<Le.length&&(Ke=new Ip("onBeforeInput","beforeinput",null,f,Ke),et.push({event:Ke,listeners:Le}),Ke.data=Gt))}cs(et,a)})}function ru(r,a,f){return{instance:r,listener:a,currentTarget:f}}function nc(r,a){for(var f=a+"Capture",m=[];r!==null;){var x=r,E=x.stateNode;x.tag===5&&E!==null&&(x=E,E=$t(r,f),E!=null&&m.unshift(ru(r,E,x)),E=$t(r,a),E!=null&&m.push(ru(r,E,x))),r=r.return}return m}function bl(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function zv(r,a,f,m,x){for(var E=a._reactName,I=[];f!==null&&f!==m;){var te=f,le=te.alternate,Le=te.stateNode;if(le!==null&&le===m)break;te.tag===5&&Le!==null&&(te=Le,x?(le=$t(f,E),le!=null&&I.unshift(ru(f,le,te))):x||(le=$t(f,E),le!=null&&I.push(ru(f,le,te)))),f=f.return}I.length!==0&&r.push({event:a,listeners:I})}var Hv=/\r\n?/g,Bb=/\u0000|\uFFFD/g;function Gv(r){return(typeof r=="string"?r:""+r).replace(Hv,`
|
|
2704
|
-
`).replace(Bb,"")}function If(r,a,f){if(a=Gv(a),Gv(r)!==a&&f)throw Error(i(425))}function xl(){}var rc=null,fs=null;function Ff(r,a){return r==="textarea"||r==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Vf=typeof setTimeout=="function"?setTimeout:void 0,Jp=typeof clearTimeout=="function"?clearTimeout:void 0,Wv=typeof Promise=="function"?Promise:void 0,ou=typeof queueMicrotask=="function"?queueMicrotask:typeof Wv<"u"?function(r){return Wv.resolve(null).then(r).catch(jf)}:Vf;function jf(r){setTimeout(function(){throw r})}function au(r,a){var f=a,m=0;do{var x=f.nextSibling;if(r.removeChild(f),x&&x.nodeType===8)if(f=x.data,f==="/$"){if(m===0){r.removeChild(x),yl(a);return}m--}else f!=="$"&&f!=="$?"&&f!=="$!"||m++;f=x}while(f);yl(a)}function hi(r){for(;r!=null;r=r.nextSibling){var a=r.nodeType;if(a===1||a===3)break;if(a===8){if(a=r.data,a==="$"||a==="$!"||a==="$?")break;if(a==="/$")return null}}return r}function Yv(r){r=r.previousSibling;for(var a=0;r;){if(r.nodeType===8){var f=r.data;if(f==="$"||f==="$!"||f==="$?"){if(a===0)return r;a--}else f==="/$"&&a++}r=r.previousSibling}return null}var Sl=Math.random().toString(36).slice(2),mi="__reactFiber$"+Sl,oc="__reactProps$"+Sl,Hi="__reactContainer$"+Sl,ac="__reactEvents$"+Sl,iu="__reactListeners$"+Sl,zb="__reactHandles$"+Sl;function ds(r){var a=r[mi];if(a)return a;for(var f=r.parentNode;f;){if(a=f[Hi]||f[mi]){if(f=a.alternate,a.child!==null||f!==null&&f.child!==null)for(r=Yv(r);r!==null;){if(f=r[mi])return f;r=Yv(r)}return a}r=f,f=r.parentNode}return null}function Ft(r){return r=r[mi]||r[Hi],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function Ka(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(i(33))}function pr(r){return r[oc]||null}var xn=[],Pa=-1;function Na(r){return{current:r}}function er(r){0>Pa||(r.current=xn[Pa],xn[Pa]=null,Pa--)}function _t(r,a){Pa++,xn[Pa]=r.current,r.current=a}var To={},xr=Na(To),Hr=Na(!1),Zo=To;function Jo(r,a){var f=r.type.contextTypes;if(!f)return To;var m=r.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===a)return m.__reactInternalMemoizedMaskedChildContext;var x={},E;for(E in f)x[E]=a[E];return m&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=a,r.__reactInternalMemoizedMaskedChildContext=x),x}function Dr(r){return r=r.childContextTypes,r!=null}function lu(){er(Hr),er(xr)}function qv(r,a,f){if(xr.current!==To)throw Error(i(168));_t(xr,a),_t(Hr,f)}function ic(r,a,f){var m=r.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(r)||"Unknown",x));return oe({},f,m)}function Jr(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||To,Zo=xr.current,_t(xr,r),_t(Hr,Hr.current),!0}function Uf(r,a,f){var m=r.stateNode;if(!m)throw Error(i(169));f?(r=ic(r,a,Zo),m.__reactInternalMemoizedMergedChildContext=r,er(Hr),er(xr),_t(xr,r)):er(Hr),_t(Hr,f)}var vi=null,su=!1,Gi=!1;function Bf(r){vi===null?vi=[r]:vi.push(r)}function Cl(r){su=!0,Bf(r)}function yi(){if(!Gi&&vi!==null){Gi=!0;var r=0,a=Fn;try{var f=vi;for(Fn=1;r<f.length;r++){var m=f[r];do m=m(!0);while(m!==null)}vi=null,su=!1}catch(x){throw vi!==null&&(vi=vi.slice(r+1)),ar(Qa,yi),x}finally{Fn=a,Gi=!1}}return null}var wl=[],El=0,Tl=null,Wi=0,Mr=[],Da=0,ya=null,gi=1,bi="";function ps(r,a){wl[El++]=Wi,wl[El++]=Tl,Tl=r,Wi=a}function Qv(r,a,f){Mr[Da++]=gi,Mr[Da++]=bi,Mr[Da++]=ya,ya=r;var m=gi;r=bi;var x=32-Er(m)-1;m&=~(1<<x),f+=1;var E=32-Er(a)+x;if(30<E){var I=x-x%5;E=(m&(1<<I)-1).toString(32),m>>=I,x-=I,gi=1<<32-Er(a)+x|f<<x|m,bi=E+r}else gi=1<<E|f<<x|m,bi=r}function zf(r){r.return!==null&&(ps(r,1),Qv(r,1,0))}function Hf(r){for(;r===Tl;)Tl=wl[--El],wl[El]=null,Wi=wl[--El],wl[El]=null;for(;r===ya;)ya=Mr[--Da],Mr[Da]=null,bi=Mr[--Da],Mr[Da]=null,gi=Mr[--Da],Mr[Da]=null}var ea=null,ta=null,cr=!1,Ma=null;function eh(r,a){var f=Va(5,null,null,0);f.elementType="DELETED",f.stateNode=a,f.return=r,a=r.deletions,a===null?(r.deletions=[f],r.flags|=16):a.push(f)}function Xv(r,a){switch(r.tag){case 5:var f=r.type;return a=a.nodeType!==1||f.toLowerCase()!==a.nodeName.toLowerCase()?null:a,a!==null?(r.stateNode=a,ea=r,ta=hi(a.firstChild),!0):!1;case 6:return a=r.pendingProps===""||a.nodeType!==3?null:a,a!==null?(r.stateNode=a,ea=r,ta=null,!0):!1;case 13:return a=a.nodeType!==8?null:a,a!==null?(f=ya!==null?{id:gi,overflow:bi}:null,r.memoizedState={dehydrated:a,treeContext:f,retryLane:1073741824},f=Va(18,null,null,0),f.stateNode=a,f.return=r,r.child=f,ea=r,ta=null,!0):!1;default:return!1}}function th(r){return(r.mode&1)!==0&&(r.flags&128)===0}function nh(r){if(cr){var a=ta;if(a){var f=a;if(!Xv(r,a)){if(th(r))throw Error(i(418));a=hi(f.nextSibling);var m=ea;a&&Xv(r,a)?eh(m,f):(r.flags=r.flags&-4097|2,cr=!1,ea=r)}}else{if(th(r))throw Error(i(418));r.flags=r.flags&-4097|2,cr=!1,ea=r}}}function Gr(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;ea=r}function Gf(r){if(r!==ea)return!1;if(!cr)return Gr(r),cr=!0,!1;var a;if((a=r.tag!==3)&&!(a=r.tag!==5)&&(a=r.type,a=a!=="head"&&a!=="body"&&!Ff(r.type,r.memoizedProps)),a&&(a=ta)){if(th(r))throw lc(),Error(i(418));for(;a;)eh(r,a),a=hi(a.nextSibling)}if(Gr(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(i(317));e:{for(r=r.nextSibling,a=0;r;){if(r.nodeType===8){var f=r.data;if(f==="/$"){if(a===0){ta=hi(r.nextSibling);break e}a--}else f!=="$"&&f!=="$!"&&f!=="$?"||a++}r=r.nextSibling}ta=null}}else ta=ea?hi(r.stateNode.nextSibling):null;return!0}function lc(){for(var r=ta;r;)r=hi(r.nextSibling)}function Rl(){ta=ea=null,cr=!1}function Yi(r){Ma===null?Ma=[r]:Ma.push(r)}var Hb=_.ReactCurrentBatchConfig;function hs(r,a,f){if(r=f.ref,r!==null&&typeof r!="function"&&typeof r!="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,r));var x=m,E=""+r;return a!==null&&a.ref!==null&&typeof a.ref=="function"&&a.ref._stringRef===E?a.ref:(a=function(I){var te=x.refs;I===null?delete te[E]:te[E]=I},a._stringRef=E,a)}if(typeof r!="string")throw Error(i(284));if(!f._owner)throw Error(i(290,r))}return r}function Wf(r,a){throw r=Object.prototype.toString.call(a),Error(i(31,r==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":r))}function Kv(r){var a=r._init;return a(r._payload)}function ms(r){function a(Re,pe){if(r){var Pe=Re.deletions;Pe===null?(Re.deletions=[pe],Re.flags|=16):Pe.push(pe)}}function f(Re,pe){if(!r)return null;for(;pe!==null;)a(Re,pe),pe=pe.sibling;return null}function m(Re,pe){for(Re=new Map;pe!==null;)pe.key!==null?Re.set(pe.key,pe):Re.set(pe.index,pe),pe=pe.sibling;return Re}function x(Re,pe){return Re=Ml(Re,pe),Re.index=0,Re.sibling=null,Re}function E(Re,pe,Pe){return Re.index=Pe,r?(Pe=Re.alternate,Pe!==null?(Pe=Pe.index,Pe<pe?(Re.flags|=2,pe):Pe):(Re.flags|=2,pe)):(Re.flags|=1048576,pe)}function I(Re){return r&&Re.alternate===null&&(Re.flags|=2),Re}function te(Re,pe,Pe,Ze){return pe===null||pe.tag!==6?(pe=Dh(Pe,Re.mode,Ze),pe.return=Re,pe):(pe=x(pe,Pe),pe.return=Re,pe)}function le(Re,pe,Pe,Ze){var Pt=Pe.type;return Pt===X?Ke(Re,pe,Pe.props.children,Ze,Pe.key):pe!==null&&(pe.elementType===Pt||typeof Pt=="object"&&Pt!==null&&Pt.$$typeof===ge&&Kv(Pt)===pe.type)?(Ze=x(pe,Pe.props),Ze.ref=hs(Re,pe,Pe),Ze.return=Re,Ze):(Ze=Ic(Pe.type,Pe.key,Pe.props,null,Re.mode,Ze),Ze.ref=hs(Re,pe,Pe),Ze.return=Re,Ze)}function Le(Re,pe,Pe,Ze){return pe===null||pe.tag!==4||pe.stateNode.containerInfo!==Pe.containerInfo||pe.stateNode.implementation!==Pe.implementation?(pe=Td(Pe,Re.mode,Ze),pe.return=Re,pe):(pe=x(pe,Pe.children||[]),pe.return=Re,pe)}function Ke(Re,pe,Pe,Ze,Pt){return pe===null||pe.tag!==7?(pe=Ji(Pe,Re.mode,Ze,Pt),pe.return=Re,pe):(pe=x(pe,Pe),pe.return=Re,pe)}function et(Re,pe,Pe){if(typeof pe=="string"&&pe!==""||typeof pe=="number")return pe=Dh(""+pe,Re.mode,Pe),pe.return=Re,pe;if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case N:return Pe=Ic(pe.type,pe.key,pe.props,null,Re.mode,Pe),Pe.ref=hs(Re,null,pe),Pe.return=Re,Pe;case z:return pe=Td(pe,Re.mode,Pe),pe.return=Re,pe;case ge:var Ze=pe._init;return et(Re,Ze(pe._payload),Pe)}if(gt(pe)||ce(pe))return pe=Ji(pe,Re.mode,Pe,null),pe.return=Re,pe;Wf(Re,pe)}return null}function Qe(Re,pe,Pe,Ze){var Pt=pe!==null?pe.key:null;if(typeof Pe=="string"&&Pe!==""||typeof Pe=="number")return Pt!==null?null:te(Re,pe,""+Pe,Ze);if(typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case N:return Pe.key===Pt?le(Re,pe,Pe,Ze):null;case z:return Pe.key===Pt?Le(Re,pe,Pe,Ze):null;case ge:return Pt=Pe._init,Qe(Re,pe,Pt(Pe._payload),Ze)}if(gt(Pe)||ce(Pe))return Pt!==null?null:Ke(Re,pe,Pe,Ze,null);Wf(Re,Pe)}return null}function wt(Re,pe,Pe,Ze,Pt){if(typeof Ze=="string"&&Ze!==""||typeof Ze=="number")return Re=Re.get(Pe)||null,te(pe,Re,""+Ze,Pt);if(typeof Ze=="object"&&Ze!==null){switch(Ze.$$typeof){case N:return Re=Re.get(Ze.key===null?Pe:Ze.key)||null,le(pe,Re,Ze,Pt);case z:return Re=Re.get(Ze.key===null?Pe:Ze.key)||null,Le(pe,Re,Ze,Pt);case ge:var Bt=Ze._init;return wt(Re,pe,Pe,Bt(Ze._payload),Pt)}if(gt(Ze)||ce(Ze))return Re=Re.get(Pe)||null,Ke(pe,Re,Ze,Pt,null);Wf(pe,Ze)}return null}function kt(Re,pe,Pe,Ze){for(var Pt=null,Bt=null,Gt=pe,Kt=pe=0,no=null;Gt!==null&&Kt<Pe.length;Kt++){Gt.index>Kt?(no=Gt,Gt=null):no=Gt.sibling;var kn=Qe(Re,Gt,Pe[Kt],Ze);if(kn===null){Gt===null&&(Gt=no);break}r&&Gt&&kn.alternate===null&&a(Re,Gt),pe=E(kn,pe,Kt),Bt===null?Pt=kn:Bt.sibling=kn,Bt=kn,Gt=no}if(Kt===Pe.length)return f(Re,Gt),cr&&ps(Re,Kt),Pt;if(Gt===null){for(;Kt<Pe.length;Kt++)Gt=et(Re,Pe[Kt],Ze),Gt!==null&&(pe=E(Gt,pe,Kt),Bt===null?Pt=Gt:Bt.sibling=Gt,Bt=Gt);return cr&&ps(Re,Kt),Pt}for(Gt=m(Re,Gt);Kt<Pe.length;Kt++)no=wt(Gt,Re,Kt,Pe[Kt],Ze),no!==null&&(r&&no.alternate!==null&&Gt.delete(no.key===null?Kt:no.key),pe=E(no,pe,Kt),Bt===null?Pt=no:Bt.sibling=no,Bt=no);return r&&Gt.forEach(function(Il){return a(Re,Il)}),cr&&ps(Re,Kt),Pt}function Dt(Re,pe,Pe,Ze){var Pt=ce(Pe);if(typeof Pt!="function")throw Error(i(150));if(Pe=Pt.call(Pe),Pe==null)throw Error(i(151));for(var Bt=Pt=null,Gt=pe,Kt=pe=0,no=null,kn=Pe.next();Gt!==null&&!kn.done;Kt++,kn=Pe.next()){Gt.index>Kt?(no=Gt,Gt=null):no=Gt.sibling;var Il=Qe(Re,Gt,kn.value,Ze);if(Il===null){Gt===null&&(Gt=no);break}r&&Gt&&Il.alternate===null&&a(Re,Gt),pe=E(Il,pe,Kt),Bt===null?Pt=Il:Bt.sibling=Il,Bt=Il,Gt=no}if(kn.done)return f(Re,Gt),cr&&ps(Re,Kt),Pt;if(Gt===null){for(;!kn.done;Kt++,kn=Pe.next())kn=et(Re,kn.value,Ze),kn!==null&&(pe=E(kn,pe,Kt),Bt===null?Pt=kn:Bt.sibling=kn,Bt=kn);return cr&&ps(Re,Kt),Pt}for(Gt=m(Re,Gt);!kn.done;Kt++,kn=Pe.next())kn=wt(Gt,Re,Kt,kn.value,Ze),kn!==null&&(r&&kn.alternate!==null&&Gt.delete(kn.key===null?Kt:kn.key),pe=E(kn,pe,Kt),Bt===null?Pt=kn:Bt.sibling=kn,Bt=kn);return r&&Gt.forEach(function(Dy){return a(Re,Dy)}),cr&&ps(Re,Kt),Pt}function kr(Re,pe,Pe,Ze){if(typeof Pe=="object"&&Pe!==null&&Pe.type===X&&Pe.key===null&&(Pe=Pe.props.children),typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case N:e:{for(var Pt=Pe.key,Bt=pe;Bt!==null;){if(Bt.key===Pt){if(Pt=Pe.type,Pt===X){if(Bt.tag===7){f(Re,Bt.sibling),pe=x(Bt,Pe.props.children),pe.return=Re,Re=pe;break e}}else if(Bt.elementType===Pt||typeof Pt=="object"&&Pt!==null&&Pt.$$typeof===ge&&Kv(Pt)===Bt.type){f(Re,Bt.sibling),pe=x(Bt,Pe.props),pe.ref=hs(Re,Bt,Pe),pe.return=Re,Re=pe;break e}f(Re,Bt);break}else a(Re,Bt);Bt=Bt.sibling}Pe.type===X?(pe=Ji(Pe.props.children,Re.mode,Ze,Pe.key),pe.return=Re,Re=pe):(Ze=Ic(Pe.type,Pe.key,Pe.props,null,Re.mode,Ze),Ze.ref=hs(Re,pe,Pe),Ze.return=Re,Re=Ze)}return I(Re);case z:e:{for(Bt=Pe.key;pe!==null;){if(pe.key===Bt)if(pe.tag===4&&pe.stateNode.containerInfo===Pe.containerInfo&&pe.stateNode.implementation===Pe.implementation){f(Re,pe.sibling),pe=x(pe,Pe.children||[]),pe.return=Re,Re=pe;break e}else{f(Re,pe);break}else a(Re,pe);pe=pe.sibling}pe=Td(Pe,Re.mode,Ze),pe.return=Re,Re=pe}return I(Re);case ge:return Bt=Pe._init,kr(Re,pe,Bt(Pe._payload),Ze)}if(gt(Pe))return kt(Re,pe,Pe,Ze);if(ce(Pe))return Dt(Re,pe,Pe,Ze);Wf(Re,Pe)}return typeof Pe=="string"&&Pe!==""||typeof Pe=="number"?(Pe=""+Pe,pe!==null&&pe.tag===6?(f(Re,pe.sibling),pe=x(pe,Pe),pe.return=Re,Re=pe):(f(Re,pe),pe=Dh(Pe,Re.mode,Ze),pe.return=Re,Re=pe),I(Re)):f(Re,pe)}return kr}var Rr=ms(!0),bt=ms(!1),ga=Na(null),na=null,uu=null,rh=null;function oh(){rh=uu=na=null}function ah(r){var a=ga.current;er(ga),r._currentValue=a}function ih(r,a,f){for(;r!==null;){var m=r.alternate;if((r.childLanes&a)!==a?(r.childLanes|=a,m!==null&&(m.childLanes|=a)):m!==null&&(m.childLanes&a)!==a&&(m.childLanes|=a),r===f)break;r=r.return}}function hr(r,a){na=r,rh=uu=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&a)!==0&&(_r=!0),r.firstContext=null)}function La(r){var a=r._currentValue;if(rh!==r)if(r={context:r,memoizedValue:a,next:null},uu===null){if(na===null)throw Error(i(308));uu=r,na.dependencies={lanes:0,firstContext:r}}else uu=uu.next=r;return a}var vs=null;function lh(r){vs===null?vs=[r]:vs.push(r)}function sh(r,a,f,m){var x=a.interleaved;return x===null?(f.next=f,lh(a)):(f.next=x.next,x.next=f),a.interleaved=f,ba(r,m)}function ba(r,a){r.lanes|=a;var f=r.alternate;for(f!==null&&(f.lanes|=a),f=r,r=r.return;r!==null;)r.childLanes|=a,f=r.alternate,f!==null&&(f.childLanes|=a),f=r,r=r.return;return f.tag===3?f.stateNode:null}var xa=!1;function uh(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Zv(r,a){r=r.updateQueue,a.updateQueue===r&&(a.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function qi(r,a){return{eventTime:r,lane:a,tag:0,payload:null,callback:null,next:null}}function Ol(r,a,f){var m=r.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(r,f)}return x=m.interleaved,x===null?(a.next=a,lh(m)):(a.next=x.next,x.next=a),m.interleaved=a,ba(r,f)}function Yf(r,a,f){if(a=a.updateQueue,a!==null&&(a=a.shared,(f&4194240)!==0)){var m=a.lanes;m&=r.pendingLanes,f|=m,a.lanes=f,vf(r,f)}}function Jv(r,a){var f=r.updateQueue,m=r.alternate;if(m!==null&&(m=m.updateQueue,f===m)){var x=null,E=null;if(f=f.firstBaseUpdate,f!==null){do{var I={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};E===null?x=E=I:E=E.next=I,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},r.updateQueue=f;return}r=f.lastBaseUpdate,r===null?f.firstBaseUpdate=a:r.next=a,f.lastBaseUpdate=a}function sc(r,a,f,m){var x=r.updateQueue;xa=!1;var E=x.firstBaseUpdate,I=x.lastBaseUpdate,te=x.shared.pending;if(te!==null){x.shared.pending=null;var le=te,Le=le.next;le.next=null,I===null?E=Le:I.next=Le,I=le;var Ke=r.alternate;Ke!==null&&(Ke=Ke.updateQueue,te=Ke.lastBaseUpdate,te!==I&&(te===null?Ke.firstBaseUpdate=Le:te.next=Le,Ke.lastBaseUpdate=le))}if(E!==null){var et=x.baseState;I=0,Ke=Le=le=null,te=E;do{var Qe=te.lane,wt=te.eventTime;if((m&Qe)===Qe){Ke!==null&&(Ke=Ke.next={eventTime:wt,lane:0,tag:te.tag,payload:te.payload,callback:te.callback,next:null});e:{var kt=r,Dt=te;switch(Qe=a,wt=f,Dt.tag){case 1:if(kt=Dt.payload,typeof kt=="function"){et=kt.call(wt,et,Qe);break e}et=kt;break e;case 3:kt.flags=kt.flags&-65537|128;case 0:if(kt=Dt.payload,Qe=typeof kt=="function"?kt.call(wt,et,Qe):kt,Qe==null)break e;et=oe({},et,Qe);break e;case 2:xa=!0}}te.callback!==null&&te.lane!==0&&(r.flags|=64,Qe=x.effects,Qe===null?x.effects=[te]:Qe.push(te))}else wt={eventTime:wt,lane:Qe,tag:te.tag,payload:te.payload,callback:te.callback,next:null},Ke===null?(Le=Ke=wt,le=et):Ke=Ke.next=wt,I|=Qe;if(te=te.next,te===null){if(te=x.shared.pending,te===null)break;Qe=te,te=Qe.next,Qe.next=null,x.lastBaseUpdate=Qe,x.shared.pending=null}}while(!0);if(Ke===null&&(le=et),x.baseState=le,x.firstBaseUpdate=Le,x.lastBaseUpdate=Ke,a=x.shared.interleaved,a!==null){x=a;do I|=x.lane,x=x.next;while(x!==a)}else E===null&&(x.shared.lanes=0);Ei|=I,r.lanes=I,r.memoizedState=et}}function ch(r,a,f){if(r=a.effects,a.effects=null,r!==null)for(a=0;a<r.length;a++){var m=r[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 uc={},xi=Na(uc),cc=Na(uc),fc=Na(uc);function ys(r){if(r===uc)throw Error(i(174));return r}function fh(r,a){switch(_t(fc,a),_t(cc,r),_t(xi,uc),r=a.nodeType,r){case 9:case 11:a=(a=a.documentElement)?a.namespaceURI:Tn(null,"");break;default:r=r===8?a.parentNode:a,a=r.namespaceURI||null,r=r.tagName,a=Tn(a,r)}er(xi),_t(xi,a)}function gs(){er(xi),er(cc),er(fc)}function ey(r){ys(fc.current);var a=ys(xi.current),f=Tn(a,r.type);a!==f&&(_t(cc,r),_t(xi,f))}function qf(r){cc.current===r&&(er(xi),er(cc))}var mr=Na(0);function Qf(r){for(var a=r;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===r)break;for(;a.sibling===null;){if(a.return===null||a.return===r)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var dc=[];function Vt(){for(var r=0;r<dc.length;r++)dc[r]._workInProgressVersionPrimary=null;dc.length=0}var hn=_.ReactCurrentDispatcher,$n=_.ReactCurrentBatchConfig,zn=0,An=null,Lr=null,eo=null,Xf=!1,pc=!1,bs=0,qe=0;function En(){throw Error(i(321))}function qt(r,a){if(a===null)return!1;for(var f=0;f<a.length&&f<r.length;f++)if(!Xa(r[f],a[f]))return!1;return!0}function $l(r,a,f,m,x,E){if(zn=E,An=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,hn.current=r===null||r.memoizedState===null?fd:bc,r=f(m,x),pc){E=0;do{if(pc=!1,bs=0,25<=E)throw Error(i(301));E+=1,eo=Lr=null,a.updateQueue=null,hn.current=dd,r=f(m,x)}while(pc)}if(hn.current=Es,a=Lr!==null&&Lr.next!==null,zn=0,eo=Lr=An=null,Xf=!1,a)throw Error(i(300));return r}function Za(){var r=bs!==0;return bs=0,r}function Ro(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return eo===null?An.memoizedState=eo=r:eo=eo.next=r,eo}function Or(){if(Lr===null){var r=An.alternate;r=r!==null?r.memoizedState:null}else r=Lr.next;var a=eo===null?An.memoizedState:eo.next;if(a!==null)eo=a,Lr=r;else{if(r===null)throw Error(i(310));Lr=r,r={memoizedState:Lr.memoizedState,baseState:Lr.baseState,baseQueue:Lr.baseQueue,queue:Lr.queue,next:null},eo===null?An.memoizedState=eo=r:eo=eo.next=r}return eo}function Qi(r,a){return typeof a=="function"?a(r):a}function Al(r){var a=Or(),f=a.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=r;var m=Lr,x=m.baseQueue,E=f.pending;if(E!==null){if(x!==null){var I=x.next;x.next=E.next,E.next=I}m.baseQueue=x=E,f.pending=null}if(x!==null){E=x.next,m=m.baseState;var te=I=null,le=null,Le=E;do{var Ke=Le.lane;if((zn&Ke)===Ke)le!==null&&(le=le.next={lane:0,action:Le.action,hasEagerState:Le.hasEagerState,eagerState:Le.eagerState,next:null}),m=Le.hasEagerState?Le.eagerState:r(m,Le.action);else{var et={lane:Ke,action:Le.action,hasEagerState:Le.hasEagerState,eagerState:Le.eagerState,next:null};le===null?(te=le=et,I=m):le=le.next=et,An.lanes|=Ke,Ei|=Ke}Le=Le.next}while(Le!==null&&Le!==E);le===null?I=m:le.next=te,Xa(m,a.memoizedState)||(_r=!0),a.memoizedState=m,a.baseState=I,a.baseQueue=le,f.lastRenderedState=m}if(r=f.interleaved,r!==null){x=r;do E=x.lane,An.lanes|=E,Ei|=E,x=x.next;while(x!==r)}else x===null&&(f.lanes=0);return[a.memoizedState,f.dispatch]}function xs(r){var a=Or(),f=a.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=r;var m=f.dispatch,x=f.pending,E=a.memoizedState;if(x!==null){f.pending=null;var I=x=x.next;do E=r(E,I.action),I=I.next;while(I!==x);Xa(E,a.memoizedState)||(_r=!0),a.memoizedState=E,a.baseQueue===null&&(a.baseState=E),f.lastRenderedState=E}return[E,m]}function Kf(){}function Zf(r,a){var f=An,m=Or(),x=a(),E=!Xa(m.memoizedState,x);if(E&&(m.memoizedState=x,_r=!0),m=m.queue,hc(td.bind(null,f,m,r),[r]),m.getSnapshot!==a||E||eo!==null&&eo.memoizedState.tag&1){if(f.flags|=2048,Ss(9,ed.bind(null,f,m,x,a),void 0,null),Wr===null)throw Error(i(349));(zn&30)!==0||Jf(f,a,x)}return x}function Jf(r,a,f){r.flags|=16384,r={getSnapshot:a,value:f},a=An.updateQueue,a===null?(a={lastEffect:null,stores:null},An.updateQueue=a,a.stores=[r]):(f=a.stores,f===null?a.stores=[r]:f.push(r))}function ed(r,a,f,m){a.value=f,a.getSnapshot=m,nd(a)&&rd(r)}function td(r,a,f){return f(function(){nd(a)&&rd(r)})}function nd(r){var a=r.getSnapshot;r=r.value;try{var f=a();return!Xa(r,f)}catch{return!0}}function rd(r){var a=ba(r,1);a!==null&&Mo(a,r,1,-1)}function od(r){var a=Ro();return typeof r=="function"&&(r=r()),a.memoizedState=a.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qi,lastRenderedState:r},a.queue=r,r=r.dispatch=ws.bind(null,An,r),[a.memoizedState,r]}function Ss(r,a,f,m){return r={tag:r,create:a,destroy:f,deps:m,next:null},a=An.updateQueue,a===null?(a={lastEffect:null,stores:null},An.updateQueue=a,a.lastEffect=r.next=r):(f=a.lastEffect,f===null?a.lastEffect=r.next=r:(m=f.next,f.next=r,r.next=m,a.lastEffect=r)),r}function ad(){return Or().memoizedState}function cu(r,a,f,m){var x=Ro();An.flags|=r,x.memoizedState=Ss(1|a,f,void 0,m===void 0?null:m)}function fu(r,a,f,m){var x=Or();m=m===void 0?null:m;var E=void 0;if(Lr!==null){var I=Lr.memoizedState;if(E=I.destroy,m!==null&&qt(m,I.deps)){x.memoizedState=Ss(a,f,E,m);return}}An.flags|=r,x.memoizedState=Ss(1|a,f,E,m)}function id(r,a){return cu(8390656,8,r,a)}function hc(r,a){return fu(2048,8,r,a)}function ld(r,a){return fu(4,2,r,a)}function mc(r,a){return fu(4,4,r,a)}function Cs(r,a){if(typeof a=="function")return r=r(),a(r),function(){a(null)};if(a!=null)return r=r(),a.current=r,function(){a.current=null}}function sd(r,a,f){return f=f!=null?f.concat([r]):null,fu(4,4,Cs.bind(null,a,r),f)}function vc(){}function ud(r,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=[r,a],r)}function cd(r,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]:(r=r(),f.memoizedState=[r,a],r)}function dh(r,a,f){return(zn&21)===0?(r.baseState&&(r.baseState=!1,_r=!0),r.memoizedState=f):(Xa(f,a)||(f=qo(),An.lanes|=f,Ei|=f,r.baseState=!0),a)}function yc(r,a){var f=Fn;Fn=f!==0&&4>f?f:4,r(!0);var m=$n.transition;$n.transition={};try{r(!1),a()}finally{Fn=f,$n.transition=m}}function ph(){return Or().memoizedState}function gc(r,a,f){var m=Ti(r);if(f={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null},ra(r))ty(a,f);else if(f=sh(r,a,f,m),f!==null){var x=Vr();Mo(f,r,m,x),Kn(f,a,m)}}function ws(r,a,f){var m=Ti(r),x={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null};if(ra(r))ty(a,x);else{var E=r.alternate;if(r.lanes===0&&(E===null||E.lanes===0)&&(E=a.lastRenderedReducer,E!==null))try{var I=a.lastRenderedState,te=E(I,f);if(x.hasEagerState=!0,x.eagerState=te,Xa(te,I)){var le=a.interleaved;le===null?(x.next=x,lh(a)):(x.next=le.next,le.next=x),a.interleaved=x;return}}catch{}finally{}f=sh(r,a,x,m),f!==null&&(x=Vr(),Mo(f,r,m,x),Kn(f,a,m))}}function ra(r){var a=r.alternate;return r===An||a!==null&&a===An}function ty(r,a){pc=Xf=!0;var f=r.pending;f===null?a.next=a:(a.next=f.next,f.next=a),r.pending=a}function Kn(r,a,f){if((f&4194240)!==0){var m=a.lanes;m&=r.pendingLanes,f|=m,a.lanes=f,vf(r,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},fd={readContext:La,useCallback:function(r,a){return Ro().memoizedState=[r,a===void 0?null:a],r},useContext:La,useEffect:id,useImperativeHandle:function(r,a,f){return f=f!=null?f.concat([r]):null,cu(4194308,4,Cs.bind(null,a,r),f)},useLayoutEffect:function(r,a){return cu(4194308,4,r,a)},useInsertionEffect:function(r,a){return cu(4,2,r,a)},useMemo:function(r,a){var f=Ro();return a=a===void 0?null:a,r=r(),f.memoizedState=[r,a],r},useReducer:function(r,a,f){var m=Ro();return a=f!==void 0?f(a):a,m.memoizedState=m.baseState=a,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:a},m.queue=r,r=r.dispatch=gc.bind(null,An,r),[m.memoizedState,r]},useRef:function(r){var a=Ro();return r={current:r},a.memoizedState=r},useState:od,useDebugValue:vc,useDeferredValue:function(r){return Ro().memoizedState=r},useTransition:function(){var r=od(!1),a=r[0];return r=yc.bind(null,r[1]),Ro().memoizedState=r,[a,r]},useMutableSource:function(){},useSyncExternalStore:function(r,a,f){var m=An,x=Ro();if(cr){if(f===void 0)throw Error(i(407));f=f()}else{if(f=a(),Wr===null)throw Error(i(349));(zn&30)!==0||Jf(m,a,f)}x.memoizedState=f;var E={value:f,getSnapshot:a};return x.queue=E,id(td.bind(null,m,E,r),[r]),m.flags|=2048,Ss(9,ed.bind(null,m,E,f,a),void 0,null),f},useId:function(){var r=Ro(),a=Wr.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=qe++,a=":"+a+"r"+f.toString(32)+":";return r.memoizedState=a},unstable_isNewReconciler:!1},bc={readContext:La,useCallback:ud,useContext:La,useEffect:hc,useImperativeHandle:sd,useInsertionEffect:ld,useLayoutEffect:mc,useMemo:cd,useReducer:Al,useRef:ad,useState:function(){return Al(Qi)},useDebugValue:vc,useDeferredValue:function(r){var a=Or();return dh(a,Lr.memoizedState,r)},useTransition:function(){var r=Al(Qi)[0],a=Or().memoizedState;return[r,a]},useMutableSource:Kf,useSyncExternalStore:Zf,useId:ph,unstable_isNewReconciler:!1},dd={readContext:La,useCallback:ud,useContext:La,useEffect:hc,useImperativeHandle:sd,useInsertionEffect:ld,useLayoutEffect:mc,useMemo:cd,useReducer:xs,useRef:ad,useState:function(){return xs(Qi)},useDebugValue:vc,useDeferredValue:function(r){var a=Or();return Lr===null?a.memoizedState=r:dh(a,Lr.memoizedState,r)},useTransition:function(){var r=xs(Qi)[0],a=Or().memoizedState;return[r,a]},useMutableSource:Kf,useSyncExternalStore:Zf,useId:ph,unstable_isNewReconciler:!1};function Ja(r,a){if(r&&r.defaultProps){a=oe({},a),r=r.defaultProps;for(var f in r)a[f]===void 0&&(a[f]=r[f]);return a}return a}function hh(r,a,f,m){a=r.memoizedState,f=f(m,a),f=f==null?a:oe({},a,f),r.memoizedState=f,r.lanes===0&&(r.updateQueue.baseState=f)}var pd={isMounted:function(r){return(r=r._reactInternals)?At(r)===r:!1},enqueueSetState:function(r,a,f){r=r._reactInternals;var m=Vr(),x=Ti(r),E=qi(m,x);E.payload=a,f!=null&&(E.callback=f),a=Ol(r,E,x),a!==null&&(Mo(a,r,x,m),Yf(a,r,x))},enqueueReplaceState:function(r,a,f){r=r._reactInternals;var m=Vr(),x=Ti(r),E=qi(m,x);E.tag=1,E.payload=a,f!=null&&(E.callback=f),a=Ol(r,E,x),a!==null&&(Mo(a,r,x,m),Yf(a,r,x))},enqueueForceUpdate:function(r,a){r=r._reactInternals;var f=Vr(),m=Ti(r),x=qi(f,m);x.tag=2,a!=null&&(x.callback=a),a=Ol(r,x,m),a!==null&&(Mo(a,r,m,f),Yf(a,r,m))}};function ny(r,a,f,m,x,E,I){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(m,E,I):a.prototype&&a.prototype.isPureReactComponent?!Zu(f,m)||!Zu(x,E):!0}function hd(r,a,f){var m=!1,x=To,E=a.contextType;return typeof E=="object"&&E!==null?E=La(E):(x=Dr(a)?Zo:xr.current,m=a.contextTypes,E=(m=m!=null)?Jo(r,x):To),a=new a(f,E),r.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=pd,r.stateNode=a,a._reactInternals=r,m&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=x,r.__reactInternalMemoizedMaskedChildContext=E),a}function ry(r,a,f,m){r=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(f,m),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(f,m),a.state!==r&&pd.enqueueReplaceState(a,a.state,null)}function xc(r,a,f,m){var x=r.stateNode;x.props=f,x.state=r.memoizedState,x.refs={},uh(r);var E=a.contextType;typeof E=="object"&&E!==null?x.context=La(E):(E=Dr(a)?Zo:xr.current,x.context=Jo(r,E)),x.state=r.memoizedState,E=a.getDerivedStateFromProps,typeof E=="function"&&(hh(r,a,E,f),x.state=r.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&&pd.enqueueReplaceState(x,x.state,null),sc(r,f,x,m),x.state=r.memoizedState),typeof x.componentDidMount=="function"&&(r.flags|=4194308)}function Ts(r,a){try{var f="",m=a;do f+=He(m),m=m.return;while(m);var x=f}catch(E){x=`
|
|
2703
|
+
`+x[I].replace(" at new "," at ");return r.displayName&&le.includes("<anonymous>")&&(le=le.replace("<anonymous>",r.displayName)),le}while(1<=I&&0<=te);break}}}finally{Y=!1,Error.prepareStackTrace=f}return(r=r?r.displayName||r.name:"")?B(r):""}function He(r){switch(r.tag){case 5:return B(r.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return r=Oe(r.type,!1),r;case 11:return r=Oe(r.type.render,!1),r;case 1:return r=Oe(r.type,!0),r;default:return""}}function Je(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case X:return"Fragment";case z:return"Portal";case Ce:return"Profiler";case fe:return"StrictMode";case ce:return"Suspense";case Se:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case ve:return(r.displayName||"Context")+".Consumer";case V:return(r._context.displayName||"Context")+".Provider";case we:var a=r.render;return r=r.displayName,r||(r=a.displayName||a.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Ee:return a=r.displayName||null,a!==null?a:Je(r.type)||"Memo";case ge:a=r._payload,r=r._init;try{return Je(r(a))}catch{}}return null}function We(r){var a=r.type;switch(r.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 r=a.render,r=r.displayName||r.name||"",a.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Je(a);case 8:return a===fe?"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 Z(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function re(r){var a=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function K(r){var a=re(r)?"checked":"value",f=Object.getOwnPropertyDescriptor(r.constructor.prototype,a),m=""+r[a];if(!r.hasOwnProperty(a)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var x=f.get,E=f.set;return Object.defineProperty(r,a,{configurable:!0,get:function(){return x.call(this)},set:function(I){m=""+I,E.call(this,I)}}),Object.defineProperty(r,a,{enumerable:f.enumerable}),{getValue:function(){return m},setValue:function(I){m=""+I},stopTracking:function(){r._valueTracker=null,delete r[a]}}}}function be(r){r._valueTracker||(r._valueTracker=K(r))}function ee(r){if(!r)return!1;var a=r._valueTracker;if(!a)return!0;var f=a.getValue(),m="";return r&&(m=re(r)?r.checked?"true":"false":r.value),r=m,r!==f?(a.setValue(r),!0):!1}function Ne(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function ye(r,a){var f=a.checked;return oe({},a,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??r._wrapperState.initialChecked})}function Fe(r,a){var f=a.defaultValue==null?"":a.defaultValue,m=a.checked!=null?a.checked:a.defaultChecked;f=Z(a.value!=null?a.value:f),r._wrapperState={initialChecked:m,initialValue:f,controlled:a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null}}function at(r,a){a=a.checked,a!=null&&A(r,"checked",a,!1)}function It(r,a){at(r,a);var f=Z(a.value),m=a.type;if(f!=null)m==="number"?(f===0&&r.value===""||r.value!=f)&&(r.value=""+f):r.value!==""+f&&(r.value=""+f);else if(m==="submit"||m==="reset"){r.removeAttribute("value");return}a.hasOwnProperty("value")?vt(r,a.type,f):a.hasOwnProperty("defaultValue")&&vt(r,a.type,Z(a.defaultValue)),a.checked==null&&a.defaultChecked!=null&&(r.defaultChecked=!!a.defaultChecked)}function jt(r,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=""+r._wrapperState.initialValue,f||a===r.value||(r.value=a),r.defaultValue=a}f=r.name,f!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,f!==""&&(r.name=f)}function vt(r,a,f){(a!=="number"||Ne(r.ownerDocument)!==r)&&(f==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+f&&(r.defaultValue=""+f))}var gt=Array.isArray;function Ct(r,a,f,m){if(r=r.options,a){a={};for(var x=0;x<f.length;x++)a["$"+f[x]]=!0;for(f=0;f<r.length;f++)x=a.hasOwnProperty("$"+r[f].value),r[f].selected!==x&&(r[f].selected=x),x&&m&&(r[f].defaultSelected=!0)}else{for(f=""+Z(f),a=null,x=0;x<r.length;x++){if(r[x].value===f){r[x].selected=!0,m&&(r[x].defaultSelected=!0);return}a!==null||r[x].disabled||(a=r[x])}a!==null&&(a.selected=!0)}}function lt(r,a){if(a.dangerouslySetInnerHTML!=null)throw Error(i(91));return oe({},a,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function sn(r,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(gt(f)){if(1<f.length)throw Error(i(93));f=f[0]}a=f}a==null&&(a=""),f=a}r._wrapperState={initialValue:Z(f)}}function mn(r,a){var f=Z(a.value),m=Z(a.defaultValue);f!=null&&(f=""+f,f!==r.value&&(r.value=f),a.defaultValue==null&&r.defaultValue!==f&&(r.defaultValue=f)),m!=null&&(r.defaultValue=""+m)}function dn(r){var a=r.textContent;a===r._wrapperState.initialValue&&a!==""&&a!==null&&(r.value=a)}function un(r){switch(r){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(r,a){return r==null||r==="http://www.w3.org/1999/xhtml"?un(a):r==="http://www.w3.org/2000/svg"&&a==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var rr,or=function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(a,f,m,x){MSApp.execUnsafeLocalFunction(function(){return r(a,f,m,x)})}:r}(function(r,a){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=a;else{for(rr=rr||document.createElement("div"),rr.innerHTML="<svg>"+a.valueOf().toString()+"</svg>",a=rr.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;a.firstChild;)r.appendChild(a.firstChild)}});function it(r,a){if(a){var f=r.firstChild;if(f&&f===r.lastChild&&f.nodeType===3){f.nodeValue=a;return}}r.textContent=a}var rt={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},Be=["Webkit","ms","Moz","O"];Object.keys(rt).forEach(function(r){Be.forEach(function(a){a=a+r.charAt(0).toUpperCase()+r.substring(1),rt[a]=rt[r]})});function cn(r,a,f){return a==null||typeof a=="boolean"||a===""?"":f||typeof a!="number"||a===0||rt.hasOwnProperty(r)&&rt[r]?(""+a).trim():a+"px"}function Rn(r,a){r=r.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?r.setProperty(f,x):r[f]=x}}var Dn=oe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function On(r,a){if(a){if(Dn[r]&&(a.children!=null||a.dangerouslySetInnerHTML!=null))throw Error(i(137,r));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(r,a){if(r.indexOf("-")===-1)return typeof a.is=="string";switch(r){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 Ye=null;function j(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var J=null,ae=null,$=null;function F(r){if(r=Ft(r)){if(typeof J!="function")throw Error(i(280));var a=r.stateNode;a&&(a=pr(a),J(r.stateNode,r.type,a))}}function q(r){ae?$?$.push(r):$=[r]:ae=r}function ue(){if(ae){var r=ae,a=$;if($=ae=null,F(r),a)for(r=0;r<a.length;r++)F(a[r])}}function ie(r,a){return r(a)}function _e(){}var nt=!1;function Tt(r,a,f){if(nt)return r(a,f);nt=!0;try{return ie(r,a,f)}finally{nt=!1,(ae!==null||$!==null)&&(_e(),ue())}}function $t(r,a){var f=r.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)||(r=r.type,m=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!m;break e;default:r=!1}if(r)return null;if(f&&typeof f!="function")throw Error(i(231,a,typeof f));return f}var fn=!1;if(v)try{var zt={};Object.defineProperty(zt,"passive",{get:function(){fn=!0}}),window.addEventListener("test",zt,zt),window.removeEventListener("test",zt,zt)}catch{fn=!1}function bn(r,a,f,m,x,E,I,te,le){var Le=Array.prototype.slice.call(arguments,3);try{a.apply(f,Le)}catch(Ke){this.onError(Ke)}}var pn=!1,Xn=null,an=!1,ne=null,Ge={onError:function(r){pn=!0,Xn=r}};function ot(r,a,f,m,x,E,I,te,le){pn=!1,Xn=null,bn.apply(Ge,arguments)}function Lt(r,a,f,m,x,E,I,te,le){if(ot.apply(this,arguments),pn){if(pn){var Le=Xn;pn=!1,Xn=null}else throw Error(i(198));an||(an=!0,ne=Le)}}function At(r){var a=r,f=r;if(r.alternate)for(;a.return;)a=a.return;else{r=a;do a=r,(a.flags&4098)!==0&&(f=a.return),r=a.return;while(r)}return a.tag===3?f:null}function Wt(r){if(r.tag===13){var a=r.memoizedState;if(a===null&&(r=r.alternate,r!==null&&(a=r.memoizedState)),a!==null)return a.dehydrated}return null}function Jt(r){if(At(r)!==r)throw Error(i(188))}function en(r){var a=r.alternate;if(!a){if(a=At(r),a===null)throw Error(i(188));return a!==r?null:r}for(var f=r,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),r;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 I=!1,te=x.child;te;){if(te===f){I=!0,f=x,m=E;break}if(te===m){I=!0,m=x,f=E;break}te=te.sibling}if(!I){for(te=E.child;te;){if(te===f){I=!0,f=E,m=x;break}if(te===m){I=!0,m=E,f=x;break}te=te.sibling}if(!I)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?r:a}function wr(r){return r=en(r),r!==null?Zn(r):null}function Zn(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var a=Zn(r);if(a!==null)return a;r=r.sibling}return null}var ar=o.unstable_scheduleCallback,Kr=o.unstable_cancelCallback,Yt=o.unstable_shouldYield,Jn=o.unstable_requestPaint,Xt=o.unstable_now,nn=o.unstable_getCurrentPriorityLevel,Qa=o.unstable_ImmediatePriority,ci=o.unstable_UserBlockingPriority,fi=o.unstable_NormalPriority,Ht=o.unstable_LowPriority,Bn=o.unstable_IdlePriority,gr=null,yn=null;function lo(r){if(yn&&typeof yn.onCommitFiberRoot=="function")try{yn.onCommitFiberRoot(gr,r,void 0,(r.current.flags&128)===128)}catch{}}var Er=Math.clz32?Math.clz32:so,Eo=Math.log,Ii=Math.LN2;function so(r){return r>>>=0,r===0?32:31-(Eo(r)/Ii|0)|0}var Zr=64,Mn=4194304;function Tr(r){switch(r&-r){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 r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function di(r,a){var f=r.pendingLanes;if(f===0)return 0;var m=0,x=r.suspendedLanes,E=r.pingedLanes,I=f&268435455;if(I!==0){var te=I&~x;te!==0?m=Tr(te):(E&=I,E!==0&&(m=Tr(E)))}else I=f&~x,I!==0?m=Tr(I):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=r.entangledLanes,a!==0)for(r=r.entanglements,a&=m;0<a;)f=31-Er(a),x=1<<f,m|=r[f],a&=~x;return m}function zr(r,a){switch(r){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(r,a){for(var f=r.suspendedLanes,m=r.pingedLanes,x=r.expirationTimes,E=r.pendingLanes;0<E;){var I=31-Er(E),te=1<<I,le=x[I];le===-1?((te&f)===0||(te&m)!==0)&&(x[I]=zr(te,a)):le<=a&&(r.expiredLanes|=te),E&=~te}}function Fi(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function qo(){var r=Zr;return Zr<<=1,(Zr&4194240)===0&&(Zr=64),r}function hl(r){for(var a=[],f=0;31>f;f++)a.push(r);return a}function Qo(r,a,f){r.pendingLanes|=a,a!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,a=31-Er(a),r[a]=f}function Tb(r,a){var f=r.pendingLanes&~a;r.pendingLanes=a,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=a,r.mutableReadLanes&=a,r.entangledLanes&=a,a=r.entanglements;var m=r.eventTimes;for(r=r.expirationTimes;0<f;){var x=31-Er(f),E=1<<x;a[x]=0,m[x]=-1,r[x]=-1,f&=~E}}function vf(r,a){var f=r.entangledLanes|=a;for(r=r.entanglements;f;){var m=31-Er(f),x=1<<m;x&a|r[m]&a&&(r[m]|=a),f&=~x}}var Fn=0;function Rp(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var Vn,Op,$p,rn,Ap,ko=!1,ml=[],$a=null,vl=null,br=null,ir=new Map,zu=new Map,uo=[],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(r,a){switch(r){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":zu.delete(a.pointerId)}}function Hu(r,a,f,m,x,E){return r===null||r.nativeEvent!==E?(r={blockedOn:a,domEventName:f,eventSystemFlags:m,nativeEvent:E,targetContainers:[x]},a!==null&&(a=Ft(a),a!==null&&Op(a)),r):(r.eventSystemFlags|=m,a=r.targetContainers,x!==null&&a.indexOf(x)===-1&&a.push(x),r)}function kp(r,a,f,m,x){switch(a){case"focusin":return $a=Hu($a,r,a,f,m,x),!0;case"dragenter":return vl=Hu(vl,r,a,f,m,x),!0;case"mouseover":return br=Hu(br,r,a,f,m,x),!0;case"pointerover":var E=x.pointerId;return ir.set(E,Hu(ir.get(E)||null,r,a,f,m,x)),!0;case"gotpointercapture":return E=x.pointerId,zu.set(E,Hu(zu.get(E)||null,r,a,f,m,x)),!0}return!1}function Pp(r){var a=ds(r.target);if(a!==null){var f=At(a);if(f!==null){if(a=f.tag,a===13){if(a=Wt(f),a!==null){r.blockedOn=a,Ap(r.priority,function(){$p(f)});return}}else if(a===3&&f.stateNode.current.memoizedState.isDehydrated){r.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Gu(r){if(r.blockedOn!==null)return!1;for(var a=r.targetContainers;0<a.length;){var f=gf(r.domEventName,r.eventSystemFlags,a[0],r.nativeEvent);if(f===null){f=r.nativeEvent;var m=new f.constructor(f.type,f);Ye=m,f.target.dispatchEvent(m),Ye=null}else return a=Ft(f),a!==null&&Op(a),r.blockedOn=f,!1;a.shift()}return!0}function vv(r,a,f){Gu(r)&&f.delete(a)}function Rb(){ko=!1,$a!==null&&Gu($a)&&($a=null),vl!==null&&Gu(vl)&&(vl=null),br!==null&&Gu(br)&&(br=null),ir.forEach(vv),zu.forEach(vv)}function Wu(r,a){r.blockedOn===a&&(r.blockedOn=null,ko||(ko=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Rb)))}function yl(r){function a(x){return Wu(x,r)}if(0<ml.length){Wu(ml[0],r);for(var f=1;f<ml.length;f++){var m=ml[f];m.blockedOn===r&&(m.blockedOn=null)}}for($a!==null&&Wu($a,r),vl!==null&&Wu(vl,r),br!==null&&Wu(br,r),ir.forEach(a),zu.forEach(a),f=0;f<uo.length;f++)m=uo[f],m.blockedOn===r&&(m.blockedOn=null);for(;0<uo.length&&(f=uo[0],f.blockedOn===null);)Pp(f),f.blockedOn===null&&uo.shift()}var rs=_.ReactCurrentBatchConfig,os=!0;function yv(r,a,f,m){var x=Fn,E=rs.transition;rs.transition=null;try{Fn=1,yf(r,a,f,m)}finally{Fn=x,rs.transition=E}}function gv(r,a,f,m){var x=Fn,E=rs.transition;rs.transition=null;try{Fn=4,yf(r,a,f,m)}finally{Fn=x,rs.transition=E}}function yf(r,a,f,m){if(os){var x=gf(r,a,f,m);if(x===null)_f(r,a,m,Yu,f),Vi(r,m);else if(kp(x,r,a,f,m))m.stopPropagation();else if(Vi(r,m),a&4&&-1<Aa.indexOf(r)){for(;x!==null;){var E=Ft(x);if(E!==null&&Vn(E),E=gf(r,a,f,m),E===null&&_f(r,a,m,Yu,f),E===x)break;x=E}x!==null&&m.stopPropagation()}else _f(r,a,m,null,f)}}var Yu=null;function gf(r,a,f,m){if(Yu=null,r=j(m),r=ds(r),r!==null)if(a=At(r),a===null)r=null;else if(f=a.tag,f===13){if(r=Wt(a),r!==null)return r;r=null}else if(f===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;r=null}else a!==r&&(r=null);return Yu=r,null}function bf(r){switch(r){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 fi:case Ht:return 16;case Bn:return 536870912;default:return 16}default:return 16}}var ji=null,xf=null,Qs=null;function Np(){if(Qs)return Qs;var r,a=xf,f=a.length,m,x="value"in ji?ji.value:ji.textContent,E=x.length;for(r=0;r<f&&a[r]===x[r];r++);var I=f-r;for(m=1;m<=I&&a[f-m]===x[E-m];m++);return Qs=x.slice(r,1<m?1-m:void 0)}function Sf(r){var a=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&a===13&&(r=13)):r=a,r===10&&(r=13),32<=r||r===13?r:0}function Cf(){return!0}function wf(){return!1}function Xo(r){function a(f,m,x,E,I){this._reactName=f,this._targetInst=x,this.type=m,this.nativeEvent=E,this.target=I,this.currentTarget=null;for(var te in r)r.hasOwnProperty(te)&&(f=r[te],this[te]=f?f(E):E[te]);return this.isDefaultPrevented=(E.defaultPrevented!=null?E.defaultPrevented:E.returnValue===!1)?Cf:wf,this.isPropagationStopped=wf,this}return oe(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=Cf)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Cf)},persist:function(){},isPersistent:Cf}),a}var as={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ef=Xo(as),Xs=oe({},as,{view:0,detail:0}),Ob=Xo(Xs),Dp,co,is,qu=oe({},Xs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fp,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==is&&(is&&r.type==="mousemove"?(Dp=r.screenX-is.screenX,co=r.screenY-is.screenY):co=Dp=0,is=r),Dp)},movementY:function(r){return"movementY"in r?r.movementY:co}}),Mp=Xo(qu),$b=oe({},qu,{dataTransfer:0}),Ks=Xo($b),Lp=oe({},Xs,{relatedTarget:0}),Tf=Xo(Lp),Ab=oe({},as,{animationName:0,elapsedTime:0,pseudoElement:0}),kb=Xo(Ab),Pb=oe({},as,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),bv=Xo(Pb),_p=oe({},as,{data:0}),Ip=Xo(_p),xv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sv={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"},Nb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ui(r){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(r):(r=Nb[r])?!!a[r]:!1}function Fp(){return Ui}var Vp=oe({},Xs,{key:function(r){if(r.key){var a=xv[r.key]||r.key;if(a!=="Unidentified")return a}return r.type==="keypress"?(r=Sf(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Sv[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fp,charCode:function(r){return r.type==="keypress"?Sf(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Sf(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),jp=Xo(Vp),Up=oe({},qu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Cv=Xo(Up),Rf=oe({},Xs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fp}),wv=Xo(Rf),Ko=oe({},as,{propertyName:0,elapsedTime:0,pseudoElement:0}),Bi=Xo(Ko),Nr=oe({},qu,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),zi=Xo(Nr),Bp=[9,13,27,32],Zs=v&&"CompositionEvent"in window,Qu=null;v&&"documentMode"in document&&(Qu=document.documentMode);var Xu=v&&"TextEvent"in window&&!Qu,Ev=v&&(!Zs||Qu&&8<Qu&&11>=Qu),Tv=" ",Of=!1;function Rv(r,a){switch(r){case"keyup":return Bp.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ov(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Js=!1;function $v(r,a){switch(r){case"compositionend":return Ov(a);case"keypress":return a.which!==32?null:(Of=!0,Tv);case"textInput":return r=a.data,r===Tv&&Of?null:r;default:return null}}function Db(r,a){if(Js)return r==="compositionend"||!Zs&&Rv(r,a)?(r=Np(),Qs=xf=ji=null,Js=!1,r):null;switch(r){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 Ev&&a.locale!=="ko"?null:a.data;default:return null}}var Mb={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 Av(r){var a=r&&r.nodeName&&r.nodeName.toLowerCase();return a==="input"?!!Mb[r.type]:a==="textarea"}function zp(r,a,f,m){q(m),a=nc(a,"onChange"),0<a.length&&(f=new Ef("onChange","change",null,f,m),r.push({event:f,listeners:a}))}var pi=null,ls=null;function kv(r){cs(r,0)}function Ku(r){var a=Ka(r);if(ee(a))return r}function Lb(r,a){if(r==="change")return a}var Pv=!1;if(v){var Hp;if(v){var Gp="oninput"in document;if(!Gp){var Nv=document.createElement("div");Nv.setAttribute("oninput","return;"),Gp=typeof Nv.oninput=="function"}Hp=Gp}else Hp=!1;Pv=Hp&&(!document.documentMode||9<document.documentMode)}function Dv(){pi&&(pi.detachEvent("onpropertychange",Mv),ls=pi=null)}function Mv(r){if(r.propertyName==="value"&&Ku(ls)){var a=[];zp(a,ls,r,j(r)),Tt(kv,a)}}function _b(r,a,f){r==="focusin"?(Dv(),pi=a,ls=f,pi.attachEvent("onpropertychange",Mv)):r==="focusout"&&Dv()}function Lv(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Ku(ls)}function Ib(r,a){if(r==="click")return Ku(a)}function _v(r,a){if(r==="input"||r==="change")return Ku(a)}function Fb(r,a){return r===a&&(r!==0||1/r===1/a)||r!==r&&a!==a}var Xa=typeof Object.is=="function"?Object.is:Fb;function Zu(r,a){if(Xa(r,a))return!0;if(typeof r!="object"||r===null||typeof a!="object"||a===null)return!1;var f=Object.keys(r),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(r[x],a[x]))return!1}return!0}function Iv(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function $f(r,a){var f=Iv(r);r=0;for(var m;f;){if(f.nodeType===3){if(m=r+f.textContent.length,r<=a&&m>=a)return{node:f,offset:a-r};r=m}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=Iv(f)}}function gl(r,a){return r&&a?r===a?!0:r&&r.nodeType===3?!1:a&&a.nodeType===3?gl(r,a.parentNode):"contains"in r?r.contains(a):r.compareDocumentPosition?!!(r.compareDocumentPosition(a)&16):!1:!1}function Ju(){for(var r=window,a=Ne();a instanceof r.HTMLIFrameElement;){try{var f=typeof a.contentWindow.location.href=="string"}catch{f=!1}if(f)r=a.contentWindow;else break;a=Ne(r.document)}return a}function Af(r){var a=r&&r.nodeName&&r.nodeName.toLowerCase();return a&&(a==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||a==="textarea"||r.contentEditable==="true")}function eu(r){var a=Ju(),f=r.focusedElem,m=r.selectionRange;if(a!==f&&f&&f.ownerDocument&&gl(f.ownerDocument.documentElement,f)){if(m!==null&&Af(f)){if(a=m.start,r=m.end,r===void 0&&(r=a),"selectionStart"in f)f.selectionStart=a,f.selectionEnd=Math.min(r,f.value.length);else if(r=(a=f.ownerDocument||document)&&a.defaultView||window,r.getSelection){r=r.getSelection();var x=f.textContent.length,E=Math.min(m.start,x);m=m.end===void 0?E:Math.min(m.end,x),!r.extend&&E>m&&(x=m,m=E,E=x),x=$f(f,E);var I=$f(f,m);x&&I&&(r.rangeCount!==1||r.anchorNode!==x.node||r.anchorOffset!==x.offset||r.focusNode!==I.node||r.focusOffset!==I.offset)&&(a=a.createRange(),a.setStart(x.node,x.offset),r.removeAllRanges(),E>m?(r.addRange(a),r.extend(I.node,I.offset)):(a.setEnd(I.node,I.offset),r.addRange(a)))}}for(a=[],r=f;r=r.parentNode;)r.nodeType===1&&a.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<a.length;f++)r=a[f],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var Vb=v&&"documentMode"in document&&11>=document.documentMode,tu=null,Wp=null,ec=null,Yp=!1;function qp(r,a,f){var m=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;Yp||tu==null||tu!==Ne(m)||(m=tu,"selectionStart"in m&&Af(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}),ec&&Zu(ec,m)||(ec=m,m=nc(Wp,"onSelect"),0<m.length&&(a=new Ef("onSelect","select",null,a,f),r.push({event:a,listeners:m}),a.target=tu)))}function kf(r,a){var f={};return f[r.toLowerCase()]=a.toLowerCase(),f["Webkit"+r]="webkit"+a,f["Moz"+r]="moz"+a,f}var ss={animationend:kf("Animation","AnimationEnd"),animationiteration:kf("Animation","AnimationIteration"),animationstart:kf("Animation","AnimationStart"),transitionend:kf("Transition","TransitionEnd")},fo={},Qp={};v&&(Qp=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 Pf(r){if(fo[r])return fo[r];if(!ss[r])return r;var a=ss[r],f;for(f in a)if(a.hasOwnProperty(f)&&f in Qp)return fo[r]=a[f];return r}var Fv=Pf("animationend"),Vv=Pf("animationiteration"),jv=Pf("animationstart"),Uv=Pf("transitionend"),Xp=new Map,Nf="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(r,a){Xp.set(r,a),p(a,[r])}for(var Kp=0;Kp<Nf.length;Kp++){var us=Nf[Kp],jb=us.toLowerCase(),Ub=us[0].toUpperCase()+us.slice(1);ka(jb,"on"+Ub)}ka(Fv,"onAnimationEnd"),ka(Vv,"onAnimationIteration"),ka(jv,"onAnimationStart"),ka("dblclick","onDoubleClick"),ka("focusin","onFocus"),ka("focusout","onBlur"),ka(Uv,"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 tc="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(" "),Zp=new Set("cancel close invalid load scroll toggle".split(" ").concat(tc));function Df(r,a,f){var m=r.type||"unknown-event";r.currentTarget=f,Lt(m,a,void 0,r),r.currentTarget=null}function cs(r,a){a=(a&4)!==0;for(var f=0;f<r.length;f++){var m=r[f],x=m.event;m=m.listeners;e:{var E=void 0;if(a)for(var I=m.length-1;0<=I;I--){var te=m[I],le=te.instance,Le=te.currentTarget;if(te=te.listener,le!==E&&x.isPropagationStopped())break e;Df(x,te,Le),E=le}else for(I=0;I<m.length;I++){if(te=m[I],le=te.instance,Le=te.currentTarget,te=te.listener,le!==E&&x.isPropagationStopped())break e;Df(x,te,Le),E=le}}}if(an)throw r=ne,an=!1,ne=null,r}function _n(r,a){var f=a[ac];f===void 0&&(f=a[ac]=new Set);var m=r+"__bubble";f.has(m)||(Bv(a,r,2,!1),f.add(m))}function Mf(r,a,f){var m=0;a&&(m|=4),Bv(f,r,m,a)}var Lf="_reactListening"+Math.random().toString(36).slice(2);function nu(r){if(!r[Lf]){r[Lf]=!0,s.forEach(function(f){f!=="selectionchange"&&(Zp.has(f)||Mf(f,!1,r),Mf(f,!0,r))});var a=r.nodeType===9?r:r.ownerDocument;a===null||a[Lf]||(a[Lf]=!0,Mf("selectionchange",!1,a))}}function Bv(r,a,f,m){switch(bf(a)){case 1:var x=yv;break;case 4:x=gv;break;default:x=yf}f=x.bind(null,a,f,r),x=void 0,!fn||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(x=!0),m?x!==void 0?r.addEventListener(a,f,{capture:!0,passive:x}):r.addEventListener(a,f,!0):x!==void 0?r.addEventListener(a,f,{passive:x}):r.addEventListener(a,f,!1)}function _f(r,a,f,m,x){var E=m;if((a&1)===0&&(a&2)===0&&m!==null)e:for(;;){if(m===null)return;var I=m.tag;if(I===3||I===4){var te=m.stateNode.containerInfo;if(te===x||te.nodeType===8&&te.parentNode===x)break;if(I===4)for(I=m.return;I!==null;){var le=I.tag;if((le===3||le===4)&&(le=I.stateNode.containerInfo,le===x||le.nodeType===8&&le.parentNode===x))return;I=I.return}for(;te!==null;){if(I=ds(te),I===null)return;if(le=I.tag,le===5||le===6){m=E=I;continue e}te=te.parentNode}}m=m.return}Tt(function(){var Le=E,Ke=j(f),et=[];e:{var Qe=Xp.get(r);if(Qe!==void 0){var wt=Ef,kt=r;switch(r){case"keypress":if(Sf(f)===0)break e;case"keydown":case"keyup":wt=jp;break;case"focusin":kt="focus",wt=Tf;break;case"focusout":kt="blur",wt=Tf;break;case"beforeblur":case"afterblur":wt=Tf;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=Mp;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=wv;break;case Fv:case Vv:case jv:wt=kb;break;case Uv:wt=Bi;break;case"scroll":wt=Ob;break;case"wheel":wt=zi;break;case"copy":case"cut":case"paste":wt=bv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":wt=Cv}var Dt=(a&4)!==0,kr=!Dt&&r==="scroll",Re=Dt?Qe!==null?Qe+"Capture":null:Qe;Dt=[];for(var pe=Le,Pe;pe!==null;){Pe=pe;var Ze=Pe.stateNode;if(Pe.tag===5&&Ze!==null&&(Pe=Ze,Re!==null&&(Ze=$t(pe,Re),Ze!=null&&Dt.push(ru(pe,Ze,Pe)))),kr)break;pe=pe.return}0<Dt.length&&(Qe=new wt(Qe,kt,null,f,Ke),et.push({event:Qe,listeners:Dt}))}}if((a&7)===0){e:{if(Qe=r==="mouseover"||r==="pointerover",wt=r==="mouseout"||r==="pointerout",Qe&&f!==Ye&&(kt=f.relatedTarget||f.fromElement)&&(ds(kt)||kt[Hi]))break e;if((wt||Qe)&&(Qe=Ke.window===Ke?Ke:(Qe=Ke.ownerDocument)?Qe.defaultView||Qe.parentWindow:window,wt?(kt=f.relatedTarget||f.toElement,wt=Le,kt=kt?ds(kt):null,kt!==null&&(kr=At(kt),kt!==kr||kt.tag!==5&&kt.tag!==6)&&(kt=null)):(wt=null,kt=Le),wt!==kt)){if(Dt=Mp,Ze="onMouseLeave",Re="onMouseEnter",pe="mouse",(r==="pointerout"||r==="pointerover")&&(Dt=Cv,Ze="onPointerLeave",Re="onPointerEnter",pe="pointer"),kr=wt==null?Qe:Ka(wt),Pe=kt==null?Qe:Ka(kt),Qe=new Dt(Ze,pe+"leave",wt,f,Ke),Qe.target=kr,Qe.relatedTarget=Pe,Ze=null,ds(Ke)===Le&&(Dt=new Dt(Re,pe+"enter",kt,f,Ke),Dt.target=Pe,Dt.relatedTarget=kr,Ze=Dt),kr=Ze,wt&&kt)t:{for(Dt=wt,Re=kt,pe=0,Pe=Dt;Pe;Pe=bl(Pe))pe++;for(Pe=0,Ze=Re;Ze;Ze=bl(Ze))Pe++;for(;0<pe-Pe;)Dt=bl(Dt),pe--;for(;0<Pe-pe;)Re=bl(Re),Pe--;for(;pe--;){if(Dt===Re||Re!==null&&Dt===Re.alternate)break t;Dt=bl(Dt),Re=bl(Re)}Dt=null}else Dt=null;wt!==null&&zv(et,Qe,wt,Dt,!1),kt!==null&&kr!==null&&zv(et,kr,kt,Dt,!0)}}e:{if(Qe=Le?Ka(Le):window,wt=Qe.nodeName&&Qe.nodeName.toLowerCase(),wt==="select"||wt==="input"&&Qe.type==="file")var Pt=Lb;else if(Av(Qe))if(Pv)Pt=_v;else{Pt=Lv;var Bt=_b}else(wt=Qe.nodeName)&&wt.toLowerCase()==="input"&&(Qe.type==="checkbox"||Qe.type==="radio")&&(Pt=Ib);if(Pt&&(Pt=Pt(r,Le))){zp(et,Pt,f,Ke);break e}Bt&&Bt(r,Qe,Le),r==="focusout"&&(Bt=Qe._wrapperState)&&Bt.controlled&&Qe.type==="number"&&vt(Qe,"number",Qe.value)}switch(Bt=Le?Ka(Le):window,r){case"focusin":(Av(Bt)||Bt.contentEditable==="true")&&(tu=Bt,Wp=Le,ec=null);break;case"focusout":ec=Wp=tu=null;break;case"mousedown":Yp=!0;break;case"contextmenu":case"mouseup":case"dragend":Yp=!1,qp(et,f,Ke);break;case"selectionchange":if(Vb)break;case"keydown":case"keyup":qp(et,f,Ke)}var Gt;if(Zs)e:{switch(r){case"compositionstart":var Kt="onCompositionStart";break e;case"compositionend":Kt="onCompositionEnd";break e;case"compositionupdate":Kt="onCompositionUpdate";break e}Kt=void 0}else Js?Rv(r,f)&&(Kt="onCompositionEnd"):r==="keydown"&&f.keyCode===229&&(Kt="onCompositionStart");Kt&&(Ev&&f.locale!=="ko"&&(Js||Kt!=="onCompositionStart"?Kt==="onCompositionEnd"&&Js&&(Gt=Np()):(ji=Ke,xf="value"in ji?ji.value:ji.textContent,Js=!0)),Bt=nc(Le,Kt),0<Bt.length&&(Kt=new Ip(Kt,r,null,f,Ke),et.push({event:Kt,listeners:Bt}),Gt?Kt.data=Gt:(Gt=Ov(f),Gt!==null&&(Kt.data=Gt)))),(Gt=Xu?$v(r,f):Db(r,f))&&(Le=nc(Le,"onBeforeInput"),0<Le.length&&(Ke=new Ip("onBeforeInput","beforeinput",null,f,Ke),et.push({event:Ke,listeners:Le}),Ke.data=Gt))}cs(et,a)})}function ru(r,a,f){return{instance:r,listener:a,currentTarget:f}}function nc(r,a){for(var f=a+"Capture",m=[];r!==null;){var x=r,E=x.stateNode;x.tag===5&&E!==null&&(x=E,E=$t(r,f),E!=null&&m.unshift(ru(r,E,x)),E=$t(r,a),E!=null&&m.push(ru(r,E,x))),r=r.return}return m}function bl(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function zv(r,a,f,m,x){for(var E=a._reactName,I=[];f!==null&&f!==m;){var te=f,le=te.alternate,Le=te.stateNode;if(le!==null&&le===m)break;te.tag===5&&Le!==null&&(te=Le,x?(le=$t(f,E),le!=null&&I.unshift(ru(f,le,te))):x||(le=$t(f,E),le!=null&&I.push(ru(f,le,te)))),f=f.return}I.length!==0&&r.push({event:a,listeners:I})}var Hv=/\r\n?/g,Bb=/\u0000|\uFFFD/g;function Gv(r){return(typeof r=="string"?r:""+r).replace(Hv,`
|
|
2704
|
+
`).replace(Bb,"")}function If(r,a,f){if(a=Gv(a),Gv(r)!==a&&f)throw Error(i(425))}function xl(){}var rc=null,fs=null;function Ff(r,a){return r==="textarea"||r==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Vf=typeof setTimeout=="function"?setTimeout:void 0,Jp=typeof clearTimeout=="function"?clearTimeout:void 0,Wv=typeof Promise=="function"?Promise:void 0,ou=typeof queueMicrotask=="function"?queueMicrotask:typeof Wv<"u"?function(r){return Wv.resolve(null).then(r).catch(jf)}:Vf;function jf(r){setTimeout(function(){throw r})}function au(r,a){var f=a,m=0;do{var x=f.nextSibling;if(r.removeChild(f),x&&x.nodeType===8)if(f=x.data,f==="/$"){if(m===0){r.removeChild(x),yl(a);return}m--}else f!=="$"&&f!=="$?"&&f!=="$!"||m++;f=x}while(f);yl(a)}function hi(r){for(;r!=null;r=r.nextSibling){var a=r.nodeType;if(a===1||a===3)break;if(a===8){if(a=r.data,a==="$"||a==="$!"||a==="$?")break;if(a==="/$")return null}}return r}function Yv(r){r=r.previousSibling;for(var a=0;r;){if(r.nodeType===8){var f=r.data;if(f==="$"||f==="$!"||f==="$?"){if(a===0)return r;a--}else f==="/$"&&a++}r=r.previousSibling}return null}var Sl=Math.random().toString(36).slice(2),mi="__reactFiber$"+Sl,oc="__reactProps$"+Sl,Hi="__reactContainer$"+Sl,ac="__reactEvents$"+Sl,iu="__reactListeners$"+Sl,zb="__reactHandles$"+Sl;function ds(r){var a=r[mi];if(a)return a;for(var f=r.parentNode;f;){if(a=f[Hi]||f[mi]){if(f=a.alternate,a.child!==null||f!==null&&f.child!==null)for(r=Yv(r);r!==null;){if(f=r[mi])return f;r=Yv(r)}return a}r=f,f=r.parentNode}return null}function Ft(r){return r=r[mi]||r[Hi],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function Ka(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(i(33))}function pr(r){return r[oc]||null}var xn=[],Pa=-1;function Na(r){return{current:r}}function er(r){0>Pa||(r.current=xn[Pa],xn[Pa]=null,Pa--)}function _t(r,a){Pa++,xn[Pa]=r.current,r.current=a}var To={},xr=Na(To),Hr=Na(!1),Zo=To;function Jo(r,a){var f=r.type.contextTypes;if(!f)return To;var m=r.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===a)return m.__reactInternalMemoizedMaskedChildContext;var x={},E;for(E in f)x[E]=a[E];return m&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=a,r.__reactInternalMemoizedMaskedChildContext=x),x}function Dr(r){return r=r.childContextTypes,r!=null}function lu(){er(Hr),er(xr)}function qv(r,a,f){if(xr.current!==To)throw Error(i(168));_t(xr,a),_t(Hr,f)}function ic(r,a,f){var m=r.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(r)||"Unknown",x));return oe({},f,m)}function Jr(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||To,Zo=xr.current,_t(xr,r),_t(Hr,Hr.current),!0}function Uf(r,a,f){var m=r.stateNode;if(!m)throw Error(i(169));f?(r=ic(r,a,Zo),m.__reactInternalMemoizedMergedChildContext=r,er(Hr),er(xr),_t(xr,r)):er(Hr),_t(Hr,f)}var vi=null,su=!1,Gi=!1;function Bf(r){vi===null?vi=[r]:vi.push(r)}function Cl(r){su=!0,Bf(r)}function yi(){if(!Gi&&vi!==null){Gi=!0;var r=0,a=Fn;try{var f=vi;for(Fn=1;r<f.length;r++){var m=f[r];do m=m(!0);while(m!==null)}vi=null,su=!1}catch(x){throw vi!==null&&(vi=vi.slice(r+1)),ar(Qa,yi),x}finally{Fn=a,Gi=!1}}return null}var wl=[],El=0,Tl=null,Wi=0,Mr=[],Da=0,ya=null,gi=1,bi="";function ps(r,a){wl[El++]=Wi,wl[El++]=Tl,Tl=r,Wi=a}function Qv(r,a,f){Mr[Da++]=gi,Mr[Da++]=bi,Mr[Da++]=ya,ya=r;var m=gi;r=bi;var x=32-Er(m)-1;m&=~(1<<x),f+=1;var E=32-Er(a)+x;if(30<E){var I=x-x%5;E=(m&(1<<I)-1).toString(32),m>>=I,x-=I,gi=1<<32-Er(a)+x|f<<x|m,bi=E+r}else gi=1<<E|f<<x|m,bi=r}function zf(r){r.return!==null&&(ps(r,1),Qv(r,1,0))}function Hf(r){for(;r===Tl;)Tl=wl[--El],wl[El]=null,Wi=wl[--El],wl[El]=null;for(;r===ya;)ya=Mr[--Da],Mr[Da]=null,bi=Mr[--Da],Mr[Da]=null,gi=Mr[--Da],Mr[Da]=null}var ea=null,ta=null,cr=!1,Ma=null;function eh(r,a){var f=Va(5,null,null,0);f.elementType="DELETED",f.stateNode=a,f.return=r,a=r.deletions,a===null?(r.deletions=[f],r.flags|=16):a.push(f)}function Xv(r,a){switch(r.tag){case 5:var f=r.type;return a=a.nodeType!==1||f.toLowerCase()!==a.nodeName.toLowerCase()?null:a,a!==null?(r.stateNode=a,ea=r,ta=hi(a.firstChild),!0):!1;case 6:return a=r.pendingProps===""||a.nodeType!==3?null:a,a!==null?(r.stateNode=a,ea=r,ta=null,!0):!1;case 13:return a=a.nodeType!==8?null:a,a!==null?(f=ya!==null?{id:gi,overflow:bi}:null,r.memoizedState={dehydrated:a,treeContext:f,retryLane:1073741824},f=Va(18,null,null,0),f.stateNode=a,f.return=r,r.child=f,ea=r,ta=null,!0):!1;default:return!1}}function th(r){return(r.mode&1)!==0&&(r.flags&128)===0}function nh(r){if(cr){var a=ta;if(a){var f=a;if(!Xv(r,a)){if(th(r))throw Error(i(418));a=hi(f.nextSibling);var m=ea;a&&Xv(r,a)?eh(m,f):(r.flags=r.flags&-4097|2,cr=!1,ea=r)}}else{if(th(r))throw Error(i(418));r.flags=r.flags&-4097|2,cr=!1,ea=r}}}function Gr(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;ea=r}function Gf(r){if(r!==ea)return!1;if(!cr)return Gr(r),cr=!0,!1;var a;if((a=r.tag!==3)&&!(a=r.tag!==5)&&(a=r.type,a=a!=="head"&&a!=="body"&&!Ff(r.type,r.memoizedProps)),a&&(a=ta)){if(th(r))throw lc(),Error(i(418));for(;a;)eh(r,a),a=hi(a.nextSibling)}if(Gr(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(i(317));e:{for(r=r.nextSibling,a=0;r;){if(r.nodeType===8){var f=r.data;if(f==="/$"){if(a===0){ta=hi(r.nextSibling);break e}a--}else f!=="$"&&f!=="$!"&&f!=="$?"||a++}r=r.nextSibling}ta=null}}else ta=ea?hi(r.stateNode.nextSibling):null;return!0}function lc(){for(var r=ta;r;)r=hi(r.nextSibling)}function Rl(){ta=ea=null,cr=!1}function Yi(r){Ma===null?Ma=[r]:Ma.push(r)}var Hb=_.ReactCurrentBatchConfig;function hs(r,a,f){if(r=f.ref,r!==null&&typeof r!="function"&&typeof r!="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,r));var x=m,E=""+r;return a!==null&&a.ref!==null&&typeof a.ref=="function"&&a.ref._stringRef===E?a.ref:(a=function(I){var te=x.refs;I===null?delete te[E]:te[E]=I},a._stringRef=E,a)}if(typeof r!="string")throw Error(i(284));if(!f._owner)throw Error(i(290,r))}return r}function Wf(r,a){throw r=Object.prototype.toString.call(a),Error(i(31,r==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":r))}function Kv(r){var a=r._init;return a(r._payload)}function ms(r){function a(Re,pe){if(r){var Pe=Re.deletions;Pe===null?(Re.deletions=[pe],Re.flags|=16):Pe.push(pe)}}function f(Re,pe){if(!r)return null;for(;pe!==null;)a(Re,pe),pe=pe.sibling;return null}function m(Re,pe){for(Re=new Map;pe!==null;)pe.key!==null?Re.set(pe.key,pe):Re.set(pe.index,pe),pe=pe.sibling;return Re}function x(Re,pe){return Re=Ml(Re,pe),Re.index=0,Re.sibling=null,Re}function E(Re,pe,Pe){return Re.index=Pe,r?(Pe=Re.alternate,Pe!==null?(Pe=Pe.index,Pe<pe?(Re.flags|=2,pe):Pe):(Re.flags|=2,pe)):(Re.flags|=1048576,pe)}function I(Re){return r&&Re.alternate===null&&(Re.flags|=2),Re}function te(Re,pe,Pe,Ze){return pe===null||pe.tag!==6?(pe=Dh(Pe,Re.mode,Ze),pe.return=Re,pe):(pe=x(pe,Pe),pe.return=Re,pe)}function le(Re,pe,Pe,Ze){var Pt=Pe.type;return Pt===X?Ke(Re,pe,Pe.props.children,Ze,Pe.key):pe!==null&&(pe.elementType===Pt||typeof Pt=="object"&&Pt!==null&&Pt.$$typeof===ge&&Kv(Pt)===pe.type)?(Ze=x(pe,Pe.props),Ze.ref=hs(Re,pe,Pe),Ze.return=Re,Ze):(Ze=Ic(Pe.type,Pe.key,Pe.props,null,Re.mode,Ze),Ze.ref=hs(Re,pe,Pe),Ze.return=Re,Ze)}function Le(Re,pe,Pe,Ze){return pe===null||pe.tag!==4||pe.stateNode.containerInfo!==Pe.containerInfo||pe.stateNode.implementation!==Pe.implementation?(pe=Td(Pe,Re.mode,Ze),pe.return=Re,pe):(pe=x(pe,Pe.children||[]),pe.return=Re,pe)}function Ke(Re,pe,Pe,Ze,Pt){return pe===null||pe.tag!==7?(pe=Ji(Pe,Re.mode,Ze,Pt),pe.return=Re,pe):(pe=x(pe,Pe),pe.return=Re,pe)}function et(Re,pe,Pe){if(typeof pe=="string"&&pe!==""||typeof pe=="number")return pe=Dh(""+pe,Re.mode,Pe),pe.return=Re,pe;if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case N:return Pe=Ic(pe.type,pe.key,pe.props,null,Re.mode,Pe),Pe.ref=hs(Re,null,pe),Pe.return=Re,Pe;case z:return pe=Td(pe,Re.mode,Pe),pe.return=Re,pe;case ge:var Ze=pe._init;return et(Re,Ze(pe._payload),Pe)}if(gt(pe)||se(pe))return pe=Ji(pe,Re.mode,Pe,null),pe.return=Re,pe;Wf(Re,pe)}return null}function Qe(Re,pe,Pe,Ze){var Pt=pe!==null?pe.key:null;if(typeof Pe=="string"&&Pe!==""||typeof Pe=="number")return Pt!==null?null:te(Re,pe,""+Pe,Ze);if(typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case N:return Pe.key===Pt?le(Re,pe,Pe,Ze):null;case z:return Pe.key===Pt?Le(Re,pe,Pe,Ze):null;case ge:return Pt=Pe._init,Qe(Re,pe,Pt(Pe._payload),Ze)}if(gt(Pe)||se(Pe))return Pt!==null?null:Ke(Re,pe,Pe,Ze,null);Wf(Re,Pe)}return null}function wt(Re,pe,Pe,Ze,Pt){if(typeof Ze=="string"&&Ze!==""||typeof Ze=="number")return Re=Re.get(Pe)||null,te(pe,Re,""+Ze,Pt);if(typeof Ze=="object"&&Ze!==null){switch(Ze.$$typeof){case N:return Re=Re.get(Ze.key===null?Pe:Ze.key)||null,le(pe,Re,Ze,Pt);case z:return Re=Re.get(Ze.key===null?Pe:Ze.key)||null,Le(pe,Re,Ze,Pt);case ge:var Bt=Ze._init;return wt(Re,pe,Pe,Bt(Ze._payload),Pt)}if(gt(Ze)||se(Ze))return Re=Re.get(Pe)||null,Ke(pe,Re,Ze,Pt,null);Wf(pe,Ze)}return null}function kt(Re,pe,Pe,Ze){for(var Pt=null,Bt=null,Gt=pe,Kt=pe=0,no=null;Gt!==null&&Kt<Pe.length;Kt++){Gt.index>Kt?(no=Gt,Gt=null):no=Gt.sibling;var kn=Qe(Re,Gt,Pe[Kt],Ze);if(kn===null){Gt===null&&(Gt=no);break}r&&Gt&&kn.alternate===null&&a(Re,Gt),pe=E(kn,pe,Kt),Bt===null?Pt=kn:Bt.sibling=kn,Bt=kn,Gt=no}if(Kt===Pe.length)return f(Re,Gt),cr&&ps(Re,Kt),Pt;if(Gt===null){for(;Kt<Pe.length;Kt++)Gt=et(Re,Pe[Kt],Ze),Gt!==null&&(pe=E(Gt,pe,Kt),Bt===null?Pt=Gt:Bt.sibling=Gt,Bt=Gt);return cr&&ps(Re,Kt),Pt}for(Gt=m(Re,Gt);Kt<Pe.length;Kt++)no=wt(Gt,Re,Kt,Pe[Kt],Ze),no!==null&&(r&&no.alternate!==null&&Gt.delete(no.key===null?Kt:no.key),pe=E(no,pe,Kt),Bt===null?Pt=no:Bt.sibling=no,Bt=no);return r&&Gt.forEach(function(Il){return a(Re,Il)}),cr&&ps(Re,Kt),Pt}function Dt(Re,pe,Pe,Ze){var Pt=se(Pe);if(typeof Pt!="function")throw Error(i(150));if(Pe=Pt.call(Pe),Pe==null)throw Error(i(151));for(var Bt=Pt=null,Gt=pe,Kt=pe=0,no=null,kn=Pe.next();Gt!==null&&!kn.done;Kt++,kn=Pe.next()){Gt.index>Kt?(no=Gt,Gt=null):no=Gt.sibling;var Il=Qe(Re,Gt,kn.value,Ze);if(Il===null){Gt===null&&(Gt=no);break}r&&Gt&&Il.alternate===null&&a(Re,Gt),pe=E(Il,pe,Kt),Bt===null?Pt=Il:Bt.sibling=Il,Bt=Il,Gt=no}if(kn.done)return f(Re,Gt),cr&&ps(Re,Kt),Pt;if(Gt===null){for(;!kn.done;Kt++,kn=Pe.next())kn=et(Re,kn.value,Ze),kn!==null&&(pe=E(kn,pe,Kt),Bt===null?Pt=kn:Bt.sibling=kn,Bt=kn);return cr&&ps(Re,Kt),Pt}for(Gt=m(Re,Gt);!kn.done;Kt++,kn=Pe.next())kn=wt(Gt,Re,Kt,kn.value,Ze),kn!==null&&(r&&kn.alternate!==null&&Gt.delete(kn.key===null?Kt:kn.key),pe=E(kn,pe,Kt),Bt===null?Pt=kn:Bt.sibling=kn,Bt=kn);return r&&Gt.forEach(function(Dy){return a(Re,Dy)}),cr&&ps(Re,Kt),Pt}function kr(Re,pe,Pe,Ze){if(typeof Pe=="object"&&Pe!==null&&Pe.type===X&&Pe.key===null&&(Pe=Pe.props.children),typeof Pe=="object"&&Pe!==null){switch(Pe.$$typeof){case N:e:{for(var Pt=Pe.key,Bt=pe;Bt!==null;){if(Bt.key===Pt){if(Pt=Pe.type,Pt===X){if(Bt.tag===7){f(Re,Bt.sibling),pe=x(Bt,Pe.props.children),pe.return=Re,Re=pe;break e}}else if(Bt.elementType===Pt||typeof Pt=="object"&&Pt!==null&&Pt.$$typeof===ge&&Kv(Pt)===Bt.type){f(Re,Bt.sibling),pe=x(Bt,Pe.props),pe.ref=hs(Re,Bt,Pe),pe.return=Re,Re=pe;break e}f(Re,Bt);break}else a(Re,Bt);Bt=Bt.sibling}Pe.type===X?(pe=Ji(Pe.props.children,Re.mode,Ze,Pe.key),pe.return=Re,Re=pe):(Ze=Ic(Pe.type,Pe.key,Pe.props,null,Re.mode,Ze),Ze.ref=hs(Re,pe,Pe),Ze.return=Re,Re=Ze)}return I(Re);case z:e:{for(Bt=Pe.key;pe!==null;){if(pe.key===Bt)if(pe.tag===4&&pe.stateNode.containerInfo===Pe.containerInfo&&pe.stateNode.implementation===Pe.implementation){f(Re,pe.sibling),pe=x(pe,Pe.children||[]),pe.return=Re,Re=pe;break e}else{f(Re,pe);break}else a(Re,pe);pe=pe.sibling}pe=Td(Pe,Re.mode,Ze),pe.return=Re,Re=pe}return I(Re);case ge:return Bt=Pe._init,kr(Re,pe,Bt(Pe._payload),Ze)}if(gt(Pe))return kt(Re,pe,Pe,Ze);if(se(Pe))return Dt(Re,pe,Pe,Ze);Wf(Re,Pe)}return typeof Pe=="string"&&Pe!==""||typeof Pe=="number"?(Pe=""+Pe,pe!==null&&pe.tag===6?(f(Re,pe.sibling),pe=x(pe,Pe),pe.return=Re,Re=pe):(f(Re,pe),pe=Dh(Pe,Re.mode,Ze),pe.return=Re,Re=pe),I(Re)):f(Re,pe)}return kr}var Rr=ms(!0),bt=ms(!1),ga=Na(null),na=null,uu=null,rh=null;function oh(){rh=uu=na=null}function ah(r){var a=ga.current;er(ga),r._currentValue=a}function ih(r,a,f){for(;r!==null;){var m=r.alternate;if((r.childLanes&a)!==a?(r.childLanes|=a,m!==null&&(m.childLanes|=a)):m!==null&&(m.childLanes&a)!==a&&(m.childLanes|=a),r===f)break;r=r.return}}function hr(r,a){na=r,rh=uu=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&a)!==0&&(_r=!0),r.firstContext=null)}function La(r){var a=r._currentValue;if(rh!==r)if(r={context:r,memoizedValue:a,next:null},uu===null){if(na===null)throw Error(i(308));uu=r,na.dependencies={lanes:0,firstContext:r}}else uu=uu.next=r;return a}var vs=null;function lh(r){vs===null?vs=[r]:vs.push(r)}function sh(r,a,f,m){var x=a.interleaved;return x===null?(f.next=f,lh(a)):(f.next=x.next,x.next=f),a.interleaved=f,ba(r,m)}function ba(r,a){r.lanes|=a;var f=r.alternate;for(f!==null&&(f.lanes|=a),f=r,r=r.return;r!==null;)r.childLanes|=a,f=r.alternate,f!==null&&(f.childLanes|=a),f=r,r=r.return;return f.tag===3?f.stateNode:null}var xa=!1;function uh(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Zv(r,a){r=r.updateQueue,a.updateQueue===r&&(a.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function qi(r,a){return{eventTime:r,lane:a,tag:0,payload:null,callback:null,next:null}}function Ol(r,a,f){var m=r.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(r,f)}return x=m.interleaved,x===null?(a.next=a,lh(m)):(a.next=x.next,x.next=a),m.interleaved=a,ba(r,f)}function Yf(r,a,f){if(a=a.updateQueue,a!==null&&(a=a.shared,(f&4194240)!==0)){var m=a.lanes;m&=r.pendingLanes,f|=m,a.lanes=f,vf(r,f)}}function Jv(r,a){var f=r.updateQueue,m=r.alternate;if(m!==null&&(m=m.updateQueue,f===m)){var x=null,E=null;if(f=f.firstBaseUpdate,f!==null){do{var I={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};E===null?x=E=I:E=E.next=I,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},r.updateQueue=f;return}r=f.lastBaseUpdate,r===null?f.firstBaseUpdate=a:r.next=a,f.lastBaseUpdate=a}function sc(r,a,f,m){var x=r.updateQueue;xa=!1;var E=x.firstBaseUpdate,I=x.lastBaseUpdate,te=x.shared.pending;if(te!==null){x.shared.pending=null;var le=te,Le=le.next;le.next=null,I===null?E=Le:I.next=Le,I=le;var Ke=r.alternate;Ke!==null&&(Ke=Ke.updateQueue,te=Ke.lastBaseUpdate,te!==I&&(te===null?Ke.firstBaseUpdate=Le:te.next=Le,Ke.lastBaseUpdate=le))}if(E!==null){var et=x.baseState;I=0,Ke=Le=le=null,te=E;do{var Qe=te.lane,wt=te.eventTime;if((m&Qe)===Qe){Ke!==null&&(Ke=Ke.next={eventTime:wt,lane:0,tag:te.tag,payload:te.payload,callback:te.callback,next:null});e:{var kt=r,Dt=te;switch(Qe=a,wt=f,Dt.tag){case 1:if(kt=Dt.payload,typeof kt=="function"){et=kt.call(wt,et,Qe);break e}et=kt;break e;case 3:kt.flags=kt.flags&-65537|128;case 0:if(kt=Dt.payload,Qe=typeof kt=="function"?kt.call(wt,et,Qe):kt,Qe==null)break e;et=oe({},et,Qe);break e;case 2:xa=!0}}te.callback!==null&&te.lane!==0&&(r.flags|=64,Qe=x.effects,Qe===null?x.effects=[te]:Qe.push(te))}else wt={eventTime:wt,lane:Qe,tag:te.tag,payload:te.payload,callback:te.callback,next:null},Ke===null?(Le=Ke=wt,le=et):Ke=Ke.next=wt,I|=Qe;if(te=te.next,te===null){if(te=x.shared.pending,te===null)break;Qe=te,te=Qe.next,Qe.next=null,x.lastBaseUpdate=Qe,x.shared.pending=null}}while(!0);if(Ke===null&&(le=et),x.baseState=le,x.firstBaseUpdate=Le,x.lastBaseUpdate=Ke,a=x.shared.interleaved,a!==null){x=a;do I|=x.lane,x=x.next;while(x!==a)}else E===null&&(x.shared.lanes=0);Ei|=I,r.lanes=I,r.memoizedState=et}}function ch(r,a,f){if(r=a.effects,a.effects=null,r!==null)for(a=0;a<r.length;a++){var m=r[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 uc={},xi=Na(uc),cc=Na(uc),fc=Na(uc);function ys(r){if(r===uc)throw Error(i(174));return r}function fh(r,a){switch(_t(fc,a),_t(cc,r),_t(xi,uc),r=a.nodeType,r){case 9:case 11:a=(a=a.documentElement)?a.namespaceURI:Tn(null,"");break;default:r=r===8?a.parentNode:a,a=r.namespaceURI||null,r=r.tagName,a=Tn(a,r)}er(xi),_t(xi,a)}function gs(){er(xi),er(cc),er(fc)}function ey(r){ys(fc.current);var a=ys(xi.current),f=Tn(a,r.type);a!==f&&(_t(cc,r),_t(xi,f))}function qf(r){cc.current===r&&(er(xi),er(cc))}var mr=Na(0);function Qf(r){for(var a=r;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===r)break;for(;a.sibling===null;){if(a.return===null||a.return===r)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var dc=[];function Vt(){for(var r=0;r<dc.length;r++)dc[r]._workInProgressVersionPrimary=null;dc.length=0}var hn=_.ReactCurrentDispatcher,$n=_.ReactCurrentBatchConfig,zn=0,An=null,Lr=null,eo=null,Xf=!1,pc=!1,bs=0,qe=0;function En(){throw Error(i(321))}function qt(r,a){if(a===null)return!1;for(var f=0;f<a.length&&f<r.length;f++)if(!Xa(r[f],a[f]))return!1;return!0}function $l(r,a,f,m,x,E){if(zn=E,An=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,hn.current=r===null||r.memoizedState===null?fd:bc,r=f(m,x),pc){E=0;do{if(pc=!1,bs=0,25<=E)throw Error(i(301));E+=1,eo=Lr=null,a.updateQueue=null,hn.current=dd,r=f(m,x)}while(pc)}if(hn.current=Es,a=Lr!==null&&Lr.next!==null,zn=0,eo=Lr=An=null,Xf=!1,a)throw Error(i(300));return r}function Za(){var r=bs!==0;return bs=0,r}function Ro(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return eo===null?An.memoizedState=eo=r:eo=eo.next=r,eo}function Or(){if(Lr===null){var r=An.alternate;r=r!==null?r.memoizedState:null}else r=Lr.next;var a=eo===null?An.memoizedState:eo.next;if(a!==null)eo=a,Lr=r;else{if(r===null)throw Error(i(310));Lr=r,r={memoizedState:Lr.memoizedState,baseState:Lr.baseState,baseQueue:Lr.baseQueue,queue:Lr.queue,next:null},eo===null?An.memoizedState=eo=r:eo=eo.next=r}return eo}function Qi(r,a){return typeof a=="function"?a(r):a}function Al(r){var a=Or(),f=a.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=r;var m=Lr,x=m.baseQueue,E=f.pending;if(E!==null){if(x!==null){var I=x.next;x.next=E.next,E.next=I}m.baseQueue=x=E,f.pending=null}if(x!==null){E=x.next,m=m.baseState;var te=I=null,le=null,Le=E;do{var Ke=Le.lane;if((zn&Ke)===Ke)le!==null&&(le=le.next={lane:0,action:Le.action,hasEagerState:Le.hasEagerState,eagerState:Le.eagerState,next:null}),m=Le.hasEagerState?Le.eagerState:r(m,Le.action);else{var et={lane:Ke,action:Le.action,hasEagerState:Le.hasEagerState,eagerState:Le.eagerState,next:null};le===null?(te=le=et,I=m):le=le.next=et,An.lanes|=Ke,Ei|=Ke}Le=Le.next}while(Le!==null&&Le!==E);le===null?I=m:le.next=te,Xa(m,a.memoizedState)||(_r=!0),a.memoizedState=m,a.baseState=I,a.baseQueue=le,f.lastRenderedState=m}if(r=f.interleaved,r!==null){x=r;do E=x.lane,An.lanes|=E,Ei|=E,x=x.next;while(x!==r)}else x===null&&(f.lanes=0);return[a.memoizedState,f.dispatch]}function xs(r){var a=Or(),f=a.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=r;var m=f.dispatch,x=f.pending,E=a.memoizedState;if(x!==null){f.pending=null;var I=x=x.next;do E=r(E,I.action),I=I.next;while(I!==x);Xa(E,a.memoizedState)||(_r=!0),a.memoizedState=E,a.baseQueue===null&&(a.baseState=E),f.lastRenderedState=E}return[E,m]}function Kf(){}function Zf(r,a){var f=An,m=Or(),x=a(),E=!Xa(m.memoizedState,x);if(E&&(m.memoizedState=x,_r=!0),m=m.queue,hc(td.bind(null,f,m,r),[r]),m.getSnapshot!==a||E||eo!==null&&eo.memoizedState.tag&1){if(f.flags|=2048,Ss(9,ed.bind(null,f,m,x,a),void 0,null),Wr===null)throw Error(i(349));(zn&30)!==0||Jf(f,a,x)}return x}function Jf(r,a,f){r.flags|=16384,r={getSnapshot:a,value:f},a=An.updateQueue,a===null?(a={lastEffect:null,stores:null},An.updateQueue=a,a.stores=[r]):(f=a.stores,f===null?a.stores=[r]:f.push(r))}function ed(r,a,f,m){a.value=f,a.getSnapshot=m,nd(a)&&rd(r)}function td(r,a,f){return f(function(){nd(a)&&rd(r)})}function nd(r){var a=r.getSnapshot;r=r.value;try{var f=a();return!Xa(r,f)}catch{return!0}}function rd(r){var a=ba(r,1);a!==null&&Mo(a,r,1,-1)}function od(r){var a=Ro();return typeof r=="function"&&(r=r()),a.memoizedState=a.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qi,lastRenderedState:r},a.queue=r,r=r.dispatch=ws.bind(null,An,r),[a.memoizedState,r]}function Ss(r,a,f,m){return r={tag:r,create:a,destroy:f,deps:m,next:null},a=An.updateQueue,a===null?(a={lastEffect:null,stores:null},An.updateQueue=a,a.lastEffect=r.next=r):(f=a.lastEffect,f===null?a.lastEffect=r.next=r:(m=f.next,f.next=r,r.next=m,a.lastEffect=r)),r}function ad(){return Or().memoizedState}function cu(r,a,f,m){var x=Ro();An.flags|=r,x.memoizedState=Ss(1|a,f,void 0,m===void 0?null:m)}function fu(r,a,f,m){var x=Or();m=m===void 0?null:m;var E=void 0;if(Lr!==null){var I=Lr.memoizedState;if(E=I.destroy,m!==null&&qt(m,I.deps)){x.memoizedState=Ss(a,f,E,m);return}}An.flags|=r,x.memoizedState=Ss(1|a,f,E,m)}function id(r,a){return cu(8390656,8,r,a)}function hc(r,a){return fu(2048,8,r,a)}function ld(r,a){return fu(4,2,r,a)}function mc(r,a){return fu(4,4,r,a)}function Cs(r,a){if(typeof a=="function")return r=r(),a(r),function(){a(null)};if(a!=null)return r=r(),a.current=r,function(){a.current=null}}function sd(r,a,f){return f=f!=null?f.concat([r]):null,fu(4,4,Cs.bind(null,a,r),f)}function vc(){}function ud(r,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=[r,a],r)}function cd(r,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]:(r=r(),f.memoizedState=[r,a],r)}function dh(r,a,f){return(zn&21)===0?(r.baseState&&(r.baseState=!1,_r=!0),r.memoizedState=f):(Xa(f,a)||(f=qo(),An.lanes|=f,Ei|=f,r.baseState=!0),a)}function yc(r,a){var f=Fn;Fn=f!==0&&4>f?f:4,r(!0);var m=$n.transition;$n.transition={};try{r(!1),a()}finally{Fn=f,$n.transition=m}}function ph(){return Or().memoizedState}function gc(r,a,f){var m=Ti(r);if(f={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null},ra(r))ty(a,f);else if(f=sh(r,a,f,m),f!==null){var x=Vr();Mo(f,r,m,x),Kn(f,a,m)}}function ws(r,a,f){var m=Ti(r),x={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null};if(ra(r))ty(a,x);else{var E=r.alternate;if(r.lanes===0&&(E===null||E.lanes===0)&&(E=a.lastRenderedReducer,E!==null))try{var I=a.lastRenderedState,te=E(I,f);if(x.hasEagerState=!0,x.eagerState=te,Xa(te,I)){var le=a.interleaved;le===null?(x.next=x,lh(a)):(x.next=le.next,le.next=x),a.interleaved=x;return}}catch{}finally{}f=sh(r,a,x,m),f!==null&&(x=Vr(),Mo(f,r,m,x),Kn(f,a,m))}}function ra(r){var a=r.alternate;return r===An||a!==null&&a===An}function ty(r,a){pc=Xf=!0;var f=r.pending;f===null?a.next=a:(a.next=f.next,f.next=a),r.pending=a}function Kn(r,a,f){if((f&4194240)!==0){var m=a.lanes;m&=r.pendingLanes,f|=m,a.lanes=f,vf(r,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},fd={readContext:La,useCallback:function(r,a){return Ro().memoizedState=[r,a===void 0?null:a],r},useContext:La,useEffect:id,useImperativeHandle:function(r,a,f){return f=f!=null?f.concat([r]):null,cu(4194308,4,Cs.bind(null,a,r),f)},useLayoutEffect:function(r,a){return cu(4194308,4,r,a)},useInsertionEffect:function(r,a){return cu(4,2,r,a)},useMemo:function(r,a){var f=Ro();return a=a===void 0?null:a,r=r(),f.memoizedState=[r,a],r},useReducer:function(r,a,f){var m=Ro();return a=f!==void 0?f(a):a,m.memoizedState=m.baseState=a,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:a},m.queue=r,r=r.dispatch=gc.bind(null,An,r),[m.memoizedState,r]},useRef:function(r){var a=Ro();return r={current:r},a.memoizedState=r},useState:od,useDebugValue:vc,useDeferredValue:function(r){return Ro().memoizedState=r},useTransition:function(){var r=od(!1),a=r[0];return r=yc.bind(null,r[1]),Ro().memoizedState=r,[a,r]},useMutableSource:function(){},useSyncExternalStore:function(r,a,f){var m=An,x=Ro();if(cr){if(f===void 0)throw Error(i(407));f=f()}else{if(f=a(),Wr===null)throw Error(i(349));(zn&30)!==0||Jf(m,a,f)}x.memoizedState=f;var E={value:f,getSnapshot:a};return x.queue=E,id(td.bind(null,m,E,r),[r]),m.flags|=2048,Ss(9,ed.bind(null,m,E,f,a),void 0,null),f},useId:function(){var r=Ro(),a=Wr.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=qe++,a=":"+a+"r"+f.toString(32)+":";return r.memoizedState=a},unstable_isNewReconciler:!1},bc={readContext:La,useCallback:ud,useContext:La,useEffect:hc,useImperativeHandle:sd,useInsertionEffect:ld,useLayoutEffect:mc,useMemo:cd,useReducer:Al,useRef:ad,useState:function(){return Al(Qi)},useDebugValue:vc,useDeferredValue:function(r){var a=Or();return dh(a,Lr.memoizedState,r)},useTransition:function(){var r=Al(Qi)[0],a=Or().memoizedState;return[r,a]},useMutableSource:Kf,useSyncExternalStore:Zf,useId:ph,unstable_isNewReconciler:!1},dd={readContext:La,useCallback:ud,useContext:La,useEffect:hc,useImperativeHandle:sd,useInsertionEffect:ld,useLayoutEffect:mc,useMemo:cd,useReducer:xs,useRef:ad,useState:function(){return xs(Qi)},useDebugValue:vc,useDeferredValue:function(r){var a=Or();return Lr===null?a.memoizedState=r:dh(a,Lr.memoizedState,r)},useTransition:function(){var r=xs(Qi)[0],a=Or().memoizedState;return[r,a]},useMutableSource:Kf,useSyncExternalStore:Zf,useId:ph,unstable_isNewReconciler:!1};function Ja(r,a){if(r&&r.defaultProps){a=oe({},a),r=r.defaultProps;for(var f in r)a[f]===void 0&&(a[f]=r[f]);return a}return a}function hh(r,a,f,m){a=r.memoizedState,f=f(m,a),f=f==null?a:oe({},a,f),r.memoizedState=f,r.lanes===0&&(r.updateQueue.baseState=f)}var pd={isMounted:function(r){return(r=r._reactInternals)?At(r)===r:!1},enqueueSetState:function(r,a,f){r=r._reactInternals;var m=Vr(),x=Ti(r),E=qi(m,x);E.payload=a,f!=null&&(E.callback=f),a=Ol(r,E,x),a!==null&&(Mo(a,r,x,m),Yf(a,r,x))},enqueueReplaceState:function(r,a,f){r=r._reactInternals;var m=Vr(),x=Ti(r),E=qi(m,x);E.tag=1,E.payload=a,f!=null&&(E.callback=f),a=Ol(r,E,x),a!==null&&(Mo(a,r,x,m),Yf(a,r,x))},enqueueForceUpdate:function(r,a){r=r._reactInternals;var f=Vr(),m=Ti(r),x=qi(f,m);x.tag=2,a!=null&&(x.callback=a),a=Ol(r,x,m),a!==null&&(Mo(a,r,m,f),Yf(a,r,m))}};function ny(r,a,f,m,x,E,I){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(m,E,I):a.prototype&&a.prototype.isPureReactComponent?!Zu(f,m)||!Zu(x,E):!0}function hd(r,a,f){var m=!1,x=To,E=a.contextType;return typeof E=="object"&&E!==null?E=La(E):(x=Dr(a)?Zo:xr.current,m=a.contextTypes,E=(m=m!=null)?Jo(r,x):To),a=new a(f,E),r.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=pd,r.stateNode=a,a._reactInternals=r,m&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=x,r.__reactInternalMemoizedMaskedChildContext=E),a}function ry(r,a,f,m){r=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(f,m),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(f,m),a.state!==r&&pd.enqueueReplaceState(a,a.state,null)}function xc(r,a,f,m){var x=r.stateNode;x.props=f,x.state=r.memoizedState,x.refs={},uh(r);var E=a.contextType;typeof E=="object"&&E!==null?x.context=La(E):(E=Dr(a)?Zo:xr.current,x.context=Jo(r,E)),x.state=r.memoizedState,E=a.getDerivedStateFromProps,typeof E=="function"&&(hh(r,a,E,f),x.state=r.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&&pd.enqueueReplaceState(x,x.state,null),sc(r,f,x,m),x.state=r.memoizedState),typeof x.componentDidMount=="function"&&(r.flags|=4194308)}function Ts(r,a){try{var f="",m=a;do f+=He(m),m=m.return;while(m);var x=f}catch(E){x=`
|
|
2705
2705
|
Error generating stack: `+E.message+`
|
|
2706
|
-
`+E.stack}return{value:r,source:a,stack:x,digest:null}}function mh(r,a,f){return{value:r,source:null,stack:f??null,digest:a??null}}function vh(r,a){try{console.error(a.value)}catch(f){setTimeout(function(){throw f})}}var md=typeof WeakMap=="function"?WeakMap:Map;function oy(r,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),vh(r,a)},f}function yh(r,a,f){f=qi(-1,f),f.tag=3;var m=r.type.getDerivedStateFromError;if(typeof m=="function"){var x=a.value;f.payload=function(){return m(x)},f.callback=function(){vh(r,a)}}var E=r.stateNode;return E!==null&&typeof E.componentDidCatch=="function"&&(f.callback=function(){vh(r,a),typeof m!="function"&&(Nl===null?Nl=new Set([this]):Nl.add(this));var I=a.stack;this.componentDidCatch(a.value,{componentStack:I!==null?I:""})}),f}function gh(r,a,f){var m=r.pingCache;if(m===null){m=r.pingCache=new md;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),r=Kb.bind(null,r,a,f),a.then(r,r))}function ay(r){do{var a;if((a=r.tag===13)&&(a=r.memoizedState,a=a!==null?a.dehydrated!==null:!0),a)return r;r=r.return}while(r!==null);return null}function kl(r,a,f,m,x){return(r.mode&1)===0?(r===a?r.flags|=65536:(r.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),r):(r.flags|=65536,r.lanes=x,r)}var Sc=_.ReactCurrentOwner,_r=!1;function po(r,a,f,m){a.child=r===null?bt(a,null,f,m):Rr(a,r.child,f,m)}function oa(r,a,f,m,x){f=f.render;var E=a.ref;return hr(a,x),m=$l(r,a,f,m,E,x),f=Za(),r!==null&&!_r?(a.updateQueue=r.updateQueue,a.flags&=-2053,r.lanes&=~x,Ia(r,a,x)):(cr&&f&&zf(a),a.flags|=1,po(r,a,m,x),a.child)}function Rs(r,a,f,m,x){if(r===null){var E=f.type;return typeof E=="function"&&!Nh(E)&&E.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(a.tag=15,a.type=E,on(r,a,E,m,x)):(r=Ic(f.type,null,m,a,a.mode,x),r.ref=a.ref,r.return=a,a.child=r)}if(E=r.child,(r.lanes&x)===0){var I=E.memoizedProps;if(f=f.compare,f=f!==null?f:Zu,f(I,m)&&r.ref===a.ref)return Ia(r,a,x)}return a.flags|=1,r=Ml(E,m),r.ref=a.ref,r.return=a,a.child=r}function on(r,a,f,m,x){if(r!==null){var E=r.memoizedProps;if(Zu(E,m)&&r.ref===a.ref)if(_r=!1,a.pendingProps=m=E,(r.lanes&x)!==0)(r.flags&131072)!==0&&(_r=!0);else return a.lanes=r.lanes,Ia(r,a,x)}return iy(r,a,f,m,x)}function Cc(r,a,f){var m=a.pendingProps,x=m.children,E=r!==null?r.memoizedState:null;if(m.mode==="hidden")if((a.mode&1)===0)a.memoizedState={baseLanes:0,cachePool:null,transitions:null},_t(hu,Sa),Sa|=f;else{if((f&1073741824)===0)return r=E!==null?E.baseLanes|f:f,a.lanes=a.childLanes=1073741824,a.memoizedState={baseLanes:r,cachePool:null,transitions:null},a.updateQueue=null,_t(hu,Sa),Sa|=r,null;a.memoizedState={baseLanes:0,cachePool:null,transitions:null},m=E!==null?E.baseLanes:f,_t(hu,Sa),Sa|=m}else E!==null?(m=E.baseLanes|f,a.memoizedState=null):m=f,_t(hu,Sa),Sa|=m;return po(r,a,x,f),a.child}function bh(r,a){var f=a.ref;(r===null&&f!==null||r!==null&&r.ref!==f)&&(a.flags|=512,a.flags|=2097152)}function iy(r,a,f,m,x){var E=Dr(f)?Zo:xr.current;return E=Jo(a,E),hr(a,x),f=$l(r,a,f,m,E,x),m=Za(),r!==null&&!_r?(a.updateQueue=r.updateQueue,a.flags&=-2053,r.lanes&=~x,Ia(r,a,x)):(cr&&m&&zf(a),a.flags|=1,po(r,a,f,x),a.child)}function ly(r,a,f,m,x){if(Dr(f)){var E=!0;Jr(a)}else E=!1;if(hr(a,x),a.stateNode===null)_a(r,a),hd(a,f,m),xc(a,f,m,x),m=!0;else if(r===null){var I=a.stateNode,te=a.memoizedProps;I.props=te;var le=I.context,Le=f.contextType;typeof Le=="object"&&Le!==null?Le=La(Le):(Le=Dr(f)?Zo:xr.current,Le=Jo(a,Le));var Ke=f.getDerivedStateFromProps,et=typeof Ke=="function"||typeof I.getSnapshotBeforeUpdate=="function";et||typeof I.UNSAFE_componentWillReceiveProps!="function"&&typeof I.componentWillReceiveProps!="function"||(te!==m||le!==Le)&&ry(a,I,m,Le),xa=!1;var Qe=a.memoizedState;I.state=Qe,sc(a,m,I,x),le=a.memoizedState,te!==m||Qe!==le||Hr.current||xa?(typeof Ke=="function"&&(hh(a,f,Ke,m),le=a.memoizedState),(te=xa||ny(a,f,te,m,Qe,le,Le))?(et||typeof I.UNSAFE_componentWillMount!="function"&&typeof I.componentWillMount!="function"||(typeof I.componentWillMount=="function"&&I.componentWillMount(),typeof I.UNSAFE_componentWillMount=="function"&&I.UNSAFE_componentWillMount()),typeof I.componentDidMount=="function"&&(a.flags|=4194308)):(typeof I.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=m,a.memoizedState=le),I.props=m,I.state=le,I.context=Le,m=te):(typeof I.componentDidMount=="function"&&(a.flags|=4194308),m=!1)}else{I=a.stateNode,Zv(r,a),te=a.memoizedProps,Le=a.type===a.elementType?te:Ja(a.type,te),I.props=Le,et=a.pendingProps,Qe=I.context,le=f.contextType,typeof le=="object"&&le!==null?le=La(le):(le=Dr(f)?Zo:xr.current,le=Jo(a,le));var wt=f.getDerivedStateFromProps;(Ke=typeof wt=="function"||typeof I.getSnapshotBeforeUpdate=="function")||typeof I.UNSAFE_componentWillReceiveProps!="function"&&typeof I.componentWillReceiveProps!="function"||(te!==et||Qe!==le)&&ry(a,I,m,le),xa=!1,Qe=a.memoizedState,I.state=Qe,sc(a,m,I,x);var kt=a.memoizedState;te!==et||Qe!==kt||Hr.current||xa?(typeof wt=="function"&&(hh(a,f,wt,m),kt=a.memoizedState),(Le=xa||ny(a,f,Le,m,Qe,kt,le)||!1)?(Ke||typeof I.UNSAFE_componentWillUpdate!="function"&&typeof I.componentWillUpdate!="function"||(typeof I.componentWillUpdate=="function"&&I.componentWillUpdate(m,kt,le),typeof I.UNSAFE_componentWillUpdate=="function"&&I.UNSAFE_componentWillUpdate(m,kt,le)),typeof I.componentDidUpdate=="function"&&(a.flags|=4),typeof I.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof I.componentDidUpdate!="function"||te===r.memoizedProps&&Qe===r.memoizedState||(a.flags|=4),typeof I.getSnapshotBeforeUpdate!="function"||te===r.memoizedProps&&Qe===r.memoizedState||(a.flags|=1024),a.memoizedProps=m,a.memoizedState=kt),I.props=m,I.state=kt,I.context=le,m=Le):(typeof I.componentDidUpdate!="function"||te===r.memoizedProps&&Qe===r.memoizedState||(a.flags|=4),typeof I.getSnapshotBeforeUpdate!="function"||te===r.memoizedProps&&Qe===r.memoizedState||(a.flags|=1024),m=!1)}return wc(r,a,f,m,E,x)}function wc(r,a,f,m,x,E){bh(r,a);var I=(a.flags&128)!==0;if(!m&&!I)return x&&Uf(a,f,!1),Ia(r,a,E);m=a.stateNode,Sc.current=a;var te=I&&typeof f.getDerivedStateFromError!="function"?null:m.render();return a.flags|=1,r!==null&&I?(a.child=Rr(a,r.child,null,E),a.child=Rr(a,null,te,E)):po(r,a,te,E),a.memoizedState=m.state,x&&Uf(a,f,!0),a.child}function du(r){var a=r.stateNode;a.pendingContext?qv(r,a.pendingContext,a.pendingContext!==a.context):a.context&&qv(r,a.context,!1),fh(r,a.containerInfo)}function sy(r,a,f,m,x){return Rl(),Yi(x),a.flags|=256,po(r,a,f,m),a.child}var vd={dehydrated:null,treeContext:null,retryLane:0};function xh(r){return{baseLanes:r,cachePool:null,transitions:null}}function yd(r,a,f){var m=a.pendingProps,x=mr.current,E=!1,I=(a.flags&128)!==0,te;if((te=I)||(te=r!==null&&r.memoizedState===null?!1:(x&2)!==0),te?(E=!0,a.flags&=-129):(r===null||r.memoizedState!==null)&&(x|=1),_t(mr,x&1),r===null)return nh(a),r=a.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((a.mode&1)===0?a.lanes=1:r.data==="$!"?a.lanes=8:a.lanes=1073741824,null):(I=m.children,r=m.fallback,E?(m=a.mode,E=a.child,I={mode:"hidden",children:I},(m&1)===0&&E!==null?(E.childLanes=0,E.pendingProps=I):E=Ll(I,m,0,null),r=Ji(r,m,f,null),E.return=a,r.return=a,E.sibling=r,a.child=E,a.child.memoizedState=xh(f),a.memoizedState=vd,r):Sh(a,I));if(x=r.memoizedState,x!==null&&(te=x.dehydrated,te!==null))return uy(r,a,I,m,te,x,f);if(E){E=m.fallback,I=a.mode,x=r.child,te=x.sibling;var le={mode:"hidden",children:m.children};return(I&1)===0&&a.child!==x?(m=a.child,m.childLanes=0,m.pendingProps=le,a.deletions=null):(m=Ml(x,le),m.subtreeFlags=x.subtreeFlags&14680064),te!==null?E=Ml(te,E):(E=Ji(E,I,f,null),E.flags|=2),E.return=a,m.return=a,m.sibling=E,a.child=m,m=E,E=a.child,I=r.child.memoizedState,I=I===null?xh(f):{baseLanes:I.baseLanes|f,cachePool:null,transitions:I.transitions},E.memoizedState=I,E.childLanes=r.childLanes&~f,a.memoizedState=vd,m}return E=r.child,r=E.sibling,m=Ml(E,{mode:"visible",children:m.children}),(a.mode&1)===0&&(m.lanes=f),m.return=a,m.sibling=null,r!==null&&(f=a.deletions,f===null?(a.deletions=[r],a.flags|=16):f.push(r)),a.child=m,a.memoizedState=null,m}function Sh(r,a){return a=Ll({mode:"visible",children:a},r.mode,0,null),a.return=r,r.child=a}function Ec(r,a,f,m){return m!==null&&Yi(m),Rr(a,r.child,null,f),r=Sh(a,a.pendingProps.children),r.flags|=2,a.memoizedState=null,r}function uy(r,a,f,m,x,E,I){if(f)return a.flags&256?(a.flags&=-257,m=mh(Error(i(422))),Ec(r,a,I,m)):a.memoizedState!==null?(a.child=r.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,I,null),E.flags|=2,m.return=a,E.return=a,m.sibling=E,a.child=m,(a.mode&1)!==0&&Rr(a,r.child,null,I),a.child.memoizedState=xh(I),a.memoizedState=vd,E);if((a.mode&1)===0)return Ec(r,a,I,null);if(x.data==="$!"){if(m=x.nextSibling&&x.nextSibling.dataset,m)var te=m.dgst;return m=te,E=Error(i(419)),m=mh(E,m,void 0),Ec(r,a,I,m)}if(te=(I&r.childLanes)!==0,_r||te){if(m=Wr,m!==null){switch(I&-I){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|I))!==0?0:x,x!==0&&x!==E.retryLane&&(E.retryLane=x,ba(r,x),Mo(m,r,x,-1))}return Ph(),m=mh(Error(i(421))),Ec(r,a,I,m)}return x.data==="$?"?(a.flags|=128,a.child=r.child,a=Zb.bind(null,r),x._reactRetry=a,null):(r=E.treeContext,ta=hi(x.nextSibling),ea=a,cr=!0,Ma=null,r!==null&&(Mr[Da++]=gi,Mr[Da++]=bi,Mr[Da++]=ya,gi=r.id,bi=r.overflow,ya=a),a=Sh(a,m.children),a.flags|=4096,a)}function Ch(r,a,f){r.lanes|=a;var m=r.alternate;m!==null&&(m.lanes|=a),ih(r.return,a,f)}function Po(r,a,f,m,x){var E=r.memoizedState;E===null?r.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(r,a,f){var m=a.pendingProps,x=m.revealOrder,E=m.tail;if(po(r,a,m.children,f),m=mr.current,(m&2)!==0)m=m&1|2,a.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=a.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Ch(r,f,a);else if(r.tag===19)Ch(r,f,a);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===a)break e;for(;r.sibling===null;){if(r.return===null||r.return===a)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}m&=1}if(_t(mr,m),(a.mode&1)===0)a.memoizedState=null;else switch(x){case"forwards":for(f=a.child,x=null;f!==null;)r=f.alternate,r!==null&&Qf(r)===null&&(x=f),f=f.sibling;f=x,f===null?(x=a.child,a.child=null):(x=f.sibling,f.sibling=null),Po(a,!1,x,f,E);break;case"backwards":for(f=null,x=a.child,a.child=null;x!==null;){if(r=x.alternate,r!==null&&Qf(r)===null){a.child=x;break}r=x.sibling,x.sibling=f,f=x,x=r}Po(a,!0,f,null,E);break;case"together":Po(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function _a(r,a){(a.mode&1)===0&&r!==null&&(r.alternate=null,a.alternate=null,a.flags|=2)}function Ia(r,a,f){if(r!==null&&(a.dependencies=r.dependencies),Ei|=a.lanes,(f&a.childLanes)===0)return null;if(r!==null&&a.child!==r.child)throw Error(i(153));if(a.child!==null){for(r=a.child,f=Ml(r,r.pendingProps),a.child=f,f.return=a;r.sibling!==null;)r=r.sibling,f=f.sibling=Ml(r,r.pendingProps),f.return=a;f.sibling=null}return a.child}function Tc(r,a,f){switch(a.tag){case 3:du(a),Rl();break;case 5:ey(a);break;case 1:Dr(a.type)&&Jr(a);break;case 4:fh(a,a.stateNode.containerInfo);break;case 10:var m=a.type._context,x=a.memoizedProps.value;_t(ga,m._currentValue),m._currentValue=x;break;case 13:if(m=a.memoizedState,m!==null)return m.dehydrated!==null?(_t(mr,mr.current&1),a.flags|=128,null):(f&a.child.childLanes)!==0?yd(r,a,f):(_t(mr,mr.current&1),r=Ia(r,a,f),r!==null?r.sibling:null);_t(mr,mr.current&1);break;case 19:if(m=(f&a.childLanes)!==0,(r.flags&128)!==0){if(m)return Si(r,a,f);a.flags|=128}if(x=a.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),_t(mr,mr.current),m)break;return null;case 22:case 23:return a.lanes=0,Cc(r,a,f)}return Ia(r,a,f)}var Fa,Ir,cy,fy;Fa=function(r,a){for(var f=a.child;f!==null;){if(f.tag===5||f.tag===6)r.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}},Ir=function(){},cy=function(r,a,f,m){var x=r.memoizedProps;if(x!==m){r=a.stateNode,ys(xi.current);var E=null;switch(f){case"input":x=ye(r,x),m=ye(r,m),E=[];break;case"select":x=oe({},x,{value:void 0}),m=oe({},m,{value:void 0}),E=[];break;case"textarea":x=lt(r,x),m=lt(r,m),E=[];break;default:typeof x.onClick!="function"&&typeof m.onClick=="function"&&(r.onclick=xl)}On(f,m);var I;f=null;for(Le in x)if(!m.hasOwnProperty(Le)&&x.hasOwnProperty(Le)&&x[Le]!=null)if(Le==="style"){var te=x[Le];for(I in te)te.hasOwnProperty(I)&&(f||(f={}),f[I]="")}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 le=m[Le];if(te=x!=null?x[Le]:void 0,m.hasOwnProperty(Le)&&le!==te&&(le!=null||te!=null))if(Le==="style")if(te){for(I in te)!te.hasOwnProperty(I)||le&&le.hasOwnProperty(I)||(f||(f={}),f[I]="");for(I in le)le.hasOwnProperty(I)&&te[I]!==le[I]&&(f||(f={}),f[I]=le[I])}else f||(E||(E=[]),E.push(Le,f)),f=le;else Le==="dangerouslySetInnerHTML"?(le=le?le.__html:void 0,te=te?te.__html:void 0,le!=null&&te!==le&&(E=E||[]).push(Le,le)):Le==="children"?typeof le!="string"&&typeof le!="number"||(E=E||[]).push(Le,""+le):Le!=="suppressContentEditableWarning"&&Le!=="suppressHydrationWarning"&&(c.hasOwnProperty(Le)?(le!=null&&Le==="onScroll"&&_n("scroll",r),E||te===le||(E=[])):(E=E||[]).push(Le,le))}f&&(E=E||[]).push("style",f);var Le=E;(a.updateQueue=Le)&&(a.flags|=4)}},fy=function(r,a,f,m){f!==m&&(a.flags|=4)};function Rc(r,a){if(!cr)switch(r.tailMode){case"hidden":a=r.tail;for(var f=null;a!==null;)a.alternate!==null&&(f=a),a=a.sibling;f===null?r.tail=null:f.sibling=null;break;case"collapsed":f=r.tail;for(var m=null;f!==null;)f.alternate!==null&&(m=f),f=f.sibling;m===null?a||r.tail===null?r.tail=null:r.tail.sibling=null:m.sibling=null}}function to(r){var a=r.alternate!==null&&r.alternate.child===r.child,f=0,m=0;if(a)for(var x=r.child;x!==null;)f|=x.lanes|x.childLanes,m|=x.subtreeFlags&14680064,m|=x.flags&14680064,x.return=r,x=x.sibling;else for(x=r.child;x!==null;)f|=x.lanes|x.childLanes,m|=x.subtreeFlags,m|=x.flags,x.return=r,x=x.sibling;return r.subtreeFlags|=m,r.childLanes=f,a}function dy(r,a,f){var m=a.pendingProps;switch(Hf(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 Dr(a.type)&&lu(),to(a),null;case 3:return m=a.stateNode,gs(),er(Hr),er(xr),Vt(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),(r===null||r.child===null)&&(Gf(a)?a.flags|=4:r===null||r.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Ma!==null&&(As(Ma),Ma=null))),Ir(r,a),to(a),null;case 5:qf(a);var x=ys(fc.current);if(f=a.type,r!==null&&a.stateNode!=null)cy(r,a,f,m,x),r.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(r=ys(xi.current),Gf(a)){m=a.stateNode,f=a.type;var E=a.memoizedProps;switch(m[mi]=a,m[oc]=E,r=(a.mode&1)!==0,f){case"dialog":_n("cancel",m),_n("close",m);break;case"iframe":case"object":case"embed":_n("load",m);break;case"video":case"audio":for(x=0;x<tc.length;x++)_n(tc[x],m);break;case"source":_n("error",m);break;case"img":case"image":case"link":_n("error",m),_n("load",m);break;case"details":_n("toggle",m);break;case"input":Fe(m,E),_n("invalid",m);break;case"select":m._wrapperState={wasMultiple:!!E.multiple},_n("invalid",m);break;case"textarea":sn(m,E),_n("invalid",m)}On(f,E),x=null;for(var I in E)if(E.hasOwnProperty(I)){var te=E[I];I==="children"?typeof te=="string"?m.textContent!==te&&(E.suppressHydrationWarning!==!0&&If(m.textContent,te,r),x=["children",te]):typeof te=="number"&&m.textContent!==""+te&&(E.suppressHydrationWarning!==!0&&If(m.textContent,te,r),x=["children",""+te]):c.hasOwnProperty(I)&&te!=null&&I==="onScroll"&&_n("scroll",m)}switch(f){case"input":be(m),jt(m,E,!0);break;case"textarea":be(m),dn(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{I=x.nodeType===9?x:x.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=un(f)),r==="http://www.w3.org/1999/xhtml"?f==="script"?(r=I.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof m.is=="string"?r=I.createElement(f,{is:m.is}):(r=I.createElement(f),f==="select"&&(I=r,m.multiple?I.multiple=!0:m.size&&(I.size=m.size))):r=I.createElementNS(r,f),r[mi]=a,r[oc]=m,Fa(r,a,!1,!1),a.stateNode=r;e:{switch(I=Ln(f,m),f){case"dialog":_n("cancel",r),_n("close",r),x=m;break;case"iframe":case"object":case"embed":_n("load",r),x=m;break;case"video":case"audio":for(x=0;x<tc.length;x++)_n(tc[x],r);x=m;break;case"source":_n("error",r),x=m;break;case"img":case"image":case"link":_n("error",r),_n("load",r),x=m;break;case"details":_n("toggle",r),x=m;break;case"input":Fe(r,m),x=ye(r,m),_n("invalid",r);break;case"option":x=m;break;case"select":r._wrapperState={wasMultiple:!!m.multiple},x=oe({},m,{value:void 0}),_n("invalid",r);break;case"textarea":sn(r,m),x=lt(r,m),_n("invalid",r);break;default:x=m}On(f,x),te=x;for(E in te)if(te.hasOwnProperty(E)){var le=te[E];E==="style"?Rn(r,le):E==="dangerouslySetInnerHTML"?(le=le?le.__html:void 0,le!=null&&or(r,le)):E==="children"?typeof le=="string"?(f!=="textarea"||le!=="")&&it(r,le):typeof le=="number"&&it(r,""+le):E!=="suppressContentEditableWarning"&&E!=="suppressHydrationWarning"&&E!=="autoFocus"&&(c.hasOwnProperty(E)?le!=null&&E==="onScroll"&&_n("scroll",r):le!=null&&A(r,E,le,I))}switch(f){case"input":be(r),jt(r,m,!1);break;case"textarea":be(r),dn(r);break;case"option":m.value!=null&&r.setAttribute("value",""+Z(m.value));break;case"select":r.multiple=!!m.multiple,E=m.value,E!=null?Ct(r,!!m.multiple,E,!1):m.defaultValue!=null&&Ct(r,!!m.multiple,m.defaultValue,!0);break;default:typeof x.onClick=="function"&&(r.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(r&&a.stateNode!=null)fy(r,a,r.memoizedProps,m);else{if(typeof m!="string"&&a.stateNode===null)throw Error(i(166));if(f=ys(fc.current),ys(xi.current),Gf(a)){if(m=a.stateNode,f=a.memoizedProps,m[mi]=a,(E=m.nodeValue!==f)&&(r=ea,r!==null))switch(r.tag){case 3:If(m.nodeValue,f,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&If(m.nodeValue,f,(r.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,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(cr&&ta!==null&&(a.mode&1)!==0&&(a.flags&128)===0)lc(),Rl(),a.flags|=98560,E=!1;else if(E=Gf(a),m!==null&&m.dehydrated!==null){if(r===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!==(r!==null&&r.memoizedState!==null)&&m&&(a.child.flags|=8192,(a.mode&1)!==0&&(r===null||(mr.current&1)!==0?Ar===0&&(Ar=3):Ph())),a.updateQueue!==null&&(a.flags|=4),to(a),null);case 4:return gs(),Ir(r,a),r===null&&nu(a.stateNode.containerInfo),to(a),null;case 10:return ah(a.type._context),to(a),null;case 17:return Dr(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,I=E.rendering,I===null)if(m)Rc(E,!1);else{if(Ar!==0||r!==null&&(r.flags&128)!==0)for(r=a.child;r!==null;){if(I=Qf(r),I!==null){for(a.flags|=128,Rc(E,!1),m=I.updateQueue,m!==null&&(a.updateQueue=m,a.flags|=4),a.subtreeFlags=0,m=f,f=a.child;f!==null;)E=f,r=m,E.flags&=14680066,I=E.alternate,I===null?(E.childLanes=0,E.lanes=r,E.child=null,E.subtreeFlags=0,E.memoizedProps=null,E.memoizedState=null,E.updateQueue=null,E.dependencies=null,E.stateNode=null):(E.childLanes=I.childLanes,E.lanes=I.lanes,E.child=I.child,E.subtreeFlags=0,E.deletions=null,E.memoizedProps=I.memoizedProps,E.memoizedState=I.memoizedState,E.updateQueue=I.updateQueue,E.type=I.type,r=I.dependencies,E.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),f=f.sibling;return _t(mr,mr.current&1|2),a.child}r=r.sibling}E.tail!==null&&Xt()>vu&&(a.flags|=128,m=!0,Rc(E,!1),a.lanes=4194304)}else{if(!m)if(r=Qf(I),r!==null){if(a.flags|=128,m=!0,f=r.updateQueue,f!==null&&(a.updateQueue=f,a.flags|=4),Rc(E,!0),E.tail===null&&E.tailMode==="hidden"&&!I.alternate&&!cr)return to(a),null}else 2*Xt()-E.renderingStartTime>vu&&f!==1073741824&&(a.flags|=128,m=!0,Rc(E,!1),a.lanes=4194304);E.isBackwards?(I.sibling=a.child,a.child=I):(f=E.last,f!==null?f.sibling=I:a.child=I,E.last=I)}return E.tail!==null?(a=E.tail,E.rendering=a,E.tail=a.sibling,E.renderingStartTime=Xt(),a.sibling=null,f=mr.current,_t(mr,m?f&1|2:f&1),a):(to(a),null);case 22:case 23:return kh(),m=a.memoizedState!==null,r!==null&&r.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 gd(r,a){switch(Hf(a),a.tag){case 1:return Dr(a.type)&&lu(),r=a.flags,r&65536?(a.flags=r&-65537|128,a):null;case 3:return gs(),er(Hr),er(xr),Vt(),r=a.flags,(r&65536)!==0&&(r&128)===0?(a.flags=r&-65537|128,a):null;case 5:return qf(a),null;case 13:if(er(mr),r=a.memoizedState,r!==null&&r.dehydrated!==null){if(a.alternate===null)throw Error(i(340));Rl()}return r=a.flags,r&65536?(a.flags=r&-65537|128,a):null;case 19:return er(mr),null;case 4:return gs(),null;case 10:return ah(a.type._context),null;case 22:case 23:return kh(),null;case 24:return null;default:return null}}var Oc=!1,Oo=!1,Gb=typeof WeakSet=="function"?WeakSet:Set,Ot=null;function pu(r,a){var f=r.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(m){fr(r,a,m)}else f.current=null}function bd(r,a,f){try{f()}catch(m){fr(r,a,m)}}var py=!1;function hy(r,a){if(rc=os,r=Ju(),Af(r)){if("selectionStart"in r)var f={start:r.selectionStart,end:r.selectionEnd};else e:{f=(f=r.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 I=0,te=-1,le=-1,Le=0,Ke=0,et=r,Qe=null;t:for(;;){for(var wt;et!==f||x!==0&&et.nodeType!==3||(te=I+x),et!==E||m!==0&&et.nodeType!==3||(le=I+m),et.nodeType===3&&(I+=et.nodeValue.length),(wt=et.firstChild)!==null;)Qe=et,et=wt;for(;;){if(et===r)break t;if(Qe===f&&++Le===x&&(te=I),Qe===E&&++Ke===m&&(le=I),(wt=et.nextSibling)!==null)break;et=Qe,Qe=et.parentNode}et=wt}f=te===-1||le===-1?null:{start:te,end:le}}else f=null}f=f||{start:0,end:0}}else f=null;for(fs={focusedElem:r,selectionRange:f},os=!1,Ot=a;Ot!==null;)if(a=Ot,r=a.child,(a.subtreeFlags&1028)!==0&&r!==null)r.return=a,Ot=r;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 Dt=kt.memoizedProps,kr=kt.memoizedState,Re=a.stateNode,pe=Re.getSnapshotBeforeUpdate(a.elementType===a.type?Dt:Ja(a.type,Dt),kr);Re.__reactInternalSnapshotBeforeUpdate=pe}break;case 3:var Pe=a.stateNode.containerInfo;Pe.nodeType===1?Pe.textContent="":Pe.nodeType===9&&Pe.documentElement&&Pe.removeChild(Pe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(Ze){fr(a,a.return,Ze)}if(r=a.sibling,r!==null){r.return=a.return,Ot=r;break}Ot=a.return}return kt=py,py=!1,kt}function $c(r,a,f){var m=a.updateQueue;if(m=m!==null?m.lastEffect:null,m!==null){var x=m=m.next;do{if((x.tag&r)===r){var E=x.destroy;x.destroy=void 0,E!==void 0&&bd(a,f,E)}x=x.next}while(x!==m)}}function Ac(r,a){if(a=a.updateQueue,a=a!==null?a.lastEffect:null,a!==null){var f=a=a.next;do{if((f.tag&r)===r){var m=f.create;f.destroy=m()}f=f.next}while(f!==a)}}function wh(r){var a=r.ref;if(a!==null){var f=r.stateNode;switch(r.tag){case 5:r=f;break;default:r=f}typeof a=="function"?a(r):a.current=r}}function xd(r){var a=r.alternate;a!==null&&(r.alternate=null,xd(a)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(a=r.stateNode,a!==null&&(delete a[mi],delete a[oc],delete a[ac],delete a[iu],delete a[zb])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function kc(r){return r.tag===5||r.tag===3||r.tag===4}function Xi(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||kc(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Ci(r,a,f){var m=r.tag;if(m===5||m===6)r=r.stateNode,a?f.nodeType===8?f.parentNode.insertBefore(r,a):f.insertBefore(r,a):(f.nodeType===8?(a=f.parentNode,a.insertBefore(r,f)):(a=f,a.appendChild(r)),f=f._reactRootContainer,f!=null||a.onclick!==null||(a.onclick=xl));else if(m!==4&&(r=r.child,r!==null))for(Ci(r,a,f),r=r.sibling;r!==null;)Ci(r,a,f),r=r.sibling}function wi(r,a,f){var m=r.tag;if(m===5||m===6)r=r.stateNode,a?f.insertBefore(r,a):f.appendChild(r);else if(m!==4&&(r=r.child,r!==null))for(wi(r,a,f),r=r.sibling;r!==null;)wi(r,a,f),r=r.sibling}var $r=null,No=!1;function Do(r,a,f){for(f=f.child;f!==null;)my(r,a,f),f=f.sibling}function my(r,a,f){if(yn&&typeof yn.onCommitFiberUnmount=="function")try{yn.onCommitFiberUnmount(gr,f)}catch{}switch(f.tag){case 5:Oo||pu(f,a);case 6:var m=$r,x=No;$r=null,Do(r,a,f),$r=m,No=x,$r!==null&&(No?(r=$r,f=f.stateNode,r.nodeType===8?r.parentNode.removeChild(f):r.removeChild(f)):$r.removeChild(f.stateNode));break;case 18:$r!==null&&(No?(r=$r,f=f.stateNode,r.nodeType===8?au(r.parentNode,f):r.nodeType===1&&au(r,f),yl(r)):au($r,f.stateNode));break;case 4:m=$r,x=No,$r=f.stateNode.containerInfo,No=!0,Do(r,a,f),$r=m,No=x;break;case 0:case 11:case 14:case 15:if(!Oo&&(m=f.updateQueue,m!==null&&(m=m.lastEffect,m!==null))){x=m=m.next;do{var E=x,I=E.destroy;E=E.tag,I!==void 0&&((E&2)!==0||(E&4)!==0)&&bd(f,a,I),x=x.next}while(x!==m)}Do(r,a,f);break;case 1:if(!Oo&&(pu(f,a),m=f.stateNode,typeof m.componentWillUnmount=="function"))try{m.props=f.memoizedProps,m.state=f.memoizedState,m.componentWillUnmount()}catch(te){fr(f,a,te)}Do(r,a,f);break;case 21:Do(r,a,f);break;case 22:f.mode&1?(Oo=(m=Oo)||f.memoizedState!==null,Do(r,a,f),Oo=m):Do(r,a,f);break;default:Do(r,a,f)}}function vy(r){var a=r.updateQueue;if(a!==null){r.updateQueue=null;var f=r.stateNode;f===null&&(f=r.stateNode=new Gb),a.forEach(function(m){var x=Ty.bind(null,r,m);f.has(m)||(f.add(m),m.then(x,x))})}}function ei(r,a){var f=a.deletions;if(f!==null)for(var m=0;m<f.length;m++){var x=f[m];try{var E=r,I=a,te=I;e:for(;te!==null;){switch(te.tag){case 5:$r=te.stateNode,No=!1;break e;case 3:$r=te.stateNode.containerInfo,No=!0;break e;case 4:$r=te.stateNode.containerInfo,No=!0;break e}te=te.return}if($r===null)throw Error(i(160));my(E,I,x),$r=null,No=!1;var le=x.alternate;le!==null&&(le.return=null),x.return=null}catch(Le){fr(x,a,Le)}}if(a.subtreeFlags&12854)for(a=a.child;a!==null;)Eh(a,r),a=a.sibling}function Eh(r,a){var f=r.alternate,m=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(ei(a,r),aa(r),m&4){try{$c(3,r,r.return),Ac(3,r)}catch(Dt){fr(r,r.return,Dt)}try{$c(5,r,r.return)}catch(Dt){fr(r,r.return,Dt)}}break;case 1:ei(a,r),aa(r),m&512&&f!==null&&pu(f,f.return);break;case 5:if(ei(a,r),aa(r),m&512&&f!==null&&pu(f,f.return),r.flags&32){var x=r.stateNode;try{it(x,"")}catch(Dt){fr(r,r.return,Dt)}}if(m&4&&(x=r.stateNode,x!=null)){var E=r.memoizedProps,I=f!==null?f.memoizedProps:E,te=r.type,le=r.updateQueue;if(r.updateQueue=null,le!==null)try{te==="input"&&E.type==="radio"&&E.name!=null&&at(x,E),Ln(te,I);var Le=Ln(te,E);for(I=0;I<le.length;I+=2){var Ke=le[I],et=le[I+1];Ke==="style"?Rn(x,et):Ke==="dangerouslySetInnerHTML"?or(x,et):Ke==="children"?it(x,et):A(x,Ke,et,Le)}switch(te){case"input":It(x,E);break;case"textarea":mn(x,E);break;case"select":var Qe=x._wrapperState.wasMultiple;x._wrapperState.wasMultiple=!!E.multiple;var wt=E.value;wt!=null?Ct(x,!!E.multiple,wt,!1):Qe!==!!E.multiple&&(E.defaultValue!=null?Ct(x,!!E.multiple,E.defaultValue,!0):Ct(x,!!E.multiple,E.multiple?[]:"",!1))}x[oc]=E}catch(Dt){fr(r,r.return,Dt)}}break;case 6:if(ei(a,r),aa(r),m&4){if(r.stateNode===null)throw Error(i(162));x=r.stateNode,E=r.memoizedProps;try{x.nodeValue=E}catch(Dt){fr(r,r.return,Dt)}}break;case 3:if(ei(a,r),aa(r),m&4&&f!==null&&f.memoizedState.isDehydrated)try{yl(a.containerInfo)}catch(Dt){fr(r,r.return,Dt)}break;case 4:ei(a,r),aa(r);break;case 13:ei(a,r),aa(r),x=r.child,x.flags&8192&&(E=x.memoizedState!==null,x.stateNode.isHidden=E,!E||x.alternate!==null&&x.alternate.memoizedState!==null||(Oh=Xt())),m&4&&vy(r);break;case 22:if(Ke=f!==null&&f.memoizedState!==null,r.mode&1?(Oo=(Le=Oo)||Ke,ei(a,r),Oo=Le):ei(a,r),aa(r),m&8192){if(Le=r.memoizedState!==null,(r.stateNode.isHidden=Le)&&!Ke&&(r.mode&1)!==0)for(Ot=r,Ke=r.child;Ke!==null;){for(et=Ot=Ke;Ot!==null;){switch(Qe=Ot,wt=Qe.child,Qe.tag){case 0:case 11:case 14:case 15:$c(4,Qe,Qe.return);break;case 1:pu(Qe,Qe.return);var kt=Qe.stateNode;if(typeof kt.componentWillUnmount=="function"){m=Qe,f=Qe.return;try{a=m,kt.props=a.memoizedProps,kt.state=a.memoizedState,kt.componentWillUnmount()}catch(Dt){fr(m,f,Dt)}}break;case 5:pu(Qe,Qe.return);break;case 22:if(Qe.memoizedState!==null){Pc(et);continue}}wt!==null?(wt.return=Qe,Ot=wt):Pc(et)}Ke=Ke.sibling}e:for(Ke=null,et=r;;){if(et.tag===5){if(Ke===null){Ke=et;try{x=et.stateNode,Le?(E=x.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none"):(te=et.stateNode,le=et.memoizedProps.style,I=le!=null&&le.hasOwnProperty("display")?le.display:null,te.style.display=cn("display",I))}catch(Dt){fr(r,r.return,Dt)}}}else if(et.tag===6){if(Ke===null)try{et.stateNode.nodeValue=Le?"":et.memoizedProps}catch(Dt){fr(r,r.return,Dt)}}else if((et.tag!==22&&et.tag!==23||et.memoizedState===null||et===r)&&et.child!==null){et.child.return=et,et=et.child;continue}if(et===r)break e;for(;et.sibling===null;){if(et.return===null||et.return===r)break e;Ke===et&&(Ke=null),et=et.return}Ke===et&&(Ke=null),et.sibling.return=et.return,et=et.sibling}}break;case 19:ei(a,r),aa(r),m&4&&vy(r);break;case 21:break;default:ei(a,r),aa(r)}}function aa(r){var a=r.flags;if(a&2){try{e:{for(var f=r.return;f!==null;){if(kc(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(r);wi(r,E,x);break;case 3:case 4:var I=m.stateNode.containerInfo,te=Xi(r);Ci(r,te,I);break;default:throw Error(i(161))}}catch(le){fr(r,r.return,le)}r.flags&=-3}a&4096&&(r.flags&=-4097)}function Wb(r,a,f){Ot=r,Th(r)}function Th(r,a,f){for(var m=(r.mode&1)!==0;Ot!==null;){var x=Ot,E=x.child;if(x.tag===22&&m){var I=x.memoizedState!==null||Oc;if(!I){var te=x.alternate,le=te!==null&&te.memoizedState!==null||Oo;te=Oc;var Le=Oo;if(Oc=I,(Oo=le)&&!Le)for(Ot=x;Ot!==null;)I=Ot,le=I.child,I.tag===22&&I.memoizedState!==null?Rh(x):le!==null?(le.return=I,Ot=le):Rh(x);for(;E!==null;)Ot=E,Th(E),E=E.sibling;Ot=x,Oc=te,Oo=Le}yy(r)}else(x.subtreeFlags&8772)!==0&&E!==null?(E.return=x,Ot=E):yy(r)}}function yy(r){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:Oo||Ac(5,a);break;case 1:var m=a.stateNode;if(a.flags&4&&!Oo)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&&ch(a,E,m);break;case 3:var I=a.updateQueue;if(I!==null){if(f=null,a.child!==null)switch(a.child.tag){case 5:f=a.child.stateNode;break;case 1:f=a.child.stateNode}ch(a,I,f)}break;case 5:var te=a.stateNode;if(f===null&&a.flags&4){f=te;var le=a.memoizedProps;switch(a.type){case"button":case"input":case"select":case"textarea":le.autoFocus&&f.focus();break;case"img":le.src&&(f.src=le.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 Ke=Le.memoizedState;if(Ke!==null){var et=Ke.dehydrated;et!==null&&yl(et)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}Oo||a.flags&512&&wh(a)}catch(Qe){fr(a,a.return,Qe)}}if(a===r){Ot=null;break}if(f=a.sibling,f!==null){f.return=a.return,Ot=f;break}Ot=a.return}}function Pc(r){for(;Ot!==null;){var a=Ot;if(a===r){Ot=null;break}var f=a.sibling;if(f!==null){f.return=a.return,Ot=f;break}Ot=a.return}}function Rh(r){for(;Ot!==null;){var a=Ot;try{switch(a.tag){case 0:case 11:case 15:var f=a.return;try{Ac(4,a)}catch(le){fr(a,f,le)}break;case 1:var m=a.stateNode;if(typeof m.componentDidMount=="function"){var x=a.return;try{m.componentDidMount()}catch(le){fr(a,x,le)}}var E=a.return;try{wh(a)}catch(le){fr(a,E,le)}break;case 5:var I=a.return;try{wh(a)}catch(le){fr(a,I,le)}}}catch(le){fr(a,a.return,le)}if(a===r){Ot=null;break}var te=a.sibling;if(te!==null){te.return=a.return,Ot=te;break}Ot=a.return}}var Yb=Math.ceil,Pl=_.ReactCurrentDispatcher,Os=_.ReactCurrentOwner,ho=_.ReactCurrentBatchConfig,Sn=0,Wr=null,Fr=null,mo=0,Sa=0,hu=Na(0),Ar=0,Nc=null,Ei=0,mu=0,Sd=0,Dc=null,ia=null,Oh=0,vu=1/0,Ca=null,yu=!1,$s=null,Nl=null,Cd=!1,Ki=null,Mc=0,Dl=0,gu=null,Lc=-1,$o=0;function Vr(){return(Sn&6)!==0?Xt():Lc!==-1?Lc:Lc=Xt()}function Ti(r){return(r.mode&1)===0?1:(Sn&2)!==0&&mo!==0?mo&-mo:Hb.transition!==null?($o===0&&($o=qo()),$o):(r=Fn,r!==0||(r=window.event,r=r===void 0?16:bf(r.type)),r)}function Mo(r,a,f,m){if(50<Dl)throw Dl=0,gu=null,Error(i(185));Qo(r,f,m),((Sn&2)===0||r!==Wr)&&(r===Wr&&((Sn&2)===0&&(mu|=f),Ar===4&&ti(r,mo)),la(r,m),f===1&&Sn===0&&(a.mode&1)===0&&(vu=Xt()+500,su&&yi()))}function la(r,a){var f=r.callbackNode;pl(r,a);var m=di(r,r===Wr?mo:0);if(m===0)f!==null&&Kr(f),r.callbackNode=null,r.callbackPriority=0;else if(a=m&-m,r.callbackPriority!==a){if(f!=null&&Kr(f),a===1)r.tag===0?Cl($h.bind(null,r)):Bf($h.bind(null,r)),ou(function(){(Sn&6)===0&&yi()}),f=null;else{switch(Rp(m)){case 1:f=Qa;break;case 4:f=ci;break;case 16:f=fi;break;case 536870912:f=Bn;break;default:f=fi}f=Oy(f,wd.bind(null,r))}r.callbackPriority=a,r.callbackNode=f}}function wd(r,a){if(Lc=-1,$o=0,(Sn&6)!==0)throw Error(i(327));var f=r.callbackNode;if(bu()&&r.callbackNode!==f)return null;var m=di(r,r===Wr?mo:0);if(m===0)return null;if((m&30)!==0||(m&r.expiredLanes)!==0||a)a=Ed(r,m);else{a=m;var x=Sn;Sn|=2;var E=by();(Wr!==r||mo!==a)&&(Ca=null,vu=Xt()+500,Zi(r,a));do try{xy();break}catch(te){gy(r,te)}while(!0);oh(),Pl.current=E,Sn=x,Fr!==null?a=0:(Wr=null,mo=0,a=Ar)}if(a!==0){if(a===2&&(x=Fi(r),x!==0&&(m=x,a=_c(r,x))),a===1)throw f=Nc,Zi(r,0),ti(r,m),la(r,Xt()),f;if(a===6)ti(r,m);else{if(x=r.current.alternate,(m&30)===0&&!qb(x)&&(a=Ed(r,m),a===2&&(E=Fi(r),E!==0&&(m=E,a=_c(r,E))),a===1))throw f=Nc,Zi(r,0),ti(r,m),la(r,Xt()),f;switch(r.finishedWork=x,r.finishedLanes=m,a){case 0:case 1:throw Error(i(345));case 2:Ps(r,ia,Ca);break;case 3:if(ti(r,m),(m&130023424)===m&&(a=Oh+500-Xt(),10<a)){if(di(r,0)!==0)break;if(x=r.suspendedLanes,(x&m)!==m){Vr(),r.pingedLanes|=r.suspendedLanes&x;break}r.timeoutHandle=Vf(Ps.bind(null,r,ia,Ca),a);break}Ps(r,ia,Ca);break;case 4:if(ti(r,m),(m&4194240)===m)break;for(a=r.eventTimes,x=-1;0<m;){var I=31-Er(m);E=1<<I,I=a[I],I>x&&(x=I),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*Yb(m/1960))-m,10<m){r.timeoutHandle=Vf(Ps.bind(null,r,ia,Ca),m);break}Ps(r,ia,Ca);break;case 5:Ps(r,ia,Ca);break;default:throw Error(i(329))}}}return la(r,Xt()),r.callbackNode===f?wd.bind(null,r):null}function _c(r,a){var f=Dc;return r.current.memoizedState.isDehydrated&&(Zi(r,a).flags|=256),r=Ed(r,a),r!==2&&(a=ia,ia=f,a!==null&&As(a)),r}function As(r){ia===null?ia=r:ia.push.apply(ia,r)}function qb(r){for(var a=r;;){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===r)break;for(;a.sibling===null;){if(a.return===null||a.return===r)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function ti(r,a){for(a&=~Sd,a&=~mu,r.suspendedLanes|=a,r.pingedLanes&=~a,r=r.expirationTimes;0<a;){var f=31-Er(a),m=1<<f;r[f]=-1,a&=~m}}function $h(r){if((Sn&6)!==0)throw Error(i(327));bu();var a=di(r,0);if((a&1)===0)return la(r,Xt()),null;var f=Ed(r,a);if(r.tag!==0&&f===2){var m=Fi(r);m!==0&&(a=m,f=_c(r,m))}if(f===1)throw f=Nc,Zi(r,0),ti(r,a),la(r,Xt()),f;if(f===6)throw Error(i(345));return r.finishedWork=r.current.alternate,r.finishedLanes=a,Ps(r,ia,Ca),la(r,Xt()),null}function Ah(r,a){var f=Sn;Sn|=1;try{return r(a)}finally{Sn=f,Sn===0&&(vu=Xt()+500,su&&yi())}}function ks(r){Ki!==null&&Ki.tag===0&&(Sn&6)===0&&bu();var a=Sn;Sn|=1;var f=ho.transition,m=Fn;try{if(ho.transition=null,Fn=1,r)return r()}finally{Fn=m,ho.transition=f,Sn=a,(Sn&6)===0&&yi()}}function kh(){Sa=hu.current,er(hu)}function Zi(r,a){r.finishedWork=null,r.finishedLanes=0;var f=r.timeoutHandle;if(f!==-1&&(r.timeoutHandle=-1,Jp(f)),Fr!==null)for(f=Fr.return;f!==null;){var m=f;switch(Hf(m),m.tag){case 1:m=m.type.childContextTypes,m!=null&&lu();break;case 3:gs(),er(Hr),er(xr),Vt();break;case 5:qf(m);break;case 4:gs();break;case 13:er(mr);break;case 19:er(mr);break;case 10:ah(m.type._context);break;case 22:case 23:kh()}f=f.return}if(Wr=r,Fr=r=Ml(r.current,null),mo=Sa=a,Ar=0,Nc=null,Sd=mu=Ei=0,ia=Dc=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 I=E.next;E.next=x,m.next=I}f.pending=m}vs=null}return r}function gy(r,a){do{var f=Fr;try{if(oh(),hn.current=Es,Xf){for(var m=An.memoizedState;m!==null;){var x=m.queue;x!==null&&(x.pending=null),m=m.next}Xf=!1}if(zn=0,eo=Lr=An=null,pc=!1,bs=0,Os.current=null,f===null||f.return===null){Ar=1,Nc=a,Fr=null;break}e:{var E=r,I=f.return,te=f,le=a;if(a=mo,te.flags|=32768,le!==null&&typeof le=="object"&&typeof le.then=="function"){var Le=le,Ke=te,et=Ke.tag;if((Ke.mode&1)===0&&(et===0||et===11||et===15)){var Qe=Ke.alternate;Qe?(Ke.updateQueue=Qe.updateQueue,Ke.memoizedState=Qe.memoizedState,Ke.lanes=Qe.lanes):(Ke.updateQueue=null,Ke.memoizedState=null)}var wt=ay(I);if(wt!==null){wt.flags&=-257,kl(wt,I,te,E,a),wt.mode&1&&gh(E,Le,a),a=wt,le=Le;var kt=a.updateQueue;if(kt===null){var Dt=new Set;Dt.add(le),a.updateQueue=Dt}else kt.add(le);break e}else{if((a&1)===0){gh(E,Le,a),Ph();break e}le=Error(i(426))}}else if(cr&&te.mode&1){var kr=ay(I);if(kr!==null){(kr.flags&65536)===0&&(kr.flags|=256),kl(kr,I,te,E,a),Yi(Ts(le,te));break e}}E=le=Ts(le,te),Ar!==4&&(Ar=2),Dc===null?Dc=[E]:Dc.push(E),E=I;do{switch(E.tag){case 3:E.flags|=65536,a&=-a,E.lanes|=a;var Re=oy(E,le,a);Jv(E,Re);break e;case 1:te=le;var pe=E.type,Pe=E.stateNode;if((E.flags&128)===0&&(typeof pe.getDerivedStateFromError=="function"||Pe!==null&&typeof Pe.componentDidCatch=="function"&&(Nl===null||!Nl.has(Pe)))){E.flags|=65536,a&=-a,E.lanes|=a;var Ze=yh(E,te,a);Jv(E,Ze);break e}}E=E.return}while(E!==null)}Cy(f)}catch(Pt){a=Pt,Fr===f&&f!==null&&(Fr=f=f.return);continue}break}while(!0)}function by(){var r=Pl.current;return Pl.current=Es,r===null?Es:r}function Ph(){(Ar===0||Ar===3||Ar===2)&&(Ar=4),Wr===null||(Ei&268435455)===0&&(mu&268435455)===0||ti(Wr,mo)}function Ed(r,a){var f=Sn;Sn|=2;var m=by();(Wr!==r||mo!==a)&&(Ca=null,Zi(r,a));do try{Qb();break}catch(x){gy(r,x)}while(!0);if(oh(),Sn=f,Pl.current=m,Fr!==null)throw Error(i(261));return Wr=null,mo=0,Ar}function Qb(){for(;Fr!==null;)Sy(Fr)}function xy(){for(;Fr!==null&&!Yt();)Sy(Fr)}function Sy(r){var a=Ry(r.alternate,r,Sa);r.memoizedProps=r.pendingProps,a===null?Cy(r):Fr=a,Os.current=null}function Cy(r){var a=r;do{var f=a.alternate;if(r=a.return,(a.flags&32768)===0){if(f=dy(f,a,Sa),f!==null){Fr=f;return}}else{if(f=gd(f,a),f!==null){f.flags&=32767,Fr=f;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{Ar=6,Fr=null;return}}if(a=a.sibling,a!==null){Fr=a;return}Fr=a=r}while(a!==null);Ar===0&&(Ar=5)}function Ps(r,a,f){var m=Fn,x=ho.transition;try{ho.transition=null,Fn=1,Xb(r,a,f,m)}finally{ho.transition=x,Fn=m}return null}function Xb(r,a,f,m){do bu();while(Ki!==null);if((Sn&6)!==0)throw Error(i(327));f=r.finishedWork;var x=r.finishedLanes;if(f===null)return null;if(r.finishedWork=null,r.finishedLanes=0,f===r.current)throw Error(i(177));r.callbackNode=null,r.callbackPriority=0;var E=f.lanes|f.childLanes;if(Tb(r,E),r===Wr&&(Fr=Wr=null,mo=0),(f.subtreeFlags&2064)===0&&(f.flags&2064)===0||Cd||(Cd=!0,Oy(fi,function(){return bu(),null})),E=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||E){E=ho.transition,ho.transition=null;var I=Fn;Fn=1;var te=Sn;Sn|=4,Os.current=null,hy(r,f),Eh(f,r),eu(fs),os=!!rc,fs=rc=null,r.current=f,Wb(f),Jn(),Sn=te,Fn=I,ho.transition=E}else r.current=f;if(Cd&&(Cd=!1,Ki=r,Mc=x),E=r.pendingLanes,E===0&&(Nl=null),lo(f.stateNode),la(r,Xt()),a!==null)for(m=r.onRecoverableError,f=0;f<a.length;f++)x=a[f],m(x.value,{componentStack:x.stack,digest:x.digest});if(yu)throw yu=!1,r=$s,$s=null,r;return(Mc&1)!==0&&r.tag!==0&&bu(),E=r.pendingLanes,(E&1)!==0?r===gu?Dl++:(Dl=0,gu=r):Dl=0,yi(),null}function bu(){if(Ki!==null){var r=Rp(Mc),a=ho.transition,f=Fn;try{if(ho.transition=null,Fn=16>r?16:r,Ki===null)var m=!1;else{if(r=Ki,Ki=null,Mc=0,(Sn&6)!==0)throw Error(i(331));var x=Sn;for(Sn|=4,Ot=r.current;Ot!==null;){var E=Ot,I=E.child;if((Ot.flags&16)!==0){var te=E.deletions;if(te!==null){for(var le=0;le<te.length;le++){var Le=te[le];for(Ot=Le;Ot!==null;){var Ke=Ot;switch(Ke.tag){case 0:case 11:case 15:$c(8,Ke,E)}var et=Ke.child;if(et!==null)et.return=Ke,Ot=et;else for(;Ot!==null;){Ke=Ot;var Qe=Ke.sibling,wt=Ke.return;if(xd(Ke),Ke===Le){Ot=null;break}if(Qe!==null){Qe.return=wt,Ot=Qe;break}Ot=wt}}}var kt=E.alternate;if(kt!==null){var Dt=kt.child;if(Dt!==null){kt.child=null;do{var kr=Dt.sibling;Dt.sibling=null,Dt=kr}while(Dt!==null)}}Ot=E}}if((E.subtreeFlags&2064)!==0&&I!==null)I.return=E,Ot=I;else e:for(;Ot!==null;){if(E=Ot,(E.flags&2048)!==0)switch(E.tag){case 0:case 11:case 15:$c(9,E,E.return)}var Re=E.sibling;if(Re!==null){Re.return=E.return,Ot=Re;break e}Ot=E.return}}var pe=r.current;for(Ot=pe;Ot!==null;){I=Ot;var Pe=I.child;if((I.subtreeFlags&2064)!==0&&Pe!==null)Pe.return=I,Ot=Pe;else e:for(I=pe;Ot!==null;){if(te=Ot,(te.flags&2048)!==0)try{switch(te.tag){case 0:case 11:case 15:Ac(9,te)}}catch(Pt){fr(te,te.return,Pt)}if(te===I){Ot=null;break e}var Ze=te.sibling;if(Ze!==null){Ze.return=te.return,Ot=Ze;break e}Ot=te.return}}if(Sn=x,yi(),yn&&typeof yn.onPostCommitFiberRoot=="function")try{yn.onPostCommitFiberRoot(gr,r)}catch{}m=!0}return m}finally{Fn=f,ho.transition=a}}return!1}function wy(r,a,f){a=Ts(f,a),a=oy(r,a,1),r=Ol(r,a,1),a=Vr(),r!==null&&(Qo(r,1,a),la(r,a))}function fr(r,a,f){if(r.tag===3)wy(r,r,f);else for(;a!==null;){if(a.tag===3){wy(a,r,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))){r=Ts(f,r),r=yh(a,r,1),a=Ol(a,r,1),r=Vr(),a!==null&&(Qo(a,1,r),la(a,r));break}}a=a.return}}function Kb(r,a,f){var m=r.pingCache;m!==null&&m.delete(a),a=Vr(),r.pingedLanes|=r.suspendedLanes&f,Wr===r&&(mo&f)===f&&(Ar===4||Ar===3&&(mo&130023424)===mo&&500>Xt()-Oh?Zi(r,0):Sd|=f),la(r,a)}function Ey(r,a){a===0&&((r.mode&1)===0?a=1:(a=Mn,Mn<<=1,(Mn&130023424)===0&&(Mn=4194304)));var f=Vr();r=ba(r,a),r!==null&&(Qo(r,a,f),la(r,f))}function Zb(r){var a=r.memoizedState,f=0;a!==null&&(f=a.retryLane),Ey(r,f)}function Ty(r,a){var f=0;switch(r.tag){case 13:var m=r.stateNode,x=r.memoizedState;x!==null&&(f=x.retryLane);break;case 19:m=r.stateNode;break;default:throw Error(i(314))}m!==null&&m.delete(a),Ey(r,f)}var Ry;Ry=function(r,a,f){if(r!==null)if(r.memoizedProps!==a.pendingProps||Hr.current)_r=!0;else{if((r.lanes&f)===0&&(a.flags&128)===0)return _r=!1,Tc(r,a,f);_r=(r.flags&131072)!==0}else _r=!1,cr&&(a.flags&1048576)!==0&&Qv(a,Wi,a.index);switch(a.lanes=0,a.tag){case 2:var m=a.type;_a(r,a),r=a.pendingProps;var x=Jo(a,xr.current);hr(a,f),x=$l(null,a,m,r,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,Dr(m)?(E=!0,Jr(a)):E=!1,a.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,uh(a),x.updater=pd,a.stateNode=x,x._reactInternals=a,xc(a,m,r,f),a=wc(null,a,m,!0,E,f)):(a.tag=0,cr&&E&&zf(a),po(null,a,x,f),a=a.child),a;case 16:m=a.elementType;e:{switch(_a(r,a),r=a.pendingProps,x=m._init,m=x(m._payload),a.type=m,x=a.tag=e1(m),r=Ja(m,r),x){case 0:a=iy(null,a,m,r,f);break e;case 1:a=ly(null,a,m,r,f);break e;case 11:a=oa(null,a,m,r,f);break e;case 14:a=Rs(null,a,m,Ja(m.type,r),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),iy(r,a,m,x,f);case 1:return m=a.type,x=a.pendingProps,x=a.elementType===m?x:Ja(m,x),ly(r,a,m,x,f);case 3:e:{if(du(a),r===null)throw Error(i(387));m=a.pendingProps,E=a.memoizedState,x=E.element,Zv(r,a),sc(a,m,null,f);var I=a.memoizedState;if(m=I.element,E.isDehydrated)if(E={element:m,isDehydrated:!1,cache:I.cache,pendingSuspenseBoundaries:I.pendingSuspenseBoundaries,transitions:I.transitions},a.updateQueue.baseState=E,a.memoizedState=E,a.flags&256){x=Ts(Error(i(423)),a),a=sy(r,a,m,f,x);break e}else if(m!==x){x=Ts(Error(i(424)),a),a=sy(r,a,m,f,x);break e}else for(ta=hi(a.stateNode.containerInfo.firstChild),ea=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=Ia(r,a,f);break e}po(r,a,m,f)}a=a.child}return a;case 5:return ey(a),r===null&&nh(a),m=a.type,x=a.pendingProps,E=r!==null?r.memoizedProps:null,I=x.children,Ff(m,x)?I=null:E!==null&&Ff(m,E)&&(a.flags|=32),bh(r,a),po(r,a,I,f),a.child;case 6:return r===null&&nh(a),null;case 13:return yd(r,a,f);case 4:return fh(a,a.stateNode.containerInfo),m=a.pendingProps,r===null?a.child=Rr(a,null,m,f):po(r,a,m,f),a.child;case 11:return m=a.type,x=a.pendingProps,x=a.elementType===m?x:Ja(m,x),oa(r,a,m,x,f);case 7:return po(r,a,a.pendingProps,f),a.child;case 8:return po(r,a,a.pendingProps.children,f),a.child;case 12:return po(r,a,a.pendingProps.children,f),a.child;case 10:e:{if(m=a.type._context,x=a.pendingProps,E=a.memoizedProps,I=x.value,_t(ga,m._currentValue),m._currentValue=I,E!==null)if(Xa(E.value,I)){if(E.children===x.children&&!Hr.current){a=Ia(r,a,f);break e}}else for(E=a.child,E!==null&&(E.return=a);E!==null;){var te=E.dependencies;if(te!==null){I=E.child;for(var le=te.firstContext;le!==null;){if(le.context===m){if(E.tag===1){le=qi(-1,f&-f),le.tag=2;var Le=E.updateQueue;if(Le!==null){Le=Le.shared;var Ke=Le.pending;Ke===null?le.next=le:(le.next=Ke.next,Ke.next=le),Le.pending=le}}E.lanes|=f,le=E.alternate,le!==null&&(le.lanes|=f),ih(E.return,f,a),te.lanes|=f;break}le=le.next}}else if(E.tag===10)I=E.type===a.type?null:E.child;else if(E.tag===18){if(I=E.return,I===null)throw Error(i(341));I.lanes|=f,te=I.alternate,te!==null&&(te.lanes|=f),ih(I,f,a),I=E.sibling}else I=E.child;if(I!==null)I.return=E;else for(I=E;I!==null;){if(I===a){I=null;break}if(E=I.sibling,E!==null){E.return=I.return,I=E;break}I=I.return}E=I}po(r,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,po(r,a,m,f),a.child;case 14:return m=a.type,x=Ja(m,a.pendingProps),x=Ja(m.type,x),Rs(r,a,m,x,f);case 15:return on(r,a,a.type,a.pendingProps,f);case 17:return m=a.type,x=a.pendingProps,x=a.elementType===m?x:Ja(m,x),_a(r,a),a.tag=1,Dr(m)?(r=!0,Jr(a)):r=!1,hr(a,f),hd(a,m,x),xc(a,m,x,f),wc(null,a,m,!0,r,f);case 19:return Si(r,a,f);case 22:return Cc(r,a,f)}throw Error(i(156,a.tag))};function Oy(r,a){return ar(r,a)}function Jb(r,a,f,m){this.tag=r,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(r,a,f,m){return new Jb(r,a,f,m)}function Nh(r){return r=r.prototype,!(!r||!r.isReactComponent)}function e1(r){if(typeof r=="function")return Nh(r)?1:0;if(r!=null){if(r=r.$$typeof,r===we)return 11;if(r===Ee)return 14}return 2}function Ml(r,a){var f=r.alternate;return f===null?(f=Va(r.tag,a,r.key,r.mode),f.elementType=r.elementType,f.type=r.type,f.stateNode=r.stateNode,f.alternate=r,r.alternate=f):(f.pendingProps=a,f.type=r.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=r.flags&14680064,f.childLanes=r.childLanes,f.lanes=r.lanes,f.child=r.child,f.memoizedProps=r.memoizedProps,f.memoizedState=r.memoizedState,f.updateQueue=r.updateQueue,a=r.dependencies,f.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},f.sibling=r.sibling,f.index=r.index,f.ref=r.ref,f}function Ic(r,a,f,m,x,E){var I=2;if(m=r,typeof r=="function")Nh(r)&&(I=1);else if(typeof r=="string")I=5;else e:switch(r){case X:return Ji(f.children,x,E,a);case fe:I=8,x|=8;break;case Ce:return r=Va(12,f,a,x|2),r.elementType=Ce,r.lanes=E,r;case ue:return r=Va(13,f,a,x),r.elementType=ue,r.lanes=E,r;case Se:return r=Va(19,f,a,x),r.elementType=Se,r.lanes=E,r;case De:return Ll(f,x,E,a);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case V:I=10;break e;case ve:I=9;break e;case we:I=11;break e;case Ee:I=14;break e;case ge:I=16,m=null;break e}throw Error(i(130,r==null?r:typeof r,""))}return a=Va(I,f,a,x),a.elementType=r,a.type=m,a.lanes=E,a}function Ji(r,a,f,m){return r=Va(7,r,m,a),r.lanes=f,r}function Ll(r,a,f,m){return r=Va(22,r,m,a),r.elementType=De,r.lanes=f,r.stateNode={isHidden:!1},r}function Dh(r,a,f){return r=Va(6,r,null,a),r.lanes=f,r}function Td(r,a,f){return a=Va(4,r.children!==null?r.children:[],r.key,a),a.lanes=f,a.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},a}function $y(r,a,f,m,x){this.tag=a,this.containerInfo=r,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 Rd(r,a,f,m,x,E,I,te,le){return r=new $y(r,a,f,te,le),a===1?(a=1,E===!0&&(a|=8)):a=0,E=Va(3,null,null,a),r.current=E,E.stateNode=r,E.memoizedState={element:m,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},uh(E),r}function t1(r,a,f){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:z,key:m==null?null:""+m,children:r,containerInfo:a,implementation:f}}function Mh(r){if(!r)return To;r=r._reactInternals;e:{if(At(r)!==r||r.tag!==1)throw Error(i(170));var a=r;do{switch(a.tag){case 3:a=a.stateNode.context;break e;case 1:if(Dr(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break e}}a=a.return}while(a!==null);throw Error(i(171))}if(r.tag===1){var f=r.type;if(Dr(f))return ic(r,f,a)}return a}function Ay(r,a,f,m,x,E,I,te,le){return r=Rd(f,m,!0,r,x,E,I,te,le),r.context=Mh(null),f=r.current,m=Vr(),x=Ti(f),E=qi(m,x),E.callback=a??null,Ol(f,E,x),r.current.lanes=x,Qo(r,x,m),la(r,m),r}function Od(r,a,f,m){var x=a.current,E=Vr(),I=Ti(x);return f=Mh(f),a.context===null?a.context=f:a.pendingContext=f,a=qi(E,I),a.payload={element:r},m=m===void 0?null:m,m!==null&&(a.callback=m),r=Ol(x,a,I),r!==null&&(Mo(r,x,I,E),Yf(r,x,I)),I}function $d(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}function Lh(r,a){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var f=r.retryLane;r.retryLane=f!==0&&f<a?f:a}}function Ad(r,a){Lh(r,a),(r=r.alternate)&&Lh(r,a)}function ky(){return null}var Ns=typeof reportError=="function"?reportError:function(r){console.error(r)};function _h(r){this._internalRoot=r}kd.prototype.render=_h.prototype.render=function(r){var a=this._internalRoot;if(a===null)throw Error(i(409));Od(r,a,null,null)},kd.prototype.unmount=_h.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var a=r.containerInfo;ks(function(){Od(null,r,null,null)}),a[Hi]=null}};function kd(r){this._internalRoot=r}kd.prototype.unstable_scheduleHydration=function(r){if(r){var a=rn();r={blockedOn:null,target:r,priority:a};for(var f=0;f<uo.length&&a!==0&&a<uo[f].priority;f++);uo.splice(f,0,r),f===0&&Pp(r)}};function Ih(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function Pd(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function Py(){}function n1(r,a,f,m,x){if(x){if(typeof m=="function"){var E=m;m=function(){var Le=$d(I);E.call(Le)}}var I=Ay(a,m,r,0,null,!1,!1,"",Py);return r._reactRootContainer=I,r[Hi]=I.current,nu(r.nodeType===8?r.parentNode:r),ks(),I}for(;x=r.lastChild;)r.removeChild(x);if(typeof m=="function"){var te=m;m=function(){var Le=$d(le);te.call(Le)}}var le=Rd(r,0,!1,null,null,!1,!1,"",Py);return r._reactRootContainer=le,r[Hi]=le.current,nu(r.nodeType===8?r.parentNode:r),ks(function(){Od(a,le,f,m)}),le}function Fc(r,a,f,m,x){var E=f._reactRootContainer;if(E){var I=E;if(typeof x=="function"){var te=x;x=function(){var le=$d(I);te.call(le)}}Od(a,I,r,x)}else I=n1(f,a,r,x,m);return $d(I)}Vn=function(r){switch(r.tag){case 3:var a=r.stateNode;if(a.current.memoizedState.isDehydrated){var f=Tr(a.pendingLanes);f!==0&&(vf(a,f|1),la(a,Xt()),(Sn&6)===0&&(vu=Xt()+500,yi()))}break;case 13:ks(function(){var m=ba(r,1);if(m!==null){var x=Vr();Mo(m,r,1,x)}}),Ad(r,1)}},Op=function(r){if(r.tag===13){var a=ba(r,134217728);if(a!==null){var f=Vr();Mo(a,r,134217728,f)}Ad(r,134217728)}},$p=function(r){if(r.tag===13){var a=Ti(r),f=ba(r,a);if(f!==null){var m=Vr();Mo(f,r,a,m)}Ad(r,a)}},rn=function(){return Fn},Ap=function(r,a){var f=Fn;try{return Fn=r,a()}finally{Fn=f}},J=function(r,a,f){switch(a){case"input":if(It(r,f),a=f.name,f.type==="radio"&&a!=null){for(f=r;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!==r&&m.form===r.form){var x=pr(m);if(!x)throw Error(i(90));ee(m),It(m,x)}}}break;case"textarea":mn(r,f);break;case"select":a=f.value,a!=null&&Ct(r,!!f.multiple,a,!1)}},ie=Ah,_e=ks;var r1={usingClientEntryPoint:!1,Events:[Ft,Ka,pr,q,se,Ah]},Vc={findFiberByHostInstance:ds,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Ny={bundleType:Vc.bundleType,version:Vc.version,rendererPackageName:Vc.rendererPackageName,rendererConfig:Vc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:_.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=wr(r),r===null?null:r.stateNode},findFiberByHostInstance:Vc.findFiberByHostInstance||ky,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 _l=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!_l.isDisabled&&_l.supportsFiber)try{gr=_l.inject(Ny),yn=_l}catch{}}return Ga.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=r1,Ga.createPortal=function(r,a){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ih(a))throw Error(i(200));return t1(r,a,null,f)},Ga.createRoot=function(r,a){if(!Ih(r))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=Rd(r,1,!1,null,null,f,!1,m,x),r[Hi]=a.current,nu(r.nodeType===8?r.parentNode:r),new _h(a)},Ga.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var a=r._reactInternals;if(a===void 0)throw typeof r.render=="function"?Error(i(188)):(r=Object.keys(r).join(","),Error(i(268,r)));return r=wr(a),r=r===null?null:r.stateNode,r},Ga.flushSync=function(r){return ks(r)},Ga.hydrate=function(r,a,f){if(!Pd(a))throw Error(i(200));return Fc(null,r,a,!0,f)},Ga.hydrateRoot=function(r,a,f){if(!Ih(r))throw Error(i(405));var m=f!=null&&f.hydratedSources||null,x=!1,E="",I=Ns;if(f!=null&&(f.unstable_strictMode===!0&&(x=!0),f.identifierPrefix!==void 0&&(E=f.identifierPrefix),f.onRecoverableError!==void 0&&(I=f.onRecoverableError)),a=Ay(a,null,r,1,f??null,x,!1,E,I),r[Hi]=a.current,nu(r),m)for(r=0;r<m.length;r++)f=m[r],x=f._getVersion,x=x(f._source),a.mutableSourceEagerHydrationData==null?a.mutableSourceEagerHydrationData=[f,x]:a.mutableSourceEagerHydrationData.push(f,x);return new kd(a)},Ga.render=function(r,a,f){if(!Pd(a))throw Error(i(200));return Fc(null,r,a,!1,f)},Ga.unmountComponentAtNode=function(r){if(!Pd(r))throw Error(i(40));return r._reactRootContainer?(ks(function(){Fc(null,null,r,!1,function(){r._reactRootContainer=null,r[Hi]=null})}),!0):!1},Ga.unstable_batchedUpdates=Ah,Ga.unstable_renderSubtreeIntoContainer=function(r,a,f,m){if(!Pd(f))throw Error(i(200));if(r==null||r._reactInternals===void 0)throw Error(i(38));return Fc(r,a,f,!1,m)},Ga.version="18.3.1-next-f1338f8080-20240426",Ga}var Wa={};/**
|
|
2706
|
+
`+E.stack}return{value:r,source:a,stack:x,digest:null}}function mh(r,a,f){return{value:r,source:null,stack:f??null,digest:a??null}}function vh(r,a){try{console.error(a.value)}catch(f){setTimeout(function(){throw f})}}var md=typeof WeakMap=="function"?WeakMap:Map;function oy(r,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),vh(r,a)},f}function yh(r,a,f){f=qi(-1,f),f.tag=3;var m=r.type.getDerivedStateFromError;if(typeof m=="function"){var x=a.value;f.payload=function(){return m(x)},f.callback=function(){vh(r,a)}}var E=r.stateNode;return E!==null&&typeof E.componentDidCatch=="function"&&(f.callback=function(){vh(r,a),typeof m!="function"&&(Nl===null?Nl=new Set([this]):Nl.add(this));var I=a.stack;this.componentDidCatch(a.value,{componentStack:I!==null?I:""})}),f}function gh(r,a,f){var m=r.pingCache;if(m===null){m=r.pingCache=new md;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),r=Kb.bind(null,r,a,f),a.then(r,r))}function ay(r){do{var a;if((a=r.tag===13)&&(a=r.memoizedState,a=a!==null?a.dehydrated!==null:!0),a)return r;r=r.return}while(r!==null);return null}function kl(r,a,f,m,x){return(r.mode&1)===0?(r===a?r.flags|=65536:(r.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),r):(r.flags|=65536,r.lanes=x,r)}var Sc=_.ReactCurrentOwner,_r=!1;function po(r,a,f,m){a.child=r===null?bt(a,null,f,m):Rr(a,r.child,f,m)}function oa(r,a,f,m,x){f=f.render;var E=a.ref;return hr(a,x),m=$l(r,a,f,m,E,x),f=Za(),r!==null&&!_r?(a.updateQueue=r.updateQueue,a.flags&=-2053,r.lanes&=~x,Ia(r,a,x)):(cr&&f&&zf(a),a.flags|=1,po(r,a,m,x),a.child)}function Rs(r,a,f,m,x){if(r===null){var E=f.type;return typeof E=="function"&&!Nh(E)&&E.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(a.tag=15,a.type=E,on(r,a,E,m,x)):(r=Ic(f.type,null,m,a,a.mode,x),r.ref=a.ref,r.return=a,a.child=r)}if(E=r.child,(r.lanes&x)===0){var I=E.memoizedProps;if(f=f.compare,f=f!==null?f:Zu,f(I,m)&&r.ref===a.ref)return Ia(r,a,x)}return a.flags|=1,r=Ml(E,m),r.ref=a.ref,r.return=a,a.child=r}function on(r,a,f,m,x){if(r!==null){var E=r.memoizedProps;if(Zu(E,m)&&r.ref===a.ref)if(_r=!1,a.pendingProps=m=E,(r.lanes&x)!==0)(r.flags&131072)!==0&&(_r=!0);else return a.lanes=r.lanes,Ia(r,a,x)}return iy(r,a,f,m,x)}function Cc(r,a,f){var m=a.pendingProps,x=m.children,E=r!==null?r.memoizedState:null;if(m.mode==="hidden")if((a.mode&1)===0)a.memoizedState={baseLanes:0,cachePool:null,transitions:null},_t(hu,Sa),Sa|=f;else{if((f&1073741824)===0)return r=E!==null?E.baseLanes|f:f,a.lanes=a.childLanes=1073741824,a.memoizedState={baseLanes:r,cachePool:null,transitions:null},a.updateQueue=null,_t(hu,Sa),Sa|=r,null;a.memoizedState={baseLanes:0,cachePool:null,transitions:null},m=E!==null?E.baseLanes:f,_t(hu,Sa),Sa|=m}else E!==null?(m=E.baseLanes|f,a.memoizedState=null):m=f,_t(hu,Sa),Sa|=m;return po(r,a,x,f),a.child}function bh(r,a){var f=a.ref;(r===null&&f!==null||r!==null&&r.ref!==f)&&(a.flags|=512,a.flags|=2097152)}function iy(r,a,f,m,x){var E=Dr(f)?Zo:xr.current;return E=Jo(a,E),hr(a,x),f=$l(r,a,f,m,E,x),m=Za(),r!==null&&!_r?(a.updateQueue=r.updateQueue,a.flags&=-2053,r.lanes&=~x,Ia(r,a,x)):(cr&&m&&zf(a),a.flags|=1,po(r,a,f,x),a.child)}function ly(r,a,f,m,x){if(Dr(f)){var E=!0;Jr(a)}else E=!1;if(hr(a,x),a.stateNode===null)_a(r,a),hd(a,f,m),xc(a,f,m,x),m=!0;else if(r===null){var I=a.stateNode,te=a.memoizedProps;I.props=te;var le=I.context,Le=f.contextType;typeof Le=="object"&&Le!==null?Le=La(Le):(Le=Dr(f)?Zo:xr.current,Le=Jo(a,Le));var Ke=f.getDerivedStateFromProps,et=typeof Ke=="function"||typeof I.getSnapshotBeforeUpdate=="function";et||typeof I.UNSAFE_componentWillReceiveProps!="function"&&typeof I.componentWillReceiveProps!="function"||(te!==m||le!==Le)&&ry(a,I,m,Le),xa=!1;var Qe=a.memoizedState;I.state=Qe,sc(a,m,I,x),le=a.memoizedState,te!==m||Qe!==le||Hr.current||xa?(typeof Ke=="function"&&(hh(a,f,Ke,m),le=a.memoizedState),(te=xa||ny(a,f,te,m,Qe,le,Le))?(et||typeof I.UNSAFE_componentWillMount!="function"&&typeof I.componentWillMount!="function"||(typeof I.componentWillMount=="function"&&I.componentWillMount(),typeof I.UNSAFE_componentWillMount=="function"&&I.UNSAFE_componentWillMount()),typeof I.componentDidMount=="function"&&(a.flags|=4194308)):(typeof I.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=m,a.memoizedState=le),I.props=m,I.state=le,I.context=Le,m=te):(typeof I.componentDidMount=="function"&&(a.flags|=4194308),m=!1)}else{I=a.stateNode,Zv(r,a),te=a.memoizedProps,Le=a.type===a.elementType?te:Ja(a.type,te),I.props=Le,et=a.pendingProps,Qe=I.context,le=f.contextType,typeof le=="object"&&le!==null?le=La(le):(le=Dr(f)?Zo:xr.current,le=Jo(a,le));var wt=f.getDerivedStateFromProps;(Ke=typeof wt=="function"||typeof I.getSnapshotBeforeUpdate=="function")||typeof I.UNSAFE_componentWillReceiveProps!="function"&&typeof I.componentWillReceiveProps!="function"||(te!==et||Qe!==le)&&ry(a,I,m,le),xa=!1,Qe=a.memoizedState,I.state=Qe,sc(a,m,I,x);var kt=a.memoizedState;te!==et||Qe!==kt||Hr.current||xa?(typeof wt=="function"&&(hh(a,f,wt,m),kt=a.memoizedState),(Le=xa||ny(a,f,Le,m,Qe,kt,le)||!1)?(Ke||typeof I.UNSAFE_componentWillUpdate!="function"&&typeof I.componentWillUpdate!="function"||(typeof I.componentWillUpdate=="function"&&I.componentWillUpdate(m,kt,le),typeof I.UNSAFE_componentWillUpdate=="function"&&I.UNSAFE_componentWillUpdate(m,kt,le)),typeof I.componentDidUpdate=="function"&&(a.flags|=4),typeof I.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof I.componentDidUpdate!="function"||te===r.memoizedProps&&Qe===r.memoizedState||(a.flags|=4),typeof I.getSnapshotBeforeUpdate!="function"||te===r.memoizedProps&&Qe===r.memoizedState||(a.flags|=1024),a.memoizedProps=m,a.memoizedState=kt),I.props=m,I.state=kt,I.context=le,m=Le):(typeof I.componentDidUpdate!="function"||te===r.memoizedProps&&Qe===r.memoizedState||(a.flags|=4),typeof I.getSnapshotBeforeUpdate!="function"||te===r.memoizedProps&&Qe===r.memoizedState||(a.flags|=1024),m=!1)}return wc(r,a,f,m,E,x)}function wc(r,a,f,m,x,E){bh(r,a);var I=(a.flags&128)!==0;if(!m&&!I)return x&&Uf(a,f,!1),Ia(r,a,E);m=a.stateNode,Sc.current=a;var te=I&&typeof f.getDerivedStateFromError!="function"?null:m.render();return a.flags|=1,r!==null&&I?(a.child=Rr(a,r.child,null,E),a.child=Rr(a,null,te,E)):po(r,a,te,E),a.memoizedState=m.state,x&&Uf(a,f,!0),a.child}function du(r){var a=r.stateNode;a.pendingContext?qv(r,a.pendingContext,a.pendingContext!==a.context):a.context&&qv(r,a.context,!1),fh(r,a.containerInfo)}function sy(r,a,f,m,x){return Rl(),Yi(x),a.flags|=256,po(r,a,f,m),a.child}var vd={dehydrated:null,treeContext:null,retryLane:0};function xh(r){return{baseLanes:r,cachePool:null,transitions:null}}function yd(r,a,f){var m=a.pendingProps,x=mr.current,E=!1,I=(a.flags&128)!==0,te;if((te=I)||(te=r!==null&&r.memoizedState===null?!1:(x&2)!==0),te?(E=!0,a.flags&=-129):(r===null||r.memoizedState!==null)&&(x|=1),_t(mr,x&1),r===null)return nh(a),r=a.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((a.mode&1)===0?a.lanes=1:r.data==="$!"?a.lanes=8:a.lanes=1073741824,null):(I=m.children,r=m.fallback,E?(m=a.mode,E=a.child,I={mode:"hidden",children:I},(m&1)===0&&E!==null?(E.childLanes=0,E.pendingProps=I):E=Ll(I,m,0,null),r=Ji(r,m,f,null),E.return=a,r.return=a,E.sibling=r,a.child=E,a.child.memoizedState=xh(f),a.memoizedState=vd,r):Sh(a,I));if(x=r.memoizedState,x!==null&&(te=x.dehydrated,te!==null))return uy(r,a,I,m,te,x,f);if(E){E=m.fallback,I=a.mode,x=r.child,te=x.sibling;var le={mode:"hidden",children:m.children};return(I&1)===0&&a.child!==x?(m=a.child,m.childLanes=0,m.pendingProps=le,a.deletions=null):(m=Ml(x,le),m.subtreeFlags=x.subtreeFlags&14680064),te!==null?E=Ml(te,E):(E=Ji(E,I,f,null),E.flags|=2),E.return=a,m.return=a,m.sibling=E,a.child=m,m=E,E=a.child,I=r.child.memoizedState,I=I===null?xh(f):{baseLanes:I.baseLanes|f,cachePool:null,transitions:I.transitions},E.memoizedState=I,E.childLanes=r.childLanes&~f,a.memoizedState=vd,m}return E=r.child,r=E.sibling,m=Ml(E,{mode:"visible",children:m.children}),(a.mode&1)===0&&(m.lanes=f),m.return=a,m.sibling=null,r!==null&&(f=a.deletions,f===null?(a.deletions=[r],a.flags|=16):f.push(r)),a.child=m,a.memoizedState=null,m}function Sh(r,a){return a=Ll({mode:"visible",children:a},r.mode,0,null),a.return=r,r.child=a}function Ec(r,a,f,m){return m!==null&&Yi(m),Rr(a,r.child,null,f),r=Sh(a,a.pendingProps.children),r.flags|=2,a.memoizedState=null,r}function uy(r,a,f,m,x,E,I){if(f)return a.flags&256?(a.flags&=-257,m=mh(Error(i(422))),Ec(r,a,I,m)):a.memoizedState!==null?(a.child=r.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,I,null),E.flags|=2,m.return=a,E.return=a,m.sibling=E,a.child=m,(a.mode&1)!==0&&Rr(a,r.child,null,I),a.child.memoizedState=xh(I),a.memoizedState=vd,E);if((a.mode&1)===0)return Ec(r,a,I,null);if(x.data==="$!"){if(m=x.nextSibling&&x.nextSibling.dataset,m)var te=m.dgst;return m=te,E=Error(i(419)),m=mh(E,m,void 0),Ec(r,a,I,m)}if(te=(I&r.childLanes)!==0,_r||te){if(m=Wr,m!==null){switch(I&-I){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|I))!==0?0:x,x!==0&&x!==E.retryLane&&(E.retryLane=x,ba(r,x),Mo(m,r,x,-1))}return Ph(),m=mh(Error(i(421))),Ec(r,a,I,m)}return x.data==="$?"?(a.flags|=128,a.child=r.child,a=Zb.bind(null,r),x._reactRetry=a,null):(r=E.treeContext,ta=hi(x.nextSibling),ea=a,cr=!0,Ma=null,r!==null&&(Mr[Da++]=gi,Mr[Da++]=bi,Mr[Da++]=ya,gi=r.id,bi=r.overflow,ya=a),a=Sh(a,m.children),a.flags|=4096,a)}function Ch(r,a,f){r.lanes|=a;var m=r.alternate;m!==null&&(m.lanes|=a),ih(r.return,a,f)}function Po(r,a,f,m,x){var E=r.memoizedState;E===null?r.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(r,a,f){var m=a.pendingProps,x=m.revealOrder,E=m.tail;if(po(r,a,m.children,f),m=mr.current,(m&2)!==0)m=m&1|2,a.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=a.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Ch(r,f,a);else if(r.tag===19)Ch(r,f,a);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===a)break e;for(;r.sibling===null;){if(r.return===null||r.return===a)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}m&=1}if(_t(mr,m),(a.mode&1)===0)a.memoizedState=null;else switch(x){case"forwards":for(f=a.child,x=null;f!==null;)r=f.alternate,r!==null&&Qf(r)===null&&(x=f),f=f.sibling;f=x,f===null?(x=a.child,a.child=null):(x=f.sibling,f.sibling=null),Po(a,!1,x,f,E);break;case"backwards":for(f=null,x=a.child,a.child=null;x!==null;){if(r=x.alternate,r!==null&&Qf(r)===null){a.child=x;break}r=x.sibling,x.sibling=f,f=x,x=r}Po(a,!0,f,null,E);break;case"together":Po(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function _a(r,a){(a.mode&1)===0&&r!==null&&(r.alternate=null,a.alternate=null,a.flags|=2)}function Ia(r,a,f){if(r!==null&&(a.dependencies=r.dependencies),Ei|=a.lanes,(f&a.childLanes)===0)return null;if(r!==null&&a.child!==r.child)throw Error(i(153));if(a.child!==null){for(r=a.child,f=Ml(r,r.pendingProps),a.child=f,f.return=a;r.sibling!==null;)r=r.sibling,f=f.sibling=Ml(r,r.pendingProps),f.return=a;f.sibling=null}return a.child}function Tc(r,a,f){switch(a.tag){case 3:du(a),Rl();break;case 5:ey(a);break;case 1:Dr(a.type)&&Jr(a);break;case 4:fh(a,a.stateNode.containerInfo);break;case 10:var m=a.type._context,x=a.memoizedProps.value;_t(ga,m._currentValue),m._currentValue=x;break;case 13:if(m=a.memoizedState,m!==null)return m.dehydrated!==null?(_t(mr,mr.current&1),a.flags|=128,null):(f&a.child.childLanes)!==0?yd(r,a,f):(_t(mr,mr.current&1),r=Ia(r,a,f),r!==null?r.sibling:null);_t(mr,mr.current&1);break;case 19:if(m=(f&a.childLanes)!==0,(r.flags&128)!==0){if(m)return Si(r,a,f);a.flags|=128}if(x=a.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),_t(mr,mr.current),m)break;return null;case 22:case 23:return a.lanes=0,Cc(r,a,f)}return Ia(r,a,f)}var Fa,Ir,cy,fy;Fa=function(r,a){for(var f=a.child;f!==null;){if(f.tag===5||f.tag===6)r.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}},Ir=function(){},cy=function(r,a,f,m){var x=r.memoizedProps;if(x!==m){r=a.stateNode,ys(xi.current);var E=null;switch(f){case"input":x=ye(r,x),m=ye(r,m),E=[];break;case"select":x=oe({},x,{value:void 0}),m=oe({},m,{value:void 0}),E=[];break;case"textarea":x=lt(r,x),m=lt(r,m),E=[];break;default:typeof x.onClick!="function"&&typeof m.onClick=="function"&&(r.onclick=xl)}On(f,m);var I;f=null;for(Le in x)if(!m.hasOwnProperty(Le)&&x.hasOwnProperty(Le)&&x[Le]!=null)if(Le==="style"){var te=x[Le];for(I in te)te.hasOwnProperty(I)&&(f||(f={}),f[I]="")}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 le=m[Le];if(te=x!=null?x[Le]:void 0,m.hasOwnProperty(Le)&&le!==te&&(le!=null||te!=null))if(Le==="style")if(te){for(I in te)!te.hasOwnProperty(I)||le&&le.hasOwnProperty(I)||(f||(f={}),f[I]="");for(I in le)le.hasOwnProperty(I)&&te[I]!==le[I]&&(f||(f={}),f[I]=le[I])}else f||(E||(E=[]),E.push(Le,f)),f=le;else Le==="dangerouslySetInnerHTML"?(le=le?le.__html:void 0,te=te?te.__html:void 0,le!=null&&te!==le&&(E=E||[]).push(Le,le)):Le==="children"?typeof le!="string"&&typeof le!="number"||(E=E||[]).push(Le,""+le):Le!=="suppressContentEditableWarning"&&Le!=="suppressHydrationWarning"&&(c.hasOwnProperty(Le)?(le!=null&&Le==="onScroll"&&_n("scroll",r),E||te===le||(E=[])):(E=E||[]).push(Le,le))}f&&(E=E||[]).push("style",f);var Le=E;(a.updateQueue=Le)&&(a.flags|=4)}},fy=function(r,a,f,m){f!==m&&(a.flags|=4)};function Rc(r,a){if(!cr)switch(r.tailMode){case"hidden":a=r.tail;for(var f=null;a!==null;)a.alternate!==null&&(f=a),a=a.sibling;f===null?r.tail=null:f.sibling=null;break;case"collapsed":f=r.tail;for(var m=null;f!==null;)f.alternate!==null&&(m=f),f=f.sibling;m===null?a||r.tail===null?r.tail=null:r.tail.sibling=null:m.sibling=null}}function to(r){var a=r.alternate!==null&&r.alternate.child===r.child,f=0,m=0;if(a)for(var x=r.child;x!==null;)f|=x.lanes|x.childLanes,m|=x.subtreeFlags&14680064,m|=x.flags&14680064,x.return=r,x=x.sibling;else for(x=r.child;x!==null;)f|=x.lanes|x.childLanes,m|=x.subtreeFlags,m|=x.flags,x.return=r,x=x.sibling;return r.subtreeFlags|=m,r.childLanes=f,a}function dy(r,a,f){var m=a.pendingProps;switch(Hf(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 Dr(a.type)&&lu(),to(a),null;case 3:return m=a.stateNode,gs(),er(Hr),er(xr),Vt(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),(r===null||r.child===null)&&(Gf(a)?a.flags|=4:r===null||r.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Ma!==null&&(As(Ma),Ma=null))),Ir(r,a),to(a),null;case 5:qf(a);var x=ys(fc.current);if(f=a.type,r!==null&&a.stateNode!=null)cy(r,a,f,m,x),r.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(r=ys(xi.current),Gf(a)){m=a.stateNode,f=a.type;var E=a.memoizedProps;switch(m[mi]=a,m[oc]=E,r=(a.mode&1)!==0,f){case"dialog":_n("cancel",m),_n("close",m);break;case"iframe":case"object":case"embed":_n("load",m);break;case"video":case"audio":for(x=0;x<tc.length;x++)_n(tc[x],m);break;case"source":_n("error",m);break;case"img":case"image":case"link":_n("error",m),_n("load",m);break;case"details":_n("toggle",m);break;case"input":Fe(m,E),_n("invalid",m);break;case"select":m._wrapperState={wasMultiple:!!E.multiple},_n("invalid",m);break;case"textarea":sn(m,E),_n("invalid",m)}On(f,E),x=null;for(var I in E)if(E.hasOwnProperty(I)){var te=E[I];I==="children"?typeof te=="string"?m.textContent!==te&&(E.suppressHydrationWarning!==!0&&If(m.textContent,te,r),x=["children",te]):typeof te=="number"&&m.textContent!==""+te&&(E.suppressHydrationWarning!==!0&&If(m.textContent,te,r),x=["children",""+te]):c.hasOwnProperty(I)&&te!=null&&I==="onScroll"&&_n("scroll",m)}switch(f){case"input":be(m),jt(m,E,!0);break;case"textarea":be(m),dn(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{I=x.nodeType===9?x:x.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=un(f)),r==="http://www.w3.org/1999/xhtml"?f==="script"?(r=I.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof m.is=="string"?r=I.createElement(f,{is:m.is}):(r=I.createElement(f),f==="select"&&(I=r,m.multiple?I.multiple=!0:m.size&&(I.size=m.size))):r=I.createElementNS(r,f),r[mi]=a,r[oc]=m,Fa(r,a,!1,!1),a.stateNode=r;e:{switch(I=Ln(f,m),f){case"dialog":_n("cancel",r),_n("close",r),x=m;break;case"iframe":case"object":case"embed":_n("load",r),x=m;break;case"video":case"audio":for(x=0;x<tc.length;x++)_n(tc[x],r);x=m;break;case"source":_n("error",r),x=m;break;case"img":case"image":case"link":_n("error",r),_n("load",r),x=m;break;case"details":_n("toggle",r),x=m;break;case"input":Fe(r,m),x=ye(r,m),_n("invalid",r);break;case"option":x=m;break;case"select":r._wrapperState={wasMultiple:!!m.multiple},x=oe({},m,{value:void 0}),_n("invalid",r);break;case"textarea":sn(r,m),x=lt(r,m),_n("invalid",r);break;default:x=m}On(f,x),te=x;for(E in te)if(te.hasOwnProperty(E)){var le=te[E];E==="style"?Rn(r,le):E==="dangerouslySetInnerHTML"?(le=le?le.__html:void 0,le!=null&&or(r,le)):E==="children"?typeof le=="string"?(f!=="textarea"||le!=="")&&it(r,le):typeof le=="number"&&it(r,""+le):E!=="suppressContentEditableWarning"&&E!=="suppressHydrationWarning"&&E!=="autoFocus"&&(c.hasOwnProperty(E)?le!=null&&E==="onScroll"&&_n("scroll",r):le!=null&&A(r,E,le,I))}switch(f){case"input":be(r),jt(r,m,!1);break;case"textarea":be(r),dn(r);break;case"option":m.value!=null&&r.setAttribute("value",""+Z(m.value));break;case"select":r.multiple=!!m.multiple,E=m.value,E!=null?Ct(r,!!m.multiple,E,!1):m.defaultValue!=null&&Ct(r,!!m.multiple,m.defaultValue,!0);break;default:typeof x.onClick=="function"&&(r.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(r&&a.stateNode!=null)fy(r,a,r.memoizedProps,m);else{if(typeof m!="string"&&a.stateNode===null)throw Error(i(166));if(f=ys(fc.current),ys(xi.current),Gf(a)){if(m=a.stateNode,f=a.memoizedProps,m[mi]=a,(E=m.nodeValue!==f)&&(r=ea,r!==null))switch(r.tag){case 3:If(m.nodeValue,f,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&If(m.nodeValue,f,(r.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,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(cr&&ta!==null&&(a.mode&1)!==0&&(a.flags&128)===0)lc(),Rl(),a.flags|=98560,E=!1;else if(E=Gf(a),m!==null&&m.dehydrated!==null){if(r===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!==(r!==null&&r.memoizedState!==null)&&m&&(a.child.flags|=8192,(a.mode&1)!==0&&(r===null||(mr.current&1)!==0?Ar===0&&(Ar=3):Ph())),a.updateQueue!==null&&(a.flags|=4),to(a),null);case 4:return gs(),Ir(r,a),r===null&&nu(a.stateNode.containerInfo),to(a),null;case 10:return ah(a.type._context),to(a),null;case 17:return Dr(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,I=E.rendering,I===null)if(m)Rc(E,!1);else{if(Ar!==0||r!==null&&(r.flags&128)!==0)for(r=a.child;r!==null;){if(I=Qf(r),I!==null){for(a.flags|=128,Rc(E,!1),m=I.updateQueue,m!==null&&(a.updateQueue=m,a.flags|=4),a.subtreeFlags=0,m=f,f=a.child;f!==null;)E=f,r=m,E.flags&=14680066,I=E.alternate,I===null?(E.childLanes=0,E.lanes=r,E.child=null,E.subtreeFlags=0,E.memoizedProps=null,E.memoizedState=null,E.updateQueue=null,E.dependencies=null,E.stateNode=null):(E.childLanes=I.childLanes,E.lanes=I.lanes,E.child=I.child,E.subtreeFlags=0,E.deletions=null,E.memoizedProps=I.memoizedProps,E.memoizedState=I.memoizedState,E.updateQueue=I.updateQueue,E.type=I.type,r=I.dependencies,E.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),f=f.sibling;return _t(mr,mr.current&1|2),a.child}r=r.sibling}E.tail!==null&&Xt()>vu&&(a.flags|=128,m=!0,Rc(E,!1),a.lanes=4194304)}else{if(!m)if(r=Qf(I),r!==null){if(a.flags|=128,m=!0,f=r.updateQueue,f!==null&&(a.updateQueue=f,a.flags|=4),Rc(E,!0),E.tail===null&&E.tailMode==="hidden"&&!I.alternate&&!cr)return to(a),null}else 2*Xt()-E.renderingStartTime>vu&&f!==1073741824&&(a.flags|=128,m=!0,Rc(E,!1),a.lanes=4194304);E.isBackwards?(I.sibling=a.child,a.child=I):(f=E.last,f!==null?f.sibling=I:a.child=I,E.last=I)}return E.tail!==null?(a=E.tail,E.rendering=a,E.tail=a.sibling,E.renderingStartTime=Xt(),a.sibling=null,f=mr.current,_t(mr,m?f&1|2:f&1),a):(to(a),null);case 22:case 23:return kh(),m=a.memoizedState!==null,r!==null&&r.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 gd(r,a){switch(Hf(a),a.tag){case 1:return Dr(a.type)&&lu(),r=a.flags,r&65536?(a.flags=r&-65537|128,a):null;case 3:return gs(),er(Hr),er(xr),Vt(),r=a.flags,(r&65536)!==0&&(r&128)===0?(a.flags=r&-65537|128,a):null;case 5:return qf(a),null;case 13:if(er(mr),r=a.memoizedState,r!==null&&r.dehydrated!==null){if(a.alternate===null)throw Error(i(340));Rl()}return r=a.flags,r&65536?(a.flags=r&-65537|128,a):null;case 19:return er(mr),null;case 4:return gs(),null;case 10:return ah(a.type._context),null;case 22:case 23:return kh(),null;case 24:return null;default:return null}}var Oc=!1,Oo=!1,Gb=typeof WeakSet=="function"?WeakSet:Set,Ot=null;function pu(r,a){var f=r.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(m){fr(r,a,m)}else f.current=null}function bd(r,a,f){try{f()}catch(m){fr(r,a,m)}}var py=!1;function hy(r,a){if(rc=os,r=Ju(),Af(r)){if("selectionStart"in r)var f={start:r.selectionStart,end:r.selectionEnd};else e:{f=(f=r.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 I=0,te=-1,le=-1,Le=0,Ke=0,et=r,Qe=null;t:for(;;){for(var wt;et!==f||x!==0&&et.nodeType!==3||(te=I+x),et!==E||m!==0&&et.nodeType!==3||(le=I+m),et.nodeType===3&&(I+=et.nodeValue.length),(wt=et.firstChild)!==null;)Qe=et,et=wt;for(;;){if(et===r)break t;if(Qe===f&&++Le===x&&(te=I),Qe===E&&++Ke===m&&(le=I),(wt=et.nextSibling)!==null)break;et=Qe,Qe=et.parentNode}et=wt}f=te===-1||le===-1?null:{start:te,end:le}}else f=null}f=f||{start:0,end:0}}else f=null;for(fs={focusedElem:r,selectionRange:f},os=!1,Ot=a;Ot!==null;)if(a=Ot,r=a.child,(a.subtreeFlags&1028)!==0&&r!==null)r.return=a,Ot=r;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 Dt=kt.memoizedProps,kr=kt.memoizedState,Re=a.stateNode,pe=Re.getSnapshotBeforeUpdate(a.elementType===a.type?Dt:Ja(a.type,Dt),kr);Re.__reactInternalSnapshotBeforeUpdate=pe}break;case 3:var Pe=a.stateNode.containerInfo;Pe.nodeType===1?Pe.textContent="":Pe.nodeType===9&&Pe.documentElement&&Pe.removeChild(Pe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(Ze){fr(a,a.return,Ze)}if(r=a.sibling,r!==null){r.return=a.return,Ot=r;break}Ot=a.return}return kt=py,py=!1,kt}function $c(r,a,f){var m=a.updateQueue;if(m=m!==null?m.lastEffect:null,m!==null){var x=m=m.next;do{if((x.tag&r)===r){var E=x.destroy;x.destroy=void 0,E!==void 0&&bd(a,f,E)}x=x.next}while(x!==m)}}function Ac(r,a){if(a=a.updateQueue,a=a!==null?a.lastEffect:null,a!==null){var f=a=a.next;do{if((f.tag&r)===r){var m=f.create;f.destroy=m()}f=f.next}while(f!==a)}}function wh(r){var a=r.ref;if(a!==null){var f=r.stateNode;switch(r.tag){case 5:r=f;break;default:r=f}typeof a=="function"?a(r):a.current=r}}function xd(r){var a=r.alternate;a!==null&&(r.alternate=null,xd(a)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(a=r.stateNode,a!==null&&(delete a[mi],delete a[oc],delete a[ac],delete a[iu],delete a[zb])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function kc(r){return r.tag===5||r.tag===3||r.tag===4}function Xi(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||kc(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Ci(r,a,f){var m=r.tag;if(m===5||m===6)r=r.stateNode,a?f.nodeType===8?f.parentNode.insertBefore(r,a):f.insertBefore(r,a):(f.nodeType===8?(a=f.parentNode,a.insertBefore(r,f)):(a=f,a.appendChild(r)),f=f._reactRootContainer,f!=null||a.onclick!==null||(a.onclick=xl));else if(m!==4&&(r=r.child,r!==null))for(Ci(r,a,f),r=r.sibling;r!==null;)Ci(r,a,f),r=r.sibling}function wi(r,a,f){var m=r.tag;if(m===5||m===6)r=r.stateNode,a?f.insertBefore(r,a):f.appendChild(r);else if(m!==4&&(r=r.child,r!==null))for(wi(r,a,f),r=r.sibling;r!==null;)wi(r,a,f),r=r.sibling}var $r=null,No=!1;function Do(r,a,f){for(f=f.child;f!==null;)my(r,a,f),f=f.sibling}function my(r,a,f){if(yn&&typeof yn.onCommitFiberUnmount=="function")try{yn.onCommitFiberUnmount(gr,f)}catch{}switch(f.tag){case 5:Oo||pu(f,a);case 6:var m=$r,x=No;$r=null,Do(r,a,f),$r=m,No=x,$r!==null&&(No?(r=$r,f=f.stateNode,r.nodeType===8?r.parentNode.removeChild(f):r.removeChild(f)):$r.removeChild(f.stateNode));break;case 18:$r!==null&&(No?(r=$r,f=f.stateNode,r.nodeType===8?au(r.parentNode,f):r.nodeType===1&&au(r,f),yl(r)):au($r,f.stateNode));break;case 4:m=$r,x=No,$r=f.stateNode.containerInfo,No=!0,Do(r,a,f),$r=m,No=x;break;case 0:case 11:case 14:case 15:if(!Oo&&(m=f.updateQueue,m!==null&&(m=m.lastEffect,m!==null))){x=m=m.next;do{var E=x,I=E.destroy;E=E.tag,I!==void 0&&((E&2)!==0||(E&4)!==0)&&bd(f,a,I),x=x.next}while(x!==m)}Do(r,a,f);break;case 1:if(!Oo&&(pu(f,a),m=f.stateNode,typeof m.componentWillUnmount=="function"))try{m.props=f.memoizedProps,m.state=f.memoizedState,m.componentWillUnmount()}catch(te){fr(f,a,te)}Do(r,a,f);break;case 21:Do(r,a,f);break;case 22:f.mode&1?(Oo=(m=Oo)||f.memoizedState!==null,Do(r,a,f),Oo=m):Do(r,a,f);break;default:Do(r,a,f)}}function vy(r){var a=r.updateQueue;if(a!==null){r.updateQueue=null;var f=r.stateNode;f===null&&(f=r.stateNode=new Gb),a.forEach(function(m){var x=Ty.bind(null,r,m);f.has(m)||(f.add(m),m.then(x,x))})}}function ei(r,a){var f=a.deletions;if(f!==null)for(var m=0;m<f.length;m++){var x=f[m];try{var E=r,I=a,te=I;e:for(;te!==null;){switch(te.tag){case 5:$r=te.stateNode,No=!1;break e;case 3:$r=te.stateNode.containerInfo,No=!0;break e;case 4:$r=te.stateNode.containerInfo,No=!0;break e}te=te.return}if($r===null)throw Error(i(160));my(E,I,x),$r=null,No=!1;var le=x.alternate;le!==null&&(le.return=null),x.return=null}catch(Le){fr(x,a,Le)}}if(a.subtreeFlags&12854)for(a=a.child;a!==null;)Eh(a,r),a=a.sibling}function Eh(r,a){var f=r.alternate,m=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(ei(a,r),aa(r),m&4){try{$c(3,r,r.return),Ac(3,r)}catch(Dt){fr(r,r.return,Dt)}try{$c(5,r,r.return)}catch(Dt){fr(r,r.return,Dt)}}break;case 1:ei(a,r),aa(r),m&512&&f!==null&&pu(f,f.return);break;case 5:if(ei(a,r),aa(r),m&512&&f!==null&&pu(f,f.return),r.flags&32){var x=r.stateNode;try{it(x,"")}catch(Dt){fr(r,r.return,Dt)}}if(m&4&&(x=r.stateNode,x!=null)){var E=r.memoizedProps,I=f!==null?f.memoizedProps:E,te=r.type,le=r.updateQueue;if(r.updateQueue=null,le!==null)try{te==="input"&&E.type==="radio"&&E.name!=null&&at(x,E),Ln(te,I);var Le=Ln(te,E);for(I=0;I<le.length;I+=2){var Ke=le[I],et=le[I+1];Ke==="style"?Rn(x,et):Ke==="dangerouslySetInnerHTML"?or(x,et):Ke==="children"?it(x,et):A(x,Ke,et,Le)}switch(te){case"input":It(x,E);break;case"textarea":mn(x,E);break;case"select":var Qe=x._wrapperState.wasMultiple;x._wrapperState.wasMultiple=!!E.multiple;var wt=E.value;wt!=null?Ct(x,!!E.multiple,wt,!1):Qe!==!!E.multiple&&(E.defaultValue!=null?Ct(x,!!E.multiple,E.defaultValue,!0):Ct(x,!!E.multiple,E.multiple?[]:"",!1))}x[oc]=E}catch(Dt){fr(r,r.return,Dt)}}break;case 6:if(ei(a,r),aa(r),m&4){if(r.stateNode===null)throw Error(i(162));x=r.stateNode,E=r.memoizedProps;try{x.nodeValue=E}catch(Dt){fr(r,r.return,Dt)}}break;case 3:if(ei(a,r),aa(r),m&4&&f!==null&&f.memoizedState.isDehydrated)try{yl(a.containerInfo)}catch(Dt){fr(r,r.return,Dt)}break;case 4:ei(a,r),aa(r);break;case 13:ei(a,r),aa(r),x=r.child,x.flags&8192&&(E=x.memoizedState!==null,x.stateNode.isHidden=E,!E||x.alternate!==null&&x.alternate.memoizedState!==null||(Oh=Xt())),m&4&&vy(r);break;case 22:if(Ke=f!==null&&f.memoizedState!==null,r.mode&1?(Oo=(Le=Oo)||Ke,ei(a,r),Oo=Le):ei(a,r),aa(r),m&8192){if(Le=r.memoizedState!==null,(r.stateNode.isHidden=Le)&&!Ke&&(r.mode&1)!==0)for(Ot=r,Ke=r.child;Ke!==null;){for(et=Ot=Ke;Ot!==null;){switch(Qe=Ot,wt=Qe.child,Qe.tag){case 0:case 11:case 14:case 15:$c(4,Qe,Qe.return);break;case 1:pu(Qe,Qe.return);var kt=Qe.stateNode;if(typeof kt.componentWillUnmount=="function"){m=Qe,f=Qe.return;try{a=m,kt.props=a.memoizedProps,kt.state=a.memoizedState,kt.componentWillUnmount()}catch(Dt){fr(m,f,Dt)}}break;case 5:pu(Qe,Qe.return);break;case 22:if(Qe.memoizedState!==null){Pc(et);continue}}wt!==null?(wt.return=Qe,Ot=wt):Pc(et)}Ke=Ke.sibling}e:for(Ke=null,et=r;;){if(et.tag===5){if(Ke===null){Ke=et;try{x=et.stateNode,Le?(E=x.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none"):(te=et.stateNode,le=et.memoizedProps.style,I=le!=null&&le.hasOwnProperty("display")?le.display:null,te.style.display=cn("display",I))}catch(Dt){fr(r,r.return,Dt)}}}else if(et.tag===6){if(Ke===null)try{et.stateNode.nodeValue=Le?"":et.memoizedProps}catch(Dt){fr(r,r.return,Dt)}}else if((et.tag!==22&&et.tag!==23||et.memoizedState===null||et===r)&&et.child!==null){et.child.return=et,et=et.child;continue}if(et===r)break e;for(;et.sibling===null;){if(et.return===null||et.return===r)break e;Ke===et&&(Ke=null),et=et.return}Ke===et&&(Ke=null),et.sibling.return=et.return,et=et.sibling}}break;case 19:ei(a,r),aa(r),m&4&&vy(r);break;case 21:break;default:ei(a,r),aa(r)}}function aa(r){var a=r.flags;if(a&2){try{e:{for(var f=r.return;f!==null;){if(kc(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(r);wi(r,E,x);break;case 3:case 4:var I=m.stateNode.containerInfo,te=Xi(r);Ci(r,te,I);break;default:throw Error(i(161))}}catch(le){fr(r,r.return,le)}r.flags&=-3}a&4096&&(r.flags&=-4097)}function Wb(r,a,f){Ot=r,Th(r)}function Th(r,a,f){for(var m=(r.mode&1)!==0;Ot!==null;){var x=Ot,E=x.child;if(x.tag===22&&m){var I=x.memoizedState!==null||Oc;if(!I){var te=x.alternate,le=te!==null&&te.memoizedState!==null||Oo;te=Oc;var Le=Oo;if(Oc=I,(Oo=le)&&!Le)for(Ot=x;Ot!==null;)I=Ot,le=I.child,I.tag===22&&I.memoizedState!==null?Rh(x):le!==null?(le.return=I,Ot=le):Rh(x);for(;E!==null;)Ot=E,Th(E),E=E.sibling;Ot=x,Oc=te,Oo=Le}yy(r)}else(x.subtreeFlags&8772)!==0&&E!==null?(E.return=x,Ot=E):yy(r)}}function yy(r){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:Oo||Ac(5,a);break;case 1:var m=a.stateNode;if(a.flags&4&&!Oo)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&&ch(a,E,m);break;case 3:var I=a.updateQueue;if(I!==null){if(f=null,a.child!==null)switch(a.child.tag){case 5:f=a.child.stateNode;break;case 1:f=a.child.stateNode}ch(a,I,f)}break;case 5:var te=a.stateNode;if(f===null&&a.flags&4){f=te;var le=a.memoizedProps;switch(a.type){case"button":case"input":case"select":case"textarea":le.autoFocus&&f.focus();break;case"img":le.src&&(f.src=le.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 Ke=Le.memoizedState;if(Ke!==null){var et=Ke.dehydrated;et!==null&&yl(et)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}Oo||a.flags&512&&wh(a)}catch(Qe){fr(a,a.return,Qe)}}if(a===r){Ot=null;break}if(f=a.sibling,f!==null){f.return=a.return,Ot=f;break}Ot=a.return}}function Pc(r){for(;Ot!==null;){var a=Ot;if(a===r){Ot=null;break}var f=a.sibling;if(f!==null){f.return=a.return,Ot=f;break}Ot=a.return}}function Rh(r){for(;Ot!==null;){var a=Ot;try{switch(a.tag){case 0:case 11:case 15:var f=a.return;try{Ac(4,a)}catch(le){fr(a,f,le)}break;case 1:var m=a.stateNode;if(typeof m.componentDidMount=="function"){var x=a.return;try{m.componentDidMount()}catch(le){fr(a,x,le)}}var E=a.return;try{wh(a)}catch(le){fr(a,E,le)}break;case 5:var I=a.return;try{wh(a)}catch(le){fr(a,I,le)}}}catch(le){fr(a,a.return,le)}if(a===r){Ot=null;break}var te=a.sibling;if(te!==null){te.return=a.return,Ot=te;break}Ot=a.return}}var Yb=Math.ceil,Pl=_.ReactCurrentDispatcher,Os=_.ReactCurrentOwner,ho=_.ReactCurrentBatchConfig,Sn=0,Wr=null,Fr=null,mo=0,Sa=0,hu=Na(0),Ar=0,Nc=null,Ei=0,mu=0,Sd=0,Dc=null,ia=null,Oh=0,vu=1/0,Ca=null,yu=!1,$s=null,Nl=null,Cd=!1,Ki=null,Mc=0,Dl=0,gu=null,Lc=-1,$o=0;function Vr(){return(Sn&6)!==0?Xt():Lc!==-1?Lc:Lc=Xt()}function Ti(r){return(r.mode&1)===0?1:(Sn&2)!==0&&mo!==0?mo&-mo:Hb.transition!==null?($o===0&&($o=qo()),$o):(r=Fn,r!==0||(r=window.event,r=r===void 0?16:bf(r.type)),r)}function Mo(r,a,f,m){if(50<Dl)throw Dl=0,gu=null,Error(i(185));Qo(r,f,m),((Sn&2)===0||r!==Wr)&&(r===Wr&&((Sn&2)===0&&(mu|=f),Ar===4&&ti(r,mo)),la(r,m),f===1&&Sn===0&&(a.mode&1)===0&&(vu=Xt()+500,su&&yi()))}function la(r,a){var f=r.callbackNode;pl(r,a);var m=di(r,r===Wr?mo:0);if(m===0)f!==null&&Kr(f),r.callbackNode=null,r.callbackPriority=0;else if(a=m&-m,r.callbackPriority!==a){if(f!=null&&Kr(f),a===1)r.tag===0?Cl($h.bind(null,r)):Bf($h.bind(null,r)),ou(function(){(Sn&6)===0&&yi()}),f=null;else{switch(Rp(m)){case 1:f=Qa;break;case 4:f=ci;break;case 16:f=fi;break;case 536870912:f=Bn;break;default:f=fi}f=Oy(f,wd.bind(null,r))}r.callbackPriority=a,r.callbackNode=f}}function wd(r,a){if(Lc=-1,$o=0,(Sn&6)!==0)throw Error(i(327));var f=r.callbackNode;if(bu()&&r.callbackNode!==f)return null;var m=di(r,r===Wr?mo:0);if(m===0)return null;if((m&30)!==0||(m&r.expiredLanes)!==0||a)a=Ed(r,m);else{a=m;var x=Sn;Sn|=2;var E=by();(Wr!==r||mo!==a)&&(Ca=null,vu=Xt()+500,Zi(r,a));do try{xy();break}catch(te){gy(r,te)}while(!0);oh(),Pl.current=E,Sn=x,Fr!==null?a=0:(Wr=null,mo=0,a=Ar)}if(a!==0){if(a===2&&(x=Fi(r),x!==0&&(m=x,a=_c(r,x))),a===1)throw f=Nc,Zi(r,0),ti(r,m),la(r,Xt()),f;if(a===6)ti(r,m);else{if(x=r.current.alternate,(m&30)===0&&!qb(x)&&(a=Ed(r,m),a===2&&(E=Fi(r),E!==0&&(m=E,a=_c(r,E))),a===1))throw f=Nc,Zi(r,0),ti(r,m),la(r,Xt()),f;switch(r.finishedWork=x,r.finishedLanes=m,a){case 0:case 1:throw Error(i(345));case 2:Ps(r,ia,Ca);break;case 3:if(ti(r,m),(m&130023424)===m&&(a=Oh+500-Xt(),10<a)){if(di(r,0)!==0)break;if(x=r.suspendedLanes,(x&m)!==m){Vr(),r.pingedLanes|=r.suspendedLanes&x;break}r.timeoutHandle=Vf(Ps.bind(null,r,ia,Ca),a);break}Ps(r,ia,Ca);break;case 4:if(ti(r,m),(m&4194240)===m)break;for(a=r.eventTimes,x=-1;0<m;){var I=31-Er(m);E=1<<I,I=a[I],I>x&&(x=I),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*Yb(m/1960))-m,10<m){r.timeoutHandle=Vf(Ps.bind(null,r,ia,Ca),m);break}Ps(r,ia,Ca);break;case 5:Ps(r,ia,Ca);break;default:throw Error(i(329))}}}return la(r,Xt()),r.callbackNode===f?wd.bind(null,r):null}function _c(r,a){var f=Dc;return r.current.memoizedState.isDehydrated&&(Zi(r,a).flags|=256),r=Ed(r,a),r!==2&&(a=ia,ia=f,a!==null&&As(a)),r}function As(r){ia===null?ia=r:ia.push.apply(ia,r)}function qb(r){for(var a=r;;){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===r)break;for(;a.sibling===null;){if(a.return===null||a.return===r)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function ti(r,a){for(a&=~Sd,a&=~mu,r.suspendedLanes|=a,r.pingedLanes&=~a,r=r.expirationTimes;0<a;){var f=31-Er(a),m=1<<f;r[f]=-1,a&=~m}}function $h(r){if((Sn&6)!==0)throw Error(i(327));bu();var a=di(r,0);if((a&1)===0)return la(r,Xt()),null;var f=Ed(r,a);if(r.tag!==0&&f===2){var m=Fi(r);m!==0&&(a=m,f=_c(r,m))}if(f===1)throw f=Nc,Zi(r,0),ti(r,a),la(r,Xt()),f;if(f===6)throw Error(i(345));return r.finishedWork=r.current.alternate,r.finishedLanes=a,Ps(r,ia,Ca),la(r,Xt()),null}function Ah(r,a){var f=Sn;Sn|=1;try{return r(a)}finally{Sn=f,Sn===0&&(vu=Xt()+500,su&&yi())}}function ks(r){Ki!==null&&Ki.tag===0&&(Sn&6)===0&&bu();var a=Sn;Sn|=1;var f=ho.transition,m=Fn;try{if(ho.transition=null,Fn=1,r)return r()}finally{Fn=m,ho.transition=f,Sn=a,(Sn&6)===0&&yi()}}function kh(){Sa=hu.current,er(hu)}function Zi(r,a){r.finishedWork=null,r.finishedLanes=0;var f=r.timeoutHandle;if(f!==-1&&(r.timeoutHandle=-1,Jp(f)),Fr!==null)for(f=Fr.return;f!==null;){var m=f;switch(Hf(m),m.tag){case 1:m=m.type.childContextTypes,m!=null&&lu();break;case 3:gs(),er(Hr),er(xr),Vt();break;case 5:qf(m);break;case 4:gs();break;case 13:er(mr);break;case 19:er(mr);break;case 10:ah(m.type._context);break;case 22:case 23:kh()}f=f.return}if(Wr=r,Fr=r=Ml(r.current,null),mo=Sa=a,Ar=0,Nc=null,Sd=mu=Ei=0,ia=Dc=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 I=E.next;E.next=x,m.next=I}f.pending=m}vs=null}return r}function gy(r,a){do{var f=Fr;try{if(oh(),hn.current=Es,Xf){for(var m=An.memoizedState;m!==null;){var x=m.queue;x!==null&&(x.pending=null),m=m.next}Xf=!1}if(zn=0,eo=Lr=An=null,pc=!1,bs=0,Os.current=null,f===null||f.return===null){Ar=1,Nc=a,Fr=null;break}e:{var E=r,I=f.return,te=f,le=a;if(a=mo,te.flags|=32768,le!==null&&typeof le=="object"&&typeof le.then=="function"){var Le=le,Ke=te,et=Ke.tag;if((Ke.mode&1)===0&&(et===0||et===11||et===15)){var Qe=Ke.alternate;Qe?(Ke.updateQueue=Qe.updateQueue,Ke.memoizedState=Qe.memoizedState,Ke.lanes=Qe.lanes):(Ke.updateQueue=null,Ke.memoizedState=null)}var wt=ay(I);if(wt!==null){wt.flags&=-257,kl(wt,I,te,E,a),wt.mode&1&&gh(E,Le,a),a=wt,le=Le;var kt=a.updateQueue;if(kt===null){var Dt=new Set;Dt.add(le),a.updateQueue=Dt}else kt.add(le);break e}else{if((a&1)===0){gh(E,Le,a),Ph();break e}le=Error(i(426))}}else if(cr&&te.mode&1){var kr=ay(I);if(kr!==null){(kr.flags&65536)===0&&(kr.flags|=256),kl(kr,I,te,E,a),Yi(Ts(le,te));break e}}E=le=Ts(le,te),Ar!==4&&(Ar=2),Dc===null?Dc=[E]:Dc.push(E),E=I;do{switch(E.tag){case 3:E.flags|=65536,a&=-a,E.lanes|=a;var Re=oy(E,le,a);Jv(E,Re);break e;case 1:te=le;var pe=E.type,Pe=E.stateNode;if((E.flags&128)===0&&(typeof pe.getDerivedStateFromError=="function"||Pe!==null&&typeof Pe.componentDidCatch=="function"&&(Nl===null||!Nl.has(Pe)))){E.flags|=65536,a&=-a,E.lanes|=a;var Ze=yh(E,te,a);Jv(E,Ze);break e}}E=E.return}while(E!==null)}Cy(f)}catch(Pt){a=Pt,Fr===f&&f!==null&&(Fr=f=f.return);continue}break}while(!0)}function by(){var r=Pl.current;return Pl.current=Es,r===null?Es:r}function Ph(){(Ar===0||Ar===3||Ar===2)&&(Ar=4),Wr===null||(Ei&268435455)===0&&(mu&268435455)===0||ti(Wr,mo)}function Ed(r,a){var f=Sn;Sn|=2;var m=by();(Wr!==r||mo!==a)&&(Ca=null,Zi(r,a));do try{Qb();break}catch(x){gy(r,x)}while(!0);if(oh(),Sn=f,Pl.current=m,Fr!==null)throw Error(i(261));return Wr=null,mo=0,Ar}function Qb(){for(;Fr!==null;)Sy(Fr)}function xy(){for(;Fr!==null&&!Yt();)Sy(Fr)}function Sy(r){var a=Ry(r.alternate,r,Sa);r.memoizedProps=r.pendingProps,a===null?Cy(r):Fr=a,Os.current=null}function Cy(r){var a=r;do{var f=a.alternate;if(r=a.return,(a.flags&32768)===0){if(f=dy(f,a,Sa),f!==null){Fr=f;return}}else{if(f=gd(f,a),f!==null){f.flags&=32767,Fr=f;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{Ar=6,Fr=null;return}}if(a=a.sibling,a!==null){Fr=a;return}Fr=a=r}while(a!==null);Ar===0&&(Ar=5)}function Ps(r,a,f){var m=Fn,x=ho.transition;try{ho.transition=null,Fn=1,Xb(r,a,f,m)}finally{ho.transition=x,Fn=m}return null}function Xb(r,a,f,m){do bu();while(Ki!==null);if((Sn&6)!==0)throw Error(i(327));f=r.finishedWork;var x=r.finishedLanes;if(f===null)return null;if(r.finishedWork=null,r.finishedLanes=0,f===r.current)throw Error(i(177));r.callbackNode=null,r.callbackPriority=0;var E=f.lanes|f.childLanes;if(Tb(r,E),r===Wr&&(Fr=Wr=null,mo=0),(f.subtreeFlags&2064)===0&&(f.flags&2064)===0||Cd||(Cd=!0,Oy(fi,function(){return bu(),null})),E=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||E){E=ho.transition,ho.transition=null;var I=Fn;Fn=1;var te=Sn;Sn|=4,Os.current=null,hy(r,f),Eh(f,r),eu(fs),os=!!rc,fs=rc=null,r.current=f,Wb(f),Jn(),Sn=te,Fn=I,ho.transition=E}else r.current=f;if(Cd&&(Cd=!1,Ki=r,Mc=x),E=r.pendingLanes,E===0&&(Nl=null),lo(f.stateNode),la(r,Xt()),a!==null)for(m=r.onRecoverableError,f=0;f<a.length;f++)x=a[f],m(x.value,{componentStack:x.stack,digest:x.digest});if(yu)throw yu=!1,r=$s,$s=null,r;return(Mc&1)!==0&&r.tag!==0&&bu(),E=r.pendingLanes,(E&1)!==0?r===gu?Dl++:(Dl=0,gu=r):Dl=0,yi(),null}function bu(){if(Ki!==null){var r=Rp(Mc),a=ho.transition,f=Fn;try{if(ho.transition=null,Fn=16>r?16:r,Ki===null)var m=!1;else{if(r=Ki,Ki=null,Mc=0,(Sn&6)!==0)throw Error(i(331));var x=Sn;for(Sn|=4,Ot=r.current;Ot!==null;){var E=Ot,I=E.child;if((Ot.flags&16)!==0){var te=E.deletions;if(te!==null){for(var le=0;le<te.length;le++){var Le=te[le];for(Ot=Le;Ot!==null;){var Ke=Ot;switch(Ke.tag){case 0:case 11:case 15:$c(8,Ke,E)}var et=Ke.child;if(et!==null)et.return=Ke,Ot=et;else for(;Ot!==null;){Ke=Ot;var Qe=Ke.sibling,wt=Ke.return;if(xd(Ke),Ke===Le){Ot=null;break}if(Qe!==null){Qe.return=wt,Ot=Qe;break}Ot=wt}}}var kt=E.alternate;if(kt!==null){var Dt=kt.child;if(Dt!==null){kt.child=null;do{var kr=Dt.sibling;Dt.sibling=null,Dt=kr}while(Dt!==null)}}Ot=E}}if((E.subtreeFlags&2064)!==0&&I!==null)I.return=E,Ot=I;else e:for(;Ot!==null;){if(E=Ot,(E.flags&2048)!==0)switch(E.tag){case 0:case 11:case 15:$c(9,E,E.return)}var Re=E.sibling;if(Re!==null){Re.return=E.return,Ot=Re;break e}Ot=E.return}}var pe=r.current;for(Ot=pe;Ot!==null;){I=Ot;var Pe=I.child;if((I.subtreeFlags&2064)!==0&&Pe!==null)Pe.return=I,Ot=Pe;else e:for(I=pe;Ot!==null;){if(te=Ot,(te.flags&2048)!==0)try{switch(te.tag){case 0:case 11:case 15:Ac(9,te)}}catch(Pt){fr(te,te.return,Pt)}if(te===I){Ot=null;break e}var Ze=te.sibling;if(Ze!==null){Ze.return=te.return,Ot=Ze;break e}Ot=te.return}}if(Sn=x,yi(),yn&&typeof yn.onPostCommitFiberRoot=="function")try{yn.onPostCommitFiberRoot(gr,r)}catch{}m=!0}return m}finally{Fn=f,ho.transition=a}}return!1}function wy(r,a,f){a=Ts(f,a),a=oy(r,a,1),r=Ol(r,a,1),a=Vr(),r!==null&&(Qo(r,1,a),la(r,a))}function fr(r,a,f){if(r.tag===3)wy(r,r,f);else for(;a!==null;){if(a.tag===3){wy(a,r,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))){r=Ts(f,r),r=yh(a,r,1),a=Ol(a,r,1),r=Vr(),a!==null&&(Qo(a,1,r),la(a,r));break}}a=a.return}}function Kb(r,a,f){var m=r.pingCache;m!==null&&m.delete(a),a=Vr(),r.pingedLanes|=r.suspendedLanes&f,Wr===r&&(mo&f)===f&&(Ar===4||Ar===3&&(mo&130023424)===mo&&500>Xt()-Oh?Zi(r,0):Sd|=f),la(r,a)}function Ey(r,a){a===0&&((r.mode&1)===0?a=1:(a=Mn,Mn<<=1,(Mn&130023424)===0&&(Mn=4194304)));var f=Vr();r=ba(r,a),r!==null&&(Qo(r,a,f),la(r,f))}function Zb(r){var a=r.memoizedState,f=0;a!==null&&(f=a.retryLane),Ey(r,f)}function Ty(r,a){var f=0;switch(r.tag){case 13:var m=r.stateNode,x=r.memoizedState;x!==null&&(f=x.retryLane);break;case 19:m=r.stateNode;break;default:throw Error(i(314))}m!==null&&m.delete(a),Ey(r,f)}var Ry;Ry=function(r,a,f){if(r!==null)if(r.memoizedProps!==a.pendingProps||Hr.current)_r=!0;else{if((r.lanes&f)===0&&(a.flags&128)===0)return _r=!1,Tc(r,a,f);_r=(r.flags&131072)!==0}else _r=!1,cr&&(a.flags&1048576)!==0&&Qv(a,Wi,a.index);switch(a.lanes=0,a.tag){case 2:var m=a.type;_a(r,a),r=a.pendingProps;var x=Jo(a,xr.current);hr(a,f),x=$l(null,a,m,r,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,Dr(m)?(E=!0,Jr(a)):E=!1,a.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,uh(a),x.updater=pd,a.stateNode=x,x._reactInternals=a,xc(a,m,r,f),a=wc(null,a,m,!0,E,f)):(a.tag=0,cr&&E&&zf(a),po(null,a,x,f),a=a.child),a;case 16:m=a.elementType;e:{switch(_a(r,a),r=a.pendingProps,x=m._init,m=x(m._payload),a.type=m,x=a.tag=e1(m),r=Ja(m,r),x){case 0:a=iy(null,a,m,r,f);break e;case 1:a=ly(null,a,m,r,f);break e;case 11:a=oa(null,a,m,r,f);break e;case 14:a=Rs(null,a,m,Ja(m.type,r),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),iy(r,a,m,x,f);case 1:return m=a.type,x=a.pendingProps,x=a.elementType===m?x:Ja(m,x),ly(r,a,m,x,f);case 3:e:{if(du(a),r===null)throw Error(i(387));m=a.pendingProps,E=a.memoizedState,x=E.element,Zv(r,a),sc(a,m,null,f);var I=a.memoizedState;if(m=I.element,E.isDehydrated)if(E={element:m,isDehydrated:!1,cache:I.cache,pendingSuspenseBoundaries:I.pendingSuspenseBoundaries,transitions:I.transitions},a.updateQueue.baseState=E,a.memoizedState=E,a.flags&256){x=Ts(Error(i(423)),a),a=sy(r,a,m,f,x);break e}else if(m!==x){x=Ts(Error(i(424)),a),a=sy(r,a,m,f,x);break e}else for(ta=hi(a.stateNode.containerInfo.firstChild),ea=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=Ia(r,a,f);break e}po(r,a,m,f)}a=a.child}return a;case 5:return ey(a),r===null&&nh(a),m=a.type,x=a.pendingProps,E=r!==null?r.memoizedProps:null,I=x.children,Ff(m,x)?I=null:E!==null&&Ff(m,E)&&(a.flags|=32),bh(r,a),po(r,a,I,f),a.child;case 6:return r===null&&nh(a),null;case 13:return yd(r,a,f);case 4:return fh(a,a.stateNode.containerInfo),m=a.pendingProps,r===null?a.child=Rr(a,null,m,f):po(r,a,m,f),a.child;case 11:return m=a.type,x=a.pendingProps,x=a.elementType===m?x:Ja(m,x),oa(r,a,m,x,f);case 7:return po(r,a,a.pendingProps,f),a.child;case 8:return po(r,a,a.pendingProps.children,f),a.child;case 12:return po(r,a,a.pendingProps.children,f),a.child;case 10:e:{if(m=a.type._context,x=a.pendingProps,E=a.memoizedProps,I=x.value,_t(ga,m._currentValue),m._currentValue=I,E!==null)if(Xa(E.value,I)){if(E.children===x.children&&!Hr.current){a=Ia(r,a,f);break e}}else for(E=a.child,E!==null&&(E.return=a);E!==null;){var te=E.dependencies;if(te!==null){I=E.child;for(var le=te.firstContext;le!==null;){if(le.context===m){if(E.tag===1){le=qi(-1,f&-f),le.tag=2;var Le=E.updateQueue;if(Le!==null){Le=Le.shared;var Ke=Le.pending;Ke===null?le.next=le:(le.next=Ke.next,Ke.next=le),Le.pending=le}}E.lanes|=f,le=E.alternate,le!==null&&(le.lanes|=f),ih(E.return,f,a),te.lanes|=f;break}le=le.next}}else if(E.tag===10)I=E.type===a.type?null:E.child;else if(E.tag===18){if(I=E.return,I===null)throw Error(i(341));I.lanes|=f,te=I.alternate,te!==null&&(te.lanes|=f),ih(I,f,a),I=E.sibling}else I=E.child;if(I!==null)I.return=E;else for(I=E;I!==null;){if(I===a){I=null;break}if(E=I.sibling,E!==null){E.return=I.return,I=E;break}I=I.return}E=I}po(r,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,po(r,a,m,f),a.child;case 14:return m=a.type,x=Ja(m,a.pendingProps),x=Ja(m.type,x),Rs(r,a,m,x,f);case 15:return on(r,a,a.type,a.pendingProps,f);case 17:return m=a.type,x=a.pendingProps,x=a.elementType===m?x:Ja(m,x),_a(r,a),a.tag=1,Dr(m)?(r=!0,Jr(a)):r=!1,hr(a,f),hd(a,m,x),xc(a,m,x,f),wc(null,a,m,!0,r,f);case 19:return Si(r,a,f);case 22:return Cc(r,a,f)}throw Error(i(156,a.tag))};function Oy(r,a){return ar(r,a)}function Jb(r,a,f,m){this.tag=r,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(r,a,f,m){return new Jb(r,a,f,m)}function Nh(r){return r=r.prototype,!(!r||!r.isReactComponent)}function e1(r){if(typeof r=="function")return Nh(r)?1:0;if(r!=null){if(r=r.$$typeof,r===we)return 11;if(r===Ee)return 14}return 2}function Ml(r,a){var f=r.alternate;return f===null?(f=Va(r.tag,a,r.key,r.mode),f.elementType=r.elementType,f.type=r.type,f.stateNode=r.stateNode,f.alternate=r,r.alternate=f):(f.pendingProps=a,f.type=r.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=r.flags&14680064,f.childLanes=r.childLanes,f.lanes=r.lanes,f.child=r.child,f.memoizedProps=r.memoizedProps,f.memoizedState=r.memoizedState,f.updateQueue=r.updateQueue,a=r.dependencies,f.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},f.sibling=r.sibling,f.index=r.index,f.ref=r.ref,f}function Ic(r,a,f,m,x,E){var I=2;if(m=r,typeof r=="function")Nh(r)&&(I=1);else if(typeof r=="string")I=5;else e:switch(r){case X:return Ji(f.children,x,E,a);case fe:I=8,x|=8;break;case Ce:return r=Va(12,f,a,x|2),r.elementType=Ce,r.lanes=E,r;case ce:return r=Va(13,f,a,x),r.elementType=ce,r.lanes=E,r;case Se:return r=Va(19,f,a,x),r.elementType=Se,r.lanes=E,r;case De:return Ll(f,x,E,a);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case V:I=10;break e;case ve:I=9;break e;case we:I=11;break e;case Ee:I=14;break e;case ge:I=16,m=null;break e}throw Error(i(130,r==null?r:typeof r,""))}return a=Va(I,f,a,x),a.elementType=r,a.type=m,a.lanes=E,a}function Ji(r,a,f,m){return r=Va(7,r,m,a),r.lanes=f,r}function Ll(r,a,f,m){return r=Va(22,r,m,a),r.elementType=De,r.lanes=f,r.stateNode={isHidden:!1},r}function Dh(r,a,f){return r=Va(6,r,null,a),r.lanes=f,r}function Td(r,a,f){return a=Va(4,r.children!==null?r.children:[],r.key,a),a.lanes=f,a.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},a}function $y(r,a,f,m,x){this.tag=a,this.containerInfo=r,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 Rd(r,a,f,m,x,E,I,te,le){return r=new $y(r,a,f,te,le),a===1?(a=1,E===!0&&(a|=8)):a=0,E=Va(3,null,null,a),r.current=E,E.stateNode=r,E.memoizedState={element:m,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},uh(E),r}function t1(r,a,f){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:z,key:m==null?null:""+m,children:r,containerInfo:a,implementation:f}}function Mh(r){if(!r)return To;r=r._reactInternals;e:{if(At(r)!==r||r.tag!==1)throw Error(i(170));var a=r;do{switch(a.tag){case 3:a=a.stateNode.context;break e;case 1:if(Dr(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break e}}a=a.return}while(a!==null);throw Error(i(171))}if(r.tag===1){var f=r.type;if(Dr(f))return ic(r,f,a)}return a}function Ay(r,a,f,m,x,E,I,te,le){return r=Rd(f,m,!0,r,x,E,I,te,le),r.context=Mh(null),f=r.current,m=Vr(),x=Ti(f),E=qi(m,x),E.callback=a??null,Ol(f,E,x),r.current.lanes=x,Qo(r,x,m),la(r,m),r}function Od(r,a,f,m){var x=a.current,E=Vr(),I=Ti(x);return f=Mh(f),a.context===null?a.context=f:a.pendingContext=f,a=qi(E,I),a.payload={element:r},m=m===void 0?null:m,m!==null&&(a.callback=m),r=Ol(x,a,I),r!==null&&(Mo(r,x,I,E),Yf(r,x,I)),I}function $d(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}function Lh(r,a){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var f=r.retryLane;r.retryLane=f!==0&&f<a?f:a}}function Ad(r,a){Lh(r,a),(r=r.alternate)&&Lh(r,a)}function ky(){return null}var Ns=typeof reportError=="function"?reportError:function(r){console.error(r)};function _h(r){this._internalRoot=r}kd.prototype.render=_h.prototype.render=function(r){var a=this._internalRoot;if(a===null)throw Error(i(409));Od(r,a,null,null)},kd.prototype.unmount=_h.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var a=r.containerInfo;ks(function(){Od(null,r,null,null)}),a[Hi]=null}};function kd(r){this._internalRoot=r}kd.prototype.unstable_scheduleHydration=function(r){if(r){var a=rn();r={blockedOn:null,target:r,priority:a};for(var f=0;f<uo.length&&a!==0&&a<uo[f].priority;f++);uo.splice(f,0,r),f===0&&Pp(r)}};function Ih(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function Pd(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function Py(){}function n1(r,a,f,m,x){if(x){if(typeof m=="function"){var E=m;m=function(){var Le=$d(I);E.call(Le)}}var I=Ay(a,m,r,0,null,!1,!1,"",Py);return r._reactRootContainer=I,r[Hi]=I.current,nu(r.nodeType===8?r.parentNode:r),ks(),I}for(;x=r.lastChild;)r.removeChild(x);if(typeof m=="function"){var te=m;m=function(){var Le=$d(le);te.call(Le)}}var le=Rd(r,0,!1,null,null,!1,!1,"",Py);return r._reactRootContainer=le,r[Hi]=le.current,nu(r.nodeType===8?r.parentNode:r),ks(function(){Od(a,le,f,m)}),le}function Fc(r,a,f,m,x){var E=f._reactRootContainer;if(E){var I=E;if(typeof x=="function"){var te=x;x=function(){var le=$d(I);te.call(le)}}Od(a,I,r,x)}else I=n1(f,a,r,x,m);return $d(I)}Vn=function(r){switch(r.tag){case 3:var a=r.stateNode;if(a.current.memoizedState.isDehydrated){var f=Tr(a.pendingLanes);f!==0&&(vf(a,f|1),la(a,Xt()),(Sn&6)===0&&(vu=Xt()+500,yi()))}break;case 13:ks(function(){var m=ba(r,1);if(m!==null){var x=Vr();Mo(m,r,1,x)}}),Ad(r,1)}},Op=function(r){if(r.tag===13){var a=ba(r,134217728);if(a!==null){var f=Vr();Mo(a,r,134217728,f)}Ad(r,134217728)}},$p=function(r){if(r.tag===13){var a=Ti(r),f=ba(r,a);if(f!==null){var m=Vr();Mo(f,r,a,m)}Ad(r,a)}},rn=function(){return Fn},Ap=function(r,a){var f=Fn;try{return Fn=r,a()}finally{Fn=f}},J=function(r,a,f){switch(a){case"input":if(It(r,f),a=f.name,f.type==="radio"&&a!=null){for(f=r;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!==r&&m.form===r.form){var x=pr(m);if(!x)throw Error(i(90));ee(m),It(m,x)}}}break;case"textarea":mn(r,f);break;case"select":a=f.value,a!=null&&Ct(r,!!f.multiple,a,!1)}},ie=Ah,_e=ks;var r1={usingClientEntryPoint:!1,Events:[Ft,Ka,pr,q,ue,Ah]},Vc={findFiberByHostInstance:ds,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Ny={bundleType:Vc.bundleType,version:Vc.version,rendererPackageName:Vc.rendererPackageName,rendererConfig:Vc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:_.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=wr(r),r===null?null:r.stateNode},findFiberByHostInstance:Vc.findFiberByHostInstance||ky,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 _l=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!_l.isDisabled&&_l.supportsFiber)try{gr=_l.inject(Ny),yn=_l}catch{}}return Ga.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=r1,Ga.createPortal=function(r,a){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ih(a))throw Error(i(200));return t1(r,a,null,f)},Ga.createRoot=function(r,a){if(!Ih(r))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=Rd(r,1,!1,null,null,f,!1,m,x),r[Hi]=a.current,nu(r.nodeType===8?r.parentNode:r),new _h(a)},Ga.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var a=r._reactInternals;if(a===void 0)throw typeof r.render=="function"?Error(i(188)):(r=Object.keys(r).join(","),Error(i(268,r)));return r=wr(a),r=r===null?null:r.stateNode,r},Ga.flushSync=function(r){return ks(r)},Ga.hydrate=function(r,a,f){if(!Pd(a))throw Error(i(200));return Fc(null,r,a,!0,f)},Ga.hydrateRoot=function(r,a,f){if(!Ih(r))throw Error(i(405));var m=f!=null&&f.hydratedSources||null,x=!1,E="",I=Ns;if(f!=null&&(f.unstable_strictMode===!0&&(x=!0),f.identifierPrefix!==void 0&&(E=f.identifierPrefix),f.onRecoverableError!==void 0&&(I=f.onRecoverableError)),a=Ay(a,null,r,1,f??null,x,!1,E,I),r[Hi]=a.current,nu(r),m)for(r=0;r<m.length;r++)f=m[r],x=f._getVersion,x=x(f._source),a.mutableSourceEagerHydrationData==null?a.mutableSourceEagerHydrationData=[f,x]:a.mutableSourceEagerHydrationData.push(f,x);return new kd(a)},Ga.render=function(r,a,f){if(!Pd(a))throw Error(i(200));return Fc(null,r,a,!1,f)},Ga.unmountComponentAtNode=function(r){if(!Pd(r))throw Error(i(40));return r._reactRootContainer?(ks(function(){Fc(null,null,r,!1,function(){r._reactRootContainer=null,r[Hi]=null})}),!0):!1},Ga.unstable_batchedUpdates=Ah,Ga.unstable_renderSubtreeIntoContainer=function(r,a,f,m){if(!Pd(f))throw Error(i(200));if(r==null||r._reactInternals===void 0)throw Error(i(38));return Fc(r,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 S$;function P4(){return S$||(S$=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=Xe,o=oA(),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,k=5,M=6,P=7,U=8,G=9,Y=10,A=11,_=12,N=13,z=14,X=15,fe=16,Ce=17,V=18,ve=19,we=21,ue=22,Se=23,Ee=24,ge=25,De=!0,ke=!1,ce=!1,oe=!1,Te=!1,B=!0,W=!0,Oe=!0,He=!0,Je=new Set,We={},Z={};function re(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();Z[l]=t,t==="onDoubleClick"&&(Z.ondblclick=t)}for(var u=0;u<n.length;u++)Je.add(n[u])}var be=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ee=Object.prototype.hasOwnProperty;function Ne(t){{var n=typeof Symbol=="function"&&Symbol.toStringTag,l=n&&t[Symbol.toStringTag]||t.constructor.name||"Object";return l}}function ye(t){try{return Fe(t),!1}catch{return!0}}function Fe(t){return""+t}function at(t,n){if(ye(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,Ne(t)),Fe(t)}function It(t){if(ye(t))return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ne(t)),Fe(t)}function jt(t,n){if(ye(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,Ne(t)),Fe(t)}function vt(t,n){if(ye(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,Ne(t)),Fe(t)}function gt(t){if(ye(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.",Ne(t)),Fe(t)}function Ct(t){if(ye(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.",Ne(t)),Fe(t)}var lt=0,sn=1,mn=2,dn=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",rt=new RegExp("^["+or+"]["+it+"]*$"),Be={},cn={};function Rn(t){return ee.call(cn,t)?!0:ee.call(Be,t)?!1:rt.test(t)?(cn[t]=!0,!0):(Be[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 dn:return!n;case un:return n===!1;case Tn:return isNaN(n);case rr:return isNaN(n)||n<1}return!1}function Ye(t){return J.hasOwnProperty(t)?J[t]:null}function j(t,n,l,u,h,g,C){this.acceptsBooleans=n===mn||n===dn||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={},ae=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ae.forEach(function(t){J[t]=new j(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 j(n,sn,!1,l,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){J[t]=new j(t,mn,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){J[t]=new j(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 j(t,dn,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){J[t]=new j(t,dn,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){J[t]=new j(t,un,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){J[t]=new j(t,rr,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){J[t]=new j(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 j(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 j(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 j(n,sn,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){J[t]=new j(t,sn,!1,t.toLowerCase(),null,!1,!1)});var q="xlinkHref";J[q]=new j("xlinkHref",sn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){J[t]=new j(t,sn,!1,t.toLowerCase(),null,!0,!0)});var se=/^[\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,ie=!1;function _e(t){!ie&&se.test(t)&&(ie=!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{at(l,n),u.sanitizeURL&&_e(""+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===dn)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 at(l,n),h===""+l?l:h}}function $t(t,n,l,u){var h=Ye(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):(at(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===dn?!1:""}else t[O]=l;return}var H=h.attributeName,Q=h.attributeNamespace;if(l===null)t.removeAttribute(H);else{var he=h.type,de;he===dn||he===un&&l===!0?de="":(at(l,H),de=""+l,h.sanitizeURL&&_e(de.toString())),Q?t.setAttributeNS(Q,H,de):t.setAttribute(H,de)}}}var fn=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"),ne=Symbol.for("react.context"),Ge=Symbol.for("react.forward_ref"),ot=Symbol.for("react.suspense"),Lt=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,fi,Ht,Bn,gr,yn,lo;function Er(){}Er.__reactDisabledLog=!0;function Eo(){{if(Qa===0){ci=console.log,fi=console.info,Ht=console.warn,Bn=console.error,gr=console.group,yn=console.groupCollapsed,lo=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 Ii(){{if(Qa--,Qa===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:nn({},t,{value:ci}),info:nn({},t,{value:fi}),warn:nn({},t,{value:Ht}),error:nn({},t,{value:Bn}),group:nn({},t,{value:gr}),groupCollapsed:nn({},t,{value:yn}),groupEnd:nn({},t,{value:lo})})}Qa<0&&d("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var so=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`
|
|
2714
|
+
*/var S$;function P4(){return S$||(S$=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=Xe,o=oA(),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,k=5,M=6,P=7,U=8,G=9,W=10,A=11,_=12,N=13,z=14,X=15,fe=16,Ce=17,V=18,ve=19,we=21,ce=22,Se=23,Ee=24,ge=25,De=!0,ke=!1,se=!1,oe=!1,Te=!1,B=!0,Y=!0,Oe=!0,He=!0,Je=new Set,We={},Z={};function re(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();Z[l]=t,t==="onDoubleClick"&&(Z.ondblclick=t)}for(var u=0;u<n.length;u++)Je.add(n[u])}var be=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ee=Object.prototype.hasOwnProperty;function Ne(t){{var n=typeof Symbol=="function"&&Symbol.toStringTag,l=n&&t[Symbol.toStringTag]||t.constructor.name||"Object";return l}}function ye(t){try{return Fe(t),!1}catch{return!0}}function Fe(t){return""+t}function at(t,n){if(ye(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,Ne(t)),Fe(t)}function It(t){if(ye(t))return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ne(t)),Fe(t)}function jt(t,n){if(ye(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,Ne(t)),Fe(t)}function vt(t,n){if(ye(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,Ne(t)),Fe(t)}function gt(t){if(ye(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.",Ne(t)),Fe(t)}function Ct(t){if(ye(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.",Ne(t)),Fe(t)}var lt=0,sn=1,mn=2,dn=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",rt=new RegExp("^["+or+"]["+it+"]*$"),Be={},cn={};function Rn(t){return ee.call(cn,t)?!0:ee.call(Be,t)?!1:rt.test(t)?(cn[t]=!0,!0):(Be[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 dn:return!n;case un:return n===!1;case Tn:return isNaN(n);case rr:return isNaN(n)||n<1}return!1}function Ye(t){return J.hasOwnProperty(t)?J[t]:null}function j(t,n,l,u,h,g,C){this.acceptsBooleans=n===mn||n===dn||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={},ae=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ae.forEach(function(t){J[t]=new j(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 j(n,sn,!1,l,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){J[t]=new j(t,mn,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){J[t]=new j(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 j(t,dn,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){J[t]=new j(t,dn,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){J[t]=new j(t,un,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){J[t]=new j(t,rr,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){J[t]=new j(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 j(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 j(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 j(n,sn,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){J[t]=new j(t,sn,!1,t.toLowerCase(),null,!1,!1)});var q="xlinkHref";J[q]=new j("xlinkHref",sn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){J[t]=new j(t,sn,!1,t.toLowerCase(),null,!0,!0)});var ue=/^[\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,ie=!1;function _e(t){!ie&&ue.test(t)&&(ie=!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{at(l,n),u.sanitizeURL&&_e(""+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===dn)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 at(l,n),h===""+l?l:h}}function $t(t,n,l,u){var h=Ye(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):(at(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===dn?!1:""}else t[O]=l;return}var H=h.attributeName,Q=h.attributeNamespace;if(l===null)t.removeAttribute(H);else{var he=h.type,de;he===dn||he===un&&l===!0?de="":(at(l,H),de=""+l,h.sanitizeURL&&_e(de.toString())),Q?t.setAttributeNS(Q,H,de):t.setAttribute(H,de)}}}var fn=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"),ne=Symbol.for("react.context"),Ge=Symbol.for("react.forward_ref"),ot=Symbol.for("react.suspense"),Lt=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,fi,Ht,Bn,gr,yn,lo;function Er(){}Er.__reactDisabledLog=!0;function Eo(){{if(Qa===0){ci=console.log,fi=console.info,Ht=console.warn,Bn=console.error,gr=console.group,yn=console.groupCollapsed,lo=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 Ii(){{if(Qa--,Qa===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:nn({},t,{value:ci}),info:nn({},t,{value:fi}),warn:nn({},t,{value:Ht}),error:nn({},t,{value:Bn}),group:nn({},t,{value:gr}),groupCollapsed:nn({},t,{value:yn}),groupEnd:nn({},t,{value:lo})})}Qa<0&&d("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var so=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
2715
|
`+Zr+t}}var Tr=!1,di;{var zr=typeof WeakMap=="function"?WeakMap:Map;di=new zr}function pl(t,n){if(!t||Tr)return"";{var l=di.get(t);if(l!==void 0)return l}var u;Tr=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=so.current,so.current=null,Eo();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(Ie){u=Ie}Reflect.construct(t,[],C)}else{try{C.call()}catch(Ie){u=Ie}t.call(C.prototype)}}else{try{throw Error()}catch(Ie){u=Ie}t()}}catch(Ie){if(Ie&&u&&typeof Ie.stack=="string"){for(var O=Ie.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 he=`
|
|
2718
2718
|
`+O[H].replace(" at new "," at ");return t.displayName&&he.includes("<anonymous>")&&(he=he.replace("<anonymous>",t.displayName)),typeof t=="function"&&di.set(t,he),he}while(H>=1&&Q>=0);break}}}finally{Tr=!1,so.current=g,Ii(),Error.prepareStackTrace=h}var de=t?t.displayName||t.name:"",Me=de?Mn(de):"";return typeof t=="function"&&di.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 Qo(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 ot:return Mn("Suspense");case Lt:return Mn("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case Ge:return qo(t.render);case At:return Qo(t.type,n,l);case Wt:{var u=t,h=u._payload,g=u._init;try{return Qo(g(h),n,l)}catch{}}}return""}function Tb(t){switch(t._debugOwner&&t._debugOwner.type,t._debugSource,t.tag){case k:return Mn(t.type);case fe:return Mn("Lazy");case N:return Mn("Suspense");case ve:return Mn("SuspenseList");case b:case T:case X:return qo(t.type);case A:return qo(t.type.render);case S:return Fi(t.type);default:return""}}function vf(t){try{var n="",l=t;do n+=Tb(l),l=l.return;while(l);return n}catch(u){return`
|
|
2719
2719
|
Error generating stack: `+u.message+`
|
|
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 Rp(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 ot:return"Suspense";case Lt:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case ne:var n=t;return Rp(n)+".Consumer";case an:var l=t;return Rp(l._context)+".Provider";case Ge: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 Op(t,n,l){var u=n.displayName||n.name||"";return t.displayName||(u!==""?l+"("+u+")":l)}function $p(t){return t.displayName||"Context"}function rn(t){var n=t.tag,l=t.type;switch(n){case Ee:return"Cache";case G:var u=l;return $p(u)+".Consumer";case
|
|
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 Rp(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 ot:return"Suspense";case Lt:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case ne:var n=t;return Rp(n)+".Consumer";case an:var l=t;return Rp(l._context)+".Provider";case Ge: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 Op(t,n,l){var u=n.displayName||n.name||"";return t.displayName||(u!==""?l+"("+u+")":l)}function $p(t){return t.displayName||"Context"}function rn(t){var n=t.tag,l=t.type;switch(n){case Ee:return"Cache";case G:var u=l;return $p(u)+".Consumer";case W:var h=l;return $p(h._context)+".Provider";case V:return"DehydratedFragment";case A:return Op(l,l.render,"ForwardRef");case P:return"Fragment";case k:return l;case R:return"Portal";case w:return"Root";case M:return"Text";case fe:return Vn(l);case U:return l===pn?"StrictMode":"Mode";case ce:return"Offscreen";case _:return"Profiler";case we:return"Scope";case N:return"Suspense";case ve:return"SuspenseList";case ge:return"TracingMarker";case S:case b:case Ce:case T:case z:case X:if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;break}return null}var Ap=i.ReactDebugCurrentFrame,ko=null,ml=!1;function $a(){{if(ko===null)return null;var t=ko._debugOwner;if(t!==null&&typeof t<"u")return rn(t)}return null}function vl(){return ko===null?"":vf(ko)}function br(){Ap.getCurrentStack=null,ko=null,ml=!1}function ir(t){Ap.getCurrentStack=t===null?null:vl,ko=t,ml=!1}function zu(){return ko}function uo(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 Ct(t),t;default:return""}}var Hu={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function kp(t,n){Hu[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 Pp(t){var n=t.type,l=t.nodeName;return l&&l.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Gu(t){return t._valueTracker}function vv(t){t._valueTracker=null}function Rb(t){var n="";return t&&(Pp(t)?n=t.checked?"true":"false":n=t.value),n}function Wu(t){var n=Pp(t)?"checked":"value",l=Object.getOwnPropertyDescriptor(t.constructor.prototype,n);Ct(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){Ct(O),u=""+O,g.call(this,O)}}),Object.defineProperty(t,n,{enumerable:l.enumerable});var C={getValue:function(){return u},setValue:function(O){Ct(O),u=""+O},stopTracking:function(){vv(t),delete t[n]}};return C}}function yl(t){Gu(t)||(t._valueTracker=Wu(t))}function rs(t){if(!t)return!1;var n=Gu(t);if(!n)return!0;var l=n.getValue(),u=Rb(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 yv=!1,gv=!1,yf=!1,Yu=!1;function gf(t){var n=t.type==="checkbox"||t.type==="radio";return n?t.checked!=null:t.value!=null}function bf(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){kp("input",n),n.checked!==void 0&&n.defaultChecked!==void 0&&!gv&&(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),gv=!0),n.value!==void 0&&n.defaultValue!==void 0&&!yv&&(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),yv=!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:gf(n)}}function xf(t,n){var l=t,u=n.checked;u!=null&&$t(l,"checked",u,!1)}function Qs(t,n){var l=t;{var u=gf(n);!l._wrapperState.controlled&&u&&!Yu&&(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"),Yu=!0),l._wrapperState.controlled&&!u&&!yf&&(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"),yf=!0)}xf(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")?wf(l,n.type,h):n.hasOwnProperty("defaultValue")&&wf(l,n.type,Vi(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(l.defaultChecked=!!n.defaultChecked)}function Np(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 Sf(t,n){var l=t;Qs(l,n),Cf(l,n)}function Cf(t,n){var l=n.name;if(n.type==="radio"&&l!=null){for(var u=t;u.parentNode;)u=u.parentNode;at(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=Xy(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 wf(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 Xo=!1,as=!1,Ef=!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&&(Ef||(Ef=!0,d("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),n.selected!=null&&!Xo&&(d("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Xo=!0)}function Ob(t,n){n.value!=null&&t.setAttribute("value",Aa(Vi(n.value)))}var Dp=Array.isArray;function co(t){return Dp(t)}var is;is=!1;function qu(){var t=$a();return t?`
|
|
2721
2721
|
|
|
2722
|
-
Check the render method of \``+t+"`.":""}var Mp=["value","defaultValue"];function $b(t){{kp("select",t);for(var n=0;n<Mp.length;n++){var l=Mp[n];if(t[l]!=null){var u=co(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)),he=null,de=0;de<h.length;de++){if(h[de].value===Q){h[de].selected=!0,u&&(h[de].defaultSelected=!0);return}he===null&&!h[de].disabled&&(he=h[de])}he!==null&&(he.selected=!0)}}function Lp(t,n){return nn({},n,{value:void 0})}function Tf(t,n){var l=t;$b(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 Ab(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 kb(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 Pb(t,n){var l=t,u=n.value;u!=null&&Ks(l,!!n.multiple,u,!1)}var bv=!1;function _p(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 Ip(t,n){var l=t;kp("textarea",n),n.value!==void 0&&n.defaultValue!==void 0&&!bv&&(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"),bv=!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(co(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 xv(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 Sv(t,n){var l=t,u=l.textContent;u===l._wrapperState.initialValue&&u!==""&&u!==null&&(l.value=u)}function Nb(t,n){xv(t,n)}var Ui="http://www.w3.org/1999/xhtml",Fp="http://www.w3.org/1998/Math/MathML",Vp="http://www.w3.org/2000/svg";function jp(t){switch(t){case"svg":return Vp;case"math":return Fp;default:return Ui}}function Up(t,n){return t==null||t===Ui?jp(n):t===Vp&&n==="foreignObject"?Ui:t}var Cv=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,l,u,h){MSApp.execUnsafeLocalFunction(function(){return t(n,l,u,h)})}:t},Rf,wv=Cv(function(t,n){if(t.namespaceURI===Vp&&!("innerHTML"in t)){Rf=Rf||document.createElement("div"),Rf.innerHTML="<svg>"+n.valueOf().toString()+"</svg>";for(var l=Rf.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;l.firstChild;)t.appendChild(l.firstChild);return}t.innerHTML=n}),Ko=1,Bi=3,Nr=8,zi=9,Bp=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},Qu={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"]},Xu={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 Ev(t,n){return t+n.charAt(0).toUpperCase()+n.substring(1)}var Tv=["Webkit","ms","Moz","O"];Object.keys(Xu).forEach(function(t){Tv.forEach(function(n){Xu[Ev(n,t)]=Xu[t]})});function Of(t,n,l){var u=n==null||typeof n=="boolean"||n==="";return u?"":!l&&typeof n=="number"&&n!==0&&!(Xu.hasOwnProperty(t)&&Xu[t])?n+"px":(vt(n,t),(""+n).trim())}var Rv=/([A-Z])/g,Ov=/^ms-/;function Js(t){return t.replace(Rv,"-$1").toLowerCase().replace(Ov,"-ms-")}var $v=function(){};{var Db=/^(?:webkit|moz|o)[A-Z]/,Mb=/^-ms-/,Av=/-(.)/g,zp=/;\s*$/,pi={},ls={},kv=!1,Ku=!1,Lb=function(t){return t.replace(Av,function(n,l){return l.toUpperCase()})},Pv=function(t){pi.hasOwnProperty(t)&&pi[t]||(pi[t]=!0,d("Unsupported style property %s. Did you mean %s?",t,Lb(t.replace(Mb,"ms-"))))},Hp=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)))},Gp=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(zp,"")))},Nv=function(t,n){kv||(kv=!0,d("`NaN` is an invalid value for the `%s` css style property.",t))},Dv=function(t,n){Ku||(Ku=!0,d("`Infinity` is an invalid value for the `%s` css style property.",t))};$v=function(t,n){t.indexOf("-")>-1?Pv(t):Db.test(t)?Hp(t):zp.test(n)&&Gp(t,n),typeof n=="number"&&(isNaN(n)?Nv(t,n):isFinite(n)||Dv(t,n))}}var Mv=$v;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+=Of(u,h,g),l=";"}}return n||null}}function Lv(t,n){var l=t.style;for(var u in n)if(n.hasOwnProperty(u)){var h=u.indexOf("--")===0;h||Mv(u,n[u]);var g=Of(u,n[u],h);u==="float"&&(u="cssFloat"),h?l.setProperty(u,g):l[u]=g}}function Ib(t){return t==null||typeof t=="boolean"||t===""}function _v(t){var n={};for(var l in t)for(var u=Qu[l]||[l],h=0;h<u.length;h++)n[u[h]]=l;return n}function Fb(t,n){{if(!n)return;var l=_v(t),u=_v(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.",Ib(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},Zu=nn({menuitem:!0},Xa),Iv="__html";function $f(t,n){if(n){if(Zu[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"||!(Iv 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 Ju={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"},Af={"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={},Vb=new RegExp("^(aria)-["+it+"]*$"),tu=new RegExp("^(aria)[A-Z]["+it+"]*$");function Wp(t,n){{if(ee.call(eu,n)&&eu[n])return!0;if(tu.test(n)){var l="aria-"+n.slice(4).toLowerCase(),u=Af.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(Vb.test(n)){var h=n.toLowerCase(),g=Af.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 ec(t,n){{var l=[];for(var u in n){var h=Wp(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 Yp(t,n){gl(t,n)||ec(t,n)}var qp=!1;function kf(t,n){{if(t!=="input"&&t!=="textarea"&&t!=="select")return;n!=null&&n.value===null&&!qp&&(qp=!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 fo={},Qp=/^on./,Pf=/^on[^A-Z]/,Fv=new RegExp("^(aria)-["+it+"]*$"),Vv=new RegExp("^(aria)[A-Z]["+it+"]*$");ss=function(t,n,l,u){if(ee.call(fo,n)&&fo[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."),fo[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),fo[n]=!0,!0;if(Qp.test(n))return d("Unknown event handler property `%s`. It will be ignored.",n),fo[n]=!0,!0}else if(Qp.test(n))return Pf.test(n)&&d("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",n),fo[n]=!0,!0;if(Fv.test(n)||Vv.test(n))return!0;if(h==="innerhtml")return d("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),fo[n]=!0,!0;if(h==="aria")return d("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),fo[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),fo[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),fo[n]=!0,!0;var D=Ye(n),H=D!==null&&D.type===lt;if(Ju.hasOwnProperty(h)){var Q=Ju[h];if(Q!==n)return d("Invalid DOM property `%s`. Did you mean `%s`?",n,Q),fo[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),fo[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),fo[n]=!0,!0):H?!0:On(n,l,D,!1)?(fo[n]=!0,!1):((l==="false"||l==="true")&&D!==null&&D.type===dn&&(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),fo[n]=!0),!0)}}var jv=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 Uv(t,n,l){gl(t,n)||jv(t,n,l)}var Xp=1,Nf=2,ka=4,Kp=Xp|Nf|ka,us=null;function jb(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 Ub(){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 tc(t){return t===us}function Zp(t){var n=t.target||t.srcElement||window;return n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===Bi?n.parentNode:n}var Df=null,cs=null,_n=null;function Mf(t){var n=Cu(t);if(n){if(typeof Df!="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=Xy(l);Df(n.stateNode,n.type,u)}}}function Lf(t){Df=t}function nu(t){cs?_n?_n.push(t):_n=[t]:cs=t}function Bv(){return cs!==null||_n!==null}function _f(){if(cs){var t=cs,n=_n;if(cs=null,_n=null,Mf(t),n)for(var l=0;l<n.length;l++)Mf(n[l])}}var ru=function(t,n){return t(n)},nc=function(){},bl=!1;function zv(){var t=Bv();t&&(nc(),_f())}function Hv(t,n,l){if(bl)return t(n,l);bl=!0;try{return ru(t,n,l)}finally{bl=!1,zv()}}function Bb(t,n,l){ru=t,nc=l}function Gv(t){return t==="button"||t==="input"||t==="select"||t==="textarea"}function If(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&&Gv(n));default:return!1}}function xl(t,n){var l=t.stateNode;if(l===null)return null;var u=Xy(l);if(u===null)return null;var h=u[n];if(If(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 rc=!1;if(be)try{var fs={};Object.defineProperty(fs,"passive",{get:function(){rc=!0}}),window.addEventListener("test",fs,fs),window.removeEventListener("test",fs,fs)}catch{rc=!1}function Ff(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 Vf=Ff;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Jp=document.createElement("react");Vf=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"),he=!1,de=!0,Me=window.event,Ie=Object.getOwnPropertyDescriptor(window,"event");function Ve(){Jp.removeEventListener(je,Ut,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Me)}var xt=Array.prototype.slice.call(arguments,3);function Ut(){he=!0,Ve(),l.apply(u,xt),de=!1}var Mt,wn=!1,gn=!1;function $e(Ae){if(Mt=Ae.error,wn=!0,Mt===null&&Ae.colno===0&&Ae.lineno===0&&(gn=!0),Ae.defaultPrevented&&Mt!=null&&typeof Mt=="object")try{Mt._suppressLogging=!0}catch{}}var je="react-"+(n||"invokeguardedcallback");if(window.addEventListener("error",$e),Jp.addEventListener(je,Ut,!1),Q.initEvent(je,!1,!1),Jp.dispatchEvent(Q),Ie&&Object.defineProperty(window,"event",Ie),he&&de&&(wn?gn&&(Mt=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.")):Mt=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(Mt)),window.removeEventListener("error",$e),!he)return Ve(),Ff.apply(this,arguments)}}var Wv=Vf,ou=!1,jf=null,au=!1,hi=null,Yv={onError:function(t){ou=!0,jf=t}};function Sl(t,n,l,u,h,g,C,O,D){ou=!1,jf=null,Wv.apply(Yv,arguments)}function mi(t,n,l,u,h,g,C,O,D){if(Sl.apply(this,arguments),ou){var H=ac();au||(au=!0,hi=H)}}function oc(){if(au){var t=hi;throw au=!1,hi=null,t}}function Hi(){return ou}function ac(){if(ou){var t=jf;return ou=!1,jf=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 zb(t){return t._reactInternals!==void 0}function ds(t,n){t._reactInternals=n}var Ft=0,Ka=1,pr=2,xn=4,Pa=16,Na=32,er=64,_t=128,To=256,xr=512,Hr=1024,Zo=2048,Jo=4096,Dr=8192,lu=16384,qv=32767,ic=32768,Jr=65536,Uf=131072,vi=1048576,su=2097152,Gi=4194304,Bf=8388608,Cl=16777216,yi=33554432,wl=xn|Hr|0,El=pr|xn|Pa|Na|xr|Jo|Dr,Tl=xn|er|xr|Dr,Wi=Zo|Pa,Mr=Gi|Bf|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|Jo))!==Ft&&(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 Qv(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 zf(t){if(ya(t)!==t)throw new Error("Unable to find node on an unmounted component.")}function Hf(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 zf(g),t;if(D===h)return zf(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 ea(t){var n=Hf(t);return n!==null?ta(n):null}function ta(t){if(t.tag===k||t.tag===M)return t;for(var n=t.child;n!==null;){var l=ta(n);if(l!==null)return l;n=n.sibling}return null}function cr(t){var n=Hf(t);return n!==null?Ma(n):null}function Ma(t){if(t.tag===k||t.tag===M)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 eh=o.unstable_scheduleCallback,Xv=o.unstable_cancelCallback,th=o.unstable_shouldYield,nh=o.unstable_requestPaint,Gr=o.unstable_now,Gf=o.unstable_getCurrentPriorityLevel,lc=o.unstable_ImmediatePriority,Rl=o.unstable_UserBlockingPriority,Yi=o.unstable_NormalPriority,Hb=o.unstable_LowPriority,hs=o.unstable_IdlePriority,Wf=o.unstable_yieldValue,Kv=o.unstable_setDisableYieldValue,ms=null,Rr=null,bt=null,ga=!1,na=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 rh(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 oh(t,n){if(Rr&&typeof Rr.onCommitFiberRoot=="function")try{var l=(t.current.flags&_t)===_t;if(Oe){var u;switch(n){case Po:u=lc;break;case Si:u=Rl;break;case _a:u=Yi;break;case Ia: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 ah(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 ih(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 Wf=="function"&&(Kv(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=ty(n);t.set(n,u),n*=2}return t}}function lh(t){bt!==null&&typeof bt.markCommitStarted=="function"&&bt.markCommitStarted(t)}function sh(){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 uh(t){bt!==null&&typeof bt.markComponentPassiveEffectMountStarted=="function"&&bt.markComponentPassiveEffectMountStarted(t)}function Zv(){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 Yf(t){bt!==null&&typeof bt.markComponentLayoutEffectMountStarted=="function"&&bt.markComponentLayoutEffectMountStarted(t)}function Jv(){bt!==null&&typeof bt.markComponentLayoutEffectMountStopped=="function"&&bt.markComponentLayoutEffectMountStopped()}function sc(t){bt!==null&&typeof bt.markComponentLayoutEffectUnmountStarted=="function"&&bt.markComponentLayoutEffectUnmountStarted(t)}function ch(){bt!==null&&typeof bt.markComponentLayoutEffectUnmountStopped=="function"&&bt.markComponentLayoutEffectUnmountStopped()}function uc(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 cc(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 fh(){bt!==null&&typeof bt.markPassiveEffectsStopped=="function"&&bt.markPassiveEffectsStopped()}function gs(t){bt!==null&&typeof bt.markRenderStarted=="function"&&bt.markRenderStarted(t)}function ey(){bt!==null&&typeof bt.markRenderYielded=="function"&&bt.markRenderYielded()}function qf(){bt!==null&&typeof bt.markRenderStopped=="function"&&bt.markRenderStopped()}function mr(t){bt!==null&&typeof bt.markRenderScheduled=="function"&&bt.markRenderScheduled(t)}function Qf(t,n){bt!==null&&typeof bt.markForceUpdateScheduled=="function"&&bt.markForceUpdateScheduled(t,n)}function dc(t,n){bt!==null&&typeof bt.markStateUpdateScheduled=="function"&&bt.markStateUpdateScheduled(t,n)}var Vt=0,hn=1,$n=2,zn=8,An=16,Lr=Math.clz32?Math.clz32:pc,eo=Math.log,Xf=Math.LN2;function pc(t){var n=t>>>0;return n===0?32:31-(eo(n)/Xf|0)|0}var bs=31,qe=0,En=0,qt=1,$l=2,Za=4,Ro=8,Or=16,Qi=32,Al=4194240,xs=64,Kf=128,Zf=256,Jf=512,ed=1024,td=2048,nd=4096,rd=8192,od=16384,Ss=32768,ad=65536,cu=131072,fu=262144,id=524288,hc=1048576,ld=2097152,mc=130023424,Cs=4194304,sd=8388608,vc=16777216,ud=33554432,cd=67108864,dh=Cs,yc=134217728,ph=268435455,gc=268435456,ws=536870912,ra=1073741824;function ty(t){{if(t&qt)return"Sync";if(t&$l)return"InputContinuousHydration";if(t&Za)return"InputContinuous";if(t&Ro)return"DefaultHydration";if(t&Or)return"Default";if(t&Qi)return"TransitionHydration";if(t&Al)return"Transition";if(t&mc)return"Retry";if(t&yc)return"SelectiveHydration";if(t&gc)return"IdleHydration";if(t&ws)return"Idle";if(t&ra)return"Offscreen"}}var Kn=-1,Es=xs,fd=Cs;function bc(t){switch(kl(t)){case qt:return qt;case $l:return $l;case Za:return Za;case Ro:return Ro;case Or:return Or;case Qi:return Qi;case xs:case Kf:case Zf:case Jf:case ed:case td:case nd:case rd:case od:case Ss:case ad:case cu:case fu:case id:case hc:case ld:return t&Al;case Cs:case sd:case vc:case ud:case cd:return t&mc;case yc:return yc;case gc:return gc;case ws:return ws;case ra:return ra;default:return d("Should have found matching lanes. This is a bug in React."),t}}function dd(t,n){var l=t.pendingLanes;if(l===qe)return qe;var u=qe,h=t.suspendedLanes,g=t.pingedLanes,C=l&ph;if(C!==qe){var O=C&~h;if(O!==qe)u=bc(O);else{var D=C&g;D!==qe&&(u=bc(D))}}else{var H=l&~h;H!==qe?u=bc(H):g!==qe&&(u=bc(g))}if(u===qe)return qe;if(n!==qe&&n!==u&&(n&h)===qe){var Q=kl(u),he=kl(n);if(Q>=he||Q===Or&&(he&Al)!==qe)return n}(u&Za)!==qe&&(u|=l&Or);var de=t.entangledLanes;if(de!==qe)for(var Me=t.entanglements,Ie=u&de;Ie>0;){var Ve=_r(Ie),xt=1<<Ve;u|=Me[Ve],Ie&=~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 hh(t,n){switch(t){case qt:case $l:case Za:return n+250;case Ro:case Or:case Qi:case xs:case Kf:case Zf:case Jf:case ed:case td:case nd:case rd:case od:case Ss:case ad:case cu:case fu:case id:case hc:case ld:return n+5e3;case Cs:case sd:case vc:case ud:case cd:return Kn;case yc:case gc:case ws:case ra:return Kn;default:return d("Should have found matching lanes. This is a bug in React."),Kn}}function pd(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)===qe||(D&h)!==qe)&&(g[O]=hh(D,n)):H<=n&&(t.expiredLanes|=D),C&=~D}}function ny(t){return bc(t.pendingLanes)}function hd(t){var n=t.pendingLanes&~ra;return n!==qe?n:n&ra?ra:qe}function ry(t){return(t&qt)!==qe}function xc(t){return(t&ph)!==qe}function Ts(t){return(t&mc)===t}function mh(t){var n=qt|Za|Or;return(t&n)===qe}function vh(t){return(t&Al)===t}function md(t,n){var l=$l|Za|Ro|Or;return(n&l)!==qe}function oy(t,n){return(n&t.expiredLanes)!==qe}function yh(t){return(t&Al)!==qe}function gh(){var t=Es;return Es<<=1,(Es&Al)===qe&&(Es=xs),t}function ay(){var t=fd;return fd<<=1,(fd&mc)===qe&&(fd=Cs),t}function kl(t){return t&-t}function Sc(t){return kl(t)}function _r(t){return 31-Lr(t)}function po(t){return _r(t)}function oa(t,n){return(t&n)!==qe}function Rs(t,n){return(t&n)===n}function on(t,n){return t|n}function Cc(t,n){return t&~n}function bh(t,n){return t&n}function iy(t){return t}function ly(t,n){return t!==En&&t<n?t:n}function wc(t){for(var n=[],l=0;l<bs;l++)n.push(t);return n}function du(t,n,l){t.pendingLanes|=n,n!==ws&&(t.suspendedLanes=qe,t.pingedLanes=qe);var u=t.eventTimes,h=po(n);u[h]=l}function sy(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 vd(t,n,l){t.pingedLanes|=t.suspendedLanes&n}function xh(t,n){var l=t.pendingLanes&~n;t.pendingLanes=n,t.suspendedLanes=qe,t.pingedLanes=qe,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]=qe,h[O]=Kn,g[O]=Kn,C&=~D}}function yd(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 Sh(t,n){var l=kl(n),u;switch(l){case Za:u=$l;break;case Or:u=Ro;break;case xs:case Kf:case Zf:case Jf:case ed:case td:case nd:case rd:case od:case Ss:case ad:case cu:case fu:case id:case hc:case ld:case Cs:case sd:case vc:case ud:case cd:u=Qi;break;case ws:u=gc;break;default:u=En;break}return(u&(t.suspendedLanes|n))!==En?En:u}function Ec(t,n,l){if(na)for(var u=t.pendingUpdatersLaneMap;l>0;){var h=po(l),g=1<<h,C=u[h];C.add(n),l&=~g}}function uy(t,n){if(na)for(var l=t.pendingUpdatersLaneMap,u=t.memoizedUpdaters;n>0;){var h=po(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 Ch(t,n){return null}var Po=qt,Si=Za,_a=Or,Ia=ws,Tc=En;function Fa(){return Tc}function Ir(t){Tc=t}function cy(t,n){var l=Tc;try{return Tc=t,n()}finally{Tc=l}}function fy(t,n){return t!==0&&t<n?t:n}function Rc(t,n){return t>n?t:n}function to(t,n){return t!==0&&t<n}function dy(t){var n=kl(t);return to(Po,n)?to(Si,n)?xc(n)?_a:Ia:Si:Po}function gd(t){var n=t.current.memoizedState;return n.isDehydrated}var Oc;function Oo(t){Oc=t}function Gb(t){Oc(t)}var Ot;function pu(t){Ot=t}var bd;function py(t){bd=t}var hy;function $c(t){hy=t}var Ac;function wh(t){Ac=t}var xd=!1,kc=[],Xi=null,Ci=null,wi=null,$r=new Map,No=new Map,Do=[],my=["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 vy(t){return my.indexOf(t)>-1}function ei(t,n,l,u,h){return{blockedOn:t,domEventName:n,eventSystemFlags:l,nativeEvent:h,targetContainers:[u]}}function Eh(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;No.delete(u);break}}}function aa(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 Wb(t,n,l,u,h){switch(n){case"focusin":{var g=h;return Xi=aa(Xi,t,n,l,u,g),!0}case"dragenter":{var C=h;return Ci=aa(Ci,t,n,l,u,C),!0}case"mouseover":{var O=h;return wi=aa(wi,t,n,l,u,O),!0}case"pointerover":{var D=h,H=D.pointerId;return $r.set(H,aa($r.get(H)||null,t,n,l,u,D)),!0}case"gotpointercapture":{var Q=h,he=Q.pointerId;return No.set(he,aa(No.get(he)||null,t,n,l,u,Q)),!0}}return!1}function Th(t){var n=Bc(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,Ac(t.priority,function(){bd(l)});return}}else if(u===w){var g=l.stateNode;if(gd(g)){t.blockedOn=bi(l);return}}}}t.blockedOn=null}function yy(t){for(var n=hy(),l={blockedOn:null,target:t,priority:n},u=0;u<Do.length&&to(n,Do[u].priority);u++);Do.splice(u,0,l),u===0&&Th(l)}function Pc(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);jb(g),h.target.dispatchEvent(g),Ub()}else{var C=Cu(u);return C!==null&&Ot(C),t.blockedOn=u,!1}n.shift()}return!0}function Rh(t,n,l){Pc(t)&&l.delete(n)}function Yb(){xd=!1,Xi!==null&&Pc(Xi)&&(Xi=null),Ci!==null&&Pc(Ci)&&(Ci=null),wi!==null&&Pc(wi)&&(wi=null),$r.forEach(Rh),No.forEach(Rh)}function Pl(t,n){t.blockedOn===n&&(t.blockedOn=null,xd||(xd=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Yb)))}function Os(t){if(kc.length>0){Pl(kc[0],t);for(var n=1;n<kc.length;n++){var l=kc[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),No.forEach(u);for(var h=0;h<Do.length;h++){var g=Do[h];g.blockedOn===t&&(g.blockedOn=null)}for(;Do.length>0;){var C=Do[0];if(C.blockedOn!==null)break;Th(C),C.blockedOn===null&&Do.shift()}}var ho=i.ReactCurrentBatchConfig,Sn=!0;function Wr(t){Sn=!!t}function Fr(){return Sn}function mo(t,n,l){var u=Sd(n),h;switch(u){case Po:h=Sa;break;case Si:h=hu;break;case _a:default:h=Ar;break}return h.bind(null,n,l,t)}function Sa(t,n,l,u){var h=Fa(),g=ho.transition;ho.transition=null;try{Ir(Po),Ar(t,n,l,u)}finally{Ir(h),ho.transition=g}}function hu(t,n,l,u){var h=Fa(),g=ho.transition;ho.transition=null;try{Ir(Si),Ar(t,n,l,u)}finally{Ir(h),ho.transition=g}}function Ar(t,n,l,u){Sn&&Nc(t,n,l,u)}function Nc(t,n,l,u){var h=mu(t,n,l,u);if(h===null){c1(t,n,u,Ei,l),Eh(t,u);return}if(Wb(h,t,n,l,u)){u.stopPropagation();return}if(Eh(t,u),n&ka&&vy(t)){for(;h!==null;){var g=Cu(h);g!==null&&Gb(g);var C=mu(t,n,l,u);if(C===null&&c1(t,n,u,Ei,l),C===h)break;h=C}h!==null&&u.stopPropagation();return}c1(t,n,u,null,l)}var Ei=null;function mu(t,n,l,u){Ei=null;var h=Zp(u),g=Bc(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(gd(H))return bi(C);g=null}else C!==g&&(g=null)}}return Ei=g,null}function Sd(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 Po;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=Gf();switch(n){case lc:return Po;case Rl:return Si;case Yi:case Hb:return _a;case hs:return Ia;default:return _a}}default:return _a}}function Dc(t,n,l){return t.addEventListener(n,l,!1),l}function ia(t,n,l){return t.addEventListener(n,l,!0),l}function Oh(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=Mc(),!0}function Cd(){Ca=null,yu=null,$s=null}function Ki(){if($s)return $s;var t,n=yu,l=n.length,u,h=Mc(),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 Mc(){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 Lc(){return!1}function $o(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=Lc,this.isPropagationStopped=Lc,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 Vr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ti=$o(Vr),Mo=nn({},Vr,{view:0,detail:0}),la=$o(Mo),wd,_c,As;function qb(t){t!==As&&(As&&t.type==="mousemove"?(wd=t.screenX-As.screenX,_c=t.screenY-As.screenY):(wd=0,_c=0),As=t)}var ti=nn({},Mo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fr,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),wd)},movementY:function(t){return"movementY"in t?t.movementY:_c}}),$h=$o(ti),Ah=nn({},ti,{dataTransfer:0}),ks=$o(Ah),kh=nn({},Mo,{relatedTarget:0}),Zi=$o(kh),gy=nn({},Vr,{animationName:0,elapsedTime:0,pseudoElement:0}),by=$o(gy),Ph=nn({},Vr,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Ed=$o(Ph),Qb=nn({},Vr,{data:0}),xy=$o(Qb),Sy=xy,Cy={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 Xb(t){if(t.key){var n=Cy[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 wy(t){var n=this,l=n.nativeEvent;if(l.getModifierState)return l.getModifierState(t);var u=bu[t];return u?!!l[u]:!1}function fr(t){return wy}var Kb=nn({},Mo,{key:Xb,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fr,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}}),Ey=$o(Kb),Zb=nn({},ti,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ty=$o(Zb),Ry=nn({},Mo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fr}),Oy=$o(Ry),Jb=nn({},Vr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Va=$o(Jb),Nh=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}),e1=$o(Nh),Ml=[9,13,27,32],Ic=229,Ji=be&&"CompositionEvent"in window,Ll=null;be&&"documentMode"in document&&(Ll=document.documentMode);var Dh=be&&"TextEvent"in window&&!Ll,Td=be&&(!Ji||Ll&&Ll>8&&Ll<=11),$y=32,Rd=String.fromCharCode($y);function t1(){re("onBeforeInput",["compositionend","keypress","textInput","paste"]),re("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),re("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),re("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Mh=!1;function Ay(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function Od(t){switch(t){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function $d(t,n){return t==="keydown"&&n.keyCode===Ic}function Lh(t,n){switch(t){case"keyup":return Ml.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==Ic;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ad(t){var n=t.detail;return typeof n=="object"&&"data"in n?n.data:null}function ky(t){return t.locale==="ko"}var Ns=!1;function _h(t,n,l,u,h){var g,C;if(Ji?g=Od(n):Ns?Lh(n,u)&&(g="onCompositionEnd"):$d(n,u)&&(g="onCompositionStart"),!g)return null;Td&&!ky(u)&&(!Ns&&g==="onCompositionStart"?Ns=Nl(h):g==="onCompositionEnd"&&Ns&&(C=Ki()));var O=Iy(l,g);if(O.length>0){var D=new xy(g,n,null,u,h);if(t.push({event:D,listeners:O}),C)D.data=C;else{var H=Ad(u);H!==null&&(D.data=H)}}}function kd(t,n){switch(t){case"compositionend":return Ad(n);case"keypress":var l=n.which;return l!==$y?null:(Mh=!0,Rd);case"textInput":var u=n.data;return u===Rd&&Mh?null:u;default:return null}}function Ih(t,n){if(Ns){if(t==="compositionend"||!Ji&&Lh(t,n)){var l=Ki();return Cd(),Ns=!1,l}return null}switch(t){case"paste":return null;case"keypress":if(!Ay(n)){if(n.char&&n.char.length>1)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Td&&!ky(n)?null:n.data;default:return null}}function Pd(t,n,l,u,h){var g;if(Dh?g=kd(n,u):g=Ih(n,u),!g)return null;var C=Iy(l,"onBeforeInput");if(C.length>0){var O=new Sy("onBeforeInput","beforeinput",null,u,h);t.push({event:O,listeners:C}),O.data=g}}function Py(t,n,l,u,h,g,C){_h(t,n,l,u,h),Pd(t,n,l,u,h)}var n1={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 Fc(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!n1[t.type]:n==="textarea"}/**
|
|
2722
|
+
Check the render method of \``+t+"`.":""}var Mp=["value","defaultValue"];function $b(t){{kp("select",t);for(var n=0;n<Mp.length;n++){var l=Mp[n];if(t[l]!=null){var u=co(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)),he=null,de=0;de<h.length;de++){if(h[de].value===Q){h[de].selected=!0,u&&(h[de].defaultSelected=!0);return}he===null&&!h[de].disabled&&(he=h[de])}he!==null&&(he.selected=!0)}}function Lp(t,n){return nn({},n,{value:void 0})}function Tf(t,n){var l=t;$b(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 Ab(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 kb(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 Pb(t,n){var l=t,u=n.value;u!=null&&Ks(l,!!n.multiple,u,!1)}var bv=!1;function _p(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 Ip(t,n){var l=t;kp("textarea",n),n.value!==void 0&&n.defaultValue!==void 0&&!bv&&(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"),bv=!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(co(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 xv(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 Sv(t,n){var l=t,u=l.textContent;u===l._wrapperState.initialValue&&u!==""&&u!==null&&(l.value=u)}function Nb(t,n){xv(t,n)}var Ui="http://www.w3.org/1999/xhtml",Fp="http://www.w3.org/1998/Math/MathML",Vp="http://www.w3.org/2000/svg";function jp(t){switch(t){case"svg":return Vp;case"math":return Fp;default:return Ui}}function Up(t,n){return t==null||t===Ui?jp(n):t===Vp&&n==="foreignObject"?Ui:t}var Cv=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,l,u,h){MSApp.execUnsafeLocalFunction(function(){return t(n,l,u,h)})}:t},Rf,wv=Cv(function(t,n){if(t.namespaceURI===Vp&&!("innerHTML"in t)){Rf=Rf||document.createElement("div"),Rf.innerHTML="<svg>"+n.valueOf().toString()+"</svg>";for(var l=Rf.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;l.firstChild;)t.appendChild(l.firstChild);return}t.innerHTML=n}),Ko=1,Bi=3,Nr=8,zi=9,Bp=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},Qu={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"]},Xu={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 Ev(t,n){return t+n.charAt(0).toUpperCase()+n.substring(1)}var Tv=["Webkit","ms","Moz","O"];Object.keys(Xu).forEach(function(t){Tv.forEach(function(n){Xu[Ev(n,t)]=Xu[t]})});function Of(t,n,l){var u=n==null||typeof n=="boolean"||n==="";return u?"":!l&&typeof n=="number"&&n!==0&&!(Xu.hasOwnProperty(t)&&Xu[t])?n+"px":(vt(n,t),(""+n).trim())}var Rv=/([A-Z])/g,Ov=/^ms-/;function Js(t){return t.replace(Rv,"-$1").toLowerCase().replace(Ov,"-ms-")}var $v=function(){};{var Db=/^(?:webkit|moz|o)[A-Z]/,Mb=/^-ms-/,Av=/-(.)/g,zp=/;\s*$/,pi={},ls={},kv=!1,Ku=!1,Lb=function(t){return t.replace(Av,function(n,l){return l.toUpperCase()})},Pv=function(t){pi.hasOwnProperty(t)&&pi[t]||(pi[t]=!0,d("Unsupported style property %s. Did you mean %s?",t,Lb(t.replace(Mb,"ms-"))))},Hp=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)))},Gp=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(zp,"")))},Nv=function(t,n){kv||(kv=!0,d("`NaN` is an invalid value for the `%s` css style property.",t))},Dv=function(t,n){Ku||(Ku=!0,d("`Infinity` is an invalid value for the `%s` css style property.",t))};$v=function(t,n){t.indexOf("-")>-1?Pv(t):Db.test(t)?Hp(t):zp.test(n)&&Gp(t,n),typeof n=="number"&&(isNaN(n)?Nv(t,n):isFinite(n)||Dv(t,n))}}var Mv=$v;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+=Of(u,h,g),l=";"}}return n||null}}function Lv(t,n){var l=t.style;for(var u in n)if(n.hasOwnProperty(u)){var h=u.indexOf("--")===0;h||Mv(u,n[u]);var g=Of(u,n[u],h);u==="float"&&(u="cssFloat"),h?l.setProperty(u,g):l[u]=g}}function Ib(t){return t==null||typeof t=="boolean"||t===""}function _v(t){var n={};for(var l in t)for(var u=Qu[l]||[l],h=0;h<u.length;h++)n[u[h]]=l;return n}function Fb(t,n){{if(!n)return;var l=_v(t),u=_v(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.",Ib(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},Zu=nn({menuitem:!0},Xa),Iv="__html";function $f(t,n){if(n){if(Zu[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"||!(Iv 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 Ju={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"},Af={"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={},Vb=new RegExp("^(aria)-["+it+"]*$"),tu=new RegExp("^(aria)[A-Z]["+it+"]*$");function Wp(t,n){{if(ee.call(eu,n)&&eu[n])return!0;if(tu.test(n)){var l="aria-"+n.slice(4).toLowerCase(),u=Af.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(Vb.test(n)){var h=n.toLowerCase(),g=Af.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 ec(t,n){{var l=[];for(var u in n){var h=Wp(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 Yp(t,n){gl(t,n)||ec(t,n)}var qp=!1;function kf(t,n){{if(t!=="input"&&t!=="textarea"&&t!=="select")return;n!=null&&n.value===null&&!qp&&(qp=!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 fo={},Qp=/^on./,Pf=/^on[^A-Z]/,Fv=new RegExp("^(aria)-["+it+"]*$"),Vv=new RegExp("^(aria)[A-Z]["+it+"]*$");ss=function(t,n,l,u){if(ee.call(fo,n)&&fo[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."),fo[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),fo[n]=!0,!0;if(Qp.test(n))return d("Unknown event handler property `%s`. It will be ignored.",n),fo[n]=!0,!0}else if(Qp.test(n))return Pf.test(n)&&d("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",n),fo[n]=!0,!0;if(Fv.test(n)||Vv.test(n))return!0;if(h==="innerhtml")return d("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),fo[n]=!0,!0;if(h==="aria")return d("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),fo[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),fo[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),fo[n]=!0,!0;var D=Ye(n),H=D!==null&&D.type===lt;if(Ju.hasOwnProperty(h)){var Q=Ju[h];if(Q!==n)return d("Invalid DOM property `%s`. Did you mean `%s`?",n,Q),fo[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),fo[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),fo[n]=!0,!0):H?!0:On(n,l,D,!1)?(fo[n]=!0,!1):((l==="false"||l==="true")&&D!==null&&D.type===dn&&(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),fo[n]=!0),!0)}}var jv=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 Uv(t,n,l){gl(t,n)||jv(t,n,l)}var Xp=1,Nf=2,ka=4,Kp=Xp|Nf|ka,us=null;function jb(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 Ub(){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 tc(t){return t===us}function Zp(t){var n=t.target||t.srcElement||window;return n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===Bi?n.parentNode:n}var Df=null,cs=null,_n=null;function Mf(t){var n=Cu(t);if(n){if(typeof Df!="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=Xy(l);Df(n.stateNode,n.type,u)}}}function Lf(t){Df=t}function nu(t){cs?_n?_n.push(t):_n=[t]:cs=t}function Bv(){return cs!==null||_n!==null}function _f(){if(cs){var t=cs,n=_n;if(cs=null,_n=null,Mf(t),n)for(var l=0;l<n.length;l++)Mf(n[l])}}var ru=function(t,n){return t(n)},nc=function(){},bl=!1;function zv(){var t=Bv();t&&(nc(),_f())}function Hv(t,n,l){if(bl)return t(n,l);bl=!0;try{return ru(t,n,l)}finally{bl=!1,zv()}}function Bb(t,n,l){ru=t,nc=l}function Gv(t){return t==="button"||t==="input"||t==="select"||t==="textarea"}function If(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&&Gv(n));default:return!1}}function xl(t,n){var l=t.stateNode;if(l===null)return null;var u=Xy(l);if(u===null)return null;var h=u[n];if(If(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 rc=!1;if(be)try{var fs={};Object.defineProperty(fs,"passive",{get:function(){rc=!0}}),window.addEventListener("test",fs,fs),window.removeEventListener("test",fs,fs)}catch{rc=!1}function Ff(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 Vf=Ff;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Jp=document.createElement("react");Vf=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"),he=!1,de=!0,Me=window.event,Ie=Object.getOwnPropertyDescriptor(window,"event");function Ve(){Jp.removeEventListener(je,Ut,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Me)}var xt=Array.prototype.slice.call(arguments,3);function Ut(){he=!0,Ve(),l.apply(u,xt),de=!1}var Mt,wn=!1,gn=!1;function $e(Ae){if(Mt=Ae.error,wn=!0,Mt===null&&Ae.colno===0&&Ae.lineno===0&&(gn=!0),Ae.defaultPrevented&&Mt!=null&&typeof Mt=="object")try{Mt._suppressLogging=!0}catch{}}var je="react-"+(n||"invokeguardedcallback");if(window.addEventListener("error",$e),Jp.addEventListener(je,Ut,!1),Q.initEvent(je,!1,!1),Jp.dispatchEvent(Q),Ie&&Object.defineProperty(window,"event",Ie),he&&de&&(wn?gn&&(Mt=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.")):Mt=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(Mt)),window.removeEventListener("error",$e),!he)return Ve(),Ff.apply(this,arguments)}}var Wv=Vf,ou=!1,jf=null,au=!1,hi=null,Yv={onError:function(t){ou=!0,jf=t}};function Sl(t,n,l,u,h,g,C,O,D){ou=!1,jf=null,Wv.apply(Yv,arguments)}function mi(t,n,l,u,h,g,C,O,D){if(Sl.apply(this,arguments),ou){var H=ac();au||(au=!0,hi=H)}}function oc(){if(au){var t=hi;throw au=!1,hi=null,t}}function Hi(){return ou}function ac(){if(ou){var t=jf;return ou=!1,jf=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 zb(t){return t._reactInternals!==void 0}function ds(t,n){t._reactInternals=n}var Ft=0,Ka=1,pr=2,xn=4,Pa=16,Na=32,er=64,_t=128,To=256,xr=512,Hr=1024,Zo=2048,Jo=4096,Dr=8192,lu=16384,qv=32767,ic=32768,Jr=65536,Uf=131072,vi=1048576,su=2097152,Gi=4194304,Bf=8388608,Cl=16777216,yi=33554432,wl=xn|Hr|0,El=pr|xn|Pa|Na|xr|Jo|Dr,Tl=xn|er|xr|Dr,Wi=Zo|Pa,Mr=Gi|Bf|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|Jo))!==Ft&&(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 Qv(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 zf(t){if(ya(t)!==t)throw new Error("Unable to find node on an unmounted component.")}function Hf(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 zf(g),t;if(D===h)return zf(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 ea(t){var n=Hf(t);return n!==null?ta(n):null}function ta(t){if(t.tag===k||t.tag===M)return t;for(var n=t.child;n!==null;){var l=ta(n);if(l!==null)return l;n=n.sibling}return null}function cr(t){var n=Hf(t);return n!==null?Ma(n):null}function Ma(t){if(t.tag===k||t.tag===M)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 eh=o.unstable_scheduleCallback,Xv=o.unstable_cancelCallback,th=o.unstable_shouldYield,nh=o.unstable_requestPaint,Gr=o.unstable_now,Gf=o.unstable_getCurrentPriorityLevel,lc=o.unstable_ImmediatePriority,Rl=o.unstable_UserBlockingPriority,Yi=o.unstable_NormalPriority,Hb=o.unstable_LowPriority,hs=o.unstable_IdlePriority,Wf=o.unstable_yieldValue,Kv=o.unstable_setDisableYieldValue,ms=null,Rr=null,bt=null,ga=!1,na=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{Y&&(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 rh(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 oh(t,n){if(Rr&&typeof Rr.onCommitFiberRoot=="function")try{var l=(t.current.flags&_t)===_t;if(Oe){var u;switch(n){case Po:u=lc;break;case Si:u=Rl;break;case _a:u=Yi;break;case Ia: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 ah(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 ih(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 Wf=="function"&&(Kv(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=ty(n);t.set(n,u),n*=2}return t}}function lh(t){bt!==null&&typeof bt.markCommitStarted=="function"&&bt.markCommitStarted(t)}function sh(){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 uh(t){bt!==null&&typeof bt.markComponentPassiveEffectMountStarted=="function"&&bt.markComponentPassiveEffectMountStarted(t)}function Zv(){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 Yf(t){bt!==null&&typeof bt.markComponentLayoutEffectMountStarted=="function"&&bt.markComponentLayoutEffectMountStarted(t)}function Jv(){bt!==null&&typeof bt.markComponentLayoutEffectMountStopped=="function"&&bt.markComponentLayoutEffectMountStopped()}function sc(t){bt!==null&&typeof bt.markComponentLayoutEffectUnmountStarted=="function"&&bt.markComponentLayoutEffectUnmountStarted(t)}function ch(){bt!==null&&typeof bt.markComponentLayoutEffectUnmountStopped=="function"&&bt.markComponentLayoutEffectUnmountStopped()}function uc(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 cc(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 fh(){bt!==null&&typeof bt.markPassiveEffectsStopped=="function"&&bt.markPassiveEffectsStopped()}function gs(t){bt!==null&&typeof bt.markRenderStarted=="function"&&bt.markRenderStarted(t)}function ey(){bt!==null&&typeof bt.markRenderYielded=="function"&&bt.markRenderYielded()}function qf(){bt!==null&&typeof bt.markRenderStopped=="function"&&bt.markRenderStopped()}function mr(t){bt!==null&&typeof bt.markRenderScheduled=="function"&&bt.markRenderScheduled(t)}function Qf(t,n){bt!==null&&typeof bt.markForceUpdateScheduled=="function"&&bt.markForceUpdateScheduled(t,n)}function dc(t,n){bt!==null&&typeof bt.markStateUpdateScheduled=="function"&&bt.markStateUpdateScheduled(t,n)}var Vt=0,hn=1,$n=2,zn=8,An=16,Lr=Math.clz32?Math.clz32:pc,eo=Math.log,Xf=Math.LN2;function pc(t){var n=t>>>0;return n===0?32:31-(eo(n)/Xf|0)|0}var bs=31,qe=0,En=0,qt=1,$l=2,Za=4,Ro=8,Or=16,Qi=32,Al=4194240,xs=64,Kf=128,Zf=256,Jf=512,ed=1024,td=2048,nd=4096,rd=8192,od=16384,Ss=32768,ad=65536,cu=131072,fu=262144,id=524288,hc=1048576,ld=2097152,mc=130023424,Cs=4194304,sd=8388608,vc=16777216,ud=33554432,cd=67108864,dh=Cs,yc=134217728,ph=268435455,gc=268435456,ws=536870912,ra=1073741824;function ty(t){{if(t&qt)return"Sync";if(t&$l)return"InputContinuousHydration";if(t&Za)return"InputContinuous";if(t&Ro)return"DefaultHydration";if(t&Or)return"Default";if(t&Qi)return"TransitionHydration";if(t&Al)return"Transition";if(t&mc)return"Retry";if(t&yc)return"SelectiveHydration";if(t&gc)return"IdleHydration";if(t&ws)return"Idle";if(t&ra)return"Offscreen"}}var Kn=-1,Es=xs,fd=Cs;function bc(t){switch(kl(t)){case qt:return qt;case $l:return $l;case Za:return Za;case Ro:return Ro;case Or:return Or;case Qi:return Qi;case xs:case Kf:case Zf:case Jf:case ed:case td:case nd:case rd:case od:case Ss:case ad:case cu:case fu:case id:case hc:case ld:return t&Al;case Cs:case sd:case vc:case ud:case cd:return t&mc;case yc:return yc;case gc:return gc;case ws:return ws;case ra:return ra;default:return d("Should have found matching lanes. This is a bug in React."),t}}function dd(t,n){var l=t.pendingLanes;if(l===qe)return qe;var u=qe,h=t.suspendedLanes,g=t.pingedLanes,C=l&ph;if(C!==qe){var O=C&~h;if(O!==qe)u=bc(O);else{var D=C&g;D!==qe&&(u=bc(D))}}else{var H=l&~h;H!==qe?u=bc(H):g!==qe&&(u=bc(g))}if(u===qe)return qe;if(n!==qe&&n!==u&&(n&h)===qe){var Q=kl(u),he=kl(n);if(Q>=he||Q===Or&&(he&Al)!==qe)return n}(u&Za)!==qe&&(u|=l&Or);var de=t.entangledLanes;if(de!==qe)for(var Me=t.entanglements,Ie=u&de;Ie>0;){var Ve=_r(Ie),xt=1<<Ve;u|=Me[Ve],Ie&=~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 hh(t,n){switch(t){case qt:case $l:case Za:return n+250;case Ro:case Or:case Qi:case xs:case Kf:case Zf:case Jf:case ed:case td:case nd:case rd:case od:case Ss:case ad:case cu:case fu:case id:case hc:case ld:return n+5e3;case Cs:case sd:case vc:case ud:case cd:return Kn;case yc:case gc:case ws:case ra:return Kn;default:return d("Should have found matching lanes. This is a bug in React."),Kn}}function pd(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)===qe||(D&h)!==qe)&&(g[O]=hh(D,n)):H<=n&&(t.expiredLanes|=D),C&=~D}}function ny(t){return bc(t.pendingLanes)}function hd(t){var n=t.pendingLanes&~ra;return n!==qe?n:n&ra?ra:qe}function ry(t){return(t&qt)!==qe}function xc(t){return(t&ph)!==qe}function Ts(t){return(t&mc)===t}function mh(t){var n=qt|Za|Or;return(t&n)===qe}function vh(t){return(t&Al)===t}function md(t,n){var l=$l|Za|Ro|Or;return(n&l)!==qe}function oy(t,n){return(n&t.expiredLanes)!==qe}function yh(t){return(t&Al)!==qe}function gh(){var t=Es;return Es<<=1,(Es&Al)===qe&&(Es=xs),t}function ay(){var t=fd;return fd<<=1,(fd&mc)===qe&&(fd=Cs),t}function kl(t){return t&-t}function Sc(t){return kl(t)}function _r(t){return 31-Lr(t)}function po(t){return _r(t)}function oa(t,n){return(t&n)!==qe}function Rs(t,n){return(t&n)===n}function on(t,n){return t|n}function Cc(t,n){return t&~n}function bh(t,n){return t&n}function iy(t){return t}function ly(t,n){return t!==En&&t<n?t:n}function wc(t){for(var n=[],l=0;l<bs;l++)n.push(t);return n}function du(t,n,l){t.pendingLanes|=n,n!==ws&&(t.suspendedLanes=qe,t.pingedLanes=qe);var u=t.eventTimes,h=po(n);u[h]=l}function sy(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 vd(t,n,l){t.pingedLanes|=t.suspendedLanes&n}function xh(t,n){var l=t.pendingLanes&~n;t.pendingLanes=n,t.suspendedLanes=qe,t.pingedLanes=qe,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]=qe,h[O]=Kn,g[O]=Kn,C&=~D}}function yd(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 Sh(t,n){var l=kl(n),u;switch(l){case Za:u=$l;break;case Or:u=Ro;break;case xs:case Kf:case Zf:case Jf:case ed:case td:case nd:case rd:case od:case Ss:case ad:case cu:case fu:case id:case hc:case ld:case Cs:case sd:case vc:case ud:case cd:u=Qi;break;case ws:u=gc;break;default:u=En;break}return(u&(t.suspendedLanes|n))!==En?En:u}function Ec(t,n,l){if(na)for(var u=t.pendingUpdatersLaneMap;l>0;){var h=po(l),g=1<<h,C=u[h];C.add(n),l&=~g}}function uy(t,n){if(na)for(var l=t.pendingUpdatersLaneMap,u=t.memoizedUpdaters;n>0;){var h=po(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 Ch(t,n){return null}var Po=qt,Si=Za,_a=Or,Ia=ws,Tc=En;function Fa(){return Tc}function Ir(t){Tc=t}function cy(t,n){var l=Tc;try{return Tc=t,n()}finally{Tc=l}}function fy(t,n){return t!==0&&t<n?t:n}function Rc(t,n){return t>n?t:n}function to(t,n){return t!==0&&t<n}function dy(t){var n=kl(t);return to(Po,n)?to(Si,n)?xc(n)?_a:Ia:Si:Po}function gd(t){var n=t.current.memoizedState;return n.isDehydrated}var Oc;function Oo(t){Oc=t}function Gb(t){Oc(t)}var Ot;function pu(t){Ot=t}var bd;function py(t){bd=t}var hy;function $c(t){hy=t}var Ac;function wh(t){Ac=t}var xd=!1,kc=[],Xi=null,Ci=null,wi=null,$r=new Map,No=new Map,Do=[],my=["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 vy(t){return my.indexOf(t)>-1}function ei(t,n,l,u,h){return{blockedOn:t,domEventName:n,eventSystemFlags:l,nativeEvent:h,targetContainers:[u]}}function Eh(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;No.delete(u);break}}}function aa(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 Wb(t,n,l,u,h){switch(n){case"focusin":{var g=h;return Xi=aa(Xi,t,n,l,u,g),!0}case"dragenter":{var C=h;return Ci=aa(Ci,t,n,l,u,C),!0}case"mouseover":{var O=h;return wi=aa(wi,t,n,l,u,O),!0}case"pointerover":{var D=h,H=D.pointerId;return $r.set(H,aa($r.get(H)||null,t,n,l,u,D)),!0}case"gotpointercapture":{var Q=h,he=Q.pointerId;return No.set(he,aa(No.get(he)||null,t,n,l,u,Q)),!0}}return!1}function Th(t){var n=Bc(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,Ac(t.priority,function(){bd(l)});return}}else if(u===w){var g=l.stateNode;if(gd(g)){t.blockedOn=bi(l);return}}}}t.blockedOn=null}function yy(t){for(var n=hy(),l={blockedOn:null,target:t,priority:n},u=0;u<Do.length&&to(n,Do[u].priority);u++);Do.splice(u,0,l),u===0&&Th(l)}function Pc(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);jb(g),h.target.dispatchEvent(g),Ub()}else{var C=Cu(u);return C!==null&&Ot(C),t.blockedOn=u,!1}n.shift()}return!0}function Rh(t,n,l){Pc(t)&&l.delete(n)}function Yb(){xd=!1,Xi!==null&&Pc(Xi)&&(Xi=null),Ci!==null&&Pc(Ci)&&(Ci=null),wi!==null&&Pc(wi)&&(wi=null),$r.forEach(Rh),No.forEach(Rh)}function Pl(t,n){t.blockedOn===n&&(t.blockedOn=null,xd||(xd=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Yb)))}function Os(t){if(kc.length>0){Pl(kc[0],t);for(var n=1;n<kc.length;n++){var l=kc[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),No.forEach(u);for(var h=0;h<Do.length;h++){var g=Do[h];g.blockedOn===t&&(g.blockedOn=null)}for(;Do.length>0;){var C=Do[0];if(C.blockedOn!==null)break;Th(C),C.blockedOn===null&&Do.shift()}}var ho=i.ReactCurrentBatchConfig,Sn=!0;function Wr(t){Sn=!!t}function Fr(){return Sn}function mo(t,n,l){var u=Sd(n),h;switch(u){case Po:h=Sa;break;case Si:h=hu;break;case _a:default:h=Ar;break}return h.bind(null,n,l,t)}function Sa(t,n,l,u){var h=Fa(),g=ho.transition;ho.transition=null;try{Ir(Po),Ar(t,n,l,u)}finally{Ir(h),ho.transition=g}}function hu(t,n,l,u){var h=Fa(),g=ho.transition;ho.transition=null;try{Ir(Si),Ar(t,n,l,u)}finally{Ir(h),ho.transition=g}}function Ar(t,n,l,u){Sn&&Nc(t,n,l,u)}function Nc(t,n,l,u){var h=mu(t,n,l,u);if(h===null){c1(t,n,u,Ei,l),Eh(t,u);return}if(Wb(h,t,n,l,u)){u.stopPropagation();return}if(Eh(t,u),n&ka&&vy(t)){for(;h!==null;){var g=Cu(h);g!==null&&Gb(g);var C=mu(t,n,l,u);if(C===null&&c1(t,n,u,Ei,l),C===h)break;h=C}h!==null&&u.stopPropagation();return}c1(t,n,u,null,l)}var Ei=null;function mu(t,n,l,u){Ei=null;var h=Zp(u),g=Bc(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(gd(H))return bi(C);g=null}else C!==g&&(g=null)}}return Ei=g,null}function Sd(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 Po;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=Gf();switch(n){case lc:return Po;case Rl:return Si;case Yi:case Hb:return _a;case hs:return Ia;default:return _a}}default:return _a}}function Dc(t,n,l){return t.addEventListener(n,l,!1),l}function ia(t,n,l){return t.addEventListener(n,l,!0),l}function Oh(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=Mc(),!0}function Cd(){Ca=null,yu=null,$s=null}function Ki(){if($s)return $s;var t,n=yu,l=n.length,u,h=Mc(),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 Mc(){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 Lc(){return!1}function $o(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=Lc,this.isPropagationStopped=Lc,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 Vr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ti=$o(Vr),Mo=nn({},Vr,{view:0,detail:0}),la=$o(Mo),wd,_c,As;function qb(t){t!==As&&(As&&t.type==="mousemove"?(wd=t.screenX-As.screenX,_c=t.screenY-As.screenY):(wd=0,_c=0),As=t)}var ti=nn({},Mo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fr,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),wd)},movementY:function(t){return"movementY"in t?t.movementY:_c}}),$h=$o(ti),Ah=nn({},ti,{dataTransfer:0}),ks=$o(Ah),kh=nn({},Mo,{relatedTarget:0}),Zi=$o(kh),gy=nn({},Vr,{animationName:0,elapsedTime:0,pseudoElement:0}),by=$o(gy),Ph=nn({},Vr,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Ed=$o(Ph),Qb=nn({},Vr,{data:0}),xy=$o(Qb),Sy=xy,Cy={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 Xb(t){if(t.key){var n=Cy[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 wy(t){var n=this,l=n.nativeEvent;if(l.getModifierState)return l.getModifierState(t);var u=bu[t];return u?!!l[u]:!1}function fr(t){return wy}var Kb=nn({},Mo,{key:Xb,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fr,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}}),Ey=$o(Kb),Zb=nn({},ti,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ty=$o(Zb),Ry=nn({},Mo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fr}),Oy=$o(Ry),Jb=nn({},Vr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Va=$o(Jb),Nh=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}),e1=$o(Nh),Ml=[9,13,27,32],Ic=229,Ji=be&&"CompositionEvent"in window,Ll=null;be&&"documentMode"in document&&(Ll=document.documentMode);var Dh=be&&"TextEvent"in window&&!Ll,Td=be&&(!Ji||Ll&&Ll>8&&Ll<=11),$y=32,Rd=String.fromCharCode($y);function t1(){re("onBeforeInput",["compositionend","keypress","textInput","paste"]),re("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),re("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),re("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Mh=!1;function Ay(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function Od(t){switch(t){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function $d(t,n){return t==="keydown"&&n.keyCode===Ic}function Lh(t,n){switch(t){case"keyup":return Ml.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==Ic;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ad(t){var n=t.detail;return typeof n=="object"&&"data"in n?n.data:null}function ky(t){return t.locale==="ko"}var Ns=!1;function _h(t,n,l,u,h){var g,C;if(Ji?g=Od(n):Ns?Lh(n,u)&&(g="onCompositionEnd"):$d(n,u)&&(g="onCompositionStart"),!g)return null;Td&&!ky(u)&&(!Ns&&g==="onCompositionStart"?Ns=Nl(h):g==="onCompositionEnd"&&Ns&&(C=Ki()));var O=Iy(l,g);if(O.length>0){var D=new xy(g,n,null,u,h);if(t.push({event:D,listeners:O}),C)D.data=C;else{var H=Ad(u);H!==null&&(D.data=H)}}}function kd(t,n){switch(t){case"compositionend":return Ad(n);case"keypress":var l=n.which;return l!==$y?null:(Mh=!0,Rd);case"textInput":var u=n.data;return u===Rd&&Mh?null:u;default:return null}}function Ih(t,n){if(Ns){if(t==="compositionend"||!Ji&&Lh(t,n)){var l=Ki();return Cd(),Ns=!1,l}return null}switch(t){case"paste":return null;case"keypress":if(!Ay(n)){if(n.char&&n.char.length>1)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Td&&!ky(n)?null:n.data;default:return null}}function Pd(t,n,l,u,h){var g;if(Dh?g=kd(n,u):g=Ih(n,u),!g)return null;var C=Iy(l,"onBeforeInput");if(C.length>0){var O=new Sy("onBeforeInput","beforeinput",null,u,h);t.push({event:O,listeners:C}),O.data=g}}function Py(t,n,l,u,h,g,C){_h(t,n,l,u,h),Pd(t,n,l,u,h)}var n1={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 Fc(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n==="input"?!!n1[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`,
|
|
@@ -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 sg(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 ug(t){{var n=rn(t)||"Component";if(z1[n])return;z1[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 vE(t){var n=t._payload,l=t._init;return l(n)}function yE(t){function n($e,je){if(t){var Ae=$e.deletions;Ae===null?($e.deletions=[je],$e.flags|=Pa):Ae.push(je)}}function l($e,je){if(!t)return null;for(var Ae=je;Ae!==null;)n($e,Ae),Ae=Ae.sibling;return null}function u($e,je){for(var Ae=new Map,tt=je;tt!==null;)tt.key!==null?Ae.set(tt.key,tt):Ae.set(tt.index,tt),tt=tt.sibling;return Ae}function h($e,je){var Ae=rf($e,je);return Ae.index=0,Ae.sibling=null,Ae}function g($e,je,Ae){if($e.index=Ae,!t)return $e.flags|=vi,je;var tt=$e.alternate;if(tt!==null){var Rt=tt.index;return Rt<je?($e.flags|=pr,je):Rt}else return $e.flags|=pr,je}function C($e){return t&&$e.alternate===null&&($e.flags|=pr),$e}function O($e,je,Ae,tt){if(je===null||je.tag!==M){var Rt=FS(Ae,$e.mode,tt);return Rt.return=$e,Rt}else{var St=h(je,Ae);return St.return=$e,St}}function D($e,je,Ae,tt){var Rt=Ae.type;if(Rt===bn)return Q($e,je,Ae.props.children,tt,Ae.key);if(je!==null&&(je.elementType===Rt||CR(je,Ae)||typeof Rt=="object"&&Rt!==null&&Rt.$$typeof===Wt&&vE(Rt)===je.type)){var St=h(je,Ae.props);return St.ref=om($e,je,Ae),St.return=$e,St._debugSource=Ae._source,St._debugOwner=Ae._owner,St}var Qt=IS(Ae,$e.mode,tt);return Qt.ref=om($e,je,Ae),Qt.return=$e,Qt}function H($e,je,Ae,tt){if(je===null||je.tag!==R||je.stateNode.containerInfo!==Ae.containerInfo||je.stateNode.implementation!==Ae.implementation){var Rt=VS(Ae,$e.mode,tt);return Rt.return=$e,Rt}else{var St=h(je,Ae.children||[]);return St.return=$e,St}}function Q($e,je,Ae,tt,Rt){if(je===null||je.tag!==P){var St=Iu(Ae,$e.mode,tt,Rt);return St.return=$e,St}else{var Qt=h(je,Ae);return Qt.return=$e,Qt}}function he($e,je,Ae){if(typeof je=="string"&&je!==""||typeof je=="number"){var tt=FS(""+je,$e.mode,Ae);return tt.return=$e,tt}if(typeof je=="object"&&je!==null){switch(je.$$typeof){case fn:{var Rt=IS(je,$e.mode,Ae);return Rt.ref=om($e,null,je),Rt.return=$e,Rt}case zt:{var St=VS(je,$e.mode,Ae);return St.return=$e,St}case Wt:{var Qt=je._payload,tn=je._init;return he($e,tn(Qt),Ae)}}if(co(je)||Xt(je)){var Gn=Iu(je,$e.mode,Ae,null);return Gn.return=$e,Gn}sg($e,je)}return typeof je=="function"&&ug($e),null}function de($e,je,Ae,tt){var Rt=je!==null?je.key:null;if(typeof Ae=="string"&&Ae!==""||typeof Ae=="number")return Rt!==null?null:O($e,je,""+Ae,tt);if(typeof Ae=="object"&&Ae!==null){switch(Ae.$$typeof){case fn:return Ae.key===Rt?D($e,je,Ae,tt):null;case zt:return Ae.key===Rt?H($e,je,Ae,tt):null;case Wt:{var St=Ae._payload,Qt=Ae._init;return de($e,je,Qt(St),tt)}}if(co(Ae)||Xt(Ae))return Rt!==null?null:Q($e,je,Ae,tt,null);sg($e,Ae)}return typeof Ae=="function"&&ug($e),null}function Me($e,je,Ae,tt,Rt){if(typeof tt=="string"&&tt!==""||typeof tt=="number"){var St=$e.get(Ae)||null;return O(je,St,""+tt,Rt)}if(typeof tt=="object"&&tt!==null){switch(tt.$$typeof){case fn:{var Qt=$e.get(tt.key===null?Ae:tt.key)||null;return D(je,Qt,tt,Rt)}case zt:{var tn=$e.get(tt.key===null?Ae:tt.key)||null;return H(je,tn,tt,Rt)}case Wt:var Gn=tt._payload,Pn=tt._init;return Me($e,je,Ae,Pn(Gn),Rt)}if(co(tt)||Xt(tt)){var Yr=$e.get(Ae)||null;return Q(je,Yr,tt,Rt,null)}sg(je,tt)}return typeof tt=="function"&&ug(je),null}function Ie($e,je,Ae){{if(typeof $e!="object"||$e===null)return je;switch($e.$$typeof){case fn:case zt:mE($e,Ae);var tt=$e.key;if(typeof tt!="string")break;if(je===null){je=new Set,je.add(tt);break}if(!je.has(tt)){je.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=$e._payload,St=$e._init;Ie(St(Rt),je,Ae);break}}return je}function Ve($e,je,Ae,tt){for(var Rt=null,St=0;St<Ae.length;St++){var Qt=Ae[St];Rt=Ie(Qt,Rt,$e)}for(var tn=null,Gn=null,Pn=je,Yr=0,Nn=0,jr=null;Pn!==null&&Nn<Ae.length;Nn++){Pn.index>Nn?(jr=Pn,Pn=null):jr=Pn.sibling;var fa=de($e,Pn,Ae[Nn],tt);if(fa===null){Pn===null&&(Pn=jr);break}t&&Pn&&fa.alternate===null&&n($e,Pn),Yr=g(fa,Yr,Nn),Gn===null?tn=fa:Gn.sibling=fa,Gn=fa,Pn=jr}if(Nn===Ae.length){if(l($e,Pn),_o()){var zo=Nn;Hc($e,zo)}return tn}if(Pn===null){for(;Nn<Ae.length;Nn++){var oi=he($e,Ae[Nn],tt);oi!==null&&(Yr=g(oi,Yr,Nn),Gn===null?tn=oi:Gn.sibling=oi,Gn=oi)}if(_o()){var Ra=Nn;Hc($e,Ra)}return tn}for(var Oa=u($e,Pn);Nn<Ae.length;Nn++){var da=Me(Oa,$e,Nn,Ae[Nn],tt);da!==null&&(t&&da.alternate!==null&&Oa.delete(da.key===null?Nn:da.key),Yr=g(da,Yr,Nn),Gn===null?tn=da:Gn.sibling=da,Gn=da)}if(t&&Oa.forEach(function(lp){return n($e,lp)}),_o()){var Hs=Nn;Hc($e,Hs)}return tn}function xt($e,je,Ae,tt){var Rt=Xt(Ae);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"&&Ae[Symbol.toStringTag]==="Generator"&&(j1||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."),j1=!0),Ae.entries===Rt&&(V1||d("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),V1=!0);var St=Rt.call(Ae);if(St)for(var Qt=null,tn=St.next();!tn.done;tn=St.next()){var Gn=tn.value;Qt=Ie(Gn,Qt,$e)}}var Pn=Rt.call(Ae);if(Pn==null)throw new Error("An iterable object provided no iterator.");for(var Yr=null,Nn=null,jr=je,fa=0,zo=0,oi=null,Ra=Pn.next();jr!==null&&!Ra.done;zo++,Ra=Pn.next()){jr.index>zo?(oi=jr,jr=null):oi=jr.sibling;var Oa=de($e,jr,Ra.value,tt);if(Oa===null){jr===null&&(jr=oi);break}t&&jr&&Oa.alternate===null&&n($e,jr),fa=g(Oa,fa,zo),Nn===null?Yr=Oa:Nn.sibling=Oa,Nn=Oa,jr=oi}if(Ra.done){if(l($e,jr),_o()){var da=zo;Hc($e,da)}return Yr}if(jr===null){for(;!Ra.done;zo++,Ra=Pn.next()){var Hs=he($e,Ra.value,tt);Hs!==null&&(fa=g(Hs,fa,zo),Nn===null?Yr=Hs:Nn.sibling=Hs,Nn=Hs)}if(_o()){var lp=zo;Hc($e,lp)}return Yr}for(var _m=u($e,jr);!Ra.done;zo++,Ra=Pn.next()){var Yl=Me(_m,$e,zo,Ra.value,tt);Yl!==null&&(t&&Yl.alternate!==null&&_m.delete(Yl.key===null?zo:Yl.key),fa=g(Yl,fa,zo),Nn===null?Yr=Yl:Nn.sibling=Yl,Nn=Yl)}if(t&&_m.forEach(function(L6){return n($e,L6)}),_o()){var M6=zo;Hc($e,M6)}return Yr}function Ut($e,je,Ae,tt){if(je!==null&&je.tag===M){l($e,je.sibling);var Rt=h(je,Ae);return Rt.return=$e,Rt}l($e,je);var St=FS(Ae,$e.mode,tt);return St.return=$e,St}function Mt($e,je,Ae,tt){for(var Rt=Ae.key,St=je;St!==null;){if(St.key===Rt){var Qt=Ae.type;if(Qt===bn){if(St.tag===P){l($e,St.sibling);var tn=h(St,Ae.props.children);return tn.return=$e,tn._debugSource=Ae._source,tn._debugOwner=Ae._owner,tn}}else if(St.elementType===Qt||CR(St,Ae)||typeof Qt=="object"&&Qt!==null&&Qt.$$typeof===Wt&&vE(Qt)===St.type){l($e,St.sibling);var Gn=h(St,Ae.props);return Gn.ref=om($e,St,Ae),Gn.return=$e,Gn._debugSource=Ae._source,Gn._debugOwner=Ae._owner,Gn}l($e,St);break}else n($e,St);St=St.sibling}if(Ae.type===bn){var Pn=Iu(Ae.props.children,$e.mode,tt,Ae.key);return Pn.return=$e,Pn}else{var Yr=IS(Ae,$e.mode,tt);return Yr.ref=om($e,je,Ae),Yr.return=$e,Yr}}function wn($e,je,Ae,tt){for(var Rt=Ae.key,St=je;St!==null;){if(St.key===Rt)if(St.tag===R&&St.stateNode.containerInfo===Ae.containerInfo&&St.stateNode.implementation===Ae.implementation){l($e,St.sibling);var Qt=h(St,Ae.children||[]);return Qt.return=$e,Qt}else{l($e,St);break}else n($e,St);St=St.sibling}var tn=VS(Ae,$e.mode,tt);return tn.return=$e,tn}function gn($e,je,Ae,tt){var Rt=typeof Ae=="object"&&Ae!==null&&Ae.type===bn&&Ae.key===null;if(Rt&&(Ae=Ae.props.children),typeof Ae=="object"&&Ae!==null){switch(Ae.$$typeof){case fn:return C(Mt($e,je,Ae,tt));case zt:return C(wn($e,je,Ae,tt));case Wt:var St=Ae._payload,Qt=Ae._init;return gn($e,je,Qt(St),tt)}if(co(Ae))return Ve($e,je,Ae,tt);if(Xt(Ae))return xt($e,je,Ae,tt);sg($e,Ae)}return typeof Ae=="string"&&Ae!==""||typeof Ae=="number"?C(Ut($e,je,""+Ae,tt)):(typeof Ae=="function"&&ug($e),l($e,je))}return gn}var zd=yE(!0),gE=yE(!1);function cN(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=rf(l,l.pendingProps);for(n.child=u,u.return=n;l.sibling!==null;)l=l.sibling,u=u.sibling=rf(l,l.pendingProps),u.return=n;u.sibling=null}}function fN(t,n){for(var l=t.child;l!==null;)ZD(l,n),l=l.sibling}var H1=wu(null),G1;G1={};var cg=null,Hd=null,W1=null,fg=!1;function dg(){cg=null,Hd=null,W1=null,fg=!1}function bE(){fg=!0}function xE(){fg=!1}function SE(t,n,l){ua(H1,n._currentValue,t),n._currentValue=l,n._currentRenderer!==void 0&&n._currentRenderer!==null&&n._currentRenderer!==G1&&d("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer=G1}function Y1(t,n){var l=H1.current;sa(H1,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 dN(t,n,l){pN(t,n,l)}function pN(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=Sc(l),D=Fs(Kn,O);D.tag=hg;var H=u.updateQueue;if(H!==null){var Q=H.shared,he=Q.pending;he===null?D.next=D:(D.next=he.next,he.next=D),Q.pending=D}}u.lanes=on(u.lanes,l);var de=u.alternate;de!==null&&(de.lanes=on(de.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===V){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 Ie=Me.alternate;Ie!==null&&(Ie.lanes=on(Ie.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 Ve=h.sibling;if(Ve!==null){Ve.return=h.return,h=Ve;break}h=h.return}u=h}}function Gd(t,n){cg=t,Hd=null,W1=null;var l=t.dependencies;if(l!==null){var u=l.firstContext;u!==null&&(oa(l.lanes,n)&&bm(),l.firstContext=null)}}function ro(t){fg&&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(W1!==t){var l={context:t,memoizedValue:n,next:null};if(Hd===null){if(cg===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().");Hd=l,cg.dependencies={lanes:qe,firstContext:l}}else Hd=Hd.next=l}return n}var Qc=null;function Q1(t){Qc===null?Qc=[t]:Qc.push(t)}function hN(){if(Qc!==null){for(var t=0;t<Qc.length;t++){var n=Qc[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}}Qc=null}}function CE(t,n,l,u){var h=n.interleaved;return h===null?(l.next=l,Q1(n)):(l.next=h.next,h.next=l),n.interleaved=l,pg(t,u)}function mN(t,n,l,u){var h=n.interleaved;h===null?(l.next=l,Q1(n)):(l.next=h.next,h.next=l),n.interleaved=l}function vN(t,n,l,u){var h=n.interleaved;return h===null?(l.next=l,Q1(n)):(l.next=h.next,h.next=l),n.interleaved=l,pg(t,u)}function Ua(t,n){return pg(t,n)}var yN=pg;function pg(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|Jo))!==Ft&&gR(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|Jo))!==Ft&&gR(t),u=h,h=h.return;if(u.tag===w){var g=u.stateNode;return g}else return null}var wE=0,EE=1,hg=2,X1=3,mg=!1,K1,vg;K1=!1,vg=null;function Z1(t){var n={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:qe},effects:null};t.updateQueue=n}function TE(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:wE,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(vg===h&&!K1&&(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."),K1=!0),mD()){var g=h.pending;return g===null?n.next=n:(n.next=g.next,g.next=n),h.pending=n,yN(t,l)}else return vN(t,h,n,l)}function yg(t,n,l){var u=n.updateQueue;if(u!==null){var h=u.shared;if(yh(l)){var g=h.lanes;g=bh(g,t.pendingLanes);var C=on(g,l);h.lanes=C,yd(t,C)}}}function J1(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 gN(t,n,l,u,h,g){switch(l.tag){case EE:{var C=l.payload;if(typeof C=="function"){bE();var O=C.call(g,u,h);{if(t.mode&zn){hr(!0);try{C.call(g,u,h)}finally{hr(!1)}}xE()}return O}return C}case X1:t.flags=t.flags&~Jr|_t;case wE:{var D=l.payload,H;if(typeof D=="function"){bE(),H=D.call(g,u,h);{if(t.mode&zn){hr(!0);try{D.call(g,u,h)}finally{hr(!1)}}xE()}}else H=D;return H==null?u:nn({},u,H)}case hg:return mg=!0,u}return u}function gg(t,n,l,u){var h=t.updateQueue;mg=!1,vg=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 he=Q.updateQueue,de=he.lastBaseUpdate;de!==C&&(de===null?he.firstBaseUpdate=H:de.next=H,he.lastBaseUpdate=D)}}if(g!==null){var Me=h.baseState,Ie=qe,Ve=null,xt=null,Ut=null,Mt=g;do{var wn=Mt.lane,gn=Mt.eventTime;if(Rs(u,wn)){if(Ut!==null){var je={eventTime:gn,lane:En,tag:Mt.tag,payload:Mt.payload,callback:Mt.callback,next:null};Ut=Ut.next=je}Me=gN(t,h,Mt,Me,n,l);var Ae=Mt.callback;if(Ae!==null&&Mt.lane!==En){t.flags|=er;var tt=h.effects;tt===null?h.effects=[Mt]:tt.push(Mt)}}else{var $e={eventTime:gn,lane:wn,tag:Mt.tag,payload:Mt.payload,callback:Mt.callback,next:null};Ut===null?(xt=Ut=$e,Ve=Me):Ut=Ut.next=$e,Ie=on(Ie,wn)}if(Mt=Mt.next,Mt===null){if(O=h.shared.pending,O===null)break;var Rt=O,St=Rt.next;Rt.next=null,Mt=St,h.lastBaseUpdate=Rt,h.shared.pending=null}}while(!0);Ut===null&&(Ve=Me),h.baseState=Ve,h.firstBaseUpdate=xt,h.lastBaseUpdate=Ut;var Qt=h.shared.interleaved;if(Qt!==null){var tn=Qt;do Ie=on(Ie,tn.lane),tn=tn.next;while(tn!==Qt)}else g===null&&(h.shared.lanes=qe);Pm(Ie),t.lanes=Ie,t.memoizedState=Me}vg=null}function bN(t,n){if(typeof t!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+t));t.call(n)}function RE(){mg=!1}function bg(){return mg}function OE(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,bN(C,l))}}var am={},$u=wu(am),im=wu(am),xg=wu(am);function Sg(t){if(t===am)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 $E(){var t=Sg(xg.current);return t}function ex(t,n){ua(xg,n,t),ua(im,t,t),ua($u,am,t);var l=_k(n);sa($u,t),ua($u,l,t)}function Wd(t){sa($u,t),sa(im,t),sa(xg,t)}function tx(){var t=Sg($u.current);return t}function AE(t){Sg(xg.current);var n=Sg($u.current),l=Ik(n,t.type);n!==l&&(ua(im,t,t),ua($u,l,t))}function nx(t){im.current===t&&(sa($u,t),sa(im,t))}var xN=0,kE=1,PE=1,lm=2,rl=wu(xN);function rx(t,n){return(t&n)!==0}function Yd(t){return t&kE}function ox(t,n){return t&kE|n}function SN(t,n){return t|n}function Au(t,n){ua(rl,n,t)}function qd(t){sa(rl,t)}function CN(t,n){var l=t.memoizedState;return l!==null?l.dehydrated!==null:(t.memoizedProps,!0)}function Cg(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)||C1(u))return n}}else if(n.tag===ve&&n.memoizedProps.revealOrder!==void 0){var h=(n.flags&_t)!==Ft;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,vo=1,jl=2,yo=4,Io=8,ax=[];function ix(){for(var t=0;t<ax.length;t++){var n=ax[t];n._workInProgressVersionPrimary=null}ax.length=0}function wN(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,sm=i.ReactCurrentBatchConfig,lx,Qd;lx=new Set;var Xc=qe,Hn=null,go=null,bo=null,wg=!1,um=!1,cm=0,EN=0,TN=25,ze=null,Ai=null,ku=-1,sx=!1;function In(){{var t=ze;Ai===null?Ai=[t]:Ai.push(t)}}function yt(){{var t=ze;Ai!==null&&(ku++,Ai[ku]!==t&&RN(t))}}function Xd(t){t!=null&&!co(t)&&d("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ze,typeof t)}function RN(t){{var n=rn(Hn);if(!lx.has(n)&&(lx.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 sg(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 ug(t){{var n=rn(t)||"Component";if(z1[n])return;z1[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 vE(t){var n=t._payload,l=t._init;return l(n)}function yE(t){function n($e,je){if(t){var Ae=$e.deletions;Ae===null?($e.deletions=[je],$e.flags|=Pa):Ae.push(je)}}function l($e,je){if(!t)return null;for(var Ae=je;Ae!==null;)n($e,Ae),Ae=Ae.sibling;return null}function u($e,je){for(var Ae=new Map,tt=je;tt!==null;)tt.key!==null?Ae.set(tt.key,tt):Ae.set(tt.index,tt),tt=tt.sibling;return Ae}function h($e,je){var Ae=rf($e,je);return Ae.index=0,Ae.sibling=null,Ae}function g($e,je,Ae){if($e.index=Ae,!t)return $e.flags|=vi,je;var tt=$e.alternate;if(tt!==null){var Rt=tt.index;return Rt<je?($e.flags|=pr,je):Rt}else return $e.flags|=pr,je}function C($e){return t&&$e.alternate===null&&($e.flags|=pr),$e}function O($e,je,Ae,tt){if(je===null||je.tag!==M){var Rt=FS(Ae,$e.mode,tt);return Rt.return=$e,Rt}else{var St=h(je,Ae);return St.return=$e,St}}function D($e,je,Ae,tt){var Rt=Ae.type;if(Rt===bn)return Q($e,je,Ae.props.children,tt,Ae.key);if(je!==null&&(je.elementType===Rt||CR(je,Ae)||typeof Rt=="object"&&Rt!==null&&Rt.$$typeof===Wt&&vE(Rt)===je.type)){var St=h(je,Ae.props);return St.ref=om($e,je,Ae),St.return=$e,St._debugSource=Ae._source,St._debugOwner=Ae._owner,St}var Qt=IS(Ae,$e.mode,tt);return Qt.ref=om($e,je,Ae),Qt.return=$e,Qt}function H($e,je,Ae,tt){if(je===null||je.tag!==R||je.stateNode.containerInfo!==Ae.containerInfo||je.stateNode.implementation!==Ae.implementation){var Rt=VS(Ae,$e.mode,tt);return Rt.return=$e,Rt}else{var St=h(je,Ae.children||[]);return St.return=$e,St}}function Q($e,je,Ae,tt,Rt){if(je===null||je.tag!==P){var St=Iu(Ae,$e.mode,tt,Rt);return St.return=$e,St}else{var Qt=h(je,Ae);return Qt.return=$e,Qt}}function he($e,je,Ae){if(typeof je=="string"&&je!==""||typeof je=="number"){var tt=FS(""+je,$e.mode,Ae);return tt.return=$e,tt}if(typeof je=="object"&&je!==null){switch(je.$$typeof){case fn:{var Rt=IS(je,$e.mode,Ae);return Rt.ref=om($e,null,je),Rt.return=$e,Rt}case zt:{var St=VS(je,$e.mode,Ae);return St.return=$e,St}case Wt:{var Qt=je._payload,tn=je._init;return he($e,tn(Qt),Ae)}}if(co(je)||Xt(je)){var Gn=Iu(je,$e.mode,Ae,null);return Gn.return=$e,Gn}sg($e,je)}return typeof je=="function"&&ug($e),null}function de($e,je,Ae,tt){var Rt=je!==null?je.key:null;if(typeof Ae=="string"&&Ae!==""||typeof Ae=="number")return Rt!==null?null:O($e,je,""+Ae,tt);if(typeof Ae=="object"&&Ae!==null){switch(Ae.$$typeof){case fn:return Ae.key===Rt?D($e,je,Ae,tt):null;case zt:return Ae.key===Rt?H($e,je,Ae,tt):null;case Wt:{var St=Ae._payload,Qt=Ae._init;return de($e,je,Qt(St),tt)}}if(co(Ae)||Xt(Ae))return Rt!==null?null:Q($e,je,Ae,tt,null);sg($e,Ae)}return typeof Ae=="function"&&ug($e),null}function Me($e,je,Ae,tt,Rt){if(typeof tt=="string"&&tt!==""||typeof tt=="number"){var St=$e.get(Ae)||null;return O(je,St,""+tt,Rt)}if(typeof tt=="object"&&tt!==null){switch(tt.$$typeof){case fn:{var Qt=$e.get(tt.key===null?Ae:tt.key)||null;return D(je,Qt,tt,Rt)}case zt:{var tn=$e.get(tt.key===null?Ae:tt.key)||null;return H(je,tn,tt,Rt)}case Wt:var Gn=tt._payload,Pn=tt._init;return Me($e,je,Ae,Pn(Gn),Rt)}if(co(tt)||Xt(tt)){var Yr=$e.get(Ae)||null;return Q(je,Yr,tt,Rt,null)}sg(je,tt)}return typeof tt=="function"&&ug(je),null}function Ie($e,je,Ae){{if(typeof $e!="object"||$e===null)return je;switch($e.$$typeof){case fn:case zt:mE($e,Ae);var tt=$e.key;if(typeof tt!="string")break;if(je===null){je=new Set,je.add(tt);break}if(!je.has(tt)){je.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=$e._payload,St=$e._init;Ie(St(Rt),je,Ae);break}}return je}function Ve($e,je,Ae,tt){for(var Rt=null,St=0;St<Ae.length;St++){var Qt=Ae[St];Rt=Ie(Qt,Rt,$e)}for(var tn=null,Gn=null,Pn=je,Yr=0,Nn=0,jr=null;Pn!==null&&Nn<Ae.length;Nn++){Pn.index>Nn?(jr=Pn,Pn=null):jr=Pn.sibling;var fa=de($e,Pn,Ae[Nn],tt);if(fa===null){Pn===null&&(Pn=jr);break}t&&Pn&&fa.alternate===null&&n($e,Pn),Yr=g(fa,Yr,Nn),Gn===null?tn=fa:Gn.sibling=fa,Gn=fa,Pn=jr}if(Nn===Ae.length){if(l($e,Pn),_o()){var zo=Nn;Hc($e,zo)}return tn}if(Pn===null){for(;Nn<Ae.length;Nn++){var oi=he($e,Ae[Nn],tt);oi!==null&&(Yr=g(oi,Yr,Nn),Gn===null?tn=oi:Gn.sibling=oi,Gn=oi)}if(_o()){var Ra=Nn;Hc($e,Ra)}return tn}for(var Oa=u($e,Pn);Nn<Ae.length;Nn++){var da=Me(Oa,$e,Nn,Ae[Nn],tt);da!==null&&(t&&da.alternate!==null&&Oa.delete(da.key===null?Nn:da.key),Yr=g(da,Yr,Nn),Gn===null?tn=da:Gn.sibling=da,Gn=da)}if(t&&Oa.forEach(function(lp){return n($e,lp)}),_o()){var Hs=Nn;Hc($e,Hs)}return tn}function xt($e,je,Ae,tt){var Rt=Xt(Ae);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"&&Ae[Symbol.toStringTag]==="Generator"&&(j1||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."),j1=!0),Ae.entries===Rt&&(V1||d("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),V1=!0);var St=Rt.call(Ae);if(St)for(var Qt=null,tn=St.next();!tn.done;tn=St.next()){var Gn=tn.value;Qt=Ie(Gn,Qt,$e)}}var Pn=Rt.call(Ae);if(Pn==null)throw new Error("An iterable object provided no iterator.");for(var Yr=null,Nn=null,jr=je,fa=0,zo=0,oi=null,Ra=Pn.next();jr!==null&&!Ra.done;zo++,Ra=Pn.next()){jr.index>zo?(oi=jr,jr=null):oi=jr.sibling;var Oa=de($e,jr,Ra.value,tt);if(Oa===null){jr===null&&(jr=oi);break}t&&jr&&Oa.alternate===null&&n($e,jr),fa=g(Oa,fa,zo),Nn===null?Yr=Oa:Nn.sibling=Oa,Nn=Oa,jr=oi}if(Ra.done){if(l($e,jr),_o()){var da=zo;Hc($e,da)}return Yr}if(jr===null){for(;!Ra.done;zo++,Ra=Pn.next()){var Hs=he($e,Ra.value,tt);Hs!==null&&(fa=g(Hs,fa,zo),Nn===null?Yr=Hs:Nn.sibling=Hs,Nn=Hs)}if(_o()){var lp=zo;Hc($e,lp)}return Yr}for(var _m=u($e,jr);!Ra.done;zo++,Ra=Pn.next()){var Yl=Me(_m,$e,zo,Ra.value,tt);Yl!==null&&(t&&Yl.alternate!==null&&_m.delete(Yl.key===null?zo:Yl.key),fa=g(Yl,fa,zo),Nn===null?Yr=Yl:Nn.sibling=Yl,Nn=Yl)}if(t&&_m.forEach(function(L6){return n($e,L6)}),_o()){var M6=zo;Hc($e,M6)}return Yr}function Ut($e,je,Ae,tt){if(je!==null&&je.tag===M){l($e,je.sibling);var Rt=h(je,Ae);return Rt.return=$e,Rt}l($e,je);var St=FS(Ae,$e.mode,tt);return St.return=$e,St}function Mt($e,je,Ae,tt){for(var Rt=Ae.key,St=je;St!==null;){if(St.key===Rt){var Qt=Ae.type;if(Qt===bn){if(St.tag===P){l($e,St.sibling);var tn=h(St,Ae.props.children);return tn.return=$e,tn._debugSource=Ae._source,tn._debugOwner=Ae._owner,tn}}else if(St.elementType===Qt||CR(St,Ae)||typeof Qt=="object"&&Qt!==null&&Qt.$$typeof===Wt&&vE(Qt)===St.type){l($e,St.sibling);var Gn=h(St,Ae.props);return Gn.ref=om($e,St,Ae),Gn.return=$e,Gn._debugSource=Ae._source,Gn._debugOwner=Ae._owner,Gn}l($e,St);break}else n($e,St);St=St.sibling}if(Ae.type===bn){var Pn=Iu(Ae.props.children,$e.mode,tt,Ae.key);return Pn.return=$e,Pn}else{var Yr=IS(Ae,$e.mode,tt);return Yr.ref=om($e,je,Ae),Yr.return=$e,Yr}}function wn($e,je,Ae,tt){for(var Rt=Ae.key,St=je;St!==null;){if(St.key===Rt)if(St.tag===R&&St.stateNode.containerInfo===Ae.containerInfo&&St.stateNode.implementation===Ae.implementation){l($e,St.sibling);var Qt=h(St,Ae.children||[]);return Qt.return=$e,Qt}else{l($e,St);break}else n($e,St);St=St.sibling}var tn=VS(Ae,$e.mode,tt);return tn.return=$e,tn}function gn($e,je,Ae,tt){var Rt=typeof Ae=="object"&&Ae!==null&&Ae.type===bn&&Ae.key===null;if(Rt&&(Ae=Ae.props.children),typeof Ae=="object"&&Ae!==null){switch(Ae.$$typeof){case fn:return C(Mt($e,je,Ae,tt));case zt:return C(wn($e,je,Ae,tt));case Wt:var St=Ae._payload,Qt=Ae._init;return gn($e,je,Qt(St),tt)}if(co(Ae))return Ve($e,je,Ae,tt);if(Xt(Ae))return xt($e,je,Ae,tt);sg($e,Ae)}return typeof Ae=="string"&&Ae!==""||typeof Ae=="number"?C(Ut($e,je,""+Ae,tt)):(typeof Ae=="function"&&ug($e),l($e,je))}return gn}var zd=yE(!0),gE=yE(!1);function cN(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=rf(l,l.pendingProps);for(n.child=u,u.return=n;l.sibling!==null;)l=l.sibling,u=u.sibling=rf(l,l.pendingProps),u.return=n;u.sibling=null}}function fN(t,n){for(var l=t.child;l!==null;)ZD(l,n),l=l.sibling}var H1=wu(null),G1;G1={};var cg=null,Hd=null,W1=null,fg=!1;function dg(){cg=null,Hd=null,W1=null,fg=!1}function bE(){fg=!0}function xE(){fg=!1}function SE(t,n,l){ua(H1,n._currentValue,t),n._currentValue=l,n._currentRenderer!==void 0&&n._currentRenderer!==null&&n._currentRenderer!==G1&&d("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer=G1}function Y1(t,n){var l=H1.current;sa(H1,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 dN(t,n,l){pN(t,n,l)}function pN(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=Sc(l),D=Fs(Kn,O);D.tag=hg;var H=u.updateQueue;if(H!==null){var Q=H.shared,he=Q.pending;he===null?D.next=D:(D.next=he.next,he.next=D),Q.pending=D}}u.lanes=on(u.lanes,l);var de=u.alternate;de!==null&&(de.lanes=on(de.lanes,l)),q1(u.return,l,t),g.lanes=on(g.lanes,l);break}C=C.next}}else if(u.tag===W)h=u.type===t.type?null:u.child;else if(u.tag===V){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 Ie=Me.alternate;Ie!==null&&(Ie.lanes=on(Ie.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 Ve=h.sibling;if(Ve!==null){Ve.return=h.return,h=Ve;break}h=h.return}u=h}}function Gd(t,n){cg=t,Hd=null,W1=null;var l=t.dependencies;if(l!==null){var u=l.firstContext;u!==null&&(oa(l.lanes,n)&&bm(),l.firstContext=null)}}function ro(t){fg&&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(W1!==t){var l={context:t,memoizedValue:n,next:null};if(Hd===null){if(cg===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().");Hd=l,cg.dependencies={lanes:qe,firstContext:l}}else Hd=Hd.next=l}return n}var Qc=null;function Q1(t){Qc===null?Qc=[t]:Qc.push(t)}function hN(){if(Qc!==null){for(var t=0;t<Qc.length;t++){var n=Qc[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}}Qc=null}}function CE(t,n,l,u){var h=n.interleaved;return h===null?(l.next=l,Q1(n)):(l.next=h.next,h.next=l),n.interleaved=l,pg(t,u)}function mN(t,n,l,u){var h=n.interleaved;h===null?(l.next=l,Q1(n)):(l.next=h.next,h.next=l),n.interleaved=l}function vN(t,n,l,u){var h=n.interleaved;return h===null?(l.next=l,Q1(n)):(l.next=h.next,h.next=l),n.interleaved=l,pg(t,u)}function Ua(t,n){return pg(t,n)}var yN=pg;function pg(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|Jo))!==Ft&&gR(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|Jo))!==Ft&&gR(t),u=h,h=h.return;if(u.tag===w){var g=u.stateNode;return g}else return null}var wE=0,EE=1,hg=2,X1=3,mg=!1,K1,vg;K1=!1,vg=null;function Z1(t){var n={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:qe},effects:null};t.updateQueue=n}function TE(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:wE,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(vg===h&&!K1&&(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."),K1=!0),mD()){var g=h.pending;return g===null?n.next=n:(n.next=g.next,g.next=n),h.pending=n,yN(t,l)}else return vN(t,h,n,l)}function yg(t,n,l){var u=n.updateQueue;if(u!==null){var h=u.shared;if(yh(l)){var g=h.lanes;g=bh(g,t.pendingLanes);var C=on(g,l);h.lanes=C,yd(t,C)}}}function J1(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 gN(t,n,l,u,h,g){switch(l.tag){case EE:{var C=l.payload;if(typeof C=="function"){bE();var O=C.call(g,u,h);{if(t.mode&zn){hr(!0);try{C.call(g,u,h)}finally{hr(!1)}}xE()}return O}return C}case X1:t.flags=t.flags&~Jr|_t;case wE:{var D=l.payload,H;if(typeof D=="function"){bE(),H=D.call(g,u,h);{if(t.mode&zn){hr(!0);try{D.call(g,u,h)}finally{hr(!1)}}xE()}}else H=D;return H==null?u:nn({},u,H)}case hg:return mg=!0,u}return u}function gg(t,n,l,u){var h=t.updateQueue;mg=!1,vg=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 he=Q.updateQueue,de=he.lastBaseUpdate;de!==C&&(de===null?he.firstBaseUpdate=H:de.next=H,he.lastBaseUpdate=D)}}if(g!==null){var Me=h.baseState,Ie=qe,Ve=null,xt=null,Ut=null,Mt=g;do{var wn=Mt.lane,gn=Mt.eventTime;if(Rs(u,wn)){if(Ut!==null){var je={eventTime:gn,lane:En,tag:Mt.tag,payload:Mt.payload,callback:Mt.callback,next:null};Ut=Ut.next=je}Me=gN(t,h,Mt,Me,n,l);var Ae=Mt.callback;if(Ae!==null&&Mt.lane!==En){t.flags|=er;var tt=h.effects;tt===null?h.effects=[Mt]:tt.push(Mt)}}else{var $e={eventTime:gn,lane:wn,tag:Mt.tag,payload:Mt.payload,callback:Mt.callback,next:null};Ut===null?(xt=Ut=$e,Ve=Me):Ut=Ut.next=$e,Ie=on(Ie,wn)}if(Mt=Mt.next,Mt===null){if(O=h.shared.pending,O===null)break;var Rt=O,St=Rt.next;Rt.next=null,Mt=St,h.lastBaseUpdate=Rt,h.shared.pending=null}}while(!0);Ut===null&&(Ve=Me),h.baseState=Ve,h.firstBaseUpdate=xt,h.lastBaseUpdate=Ut;var Qt=h.shared.interleaved;if(Qt!==null){var tn=Qt;do Ie=on(Ie,tn.lane),tn=tn.next;while(tn!==Qt)}else g===null&&(h.shared.lanes=qe);Pm(Ie),t.lanes=Ie,t.memoizedState=Me}vg=null}function bN(t,n){if(typeof t!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+t));t.call(n)}function RE(){mg=!1}function bg(){return mg}function OE(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,bN(C,l))}}var am={},$u=wu(am),im=wu(am),xg=wu(am);function Sg(t){if(t===am)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 $E(){var t=Sg(xg.current);return t}function ex(t,n){ua(xg,n,t),ua(im,t,t),ua($u,am,t);var l=_k(n);sa($u,t),ua($u,l,t)}function Wd(t){sa($u,t),sa(im,t),sa(xg,t)}function tx(){var t=Sg($u.current);return t}function AE(t){Sg(xg.current);var n=Sg($u.current),l=Ik(n,t.type);n!==l&&(ua(im,t,t),ua($u,l,t))}function nx(t){im.current===t&&(sa($u,t),sa(im,t))}var xN=0,kE=1,PE=1,lm=2,rl=wu(xN);function rx(t,n){return(t&n)!==0}function Yd(t){return t&kE}function ox(t,n){return t&kE|n}function SN(t,n){return t|n}function Au(t,n){ua(rl,n,t)}function qd(t){sa(rl,t)}function CN(t,n){var l=t.memoizedState;return l!==null?l.dehydrated!==null:(t.memoizedProps,!0)}function Cg(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)||C1(u))return n}}else if(n.tag===ve&&n.memoizedProps.revealOrder!==void 0){var h=(n.flags&_t)!==Ft;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,vo=1,jl=2,yo=4,Io=8,ax=[];function ix(){for(var t=0;t<ax.length;t++){var n=ax[t];n._workInProgressVersionPrimary=null}ax.length=0}function wN(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,sm=i.ReactCurrentBatchConfig,lx,Qd;lx=new Set;var Xc=qe,Hn=null,go=null,bo=null,wg=!1,um=!1,cm=0,EN=0,TN=25,ze=null,Ai=null,ku=-1,sx=!1;function In(){{var t=ze;Ai===null?Ai=[t]:Ai.push(t)}}function yt(){{var t=ze;Ai!==null&&(ku++,Ai[ku]!==t&&RN(t))}}function Xd(t){t!=null&&!co(t)&&d("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ze,typeof t)}function RN(t){{var n=rn(Hn);if(!lx.has(n)&&(lx.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
|
|
@@ -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:"",Ie!==null?`
|
|
2798
2798
|
`+Ie:"",Ve!==null?`
|
|
2799
|
-
`+Ve:""))}}}return u&&Jw(t,h,g),Q}function _N(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"),Bx.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";Dx.has(g)||(Dx.add(g),d("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",g))}Bx.enqueueReplaceState(n,n.state,null)}}function zx(t,n,l,u){LN(t,n,l);var h=t.stateNode;h.props=l,h.state=t.memoizedState,h.refs={},Z1(t);var g=n.contextType;if(typeof g=="object"&&g!==null)h.context=ro(g);else{var C=Fd(t,n,!0);h.context=Vd(t,C)}{if(h.state===l){var O=Vn(n)||"Component";Fx.has(O)||(Fx.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"&&(Ux(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")&&(_N(t,h),gg(t,l,h,u),h.state=t.memoizedState),typeof h.componentDidMount=="function"){var H=xn;H|=Gi,(t.mode&An)!==Vt&&(H|=Cl),t.flags|=H}}function IN(t,n,l,u){var h=t.stateNode,g=t.memoizedProps;h.props=g;var C=h.context,O=n.contextType,D=ni;if(typeof O=="object"&&O!==null)D=ro(O);else{var H=Fd(t,n,!0);D=Vd(t,H)}var Q=n.getDerivedStateFromProps,he=typeof Q=="function"||typeof h.getSnapshotBeforeUpdate=="function";!he&&(typeof h.UNSAFE_componentWillReceiveProps=="function"||typeof h.componentWillReceiveProps=="function")&&(g!==l||C!==D)&&fT(t,h,l,D),RE();var de=t.memoizedState,Me=h.state=de;if(gg(t,l,h,u),Me=t.memoizedState,g===l&&de===Me&&!Jy()&&!bg()){if(typeof h.componentDidMount=="function"){var Ie=xn;Ie|=Gi,(t.mode&An)!==Vt&&(Ie|=Cl),t.flags|=Ie}return!1}typeof Q=="function"&&(Ux(t,n,Q,l),Me=t.memoizedState);var Ve=bg()||sT(t,n,g,l,de,Me,D);if(Ve){if(!he&&(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)!==Vt&&(xt|=Cl),t.flags|=xt}}else{if(typeof h.componentDidMount=="function"){var Ut=xn;Ut|=Gi,(t.mode&An)!==Vt&&(Ut|=Cl),t.flags|=Ut}t.memoizedProps=l,t.memoizedState=Me}return h.props=l,h.state=Me,h.context=D,Ve}function FN(t,n,l,u,h){var g=n.stateNode;TE(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,he=ni;if(typeof Q=="object"&&Q!==null)he=ro(Q);else{var de=Fd(n,l,!0);he=Vd(n,de)}var Me=l.getDerivedStateFromProps,Ie=typeof Me=="function"||typeof g.getSnapshotBeforeUpdate=="function";!Ie&&(typeof g.UNSAFE_componentWillReceiveProps=="function"||typeof g.componentWillReceiveProps=="function")&&(C!==D||H!==he)&&fT(n,g,u,he),RE();var Ve=n.memoizedState,xt=g.state=Ve;if(gg(n,u,g,h),xt=n.memoizedState,C===D&&Ve===xt&&!Jy()&&!bg()&&!
|
|
2799
|
+
`+Ve:""))}}}return u&&Jw(t,h,g),Q}function _N(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"),Bx.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";Dx.has(g)||(Dx.add(g),d("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",g))}Bx.enqueueReplaceState(n,n.state,null)}}function zx(t,n,l,u){LN(t,n,l);var h=t.stateNode;h.props=l,h.state=t.memoizedState,h.refs={},Z1(t);var g=n.contextType;if(typeof g=="object"&&g!==null)h.context=ro(g);else{var C=Fd(t,n,!0);h.context=Vd(t,C)}{if(h.state===l){var O=Vn(n)||"Component";Fx.has(O)||(Fx.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"&&(Ux(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")&&(_N(t,h),gg(t,l,h,u),h.state=t.memoizedState),typeof h.componentDidMount=="function"){var H=xn;H|=Gi,(t.mode&An)!==Vt&&(H|=Cl),t.flags|=H}}function IN(t,n,l,u){var h=t.stateNode,g=t.memoizedProps;h.props=g;var C=h.context,O=n.contextType,D=ni;if(typeof O=="object"&&O!==null)D=ro(O);else{var H=Fd(t,n,!0);D=Vd(t,H)}var Q=n.getDerivedStateFromProps,he=typeof Q=="function"||typeof h.getSnapshotBeforeUpdate=="function";!he&&(typeof h.UNSAFE_componentWillReceiveProps=="function"||typeof h.componentWillReceiveProps=="function")&&(g!==l||C!==D)&&fT(t,h,l,D),RE();var de=t.memoizedState,Me=h.state=de;if(gg(t,l,h,u),Me=t.memoizedState,g===l&&de===Me&&!Jy()&&!bg()){if(typeof h.componentDidMount=="function"){var Ie=xn;Ie|=Gi,(t.mode&An)!==Vt&&(Ie|=Cl),t.flags|=Ie}return!1}typeof Q=="function"&&(Ux(t,n,Q,l),Me=t.memoizedState);var Ve=bg()||sT(t,n,g,l,de,Me,D);if(Ve){if(!he&&(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)!==Vt&&(xt|=Cl),t.flags|=xt}}else{if(typeof h.componentDidMount=="function"){var Ut=xn;Ut|=Gi,(t.mode&An)!==Vt&&(Ut|=Cl),t.flags|=Ut}t.memoizedProps=l,t.memoizedState=Me}return h.props=l,h.state=Me,h.context=D,Ve}function FN(t,n,l,u,h){var g=n.stateNode;TE(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,he=ni;if(typeof Q=="object"&&Q!==null)he=ro(Q);else{var de=Fd(n,l,!0);he=Vd(n,de)}var Me=l.getDerivedStateFromProps,Ie=typeof Me=="function"||typeof g.getSnapshotBeforeUpdate=="function";!Ie&&(typeof g.UNSAFE_componentWillReceiveProps=="function"||typeof g.componentWillReceiveProps=="function")&&(C!==D||H!==he)&&fT(n,g,u,he),RE();var Ve=n.memoizedState,xt=g.state=Ve;if(gg(n,u,g,h),xt=n.memoizedState,C===D&&Ve===xt&&!Jy()&&!bg()&&!se)return typeof g.componentDidUpdate=="function"&&(C!==t.memoizedProps||Ve!==t.memoizedState)&&(n.flags|=xn),typeof g.getSnapshotBeforeUpdate=="function"&&(C!==t.memoizedProps||Ve!==t.memoizedState)&&(n.flags|=Hr),!1;typeof Me=="function"&&(Ux(n,l,Me,u),xt=n.memoizedState);var Ut=bg()||sT(n,l,O,u,Ve,xt,he)||se;return Ut?(!Ie&&(typeof g.UNSAFE_componentWillUpdate=="function"||typeof g.componentWillUpdate=="function")&&(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(u,xt,he),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(u,xt,he)),typeof g.componentDidUpdate=="function"&&(n.flags|=xn),typeof g.getSnapshotBeforeUpdate=="function"&&(n.flags|=Hr)):(typeof g.componentDidUpdate=="function"&&(C!==t.memoizedProps||Ve!==t.memoizedState)&&(n.flags|=xn),typeof g.getSnapshotBeforeUpdate=="function"&&(C!==t.memoizedProps||Ve!==t.memoizedState)&&(n.flags|=Hr),n.memoizedProps=u,n.memoizedState=xt),g.props=u,g.state=xt,g.context=he,Ut}function Kc(t,n){return{value:t,source:n,stack:vf(n),digest:null}}function Hx(t,n,l){return{value:t,source:null,stack:l??null,digest:n??null}}function VN(t,n){return!0}function Gx(t,n){try{var l=VN(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 he=D+`
|
|
2801
2801
|
`+C+`
|
|
2802
2802
|
|
|
2803
2803
|
`+(""+H);console.error(he)}catch(de){setTimeout(function(){throw de})}}var jN=typeof WeakMap=="function"?WeakMap:Map;function dT(t,n,l){var u=Fs(Kn,l);u.tag=X1,u.payload={element:null};var h=n.value;return u.callback=function(){ND(h),Gx(t,n)},u}function Wx(t,n,l){var u=Fs(Kn,l);u.tag=X1;var h=t.type.getDerivedStateFromError;if(typeof h=="function"){var g=n.value;u.payload=function(){return h(g)},u.callback=function(){wR(t),Gx(t,n)}}var C=t.stateNode;return C!==null&&typeof C.componentDidCatch=="function"&&(u.callback=function(){wR(t),Gx(t,n),typeof h!="function"&&kD(this);var D=n.value,H=n.stack;this.componentDidCatch(D,{componentStack:H!==null?H:""}),typeof h!="function"&&(oa(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 pT(t,n,l){var u=t.pingCache,h;if(u===null?(u=t.pingCache=new jN,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=DD.bind(null,t,n,l);na&&Nm(t,l),n.then(g,g)}}function UN(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 BN(t,n){var l=t.tag;if((t.mode&hn)===Vt&&(l===b||l===A||l===X)){var u=t.alternate;u?(t.updateQueue=u.updateQueue,t.memoizedState=u.memoizedState,t.lanes=u.lanes):(t.updateQueue=null,t.memoizedState=null)}}function hT(t){var n=t;do{if(n.tag===N&&CN(n))return n;n=n.return}while(n!==null);return null}function mT(t,n,l,u,h){if((t.mode&hn)===Vt){if(t===n)t.flags|=Jr;else{if(t.flags|=_t,l.flags|=Uf,l.flags&=-52805,l.tag===S){var g=l.alternate;if(g===null)l.tag=Ce;else{var C=Fs(Kn,qt);C.tag=hg,Ou(l,C,qt)}}l.lanes=on(l.lanes,qt)}return t}return t.flags|=Jr,t.lanes=h,t}function zN(t,n,l,u,h){if(l.flags|=ic,na&&Nm(t,h),u!==null&&typeof u=="object"&&typeof u.then=="function"){var g=u;BN(l),_o()&&l.mode&hn&&iE();var C=hT(n);if(C!==null){C.flags&=~To,mT(C,n,l,t,h),C.mode&hn&&pT(t,g,h),UN(C,t,g);return}else{if(!ry(h)){pT(t,g,h),TS();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){iE();var D=hT(n);if(D!==null){(D.flags&Jr)===Ft&&(D.flags|=To),mT(D,n,l,t,h),F1(Kc(u,l));return}}u=Kc(u,l),CD(u);var H=n;do{switch(H.tag){case w:{var Q=u;H.flags|=Jr;var he=Sc(h);H.lanes=on(H.lanes,he);var de=dT(H,Q,he);J1(H,de);return}case S:var Me=u,Ie=H.type,Ve=H.stateNode;if((H.flags&_t)===Ft&&(typeof Ie.getDerivedStateFromError=="function"||Ve!==null&&typeof Ve.componentDidCatch=="function"&&!hR(Ve))){H.flags|=Jr;var xt=Sc(h);H.lanes=on(H.lanes,xt);var Ut=Wx(H,Me,xt);J1(H,Ut);return}break}H=H.return}while(H!==null)}function HN(){return null}var vm=i.ReactCurrentOwner,il=!1,Yx,ym,qx,Qx,Xx,Zc,Kx,zg,gm;Yx={},ym={},qx={},Qx={},Xx={},Zc=!1,Kx={},zg={},gm={};function wa(t,n,l,u){t===null?n.child=gE(n,null,l,u):n.child=zd(n,t.child,l,u)}function GN(t,n,l,u){n.child=zd(n,t.child,null,u),n.child=zd(n,null,l,u)}function vT(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;Gd(n,h),ba(n);{if(vm.current=n,uo(!0),D=Kd(t,n,C,u,O,h),H=Zd(),n.mode&zn){hr(!0);try{D=Kd(t,n,C,u,O,h),H=Zd()}finally{hr(!1)}}uo(!1)}return xa(),t!==null&&!il?(NE(t,n,h),Vs(t,n,h)):(_o()&&H&&N1(n),n.flags|=Ka,wa(t,n,D,h),n.child)}function yT(t,n,l,u,h){if(t===null){var g=l.type;if(XD(g)&&l.compare===null&&l.defaultProps===void 0){var C=g;return C=ip(g),n.tag=X,n.type=C,eS(n,g),gT(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";gm[D]||(d("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",D),gm[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,he=Q.propTypes;he&&el(he,u,"prop",Vn(Q))}var de=t.child,Me=iS(t,h);if(!Me){var Ie=de.memoizedProps,Ve=l.compare;if(Ve=Ve!==null?Ve:Pt,Ve(Ie,u)&&t.ref===n.ref)return Vs(t,n,h)}n.flags|=Ka;var xt=rf(de,u);return xt.ref=n.ref,xt.return=n,n.child=xt,xt}function gT(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,iS(t,h))(t.flags&Uf)!==Ft&&(il=!0);else return n.lanes=t.lanes,Vs(t,n,h)}return Zx(t,n,l,u,h)}function bT(t,n,l){var u=n.pendingProps,h=u.children,g=t!==null?t.memoizedState:null;if(u.mode==="hidden"||oe)if((n.mode&hn)===Vt){var C={baseLanes:qe,cachePool:null,transitions:null};n.memoizedState=C,n0(n,l)}else if(oa(l,ra)){var he={baseLanes:qe,cachePool:null,transitions:null};n.memoizedState=he;var de=g!==null?g.baseLanes:l;n0(n,de)}else{var O=null,D;if(g!==null){var H=g.baseLanes;D=on(H,l)}else D=l;n.lanes=n.childLanes=ra;var Q={baseLanes:D,cachePool:O,transitions:null};return n.memoizedState=Q,n.updateQueue=null,n0(n,D),null}else{var Me;g!==null?(Me=on(g.baseLanes,l),n.memoizedState=null):Me=l,n0(n,Me)}return wa(t,n,h,l),n.child}function WN(t,n,l){var u=n.pendingProps;return wa(t,n,u,l),n.child}function YN(t,n,l){var u=n.pendingProps.children;return wa(t,n,u,l),n.child}function qN(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 xT(t,n){var l=n.ref;(t===null&&l!==null||t!==null&&t.ref!==l)&&(n.flags|=xr,n.flags|=su)}function Zx(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=Fd(n,l,!0);C=Vd(n,O)}var D,H;Gd(n,h),ba(n);{if(vm.current=n,uo(!0),D=Kd(t,n,l,u,C,h),H=Zd(),n.mode&zn){hr(!0);try{D=Kd(t,n,l,u,C,h),H=Zd()}finally{hr(!1)}}uo(!1)}return xa(),t!==null&&!il?(NE(t,n,h),Vs(t,n,h)):(_o()&&H&&N1(n),n.flags|=Ka,wa(t,n,D,h),n.child)}function ST(t,n,l,u,h){{switch(f6(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|=_t,n.flags|=Jr;var H=new Error("Simulated error coming from DevTools"),Q=Sc(h);n.lanes=on(n.lanes,Q);var he=Wx(n,Kc(H,n),Q);J1(n,he);break}}if(n.type!==n.elementType){var de=l.propTypes;de&&el(de,u,"prop",Vn(l))}}var Me;Vl(l)?(Me=!0,tg(n)):Me=!1,Gd(n,h);var Ie=n.stateNode,Ve;Ie===null?(Gg(t,n),cT(n,l,u),zx(n,l,u,h),Ve=!0):t===null?Ve=IN(n,l,u,h):Ve=FN(t,n,l,u,h);var xt=Jx(t,n,l,Ve,Me,h);{var Ut=n.stateNode;Ve&&Ut.props!==u&&(Zc||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"),Zc=!0)}return xt}function Jx(t,n,l,u,h,g){xT(t,n);var C=(n.flags&_t)!==Ft;if(!u&&!C)return h&&nE(n,l,!1),Vs(t,n,g);var O=n.stateNode;vm.current=n;var D;if(C&&typeof l.getDerivedStateFromError!="function")D=null,aT();else{ba(n);{if(uo(!0),D=O.render(),n.mode&zn){hr(!0);try{O.render()}finally{hr(!1)}}uo(!1)}xa()}return n.flags|=Ka,t!==null&&C?GN(t,n,D,g):wa(t,n,D,g),n.memoizedState=O.state,h&&nE(n,l,!0),n.child}function CT(t){var n=t.stateNode;n.pendingContext?eE(t,n.pendingContext,n.pendingContext!==n.context):n.context&&eE(t,n.context,!1),ex(t,n.containerInfo)}function QN(t,n,l){if(CT(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;TE(t,n),gg(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&To){var Q=Kc(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 wT(t,n,O,l,Q)}else if(O!==g){var he=Kc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),n);return wT(t,n,O,l,he)}else{ZP(n);var de=gE(n,null,O,l);n.child=de;for(var Me=de;Me;)Me.flags=Me.flags&~pr|Jo,Me=Me.sibling}}else{if(Bd(),O===g)return Vs(t,n,l);wa(t,n,O,l)}return n.child}function wT(t,n,l,u,h){return Bd(),F1(h),n.flags|=To,wa(t,n,l,u),n.child}function XN(t,n,l){AE(n),t===null&&I1(n);var u=n.type,h=n.pendingProps,g=t!==null?t.memoizedProps:null,C=h.children,O=g1(u,h);return O?C=null:g!==null&&g1(u,g)&&(n.flags|=Na),xT(t,n),wa(t,n,C,l),n.child}function KN(t,n){return t===null&&I1(n),null}function ZN(t,n,l,u){Gg(t,n);var h=n.pendingProps,g=l,C=g._payload,O=g._init,D=O(C);n.type=D;var H=n.tag=KD(D),Q=al(D,h),he;switch(H){case b:return eS(n,D),n.type=D=ip(D),he=Zx(null,n,D,Q,u),he;case S:return n.type=D=kS(D),he=ST(null,n,D,Q,u),he;case A:return n.type=D=PS(D),he=vT(null,n,D,Q,u),he;case z:{if(n.type!==n.elementType){var de=D.propTypes;de&&el(de,Q,"prop",Vn(D))}return he=yT(null,n,D,al(D.type,Q),u),he}}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 JN(t,n,l,u,h){Gg(t,n),n.tag=S;var g;return Vl(l)?(g=!0,tg(n)):g=!1,Gd(n,h),cT(n,l,u),zx(n,l,u,h),Jx(null,n,l,!0,g,h)}function e2(t,n,l,u){Gg(t,n);var h=n.pendingProps,g;{var C=Fd(n,l,!1);g=Vd(n,C)}Gd(n,u);var O,D;ba(n);{if(l.prototype&&typeof l.prototype.render=="function"){var H=Vn(l)||"Unknown";Yx[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),Yx[H]=!0)}n.mode&zn&&nl.recordLegacyContextWarning(n,null),uo(!0),vm.current=n,O=Kd(null,n,l,h,g,u),D=Zd(),uo(!1)}if(xa(),n.flags|=Ka,typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){var Q=Vn(l)||"Unknown";ym[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),ym[Q]=!0)}if(typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){{var he=Vn(l)||"Unknown";ym[he]||(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.",he,he,he),ym[he]=!0)}n.tag=S,n.memoizedState=null,n.updateQueue=null;var de=!1;return Vl(l)?(de=!0,tg(n)):de=!1,n.memoizedState=O.state!==null&&O.state!==void 0?O.state:null,Z1(n),uT(n,O),zx(n,l,h,u),Jx(null,n,l,!0,de,u)}else{if(n.tag=b,n.mode&zn){hr(!0);try{O=Kd(null,n,l,h,g,u),D=Zd()}finally{hr(!1)}}return _o()&&D&&N1(n),wa(null,n,O,u),eS(n,l),n.child}}function eS(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),Xx[h]||(Xx[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";gm[C]||(d("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",C),gm[C]=!0)}if(typeof n.getDerivedStateFromProps=="function"){var O=Vn(n)||"Unknown";Qx[O]||(d("%s: Function components do not support getDerivedStateFromProps.",O),Qx[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 tS={dehydrated:null,treeContext:null,retryLane:En};function nS(t){return{baseLanes:t,cachePool:HN(),transitions:null}}function t2(t,n){var l=null;return{baseLanes:on(t.baseLanes,n),cachePool:l,transitions:t.transitions}}function n2(t,n,l,u){if(n!==null){var h=n.memoizedState;if(h===null)return!1}return rx(t,lm)}function r2(t,n){return Cc(t.childLanes,n)}function ET(t,n,l){var u=n.pendingProps;d6(n)&&(n.flags|=_t);var h=rl.current,g=!1,C=(n.flags&_t)!==Ft;if(C||n2(h,t)?(g=!0,n.flags&=~_t):(t===null||t.memoizedState!==null)&&(h=SN(h,PE)),h=Yd(h),Au(n,h),t===null){I1(n);var O=n.memoizedState;if(O!==null){var D=O.dehydrated;if(D!==null)return s2(n,D)}var H=u.children,Q=u.fallback;if(g){var he=o2(n,H,Q,l),de=n.child;return de.memoizedState=nS(l),n.memoizedState=tS,he}else return rS(n,H)}else{var Me=t.memoizedState;if(Me!==null){var Ie=Me.dehydrated;if(Ie!==null)return u2(t,n,C,u,Ie,Me,l)}if(g){var Ve=u.fallback,xt=u.children,Ut=i2(t,n,xt,Ve,l),Mt=n.child,wn=t.child.memoizedState;return Mt.memoizedState=wn===null?nS(l):t2(wn,l),Mt.childLanes=r2(t,l),n.memoizedState=tS,Ut}else{var gn=u.children,$e=a2(t,n,gn,l);return n.memoizedState=null,$e}}}function rS(t,n,l){var u=t.mode,h={mode:"visible",children:n},g=oS(h,u);return g.return=t,t.child=g,g}function o2(t,n,l,u){var h=t.mode,g=t.child,C={mode:"hidden",children:n},O,D;return(h&hn)===Vt&&g!==null?(O=g,O.childLanes=qe,O.pendingProps=C,t.mode&$n&&(O.actualDuration=0,O.actualStartTime=-1,O.selfBaseDuration=0,O.treeBaseDuration=0),D=Iu(l,h,u,null)):(O=oS(C,h),D=Iu(l,h,u,null)),O.return=t,D.return=t,O.sibling=D,t.child=O,D}function oS(t,n,l){return TR(t,n,qe,null)}function TT(t,n){return rf(t,n)}function a2(t,n,l,u){var h=t.child,g=h.sibling,C=TT(h,{mode:"visible",children:l});if((n.mode&hn)===Vt&&(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 i2(t,n,l,u,h){var g=n.mode,C=t.child,O=C.sibling,D={mode:"hidden",children:l},H;if((g&hn)===Vt&&n.child!==C){var Q=n.child;H=Q,H.childLanes=qe,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=TT(C,D),H.subtreeFlags=C.subtreeFlags&Mr;var he;return O!==null?he=rf(O,u):(he=Iu(u,g,h,null),he.flags|=pr),he.return=n,H.return=n,H.sibling=he,n.child=H,he}function Hg(t,n,l,u){u!==null&&F1(u),zd(n,t.child,null,l);var h=n.pendingProps,g=h.children,C=rS(n,g);return C.flags|=pr,n.memoizedState=null,C}function l2(t,n,l,u,h){var g=n.mode,C={mode:"visible",children:l},O=oS(C,g),D=Iu(u,g,h,null);return D.flags|=pr,O.return=n,D.return=n,O.sibling=D,n.child=O,(n.mode&hn)!==Vt&&zd(n,t.child,null,h),D}function s2(t,n,l){return(t.mode&hn)===Vt?(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):C1(n)?t.lanes=Ro:t.lanes=ra,null}function u2(t,n,l,u,h,g,C){if(l)if(n.flags&To){n.flags&=~To;var $e=Hx(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Hg(t,n,C,$e)}else{if(n.memoizedState!==null)return n.child=t.child,n.flags|=_t,null;var je=u.children,Ae=u.fallback,tt=l2(t,n,je,Ae,C),Rt=n.child;return Rt.memoizedState=nS(C),n.memoizedState=tS,tt}else{if(XP(),(n.mode&hn)===Vt)return Hg(t,n,C,null);if(C1(h)){var O,D,H;{var Q=pP(h);O=Q.digest,D=Q.message,H=Q.stack}var he;D?he=new Error(D):he=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var de=Hx(he,O,H);return Hg(t,n,C,de)}var Me=oa(C,t.childLanes);if(il||Me){var Ie=t0();if(Ie!==null){var Ve=Sh(Ie,C);if(Ve!==En&&Ve!==g.retryLane){g.retryLane=Ve;var xt=Kn;Ua(t,Ve),wo(Ie,t,Ve,xt)}}TS();var Ut=Hx(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 Hg(t,n,C,Ut)}else if(qw(h)){n.flags|=_t,n.child=t.child;var Mt=MD.bind(null,t);return hP(h,Mt),null}else{JP(n,h,g.treeContext);var wn=u.children,gn=rS(n,wn);return gn.flags|=Jo,gn}}}function RT(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 c2(t,n,l){for(var u=n;u!==null;){if(u.tag===N){var h=u.memoizedState;h!==null&&RT(u,l,t)}else if(u.tag===ve)RT(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 f2(t){for(var n=t,l=null;n!==null;){var u=n.alternate;u!==null&&Cg(u)===null&&(l=n),n=n.sibling}return l}function d2(t){if(t!==void 0&&t!=="forwards"&&t!=="backwards"&&t!=="together"&&!Kx[t])if(Kx[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 p2(t,n){t!==void 0&&!zg[t]&&(t!=="collapsed"&&t!=="hidden"?(zg[t]=!0,d('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',t)):n!=="forwards"&&n!=="backwards"&&(zg[t]=!0,d('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',t)))}function OT(t,n){{var l=co(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 h2(t,n){if((n==="forwards"||n==="backwards")&&t!==void 0&&t!==null&&t!==!1)if(co(t)){for(var l=0;l<t.length;l++)if(!OT(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(!OT(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 aS(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 $T(t,n,l){var u=n.pendingProps,h=u.revealOrder,g=u.tail,C=u.children;d2(h),p2(g,h),h2(C,h),wa(t,n,C,l);var O=rl.current,D=rx(O,lm);if(D)O=ox(O,lm),n.flags|=_t;else{var H=t!==null&&(t.flags&_t)!==Ft;H&&c2(n,n.child,l),O=Yd(O)}if(Au(n,O),(n.mode&hn)===Vt)n.memoizedState=null;else switch(h){case"forwards":{var Q=f2(n.child),he;Q===null?(he=n.child,n.child=null):(he=Q.sibling,Q.sibling=null),aS(n,!1,he,Q,g);break}case"backwards":{var de=null,Me=n.child;for(n.child=null;Me!==null;){var Ie=Me.alternate;if(Ie!==null&&Cg(Ie)===null){n.child=Me;break}var Ve=Me.sibling;Me.sibling=de,de=Me,Me=Ve}aS(n,!0,de,null,g);break}case"together":{aS(n,!1,null,null,void 0);break}default:n.memoizedState=null}return n.child}function m2(t,n,l){ex(n,n.stateNode.containerInfo);var u=n.pendingProps;return t===null?n.child=zd(n,null,u,l):wa(t,n,u,l),n.child}var AT=!1;function v2(t,n,l){var u=n.type,h=u._context,g=n.pendingProps,C=n.memoizedProps,O=g.value;{"value"in g||AT||(AT=!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(SE(n,h,O),C!==null){var H=C.value;if(Ze(H,O)){if(C.children===g.children&&!Jy())return Vs(t,n,l)}else dN(n,h,l)}var Q=g.children;return wa(t,n,Q,l),n.child}var kT=!1;function y2(t,n,l){var u=n.type;u._context===void 0?u!==u.Consumer&&(kT||(kT=!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."),Gd(n,l);var C=ro(u);ba(n);var O;return vm.current=n,uo(!0),O=g(C),uo(!1),xa(),n.flags|=Ka,wa(t,n,O,l),n.child}function bm(){il=!0}function Gg(t,n){(n.mode&hn)===Vt&&t!==null&&(t.alternate=null,n.alternate=null,n.flags|=pr)}function Vs(t,n,l){return t!==null&&(n.dependencies=t.dependencies),aT(),Pm(n.lanes),oa(l,n.childLanes)?(cN(t,n),n.child):null}function g2(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 iS(t,n){var l=t.lanes;return!!oa(l,n)}function b2(t,n,l){switch(n.tag){case w:CT(n),n.stateNode,Bd();break;case k:AE(n);break;case S:{var u=n.type;Vl(u)&&tg(n);break}case R:ex(n,n.stateNode.containerInfo);break;case Y:{var h=n.memoizedProps.value,g=n.type._context;SE(n,g,h);break}case _:{var C=oa(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,Yd(rl.current)),n.flags|=_t,null;var H=n.child,Q=H.childLanes;if(oa(l,Q))return ET(t,n,l);Au(n,Yd(rl.current));var he=Vs(t,n,l);return he!==null?he.sibling:null}else Au(n,Yd(rl.current));break}case ve:{var de=(t.flags&_t)!==Ft,Me=oa(l,n.childLanes);if(de){if(Me)return $T(t,n,l);n.flags|=_t}var Ie=n.memoizedState;if(Ie!==null&&(Ie.rendering=null,Ie.tail=null,Ie.lastEffect=null),Au(n,rl.current),Me)break;return null}case ue:case Se:return n.lanes=qe,bT(t,n,l)}return Vs(t,n,l)}function PT(t,n,l){if(n._debugNeedsRemount&&t!==null)return g2(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||Jy()||n.type!==t.type)il=!0;else{var g=iS(t,l);if(!g&&(n.flags&_t)===Ft)return il=!1,b2(t,n,l);(t.flags&Uf)!==Ft?il=!0:il=!1}}else if(il=!1,_o()&&HP(n)){var C=n.index,O=GP();aE(n,O,C)}switch(n.lanes=qe,n.tag){case T:return e2(t,n,n.type,l);case fe:{var D=n.elementType;return ZN(t,n,D,l)}case b:{var H=n.type,Q=n.pendingProps,he=n.elementType===H?Q:al(H,Q);return Zx(t,n,H,he,l)}case S:{var de=n.type,Me=n.pendingProps,Ie=n.elementType===de?Me:al(de,Me);return ST(t,n,de,Ie,l)}case w:return QN(t,n,l);case k:return XN(t,n,l);case M:return KN(t,n);case N:return ET(t,n,l);case R:return m2(t,n,l);case A:{var Ve=n.type,xt=n.pendingProps,Ut=n.elementType===Ve?xt:al(Ve,xt);return vT(t,n,Ve,Ut,l)}case P:return WN(t,n,l);case U:return YN(t,n,l);case _:return qN(t,n,l);case Y:return v2(t,n,l);case G:return y2(t,n,l);case z:{var Mt=n.type,wn=n.pendingProps,gn=al(Mt,wn);if(n.type!==n.elementType){var $e=Mt.propTypes;$e&&el($e,gn,"prop",Vn(Mt))}return gn=al(Mt.type,gn),yT(t,n,Mt,gn,l)}case X:return gT(t,n,n.type,n.pendingProps,l);case Ce:{var je=n.type,Ae=n.pendingProps,tt=n.elementType===je?Ae:al(je,Ae);return JN(t,n,je,tt,l)}case ve:return $T(t,n,l);case we:break;case ue:return bT(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 Jd(t){t.flags|=xn}function NT(t){t.flags|=xr,t.flags|=su}var DT,lS,MT,LT;DT=function(t,n,l,u){for(var h=n.child;h!==null;){if(h.tag===k||h.tag===M)Uk(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}},lS=function(t,n){},MT=function(t,n,l,u,h){var g=t.memoizedProps;if(g!==u){var C=n.stateNode,O=tx(),D=zk(C,l,g,u,h,O);n.updateQueue=D,D&&Jd(n)}},LT=function(t,n,l,u){l!==u&&Jd(n)};function xm(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 Fo(t){var n=t.alternate!==null&&t.alternate.child===t.child,l=qe,u=Ft;if(n){if((t.mode&$n)!==Vt){for(var D=t.selfBaseDuration,H=t.child;H!==null;)l=on(l,on(H.lanes,H.childLanes)),u|=H.subtreeFlags&Mr,u|=H.flags&Mr,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&Mr,u|=Q.flags&Mr,Q.return=t,Q=Q.sibling;t.subtreeFlags|=u}else{if((t.mode&$n)!==Vt){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 x2(t,n,l){if(oN()&&(n.mode&hn)!==Vt&&(n.flags&_t)===Ft)return dE(n),Bd(),n.flags|=To|ic|Jr,!1;var u=ig(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(nN(n),Fo(n),(n.mode&$n)!==Vt){var h=l!==null;if(h){var g=n.child;g!==null&&(n.treeBaseDuration-=g.treeBaseDuration)}}return!1}else{if(Bd(),(n.flags&_t)===Ft&&(n.memoizedState=null),n.flags|=xn,Fo(n),(n.mode&$n)!==Vt){var C=l!==null;if(C){var O=n.child;O!==null&&(n.treeBaseDuration-=O.treeBaseDuration)}}return!1}else return pE(),!0}function _T(t,n,l){var u=n.pendingProps;switch(D1(n),n.tag){case T:case fe:case X:case b:case A:case P:case U:case _:case G:case z:return Fo(n),null;case S:{var h=n.type;return Vl(h)&&eg(n),Fo(n),null}case w:{var g=n.stateNode;if(Wd(n),A1(n),ix(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),t===null||t.child===null){var C=ig(n);if(C)Jd(n);else if(t!==null){var O=t.memoizedState;(!O.isDehydrated||(n.flags&To)!==Ft)&&(n.flags|=Hr,pE())}}return lS(t,n),Fo(n),null}case k:{nx(n);var D=$E(),H=n.type;if(t!==null&&n.stateNode!=null)MT(t,n,H,u,D),t.ref!==n.ref&&NT(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 Fo(n),null}var Q=tx(),he=ig(n);if(he)eN(n,D,Q)&&Jd(n);else{var de=jk(H,u,D,Q,n);DT(de,n,!1,!1),n.stateNode=de,Bk(de,H,u,D)&&Jd(n)}n.ref!==null&&NT(n)}return Fo(n),null}case M:{var Me=u;if(t&&n.stateNode!=null){var Ie=t.memoizedProps;LT(t,n,Ie,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 Ve=$E(),xt=tx(),Ut=ig(n);Ut?tN(n)&&Jd(n):n.stateNode=Hk(Me,Ve,xt,n)}return Fo(n),null}case N:{qd(n);var Mt=n.memoizedState;if(t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){var wn=x2(t,n,Mt);if(!wn)return n.flags&Jr?n:null}if((n.flags&_t)!==Ft)return n.lanes=l,(n.mode&$n)!==Vt&&Px(n),n;var gn=Mt!==null,$e=t!==null&&t.memoizedState!==null;if(gn!==$e&&gn){var je=n.child;if(je.flags|=Dr,(n.mode&hn)!==Vt){var Ae=t===null&&(n.memoizedProps.unstable_avoidThisFallback!==!0||!0);Ae||rx(rl.current,PE)?SD():TS()}}var tt=n.updateQueue;if(tt!==null&&(n.flags|=xn),Fo(n),(n.mode&$n)!==Vt&&gn){var Rt=n.child;Rt!==null&&(n.treeBaseDuration-=Rt.treeBaseDuration)}return null}case R:return Wd(n),lS(t,n),t===null&&IP(n.stateNode.containerInfo),Fo(n),null;case Y:var St=n.type._context;return Y1(St,n),Fo(n),null;case Ce:{var Qt=n.type;return Vl(Qt)&&eg(n),Fo(n),null}case ve:{qd(n);var tn=n.memoizedState;if(tn===null)return Fo(n),null;var Gn=(n.flags&_t)!==Ft,Pn=tn.rendering;if(Pn===null)if(Gn)xm(tn,!1);else{var Yr=wD()&&(t===null||(t.flags&_t)===Ft);if(!Yr)for(var Nn=n.child;Nn!==null;){var jr=Cg(Nn);if(jr!==null){Gn=!0,n.flags|=_t,xm(tn,!1);var fa=jr.updateQueue;return fa!==null&&(n.updateQueue=fa,n.flags|=xn),n.subtreeFlags=Ft,fN(n,l),Au(n,ox(rl.current,lm)),n.child}Nn=Nn.sibling}tn.tail!==null&&Gr()>rR()&&(n.flags|=_t,Gn=!0,xm(tn,!1),n.lanes=dh)}else{if(!Gn){var zo=Cg(Pn);if(zo!==null){n.flags|=_t,Gn=!0;var oi=zo.updateQueue;if(oi!==null&&(n.updateQueue=oi,n.flags|=xn),xm(tn,!0),tn.tail===null&&tn.tailMode==="hidden"&&!Pn.alternate&&!_o())return Fo(n),null}else Gr()*2-tn.renderingStartTime>rR()&&l!==ra&&(n.flags|=_t,Gn=!0,xm(tn,!1),n.lanes=dh)}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=Gr(),Oa.sibling=null;var da=rl.current;return Gn?da=ox(da,lm):da=Yd(da),Au(n,da),Oa}return Fo(n),null}case we:break;case ue:case Se:{ES(n);var Hs=n.memoizedState,lp=Hs!==null;if(t!==null){var _m=t.memoizedState,Yl=_m!==null;Yl!==lp&&!oe&&(n.flags|=Dr)}return!lp||(n.mode&hn)===Vt?Fo(n):oa(Wl,ra)&&(Fo(n),n.subtreeFlags&(pr|xn)&&(n.flags|=Dr)),null}case Ee:return null;case ge: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 S2(t,n,l){switch(D1(n),n.tag){case S:{var u=n.type;Vl(u)&&eg(n);var h=n.flags;return h&Jr?(n.flags=h&~Jr|_t,(n.mode&$n)!==Vt&&Px(n),n):null}case w:{n.stateNode,Wd(n),A1(n),ix();var g=n.flags;return(g&Jr)!==Ft&&(g&_t)===Ft?(n.flags=g&~Jr|_t,n):null}case k:return nx(n),null;case N:{qd(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.");Bd()}var O=n.flags;return O&Jr?(n.flags=O&~Jr|_t,(n.mode&$n)!==Vt&&Px(n),n):null}case ve:return qd(n),null;case R:return Wd(n),null;case Y:var D=n.type._context;return Y1(D,n),null;case ue:case Se:return ES(n),null;case Ee:return null;default:return null}}function IT(t,n,l){switch(D1(n),n.tag){case S:{var u=n.type.childContextTypes;u!=null&&eg(n);break}case w:{n.stateNode,Wd(n),A1(n),ix();break}case k:{nx(n);break}case R:Wd(n);break;case N:qd(n);break;case ve:qd(n);break;case Y:var h=n.type._context;Y1(h,n);break;case ue:case Se:ES(n);break}}var FT=null;FT=new Set;var Wg=!1,Vo=!1,C2=typeof WeakSet=="function"?WeakSet:Set,Nt=null,ep=null,tp=null;function w2(t){Sl(null,function(){throw t}),ac()}var E2=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 VT(t,n){try{Nu(yo,t)}catch(l){lr(t,n,l)}}function sS(t,n,l){try{E2(t,l)}catch(u){lr(t,n,u)}}function T2(t,n,l){try{l.componentDidMount()}catch(u){lr(t,n,u)}}function jT(t,n){try{BT(t)}catch(l){lr(t,n,l)}}function np(t,n){var l=t.ref;if(l!==null)if(typeof l=="function"){var u;try{if(Oe&&He&&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 Yg(t,n,l){try{l()}catch(u){lr(t,n,u)}}var UT=!1;function R2(t,n){Fk(t.containerInfo),Nt=n,O2();var l=UT;return UT=!1,l}function O2(){for(;Nt!==null;){var t=Nt,n=t.child;(t.subtreeFlags&wl)!==Ft&&n!==null?(n.return=t,Nt=n):$2()}}function $2(){for(;Nt!==null;){var t=Nt;ir(t);try{A2(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 A2(t){var n=t.alternate,l=t.flags;if((l&Hr)!==Ft){switch(ir(t),t.tag){case b:case A:case X:break;case S:{if(n!==null){var u=n.memoizedProps,h=n.memoizedState,g=t.stateNode;t.type===t.elementType&&!Zc&&(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=FT;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;uP(D.containerInfo)}break}case k:case M:case R:case Ce: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&Io)!==Ba?qi(n):(t&yo)!==Ba&&sc(n),(t&jl)!==Ba&&Dm(!0),Yg(n,l,O),(t&jl)!==Ba&&Dm(!1),(t&Io)!==Ba?Ol():(t&yo)!==Ba&&ch())}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&Io)!==Ba?uh(n):(t&yo)!==Ba&&Yf(n);var C=g.create;(t&jl)!==Ba&&Dm(!0),g.destroy=C(),(t&jl)!==Ba&&Dm(!1),(t&Io)!==Ba?Zv():(t&yo)!==Ba&&Jv();{var O=g.destroy;if(O!==void 0&&typeof O!="function"){var D=void 0;(g.tag&yo)!==Ft?D="useLayoutEffect":(g.tag&jl)!==Ft?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),Xx[h]||(Xx[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";gm[C]||(d("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",C),gm[C]=!0)}if(typeof n.getDerivedStateFromProps=="function"){var O=Vn(n)||"Unknown";Qx[O]||(d("%s: Function components do not support getDerivedStateFromProps.",O),Qx[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 tS={dehydrated:null,treeContext:null,retryLane:En};function nS(t){return{baseLanes:t,cachePool:HN(),transitions:null}}function t2(t,n){var l=null;return{baseLanes:on(t.baseLanes,n),cachePool:l,transitions:t.transitions}}function n2(t,n,l,u){if(n!==null){var h=n.memoizedState;if(h===null)return!1}return rx(t,lm)}function r2(t,n){return Cc(t.childLanes,n)}function ET(t,n,l){var u=n.pendingProps;d6(n)&&(n.flags|=_t);var h=rl.current,g=!1,C=(n.flags&_t)!==Ft;if(C||n2(h,t)?(g=!0,n.flags&=~_t):(t===null||t.memoizedState!==null)&&(h=SN(h,PE)),h=Yd(h),Au(n,h),t===null){I1(n);var O=n.memoizedState;if(O!==null){var D=O.dehydrated;if(D!==null)return s2(n,D)}var H=u.children,Q=u.fallback;if(g){var he=o2(n,H,Q,l),de=n.child;return de.memoizedState=nS(l),n.memoizedState=tS,he}else return rS(n,H)}else{var Me=t.memoizedState;if(Me!==null){var Ie=Me.dehydrated;if(Ie!==null)return u2(t,n,C,u,Ie,Me,l)}if(g){var Ve=u.fallback,xt=u.children,Ut=i2(t,n,xt,Ve,l),Mt=n.child,wn=t.child.memoizedState;return Mt.memoizedState=wn===null?nS(l):t2(wn,l),Mt.childLanes=r2(t,l),n.memoizedState=tS,Ut}else{var gn=u.children,$e=a2(t,n,gn,l);return n.memoizedState=null,$e}}}function rS(t,n,l){var u=t.mode,h={mode:"visible",children:n},g=oS(h,u);return g.return=t,t.child=g,g}function o2(t,n,l,u){var h=t.mode,g=t.child,C={mode:"hidden",children:n},O,D;return(h&hn)===Vt&&g!==null?(O=g,O.childLanes=qe,O.pendingProps=C,t.mode&$n&&(O.actualDuration=0,O.actualStartTime=-1,O.selfBaseDuration=0,O.treeBaseDuration=0),D=Iu(l,h,u,null)):(O=oS(C,h),D=Iu(l,h,u,null)),O.return=t,D.return=t,O.sibling=D,t.child=O,D}function oS(t,n,l){return TR(t,n,qe,null)}function TT(t,n){return rf(t,n)}function a2(t,n,l,u){var h=t.child,g=h.sibling,C=TT(h,{mode:"visible",children:l});if((n.mode&hn)===Vt&&(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 i2(t,n,l,u,h){var g=n.mode,C=t.child,O=C.sibling,D={mode:"hidden",children:l},H;if((g&hn)===Vt&&n.child!==C){var Q=n.child;H=Q,H.childLanes=qe,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=TT(C,D),H.subtreeFlags=C.subtreeFlags&Mr;var he;return O!==null?he=rf(O,u):(he=Iu(u,g,h,null),he.flags|=pr),he.return=n,H.return=n,H.sibling=he,n.child=H,he}function Hg(t,n,l,u){u!==null&&F1(u),zd(n,t.child,null,l);var h=n.pendingProps,g=h.children,C=rS(n,g);return C.flags|=pr,n.memoizedState=null,C}function l2(t,n,l,u,h){var g=n.mode,C={mode:"visible",children:l},O=oS(C,g),D=Iu(u,g,h,null);return D.flags|=pr,O.return=n,D.return=n,O.sibling=D,n.child=O,(n.mode&hn)!==Vt&&zd(n,t.child,null,h),D}function s2(t,n,l){return(t.mode&hn)===Vt?(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):C1(n)?t.lanes=Ro:t.lanes=ra,null}function u2(t,n,l,u,h,g,C){if(l)if(n.flags&To){n.flags&=~To;var $e=Hx(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Hg(t,n,C,$e)}else{if(n.memoizedState!==null)return n.child=t.child,n.flags|=_t,null;var je=u.children,Ae=u.fallback,tt=l2(t,n,je,Ae,C),Rt=n.child;return Rt.memoizedState=nS(C),n.memoizedState=tS,tt}else{if(XP(),(n.mode&hn)===Vt)return Hg(t,n,C,null);if(C1(h)){var O,D,H;{var Q=pP(h);O=Q.digest,D=Q.message,H=Q.stack}var he;D?he=new Error(D):he=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var de=Hx(he,O,H);return Hg(t,n,C,de)}var Me=oa(C,t.childLanes);if(il||Me){var Ie=t0();if(Ie!==null){var Ve=Sh(Ie,C);if(Ve!==En&&Ve!==g.retryLane){g.retryLane=Ve;var xt=Kn;Ua(t,Ve),wo(Ie,t,Ve,xt)}}TS();var Ut=Hx(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 Hg(t,n,C,Ut)}else if(qw(h)){n.flags|=_t,n.child=t.child;var Mt=MD.bind(null,t);return hP(h,Mt),null}else{JP(n,h,g.treeContext);var wn=u.children,gn=rS(n,wn);return gn.flags|=Jo,gn}}}function RT(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 c2(t,n,l){for(var u=n;u!==null;){if(u.tag===N){var h=u.memoizedState;h!==null&&RT(u,l,t)}else if(u.tag===ve)RT(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 f2(t){for(var n=t,l=null;n!==null;){var u=n.alternate;u!==null&&Cg(u)===null&&(l=n),n=n.sibling}return l}function d2(t){if(t!==void 0&&t!=="forwards"&&t!=="backwards"&&t!=="together"&&!Kx[t])if(Kx[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 p2(t,n){t!==void 0&&!zg[t]&&(t!=="collapsed"&&t!=="hidden"?(zg[t]=!0,d('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',t)):n!=="forwards"&&n!=="backwards"&&(zg[t]=!0,d('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',t)))}function OT(t,n){{var l=co(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 h2(t,n){if((n==="forwards"||n==="backwards")&&t!==void 0&&t!==null&&t!==!1)if(co(t)){for(var l=0;l<t.length;l++)if(!OT(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(!OT(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 aS(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 $T(t,n,l){var u=n.pendingProps,h=u.revealOrder,g=u.tail,C=u.children;d2(h),p2(g,h),h2(C,h),wa(t,n,C,l);var O=rl.current,D=rx(O,lm);if(D)O=ox(O,lm),n.flags|=_t;else{var H=t!==null&&(t.flags&_t)!==Ft;H&&c2(n,n.child,l),O=Yd(O)}if(Au(n,O),(n.mode&hn)===Vt)n.memoizedState=null;else switch(h){case"forwards":{var Q=f2(n.child),he;Q===null?(he=n.child,n.child=null):(he=Q.sibling,Q.sibling=null),aS(n,!1,he,Q,g);break}case"backwards":{var de=null,Me=n.child;for(n.child=null;Me!==null;){var Ie=Me.alternate;if(Ie!==null&&Cg(Ie)===null){n.child=Me;break}var Ve=Me.sibling;Me.sibling=de,de=Me,Me=Ve}aS(n,!0,de,null,g);break}case"together":{aS(n,!1,null,null,void 0);break}default:n.memoizedState=null}return n.child}function m2(t,n,l){ex(n,n.stateNode.containerInfo);var u=n.pendingProps;return t===null?n.child=zd(n,null,u,l):wa(t,n,u,l),n.child}var AT=!1;function v2(t,n,l){var u=n.type,h=u._context,g=n.pendingProps,C=n.memoizedProps,O=g.value;{"value"in g||AT||(AT=!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(SE(n,h,O),C!==null){var H=C.value;if(Ze(H,O)){if(C.children===g.children&&!Jy())return Vs(t,n,l)}else dN(n,h,l)}var Q=g.children;return wa(t,n,Q,l),n.child}var kT=!1;function y2(t,n,l){var u=n.type;u._context===void 0?u!==u.Consumer&&(kT||(kT=!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."),Gd(n,l);var C=ro(u);ba(n);var O;return vm.current=n,uo(!0),O=g(C),uo(!1),xa(),n.flags|=Ka,wa(t,n,O,l),n.child}function bm(){il=!0}function Gg(t,n){(n.mode&hn)===Vt&&t!==null&&(t.alternate=null,n.alternate=null,n.flags|=pr)}function Vs(t,n,l){return t!==null&&(n.dependencies=t.dependencies),aT(),Pm(n.lanes),oa(l,n.childLanes)?(cN(t,n),n.child):null}function g2(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 iS(t,n){var l=t.lanes;return!!oa(l,n)}function b2(t,n,l){switch(n.tag){case w:CT(n),n.stateNode,Bd();break;case k:AE(n);break;case S:{var u=n.type;Vl(u)&&tg(n);break}case R:ex(n,n.stateNode.containerInfo);break;case W:{var h=n.memoizedProps.value,g=n.type._context;SE(n,g,h);break}case _:{var C=oa(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,Yd(rl.current)),n.flags|=_t,null;var H=n.child,Q=H.childLanes;if(oa(l,Q))return ET(t,n,l);Au(n,Yd(rl.current));var he=Vs(t,n,l);return he!==null?he.sibling:null}else Au(n,Yd(rl.current));break}case ve:{var de=(t.flags&_t)!==Ft,Me=oa(l,n.childLanes);if(de){if(Me)return $T(t,n,l);n.flags|=_t}var Ie=n.memoizedState;if(Ie!==null&&(Ie.rendering=null,Ie.tail=null,Ie.lastEffect=null),Au(n,rl.current),Me)break;return null}case ce:case Se:return n.lanes=qe,bT(t,n,l)}return Vs(t,n,l)}function PT(t,n,l){if(n._debugNeedsRemount&&t!==null)return g2(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||Jy()||n.type!==t.type)il=!0;else{var g=iS(t,l);if(!g&&(n.flags&_t)===Ft)return il=!1,b2(t,n,l);(t.flags&Uf)!==Ft?il=!0:il=!1}}else if(il=!1,_o()&&HP(n)){var C=n.index,O=GP();aE(n,O,C)}switch(n.lanes=qe,n.tag){case T:return e2(t,n,n.type,l);case fe:{var D=n.elementType;return ZN(t,n,D,l)}case b:{var H=n.type,Q=n.pendingProps,he=n.elementType===H?Q:al(H,Q);return Zx(t,n,H,he,l)}case S:{var de=n.type,Me=n.pendingProps,Ie=n.elementType===de?Me:al(de,Me);return ST(t,n,de,Ie,l)}case w:return QN(t,n,l);case k:return XN(t,n,l);case M:return KN(t,n);case N:return ET(t,n,l);case R:return m2(t,n,l);case A:{var Ve=n.type,xt=n.pendingProps,Ut=n.elementType===Ve?xt:al(Ve,xt);return vT(t,n,Ve,Ut,l)}case P:return WN(t,n,l);case U:return YN(t,n,l);case _:return qN(t,n,l);case W:return v2(t,n,l);case G:return y2(t,n,l);case z:{var Mt=n.type,wn=n.pendingProps,gn=al(Mt,wn);if(n.type!==n.elementType){var $e=Mt.propTypes;$e&&el($e,gn,"prop",Vn(Mt))}return gn=al(Mt.type,gn),yT(t,n,Mt,gn,l)}case X:return gT(t,n,n.type,n.pendingProps,l);case Ce:{var je=n.type,Ae=n.pendingProps,tt=n.elementType===je?Ae:al(je,Ae);return JN(t,n,je,tt,l)}case ve:return $T(t,n,l);case we:break;case ce:return bT(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 Jd(t){t.flags|=xn}function NT(t){t.flags|=xr,t.flags|=su}var DT,lS,MT,LT;DT=function(t,n,l,u){for(var h=n.child;h!==null;){if(h.tag===k||h.tag===M)Uk(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}},lS=function(t,n){},MT=function(t,n,l,u,h){var g=t.memoizedProps;if(g!==u){var C=n.stateNode,O=tx(),D=zk(C,l,g,u,h,O);n.updateQueue=D,D&&Jd(n)}},LT=function(t,n,l,u){l!==u&&Jd(n)};function xm(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 Fo(t){var n=t.alternate!==null&&t.alternate.child===t.child,l=qe,u=Ft;if(n){if((t.mode&$n)!==Vt){for(var D=t.selfBaseDuration,H=t.child;H!==null;)l=on(l,on(H.lanes,H.childLanes)),u|=H.subtreeFlags&Mr,u|=H.flags&Mr,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&Mr,u|=Q.flags&Mr,Q.return=t,Q=Q.sibling;t.subtreeFlags|=u}else{if((t.mode&$n)!==Vt){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 x2(t,n,l){if(oN()&&(n.mode&hn)!==Vt&&(n.flags&_t)===Ft)return dE(n),Bd(),n.flags|=To|ic|Jr,!1;var u=ig(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(nN(n),Fo(n),(n.mode&$n)!==Vt){var h=l!==null;if(h){var g=n.child;g!==null&&(n.treeBaseDuration-=g.treeBaseDuration)}}return!1}else{if(Bd(),(n.flags&_t)===Ft&&(n.memoizedState=null),n.flags|=xn,Fo(n),(n.mode&$n)!==Vt){var C=l!==null;if(C){var O=n.child;O!==null&&(n.treeBaseDuration-=O.treeBaseDuration)}}return!1}else return pE(),!0}function _T(t,n,l){var u=n.pendingProps;switch(D1(n),n.tag){case T:case fe:case X:case b:case A:case P:case U:case _:case G:case z:return Fo(n),null;case S:{var h=n.type;return Vl(h)&&eg(n),Fo(n),null}case w:{var g=n.stateNode;if(Wd(n),A1(n),ix(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),t===null||t.child===null){var C=ig(n);if(C)Jd(n);else if(t!==null){var O=t.memoizedState;(!O.isDehydrated||(n.flags&To)!==Ft)&&(n.flags|=Hr,pE())}}return lS(t,n),Fo(n),null}case k:{nx(n);var D=$E(),H=n.type;if(t!==null&&n.stateNode!=null)MT(t,n,H,u,D),t.ref!==n.ref&&NT(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 Fo(n),null}var Q=tx(),he=ig(n);if(he)eN(n,D,Q)&&Jd(n);else{var de=jk(H,u,D,Q,n);DT(de,n,!1,!1),n.stateNode=de,Bk(de,H,u,D)&&Jd(n)}n.ref!==null&&NT(n)}return Fo(n),null}case M:{var Me=u;if(t&&n.stateNode!=null){var Ie=t.memoizedProps;LT(t,n,Ie,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 Ve=$E(),xt=tx(),Ut=ig(n);Ut?tN(n)&&Jd(n):n.stateNode=Hk(Me,Ve,xt,n)}return Fo(n),null}case N:{qd(n);var Mt=n.memoizedState;if(t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){var wn=x2(t,n,Mt);if(!wn)return n.flags&Jr?n:null}if((n.flags&_t)!==Ft)return n.lanes=l,(n.mode&$n)!==Vt&&Px(n),n;var gn=Mt!==null,$e=t!==null&&t.memoizedState!==null;if(gn!==$e&&gn){var je=n.child;if(je.flags|=Dr,(n.mode&hn)!==Vt){var Ae=t===null&&(n.memoizedProps.unstable_avoidThisFallback!==!0||!0);Ae||rx(rl.current,PE)?SD():TS()}}var tt=n.updateQueue;if(tt!==null&&(n.flags|=xn),Fo(n),(n.mode&$n)!==Vt&&gn){var Rt=n.child;Rt!==null&&(n.treeBaseDuration-=Rt.treeBaseDuration)}return null}case R:return Wd(n),lS(t,n),t===null&&IP(n.stateNode.containerInfo),Fo(n),null;case W:var St=n.type._context;return Y1(St,n),Fo(n),null;case Ce:{var Qt=n.type;return Vl(Qt)&&eg(n),Fo(n),null}case ve:{qd(n);var tn=n.memoizedState;if(tn===null)return Fo(n),null;var Gn=(n.flags&_t)!==Ft,Pn=tn.rendering;if(Pn===null)if(Gn)xm(tn,!1);else{var Yr=wD()&&(t===null||(t.flags&_t)===Ft);if(!Yr)for(var Nn=n.child;Nn!==null;){var jr=Cg(Nn);if(jr!==null){Gn=!0,n.flags|=_t,xm(tn,!1);var fa=jr.updateQueue;return fa!==null&&(n.updateQueue=fa,n.flags|=xn),n.subtreeFlags=Ft,fN(n,l),Au(n,ox(rl.current,lm)),n.child}Nn=Nn.sibling}tn.tail!==null&&Gr()>rR()&&(n.flags|=_t,Gn=!0,xm(tn,!1),n.lanes=dh)}else{if(!Gn){var zo=Cg(Pn);if(zo!==null){n.flags|=_t,Gn=!0;var oi=zo.updateQueue;if(oi!==null&&(n.updateQueue=oi,n.flags|=xn),xm(tn,!0),tn.tail===null&&tn.tailMode==="hidden"&&!Pn.alternate&&!_o())return Fo(n),null}else Gr()*2-tn.renderingStartTime>rR()&&l!==ra&&(n.flags|=_t,Gn=!0,xm(tn,!1),n.lanes=dh)}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=Gr(),Oa.sibling=null;var da=rl.current;return Gn?da=ox(da,lm):da=Yd(da),Au(n,da),Oa}return Fo(n),null}case we:break;case ce:case Se:{ES(n);var Hs=n.memoizedState,lp=Hs!==null;if(t!==null){var _m=t.memoizedState,Yl=_m!==null;Yl!==lp&&!oe&&(n.flags|=Dr)}return!lp||(n.mode&hn)===Vt?Fo(n):oa(Wl,ra)&&(Fo(n),n.subtreeFlags&(pr|xn)&&(n.flags|=Dr)),null}case Ee:return null;case ge: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 S2(t,n,l){switch(D1(n),n.tag){case S:{var u=n.type;Vl(u)&&eg(n);var h=n.flags;return h&Jr?(n.flags=h&~Jr|_t,(n.mode&$n)!==Vt&&Px(n),n):null}case w:{n.stateNode,Wd(n),A1(n),ix();var g=n.flags;return(g&Jr)!==Ft&&(g&_t)===Ft?(n.flags=g&~Jr|_t,n):null}case k:return nx(n),null;case N:{qd(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.");Bd()}var O=n.flags;return O&Jr?(n.flags=O&~Jr|_t,(n.mode&$n)!==Vt&&Px(n),n):null}case ve:return qd(n),null;case R:return Wd(n),null;case W:var D=n.type._context;return Y1(D,n),null;case ce:case Se:return ES(n),null;case Ee:return null;default:return null}}function IT(t,n,l){switch(D1(n),n.tag){case S:{var u=n.type.childContextTypes;u!=null&&eg(n);break}case w:{n.stateNode,Wd(n),A1(n),ix();break}case k:{nx(n);break}case R:Wd(n);break;case N:qd(n);break;case ve:qd(n);break;case W:var h=n.type._context;Y1(h,n);break;case ce:case Se:ES(n);break}}var FT=null;FT=new Set;var Wg=!1,Vo=!1,C2=typeof WeakSet=="function"?WeakSet:Set,Nt=null,ep=null,tp=null;function w2(t){Sl(null,function(){throw t}),ac()}var E2=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 VT(t,n){try{Nu(yo,t)}catch(l){lr(t,n,l)}}function sS(t,n,l){try{E2(t,l)}catch(u){lr(t,n,u)}}function T2(t,n,l){try{l.componentDidMount()}catch(u){lr(t,n,u)}}function jT(t,n){try{BT(t)}catch(l){lr(t,n,l)}}function np(t,n){var l=t.ref;if(l!==null)if(typeof l=="function"){var u;try{if(Oe&&He&&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 Yg(t,n,l){try{l()}catch(u){lr(t,n,u)}}var UT=!1;function R2(t,n){Fk(t.containerInfo),Nt=n,O2();var l=UT;return UT=!1,l}function O2(){for(;Nt!==null;){var t=Nt,n=t.child;(t.subtreeFlags&wl)!==Ft&&n!==null?(n.return=t,Nt=n):$2()}}function $2(){for(;Nt!==null;){var t=Nt;ir(t);try{A2(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 A2(t){var n=t.alternate,l=t.flags;if((l&Hr)!==Ft){switch(ir(t),t.tag){case b:case A:case X:break;case S:{if(n!==null){var u=n.memoizedProps,h=n.memoizedState,g=t.stateNode;t.type===t.elementType&&!Zc&&(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=FT;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;uP(D.containerInfo)}break}case k:case M:case R:case Ce: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&Io)!==Ba?qi(n):(t&yo)!==Ba&&sc(n),(t&jl)!==Ba&&Dm(!0),Yg(n,l,O),(t&jl)!==Ba&&Dm(!1),(t&Io)!==Ba?Ol():(t&yo)!==Ba&&ch())}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&Io)!==Ba?uh(n):(t&yo)!==Ba&&Yf(n);var C=g.create;(t&jl)!==Ba&&Dm(!0),g.destroy=C(),(t&jl)!==Ba&&Dm(!1),(t&Io)!==Ba?Zv():(t&yo)!==Ba&&Jv();{var O=g.destroy;if(O!==void 0&&typeof O!="function"){var D=void 0;(g.tag&yo)!==Ft?D="useLayoutEffect":(g.tag&jl)!==Ft?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,7 +2815,7 @@ 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 k2(t,n){if((n.flags&xn)!==Ft)switch(n.tag){case _:{var l=n.stateNode.passiveEffectDuration,u=n.memoizedProps,h=u.id,g=u.onPostCommit,C=rT(),O=n.alternate===null?"mount":"update";nT()&&(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 _:var Q=D.stateNode;Q.passiveEffectDuration+=l;break e}D=D.return}break}}}function P2(t,n,l,u){if((l.flags&Tl)!==Ft)switch(l.tag){case b:case A:case X:{if(!Vo)if(l.mode&$n)try{Hl(),Nu(yo|vo,l)}finally{zl(l)}else Nu(yo|vo,l);break}case S:{var h=l.stateNode;if(l.flags&xn&&!Vo)if(n===null)if(l.type===l.elementType&&!Zc&&(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&&!Zc&&(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&&!Zc&&(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")),OE(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 k:H=l.child.stateNode;break;case S:H=l.child.stateNode;break}OE(l,D,H)}break}case k:{var Q=l.stateNode;if(n===null&&l.flags&xn){var he=l.type,de=l.memoizedProps;Qk(Q,he,de)}break}case M:break;case R:break;case _:{{var Me=l.memoizedProps,Ie=Me.onCommit,Ve=Me.onRender,xt=l.stateNode.effectDuration,Ut=rT(),Mt=n===null?"mount":"update";nT()&&(Mt="nested-update"),typeof Ve=="function"&&Ve(l.memoizedProps.id,Mt,l.actualDuration,l.treeBaseDuration,l.actualStartTime,Ut);{typeof Ie=="function"&&Ie(l.memoizedProps.id,Mt,xt,Ut),$D(l);var wn=l.return;e:for(;wn!==null;){switch(wn.tag){case w:var gn=wn.stateNode;gn.effectDuration+=xt;break e;case _:var $e=wn.stateNode;$e.effectDuration+=xt;break e}wn=wn.return}}}break}case N:{V2(t,l);break}case ve:case Ce:case we:case ue:case Se: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.")}Vo||l.flags&xr&&BT(l)}function N2(t){switch(t.tag){case b:case A:case X:{if(t.mode&$n)try{Hl(),VT(t,t.return)}finally{zl(t)}else VT(t,t.return);break}case S:{var n=t.stateNode;typeof n.componentDidMount=="function"&&T2(t,t.return,n),jT(t,t.return);break}case k:{jT(t,t.return);break}}}function D2(t,n){for(var l=null,u=t;;){if(u.tag===k){if(l===null){l=u;try{var h=u.stateNode;n?aP(h):lP(u.stateNode,u.memoizedProps)}catch(C){lr(t,t.return,C)}}}else if(u.tag===M){if(l===null)try{var g=u.stateNode;n?iP(g):sP(g,u.memoizedProps)}catch(C){lr(t,t.return,C)}}else if(!((u.tag===ue||u.tag===Se)&&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 BT(t){var n=t.ref;if(n!==null){var l=t.stateNode,u;switch(t.tag){case k: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 M2(t){var n=t.alternate;n!==null&&(n.return=null),t.return=null}function zT(t){var n=t.alternate;n!==null&&(t.alternate=null,zT(n));{if(t.child=null,t.deletions=null,t.sibling=null,t.tag===k){var l=t.stateNode;l!==null&&jP(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 L2(t){for(var n=t.return;n!==null;){if(HT(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 HT(t){return t.tag===k||t.tag===w||t.tag===R}function GT(t){var n=t;e:for(;;){for(;n.sibling===null;){if(n.return===null||HT(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==k&&n.tag!==M&&n.tag!==V;){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 _2(t){var n=L2(t);switch(n.tag){case k:{var l=n.stateNode;n.flags&Na&&(Yw(l),n.flags&=~Na);var u=GT(t);cS(t,u,l);break}case w:case R:{var h=n.stateNode.containerInfo,g=GT(t);uS(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 uS(t,n,l){var u=t.tag,h=u===k||u===M;if(h){var g=t.stateNode;n?tP(l,g,n):Jk(l,g)}else if(u!==R){var C=t.child;if(C!==null){uS(C,n,l);for(var O=C.sibling;O!==null;)uS(O,n,l),O=O.sibling}}}function cS(t,n,l){var u=t.tag,h=u===k||u===M;if(h){var g=t.stateNode;n?eP(l,g,n):Zk(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}}}var jo=null,sl=!1;function I2(t,n,l){{var u=n;e:for(;u!==null;){switch(u.tag){case k:{jo=u.stateNode,sl=!1;break e}case w:{jo=u.stateNode.containerInfo,sl=!0;break e}case R:{jo=u.stateNode.containerInfo,sl=!0;break e}}u=u.return}if(jo===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");WT(t,n,l),jo=null,sl=!1}M2(l)}function Du(t,n,l){for(var u=l.child;u!==null;)WT(t,n,u),u=u.sibling}function WT(t,n,l){switch(ih(l),l.tag){case k:Vo||np(l,n);case M:{{var u=jo,h=sl;jo=null,Du(t,n,l),jo=u,sl=h,jo!==null&&(sl?rP(jo,l.stateNode):nP(jo,l.stateNode))}return}case V:{jo!==null&&(sl?oP(jo,l.stateNode):S1(jo,l.stateNode));return}case R:{{var g=jo,C=sl;jo=l.stateNode.containerInfo,sl=!0,Du(t,n,l),jo=g,sl=C}return}case b:case A:case z:case X:{if(!Vo){var O=l.updateQueue;if(O!==null){var D=O.lastEffect;if(D!==null){var H=D.next,Q=H;do{var he=Q,de=he.destroy,Me=he.tag;de!==void 0&&((Me&jl)!==Ba?Yg(l,n,de):(Me&yo)!==Ba&&(sc(l),l.mode&$n?(Hl(),Yg(l,n,de),zl(l)):Yg(l,n,de),ch())),Q=Q.next}while(Q!==H)}}}Du(t,n,l);return}case S:{if(!Vo){np(l,n);var Ie=l.stateNode;typeof Ie.componentWillUnmount=="function"&&sS(l,n,Ie)}Du(t,n,l);return}case we:{Du(t,n,l);return}case ue:{if(l.mode&hn){var Ve=Vo;Vo=Ve||l.memoizedState!==null,Du(t,n,l),Vo=Ve}else Du(t,n,l);break}default:{Du(t,n,l);return}}}function F2(t){t.memoizedState}function V2(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&&wP(g)}}}}function YT(t){var n=t.updateQueue;if(n!==null){t.updateQueue=null;var l=t.stateNode;l===null&&(l=t.stateNode=new C2),n.forEach(function(u){var h=LD.bind(null,t,u);if(!l.has(u)){if(l.add(u),na)if(ep!==null&&tp!==null)Nm(tp,ep);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(h,h)}})}}function j2(t,n,l){ep=l,tp=t,ir(n),qT(n,t),ir(n),ep=null,tp=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{I2(t,n,g)}catch(D){lr(g,n,D)}}var C=zu();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 A:case z:case X:{if(ul(n,t),Gl(t),h&xn){try{ll(jl|vo,t,t.return),Nu(jl|vo,t)}catch(Qt){lr(t,t.return,Qt)}if(t.mode&$n){try{Hl(),ll(yo|vo,t,t.return)}catch(Qt){lr(t,t.return,Qt)}zl(t)}else try{ll(yo|vo,t,t.return)}catch(Qt){lr(t,t.return,Qt)}}return}case S:{ul(n,t),Gl(t),h&xr&&u!==null&&np(u,u.return);return}case k:{ul(n,t),Gl(t),h&xr&&u!==null&&np(u,u.return);{if(t.flags&Na){var g=t.stateNode;try{Yw(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{Xk(C,Q,H,D,O,t)}catch(Qt){lr(t,t.return,Qt)}}}}return}case M:{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 he=t.stateNode,de=t.memoizedProps,Me=u!==null?u.memoizedProps:de;try{Kk(he,Me,de)}catch(Qt){lr(t,t.return,Qt)}}return}case w:{if(ul(n,t),Gl(t),h&xn&&u!==null){var Ie=u.memoizedState;if(Ie.isDehydrated)try{CP(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 Ve=t.child;if(Ve.flags&Dr){var xt=Ve.stateNode,Ut=Ve.memoizedState,Mt=Ut!==null;if(xt.isHidden=Mt,Mt){var wn=Ve.alternate!==null&&Ve.alternate.memoizedState!==null;wn||xD()}}if(h&xn){try{F2(t)}catch(Qt){lr(t,t.return,Qt)}YT(t)}return}case ue:{var gn=u!==null&&u.memoizedState!==null;if(t.mode&hn){var $e=Vo;Vo=$e||gn,ul(n,t),Vo=$e}else ul(n,t);if(Gl(t),h&Dr){var je=t.stateNode,Ae=t.memoizedState,tt=Ae!==null,Rt=t;if(je.isHidden=tt,tt&&!gn&&(Rt.mode&hn)!==Vt){Nt=Rt;for(var St=Rt.child;St!==null;)Nt=St,B2(St),St=St.sibling}D2(Rt,tt)}return}case ve:{ul(n,t),Gl(t),h&xn&&YT(t);return}case we:return;default:{ul(n,t),Gl(t);return}}}function Gl(t){var n=t.flags;if(n&pr){try{_2(t)}catch(l){lr(t,t.return,l)}t.flags&=~pr}n&Jo&&(t.flags&=~Jo)}function U2(t,n,l){ep=l,tp=n,Nt=t,QT(t,n,l),ep=null,tp=null}function QT(t,n,l){for(var u=(t.mode&hn)!==Vt;Nt!==null;){var h=Nt,g=h.child;if(h.tag===ue&&u){var C=h.memoizedState!==null,O=C||Wg;if(O){fS(t,n,l);continue}else{var D=h.alternate,H=D!==null&&D.memoizedState!==null,Q=H||Vo,he=Wg,de=Vo;Wg=O,Vo=Q,Vo&&!de&&(Nt=h,z2(h));for(var Me=g;Me!==null;)Nt=Me,QT(Me,n,l),Me=Me.sibling;Nt=h,Wg=he,Vo=de,fS(t,n,l);continue}}(h.subtreeFlags&Tl)!==Ft&&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)!==Ft){var h=u.alternate;ir(u);try{P2(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 B2(t){for(;Nt!==null;){var n=Nt,l=n.child;switch(n.tag){case b:case A:case z:case X:{if(n.mode&$n)try{Hl(),ll(yo,n,n.return)}finally{zl(n)}else ll(yo,n,n.return);break}case S:{np(n,n.return);var u=n.stateNode;typeof u.componentWillUnmount=="function"&&sS(n,n.return,u);break}case k:{np(n,n.return);break}case ue:{var h=n.memoizedState!==null;if(h){XT(t);continue}break}}l!==null?(l.return=n,Nt=l):XT(t)}}function XT(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 z2(t){for(;Nt!==null;){var n=Nt,l=n.child;if(n.tag===ue){var u=n.memoizedState!==null;if(u){KT(t);continue}}l!==null?(l.return=n,Nt=l):KT(t)}}function KT(t){for(;Nt!==null;){var n=Nt;ir(n);try{N2(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 H2(t,n,l,u){Nt=n,G2(n,t,l,u)}function G2(t,n,l,u){for(;Nt!==null;){var h=Nt,g=h.child;(h.subtreeFlags&Wi)!==Ft&&g!==null?(g.return=h,Nt=g):W2(t,n,l,u)}}function W2(t,n,l,u){for(;Nt!==null;){var h=Nt;if((h.flags&Zo)!==Ft){ir(h);try{Y2(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 Y2(t,n,l,u){switch(n.tag){case b:case A:case X:{if(n.mode&$n){kx();try{Nu(Io|vo,n)}finally{Ax(n)}}else Nu(Io|vo,n);break}}}function q2(t){Nt=t,Q2()}function Q2(){for(;Nt!==null;){var t=Nt,n=t.child;if((Nt.flags&Pa)!==Ft){var l=t.deletions;if(l!==null){for(var u=0;u<l.length;u++){var h=l[u];Nt=h,Z2(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)!==Ft&&n!==null?(n.return=t,Nt=n):X2()}}function X2(){for(;Nt!==null;){var t=Nt;(t.flags&Zo)!==Ft&&(ir(t),K2(t),br());var n=t.sibling;if(n!==null){n.return=t.return,Nt=n;return}Nt=t.return}}function K2(t){switch(t.tag){case b:case A:case X:{t.mode&$n?(kx(),ll(Io|vo,t,t.return),Ax(t)):ll(Io|vo,t,t.return);break}}}function Z2(t,n){for(;Nt!==null;){var l=Nt;ir(l),eD(l,n),br();var u=l.child;u!==null?(u.return=l,Nt=u):J2(t)}}function J2(t){for(;Nt!==null;){var n=Nt,l=n.sibling,u=n.return;if(zT(n),n===t){Nt=null;return}if(l!==null){l.return=u,Nt=l;return}Nt=u}}function eD(t,n){switch(t.tag){case b:case A:case X:{t.mode&$n?(kx(),ll(Io,t,n),Ax(t)):ll(Io,t,n);break}}}function tD(t){switch(t.tag){case b:case A:case X:{try{Nu(yo|vo,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 nD(t){switch(t.tag){case b:case A:case X:{try{Nu(Io|vo,t)}catch(n){lr(t,t.return,n)}break}}}function rD(t){switch(t.tag){case b:case A:case X:{try{ll(yo|vo,t,t.return)}catch(l){lr(t,t.return,l)}break}case S:{var n=t.stateNode;typeof n.componentWillUnmount=="function"&&sS(t,t.return,n);break}}}function oD(t){switch(t.tag){case b:case A:case X:try{ll(Io|vo,t,t.return)}catch(n){lr(t,t.return,n)}}}if(typeof Symbol=="function"&&Symbol.for){var Sm=Symbol.for;Sm("selector.component"),Sm("selector.has_pseudo_class"),Sm("selector.role"),Sm("selector.test_id"),Sm("selector.text")}var aD=[];function iD(){aD.forEach(function(t){return t()})}var lD=i.ReactCurrentActQueue;function sD(t){{var n=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,l=typeof jest<"u";return l&&n!==!1}}function ZT(){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!t&&lD.current!==null&&d("The current testing environment is not configured to support act(...)"),t}}var uD=Math.ceil,dS=i.ReactCurrentDispatcher,pS=i.ReactCurrentOwner,Uo=i.ReactCurrentBatchConfig,cl=i.ReactCurrentActQueue,xo=0,JT=1,Bo=2,Pi=4,js=0,Cm=1,Jc=2,qg=3,wm=4,eR=5,hS=6,Cn=xo,Ea=null,Pr=null,So=qe,Wl=qe,mS=wu(qe),Co=js,Em=null,Qg=qe,Tm=qe,Xg=qe,Rm=null,za=null,vS=0,tR=500,nR=1/0,cD=500,Us=null;function Om(){nR=Gr()+cD}function rR(){return nR}var Kg=!1,yS=null,rp=null,ef=!1,Mu=null,$m=qe,gS=[],bS=null,fD=50,Am=0,xS=null,SS=!1,Zg=!1,dD=50,op=0,Jg=null,km=Kn,e0=qe,oR=!1;function t0(){return Ea}function Ta(){return(Cn&(Bo|Pi))!==xo?Gr():(km!==Kn||(km=Gr()),km)}function Lu(t){var n=t.mode;if((n&hn)===Vt)return qt;if((Cn&Bo)!==xo&&So!==qe)return Sc(So);var l=lN()!==iN;if(l){if(Uo.transition!==null){var u=Uo.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(t)}return e0===En&&(e0=gh()),e0}var h=Fa();if(h!==En)return h;var g=Gk();return g}function pD(t){var n=t.mode;return(n&hn)===Vt?qt:ay()}function wo(t,n,l,u){ID(),oR&&d("useInsertionEffect must not schedule updates."),SS&&(Zg=!0),du(t,l,u),(Cn&Bo)!==qe&&t===Ea?jD(n):(na&&Ec(t,n,l),UD(n),t===Ea&&((Cn&Bo)===xo&&(Tm=on(Tm,l)),Co===wm&&_u(t,So)),Ha(t,u),l===qt&&Cn===xo&&(n.mode&hn)===Vt&&!cl.isBatchingLegacy&&(Om(),oE()))}function hD(t,n,l){var u=t.current;u.lanes=n,du(t,n,l),Ha(t,l)}function mD(t){return(Cn&Bo)!==xo}function Ha(t,n){var l=t.callbackNode;pd(t,n);var u=dd(t,t===Ea?So:qe);if(u===qe){l!==null&&xR(l),t.callbackNode=null,t.callbackPriority=En;return}var h=kl(u),g=t.callbackPriority;if(g===h&&!(cl.current!==null&&l!==$S)){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&&xR(l);var C;if(h===qt)t.tag===Eu?(cl.isBatchingLegacy!==null&&(cl.didScheduleLegacyUpdate=!0),zP(lR.bind(null,t))):rE(lR.bind(null,t)),cl.current!==null?cl.current.push(Tu):Yk(function(){(Cn&(Bo|Pi))===xo&&Tu()}),C=null;else{var O;switch(dy(u)){case Po:O=lc;break;case Si:O=Rl;break;case _a:O=Yi;break;case Ia:O=hs;break;default:O=Yi;break}C=AS(O,aR.bind(null,t))}t.callbackPriority=h,t.callbackNode=C}function aR(t,n){if(DN(),km=Kn,e0=qe,(Cn&(Bo|Pi))!==xo)throw new Error("Should not already be working.");var l=t.callbackNode,u=zs();if(u&&t.callbackNode!==l)return null;var h=dd(t,t===Ea?So:qe);if(h===qe)return null;var g=!md(t,h)&&!oy(t,h)&&!n,C=g?TD(t,h):r0(t,h);if(C!==js){if(C===Jc){var O=hd(t);O!==qe&&(h=O,C=CS(t,O))}if(C===Cm){var D=Em;throw tf(t,qe),_u(t,h),Ha(t,Gr()),D}if(C===hS)_u(t,h);else{var H=!md(t,h),Q=t.current.alternate;if(H&&!yD(Q)){if(C=r0(t,h),C===Jc){var he=hd(t);he!==qe&&(h=he,C=CS(t,he))}if(C===Cm){var de=Em;throw tf(t,qe),_u(t,h),Ha(t,Gr()),de}}t.finishedWork=Q,t.finishedLanes=h,vD(t,C,h)}}return Ha(t,Gr()),t.callbackNode===l?aR.bind(null,t):null}function CS(t,n){var l=Rm;if(gd(t)){var u=tf(t,n);u.flags|=To,_P(t.containerInfo)}var h=r0(t,n);if(h!==Jc){var g=za;za=l,g!==null&&iR(g)}return h}function iR(t){za===null?za=t:za.push.apply(za,t)}function vD(t,n,l){switch(n){case js:case Cm:throw new Error("Root did not complete. This is a bug in React.");case Jc:{nf(t,za,Us);break}case qg:{if(_u(t,l),Ts(l)&&!SR()){var u=vS+tR-Gr();if(u>10){var h=dd(t,qe);if(h!==qe)break;var g=t.suspendedLanes;if(!Rs(g,l)){Ta(),vd(t,g);break}t.timeoutHandle=b1(nf.bind(null,t,za,Us),u);break}}nf(t,za,Us);break}case wm:{if(_u(t,l),vh(l))break;if(!SR()){var C=Ja(t,l),O=C,D=Gr()-O,H=_D(D)-D;if(H>10){t.timeoutHandle=b1(nf.bind(null,t,za,Us),H);break}}nf(t,za,Us);break}case eR:{nf(t,za,Us);break}default:throw new Error("Unknown root exit status.")}}function yD(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(!Ze(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 _u(t,n){n=Cc(n,Xg),n=Cc(n,Tm),sy(t,n)}function lR(t){if(MN(),(Cn&(Bo|Pi))!==xo)throw new Error("Should not already be working.");zs();var n=dd(t,qe);if(!oa(n,qt))return Ha(t,Gr()),null;var l=r0(t,n);if(t.tag!==Eu&&l===Jc){var u=hd(t);u!==qe&&(n=u,l=CS(t,u))}if(l===Cm){var h=Em;throw tf(t,qe),_u(t,n),Ha(t,Gr()),h}if(l===hS)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,nf(t,za,Us),Ha(t,Gr()),null}function gD(t,n){n!==qe&&(yd(t,on(n,qt)),Ha(t,Gr()),(Cn&(Bo|Pi))===xo&&(Om(),Tu()))}function wS(t,n){var l=Cn;Cn|=JT;try{return t(n)}finally{Cn=l,Cn===xo&&!cl.isBatchingLegacy&&(Om(),oE())}}function bD(t,n,l,u,h){var g=Fa(),C=Uo.transition;try{return Uo.transition=null,Ir(Po),t(n,l,u,h)}finally{Ir(g),Uo.transition=C,Cn===xo&&Om()}}function Bs(t){Mu!==null&&Mu.tag===Eu&&(Cn&(Bo|Pi))===xo&&zs();var n=Cn;Cn|=JT;var l=Uo.transition,u=Fa();try{return Uo.transition=null,Ir(Po),t?t():void 0}finally{Ir(u),Uo.transition=l,Cn=n,(Cn&(Bo|Pi))===xo&&Tu()}}function sR(){return(Cn&(Bo|Pi))!==xo}function n0(t,n){ua(mS,Wl,t),Wl=on(Wl,n)}function ES(t){Wl=mS.current,sa(mS,t)}function tf(t,n){t.finishedWork=null,t.finishedLanes=qe;var l=t.timeoutHandle;if(l!==x1&&(t.timeoutHandle=x1,Wk(l)),Pr!==null)for(var u=Pr.return;u!==null;){var h=u.alternate;IT(h,u),u=u.return}Ea=t;var g=rf(t.current,null);return Pr=g,So=Wl=n,Co=js,Em=null,Qg=qe,Tm=qe,Xg=qe,Rm=null,za=null,hN(),nl.discardPendingWarnings(),g}function uR(t,n){do{var l=Pr;try{if(dg(),DE(),br(),pS.current=null,l===null||l.return===null){Co=Cm,Em=n,Pr=null;return}if(Oe&&l.mode&$n&&Ug(l,!0),W)if(xa(),n!==null&&typeof n=="object"&&typeof n.then=="function"){var u=n;xi(l,u,So)}else uc(l,n,So);zN(t,l.return,l,n,So),pR(l)}catch(h){n=h,Pr===l&&l!==null?(l=l.return,Pr=l):l=Pr;continue}return}while(!0)}function cR(){var t=dS.current;return dS.current=_g,t===null?_g:t}function fR(t){dS.current=t}function xD(){vS=Gr()}function Pm(t){Qg=on(t,Qg)}function SD(){Co===js&&(Co=qg)}function TS(){(Co===js||Co===qg||Co===Jc)&&(Co=wm),Ea!==null&&(xc(Qg)||xc(Tm))&&_u(Ea,So)}function CD(t){Co!==wm&&(Co=Jc),Rm===null?Rm=[t]:Rm.push(t)}function wD(){return Co===js}function r0(t,n){var l=Cn;Cn|=Bo;var u=cR();if(Ea!==t||So!==n){if(na){var h=t.memoizedUpdaters;h.size>0&&(Nm(t,So),h.clear()),uy(t,n)}Us=Ch(),tf(t,n)}gs(n);do try{ED();break}catch(g){uR(t,g)}while(!0);if(dg(),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 qf(),Ea=null,So=qe,Co}function ED(){for(;Pr!==null;)dR(Pr)}function TD(t,n){var l=Cn;Cn|=Bo;var u=cR();if(Ea!==t||So!==n){if(na){var h=t.memoizedUpdaters;h.size>0&&(Nm(t,So),h.clear()),uy(t,n)}Us=Ch(),Om(),tf(t,n)}gs(n);do try{RD();break}catch(g){uR(t,g)}while(!0);return dg(),fR(u),Cn=l,Pr!==null?(ey(),js):(qf(),Ea=null,So=qe,Co)}function RD(){for(;Pr!==null&&!th();)dR(Pr)}function dR(t){var n=t.alternate;ir(t);var l;(t.mode&$n)!==Vt?($x(t),l=RS(n,t,Wl),Ug(t,!0)):l=RS(n,t,Wl),br(),t.memoizedProps=t.pendingProps,l===null?pR(t):Pr=l,pS.current=null}function pR(t){var n=t;do{var l=n.alternate,u=n.return;if((n.flags&ic)===Ft){ir(n);var h=void 0;if((n.mode&$n)===Vt?h=_T(l,n,Wl):($x(n),h=_T(l,n,Wl),Ug(n,!1)),br(),h!==null){Pr=h;return}}else{var g=S2(l,n);if(g!==null){g.flags&=qv,Pr=g;return}if((n.mode&$n)!==Vt){Ug(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|=ic,u.subtreeFlags=Ft,u.deletions=null;else{Co=hS,Pr=null;return}}var D=n.sibling;if(D!==null){Pr=D;return}n=u,Pr=n}while(n!==null);Co===js&&(Co=eR)}function nf(t,n,l){var u=Fa(),h=Uo.transition;try{Uo.transition=null,Ir(Po),OD(t,n,l,u)}finally{Uo.transition=h,Ir(u)}return null}function OD(t,n,l,u){do zs();while(Mu!==null);if(FD(),(Cn&(Bo|Pi))!==xo)throw new Error("Should not already be working.");var h=t.finishedWork,g=t.finishedLanes;if(lh(g),h===null)return sh(),null;if(g===qe&&d("root.finishedLanes should not be empty during a commit. This is a bug in React."),t.finishedWork=null,t.finishedLanes=qe,h===t.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");t.callbackNode=null,t.callbackPriority=En;var C=on(h.lanes,h.childLanes);xh(t,C),t===Ea&&(Ea=null,Pr=null,So=qe),((h.subtreeFlags&Wi)!==Ft||(h.flags&Wi)!==Ft)&&(ef||(ef=!0,bS=l,AS(Yi,function(){return zs(),null})));var O=(h.subtreeFlags&(wl|El|Tl|Wi))!==Ft,D=(h.flags&(wl|El|Tl|Wi))!==Ft;if(O||D){var H=Uo.transition;Uo.transition=null;var Q=Fa();Ir(Po);var he=Cn;Cn|=Pi,pS.current=null,R2(t,h),oT(),j2(t,h,g),Vk(t.containerInfo),t.current=h,cc(g),U2(h,t,g),fc(),nh(),Cn=he,Ir(Q),Uo.transition=H}else t.current=h,oT();var de=ef;if(ef?(ef=!1,Mu=t,$m=g):(op=0,Jg=null),C=t.pendingLanes,C===qe&&(rp=null),de||yR(t.current,!1),oh(h.stateNode,u),na&&t.memoizedUpdaters.clear(),iD(),Ha(t,Gr()),n!==null)for(var Me=t.onRecoverableError,Ie=0;Ie<n.length;Ie++){var Ve=n[Ie],xt=Ve.stack,Ut=Ve.digest;Me(Ve.value,{componentStack:xt,digest:Ut})}if(Kg){Kg=!1;var Mt=yS;throw yS=null,Mt}return oa($m,qt)&&t.tag!==Eu&&zs(),C=t.pendingLanes,oa(C,qt)?(NN(),t===xS?Am++:(Am=0,xS=t)):Am=0,Tu(),sh(),null}function zs(){if(Mu!==null){var t=dy($m),n=Rc(_a,t),l=Uo.transition,u=Fa();try{return Uo.transition=null,Ir(n),AD()}finally{Ir(u),Uo.transition=l}}return!1}function $D(t){gS.push(t),ef||(ef=!0,AS(Yi,function(){return zs(),null}))}function AD(){if(Mu===null)return!1;var t=bS;bS=null;var n=Mu,l=$m;if(Mu=null,$m=qe,(Cn&(Bo|Pi))!==xo)throw new Error("Cannot flush passive effects while already rendering.");SS=!0,Zg=!1,ys(l);var u=Cn;Cn|=Pi,q2(n.current),H2(n,n.current,l,t);{var h=gS;gS=[];for(var g=0;g<h.length;g++){var C=h[g];k2(n,C)}}fh(),yR(n.current,!0),Cn=u,Tu(),Zg?n===Jg?op++:(op=0,Jg=n):op=0,SS=!1,Zg=!1,ah(n);{var O=n.current.stateNode;O.effectDuration=0,O.passiveEffectDuration=0}return!0}function hR(t){return rp!==null&&rp.has(t)}function kD(t){rp===null?rp=new Set([t]):rp.add(t)}function PD(t){Kg||(Kg=!0,yS=t)}var ND=PD;function mR(t,n,l){var u=Kc(l,n),h=dT(t,u,qt),g=Ou(t,h,qt),C=Ta();g!==null&&(du(g,qt,C),Ha(g,C))}function lr(t,n,l){if(w2(l),Dm(!1),t.tag===w){mR(t,t,l);return}var u=null;for(u=n;u!==null;){if(u.tag===w){mR(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"&&!hR(g)){var C=Kc(l,t),O=Wx(u,C,qt),D=Ou(u,O,qt),H=Ta();D!==null&&(du(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 k2(t,n){if((n.flags&xn)!==Ft)switch(n.tag){case _:{var l=n.stateNode.passiveEffectDuration,u=n.memoizedProps,h=u.id,g=u.onPostCommit,C=rT(),O=n.alternate===null?"mount":"update";nT()&&(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 _:var Q=D.stateNode;Q.passiveEffectDuration+=l;break e}D=D.return}break}}}function P2(t,n,l,u){if((l.flags&Tl)!==Ft)switch(l.tag){case b:case A:case X:{if(!Vo)if(l.mode&$n)try{Hl(),Nu(yo|vo,l)}finally{zl(l)}else Nu(yo|vo,l);break}case S:{var h=l.stateNode;if(l.flags&xn&&!Vo)if(n===null)if(l.type===l.elementType&&!Zc&&(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&&!Zc&&(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&&!Zc&&(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")),OE(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 k:H=l.child.stateNode;break;case S:H=l.child.stateNode;break}OE(l,D,H)}break}case k:{var Q=l.stateNode;if(n===null&&l.flags&xn){var he=l.type,de=l.memoizedProps;Qk(Q,he,de)}break}case M:break;case R:break;case _:{{var Me=l.memoizedProps,Ie=Me.onCommit,Ve=Me.onRender,xt=l.stateNode.effectDuration,Ut=rT(),Mt=n===null?"mount":"update";nT()&&(Mt="nested-update"),typeof Ve=="function"&&Ve(l.memoizedProps.id,Mt,l.actualDuration,l.treeBaseDuration,l.actualStartTime,Ut);{typeof Ie=="function"&&Ie(l.memoizedProps.id,Mt,xt,Ut),$D(l);var wn=l.return;e:for(;wn!==null;){switch(wn.tag){case w:var gn=wn.stateNode;gn.effectDuration+=xt;break e;case _:var $e=wn.stateNode;$e.effectDuration+=xt;break e}wn=wn.return}}}break}case N:{V2(t,l);break}case ve:case Ce:case we:case ce:case Se: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.")}Vo||l.flags&xr&&BT(l)}function N2(t){switch(t.tag){case b:case A:case X:{if(t.mode&$n)try{Hl(),VT(t,t.return)}finally{zl(t)}else VT(t,t.return);break}case S:{var n=t.stateNode;typeof n.componentDidMount=="function"&&T2(t,t.return,n),jT(t,t.return);break}case k:{jT(t,t.return);break}}}function D2(t,n){for(var l=null,u=t;;){if(u.tag===k){if(l===null){l=u;try{var h=u.stateNode;n?aP(h):lP(u.stateNode,u.memoizedProps)}catch(C){lr(t,t.return,C)}}}else if(u.tag===M){if(l===null)try{var g=u.stateNode;n?iP(g):sP(g,u.memoizedProps)}catch(C){lr(t,t.return,C)}}else if(!((u.tag===ce||u.tag===Se)&&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 BT(t){var n=t.ref;if(n!==null){var l=t.stateNode,u;switch(t.tag){case k: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 M2(t){var n=t.alternate;n!==null&&(n.return=null),t.return=null}function zT(t){var n=t.alternate;n!==null&&(t.alternate=null,zT(n));{if(t.child=null,t.deletions=null,t.sibling=null,t.tag===k){var l=t.stateNode;l!==null&&jP(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 L2(t){for(var n=t.return;n!==null;){if(HT(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 HT(t){return t.tag===k||t.tag===w||t.tag===R}function GT(t){var n=t;e:for(;;){for(;n.sibling===null;){if(n.return===null||HT(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==k&&n.tag!==M&&n.tag!==V;){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 _2(t){var n=L2(t);switch(n.tag){case k:{var l=n.stateNode;n.flags&Na&&(Yw(l),n.flags&=~Na);var u=GT(t);cS(t,u,l);break}case w:case R:{var h=n.stateNode.containerInfo,g=GT(t);uS(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 uS(t,n,l){var u=t.tag,h=u===k||u===M;if(h){var g=t.stateNode;n?tP(l,g,n):Jk(l,g)}else if(u!==R){var C=t.child;if(C!==null){uS(C,n,l);for(var O=C.sibling;O!==null;)uS(O,n,l),O=O.sibling}}}function cS(t,n,l){var u=t.tag,h=u===k||u===M;if(h){var g=t.stateNode;n?eP(l,g,n):Zk(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}}}var jo=null,sl=!1;function I2(t,n,l){{var u=n;e:for(;u!==null;){switch(u.tag){case k:{jo=u.stateNode,sl=!1;break e}case w:{jo=u.stateNode.containerInfo,sl=!0;break e}case R:{jo=u.stateNode.containerInfo,sl=!0;break e}}u=u.return}if(jo===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");WT(t,n,l),jo=null,sl=!1}M2(l)}function Du(t,n,l){for(var u=l.child;u!==null;)WT(t,n,u),u=u.sibling}function WT(t,n,l){switch(ih(l),l.tag){case k:Vo||np(l,n);case M:{{var u=jo,h=sl;jo=null,Du(t,n,l),jo=u,sl=h,jo!==null&&(sl?rP(jo,l.stateNode):nP(jo,l.stateNode))}return}case V:{jo!==null&&(sl?oP(jo,l.stateNode):S1(jo,l.stateNode));return}case R:{{var g=jo,C=sl;jo=l.stateNode.containerInfo,sl=!0,Du(t,n,l),jo=g,sl=C}return}case b:case A:case z:case X:{if(!Vo){var O=l.updateQueue;if(O!==null){var D=O.lastEffect;if(D!==null){var H=D.next,Q=H;do{var he=Q,de=he.destroy,Me=he.tag;de!==void 0&&((Me&jl)!==Ba?Yg(l,n,de):(Me&yo)!==Ba&&(sc(l),l.mode&$n?(Hl(),Yg(l,n,de),zl(l)):Yg(l,n,de),ch())),Q=Q.next}while(Q!==H)}}}Du(t,n,l);return}case S:{if(!Vo){np(l,n);var Ie=l.stateNode;typeof Ie.componentWillUnmount=="function"&&sS(l,n,Ie)}Du(t,n,l);return}case we:{Du(t,n,l);return}case ce:{if(l.mode&hn){var Ve=Vo;Vo=Ve||l.memoizedState!==null,Du(t,n,l),Vo=Ve}else Du(t,n,l);break}default:{Du(t,n,l);return}}}function F2(t){t.memoizedState}function V2(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&&wP(g)}}}}function YT(t){var n=t.updateQueue;if(n!==null){t.updateQueue=null;var l=t.stateNode;l===null&&(l=t.stateNode=new C2),n.forEach(function(u){var h=LD.bind(null,t,u);if(!l.has(u)){if(l.add(u),na)if(ep!==null&&tp!==null)Nm(tp,ep);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(h,h)}})}}function j2(t,n,l){ep=l,tp=t,ir(n),qT(n,t),ir(n),ep=null,tp=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{I2(t,n,g)}catch(D){lr(g,n,D)}}var C=zu();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 A:case z:case X:{if(ul(n,t),Gl(t),h&xn){try{ll(jl|vo,t,t.return),Nu(jl|vo,t)}catch(Qt){lr(t,t.return,Qt)}if(t.mode&$n){try{Hl(),ll(yo|vo,t,t.return)}catch(Qt){lr(t,t.return,Qt)}zl(t)}else try{ll(yo|vo,t,t.return)}catch(Qt){lr(t,t.return,Qt)}}return}case S:{ul(n,t),Gl(t),h&xr&&u!==null&&np(u,u.return);return}case k:{ul(n,t),Gl(t),h&xr&&u!==null&&np(u,u.return);{if(t.flags&Na){var g=t.stateNode;try{Yw(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{Xk(C,Q,H,D,O,t)}catch(Qt){lr(t,t.return,Qt)}}}}return}case M:{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 he=t.stateNode,de=t.memoizedProps,Me=u!==null?u.memoizedProps:de;try{Kk(he,Me,de)}catch(Qt){lr(t,t.return,Qt)}}return}case w:{if(ul(n,t),Gl(t),h&xn&&u!==null){var Ie=u.memoizedState;if(Ie.isDehydrated)try{CP(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 Ve=t.child;if(Ve.flags&Dr){var xt=Ve.stateNode,Ut=Ve.memoizedState,Mt=Ut!==null;if(xt.isHidden=Mt,Mt){var wn=Ve.alternate!==null&&Ve.alternate.memoizedState!==null;wn||xD()}}if(h&xn){try{F2(t)}catch(Qt){lr(t,t.return,Qt)}YT(t)}return}case ce:{var gn=u!==null&&u.memoizedState!==null;if(t.mode&hn){var $e=Vo;Vo=$e||gn,ul(n,t),Vo=$e}else ul(n,t);if(Gl(t),h&Dr){var je=t.stateNode,Ae=t.memoizedState,tt=Ae!==null,Rt=t;if(je.isHidden=tt,tt&&!gn&&(Rt.mode&hn)!==Vt){Nt=Rt;for(var St=Rt.child;St!==null;)Nt=St,B2(St),St=St.sibling}D2(Rt,tt)}return}case ve:{ul(n,t),Gl(t),h&xn&&YT(t);return}case we:return;default:{ul(n,t),Gl(t);return}}}function Gl(t){var n=t.flags;if(n&pr){try{_2(t)}catch(l){lr(t,t.return,l)}t.flags&=~pr}n&Jo&&(t.flags&=~Jo)}function U2(t,n,l){ep=l,tp=n,Nt=t,QT(t,n,l),ep=null,tp=null}function QT(t,n,l){for(var u=(t.mode&hn)!==Vt;Nt!==null;){var h=Nt,g=h.child;if(h.tag===ce&&u){var C=h.memoizedState!==null,O=C||Wg;if(O){fS(t,n,l);continue}else{var D=h.alternate,H=D!==null&&D.memoizedState!==null,Q=H||Vo,he=Wg,de=Vo;Wg=O,Vo=Q,Vo&&!de&&(Nt=h,z2(h));for(var Me=g;Me!==null;)Nt=Me,QT(Me,n,l),Me=Me.sibling;Nt=h,Wg=he,Vo=de,fS(t,n,l);continue}}(h.subtreeFlags&Tl)!==Ft&&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)!==Ft){var h=u.alternate;ir(u);try{P2(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 B2(t){for(;Nt!==null;){var n=Nt,l=n.child;switch(n.tag){case b:case A:case z:case X:{if(n.mode&$n)try{Hl(),ll(yo,n,n.return)}finally{zl(n)}else ll(yo,n,n.return);break}case S:{np(n,n.return);var u=n.stateNode;typeof u.componentWillUnmount=="function"&&sS(n,n.return,u);break}case k:{np(n,n.return);break}case ce:{var h=n.memoizedState!==null;if(h){XT(t);continue}break}}l!==null?(l.return=n,Nt=l):XT(t)}}function XT(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 z2(t){for(;Nt!==null;){var n=Nt,l=n.child;if(n.tag===ce){var u=n.memoizedState!==null;if(u){KT(t);continue}}l!==null?(l.return=n,Nt=l):KT(t)}}function KT(t){for(;Nt!==null;){var n=Nt;ir(n);try{N2(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 H2(t,n,l,u){Nt=n,G2(n,t,l,u)}function G2(t,n,l,u){for(;Nt!==null;){var h=Nt,g=h.child;(h.subtreeFlags&Wi)!==Ft&&g!==null?(g.return=h,Nt=g):W2(t,n,l,u)}}function W2(t,n,l,u){for(;Nt!==null;){var h=Nt;if((h.flags&Zo)!==Ft){ir(h);try{Y2(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 Y2(t,n,l,u){switch(n.tag){case b:case A:case X:{if(n.mode&$n){kx();try{Nu(Io|vo,n)}finally{Ax(n)}}else Nu(Io|vo,n);break}}}function q2(t){Nt=t,Q2()}function Q2(){for(;Nt!==null;){var t=Nt,n=t.child;if((Nt.flags&Pa)!==Ft){var l=t.deletions;if(l!==null){for(var u=0;u<l.length;u++){var h=l[u];Nt=h,Z2(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)!==Ft&&n!==null?(n.return=t,Nt=n):X2()}}function X2(){for(;Nt!==null;){var t=Nt;(t.flags&Zo)!==Ft&&(ir(t),K2(t),br());var n=t.sibling;if(n!==null){n.return=t.return,Nt=n;return}Nt=t.return}}function K2(t){switch(t.tag){case b:case A:case X:{t.mode&$n?(kx(),ll(Io|vo,t,t.return),Ax(t)):ll(Io|vo,t,t.return);break}}}function Z2(t,n){for(;Nt!==null;){var l=Nt;ir(l),eD(l,n),br();var u=l.child;u!==null?(u.return=l,Nt=u):J2(t)}}function J2(t){for(;Nt!==null;){var n=Nt,l=n.sibling,u=n.return;if(zT(n),n===t){Nt=null;return}if(l!==null){l.return=u,Nt=l;return}Nt=u}}function eD(t,n){switch(t.tag){case b:case A:case X:{t.mode&$n?(kx(),ll(Io,t,n),Ax(t)):ll(Io,t,n);break}}}function tD(t){switch(t.tag){case b:case A:case X:{try{Nu(yo|vo,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 nD(t){switch(t.tag){case b:case A:case X:{try{Nu(Io|vo,t)}catch(n){lr(t,t.return,n)}break}}}function rD(t){switch(t.tag){case b:case A:case X:{try{ll(yo|vo,t,t.return)}catch(l){lr(t,t.return,l)}break}case S:{var n=t.stateNode;typeof n.componentWillUnmount=="function"&&sS(t,t.return,n);break}}}function oD(t){switch(t.tag){case b:case A:case X:try{ll(Io|vo,t,t.return)}catch(n){lr(t,t.return,n)}}}if(typeof Symbol=="function"&&Symbol.for){var Sm=Symbol.for;Sm("selector.component"),Sm("selector.has_pseudo_class"),Sm("selector.role"),Sm("selector.test_id"),Sm("selector.text")}var aD=[];function iD(){aD.forEach(function(t){return t()})}var lD=i.ReactCurrentActQueue;function sD(t){{var n=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,l=typeof jest<"u";return l&&n!==!1}}function ZT(){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!t&&lD.current!==null&&d("The current testing environment is not configured to support act(...)"),t}}var uD=Math.ceil,dS=i.ReactCurrentDispatcher,pS=i.ReactCurrentOwner,Uo=i.ReactCurrentBatchConfig,cl=i.ReactCurrentActQueue,xo=0,JT=1,Bo=2,Pi=4,js=0,Cm=1,Jc=2,qg=3,wm=4,eR=5,hS=6,Cn=xo,Ea=null,Pr=null,So=qe,Wl=qe,mS=wu(qe),Co=js,Em=null,Qg=qe,Tm=qe,Xg=qe,Rm=null,za=null,vS=0,tR=500,nR=1/0,cD=500,Us=null;function Om(){nR=Gr()+cD}function rR(){return nR}var Kg=!1,yS=null,rp=null,ef=!1,Mu=null,$m=qe,gS=[],bS=null,fD=50,Am=0,xS=null,SS=!1,Zg=!1,dD=50,op=0,Jg=null,km=Kn,e0=qe,oR=!1;function t0(){return Ea}function Ta(){return(Cn&(Bo|Pi))!==xo?Gr():(km!==Kn||(km=Gr()),km)}function Lu(t){var n=t.mode;if((n&hn)===Vt)return qt;if((Cn&Bo)!==xo&&So!==qe)return Sc(So);var l=lN()!==iN;if(l){if(Uo.transition!==null){var u=Uo.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(t)}return e0===En&&(e0=gh()),e0}var h=Fa();if(h!==En)return h;var g=Gk();return g}function pD(t){var n=t.mode;return(n&hn)===Vt?qt:ay()}function wo(t,n,l,u){ID(),oR&&d("useInsertionEffect must not schedule updates."),SS&&(Zg=!0),du(t,l,u),(Cn&Bo)!==qe&&t===Ea?jD(n):(na&&Ec(t,n,l),UD(n),t===Ea&&((Cn&Bo)===xo&&(Tm=on(Tm,l)),Co===wm&&_u(t,So)),Ha(t,u),l===qt&&Cn===xo&&(n.mode&hn)===Vt&&!cl.isBatchingLegacy&&(Om(),oE()))}function hD(t,n,l){var u=t.current;u.lanes=n,du(t,n,l),Ha(t,l)}function mD(t){return(Cn&Bo)!==xo}function Ha(t,n){var l=t.callbackNode;pd(t,n);var u=dd(t,t===Ea?So:qe);if(u===qe){l!==null&&xR(l),t.callbackNode=null,t.callbackPriority=En;return}var h=kl(u),g=t.callbackPriority;if(g===h&&!(cl.current!==null&&l!==$S)){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&&xR(l);var C;if(h===qt)t.tag===Eu?(cl.isBatchingLegacy!==null&&(cl.didScheduleLegacyUpdate=!0),zP(lR.bind(null,t))):rE(lR.bind(null,t)),cl.current!==null?cl.current.push(Tu):Yk(function(){(Cn&(Bo|Pi))===xo&&Tu()}),C=null;else{var O;switch(dy(u)){case Po:O=lc;break;case Si:O=Rl;break;case _a:O=Yi;break;case Ia:O=hs;break;default:O=Yi;break}C=AS(O,aR.bind(null,t))}t.callbackPriority=h,t.callbackNode=C}function aR(t,n){if(DN(),km=Kn,e0=qe,(Cn&(Bo|Pi))!==xo)throw new Error("Should not already be working.");var l=t.callbackNode,u=zs();if(u&&t.callbackNode!==l)return null;var h=dd(t,t===Ea?So:qe);if(h===qe)return null;var g=!md(t,h)&&!oy(t,h)&&!n,C=g?TD(t,h):r0(t,h);if(C!==js){if(C===Jc){var O=hd(t);O!==qe&&(h=O,C=CS(t,O))}if(C===Cm){var D=Em;throw tf(t,qe),_u(t,h),Ha(t,Gr()),D}if(C===hS)_u(t,h);else{var H=!md(t,h),Q=t.current.alternate;if(H&&!yD(Q)){if(C=r0(t,h),C===Jc){var he=hd(t);he!==qe&&(h=he,C=CS(t,he))}if(C===Cm){var de=Em;throw tf(t,qe),_u(t,h),Ha(t,Gr()),de}}t.finishedWork=Q,t.finishedLanes=h,vD(t,C,h)}}return Ha(t,Gr()),t.callbackNode===l?aR.bind(null,t):null}function CS(t,n){var l=Rm;if(gd(t)){var u=tf(t,n);u.flags|=To,_P(t.containerInfo)}var h=r0(t,n);if(h!==Jc){var g=za;za=l,g!==null&&iR(g)}return h}function iR(t){za===null?za=t:za.push.apply(za,t)}function vD(t,n,l){switch(n){case js:case Cm:throw new Error("Root did not complete. This is a bug in React.");case Jc:{nf(t,za,Us);break}case qg:{if(_u(t,l),Ts(l)&&!SR()){var u=vS+tR-Gr();if(u>10){var h=dd(t,qe);if(h!==qe)break;var g=t.suspendedLanes;if(!Rs(g,l)){Ta(),vd(t,g);break}t.timeoutHandle=b1(nf.bind(null,t,za,Us),u);break}}nf(t,za,Us);break}case wm:{if(_u(t,l),vh(l))break;if(!SR()){var C=Ja(t,l),O=C,D=Gr()-O,H=_D(D)-D;if(H>10){t.timeoutHandle=b1(nf.bind(null,t,za,Us),H);break}}nf(t,za,Us);break}case eR:{nf(t,za,Us);break}default:throw new Error("Unknown root exit status.")}}function yD(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(!Ze(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 _u(t,n){n=Cc(n,Xg),n=Cc(n,Tm),sy(t,n)}function lR(t){if(MN(),(Cn&(Bo|Pi))!==xo)throw new Error("Should not already be working.");zs();var n=dd(t,qe);if(!oa(n,qt))return Ha(t,Gr()),null;var l=r0(t,n);if(t.tag!==Eu&&l===Jc){var u=hd(t);u!==qe&&(n=u,l=CS(t,u))}if(l===Cm){var h=Em;throw tf(t,qe),_u(t,n),Ha(t,Gr()),h}if(l===hS)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,nf(t,za,Us),Ha(t,Gr()),null}function gD(t,n){n!==qe&&(yd(t,on(n,qt)),Ha(t,Gr()),(Cn&(Bo|Pi))===xo&&(Om(),Tu()))}function wS(t,n){var l=Cn;Cn|=JT;try{return t(n)}finally{Cn=l,Cn===xo&&!cl.isBatchingLegacy&&(Om(),oE())}}function bD(t,n,l,u,h){var g=Fa(),C=Uo.transition;try{return Uo.transition=null,Ir(Po),t(n,l,u,h)}finally{Ir(g),Uo.transition=C,Cn===xo&&Om()}}function Bs(t){Mu!==null&&Mu.tag===Eu&&(Cn&(Bo|Pi))===xo&&zs();var n=Cn;Cn|=JT;var l=Uo.transition,u=Fa();try{return Uo.transition=null,Ir(Po),t?t():void 0}finally{Ir(u),Uo.transition=l,Cn=n,(Cn&(Bo|Pi))===xo&&Tu()}}function sR(){return(Cn&(Bo|Pi))!==xo}function n0(t,n){ua(mS,Wl,t),Wl=on(Wl,n)}function ES(t){Wl=mS.current,sa(mS,t)}function tf(t,n){t.finishedWork=null,t.finishedLanes=qe;var l=t.timeoutHandle;if(l!==x1&&(t.timeoutHandle=x1,Wk(l)),Pr!==null)for(var u=Pr.return;u!==null;){var h=u.alternate;IT(h,u),u=u.return}Ea=t;var g=rf(t.current,null);return Pr=g,So=Wl=n,Co=js,Em=null,Qg=qe,Tm=qe,Xg=qe,Rm=null,za=null,hN(),nl.discardPendingWarnings(),g}function uR(t,n){do{var l=Pr;try{if(dg(),DE(),br(),pS.current=null,l===null||l.return===null){Co=Cm,Em=n,Pr=null;return}if(Oe&&l.mode&$n&&Ug(l,!0),Y)if(xa(),n!==null&&typeof n=="object"&&typeof n.then=="function"){var u=n;xi(l,u,So)}else uc(l,n,So);zN(t,l.return,l,n,So),pR(l)}catch(h){n=h,Pr===l&&l!==null?(l=l.return,Pr=l):l=Pr;continue}return}while(!0)}function cR(){var t=dS.current;return dS.current=_g,t===null?_g:t}function fR(t){dS.current=t}function xD(){vS=Gr()}function Pm(t){Qg=on(t,Qg)}function SD(){Co===js&&(Co=qg)}function TS(){(Co===js||Co===qg||Co===Jc)&&(Co=wm),Ea!==null&&(xc(Qg)||xc(Tm))&&_u(Ea,So)}function CD(t){Co!==wm&&(Co=Jc),Rm===null?Rm=[t]:Rm.push(t)}function wD(){return Co===js}function r0(t,n){var l=Cn;Cn|=Bo;var u=cR();if(Ea!==t||So!==n){if(na){var h=t.memoizedUpdaters;h.size>0&&(Nm(t,So),h.clear()),uy(t,n)}Us=Ch(),tf(t,n)}gs(n);do try{ED();break}catch(g){uR(t,g)}while(!0);if(dg(),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 qf(),Ea=null,So=qe,Co}function ED(){for(;Pr!==null;)dR(Pr)}function TD(t,n){var l=Cn;Cn|=Bo;var u=cR();if(Ea!==t||So!==n){if(na){var h=t.memoizedUpdaters;h.size>0&&(Nm(t,So),h.clear()),uy(t,n)}Us=Ch(),Om(),tf(t,n)}gs(n);do try{RD();break}catch(g){uR(t,g)}while(!0);return dg(),fR(u),Cn=l,Pr!==null?(ey(),js):(qf(),Ea=null,So=qe,Co)}function RD(){for(;Pr!==null&&!th();)dR(Pr)}function dR(t){var n=t.alternate;ir(t);var l;(t.mode&$n)!==Vt?($x(t),l=RS(n,t,Wl),Ug(t,!0)):l=RS(n,t,Wl),br(),t.memoizedProps=t.pendingProps,l===null?pR(t):Pr=l,pS.current=null}function pR(t){var n=t;do{var l=n.alternate,u=n.return;if((n.flags&ic)===Ft){ir(n);var h=void 0;if((n.mode&$n)===Vt?h=_T(l,n,Wl):($x(n),h=_T(l,n,Wl),Ug(n,!1)),br(),h!==null){Pr=h;return}}else{var g=S2(l,n);if(g!==null){g.flags&=qv,Pr=g;return}if((n.mode&$n)!==Vt){Ug(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|=ic,u.subtreeFlags=Ft,u.deletions=null;else{Co=hS,Pr=null;return}}var D=n.sibling;if(D!==null){Pr=D;return}n=u,Pr=n}while(n!==null);Co===js&&(Co=eR)}function nf(t,n,l){var u=Fa(),h=Uo.transition;try{Uo.transition=null,Ir(Po),OD(t,n,l,u)}finally{Uo.transition=h,Ir(u)}return null}function OD(t,n,l,u){do zs();while(Mu!==null);if(FD(),(Cn&(Bo|Pi))!==xo)throw new Error("Should not already be working.");var h=t.finishedWork,g=t.finishedLanes;if(lh(g),h===null)return sh(),null;if(g===qe&&d("root.finishedLanes should not be empty during a commit. This is a bug in React."),t.finishedWork=null,t.finishedLanes=qe,h===t.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");t.callbackNode=null,t.callbackPriority=En;var C=on(h.lanes,h.childLanes);xh(t,C),t===Ea&&(Ea=null,Pr=null,So=qe),((h.subtreeFlags&Wi)!==Ft||(h.flags&Wi)!==Ft)&&(ef||(ef=!0,bS=l,AS(Yi,function(){return zs(),null})));var O=(h.subtreeFlags&(wl|El|Tl|Wi))!==Ft,D=(h.flags&(wl|El|Tl|Wi))!==Ft;if(O||D){var H=Uo.transition;Uo.transition=null;var Q=Fa();Ir(Po);var he=Cn;Cn|=Pi,pS.current=null,R2(t,h),oT(),j2(t,h,g),Vk(t.containerInfo),t.current=h,cc(g),U2(h,t,g),fc(),nh(),Cn=he,Ir(Q),Uo.transition=H}else t.current=h,oT();var de=ef;if(ef?(ef=!1,Mu=t,$m=g):(op=0,Jg=null),C=t.pendingLanes,C===qe&&(rp=null),de||yR(t.current,!1),oh(h.stateNode,u),na&&t.memoizedUpdaters.clear(),iD(),Ha(t,Gr()),n!==null)for(var Me=t.onRecoverableError,Ie=0;Ie<n.length;Ie++){var Ve=n[Ie],xt=Ve.stack,Ut=Ve.digest;Me(Ve.value,{componentStack:xt,digest:Ut})}if(Kg){Kg=!1;var Mt=yS;throw yS=null,Mt}return oa($m,qt)&&t.tag!==Eu&&zs(),C=t.pendingLanes,oa(C,qt)?(NN(),t===xS?Am++:(Am=0,xS=t)):Am=0,Tu(),sh(),null}function zs(){if(Mu!==null){var t=dy($m),n=Rc(_a,t),l=Uo.transition,u=Fa();try{return Uo.transition=null,Ir(n),AD()}finally{Ir(u),Uo.transition=l}}return!1}function $D(t){gS.push(t),ef||(ef=!0,AS(Yi,function(){return zs(),null}))}function AD(){if(Mu===null)return!1;var t=bS;bS=null;var n=Mu,l=$m;if(Mu=null,$m=qe,(Cn&(Bo|Pi))!==xo)throw new Error("Cannot flush passive effects while already rendering.");SS=!0,Zg=!1,ys(l);var u=Cn;Cn|=Pi,q2(n.current),H2(n,n.current,l,t);{var h=gS;gS=[];for(var g=0;g<h.length;g++){var C=h[g];k2(n,C)}}fh(),yR(n.current,!0),Cn=u,Tu(),Zg?n===Jg?op++:(op=0,Jg=n):op=0,SS=!1,Zg=!1,ah(n);{var O=n.current.stateNode;O.effectDuration=0,O.passiveEffectDuration=0}return!0}function hR(t){return rp!==null&&rp.has(t)}function kD(t){rp===null?rp=new Set([t]):rp.add(t)}function PD(t){Kg||(Kg=!0,yS=t)}var ND=PD;function mR(t,n,l){var u=Kc(l,n),h=dT(t,u,qt),g=Ou(t,h,qt),C=Ta();g!==null&&(du(g,qt,C),Ha(g,C))}function lr(t,n,l){if(w2(l),Dm(!1),t.tag===w){mR(t,t,l);return}var u=null;for(u=n;u!==null;){if(u.tag===w){mR(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"&&!hR(g)){var C=Kc(l,t),O=Wx(u,C,qt),D=Ou(u,O,qt),H=Ta();D!==null&&(du(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
|
|
|
@@ -2837,29 +2837,29 @@ 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 Dm(t){oR=t}var Ni=null,ap=null,zD=function(t){Ni=t};function ip(t){{if(Ni===null)return t;var n=Ni(t);return n===void 0?t:n.current}}function kS(t){return ip(t)}function PS(t){{if(Ni===null)return t;var n=Ni(t);if(n===void 0){if(t!=null&&typeof t.render=="function"){var l=ip(t.render);if(t.render!==l){var u={$$typeof:Ge,render:l};return t.displayName!==void 0&&(u.displayName=t.displayName),u}}return t}return n.current}}function CR(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 A:{(g===Ge||g===Wt)&&(h=!0);break}case z:case X:{(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 wR(t){{if(Ni===null||typeof WeakSet!="function")return;ap===null&&(ap=new WeakSet),ap.add(t)}}var HD=function(t,n){{if(Ni===null)return;var l=n.staleFamilies,u=n.updatedFamilies;zs(),Bs(function(){NS(t.current,u,l)})}},GD=function(t,n){{if(t.context!==ni)return;zs(),Bs(function(){Mm(n,t,null,null)})}};function NS(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 X:case S:D=O;break;case A: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 he=Ni(D);he!==void 0&&(l.has(he)?Q=!0:n.has(he)&&(C===S?Q=!0:H=!0))}if(ap!==null&&(ap.has(t)||u!==null&&ap.has(u))&&(Q=!0),Q&&(t._debugNeedsRemount=!0),Q||H){var de=Ua(t,qt);de!==null&&wo(de,t,qt,Kn)}h!==null&&!Q&&NS(h,n,l),g!==null&&NS(g,n,l)}}var WD=function(t,n){{var l=new Set,u=new Set(n.map(function(h){return h.current}));return DS(t.current,u,l),l}};function DS(t,n,l){{var u=t.child,h=t.sibling,g=t.tag,C=t.type,O=null;switch(g){case b:case X:case S:O=C;break;case A:O=C.render;break}var D=!1;O!==null&&n.has(O)&&(D=!0),D?YD(t,l):u!==null&&DS(u,n,l),h!==null&&DS(h,n,l)}}function YD(t,n){{var l=qD(t,n);if(l)return;for(var u=t;;){switch(u.tag){case k: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 qD(t,n){for(var l=t,u=!1;;){if(l.tag===k)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 MS;{MS=!1;try{var ER=Object.preventExtensions({})}catch{MS=!0}}function QD(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=Ft,this.subtreeFlags=Ft,this.deletions=null,this.lanes=qe,this.childLanes=qe,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!MS&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var ri=function(t,n,l,u){return new QD(t,n,l,u)};function LS(t){var n=t.prototype;return!!(n&&n.isReactComponent)}function XD(t){return typeof t=="function"&&!LS(t)&&t.defaultProps===void 0}function KD(t){if(typeof t=="function")return LS(t)?S:b;if(t!=null){var n=t.$$typeof;if(n===Ge)return A;if(n===At)return z}return T}function rf(t,n){var l=t.alternate;l===null?(l=ri(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=Ft,l.subtreeFlags=Ft,l.deletions=null,l.actualDuration=0,l.actualStartTime=-1),l.flags=t.flags&Mr,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 X:l.type=ip(t.type);break;case S:l.type=kS(t.type);break;case A:l.type=PS(t.type);break}return l}function ZD(t,n){t.flags&=Mr|pr;var l=t.alternate;if(l===null)t.childLanes=qe,t.lanes=n,t.child=null,t.subtreeFlags=Ft,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=Ft,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 JD(t,n,l){var u;return t===ng?(u=hn,n===!0&&(u|=zn,u|=An)):u=Vt,na&&(u|=$n),ri(w,null,null,u)}function _S(t,n,l,u,h,g){var C=T,O=t;if(typeof t=="function")LS(t)?(C=S,O=kS(O)):O=ip(O);else if(typeof t=="string")C=k;else e:switch(t){case bn:return Iu(l.children,h,g,n);case pn:C=U,h|=zn,(h&hn)!==Vt&&(h|=An);break;case Xn:return e6(l,h,g,n);case ot:return t6(l,h,g,n);case Lt:return n6(l,h,g,n);case wr:return TR(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=
|
|
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 Dm(t){oR=t}var Ni=null,ap=null,zD=function(t){Ni=t};function ip(t){{if(Ni===null)return t;var n=Ni(t);return n===void 0?t:n.current}}function kS(t){return ip(t)}function PS(t){{if(Ni===null)return t;var n=Ni(t);if(n===void 0){if(t!=null&&typeof t.render=="function"){var l=ip(t.render);if(t.render!==l){var u={$$typeof:Ge,render:l};return t.displayName!==void 0&&(u.displayName=t.displayName),u}}return t}return n.current}}function CR(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 A:{(g===Ge||g===Wt)&&(h=!0);break}case z:case X:{(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 wR(t){{if(Ni===null||typeof WeakSet!="function")return;ap===null&&(ap=new WeakSet),ap.add(t)}}var HD=function(t,n){{if(Ni===null)return;var l=n.staleFamilies,u=n.updatedFamilies;zs(),Bs(function(){NS(t.current,u,l)})}},GD=function(t,n){{if(t.context!==ni)return;zs(),Bs(function(){Mm(n,t,null,null)})}};function NS(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 X:case S:D=O;break;case A: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 he=Ni(D);he!==void 0&&(l.has(he)?Q=!0:n.has(he)&&(C===S?Q=!0:H=!0))}if(ap!==null&&(ap.has(t)||u!==null&&ap.has(u))&&(Q=!0),Q&&(t._debugNeedsRemount=!0),Q||H){var de=Ua(t,qt);de!==null&&wo(de,t,qt,Kn)}h!==null&&!Q&&NS(h,n,l),g!==null&&NS(g,n,l)}}var WD=function(t,n){{var l=new Set,u=new Set(n.map(function(h){return h.current}));return DS(t.current,u,l),l}};function DS(t,n,l){{var u=t.child,h=t.sibling,g=t.tag,C=t.type,O=null;switch(g){case b:case X:case S:O=C;break;case A:O=C.render;break}var D=!1;O!==null&&n.has(O)&&(D=!0),D?YD(t,l):u!==null&&DS(u,n,l),h!==null&&DS(h,n,l)}}function YD(t,n){{var l=qD(t,n);if(l)return;for(var u=t;;){switch(u.tag){case k: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 qD(t,n){for(var l=t,u=!1;;){if(l.tag===k)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 MS;{MS=!1;try{var ER=Object.preventExtensions({})}catch{MS=!0}}function QD(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=Ft,this.subtreeFlags=Ft,this.deletions=null,this.lanes=qe,this.childLanes=qe,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!MS&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var ri=function(t,n,l,u){return new QD(t,n,l,u)};function LS(t){var n=t.prototype;return!!(n&&n.isReactComponent)}function XD(t){return typeof t=="function"&&!LS(t)&&t.defaultProps===void 0}function KD(t){if(typeof t=="function")return LS(t)?S:b;if(t!=null){var n=t.$$typeof;if(n===Ge)return A;if(n===At)return z}return T}function rf(t,n){var l=t.alternate;l===null?(l=ri(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=Ft,l.subtreeFlags=Ft,l.deletions=null,l.actualDuration=0,l.actualStartTime=-1),l.flags=t.flags&Mr,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 X:l.type=ip(t.type);break;case S:l.type=kS(t.type);break;case A:l.type=PS(t.type);break}return l}function ZD(t,n){t.flags&=Mr|pr;var l=t.alternate;if(l===null)t.childLanes=qe,t.lanes=n,t.child=null,t.subtreeFlags=Ft,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=Ft,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 JD(t,n,l){var u;return t===ng?(u=hn,n===!0&&(u|=zn,u|=An)):u=Vt,na&&(u|=$n),ri(w,null,null,u)}function _S(t,n,l,u,h,g){var C=T,O=t;if(typeof t=="function")LS(t)?(C=S,O=kS(O)):O=ip(O);else if(typeof t=="string")C=k;else e:switch(t){case bn:return Iu(l.children,h,g,n);case pn:C=U,h|=zn,(h&hn)!==Vt&&(h|=An);break;case Xn:return e6(l,h,g,n);case ot:return t6(l,h,g,n);case Lt:return n6(l,h,g,n);case wr:return TR(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=W;break e;case ne:C=G;break e;case Ge:C=A,O=PS(O);break e;case At:C=z;break e;case Wt:C=fe,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=ri(C,l,n,h);return Q.elementType=t,Q.type=O,Q.lanes=g,Q._debugOwner=u,Q}function IS(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 Iu(t,n,l,u){var h=ri(P,t,u,n);return h.lanes=l,h}function e6(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=ri(_,t,u,n|$n);return h.elementType=Xn,h.lanes=l,h.stateNode={effectDuration:0,passiveEffectDuration:0},h}function t6(t,n,l,u){var h=ri(N,t,u,n);return h.elementType=ot,h.lanes=l,h}function n6(t,n,l,u){var h=ri(ve,t,u,n);return h.elementType=Lt,h.lanes=l,h}function TR(t,n,l,u){var h=ri(
|
|
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=ri(C,l,n,h);return Q.elementType=t,Q.type=O,Q.lanes=g,Q._debugOwner=u,Q}function IS(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 Iu(t,n,l,u){var h=ri(P,t,u,n);return h.lanes=l,h}function e6(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=ri(_,t,u,n|$n);return h.elementType=Xn,h.lanes=l,h.stateNode={effectDuration:0,passiveEffectDuration:0},h}function t6(t,n,l,u){var h=ri(N,t,u,n);return h.elementType=ot,h.lanes=l,h}function n6(t,n,l,u){var h=ri(ve,t,u,n);return h.elementType=Lt,h.lanes=l,h}function TR(t,n,l,u){var h=ri(ce,t,u,n);h.elementType=wr,h.lanes=l;var g={isHidden:!1};return h.stateNode=g,h}function FS(t,n,l){var u=ri(M,t,null,n);return u.lanes=l,u}function r6(){var t=ri(k,null,null,Vt);return t.elementType="DELETED",t}function o6(t){var n=ri(V,null,null,Vt);return n.stateNode=t,n}function VS(t,n,l){var u=t.children!==null?t.children:[],h=ri(R,u,t.key,n);return h.lanes=l,h.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},h}function RR(t,n){return t===null&&(t=ri(T,null,null,Vt)),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 a6(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=x1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=En,this.eventTimes=wc(qe),this.expirationTimes=wc(Kn),this.pendingLanes=qe,this.suspendedLanes=qe,this.pingedLanes=qe,this.expiredLanes=qe,this.mutableReadLanes=qe,this.finishedLanes=qe,this.entangledLanes=qe,this.entanglements=wc(qe),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 ng:this._debugRootType=l?"hydrateRoot()":"createRoot()";break;case Eu:this._debugRootType=l?"hydrate()":"render()";break}}function OR(t,n,l,u,h,g,C,O,D,H){var Q=new a6(t,n,l,O,D),he=JD(n,g);Q.current=he,he.stateNode=Q;{var de={element:u,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null};he.memoizedState=de}return Z1(he),Q}var jS="18.3.1";function i6(t,n,l){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return It(u),{$$typeof:zt,key:u==null?null:""+u,children:t,containerInfo:n,implementation:l}}var US,BS;US=!1,BS={};function $R(t){if(!t)return ni;var n=iu(t),l=BP(n);if(n.tag===S){var u=n.type;if(Vl(u))return tE(n,u,l)}return l}function l6(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=ea(l);if(h===null)return null;if(h.mode&zn){var g=rn(l)||"Component";if(!BS[g]){BS[g]=!0;var C=ko;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 AR(t,n,l,u,h,g,C,O){var D=!1,H=null;return OR(t,n,D,H,l,u,h,g,C)}function kR(t,n,l,u,h,g,C,O,D,H){var Q=!0,he=OR(l,u,Q,t,h,g,C,O,D);he.context=$R(null);var de=he.current,Me=Ta(),Ie=Lu(de),Ve=Fs(Me,Ie);return Ve.callback=n??null,Ou(de,Ve,Ie),hD(he,Ie,Me),he}function Mm(t,n,l,u){rh(n,t);var h=n.current,g=Ta(),C=Lu(h);mr(C);var O=$R(l);n.context===null?n.context=O:n.pendingContext=O,ml&&ko!==null&&!US&&(US=!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(ko)||"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&&(wo(H,h,C,g),yg(H,h,C)),C}function i0(t){var n=t.current;if(!n.child)return null;switch(n.child.tag){case k:return n.child.stateNode;default:return n.child.stateNode}}function s6(t){switch(t.tag){case w:{var n=t.stateNode;if(gd(n)){var l=ny(n);gD(n,l)}break}case N:{Bs(function(){var h=Ua(t,qt);if(h!==null){var g=Ta();wo(h,t,qt,g)}});var u=qt;zS(t,u);break}}}function PR(t,n){var l=t.memoizedState;l!==null&&l.dehydrated!==null&&(l.retryLane=ly(l.retryLane,n))}function zS(t,n){PR(t,n);var l=t.alternate;l&&PR(l,n)}function u6(t){if(t.tag===N){var n=yc,l=Ua(t,n);if(l!==null){var u=Ta();wo(l,t,n,u)}zS(t,n)}}function c6(t){if(t.tag===N){var n=Lu(t),l=Ua(t,n);if(l!==null){var u=Ta();wo(l,t,n,u)}zS(t,n)}}function NR(t){var n=cr(t);return n===null?null:n.stateNode}var DR=function(t){return null};function f6(t){return DR(t)}var MR=function(t){return!1};function d6(t){return MR(t)}var LR=null,_R=null,IR=null,FR=null,VR=null,jR=null,UR=null,BR=null,zR=null;{var HR=function(t,n,l){var u=n[l],h=co(t)?t.slice():nn({},t);return l+1===n.length?(co(h)?h.splice(u,1):delete h[u],h):(h[u]=HR(t[u],n,l+1),h)},GR=function(t,n){return HR(t,n,0)},WR=function(t,n,l,u){var h=n[u],g=co(t)?t.slice():nn({},t);if(u+1===n.length){var C=l[u];g[C]=g[h],co(g)?g.splice(h,1):delete g[h]}else g[h]=WR(t[h],n,l,u+1);return g},YR=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 WR(t,n,l,0)},qR=function(t,n,l,u){if(l>=n.length)return u;var h=n[l],g=co(t)?t.slice():nn({},t);return g[h]=qR(t[h],n,l+1,u),g},QR=function(t,n,l){return qR(t,n,0,l)},HS=function(t,n){for(var l=t.memoizedState;l!==null&&n>0;)l=l.next,n--;return l};LR=function(t,n,l,u){var h=HS(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&&wo(C,t,qt,Kn)}},_R=function(t,n,l){var u=HS(t,n);if(u!==null){var h=GR(u.memoizedState,l);u.memoizedState=h,u.baseState=h,t.memoizedProps=nn({},t.memoizedProps);var g=Ua(t,qt);g!==null&&wo(g,t,qt,Kn)}},IR=function(t,n,l,u){var h=HS(t,n);if(h!==null){var g=YR(h.memoizedState,l,u);h.memoizedState=g,h.baseState=g,t.memoizedProps=nn({},t.memoizedProps);var C=Ua(t,qt);C!==null&&wo(C,t,qt,Kn)}},FR=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&&wo(u,t,qt,Kn)},VR=function(t,n){t.pendingProps=GR(t.memoizedProps,n),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var l=Ua(t,qt);l!==null&&wo(l,t,qt,Kn)},jR=function(t,n,l){t.pendingProps=YR(t.memoizedProps,n,l),t.alternate&&(t.alternate.pendingProps=t.pendingProps);var u=Ua(t,qt);u!==null&&wo(u,t,qt,Kn)},UR=function(t){var n=Ua(t,qt);n!==null&&wo(n,t,qt,Kn)},BR=function(t){DR=t},zR=function(t){MR=t}}function p6(t){var n=ea(t);return n===null?null:n.stateNode}function h6(t){return null}function m6(){return ko}function v6(t){var n=t.findFiberByHostInstance,l=i.ReactCurrentDispatcher;return uu({bundleType:t.bundleType,version:t.version,rendererPackageName:t.rendererPackageName,rendererConfig:t.rendererConfig,overrideHookState:LR,overrideHookStateDeletePath:_R,overrideHookStateRenamePath:IR,overrideProps:FR,overridePropsDeletePath:VR,overridePropsRenamePath:jR,setErrorHandler:BR,setSuspenseHandler:zR,scheduleUpdate:UR,currentDispatcherRef:l,findHostInstanceByFiber:p6,findFiberByHostInstance:n||h6,findHostInstancesForRefresh:WD,scheduleRefresh:HD,scheduleRoot:GD,setRefreshHandler:zD,getCurrentFiber:m6,reconcilerVersion:jS})}var XR=typeof reportError=="function"?reportError:function(t){console.error(t)};function GS(t){this._internalRoot=t}l0.prototype.render=GS.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()."):s0(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!==Nr){var u=NR(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.")}}Mm(t,n,null,null)},l0.prototype.unmount=GS.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;sR()&&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(){Mm(null,t,null,null)}),Xw(n)}};function y6(t,n){if(!s0(t))throw new Error("createRoot(...): Target container is not a DOM element.");KR(t);var l=!1,u=!1,h="",g=XR;n!=null&&(n.hydrate?p("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof n=="object"&&n!==null&&n.$$typeof===fn&&d(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
2845
2845
|
|
|
2846
2846
|
let root = createRoot(domContainer);
|
|
2847
2847
|
root.render(<App />);`),n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(h=n.identifierPrefix),n.onRecoverableError!==void 0&&(g=n.onRecoverableError),n.transitionCallbacks!==void 0&&n.transitionCallbacks);var C=AR(t,ng,null,l,u,h,g);Qy(C.current,t);var O=t.nodeType===Nr?t.parentNode:t;return jh(O),new GS(C)}function l0(t){this._internalRoot=t}function g6(t){t&&yy(t)}l0.prototype.unstable_scheduleHydration=g6;function b6(t,n,l){if(!s0(t))throw new Error("hydrateRoot(...): Target container is not a DOM element.");KR(t),n===void 0&&d("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=l??null,h=l!=null&&l.hydratedSources||null,g=!1,C=!1,O="",D=XR;l!=null&&(l.unstable_strictMode===!0&&(g=!0),l.identifierPrefix!==void 0&&(O=l.identifierPrefix),l.onRecoverableError!==void 0&&(D=l.onRecoverableError));var H=kR(n,null,t,ng,u,g,C,O,D);if(Qy(H.current,t),jh(t),h)for(var Q=0;Q<h.length;Q++){var he=h[Q];wN(H,he)}return new l0(H)}function s0(t){return!!(t&&(t.nodeType===Ko||t.nodeType===zi||t.nodeType===Bp))}function Lm(t){return!!(t&&(t.nodeType===Ko||t.nodeType===zi||t.nodeType===Bp||t.nodeType===Nr&&t.nodeValue===" react-mount-point-unstable "))}function KR(t){t.nodeType===Ko&&t.tagName&&t.tagName.toUpperCase()==="BODY"&&d("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Kh(t)&&(t._reactRootContainer?d("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):d("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var x6=i.ReactCurrentOwner,ZR;ZR=function(t){if(t._reactRootContainer&&t.nodeType!==Nr){var n=NR(t._reactRootContainer.current);n&&n.parentNode!==t&&d("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var l=!!t._reactRootContainer,u=WS(t),h=!!(u&&Cu(u));h&&!l&&d("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),t.nodeType===Ko&&t.tagName&&t.tagName.toUpperCase()==="BODY"&&d("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function WS(t){return t?t.nodeType===zi?t.documentElement:t.firstChild:null}function JR(){}function S6(t,n,l,u,h){if(h){if(typeof u=="function"){var g=u;u=function(){var de=i0(C);g.call(de)}}var C=kR(n,u,t,Eu,null,!1,!1,"",JR);t._reactRootContainer=C,Qy(C.current,t);var O=t.nodeType===Nr?t.parentNode:t;return jh(O),Bs(),C}else{for(var D;D=t.lastChild;)t.removeChild(D);if(typeof u=="function"){var H=u;u=function(){var de=i0(Q);H.call(de)}}var Q=AR(t,Eu,null,!1,!1,"",JR);t._reactRootContainer=Q,Qy(Q.current,t);var he=t.nodeType===Nr?t.parentNode:t;return jh(he),Bs(function(){Mm(n,Q,l,u)}),Q}}function C6(t,n){t!==null&&typeof t!="function"&&d("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,t)}function u0(t,n,l,u,h){ZR(l),C6(h===void 0?null:h,"render");var g=l._reactRootContainer,C;if(!g)C=S6(l,n,t,h,u);else{if(C=g,typeof h=="function"){var O=h;h=function(){var D=i0(C);O.call(D)}}Mm(n,C,t,h)}return i0(C)}var eO=!1;function w6(t){{eO||(eO=!0,d("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var n=x6.current;if(n!==null&&n.stateNode!==null){var l=n.stateNode._warnedAboutRefsInRender;l||d("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Vn(n.type)||"A component"),n.stateNode._warnedAboutRefsInRender=!0}}return t==null?null:t.nodeType===Ko?t:l6(t,"findDOMNode")}function E6(t,n,l){if(d("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Lm(n))throw new Error("Target container is not a DOM element.");{var u=Kh(n)&&n._reactRootContainer===void 0;u&&d("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return u0(null,t,n,!0,l)}function T6(t,n,l){if(d("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Lm(n))throw new Error("Target container is not a DOM element.");{var u=Kh(n)&&n._reactRootContainer===void 0;u&&d("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return u0(null,t,n,!1,l)}function R6(t,n,l,u){if(d("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Lm(l))throw new Error("Target container is not a DOM element.");if(t==null||!zb(t))throw new Error("parentComponent must be a valid React Component");return u0(t,n,l,!1,u)}var tO=!1;function O6(t){if(tO||(tO=!0,d("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Lm(t))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var n=Kh(t)&&t._reactRootContainer===void 0;n&&d("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(t._reactRootContainer){{var l=WS(t),u=l&&!Cu(l);u&&d("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Bs(function(){u0(null,null,t,!1,function(){t._reactRootContainer=null,Xw(t)})}),!0}else{{var h=WS(t),g=!!(h&&Cu(h)),C=t.nodeType===Ko&&Lm(t.parentNode)&&!!t.parentNode._reactRootContainer;g&&d("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",C?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Oo(s6),pu(u6),py(c6),$c(Fa),wh(cy),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&d("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Lf(Ak),Bb(wS,bD,Bs);function $6(t,n){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!s0(n))throw new Error("Target container is not a DOM element.");return i6(t,n,null,l)}function A6(t,n,l,u){return R6(t,n,l,u)}var YS={usingClientEntryPoint:!1,Events:[Cu,Id,Xy,nu,_f,wS]};function k6(t,n){return YS.usingClientEntryPoint||d('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),y6(t,n)}function P6(t,n,l){return YS.usingClientEntryPoint||d('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),b6(t,n,l)}function N6(t){return sR()&&d("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Bs(t)}var D6=v6({findFiberByHostInstance:Bc,bundleType:1,version:jS,rendererPackageName:"react-dom"});if(!D6&&be&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var nO=window.location.protocol;/^(https?|file):$/.test(nO)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(nO==="file:"?`
|
|
2848
2848
|
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Wa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=YS,Wa.createPortal=$6,Wa.createRoot=k6,Wa.findDOMNode=w6,Wa.flushSync=N6,Wa.hydrate=E6,Wa.hydrateRoot=P6,Wa.render=T6,Wa.unmountComponentAtNode=O6,Wa.unstable_batchedUpdates=wS,Wa.unstable_renderSubtreeIntoContainer=A6,Wa.version=jS,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Wa}var C$;function N4(){if(C$)return w0.exports;C$=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(o){console.error(o)}}}return process.env.NODE_ENV==="production"?(e(),w0.exports=k4()):w0.exports=P4(),w0.exports}var aA=N4();const T0=GC(aA),w$={disabled:!1};var D4=process.env.NODE_ENV!=="production"?y.oneOfType([y.number,y.shape({enter:y.number,exit:y.number,appear:y.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&y.oneOfType([y.string,y.shape({enter:y.string,exit:y.string,active:y.string}),y.shape({enter:y.string,enterDone:y.string,enterActive:y.string,exit:y.string,exitDone:y.string,exitActive:y.string})]);const iA=Xe.createContext(null);var M4=function(o){return o.scrollTop},Ym="unmounted",lf="exited",sf="entering",mp="entered",FC="exiting",ns=function(e){O4(o,e);function o(s,c){var p;p=e.call(this,s,c)||this;var d=c,v=d&&!d.isMounting?s.enter:s.appear,b;return p.appearStatus=null,s.in?v?(b=lf,p.appearStatus=sf):b=mp:s.unmountOnExit||s.mountOnEnter?b=Ym:b=lf,p.state={status:b},p.nextCallback=null,p}o.getDerivedStateFromProps=function(c,p){var d=c.in;return d&&p.status===Ym?{status:lf}:null};var i=o.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(c){var p=null;if(c!==this.props){var d=this.state.status;this.props.in?d!==sf&&d!==mp&&(p=sf):(d===sf||d===mp)&&(p=FC)}this.updateStatus(!1,p)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var c=this.props.timeout,p,d,v;return p=d=v=c,c!=null&&typeof c!="number"&&(p=c.exit,d=c.enter,v=c.appear!==void 0?c.appear:d),{exit:p,enter:d,appear:v}},i.updateStatus=function(c,p){if(c===void 0&&(c=!1),p!==null)if(this.cancelNextCallback(),p===sf){if(this.props.unmountOnExit||this.props.mountOnEnter){var d=this.props.nodeRef?this.props.nodeRef.current:T0.findDOMNode(this);d&&M4(d)}this.performEnter(c)}else this.performExit();else this.props.unmountOnExit&&this.state.status===lf&&this.setState({status:Ym})},i.performEnter=function(c){var p=this,d=this.props.enter,v=this.context?this.context.isMounting:c,b=this.props.nodeRef?[v]:[T0.findDOMNode(this),v],S=b[0],T=b[1],w=this.getTimeouts(),R=v?w.appear:w.enter;if(!c&&!d||w$.disabled){this.safeSetState({status:mp},function(){p.props.onEntered(S)});return}this.props.onEnter(S,T),this.safeSetState({status:sf},function(){p.props.onEntering(S,T),p.onTransitionEnd(R,function(){p.safeSetState({status:mp},function(){p.props.onEntered(S,T)})})})},i.performExit=function(){var c=this,p=this.props.exit,d=this.getTimeouts(),v=this.props.nodeRef?void 0:T0.findDOMNode(this);if(!p||w$.disabled){this.safeSetState({status:lf},function(){c.props.onExited(v)});return}this.props.onExit(v),this.safeSetState({status:FC},function(){c.props.onExiting(v),c.onTransitionEnd(d.exit,function(){c.safeSetState({status:lf},function(){c.props.onExited(v)})})})},i.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(c,p){p=this.setNextCallback(p),this.setState(c,p)},i.setNextCallback=function(c){var p=this,d=!0;return this.nextCallback=function(v){d&&(d=!1,p.nextCallback=null,c(v))},this.nextCallback.cancel=function(){d=!1},this.nextCallback},i.onTransitionEnd=function(c,p){this.setNextCallback(p);var d=this.props.nodeRef?this.props.nodeRef.current:T0.findDOMNode(this),v=c==null&&!this.props.addEndListener;if(!d||v){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var b=this.props.nodeRef?[this.nextCallback]:[d,this.nextCallback],S=b[0],T=b[1];this.props.addEndListener(S,T)}c!=null&&setTimeout(this.nextCallback,c)},i.render=function(){var c=this.state.status;if(c===Ym)return null;var p=this.props,d=p.children;p.in,p.mountOnEnter,p.unmountOnExit,p.appear,p.enter,p.exit,p.timeout,p.addEndListener,p.onEnter,p.onEntering,p.onEntered,p.onExit,p.onExiting,p.onExited,p.nodeRef;var v=R4(p,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Xe.createElement(iA.Provider,{value:null},typeof d=="function"?d(c,v):Xe.cloneElement(Xe.Children.only(d),v))},o}(Xe.Component);ns.contextType=iA;ns.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:y.shape({current:typeof Element>"u"?y.any:function(e,o,i,s,c,p){var d=e[o];return y.instanceOf(d&&"ownerDocument"in d?d.ownerDocument.defaultView.Element:Element)(e,o,i,s,c,p)}}),children:y.oneOfType([y.func.isRequired,y.element.isRequired]).isRequired,in:y.bool,mountOnEnter:y.bool,unmountOnExit:y.bool,appear:y.bool,enter:y.bool,exit:y.bool,timeout:function(o){var i=D4;o.addEndListener||(i=i.isRequired);for(var s=arguments.length,c=new Array(s>1?s-1:0),p=1;p<s;p++)c[p-1]=arguments[p];return i.apply(void 0,[o].concat(c))},addEndListener:y.func,onEnter:y.func,onEntering:y.func,onEntered:y.func,onExit:y.func,onExiting:y.func,onExited:y.func}:{};function pp(){}ns.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:pp,onEntering:pp,onEntered:pp,onExit:pp,onExiting:pp,onExited:pp};ns.UNMOUNTED=Ym;ns.EXITED=lf;ns.ENTERING=sf;ns.ENTERED=mp;ns.EXITING=FC;const E$={};function L4(e,o){const i=xe.useRef(E$);return i.current===E$&&(i.current=e(o)),i}const _4=[];function I4(e){xe.useEffect(e,_4)}class hw{constructor(){c0(this,"currentId",null);c0(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});c0(this,"disposeEffect",()=>this.clear)}static create(){return new hw}start(o,i){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,i()},o)}}function F4(){const e=L4(hw.create).current;return I4(e.disposeEffect),e}function V4(e){const{prototype:o={}}=e;return!!o.isReactComponent}function j4(e,o,i,s,c){const p=e[o],d=c||o;if(p==null||typeof window>"u")return null;let v;return typeof p=="function"&&!V4(p)&&(v="Did you accidentally provide a plain function component instead?"),v!==void 0?new Error(`Invalid ${s} \`${d}\` supplied to \`${i}\`. Expected an element type that can hold a ref. ${v} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const lA=dv(y.elementType,j4),sA=e=>e.scrollTop;function B0(e,o){const{timeout:i,easing:s,style:c={}}=e;return{duration:c.transitionDuration??(typeof i=="number"?i:i[o.mode]||0),easing:c.transitionTimingFunction??(typeof s=="object"?s[o.mode]:s),delay:c.transitionDelay}}function U4(e){const o=typeof e;switch(o){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return o}}function uA(e,o,i,s){const c=e[o];if(c==null||!Number.isInteger(c)){const p=U4(c);return new RangeError(`Invalid ${s} \`${o}\` of type \`${p}\` supplied to \`${i}\`, expected \`integer\`.`)}return null}function cA(e,o,i,s){return e[o]===void 0?null:uA(e,o,i,s)}function VC(){return null}cA.isRequired=uA;VC.isRequired=VC;const fA=process.env.NODE_ENV==="production"?VC:cA;function B4(e){return Xr("MuiPaper",e)}ao("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const z4=e=>{const{square:o,elevation:i,variant:s,classes:c}=e,p={root:["root",s,!o&&"rounded",s==="elevation"&&`elevation${i}`]};return io(p,B4,c)},H4=ln("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,o[i.variant],!i.square&&o.rounded,i.variant==="elevation"&&o[`elevation${i.elevation}`]]}})(Yo(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:o})=>!o.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),dA=xe.forwardRef(function(o,i){var k;const s=Ao({props:o,name:"MuiPaper"}),c=pw(),{className:p,component:d="div",elevation:v=1,square:b=!1,variant:S="elevation",...T}=s,w={...s,component:d,elevation:v,square:b,variant:S},R=z4(w);return process.env.NODE_ENV!=="production"&&c.shadows[v]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${v}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${v}]\` is defined.`].join(`
|
|
2849
|
-
`)),L.jsx(H4,{as:d,ownerState:w,className:yr(R.root,p),ref:i,...T,style:{...S==="elevation"&&{"--Paper-shadow":(c.vars||c).shadows[v],...c.vars&&{"--Paper-overlay":(k=c.vars.overlays)==null?void 0:k[v]},...!c.vars&&c.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${DC("#fff",LC(v))}, ${DC("#fff",LC(v))})`}},...T.style}})});process.env.NODE_ENV!=="production"&&(dA.propTypes={children:y.node,classes:y.object,className:y.string,component:y.elementType,elevation:dv(fA,e=>{const{elevation:o,variant:i}=e;return o>0&&i==="outlined"?new Error(`MUI: Combining \`elevation={${o}}\` with \`variant="${i}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:y.bool,style:y.object,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),variant:y.oneOfType([y.oneOf(["elevation","outlined"]),y.string])});function G4(e){return typeof e=="string"}function pA(e,o,i){return e===void 0||G4(e)?o:{...o,ownerState:{...o.ownerState,...i}}}function hA(e,o,i){return typeof e=="function"?e(o,i):e}function mA(e,o=[]){if(e===void 0)return{};const i={};return Object.keys(e).filter(s=>s.match(/^on[A-Z]/)&&typeof e[s]=="function"&&!o.includes(s)).forEach(s=>{i[s]=e[s]}),i}function T$(e){if(e===void 0)return{};const o={};return Object.keys(e).filter(i=>!(i.match(/^on[A-Z]/)&&typeof e[i]=="function")).forEach(i=>{o[i]=e[i]}),o}function vA(e){const{getSlotProps:o,additionalProps:i,externalSlotProps:s,externalForwardedProps:c,className:p}=e;if(!o){const k=yr(i==null?void 0:i.className,p,c==null?void 0:c.className,s==null?void 0:s.className),M={...i==null?void 0:i.style,...c==null?void 0:c.style,...s==null?void 0:s.style},P={...i,...c,...s};return k.length>0&&(P.className=k),Object.keys(M).length>0&&(P.style=M),{props:P,internalRef:void 0}}const d=mA({...c,...s}),v=T$(s),b=T$(c),S=o(d),T=yr(S==null?void 0:S.className,i==null?void 0:i.className,p,c==null?void 0:c.className,s==null?void 0:s.className),w={...S==null?void 0:S.style,...i==null?void 0:i.style,...c==null?void 0:c.style,...s==null?void 0:s.style},R={...S,...i,...b,...v};return T.length>0&&(R.className=T),Object.keys(w).length>0&&(R.style=w),{props:R,internalRef:S.ref}}function ha(e,o){const{className:i,elementType:s,ownerState:c,externalForwardedProps:p,internalForwardedProps:d,shouldForwardComponentProp:v=!1,...b}=o,{component:S,slots:T={[e]:void 0},slotProps:w={[e]:void 0},...R}=p,k=T[e]||s,M=hA(w[e],c),{props:{component:P,...U},internalRef:G}=vA({className:i,...b,externalForwardedProps:e==="root"?R:void 0,externalSlotProps:M}),
|
|
2850
|
-
`&&(_.value+=" ");const X=z.boxSizing,fe=R0(z.paddingBottom)+R0(z.paddingTop),Ce=R0(z.borderBottomWidth)+R0(z.borderTopWidth),V=_.scrollHeight;_.value="x";const ve=_.scrollHeight;let we=V;p&&(we=Math.max(Number(p)*ve,we)),c&&(we=Math.min(Number(c)*ve,we)),we=Math.max(we,ve);const
|
|
2851
|
-
`),X=_.selectionStart===N;z&&X&&_.setSelectionRange(N,N),s&&s(A)};return L.jsxs(xe.Fragment,{children:[L.jsx("textarea",{value:v,onChange:
|
|
2852
|
-
`))},[]),be=_i(re,_,A.ref,K),[ee,Ne]=xe.useState(!1),ye=Tp();process.env.NODE_ENV!=="production"&&xe.useEffect(()=>{if(ye)return ye.registerEffect()},[ye]);const Fe=Ep({props:s,muiFormControl:ye,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Fe.focused=ye?ye.focused:ee,xe.useEffect(()=>{!ye&&R&&ee&&(Ne(!1),V&&V())},[ye,R,ee,V]);const at=ye&&ye.onFilled,It=ye&&ye.onEmpty,jt=xe.useCallback(rt=>{H0(rt)?at&&at():It&&It()},[at,It]);mf(()=>{Z&&jt({value:We})},[We,jt,Z]);const vt=rt=>{ue&&ue(rt),A.onFocus&&A.onFocus(rt),ye&&ye.onFocus?ye.onFocus(rt):Ne(!0)},gt=rt=>{V&&V(rt),A.onBlur&&A.onBlur(rt),ye&&ye.onBlur?ye.onBlur(rt):Ne(!1)},Ct=(rt,...Be)=>{if(!Z){const cn=rt.target||re.current;if(cn==null)throw new Error(process.env.NODE_ENV!=="production"?"MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":es(1));jt({value:cn.value})}A.onChange&&A.onChange(rt,...Be),ve&&ve(rt,...Be)};xe.useEffect(()=>{jt(re.current)},[]);const lt=rt=>{re.current&&rt.currentTarget===rt.target&&re.current.focus(),we&&we(rt)};let sn=Y,mn=A;fe&&sn==="input"&&(ce?(process.env.NODE_ENV!=="production"&&(X||z)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),mn={type:void 0,minRows:ce,maxRows:ce,...mn}):mn={type:void 0,maxRows:z,minRows:X,...mn},sn=yA);const dn=rt=>{jt(rt.animationName==="mui-auto-fill-cancel"?re.current:{value:"x"})};xe.useEffect(()=>{ye&&ye.setAdornedStart(!!W)},[ye,W]);const un={...s,color:Fe.color||"primary",disabled:Fe.disabled,endAdornment:M,error:Fe.error,focused:Fe.focused,formControl:ye,fullWidth:U,hiddenLabel:Fe.hiddenLabel,multiline:fe,size:Fe.size,startAdornment:W,type:Oe},Tn=aF(un),rr=B.root||S.Root||gb,or=Te.root||T.root||{},it=B.input||S.Input||bb;return mn={...mn,...Te.input??T.input},L.jsxs(xe.Fragment,{children:[!k&&typeof k$=="function"&&(A$||(A$=L.jsx(k$,{}))),L.jsxs(rr,{...or,ref:i,onClick:lt,...Je,...!jC(rr)&&{ownerState:{...un,...or.ownerState}},className:yr(Tn.root,or.className,v,De&&"MuiInputBase-readOnly"),children:[W,L.jsx(mb.Provider,{value:null,children:L.jsx(it,{"aria-invalid":Fe.error,"aria-describedby":c,autoComplete:p,autoFocus:d,defaultValue:w,disabled:Fe.disabled,id:G,onAnimationStart:dn,name:Ce,placeholder:ge,readOnly:De,required:Fe.required,rows:ce,value:We,onKeyDown:Se,onKeyUp:Ee,type:Oe,...mn,...!jC(it)&&{as:sn,ownerState:{...un,...mn.ownerState}},ref:be,className:yr(Tn.input,mn.className,De&&"MuiInputBase-readOnly"),onBlur:gt,onChange:Ct,onFocus:vt})}),M,ke?ke({...Fe,startAdornment:W}):null]})]})});process.env.NODE_ENV!=="production"&&(xb.propTypes={"aria-describedby":y.string,autoComplete:y.string,autoFocus:y.bool,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["primary","secondary","error","info","success","warning"]),y.string]),components:y.shape({Input:y.elementType,Root:y.elementType}),componentsProps:y.shape({input:y.object,root:y.object}),defaultValue:y.any,disabled:y.bool,disableInjectingGlobalStyles:y.bool,endAdornment:y.node,error:y.bool,fullWidth:y.bool,id:y.string,inputComponent:lA,inputProps:y.object,inputRef:Bu,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,onBlur:y.func,onChange:y.func,onClick:y.func,onFocus:y.func,onInvalid:y.func,onKeyDown:y.func,onKeyUp:y.func,placeholder:y.string,readOnly:y.bool,renderSuffix:y.func,required:y.bool,rows:y.oneOfType([y.number,y.string]),size:y.oneOfType([y.oneOf(["medium","small"]),y.string]),slotProps:y.shape({input:y.object,root:y.object}),slots:y.shape({input: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});function iF(e){return Xr("MuiInput",e)}const Um={...Cp,...ao("MuiInput",["root","underline","input"])};function lF(e){return Xr("MuiOutlinedInput",e)}const Ql={...Cp,...ao("MuiOutlinedInput",["root","notchedOutline","input"])};function sF(e){return Xr("MuiFilledInput",e)}const of={...Cp,...ao("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},uF=w4(L.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function cF(e){const{prototype:o={}}=e;return!!o.isReactComponent}function gA(e,o,i,s,c){const p=e[o],d=c||o;if(p==null||typeof window>"u")return null;let v;const b=p.type;return typeof b=="function"&&!cF(b)&&(v="Did you accidentally use a plain function component for an element instead?"),v!==void 0?new Error(`Invalid ${s} \`${d}\` supplied to \`${i}\`. Expected an element that can hold a ref. ${v} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const mv=dv(y.element,gA);mv.isRequired=dv(y.element.isRequired,gA);const fF={entering:{opacity:1},entered:{opacity:1}},bA=xe.forwardRef(function(o,i){const s=pw(),c={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{addEndListener:p,appear:d=!0,children:v,easing:b,in:S,onEnter:T,onEntered:w,onEntering:R,onExit:k,onExited:M,onExiting:P,style:U,timeout:G=c,TransitionComponent:Y=ns,...A}=o,_=xe.useRef(null),N=_i(_,hv(v),i),z=Se=>Ee=>{if(Se){const ge=_.current;Ee===void 0?Se(ge):Se(ge,Ee)}},X=z(R),fe=z((Se,Ee)=>{sA(Se);const ge=B0({style:U,timeout:G,easing:b},{mode:"enter"});Se.style.webkitTransition=s.transitions.create("opacity",ge),Se.style.transition=s.transitions.create("opacity",ge),T&&T(Se,Ee)}),Ce=z(w),V=z(P),ve=z(Se=>{const Ee=B0({style:U,timeout:G,easing:b},{mode:"exit"});Se.style.webkitTransition=s.transitions.create("opacity",Ee),Se.style.transition=s.transitions.create("opacity",Ee),k&&k(Se)}),we=z(M),ue=Se=>{p&&p(_.current,Se)};return L.jsx(Y,{appear:d,in:S,nodeRef:_,onEnter:fe,onEntered:Ce,onEntering:X,onExit:ve,onExited:we,onExiting:V,addEndListener:ue,timeout:G,...A,children:(Se,{ownerState:Ee,...ge})=>xe.cloneElement(v,{style:{opacity:0,visibility:Se==="exited"&&!S?"hidden":void 0,...fF[Se],...U,...v.props.style},ref:N,...ge})})});process.env.NODE_ENV!=="production"&&(bA.propTypes={addEndListener:y.func,appear:y.bool,children:mv.isRequired,easing:y.oneOfType([y.shape({enter:y.string,exit:y.string}),y.string]),in:y.bool,onEnter:y.func,onEntered:y.func,onEntering:y.func,onExit:y.func,onExited:y.func,onExiting:y.func,style:y.object,timeout:y.oneOfType([y.number,y.shape({appear:y.number,enter:y.number,exit:y.number})])});function dF(e){return Xr("MuiBackdrop",e)}ao("MuiBackdrop",["root","invisible"]);const pF=e=>{const{classes:o,invisible:i}=e;return io({root:["root",i&&"invisible"]},dF,o)},hF=ln("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,i.invisible&&o.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),xA=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiBackdrop"}),{children:c,className:p,component:d="div",invisible:v=!1,open:b,components:S={},componentsProps:T={},slotProps:w={},slots:R={},TransitionComponent:k,transitionDuration:M,...P}=s,U={...s,component:d,invisible:v},G=pF(U),Y={transition:k,root:S.Root,...R},A={...T,...w},_={component:d,slots:Y,slotProps:A},[N,z]=ha("root",{elementType:hF,externalForwardedProps:_,className:yr(G.root,p),ownerState:U}),[X,fe]=ha("transition",{elementType:bA,externalForwardedProps:_,ownerState:U});return L.jsx(X,{in:b,timeout:M,...P,...fe,children:L.jsx(N,{"aria-hidden":!0,...z,classes:G,ref:i,children:c})})});process.env.NODE_ENV!=="production"&&(xA.propTypes={children:y.node,classes:y.object,className:y.string,component:y.elementType,components:y.shape({Root:y.elementType}),componentsProps:y.shape({root:y.object}),invisible:y.bool,open:y.bool.isRequired,slotProps:y.shape({root:y.oneOfType([y.func,y.object]),transition:y.oneOfType([y.func,y.object])}),slots:y.shape({root:y.elementType,transition:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),TransitionComponent:y.elementType,transitionDuration:y.oneOfType([y.number,y.shape({appear:y.number,enter:y.number,exit:y.number})])});const mF=ao("MuiBox",["root"]),vF=eA(),Sb=pI({themeId:J0,defaultTheme:vF,defaultClassName:mF.root,generateClassName:j3.generate});process.env.NODE_ENV!=="production"&&(Sb.propTypes={children:y.node,component:y.elementType,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});function SA(e=window){const o=e.document.documentElement.clientWidth;return e.innerWidth-o}function yF(e){const o=dl(e);return o.body===e?qs(e).innerWidth>o.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Xm(e,o){o?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function P$(e){return parseInt(qs(e).getComputedStyle(e).paddingRight,10)||0}function gF(e){const i=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),s=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return i||s}function N$(e,o,i,s,c){const p=[o,i,...s];[].forEach.call(e.children,d=>{const v=!p.includes(d),b=!gF(d);v&&b&&Xm(d,c)})}function mC(e,o){let i=-1;return e.some((s,c)=>o(s)?(i=c,!0):!1),i}function bF(e,o){const i=[],s=e.container;if(!o.disableScrollLock){if(yF(s)){const d=SA(qs(s));i.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${P$(s)+d}px`;const v=dl(s).querySelectorAll(".mui-fixed");[].forEach.call(v,b=>{i.push({value:b.style.paddingRight,property:"padding-right",el:b}),b.style.paddingRight=`${P$(b)+d}px`})}let p;if(s.parentNode instanceof DocumentFragment)p=dl(s).body;else{const d=s.parentElement,v=qs(s);p=(d==null?void 0:d.nodeName)==="HTML"&&v.getComputedStyle(d).overflowY==="scroll"?d:s}i.push({value:p.style.overflow,property:"overflow",el:p},{value:p.style.overflowX,property:"overflow-x",el:p},{value:p.style.overflowY,property:"overflow-y",el:p}),p.style.overflow="hidden"}return()=>{i.forEach(({value:p,el:d,property:v})=>{p?d.style.setProperty(v,p):d.style.removeProperty(v)})}}function xF(e){const o=[];return[].forEach.call(e.children,i=>{i.getAttribute("aria-hidden")==="true"&&o.push(i)}),o}class SF{constructor(){this.modals=[],this.containers=[]}add(o,i){let s=this.modals.indexOf(o);if(s!==-1)return s;s=this.modals.length,this.modals.push(o),o.modalRef&&Xm(o.modalRef,!1);const c=xF(i);N$(i,o.mount,o.modalRef,c,!0);const p=mC(this.containers,d=>d.container===i);return p!==-1?(this.containers[p].modals.push(o),s):(this.containers.push({modals:[o],container:i,restore:null,hiddenSiblings:c}),s)}mount(o,i){const s=mC(this.containers,p=>p.modals.includes(o)),c=this.containers[s];c.restore||(c.restore=bF(c,i))}remove(o,i=!0){const s=this.modals.indexOf(o);if(s===-1)return s;const c=mC(this.containers,d=>d.modals.includes(o)),p=this.containers[c];if(p.modals.splice(p.modals.indexOf(o),1),this.modals.splice(s,1),p.modals.length===0)p.restore&&p.restore(),o.modalRef&&Xm(o.modalRef,i),N$(p.container,o.mount,o.modalRef,p.hiddenSiblings,!1),this.containers.splice(c,1);else{const d=p.modals[p.modals.length-1];d.modalRef&&Xm(d.modalRef,!1)}return s}isTopModal(o){return this.modals.length>0&&this.modals[this.modals.length-1]===o}}const CF=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function wF(e){const o=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(o)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:o}function EF(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const o=s=>e.ownerDocument.querySelector(`input[type="radio"]${s}`);let i=o(`[name="${e.name}"]:checked`);return i||(i=o(`[name="${e.name}"]`)),i!==e}function TF(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||EF(e))}function RF(e){const o=[],i=[];return Array.from(e.querySelectorAll(CF)).forEach((s,c)=>{const p=wF(s);p===-1||!TF(s)||(p===0?o.push(s):i.push({documentOrder:c,tabIndex:p,node:s}))}),i.sort((s,c)=>s.tabIndex===c.tabIndex?s.documentOrder-c.documentOrder:s.tabIndex-c.tabIndex).map(s=>s.node).concat(o)}function OF(){return!0}function G0(e){const{children:o,disableAutoFocus:i=!1,disableEnforceFocus:s=!1,disableRestoreFocus:c=!1,getTabbable:p=RF,isEnabled:d=OF,open:v}=e,b=xe.useRef(!1),S=xe.useRef(null),T=xe.useRef(null),w=xe.useRef(null),R=xe.useRef(null),k=xe.useRef(!1),M=xe.useRef(null),P=_i(hv(o),M),U=xe.useRef(null);xe.useEffect(()=>{!v||!M.current||(k.current=!i)},[i,v]),xe.useEffect(()=>{if(!v||!M.current)return;const A=dl(M.current);return M.current.contains(A.activeElement)||(M.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
|
|
2853
|
-
`)),M.current.setAttribute("tabIndex","-1")),k.current&&M.current.focus()),()=>{c||(w.current&&w.current.focus&&(b.current=!0,w.current.focus()),w.current=null)}},[v]),xe.useEffect(()=>{if(!v||!M.current)return;const A=dl(M.current),_=X=>{U.current=X,!(s||!d()||X.key!=="Tab")&&A.activeElement===M.current&&X.shiftKey&&(b.current=!0,T.current&&T.current.focus())},N=()=>{var Ce,V;const X=M.current;if(X===null)return;if(!A.hasFocus()||!d()||b.current){b.current=!1;return}if(X.contains(A.activeElement)||s&&A.activeElement!==S.current&&A.activeElement!==T.current)return;if(A.activeElement!==R.current)R.current=null;else if(R.current!==null)return;if(!k.current)return;let fe=[];if((A.activeElement===S.current||A.activeElement===T.current)&&(fe=p(M.current)),fe.length>0){const ve=!!((Ce=U.current)!=null&&Ce.shiftKey&&((V=U.current)==null?void 0:V.key)==="Tab"),we=fe[0],ue=fe[fe.length-1];typeof we!="string"&&typeof ue!="string"&&(ve?ue.focus():we.focus())}else X.focus()};A.addEventListener("focusin",N),A.addEventListener("keydown",_,!0);const z=setInterval(()=>{A.activeElement&&A.activeElement.tagName==="BODY"&&N()},50);return()=>{clearInterval(z),A.removeEventListener("focusin",N),A.removeEventListener("keydown",_,!0)}},[i,s,c,d,v,p]);const G=A=>{w.current===null&&(w.current=A.relatedTarget),k.current=!0,R.current=A.target;const _=o.props.onFocus;_&&_(A)},Y=A=>{w.current===null&&(w.current=A.relatedTarget),k.current=!0};return L.jsxs(xe.Fragment,{children:[L.jsx("div",{tabIndex:v?0:-1,onFocus:Y,ref:S,"data-testid":"sentinelStart"}),xe.cloneElement(o,{ref:P,onFocus:G}),L.jsx("div",{tabIndex:v?0:-1,onFocus:Y,ref:T,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(G0.propTypes={children:mv,disableAutoFocus:y.bool,disableEnforceFocus:y.bool,disableRestoreFocus:y.bool,getTabbable:y.func,isEnabled:y.func,open:y.bool.isRequired});process.env.NODE_ENV!=="production"&&(G0.propTypes=Y3(G0.propTypes));function $F(e){return typeof e=="function"?e():e}function AF(e){return e?e.props.hasOwnProperty("in"):!1}const D$=()=>{},O0=new SF;function kF(e){const{container:o,disableEscapeKeyDown:i=!1,disableScrollLock:s=!1,closeAfterTransition:c=!1,onTransitionEnter:p,onTransitionExited:d,children:v,onClose:b,open:S,rootRef:T}=e,w=xe.useRef({}),R=xe.useRef(null),k=xe.useRef(null),M=_i(k,T),[P,U]=xe.useState(!S),G=AF(v);let Y=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(Y=!1);const A=()=>dl(R.current),_=()=>(w.current.modalRef=k.current,w.current.mount=R.current,w.current),N=()=>{O0.mount(_(),{disableScrollLock:s}),k.current&&(k.current.scrollTop=0)},z=_C(()=>{const Ee=$F(o)||A().body;O0.add(_(),Ee),k.current&&N()}),X=()=>O0.isTopModal(_()),fe=_C(Ee=>{R.current=Ee,Ee&&(S&&X()?N():k.current&&Xm(k.current,Y))}),Ce=xe.useCallback(()=>{O0.remove(_(),Y)},[Y]);xe.useEffect(()=>()=>{Ce()},[Ce]),xe.useEffect(()=>{S?z():(!G||!c)&&Ce()},[S,Ce,G,c,z]);const V=Ee=>ge=>{var De;(De=Ee.onKeyDown)==null||De.call(Ee,ge),!(ge.key!=="Escape"||ge.which===229||!X())&&(i||(ge.stopPropagation(),b&&b(ge,"escapeKeyDown")))},ve=Ee=>ge=>{var De;(De=Ee.onClick)==null||De.call(Ee,ge),ge.target===ge.currentTarget&&b&&b(ge,"backdropClick")};return{getRootProps:(Ee={})=>{const ge=mA(e);delete ge.onTransitionEnter,delete ge.onTransitionExited;const De={...ge,...Ee};return{role:"presentation",...De,onKeyDown:V(De),ref:M}},getBackdropProps:(Ee={})=>{const ge=Ee;return{"aria-hidden":!0,...ge,onClick:ve(ge),open:S}},getTransitionProps:()=>{const Ee=()=>{U(!1),p&&p()},ge=()=>{U(!0),d&&d(),c&&Ce()};return{onEnter:h$(Ee,(v==null?void 0:v.props.onEnter)??D$),onExited:h$(ge,(v==null?void 0:v.props.onExited)??D$)}},rootRef:M,portalRef:fe,isTopModal:X,exited:P,hasTransition:G}}function PF(e){return Xr("MuiModal",e)}ao("MuiModal",["root","hidden","backdrop"]);const NF=e=>{const{open:o,exited:i,classes:s}=e;return io({root:["root",!o&&i&&"hidden"],backdrop:["backdrop"]},PF,s)},DF=ln("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,!i.open&&i.exited&&o.hidden]}})(Yo(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:o})=>!o.open&&o.exited,style:{visibility:"hidden"}}]}))),MF=ln(xA,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),CA=xe.forwardRef(function(o,i){const s=Ao({name:"MuiModal",props:o}),{BackdropComponent:c=MF,BackdropProps:p,classes:d,className:v,closeAfterTransition:b=!1,children:S,container:T,component:w,components:R={},componentsProps:k={},disableAutoFocus:M=!1,disableEnforceFocus:P=!1,disableEscapeKeyDown:U=!1,disablePortal:G=!1,disableRestoreFocus:Y=!1,disableScrollLock:A=!1,hideBackdrop:_=!1,keepMounted:N=!1,onClose:z,onTransitionEnter:X,onTransitionExited:fe,open:Ce,slotProps:V={},slots:ve={},theme:we,...ue}=s,Se={...s,closeAfterTransition:b,disableAutoFocus:M,disableEnforceFocus:P,disableEscapeKeyDown:U,disablePortal:G,disableRestoreFocus:Y,disableScrollLock:A,hideBackdrop:_,keepMounted:N},{getRootProps:Ee,getBackdropProps:ge,getTransitionProps:De,portalRef:ke,isTopModal:ce,exited:oe,hasTransition:Te}=kF({...Se,rootRef:i}),B={...Se,exited:oe},W=NF(B),Oe={};if(S.props.tabIndex===void 0&&(Oe.tabIndex="-1"),Te){const{onEnter:K,onExited:be}=De();Oe.onEnter=K,Oe.onExited=be}const He={slots:{root:R.Root,backdrop:R.Backdrop,...ve},slotProps:{...k,...V}},[Je,We]=ha("root",{ref:i,elementType:DF,externalForwardedProps:{...He,...ue,component:w},getSlotProps:Ee,ownerState:B,className:yr(v,W==null?void 0:W.root,!B.open&&B.exited&&(W==null?void 0:W.hidden))}),[Z,re]=ha("backdrop",{ref:p==null?void 0:p.ref,elementType:c,externalForwardedProps:He,shouldForwardComponentProp:!0,additionalProps:p,getSlotProps:K=>ge({...K,onClick:be=>{K!=null&&K.onClick&&K.onClick(be)}}),className:yr(p==null?void 0:p.className,W==null?void 0:W.backdrop),ownerState:B});return!N&&!Ce&&(!Te||oe)?null:L.jsx(z0,{ref:ke,container:T,disablePortal:G,children:L.jsxs(Je,{...We,children:[!_&&c?L.jsx(Z,{...re}):null,L.jsx(G0,{disableEnforceFocus:P,disableAutoFocus:M,disableRestoreFocus:Y,isEnabled:ce,open:Ce,children:xe.cloneElement(S,Oe)})]})})});process.env.NODE_ENV!=="production"&&(CA.propTypes={BackdropComponent:y.elementType,BackdropProps:y.object,children:mv.isRequired,classes:y.object,className:y.string,closeAfterTransition:y.bool,component:y.elementType,components:y.shape({Backdrop:y.elementType,Root:y.elementType}),componentsProps:y.shape({backdrop:y.oneOfType([y.func,y.object]),root:y.oneOfType([y.func,y.object])}),container:y.oneOfType([av,y.func]),disableAutoFocus:y.bool,disableEnforceFocus:y.bool,disableEscapeKeyDown:y.bool,disablePortal:y.bool,disableRestoreFocus:y.bool,disableScrollLock:y.bool,hideBackdrop:y.bool,keepMounted:y.bool,onClose:y.func,onTransitionEnter:y.func,onTransitionExited:y.func,open:y.bool.isRequired,slotProps:y.shape({backdrop:y.oneOfType([y.func,y.object]),root:y.oneOfType([y.func,y.object])}),slots:y.shape({backdrop:y.elementType,root:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});const LF=e=>{const{classes:o,disableUnderline:i,startAdornment:s,endAdornment:c,size:p,hiddenLabel:d,multiline:v}=e,b={root:["root",!i&&"underline",s&&"adornedStart",c&&"adornedEnd",p==="small"&&`size${Cr(p)}`,d&&"hiddenLabel",v&&"multiline"],input:["input"]},S=io(b,sF,o);return{...o,...S}},_F=ln(gb,{shouldForwardProp:e=>ts(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[...vb(e,o),!i.disableUnderline&&o.underline]}})(Yo(({theme:e})=>{const o=e.palette.mode==="light",i=o?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",s=o?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",c=o?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",p=o?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:s,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:c,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:s}},[`&.${of.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:s},[`&.${of.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:p},variants:[{props:({ownerState:d})=>!d.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${of.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${of.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${of.disabled}, .${of.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${of.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(pv()).map(([d])=>{var v;return{props:{disableUnderline:!1,color:d},style:{"&::after":{borderBottom:`2px solid ${(v=(e.vars||e).palette[d])==null?void 0:v.main}`}}}}),{props:({ownerState:d})=>d.startAdornment,style:{paddingLeft:12}},{props:({ownerState:d})=>d.endAdornment,style:{paddingRight:12}},{props:({ownerState:d})=>d.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:d,size:v})=>d.multiline&&v==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:d})=>d.multiline&&d.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:d})=>d.multiline&&d.hiddenLabel&&d.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),IF=ln(bb,{name:"MuiFilledInput",slot:"Input",overridesResolver:yb})(Yo(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:o})=>o.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:o})=>o.startAdornment,style:{paddingLeft:0}},{props:({ownerState:o})=>o.endAdornment,style:{paddingRight:0}},{props:({ownerState:o})=>o.hiddenLabel&&o.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:o})=>o.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Cb=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiFilledInput"}),{disableUnderline:c=!1,components:p={},componentsProps:d,fullWidth:v=!1,hiddenLabel:b,inputComponent:S="input",multiline:T=!1,slotProps:w,slots:R={},type:k="text",...M}=s,P={...s,disableUnderline:c,fullWidth:v,inputComponent:S,multiline:T,type:k},U=LF(s),G={root:{ownerState:P},input:{ownerState:P}},Y=w??d?ma(G,w??d):G,A=R.root??p.Root??_F,_=R.input??p.Input??IF;return L.jsx(xb,{slots:{root:A,input:_},slotProps:Y,fullWidth:v,inputComponent:S,multiline:T,ref:i,type:k,...M,classes:U})});process.env.NODE_ENV!=="production"&&(Cb.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}),componentsProps:y.shape({input:y.object,root:y.object}),defaultValue:y.any,disabled:y.bool,disableUnderline:y.bool,endAdornment:y.node,error:y.bool,fullWidth:y.bool,hiddenLabel:y.bool,id:y.string,inputComponent:y.elementType,inputProps:y.object,inputRef:Bu,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,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,root:y.object}),slots:y.shape({input: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});Cb.muiName="Input";function FF(e){return Xr("MuiFormControl",e)}ao("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const VF=e=>{const{classes:o,margin:i,fullWidth:s}=e,c={root:["root",i!=="none"&&`margin${Cr(i)}`,s&&"fullWidth"]};return io(c,FF,o)},jF=ln("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,o[`margin${Cr(i.margin)}`],i.fullWidth&&o.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),wA=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiFormControl"}),{children:c,className:p,color:d="primary",component:v="div",disabled:b=!1,error:S=!1,focused:T,fullWidth:w=!1,hiddenLabel:R=!1,margin:k="none",required:M=!1,size:P="medium",variant:U="outlined",...G}=s,Y={...s,color:d,component:v,disabled:b,error:S,fullWidth:w,hiddenLabel:R,margin:k,required:M,size:P,variant:U},A=VF(Y),[_,N]=xe.useState(()=>{let ge=!1;return c&&xe.Children.forEach(c,De=>{if(!fC(De,["Input","Select"]))return;const ke=fC(De,["Select"])?De.props.input:De;ke&&rF(ke.props)&&(ge=!0)}),ge}),[z,X]=xe.useState(()=>{let ge=!1;return c&&xe.Children.forEach(c,De=>{fC(De,["Input","Select"])&&(H0(De.props,!0)||H0(De.props.inputProps,!0))&&(ge=!0)}),ge}),[fe,Ce]=xe.useState(!1);b&&fe&&Ce(!1);const V=T!==void 0&&!b?T:fe;let ve;const we=xe.useRef(!1);process.env.NODE_ENV!=="production"&&(ve=()=>(we.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
|
|
2854
|
-
`)),we.current=!0,()=>{we.current=!1}));const ue=xe.useCallback(()=>{X(!0)},[]),Se=xe.useCallback(()=>{X(!1)},[]),Ee=xe.useMemo(()=>({adornedStart:_,setAdornedStart:N,color:d,disabled:b,error:S,filled:z,focused:V,fullWidth:w,hiddenLabel:R,size:P,onBlur:()=>{Ce(!1)},onFocus:()=>{Ce(!0)},onEmpty:Se,onFilled:ue,registerEffect:ve,required:M,variant:U}),[_,d,b,S,z,V,w,R,ve,Se,ue,M,P,U]);return L.jsx(mb.Provider,{value:Ee,children:L.jsx(jF,{as:v,ownerState:Y,className:yr(A.root,p),ref:i,...G,children:c})})});process.env.NODE_ENV!=="production"&&(wA.propTypes={children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["primary","secondary","error","info","success","warning"]),y.string]),component:y.elementType,disabled:y.bool,error:y.bool,focused:y.bool,fullWidth:y.bool,hiddenLabel:y.bool,margin:y.oneOf(["dense","none","normal"]),required:y.bool,size:y.oneOfType([y.oneOf(["medium","small"]),y.string]),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),variant:y.oneOf(["filled","outlined","standard"])});function UF(e){return Xr("MuiFormHelperText",e)}const M$=ao("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var L$;const BF=e=>{const{classes:o,contained:i,size:s,disabled:c,error:p,filled:d,focused:v,required:b}=e,S={root:["root",c&&"disabled",p&&"error",s&&`size${Cr(s)}`,i&&"contained",v&&"focused",d&&"filled",b&&"required"]};return io(S,UF,o)},zF=ln("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,i.size&&o[`size${Cr(i.size)}`],i.contained&&o.contained,i.filled&&o.filled]}})(Yo(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${M$.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${M$.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:o})=>o.contained,style:{marginLeft:14,marginRight:14}}]}))),EA=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiFormHelperText"}),{children:c,className:p,component:d="p",disabled:v,error:b,filled:S,focused:T,margin:w,required:R,variant:k,...M}=s,P=Tp(),U=Ep({props:s,muiFormControl:P,states:["variant","size","disabled","error","filled","focused","required"]}),G={...s,component:d,contained:U.variant==="filled"||U.variant==="outlined",variant:U.variant,size:U.size,disabled:U.disabled,error:U.error,filled:U.filled,focused:U.focused,required:U.required};delete G.ownerState;const Y=BF(G);return L.jsx(zF,{as:d,className:yr(Y.root,p),ref:i,...M,ownerState:G,children:c===" "?L$||(L$=L.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):c})});process.env.NODE_ENV!=="production"&&(EA.propTypes={children:y.node,classes:y.object,className:y.string,component:y.elementType,disabled:y.bool,error:y.bool,filled:y.bool,focused:y.bool,margin:y.oneOf(["dense"]),required:y.bool,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),variant:y.oneOfType([y.oneOf(["filled","outlined","standard"]),y.string])});function HF(e){return Xr("MuiFormLabel",e)}const Km=ao("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),GF=e=>{const{classes:o,color:i,focused:s,disabled:c,error:p,filled:d,required:v}=e,b={root:["root",`color${Cr(i)}`,c&&"disabled",p&&"error",d&&"filled",s&&"focused",v&&"required"],asterisk:["asterisk",p&&"error"]};return io(b,HF,o)},WF=ln("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,i.color==="secondary"&&o.colorSecondary,i.filled&&o.filled]}})(Yo(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(pv()).map(([o])=>({props:{color:o},style:{[`&.${Km.focused}`]:{color:(e.vars||e).palette[o].main}}})),{props:{},style:{[`&.${Km.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Km.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),YF=ln("span",{name:"MuiFormLabel",slot:"Asterisk"})(Yo(({theme:e})=>({[`&.${Km.error}`]:{color:(e.vars||e).palette.error.main}}))),TA=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiFormLabel"}),{children:c,className:p,color:d,component:v="label",disabled:b,error:S,filled:T,focused:w,required:R,...k}=s,M=Tp(),P=Ep({props:s,muiFormControl:M,states:["color","required","focused","disabled","error","filled"]}),U={...s,color:P.color||"primary",component:v,disabled:P.disabled,error:P.error,filled:P.filled,focused:P.focused,required:P.required},G=GF(U);return L.jsxs(WF,{as:v,ownerState:U,className:yr(G.root,p),ref:i,...k,children:[c,P.required&&L.jsxs(YF,{ownerState:U,"aria-hidden":!0,className:G.asterisk,children:[" ","*"]})]})});process.env.NODE_ENV!=="production"&&(TA.propTypes={children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["error","info","primary","secondary","success","warning"]),y.string]),component:y.elementType,disabled:y.bool,error:y.bool,filled:y.bool,focused:y.bool,required:y.bool,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});function UC(e){return`scale(${e}, ${e**2})`}const qF={entering:{opacity:1,transform:UC(1)},entered:{opacity:1,transform:"none"}},vC=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),W0=xe.forwardRef(function(o,i){const{addEndListener:s,appear:c=!0,children:p,easing:d,in:v,onEnter:b,onEntered:S,onEntering:T,onExit:w,onExited:R,onExiting:k,style:M,timeout:P="auto",TransitionComponent:U=ns,...G}=o,Y=F4(),A=xe.useRef(),_=pw(),N=xe.useRef(null),z=_i(N,hv(p),i),X=Ee=>ge=>{if(Ee){const De=N.current;ge===void 0?Ee(De):Ee(De,ge)}},fe=X(T),Ce=X((Ee,ge)=>{sA(Ee);const{duration:De,delay:ke,easing:ce}=B0({style:M,timeout:P,easing:d},{mode:"enter"});let oe;P==="auto"?(oe=_.transitions.getAutoHeightDuration(Ee.clientHeight),A.current=oe):oe=De,Ee.style.transition=[_.transitions.create("opacity",{duration:oe,delay:ke}),_.transitions.create("transform",{duration:vC?oe:oe*.666,delay:ke,easing:ce})].join(","),b&&b(Ee,ge)}),V=X(S),ve=X(k),we=X(Ee=>{const{duration:ge,delay:De,easing:ke}=B0({style:M,timeout:P,easing:d},{mode:"exit"});let ce;P==="auto"?(ce=_.transitions.getAutoHeightDuration(Ee.clientHeight),A.current=ce):ce=ge,Ee.style.transition=[_.transitions.create("opacity",{duration:ce,delay:De}),_.transitions.create("transform",{duration:vC?ce:ce*.666,delay:vC?De:De||ce*.333,easing:ke})].join(","),Ee.style.opacity=0,Ee.style.transform=UC(.75),w&&w(Ee)}),ue=X(R),Se=Ee=>{P==="auto"&&Y.start(A.current||0,Ee),s&&s(N.current,Ee)};return L.jsx(U,{appear:c,in:v,nodeRef:N,onEnter:Ce,onEntered:V,onEntering:fe,onExit:we,onExited:ue,onExiting:ve,addEndListener:Se,timeout:P==="auto"?null:P,...G,children:(Ee,{ownerState:ge,...De})=>xe.cloneElement(p,{style:{opacity:0,transform:UC(.75),visibility:Ee==="exited"&&!v?"hidden":void 0,...qF[Ee],...M,...p.props.style},ref:z,...De})})});process.env.NODE_ENV!=="production"&&(W0.propTypes={addEndListener:y.func,appear:y.bool,children:mv.isRequired,easing:y.oneOfType([y.shape({enter:y.string,exit:y.string}),y.string]),in:y.bool,onEnter:y.func,onEntered:y.func,onEntering:y.func,onExit:y.func,onExited:y.func,onExiting:y.func,style:y.object,timeout:y.oneOfType([y.oneOf(["auto"]),y.number,y.shape({appear:y.number,enter:y.number,exit:y.number})])});W0&&(W0.muiSupportAuto=!0);const QF=e=>{const{classes:o,disableUnderline:i}=e,c=io({root:["root",!i&&"underline"],input:["input"]},iF,o);return{...o,...c}},XF=ln(gb,{shouldForwardProp:e=>ts(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[...vb(e,o),!i.disableUnderline&&o.underline]}})(Yo(({theme:e})=>{let i=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(i=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:s})=>s.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:s})=>!s.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Um.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Um.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Um.disabled}, .${Um.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${i}`}},[`&.${Um.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(pv()).map(([s])=>({props:{color:s,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[s].main}`}}}))]}})),KF=ln(bb,{name:"MuiInput",slot:"Input",overridesResolver:yb})({}),wb=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiInput"}),{disableUnderline:c=!1,components:p={},componentsProps:d,fullWidth:v=!1,inputComponent:b="input",multiline:S=!1,slotProps:T,slots:w={},type:R="text",...k}=s,M=QF(s),U={root:{ownerState:{disableUnderline:c}}},G=T??d?ma(T??d,U):U,Y=w.root??p.Root??XF,A=w.input??p.Input??KF;return L.jsx(xb,{slots:{root:Y,input:A},slotProps:G,fullWidth:v,inputComponent:b,multiline:S,ref:i,type:R,...k,classes:M})});process.env.NODE_ENV!=="production"&&(wb.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}),componentsProps:y.shape({input:y.object,root:y.object}),defaultValue:y.any,disabled:y.bool,disableUnderline:y.bool,endAdornment:y.node,error:y.bool,fullWidth:y.bool,id:y.string,inputComponent:y.elementType,inputProps:y.object,inputRef:Bu,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,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,root:y.object}),slots:y.shape({input: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});wb.muiName="Input";function ZF(e){return Xr("MuiInputLabel",e)}ao("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const JF=e=>{const{classes:o,formControl:i,size:s,shrink:c,disableAnimation:p,variant:d,required:v}=e,b={root:["root",i&&"formControl",!p&&"animated",c&&"shrink",s&&s!=="medium"&&`size${Cr(s)}`,d],asterisk:[v&&"asterisk"]},S=io(b,ZF,o);return{...o,...S}},eV=ln(TA,{shouldForwardProp:e=>ts(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[{[`& .${Km.asterisk}`]:o.asterisk},o.root,i.formControl&&o.formControl,i.size==="small"&&o.sizeSmall,i.shrink&&o.shrink,!i.disableAnimation&&o.animated,i.focused&&o.focused,o[i.variant]]}})(Yo(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:o})=>o.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:o})=>o.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:o})=>!o.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:o,ownerState:i})=>o==="filled"&&i.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:o,ownerState:i,size:s})=>o==="filled"&&i.shrink&&s==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:o,ownerState:i})=>o==="outlined"&&i.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),RA=xe.forwardRef(function(o,i){const s=Ao({name:"MuiInputLabel",props:o}),{disableAnimation:c=!1,margin:p,shrink:d,variant:v,className:b,...S}=s,T=Tp();let w=d;typeof w>"u"&&T&&(w=T.filled||T.focused||T.adornedStart);const R=Ep({props:s,muiFormControl:T,states:["size","variant","required","focused"]}),k={...s,disableAnimation:c,formControl:T,shrink:w,size:R.size,variant:R.variant,required:R.required,focused:R.focused},M=JF(k);return L.jsx(eV,{"data-shrink":w,ref:i,className:yr(M.root,b),...S,ownerState:k,classes:M})});process.env.NODE_ENV!=="production"&&(RA.propTypes={children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["error","info","primary","secondary","success","warning"]),y.string]),disableAnimation:y.bool,disabled:y.bool,error:y.bool,focused:y.bool,margin:y.oneOf(["dense"]),required:y.bool,shrink:y.bool,size:y.oneOfType([y.oneOf(["medium","small"]),y.string]),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),variant:y.oneOf(["filled","outlined","standard"])});const OA=xe.createContext({});process.env.NODE_ENV!=="production"&&(OA.displayName="ListContext");function tV(e){return Xr("MuiList",e)}ao("MuiList",["root","padding","dense","subheader"]);const nV=e=>{const{classes:o,disablePadding:i,dense:s,subheader:c}=e;return io({root:["root",!i&&"padding",s&&"dense",c&&"subheader"]},tV,o)},rV=ln("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,!i.disablePadding&&o.padding,i.dense&&o.dense,i.subheader&&o.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),$A=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiList"}),{children:c,className:p,component:d="ul",dense:v=!1,disablePadding:b=!1,subheader:S,...T}=s,w=xe.useMemo(()=>({dense:v}),[v]),R={...s,component:d,dense:v,disablePadding:b},k=nV(R);return L.jsx(OA.Provider,{value:w,children:L.jsxs(rV,{as:d,className:yr(k.root,p),ref:i,ownerState:R,...T,children:[S,c]})})});process.env.NODE_ENV!=="production"&&($A.propTypes={children:y.node,classes:y.object,className:y.string,component:y.elementType,dense:y.bool,disablePadding:y.bool,subheader:y.node,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});function yC(e,o,i){return e===o?e.firstChild:o&&o.nextElementSibling?o.nextElementSibling:i?null:e.firstChild}function _$(e,o,i){return e===o?i?e.firstChild:e.lastChild:o&&o.previousElementSibling?o.previousElementSibling:i?null:e.lastChild}function AA(e,o){if(o===void 0)return!0;let i=e.innerText;return i===void 0&&(i=e.textContent),i=i.trim().toLowerCase(),i.length===0?!1:o.repeating?i[0]===o.keys[0]:i.startsWith(o.keys.join(""))}function Bm(e,o,i,s,c,p){let d=!1,v=c(e,o,o?i:!1);for(;v;){if(v===e.firstChild){if(d)return!1;d=!0}const b=s?!1:v.disabled||v.getAttribute("aria-disabled")==="true";if(!v.hasAttribute("tabindex")||!AA(v,p)||b)v=c(e,v,i);else return v.focus(),!0}return!1}const kA=xe.forwardRef(function(o,i){const{actions:s,autoFocus:c=!1,autoFocusItem:p=!1,children:d,className:v,disabledItemsFocusable:b=!1,disableListWrap:S=!1,onKeyDown:T,variant:w="selectedMenu",...R}=o,k=xe.useRef(null),M=xe.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});mf(()=>{c&&k.current.focus()},[c]),xe.useImperativeHandle(s,()=>({adjustStyleForScrollbar:(A,{direction:_})=>{const N=!k.current.style.width;if(A.clientHeight<k.current.clientHeight&&N){const z=`${SA(qs(A))}px`;k.current.style[_==="rtl"?"paddingLeft":"paddingRight"]=z,k.current.style.width=`calc(100% + ${z})`}return k.current}}),[]);const P=A=>{const _=k.current,N=A.key;if(A.ctrlKey||A.metaKey||A.altKey){T&&T(A);return}const X=dl(_).activeElement;if(N==="ArrowDown")A.preventDefault(),Bm(_,X,S,b,yC);else if(N==="ArrowUp")A.preventDefault(),Bm(_,X,S,b,_$);else if(N==="Home")A.preventDefault(),Bm(_,null,S,b,yC);else if(N==="End")A.preventDefault(),Bm(_,null,S,b,_$);else if(N.length===1){const fe=M.current,Ce=N.toLowerCase(),V=performance.now();fe.keys.length>0&&(V-fe.lastTime>500?(fe.keys=[],fe.repeating=!0,fe.previousKeyMatched=!0):fe.repeating&&Ce!==fe.keys[0]&&(fe.repeating=!1)),fe.lastTime=V,fe.keys.push(Ce);const ve=X&&!fe.repeating&&AA(X,fe);fe.previousKeyMatched&&(ve||Bm(_,X,!1,b,yC,fe))?A.preventDefault():fe.previousKeyMatched=!1}T&&T(A)},U=_i(k,i);let G=-1;xe.Children.forEach(d,(A,_)=>{if(!xe.isValidElement(A)){G===_&&(G+=1,G>=d.length&&(G=-1));return}process.env.NODE_ENV!=="production"&&pf.isFragment(A)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
2855
|
-
`)),A.props.disabled||(w==="selectedMenu"&&A.props.selected||G===-1)&&(G=_),G===_&&(A.props.disabled||A.props.muiSkipListHighlight||A.type.muiSkipListHighlight)&&(G+=1,G>=d.length&&(G=-1))});const
|
|
2856
|
-
`))}return{top:ee.top+I$(ee,d.vertical),left:ee.left+F$(ee,d.horizontal)}},[p,d.horizontal,d.vertical,v,b]),we=xe.useCallback(K=>({vertical:I$(K,
|
|
2857
|
-
`)),k!==null&&Fe<k){const Ct=Fe-k;Fe-=Ct,ee.horizontal+=Ct}else if(It>gt){const Ct=It-gt;Fe-=Ct,ee.horizontal+=Ct}return{top:`${Math.round(ye)}px`,left:`${Math.round(Fe)}px`,transformOrigin:V$(ee)}},[p,b,ve,we,k]),[Se,Ee]=xe.useState(M),ge=xe.useCallback(()=>{const K=fe.current;if(!K)return;const be=
|
|
2849
|
+
`)),L.jsx(H4,{as:d,ownerState:w,className:yr(R.root,p),ref:i,...T,style:{...S==="elevation"&&{"--Paper-shadow":(c.vars||c).shadows[v],...c.vars&&{"--Paper-overlay":(k=c.vars.overlays)==null?void 0:k[v]},...!c.vars&&c.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${DC("#fff",LC(v))}, ${DC("#fff",LC(v))})`}},...T.style}})});process.env.NODE_ENV!=="production"&&(dA.propTypes={children:y.node,classes:y.object,className:y.string,component:y.elementType,elevation:dv(fA,e=>{const{elevation:o,variant:i}=e;return o>0&&i==="outlined"?new Error(`MUI: Combining \`elevation={${o}}\` with \`variant="${i}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:y.bool,style:y.object,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),variant:y.oneOfType([y.oneOf(["elevation","outlined"]),y.string])});function G4(e){return typeof e=="string"}function pA(e,o,i){return e===void 0||G4(e)?o:{...o,ownerState:{...o.ownerState,...i}}}function hA(e,o,i){return typeof e=="function"?e(o,i):e}function mA(e,o=[]){if(e===void 0)return{};const i={};return Object.keys(e).filter(s=>s.match(/^on[A-Z]/)&&typeof e[s]=="function"&&!o.includes(s)).forEach(s=>{i[s]=e[s]}),i}function T$(e){if(e===void 0)return{};const o={};return Object.keys(e).filter(i=>!(i.match(/^on[A-Z]/)&&typeof e[i]=="function")).forEach(i=>{o[i]=e[i]}),o}function vA(e){const{getSlotProps:o,additionalProps:i,externalSlotProps:s,externalForwardedProps:c,className:p}=e;if(!o){const k=yr(i==null?void 0:i.className,p,c==null?void 0:c.className,s==null?void 0:s.className),M={...i==null?void 0:i.style,...c==null?void 0:c.style,...s==null?void 0:s.style},P={...i,...c,...s};return k.length>0&&(P.className=k),Object.keys(M).length>0&&(P.style=M),{props:P,internalRef:void 0}}const d=mA({...c,...s}),v=T$(s),b=T$(c),S=o(d),T=yr(S==null?void 0:S.className,i==null?void 0:i.className,p,c==null?void 0:c.className,s==null?void 0:s.className),w={...S==null?void 0:S.style,...i==null?void 0:i.style,...c==null?void 0:c.style,...s==null?void 0:s.style},R={...S,...i,...b,...v};return T.length>0&&(R.className=T),Object.keys(w).length>0&&(R.style=w),{props:R,internalRef:S.ref}}function ha(e,o){const{className:i,elementType:s,ownerState:c,externalForwardedProps:p,internalForwardedProps:d,shouldForwardComponentProp:v=!1,...b}=o,{component:S,slots:T={[e]:void 0},slotProps:w={[e]:void 0},...R}=p,k=T[e]||s,M=hA(w[e],c),{props:{component:P,...U},internalRef:G}=vA({className:i,...b,externalForwardedProps:e==="root"?R:void 0,externalSlotProps:M}),W=_i(G,M==null?void 0:M.ref,o.ref),A=e==="root"?P||S:P,_=pA(k,{...e==="root"&&!S&&!T[e]&&d,...e!=="root"&&!T[e]&&d,...U,...A&&!v&&{as:A},...A&&v&&{component:A},ref:W},c);return[k,_]}const Bu=y.oneOfType([y.func,y.object]);function W4(e){return typeof e.main=="string"}function Y4(e,o=[]){if(!W4(e))return!1;for(const i of o)if(!e.hasOwnProperty(i)||typeof e[i]!="string")return!1;return!0}function pv(e=[]){return([,o])=>o&&Y4(o,e)}function q4(e){return Xr("MuiTypography",e)}ao("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Q4={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},X4=b4(),K4=e=>{const{align:o,gutterBottom:i,noWrap:s,paragraph:c,variant:p,classes:d}=e,v={root:["root",p,e.align!=="inherit"&&`align${Cr(o)}`,i&&"gutterBottom",s&&"noWrap",c&&"paragraph"]};return io(v,q4,d)},Z4=ln("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,i.variant&&o[i.variant],i.align!=="inherit"&&o[`align${Cr(i.align)}`],i.noWrap&&o.noWrap,i.gutterBottom&&o.gutterBottom,i.paragraph&&o.paragraph]}})(Yo(({theme:e})=>{var o;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([i,s])=>i!=="inherit"&&s&&typeof s=="object").map(([i,s])=>({props:{variant:i},style:s})),...Object.entries(e.palette).filter(pv()).map(([i])=>({props:{color:i},style:{color:(e.vars||e).palette[i].main}})),...Object.entries(((o=e.palette)==null?void 0:o.text)||{}).filter(([,i])=>typeof i=="string").map(([i])=>({props:{color:`text${Cr(i)}`},style:{color:(e.vars||e).palette.text[i]}})),{props:({ownerState:i})=>i.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:i})=>i.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:i})=>i.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:i})=>i.paragraph,style:{marginBottom:16}}]}})),R$={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},mw=xe.forwardRef(function(o,i){const{color:s,...c}=Ao({props:o,name:"MuiTypography"}),p=!Q4[s],d=X4({...c,...p&&{color:s}}),{align:v="inherit",className:b,component:S,gutterBottom:T=!1,noWrap:w=!1,paragraph:R=!1,variant:k="body1",variantMapping:M=R$,...P}=d,U={...d,align:v,color:s,className:b,component:S,gutterBottom:T,noWrap:w,paragraph:R,variant:k,variantMapping:M},G=S||(R?"p":M[k]||R$[k])||"span",W=K4(U);return L.jsx(Z4,{as:G,ref:i,className:yr(W.root,b),...P,ownerState:U,style:{...v!=="inherit"&&{"--Typography-textAlign":v},...P.style}})});process.env.NODE_ENV!=="production"&&(mw.propTypes={align:y.oneOf(["center","inherit","justify","left","right"]),children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),y.string]),component:y.elementType,gutterBottom:y.bool,noWrap:y.bool,paragraph:y.bool,style:y.object,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),variant:y.oneOfType([y.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),y.string]),variantMapping:y.object});function av(e,o,i,s,c){if(process.env.NODE_ENV==="production")return null;const p=e[o],d=c||o;return p==null?null:p&&p.nodeType!==1?new Error(`Invalid ${s} \`${d}\` supplied to \`${i}\`. Expected an HTMLElement.`):null}function J4(e){var w;const{elementType:o,externalSlotProps:i,ownerState:s,skipResolvingSlotProps:c=!1,...p}=e,d=c?{}:hA(i,s),{props:v,internalRef:b}=vA({...p,externalSlotProps:d}),S=_i(b,d==null?void 0:d.ref,(w=e.additionalProps)==null?void 0:w.ref);return pA(o,{...v,ref:S},s)}function hv(e){var o;return parseInt(xe.version,10)>=19?((o=e==null?void 0:e.props)==null?void 0:o.ref)||null:(e==null?void 0:e.ref)||null}function eF(e){return typeof e=="function"?e():e}const z0=xe.forwardRef(function(o,i){const{children:s,container:c,disablePortal:p=!1}=o,[d,v]=xe.useState(null),b=_i(xe.isValidElement(s)?hv(s):null,i);if(mf(()=>{p||v(eF(c)||document.body)},[c,p]),mf(()=>{if(d&&!p)return m$(i,d),()=>{m$(i,null)}},[i,d,p]),p){if(xe.isValidElement(s)){const S={ref:b};return xe.cloneElement(s,S)}return s}return d&&aA.createPortal(s,d)});process.env.NODE_ENV!=="production"&&(z0.propTypes={children:y.node,container:y.oneOfType([av,y.func]),disablePortal:y.bool});process.env.NODE_ENV!=="production"&&(z0.propTypes=Y3(z0.propTypes));function R0(e){return parseInt(e,10)||0}const tF={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function nF(e){for(const o in e)return!1;return!0}function O$(e){return nF(e)||e.outerHeightStyle===0&&!e.overflowing}const yA=xe.forwardRef(function(o,i){const{onChange:s,maxRows:c,minRows:p=1,style:d,value:v,...b}=o,{current:S}=xe.useRef(v!=null),T=xe.useRef(null),w=_i(i,T),R=xe.useRef(null),k=xe.useRef(null),M=xe.useCallback(()=>{const A=T.current,_=k.current;if(!A||!_)return;const z=qs(A).getComputedStyle(A);if(z.width==="0px")return{outerHeightStyle:0,overflowing:!1};_.style.width=z.width,_.value=A.value||o.placeholder||"x",_.value.slice(-1)===`
|
|
2850
|
+
`&&(_.value+=" ");const X=z.boxSizing,fe=R0(z.paddingBottom)+R0(z.paddingTop),Ce=R0(z.borderBottomWidth)+R0(z.borderTopWidth),V=_.scrollHeight;_.value="x";const ve=_.scrollHeight;let we=V;p&&(we=Math.max(Number(p)*ve,we)),c&&(we=Math.min(Number(c)*ve,we)),we=Math.max(we,ve);const ce=we+(X==="border-box"?fe+Ce:0),Se=Math.abs(we-V)<=1;return{outerHeightStyle:ce,overflowing:Se}},[c,p,o.placeholder]),P=_C(()=>{const A=T.current,_=M();if(!A||!_||O$(_))return!1;const N=_.outerHeightStyle;return R.current!=null&&R.current!==N}),U=xe.useCallback(()=>{const A=T.current,_=M();if(!A||!_||O$(_))return;const N=_.outerHeightStyle;R.current!==N&&(R.current=N,A.style.height=`${N}px`),A.style.overflow=_.overflowing?"hidden":""},[M]),G=xe.useRef(-1);mf(()=>{const A=rA(U),_=T==null?void 0:T.current;if(!_)return;const N=qs(_);N.addEventListener("resize",A);let z;return typeof ResizeObserver<"u"&&(z=new ResizeObserver(()=>{P()&&(z.unobserve(_),cancelAnimationFrame(G.current),U(),G.current=requestAnimationFrame(()=>{z.observe(_)}))}),z.observe(_)),()=>{A.clear(),cancelAnimationFrame(G.current),N.removeEventListener("resize",A),z&&z.disconnect()}},[M,U,P]),mf(()=>{U()});const W=A=>{S||U();const _=A.target,N=_.value.length,z=_.value.endsWith(`
|
|
2851
|
+
`),X=_.selectionStart===N;z&&X&&_.setSelectionRange(N,N),s&&s(A)};return L.jsxs(xe.Fragment,{children:[L.jsx("textarea",{value:v,onChange:W,ref:w,rows:p,style:d,...b}),L.jsx("textarea",{"aria-hidden":!0,className:o.className,readOnly:!0,ref:k,tabIndex:-1,style:{...tF.shadow,...d,paddingTop:0,paddingBottom:0}})]})});process.env.NODE_ENV!=="production"&&(yA.propTypes={className:y.string,maxRows:y.oneOfType([y.number,y.string]),minRows:y.oneOfType([y.number,y.string]),onChange:y.func,placeholder:y.string,style:y.object,value:y.oneOfType([y.arrayOf(y.string),y.number,y.string])});function jC(e){return typeof e=="string"}function Ep({props:e,states:o,muiFormControl:i}){return o.reduce((s,c)=>(s[c]=e[c],i&&typeof e[c]>"u"&&(s[c]=i[c]),s),{})}const mb=xe.createContext(void 0);process.env.NODE_ENV!=="production"&&(mb.displayName="FormControlContext");function Tp(){return xe.useContext(mb)}function $$(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function H0(e,o=!1){return e&&($$(e.value)&&e.value!==""||o&&$$(e.defaultValue)&&e.defaultValue!=="")}function rF(e){return e.startAdornment}function oF(e){return Xr("MuiInputBase",e)}const Cp=ao("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var A$;const vb=(e,o)=>{const{ownerState:i}=e;return[o.root,i.formControl&&o.formControl,i.startAdornment&&o.adornedStart,i.endAdornment&&o.adornedEnd,i.error&&o.error,i.size==="small"&&o.sizeSmall,i.multiline&&o.multiline,i.color&&o[`color${Cr(i.color)}`],i.fullWidth&&o.fullWidth,i.hiddenLabel&&o.hiddenLabel]},yb=(e,o)=>{const{ownerState:i}=e;return[o.input,i.size==="small"&&o.inputSizeSmall,i.multiline&&o.inputMultiline,i.type==="search"&&o.inputTypeSearch,i.startAdornment&&o.inputAdornedStart,i.endAdornment&&o.inputAdornedEnd,i.hiddenLabel&&o.inputHiddenLabel]},aF=e=>{const{classes:o,color:i,disabled:s,error:c,endAdornment:p,focused:d,formControl:v,fullWidth:b,hiddenLabel:S,multiline:T,readOnly:w,size:R,startAdornment:k,type:M}=e,P={root:["root",`color${Cr(i)}`,s&&"disabled",c&&"error",b&&"fullWidth",d&&"focused",v&&"formControl",R&&R!=="medium"&&`size${Cr(R)}`,T&&"multiline",k&&"adornedStart",p&&"adornedEnd",S&&"hiddenLabel",w&&"readOnly"],input:["input",s&&"disabled",M==="search"&&"inputTypeSearch",T&&"inputMultiline",R==="small"&&"inputSizeSmall",S&&"inputHiddenLabel",k&&"inputAdornedStart",p&&"inputAdornedEnd",w&&"readOnly"]};return io(P,oF,o)},gb=ln("div",{name:"MuiInputBase",slot:"Root",overridesResolver:vb})(Yo(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Cp.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:o})=>o.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:o,size:i})=>o.multiline&&i==="small",style:{paddingTop:1}},{props:({ownerState:o})=>o.fullWidth,style:{width:"100%"}}]}))),bb=ln("input",{name:"MuiInputBase",slot:"Input",overridesResolver:yb})(Yo(({theme:e})=>{const o=e.palette.mode==="light",i={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},s={opacity:"0 !important"},c=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&::-ms-input-placeholder":i,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Cp.formControl} &`]:{"&::-webkit-input-placeholder":s,"&::-moz-placeholder":s,"&::-ms-input-placeholder":s,"&:focus::-webkit-input-placeholder":c,"&:focus::-moz-placeholder":c,"&:focus::-ms-input-placeholder":c},[`&.${Cp.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:p})=>!p.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:p})=>p.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),k$=g4({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),xb=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiInputBase"}),{"aria-describedby":c,autoComplete:p,autoFocus:d,className:v,color:b,components:S={},componentsProps:T={},defaultValue:w,disabled:R,disableInjectingGlobalStyles:k,endAdornment:M,error:P,fullWidth:U=!1,id:G,inputComponent:W="input",inputProps:A={},inputRef:_,margin:N,maxRows:z,minRows:X,multiline:fe=!1,name:Ce,onBlur:V,onChange:ve,onClick:we,onFocus:ce,onKeyDown:Se,onKeyUp:Ee,placeholder:ge,readOnly:De,renderSuffix:ke,rows:se,size:oe,slotProps:Te={},slots:B={},startAdornment:Y,type:Oe="text",value:He,...Je}=s,We=A.value!=null?A.value:He,{current:Z}=xe.useRef(We!=null),re=xe.useRef(),K=xe.useCallback(rt=>{process.env.NODE_ENV!=="production"&&rt&&rt.nodeName!=="INPUT"&&!rt.focus&&console.error(["MUI: You have provided a `inputComponent` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join(`
|
|
2852
|
+
`))},[]),be=_i(re,_,A.ref,K),[ee,Ne]=xe.useState(!1),ye=Tp();process.env.NODE_ENV!=="production"&&xe.useEffect(()=>{if(ye)return ye.registerEffect()},[ye]);const Fe=Ep({props:s,muiFormControl:ye,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Fe.focused=ye?ye.focused:ee,xe.useEffect(()=>{!ye&&R&&ee&&(Ne(!1),V&&V())},[ye,R,ee,V]);const at=ye&&ye.onFilled,It=ye&&ye.onEmpty,jt=xe.useCallback(rt=>{H0(rt)?at&&at():It&&It()},[at,It]);mf(()=>{Z&&jt({value:We})},[We,jt,Z]);const vt=rt=>{ce&&ce(rt),A.onFocus&&A.onFocus(rt),ye&&ye.onFocus?ye.onFocus(rt):Ne(!0)},gt=rt=>{V&&V(rt),A.onBlur&&A.onBlur(rt),ye&&ye.onBlur?ye.onBlur(rt):Ne(!1)},Ct=(rt,...Be)=>{if(!Z){const cn=rt.target||re.current;if(cn==null)throw new Error(process.env.NODE_ENV!=="production"?"MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":es(1));jt({value:cn.value})}A.onChange&&A.onChange(rt,...Be),ve&&ve(rt,...Be)};xe.useEffect(()=>{jt(re.current)},[]);const lt=rt=>{re.current&&rt.currentTarget===rt.target&&re.current.focus(),we&&we(rt)};let sn=W,mn=A;fe&&sn==="input"&&(se?(process.env.NODE_ENV!=="production"&&(X||z)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),mn={type:void 0,minRows:se,maxRows:se,...mn}):mn={type:void 0,maxRows:z,minRows:X,...mn},sn=yA);const dn=rt=>{jt(rt.animationName==="mui-auto-fill-cancel"?re.current:{value:"x"})};xe.useEffect(()=>{ye&&ye.setAdornedStart(!!Y)},[ye,Y]);const un={...s,color:Fe.color||"primary",disabled:Fe.disabled,endAdornment:M,error:Fe.error,focused:Fe.focused,formControl:ye,fullWidth:U,hiddenLabel:Fe.hiddenLabel,multiline:fe,size:Fe.size,startAdornment:Y,type:Oe},Tn=aF(un),rr=B.root||S.Root||gb,or=Te.root||T.root||{},it=B.input||S.Input||bb;return mn={...mn,...Te.input??T.input},L.jsxs(xe.Fragment,{children:[!k&&typeof k$=="function"&&(A$||(A$=L.jsx(k$,{}))),L.jsxs(rr,{...or,ref:i,onClick:lt,...Je,...!jC(rr)&&{ownerState:{...un,...or.ownerState}},className:yr(Tn.root,or.className,v,De&&"MuiInputBase-readOnly"),children:[Y,L.jsx(mb.Provider,{value:null,children:L.jsx(it,{"aria-invalid":Fe.error,"aria-describedby":c,autoComplete:p,autoFocus:d,defaultValue:w,disabled:Fe.disabled,id:G,onAnimationStart:dn,name:Ce,placeholder:ge,readOnly:De,required:Fe.required,rows:se,value:We,onKeyDown:Se,onKeyUp:Ee,type:Oe,...mn,...!jC(it)&&{as:sn,ownerState:{...un,...mn.ownerState}},ref:be,className:yr(Tn.input,mn.className,De&&"MuiInputBase-readOnly"),onBlur:gt,onChange:Ct,onFocus:vt})}),M,ke?ke({...Fe,startAdornment:Y}):null]})]})});process.env.NODE_ENV!=="production"&&(xb.propTypes={"aria-describedby":y.string,autoComplete:y.string,autoFocus:y.bool,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["primary","secondary","error","info","success","warning"]),y.string]),components:y.shape({Input:y.elementType,Root:y.elementType}),componentsProps:y.shape({input:y.object,root:y.object}),defaultValue:y.any,disabled:y.bool,disableInjectingGlobalStyles:y.bool,endAdornment:y.node,error:y.bool,fullWidth:y.bool,id:y.string,inputComponent:lA,inputProps:y.object,inputRef:Bu,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,onBlur:y.func,onChange:y.func,onClick:y.func,onFocus:y.func,onInvalid:y.func,onKeyDown:y.func,onKeyUp:y.func,placeholder:y.string,readOnly:y.bool,renderSuffix:y.func,required:y.bool,rows:y.oneOfType([y.number,y.string]),size:y.oneOfType([y.oneOf(["medium","small"]),y.string]),slotProps:y.shape({input:y.object,root:y.object}),slots:y.shape({input: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});function iF(e){return Xr("MuiInput",e)}const Um={...Cp,...ao("MuiInput",["root","underline","input"])};function lF(e){return Xr("MuiOutlinedInput",e)}const Ql={...Cp,...ao("MuiOutlinedInput",["root","notchedOutline","input"])};function sF(e){return Xr("MuiFilledInput",e)}const of={...Cp,...ao("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},uF=w4(L.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function cF(e){const{prototype:o={}}=e;return!!o.isReactComponent}function gA(e,o,i,s,c){const p=e[o],d=c||o;if(p==null||typeof window>"u")return null;let v;const b=p.type;return typeof b=="function"&&!cF(b)&&(v="Did you accidentally use a plain function component for an element instead?"),v!==void 0?new Error(`Invalid ${s} \`${d}\` supplied to \`${i}\`. Expected an element that can hold a ref. ${v} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const mv=dv(y.element,gA);mv.isRequired=dv(y.element.isRequired,gA);const fF={entering:{opacity:1},entered:{opacity:1}},bA=xe.forwardRef(function(o,i){const s=pw(),c={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{addEndListener:p,appear:d=!0,children:v,easing:b,in:S,onEnter:T,onEntered:w,onEntering:R,onExit:k,onExited:M,onExiting:P,style:U,timeout:G=c,TransitionComponent:W=ns,...A}=o,_=xe.useRef(null),N=_i(_,hv(v),i),z=Se=>Ee=>{if(Se){const ge=_.current;Ee===void 0?Se(ge):Se(ge,Ee)}},X=z(R),fe=z((Se,Ee)=>{sA(Se);const ge=B0({style:U,timeout:G,easing:b},{mode:"enter"});Se.style.webkitTransition=s.transitions.create("opacity",ge),Se.style.transition=s.transitions.create("opacity",ge),T&&T(Se,Ee)}),Ce=z(w),V=z(P),ve=z(Se=>{const Ee=B0({style:U,timeout:G,easing:b},{mode:"exit"});Se.style.webkitTransition=s.transitions.create("opacity",Ee),Se.style.transition=s.transitions.create("opacity",Ee),k&&k(Se)}),we=z(M),ce=Se=>{p&&p(_.current,Se)};return L.jsx(W,{appear:d,in:S,nodeRef:_,onEnter:fe,onEntered:Ce,onEntering:X,onExit:ve,onExited:we,onExiting:V,addEndListener:ce,timeout:G,...A,children:(Se,{ownerState:Ee,...ge})=>xe.cloneElement(v,{style:{opacity:0,visibility:Se==="exited"&&!S?"hidden":void 0,...fF[Se],...U,...v.props.style},ref:N,...ge})})});process.env.NODE_ENV!=="production"&&(bA.propTypes={addEndListener:y.func,appear:y.bool,children:mv.isRequired,easing:y.oneOfType([y.shape({enter:y.string,exit:y.string}),y.string]),in:y.bool,onEnter:y.func,onEntered:y.func,onEntering:y.func,onExit:y.func,onExited:y.func,onExiting:y.func,style:y.object,timeout:y.oneOfType([y.number,y.shape({appear:y.number,enter:y.number,exit:y.number})])});function dF(e){return Xr("MuiBackdrop",e)}ao("MuiBackdrop",["root","invisible"]);const pF=e=>{const{classes:o,invisible:i}=e;return io({root:["root",i&&"invisible"]},dF,o)},hF=ln("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,i.invisible&&o.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),xA=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiBackdrop"}),{children:c,className:p,component:d="div",invisible:v=!1,open:b,components:S={},componentsProps:T={},slotProps:w={},slots:R={},TransitionComponent:k,transitionDuration:M,...P}=s,U={...s,component:d,invisible:v},G=pF(U),W={transition:k,root:S.Root,...R},A={...T,...w},_={component:d,slots:W,slotProps:A},[N,z]=ha("root",{elementType:hF,externalForwardedProps:_,className:yr(G.root,p),ownerState:U}),[X,fe]=ha("transition",{elementType:bA,externalForwardedProps:_,ownerState:U});return L.jsx(X,{in:b,timeout:M,...P,...fe,children:L.jsx(N,{"aria-hidden":!0,...z,classes:G,ref:i,children:c})})});process.env.NODE_ENV!=="production"&&(xA.propTypes={children:y.node,classes:y.object,className:y.string,component:y.elementType,components:y.shape({Root:y.elementType}),componentsProps:y.shape({root:y.object}),invisible:y.bool,open:y.bool.isRequired,slotProps:y.shape({root:y.oneOfType([y.func,y.object]),transition:y.oneOfType([y.func,y.object])}),slots:y.shape({root:y.elementType,transition:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),TransitionComponent:y.elementType,transitionDuration:y.oneOfType([y.number,y.shape({appear:y.number,enter:y.number,exit:y.number})])});const mF=ao("MuiBox",["root"]),vF=eA(),Sb=pI({themeId:J0,defaultTheme:vF,defaultClassName:mF.root,generateClassName:j3.generate});process.env.NODE_ENV!=="production"&&(Sb.propTypes={children:y.node,component:y.elementType,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});function SA(e=window){const o=e.document.documentElement.clientWidth;return e.innerWidth-o}function yF(e){const o=dl(e);return o.body===e?qs(e).innerWidth>o.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Xm(e,o){o?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function P$(e){return parseInt(qs(e).getComputedStyle(e).paddingRight,10)||0}function gF(e){const i=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),s=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return i||s}function N$(e,o,i,s,c){const p=[o,i,...s];[].forEach.call(e.children,d=>{const v=!p.includes(d),b=!gF(d);v&&b&&Xm(d,c)})}function mC(e,o){let i=-1;return e.some((s,c)=>o(s)?(i=c,!0):!1),i}function bF(e,o){const i=[],s=e.container;if(!o.disableScrollLock){if(yF(s)){const d=SA(qs(s));i.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${P$(s)+d}px`;const v=dl(s).querySelectorAll(".mui-fixed");[].forEach.call(v,b=>{i.push({value:b.style.paddingRight,property:"padding-right",el:b}),b.style.paddingRight=`${P$(b)+d}px`})}let p;if(s.parentNode instanceof DocumentFragment)p=dl(s).body;else{const d=s.parentElement,v=qs(s);p=(d==null?void 0:d.nodeName)==="HTML"&&v.getComputedStyle(d).overflowY==="scroll"?d:s}i.push({value:p.style.overflow,property:"overflow",el:p},{value:p.style.overflowX,property:"overflow-x",el:p},{value:p.style.overflowY,property:"overflow-y",el:p}),p.style.overflow="hidden"}return()=>{i.forEach(({value:p,el:d,property:v})=>{p?d.style.setProperty(v,p):d.style.removeProperty(v)})}}function xF(e){const o=[];return[].forEach.call(e.children,i=>{i.getAttribute("aria-hidden")==="true"&&o.push(i)}),o}class SF{constructor(){this.modals=[],this.containers=[]}add(o,i){let s=this.modals.indexOf(o);if(s!==-1)return s;s=this.modals.length,this.modals.push(o),o.modalRef&&Xm(o.modalRef,!1);const c=xF(i);N$(i,o.mount,o.modalRef,c,!0);const p=mC(this.containers,d=>d.container===i);return p!==-1?(this.containers[p].modals.push(o),s):(this.containers.push({modals:[o],container:i,restore:null,hiddenSiblings:c}),s)}mount(o,i){const s=mC(this.containers,p=>p.modals.includes(o)),c=this.containers[s];c.restore||(c.restore=bF(c,i))}remove(o,i=!0){const s=this.modals.indexOf(o);if(s===-1)return s;const c=mC(this.containers,d=>d.modals.includes(o)),p=this.containers[c];if(p.modals.splice(p.modals.indexOf(o),1),this.modals.splice(s,1),p.modals.length===0)p.restore&&p.restore(),o.modalRef&&Xm(o.modalRef,i),N$(p.container,o.mount,o.modalRef,p.hiddenSiblings,!1),this.containers.splice(c,1);else{const d=p.modals[p.modals.length-1];d.modalRef&&Xm(d.modalRef,!1)}return s}isTopModal(o){return this.modals.length>0&&this.modals[this.modals.length-1]===o}}const CF=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function wF(e){const o=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(o)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:o}function EF(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const o=s=>e.ownerDocument.querySelector(`input[type="radio"]${s}`);let i=o(`[name="${e.name}"]:checked`);return i||(i=o(`[name="${e.name}"]`)),i!==e}function TF(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||EF(e))}function RF(e){const o=[],i=[];return Array.from(e.querySelectorAll(CF)).forEach((s,c)=>{const p=wF(s);p===-1||!TF(s)||(p===0?o.push(s):i.push({documentOrder:c,tabIndex:p,node:s}))}),i.sort((s,c)=>s.tabIndex===c.tabIndex?s.documentOrder-c.documentOrder:s.tabIndex-c.tabIndex).map(s=>s.node).concat(o)}function OF(){return!0}function G0(e){const{children:o,disableAutoFocus:i=!1,disableEnforceFocus:s=!1,disableRestoreFocus:c=!1,getTabbable:p=RF,isEnabled:d=OF,open:v}=e,b=xe.useRef(!1),S=xe.useRef(null),T=xe.useRef(null),w=xe.useRef(null),R=xe.useRef(null),k=xe.useRef(!1),M=xe.useRef(null),P=_i(hv(o),M),U=xe.useRef(null);xe.useEffect(()=>{!v||!M.current||(k.current=!i)},[i,v]),xe.useEffect(()=>{if(!v||!M.current)return;const A=dl(M.current);return M.current.contains(A.activeElement)||(M.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
|
|
2853
|
+
`)),M.current.setAttribute("tabIndex","-1")),k.current&&M.current.focus()),()=>{c||(w.current&&w.current.focus&&(b.current=!0,w.current.focus()),w.current=null)}},[v]),xe.useEffect(()=>{if(!v||!M.current)return;const A=dl(M.current),_=X=>{U.current=X,!(s||!d()||X.key!=="Tab")&&A.activeElement===M.current&&X.shiftKey&&(b.current=!0,T.current&&T.current.focus())},N=()=>{var Ce,V;const X=M.current;if(X===null)return;if(!A.hasFocus()||!d()||b.current){b.current=!1;return}if(X.contains(A.activeElement)||s&&A.activeElement!==S.current&&A.activeElement!==T.current)return;if(A.activeElement!==R.current)R.current=null;else if(R.current!==null)return;if(!k.current)return;let fe=[];if((A.activeElement===S.current||A.activeElement===T.current)&&(fe=p(M.current)),fe.length>0){const ve=!!((Ce=U.current)!=null&&Ce.shiftKey&&((V=U.current)==null?void 0:V.key)==="Tab"),we=fe[0],ce=fe[fe.length-1];typeof we!="string"&&typeof ce!="string"&&(ve?ce.focus():we.focus())}else X.focus()};A.addEventListener("focusin",N),A.addEventListener("keydown",_,!0);const z=setInterval(()=>{A.activeElement&&A.activeElement.tagName==="BODY"&&N()},50);return()=>{clearInterval(z),A.removeEventListener("focusin",N),A.removeEventListener("keydown",_,!0)}},[i,s,c,d,v,p]);const G=A=>{w.current===null&&(w.current=A.relatedTarget),k.current=!0,R.current=A.target;const _=o.props.onFocus;_&&_(A)},W=A=>{w.current===null&&(w.current=A.relatedTarget),k.current=!0};return L.jsxs(xe.Fragment,{children:[L.jsx("div",{tabIndex:v?0:-1,onFocus:W,ref:S,"data-testid":"sentinelStart"}),xe.cloneElement(o,{ref:P,onFocus:G}),L.jsx("div",{tabIndex:v?0:-1,onFocus:W,ref:T,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(G0.propTypes={children:mv,disableAutoFocus:y.bool,disableEnforceFocus:y.bool,disableRestoreFocus:y.bool,getTabbable:y.func,isEnabled:y.func,open:y.bool.isRequired});process.env.NODE_ENV!=="production"&&(G0.propTypes=Y3(G0.propTypes));function $F(e){return typeof e=="function"?e():e}function AF(e){return e?e.props.hasOwnProperty("in"):!1}const D$=()=>{},O0=new SF;function kF(e){const{container:o,disableEscapeKeyDown:i=!1,disableScrollLock:s=!1,closeAfterTransition:c=!1,onTransitionEnter:p,onTransitionExited:d,children:v,onClose:b,open:S,rootRef:T}=e,w=xe.useRef({}),R=xe.useRef(null),k=xe.useRef(null),M=_i(k,T),[P,U]=xe.useState(!S),G=AF(v);let W=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(W=!1);const A=()=>dl(R.current),_=()=>(w.current.modalRef=k.current,w.current.mount=R.current,w.current),N=()=>{O0.mount(_(),{disableScrollLock:s}),k.current&&(k.current.scrollTop=0)},z=_C(()=>{const Ee=$F(o)||A().body;O0.add(_(),Ee),k.current&&N()}),X=()=>O0.isTopModal(_()),fe=_C(Ee=>{R.current=Ee,Ee&&(S&&X()?N():k.current&&Xm(k.current,W))}),Ce=xe.useCallback(()=>{O0.remove(_(),W)},[W]);xe.useEffect(()=>()=>{Ce()},[Ce]),xe.useEffect(()=>{S?z():(!G||!c)&&Ce()},[S,Ce,G,c,z]);const V=Ee=>ge=>{var De;(De=Ee.onKeyDown)==null||De.call(Ee,ge),!(ge.key!=="Escape"||ge.which===229||!X())&&(i||(ge.stopPropagation(),b&&b(ge,"escapeKeyDown")))},ve=Ee=>ge=>{var De;(De=Ee.onClick)==null||De.call(Ee,ge),ge.target===ge.currentTarget&&b&&b(ge,"backdropClick")};return{getRootProps:(Ee={})=>{const ge=mA(e);delete ge.onTransitionEnter,delete ge.onTransitionExited;const De={...ge,...Ee};return{role:"presentation",...De,onKeyDown:V(De),ref:M}},getBackdropProps:(Ee={})=>{const ge=Ee;return{"aria-hidden":!0,...ge,onClick:ve(ge),open:S}},getTransitionProps:()=>{const Ee=()=>{U(!1),p&&p()},ge=()=>{U(!0),d&&d(),c&&Ce()};return{onEnter:h$(Ee,(v==null?void 0:v.props.onEnter)??D$),onExited:h$(ge,(v==null?void 0:v.props.onExited)??D$)}},rootRef:M,portalRef:fe,isTopModal:X,exited:P,hasTransition:G}}function PF(e){return Xr("MuiModal",e)}ao("MuiModal",["root","hidden","backdrop"]);const NF=e=>{const{open:o,exited:i,classes:s}=e;return io({root:["root",!o&&i&&"hidden"],backdrop:["backdrop"]},PF,s)},DF=ln("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,!i.open&&i.exited&&o.hidden]}})(Yo(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:o})=>!o.open&&o.exited,style:{visibility:"hidden"}}]}))),MF=ln(xA,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),CA=xe.forwardRef(function(o,i){const s=Ao({name:"MuiModal",props:o}),{BackdropComponent:c=MF,BackdropProps:p,classes:d,className:v,closeAfterTransition:b=!1,children:S,container:T,component:w,components:R={},componentsProps:k={},disableAutoFocus:M=!1,disableEnforceFocus:P=!1,disableEscapeKeyDown:U=!1,disablePortal:G=!1,disableRestoreFocus:W=!1,disableScrollLock:A=!1,hideBackdrop:_=!1,keepMounted:N=!1,onClose:z,onTransitionEnter:X,onTransitionExited:fe,open:Ce,slotProps:V={},slots:ve={},theme:we,...ce}=s,Se={...s,closeAfterTransition:b,disableAutoFocus:M,disableEnforceFocus:P,disableEscapeKeyDown:U,disablePortal:G,disableRestoreFocus:W,disableScrollLock:A,hideBackdrop:_,keepMounted:N},{getRootProps:Ee,getBackdropProps:ge,getTransitionProps:De,portalRef:ke,isTopModal:se,exited:oe,hasTransition:Te}=kF({...Se,rootRef:i}),B={...Se,exited:oe},Y=NF(B),Oe={};if(S.props.tabIndex===void 0&&(Oe.tabIndex="-1"),Te){const{onEnter:K,onExited:be}=De();Oe.onEnter=K,Oe.onExited=be}const He={slots:{root:R.Root,backdrop:R.Backdrop,...ve},slotProps:{...k,...V}},[Je,We]=ha("root",{ref:i,elementType:DF,externalForwardedProps:{...He,...ce,component:w},getSlotProps:Ee,ownerState:B,className:yr(v,Y==null?void 0:Y.root,!B.open&&B.exited&&(Y==null?void 0:Y.hidden))}),[Z,re]=ha("backdrop",{ref:p==null?void 0:p.ref,elementType:c,externalForwardedProps:He,shouldForwardComponentProp:!0,additionalProps:p,getSlotProps:K=>ge({...K,onClick:be=>{K!=null&&K.onClick&&K.onClick(be)}}),className:yr(p==null?void 0:p.className,Y==null?void 0:Y.backdrop),ownerState:B});return!N&&!Ce&&(!Te||oe)?null:L.jsx(z0,{ref:ke,container:T,disablePortal:G,children:L.jsxs(Je,{...We,children:[!_&&c?L.jsx(Z,{...re}):null,L.jsx(G0,{disableEnforceFocus:P,disableAutoFocus:M,disableRestoreFocus:W,isEnabled:se,open:Ce,children:xe.cloneElement(S,Oe)})]})})});process.env.NODE_ENV!=="production"&&(CA.propTypes={BackdropComponent:y.elementType,BackdropProps:y.object,children:mv.isRequired,classes:y.object,className:y.string,closeAfterTransition:y.bool,component:y.elementType,components:y.shape({Backdrop:y.elementType,Root:y.elementType}),componentsProps:y.shape({backdrop:y.oneOfType([y.func,y.object]),root:y.oneOfType([y.func,y.object])}),container:y.oneOfType([av,y.func]),disableAutoFocus:y.bool,disableEnforceFocus:y.bool,disableEscapeKeyDown:y.bool,disablePortal:y.bool,disableRestoreFocus:y.bool,disableScrollLock:y.bool,hideBackdrop:y.bool,keepMounted:y.bool,onClose:y.func,onTransitionEnter:y.func,onTransitionExited:y.func,open:y.bool.isRequired,slotProps:y.shape({backdrop:y.oneOfType([y.func,y.object]),root:y.oneOfType([y.func,y.object])}),slots:y.shape({backdrop:y.elementType,root:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});const LF=e=>{const{classes:o,disableUnderline:i,startAdornment:s,endAdornment:c,size:p,hiddenLabel:d,multiline:v}=e,b={root:["root",!i&&"underline",s&&"adornedStart",c&&"adornedEnd",p==="small"&&`size${Cr(p)}`,d&&"hiddenLabel",v&&"multiline"],input:["input"]},S=io(b,sF,o);return{...o,...S}},_F=ln(gb,{shouldForwardProp:e=>ts(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[...vb(e,o),!i.disableUnderline&&o.underline]}})(Yo(({theme:e})=>{const o=e.palette.mode==="light",i=o?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",s=o?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",c=o?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",p=o?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:s,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:c,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:s}},[`&.${of.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:s},[`&.${of.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:p},variants:[{props:({ownerState:d})=>!d.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${of.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${of.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${of.disabled}, .${of.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${of.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(pv()).map(([d])=>{var v;return{props:{disableUnderline:!1,color:d},style:{"&::after":{borderBottom:`2px solid ${(v=(e.vars||e).palette[d])==null?void 0:v.main}`}}}}),{props:({ownerState:d})=>d.startAdornment,style:{paddingLeft:12}},{props:({ownerState:d})=>d.endAdornment,style:{paddingRight:12}},{props:({ownerState:d})=>d.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:d,size:v})=>d.multiline&&v==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:d})=>d.multiline&&d.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:d})=>d.multiline&&d.hiddenLabel&&d.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),IF=ln(bb,{name:"MuiFilledInput",slot:"Input",overridesResolver:yb})(Yo(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:o})=>o.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:o})=>o.startAdornment,style:{paddingLeft:0}},{props:({ownerState:o})=>o.endAdornment,style:{paddingRight:0}},{props:({ownerState:o})=>o.hiddenLabel&&o.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:o})=>o.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Cb=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiFilledInput"}),{disableUnderline:c=!1,components:p={},componentsProps:d,fullWidth:v=!1,hiddenLabel:b,inputComponent:S="input",multiline:T=!1,slotProps:w,slots:R={},type:k="text",...M}=s,P={...s,disableUnderline:c,fullWidth:v,inputComponent:S,multiline:T,type:k},U=LF(s),G={root:{ownerState:P},input:{ownerState:P}},W=w??d?ma(G,w??d):G,A=R.root??p.Root??_F,_=R.input??p.Input??IF;return L.jsx(xb,{slots:{root:A,input:_},slotProps:W,fullWidth:v,inputComponent:S,multiline:T,ref:i,type:k,...M,classes:U})});process.env.NODE_ENV!=="production"&&(Cb.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}),componentsProps:y.shape({input:y.object,root:y.object}),defaultValue:y.any,disabled:y.bool,disableUnderline:y.bool,endAdornment:y.node,error:y.bool,fullWidth:y.bool,hiddenLabel:y.bool,id:y.string,inputComponent:y.elementType,inputProps:y.object,inputRef:Bu,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,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,root:y.object}),slots:y.shape({input: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});Cb.muiName="Input";function FF(e){return Xr("MuiFormControl",e)}ao("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const VF=e=>{const{classes:o,margin:i,fullWidth:s}=e,c={root:["root",i!=="none"&&`margin${Cr(i)}`,s&&"fullWidth"]};return io(c,FF,o)},jF=ln("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,o[`margin${Cr(i.margin)}`],i.fullWidth&&o.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),wA=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiFormControl"}),{children:c,className:p,color:d="primary",component:v="div",disabled:b=!1,error:S=!1,focused:T,fullWidth:w=!1,hiddenLabel:R=!1,margin:k="none",required:M=!1,size:P="medium",variant:U="outlined",...G}=s,W={...s,color:d,component:v,disabled:b,error:S,fullWidth:w,hiddenLabel:R,margin:k,required:M,size:P,variant:U},A=VF(W),[_,N]=xe.useState(()=>{let ge=!1;return c&&xe.Children.forEach(c,De=>{if(!fC(De,["Input","Select"]))return;const ke=fC(De,["Select"])?De.props.input:De;ke&&rF(ke.props)&&(ge=!0)}),ge}),[z,X]=xe.useState(()=>{let ge=!1;return c&&xe.Children.forEach(c,De=>{fC(De,["Input","Select"])&&(H0(De.props,!0)||H0(De.props.inputProps,!0))&&(ge=!0)}),ge}),[fe,Ce]=xe.useState(!1);b&&fe&&Ce(!1);const V=T!==void 0&&!b?T:fe;let ve;const we=xe.useRef(!1);process.env.NODE_ENV!=="production"&&(ve=()=>(we.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
|
|
2854
|
+
`)),we.current=!0,()=>{we.current=!1}));const ce=xe.useCallback(()=>{X(!0)},[]),Se=xe.useCallback(()=>{X(!1)},[]),Ee=xe.useMemo(()=>({adornedStart:_,setAdornedStart:N,color:d,disabled:b,error:S,filled:z,focused:V,fullWidth:w,hiddenLabel:R,size:P,onBlur:()=>{Ce(!1)},onFocus:()=>{Ce(!0)},onEmpty:Se,onFilled:ce,registerEffect:ve,required:M,variant:U}),[_,d,b,S,z,V,w,R,ve,Se,ce,M,P,U]);return L.jsx(mb.Provider,{value:Ee,children:L.jsx(jF,{as:v,ownerState:W,className:yr(A.root,p),ref:i,...G,children:c})})});process.env.NODE_ENV!=="production"&&(wA.propTypes={children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["primary","secondary","error","info","success","warning"]),y.string]),component:y.elementType,disabled:y.bool,error:y.bool,focused:y.bool,fullWidth:y.bool,hiddenLabel:y.bool,margin:y.oneOf(["dense","none","normal"]),required:y.bool,size:y.oneOfType([y.oneOf(["medium","small"]),y.string]),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),variant:y.oneOf(["filled","outlined","standard"])});function UF(e){return Xr("MuiFormHelperText",e)}const M$=ao("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var L$;const BF=e=>{const{classes:o,contained:i,size:s,disabled:c,error:p,filled:d,focused:v,required:b}=e,S={root:["root",c&&"disabled",p&&"error",s&&`size${Cr(s)}`,i&&"contained",v&&"focused",d&&"filled",b&&"required"]};return io(S,UF,o)},zF=ln("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,i.size&&o[`size${Cr(i.size)}`],i.contained&&o.contained,i.filled&&o.filled]}})(Yo(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${M$.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${M$.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:o})=>o.contained,style:{marginLeft:14,marginRight:14}}]}))),EA=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiFormHelperText"}),{children:c,className:p,component:d="p",disabled:v,error:b,filled:S,focused:T,margin:w,required:R,variant:k,...M}=s,P=Tp(),U=Ep({props:s,muiFormControl:P,states:["variant","size","disabled","error","filled","focused","required"]}),G={...s,component:d,contained:U.variant==="filled"||U.variant==="outlined",variant:U.variant,size:U.size,disabled:U.disabled,error:U.error,filled:U.filled,focused:U.focused,required:U.required};delete G.ownerState;const W=BF(G);return L.jsx(zF,{as:d,className:yr(W.root,p),ref:i,...M,ownerState:G,children:c===" "?L$||(L$=L.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):c})});process.env.NODE_ENV!=="production"&&(EA.propTypes={children:y.node,classes:y.object,className:y.string,component:y.elementType,disabled:y.bool,error:y.bool,filled:y.bool,focused:y.bool,margin:y.oneOf(["dense"]),required:y.bool,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),variant:y.oneOfType([y.oneOf(["filled","outlined","standard"]),y.string])});function HF(e){return Xr("MuiFormLabel",e)}const Km=ao("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),GF=e=>{const{classes:o,color:i,focused:s,disabled:c,error:p,filled:d,required:v}=e,b={root:["root",`color${Cr(i)}`,c&&"disabled",p&&"error",d&&"filled",s&&"focused",v&&"required"],asterisk:["asterisk",p&&"error"]};return io(b,HF,o)},WF=ln("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,i.color==="secondary"&&o.colorSecondary,i.filled&&o.filled]}})(Yo(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(pv()).map(([o])=>({props:{color:o},style:{[`&.${Km.focused}`]:{color:(e.vars||e).palette[o].main}}})),{props:{},style:{[`&.${Km.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Km.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),YF=ln("span",{name:"MuiFormLabel",slot:"Asterisk"})(Yo(({theme:e})=>({[`&.${Km.error}`]:{color:(e.vars||e).palette.error.main}}))),TA=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiFormLabel"}),{children:c,className:p,color:d,component:v="label",disabled:b,error:S,filled:T,focused:w,required:R,...k}=s,M=Tp(),P=Ep({props:s,muiFormControl:M,states:["color","required","focused","disabled","error","filled"]}),U={...s,color:P.color||"primary",component:v,disabled:P.disabled,error:P.error,filled:P.filled,focused:P.focused,required:P.required},G=GF(U);return L.jsxs(WF,{as:v,ownerState:U,className:yr(G.root,p),ref:i,...k,children:[c,P.required&&L.jsxs(YF,{ownerState:U,"aria-hidden":!0,className:G.asterisk,children:[" ","*"]})]})});process.env.NODE_ENV!=="production"&&(TA.propTypes={children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["error","info","primary","secondary","success","warning"]),y.string]),component:y.elementType,disabled:y.bool,error:y.bool,filled:y.bool,focused:y.bool,required:y.bool,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});function UC(e){return`scale(${e}, ${e**2})`}const qF={entering:{opacity:1,transform:UC(1)},entered:{opacity:1,transform:"none"}},vC=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),W0=xe.forwardRef(function(o,i){const{addEndListener:s,appear:c=!0,children:p,easing:d,in:v,onEnter:b,onEntered:S,onEntering:T,onExit:w,onExited:R,onExiting:k,style:M,timeout:P="auto",TransitionComponent:U=ns,...G}=o,W=F4(),A=xe.useRef(),_=pw(),N=xe.useRef(null),z=_i(N,hv(p),i),X=Ee=>ge=>{if(Ee){const De=N.current;ge===void 0?Ee(De):Ee(De,ge)}},fe=X(T),Ce=X((Ee,ge)=>{sA(Ee);const{duration:De,delay:ke,easing:se}=B0({style:M,timeout:P,easing:d},{mode:"enter"});let oe;P==="auto"?(oe=_.transitions.getAutoHeightDuration(Ee.clientHeight),A.current=oe):oe=De,Ee.style.transition=[_.transitions.create("opacity",{duration:oe,delay:ke}),_.transitions.create("transform",{duration:vC?oe:oe*.666,delay:ke,easing:se})].join(","),b&&b(Ee,ge)}),V=X(S),ve=X(k),we=X(Ee=>{const{duration:ge,delay:De,easing:ke}=B0({style:M,timeout:P,easing:d},{mode:"exit"});let se;P==="auto"?(se=_.transitions.getAutoHeightDuration(Ee.clientHeight),A.current=se):se=ge,Ee.style.transition=[_.transitions.create("opacity",{duration:se,delay:De}),_.transitions.create("transform",{duration:vC?se:se*.666,delay:vC?De:De||se*.333,easing:ke})].join(","),Ee.style.opacity=0,Ee.style.transform=UC(.75),w&&w(Ee)}),ce=X(R),Se=Ee=>{P==="auto"&&W.start(A.current||0,Ee),s&&s(N.current,Ee)};return L.jsx(U,{appear:c,in:v,nodeRef:N,onEnter:Ce,onEntered:V,onEntering:fe,onExit:we,onExited:ce,onExiting:ve,addEndListener:Se,timeout:P==="auto"?null:P,...G,children:(Ee,{ownerState:ge,...De})=>xe.cloneElement(p,{style:{opacity:0,transform:UC(.75),visibility:Ee==="exited"&&!v?"hidden":void 0,...qF[Ee],...M,...p.props.style},ref:z,...De})})});process.env.NODE_ENV!=="production"&&(W0.propTypes={addEndListener:y.func,appear:y.bool,children:mv.isRequired,easing:y.oneOfType([y.shape({enter:y.string,exit:y.string}),y.string]),in:y.bool,onEnter:y.func,onEntered:y.func,onEntering:y.func,onExit:y.func,onExited:y.func,onExiting:y.func,style:y.object,timeout:y.oneOfType([y.oneOf(["auto"]),y.number,y.shape({appear:y.number,enter:y.number,exit:y.number})])});W0&&(W0.muiSupportAuto=!0);const QF=e=>{const{classes:o,disableUnderline:i}=e,c=io({root:["root",!i&&"underline"],input:["input"]},iF,o);return{...o,...c}},XF=ln(gb,{shouldForwardProp:e=>ts(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[...vb(e,o),!i.disableUnderline&&o.underline]}})(Yo(({theme:e})=>{let i=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(i=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:s})=>s.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:s})=>!s.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Um.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Um.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Um.disabled}, .${Um.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${i}`}},[`&.${Um.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(pv()).map(([s])=>({props:{color:s,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[s].main}`}}}))]}})),KF=ln(bb,{name:"MuiInput",slot:"Input",overridesResolver:yb})({}),wb=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiInput"}),{disableUnderline:c=!1,components:p={},componentsProps:d,fullWidth:v=!1,inputComponent:b="input",multiline:S=!1,slotProps:T,slots:w={},type:R="text",...k}=s,M=QF(s),U={root:{ownerState:{disableUnderline:c}}},G=T??d?ma(T??d,U):U,W=w.root??p.Root??XF,A=w.input??p.Input??KF;return L.jsx(xb,{slots:{root:W,input:A},slotProps:G,fullWidth:v,inputComponent:b,multiline:S,ref:i,type:R,...k,classes:M})});process.env.NODE_ENV!=="production"&&(wb.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}),componentsProps:y.shape({input:y.object,root:y.object}),defaultValue:y.any,disabled:y.bool,disableUnderline:y.bool,endAdornment:y.node,error:y.bool,fullWidth:y.bool,id:y.string,inputComponent:y.elementType,inputProps:y.object,inputRef:Bu,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,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,root:y.object}),slots:y.shape({input: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});wb.muiName="Input";function ZF(e){return Xr("MuiInputLabel",e)}ao("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const JF=e=>{const{classes:o,formControl:i,size:s,shrink:c,disableAnimation:p,variant:d,required:v}=e,b={root:["root",i&&"formControl",!p&&"animated",c&&"shrink",s&&s!=="medium"&&`size${Cr(s)}`,d],asterisk:[v&&"asterisk"]},S=io(b,ZF,o);return{...o,...S}},eV=ln(TA,{shouldForwardProp:e=>ts(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[{[`& .${Km.asterisk}`]:o.asterisk},o.root,i.formControl&&o.formControl,i.size==="small"&&o.sizeSmall,i.shrink&&o.shrink,!i.disableAnimation&&o.animated,i.focused&&o.focused,o[i.variant]]}})(Yo(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:o})=>o.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:o})=>o.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:o})=>!o.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:o,ownerState:i})=>o==="filled"&&i.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:o,ownerState:i,size:s})=>o==="filled"&&i.shrink&&s==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:o,ownerState:i})=>o==="outlined"&&i.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),RA=xe.forwardRef(function(o,i){const s=Ao({name:"MuiInputLabel",props:o}),{disableAnimation:c=!1,margin:p,shrink:d,variant:v,className:b,...S}=s,T=Tp();let w=d;typeof w>"u"&&T&&(w=T.filled||T.focused||T.adornedStart);const R=Ep({props:s,muiFormControl:T,states:["size","variant","required","focused"]}),k={...s,disableAnimation:c,formControl:T,shrink:w,size:R.size,variant:R.variant,required:R.required,focused:R.focused},M=JF(k);return L.jsx(eV,{"data-shrink":w,ref:i,className:yr(M.root,b),...S,ownerState:k,classes:M})});process.env.NODE_ENV!=="production"&&(RA.propTypes={children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["error","info","primary","secondary","success","warning"]),y.string]),disableAnimation:y.bool,disabled:y.bool,error:y.bool,focused:y.bool,margin:y.oneOf(["dense"]),required:y.bool,shrink:y.bool,size:y.oneOfType([y.oneOf(["medium","small"]),y.string]),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),variant:y.oneOf(["filled","outlined","standard"])});const OA=xe.createContext({});process.env.NODE_ENV!=="production"&&(OA.displayName="ListContext");function tV(e){return Xr("MuiList",e)}ao("MuiList",["root","padding","dense","subheader"]);const nV=e=>{const{classes:o,disablePadding:i,dense:s,subheader:c}=e;return io({root:["root",!i&&"padding",s&&"dense",c&&"subheader"]},tV,o)},rV=ln("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.root,!i.disablePadding&&o.padding,i.dense&&o.dense,i.subheader&&o.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),$A=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiList"}),{children:c,className:p,component:d="ul",dense:v=!1,disablePadding:b=!1,subheader:S,...T}=s,w=xe.useMemo(()=>({dense:v}),[v]),R={...s,component:d,dense:v,disablePadding:b},k=nV(R);return L.jsx(OA.Provider,{value:w,children:L.jsxs(rV,{as:d,className:yr(k.root,p),ref:i,ownerState:R,...T,children:[S,c]})})});process.env.NODE_ENV!=="production"&&($A.propTypes={children:y.node,classes:y.object,className:y.string,component:y.elementType,dense:y.bool,disablePadding:y.bool,subheader:y.node,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});function yC(e,o,i){return e===o?e.firstChild:o&&o.nextElementSibling?o.nextElementSibling:i?null:e.firstChild}function _$(e,o,i){return e===o?i?e.firstChild:e.lastChild:o&&o.previousElementSibling?o.previousElementSibling:i?null:e.lastChild}function AA(e,o){if(o===void 0)return!0;let i=e.innerText;return i===void 0&&(i=e.textContent),i=i.trim().toLowerCase(),i.length===0?!1:o.repeating?i[0]===o.keys[0]:i.startsWith(o.keys.join(""))}function Bm(e,o,i,s,c,p){let d=!1,v=c(e,o,o?i:!1);for(;v;){if(v===e.firstChild){if(d)return!1;d=!0}const b=s?!1:v.disabled||v.getAttribute("aria-disabled")==="true";if(!v.hasAttribute("tabindex")||!AA(v,p)||b)v=c(e,v,i);else return v.focus(),!0}return!1}const kA=xe.forwardRef(function(o,i){const{actions:s,autoFocus:c=!1,autoFocusItem:p=!1,children:d,className:v,disabledItemsFocusable:b=!1,disableListWrap:S=!1,onKeyDown:T,variant:w="selectedMenu",...R}=o,k=xe.useRef(null),M=xe.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});mf(()=>{c&&k.current.focus()},[c]),xe.useImperativeHandle(s,()=>({adjustStyleForScrollbar:(A,{direction:_})=>{const N=!k.current.style.width;if(A.clientHeight<k.current.clientHeight&&N){const z=`${SA(qs(A))}px`;k.current.style[_==="rtl"?"paddingLeft":"paddingRight"]=z,k.current.style.width=`calc(100% + ${z})`}return k.current}}),[]);const P=A=>{const _=k.current,N=A.key;if(A.ctrlKey||A.metaKey||A.altKey){T&&T(A);return}const X=dl(_).activeElement;if(N==="ArrowDown")A.preventDefault(),Bm(_,X,S,b,yC);else if(N==="ArrowUp")A.preventDefault(),Bm(_,X,S,b,_$);else if(N==="Home")A.preventDefault(),Bm(_,null,S,b,yC);else if(N==="End")A.preventDefault(),Bm(_,null,S,b,_$);else if(N.length===1){const fe=M.current,Ce=N.toLowerCase(),V=performance.now();fe.keys.length>0&&(V-fe.lastTime>500?(fe.keys=[],fe.repeating=!0,fe.previousKeyMatched=!0):fe.repeating&&Ce!==fe.keys[0]&&(fe.repeating=!1)),fe.lastTime=V,fe.keys.push(Ce);const ve=X&&!fe.repeating&&AA(X,fe);fe.previousKeyMatched&&(ve||Bm(_,X,!1,b,yC,fe))?A.preventDefault():fe.previousKeyMatched=!1}T&&T(A)},U=_i(k,i);let G=-1;xe.Children.forEach(d,(A,_)=>{if(!xe.isValidElement(A)){G===_&&(G+=1,G>=d.length&&(G=-1));return}process.env.NODE_ENV!=="production"&&pf.isFragment(A)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
2855
|
+
`)),A.props.disabled||(w==="selectedMenu"&&A.props.selected||G===-1)&&(G=_),G===_&&(A.props.disabled||A.props.muiSkipListHighlight||A.type.muiSkipListHighlight)&&(G+=1,G>=d.length&&(G=-1))});const W=xe.Children.map(d,(A,_)=>{if(_===G){const N={};return p&&(N.autoFocus=!0),A.props.tabIndex===void 0&&w==="selectedMenu"&&(N.tabIndex=0),xe.cloneElement(A,N)}return A});return L.jsx($A,{role:"menu",ref:U,className:v,onKeyDown:P,tabIndex:c?0:-1,...R,children:W})});process.env.NODE_ENV!=="production"&&(kA.propTypes={autoFocus:y.bool,autoFocusItem:y.bool,children:y.node,className:y.string,disabledItemsFocusable:y.bool,disableListWrap:y.bool,onKeyDown:y.func,variant:y.oneOf(["menu","selectedMenu"])});function oV(e){return Xr("MuiPopover",e)}ao("MuiPopover",["root","paper"]);function I$(e,o){let i=0;return typeof o=="number"?i=o:o==="center"?i=e.height/2:o==="bottom"&&(i=e.height),i}function F$(e,o){let i=0;return typeof o=="number"?i=o:o==="center"?i=e.width/2:o==="right"&&(i=e.width),i}function V$(e){return[e.horizontal,e.vertical].map(o=>typeof o=="number"?`${o}px`:o).join(" ")}function qm(e){return typeof e=="function"?e():e}const aV=e=>{const{classes:o}=e;return io({root:["root"],paper:["paper"]},oV,o)},iV=ln(CA,{name:"MuiPopover",slot:"Root"})({}),PA=ln(dA,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),NA=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiPopover"}),{action:c,anchorEl:p,anchorOrigin:d={vertical:"top",horizontal:"left"},anchorPosition:v,anchorReference:b="anchorEl",children:S,className:T,container:w,elevation:R=8,marginThreshold:k=16,open:M,PaperProps:P={},slots:U={},slotProps:G={},transformOrigin:W={vertical:"top",horizontal:"left"},TransitionComponent:A,transitionDuration:_="auto",TransitionProps:N={},disableScrollLock:z=!1,...X}=s,fe=xe.useRef(),Ce={...s,anchorOrigin:d,anchorReference:b,elevation:R,marginThreshold:k,transformOrigin:W,TransitionComponent:A,transitionDuration:_,TransitionProps:N},V=aV(Ce),ve=xe.useCallback(()=>{if(b==="anchorPosition")return process.env.NODE_ENV!=="production"&&(v||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),v;const K=qm(p),be=K&&K.nodeType===1?K:dl(fe.current).body,ee=be.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const Ne=be.getBoundingClientRect();process.env.NODE_ENV!=="test"&&Ne.top===0&&Ne.left===0&&Ne.right===0&&Ne.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
2856
|
+
`))}return{top:ee.top+I$(ee,d.vertical),left:ee.left+F$(ee,d.horizontal)}},[p,d.horizontal,d.vertical,v,b]),we=xe.useCallback(K=>({vertical:I$(K,W.vertical),horizontal:F$(K,W.horizontal)}),[W.horizontal,W.vertical]),ce=xe.useCallback(K=>{const be={width:K.offsetWidth,height:K.offsetHeight},ee=we(be);if(b==="none")return{top:null,left:null,transformOrigin:V$(ee)};const Ne=ve();let ye=Ne.top-ee.vertical,Fe=Ne.left-ee.horizontal;const at=ye+be.height,It=Fe+be.width,jt=qs(qm(p)),vt=jt.innerHeight-k,gt=jt.innerWidth-k;if(k!==null&&ye<k){const Ct=ye-k;ye-=Ct,ee.vertical+=Ct}else if(k!==null&&at>vt){const Ct=at-vt;ye-=Ct,ee.vertical+=Ct}if(process.env.NODE_ENV!=="production"&&be.height>vt&&be.height&&vt&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${be.height-vt}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
|
|
2857
|
+
`)),k!==null&&Fe<k){const Ct=Fe-k;Fe-=Ct,ee.horizontal+=Ct}else if(It>gt){const Ct=It-gt;Fe-=Ct,ee.horizontal+=Ct}return{top:`${Math.round(ye)}px`,left:`${Math.round(Fe)}px`,transformOrigin:V$(ee)}},[p,b,ve,we,k]),[Se,Ee]=xe.useState(M),ge=xe.useCallback(()=>{const K=fe.current;if(!K)return;const be=ce(K);be.top!==null&&K.style.setProperty("top",be.top),be.left!==null&&(K.style.left=be.left),K.style.transformOrigin=be.transformOrigin,Ee(!0)},[ce]);xe.useEffect(()=>(z&&window.addEventListener("scroll",ge),()=>window.removeEventListener("scroll",ge)),[p,z,ge]);const De=()=>{ge()},ke=()=>{Ee(!1)};xe.useEffect(()=>{M&&ge()}),xe.useImperativeHandle(c,()=>M?{updatePosition:()=>{ge()}}:null,[M,ge]),xe.useEffect(()=>{if(!M)return;const K=rA(()=>{ge()}),be=qs(qm(p));return be.addEventListener("resize",K),()=>{K.clear(),be.removeEventListener("resize",K)}},[p,M,ge]);let se=_;const oe={slots:{transition:A,...U},slotProps:{transition:N,paper:P,...G}},[Te,B]=ha("transition",{elementType:W0,externalForwardedProps:oe,ownerState:Ce,getSlotProps:K=>({...K,onEntering:(be,ee)=>{var Ne;(Ne=K.onEntering)==null||Ne.call(K,be,ee),De()},onExited:be=>{var ee;(ee=K.onExited)==null||ee.call(K,be),ke()}}),additionalProps:{appear:!0,in:M}});_==="auto"&&!Te.muiSupportAuto&&(se=void 0);const Y=w||(p?dl(qm(p)).body:void 0),[Oe,{slots:He,slotProps:Je,...We}]=ha("root",{ref:i,elementType:iV,externalForwardedProps:{...oe,...X},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:U.backdrop},slotProps:{backdrop:T4(typeof G.backdrop=="function"?G.backdrop(Ce):G.backdrop,{invisible:!0})},container:Y,open:M},ownerState:Ce,className:yr(V.root,T)}),[Z,re]=ha("paper",{ref:fe,className:V.paper,elementType:PA,externalForwardedProps:oe,shouldForwardComponentProp:!0,additionalProps:{elevation:R,style:Se?void 0:{opacity:0}},ownerState:Ce});return L.jsx(Oe,{...We,...!jC(Oe)&&{slots:He,slotProps:Je,disableScrollLock:z},children:L.jsx(Te,{...B,timeout:se,children:L.jsx(Z,{...re,children:S})})})});process.env.NODE_ENV!=="production"&&(NA.propTypes={action:Bu,anchorEl:dv(y.oneOfType([av,y.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const o=qm(e.anchorEl);if(o&&o.nodeType===1){const i=o.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&i.top===0&&i.left===0&&i.right===0&&i.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
2858
2858
|
`))}else return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element or PopoverVirtualElement instance but it's \`${o}\` instead.`].join(`
|
|
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([av,y.func]),disableScrollLock:y.bool,elevation:fA,marginThreshold:y.number,onClose:y.func,open:y.bool.isRequired,PaperProps:y.shape({component:lA}),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 lV(e){return Xr("MuiMenu",e)}ao("MuiMenu",["root","paper","list"]);const sV={vertical:"top",horizontal:"right"},uV={vertical:"top",horizontal:"left"},cV=e=>{const{classes:o}=e;return io({root:["root"],paper:["paper"],list:["list"]},lV,o)},fV=ln(NA,{shouldForwardProp:e=>ts(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),dV=ln(PA,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),pV=ln(kA,{name:"MuiMenu",slot:"List"})({outline:0}),DA=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiMenu"}),{autoFocus:c=!0,children:p,className:d,disableAutoFocusItem:v=!1,MenuListProps:b={},onClose:S,open:T,PaperProps:w={},PopoverClasses:R,transitionDuration:k="auto",TransitionProps:{onEntering:M,...P}={},variant:U="selectedMenu",slots:G={},slotProps:
|
|
2860
|
-
`)),ce.props.disabled||(U==="selectedMenu"&&ce.props.selected||ve===-1)&&(ve=oe))});const we={slots:G,slotProps:{list:b,transition:P,paper:w,...Y}},ue=J4({elementType:G.root,externalSlotProps:Y.root,ownerState:N,className:[z.root,d]}),[Se,Ee]=ha("paper",{className:z.paper,elementType:dV,externalForwardedProps:we,shouldForwardComponentProp:!0,ownerState:N}),[ge,De]=ha("list",{className:yr(z.list,b.className),elementType:pV,shouldForwardComponentProp:!0,externalForwardedProps:we,getSlotProps:ce=>({...ce,onKeyDown:oe=>{var Te;V(oe),(Te=ce.onKeyDown)==null||Te.call(ce,oe)}}),ownerState:N}),ke=typeof we.slotProps.transition=="function"?we.slotProps.transition(N):we.slotProps.transition;return L.jsx(fV,{onClose:S,anchorOrigin:{vertical:"bottom",horizontal:_?"right":"left"},transformOrigin:_?sV:uV,slots:{root:G.root,paper:Se,backdrop:G.backdrop,...G.transition&&{transition:G.transition}},slotProps:{root:ue,paper:Ee,backdrop:typeof Y.backdrop=="function"?Y.backdrop(N):Y.backdrop,transition:{...ke,onEntering:(...ce)=>{var oe;Ce(...ce),(oe=ke==null?void 0:ke.onEntering)==null||oe.call(ke,...ce)}}},open:T,ref:i,transitionDuration:k,ownerState:N,...A,classes:R,children:L.jsx(ge,{actions:fe,autoFocus:c&&(ve===-1||v),autoFocusItem:X,variant:U,...De,children:p})})});process.env.NODE_ENV!=="production"&&(DA.propTypes={anchorEl:y.oneOfType([av,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 hV(e){return Xr("MuiNativeSelect",e)}const vw=ao("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),mV=e=>{const{classes:o,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 io(v,hV,o)},MA=ln("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${vw.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:o})=>o.variant!=="filled"&&o.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}}}]})),vV=ln(MA,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:ts,overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.select,o[i.variant],i.error&&o.error,{[`&.${vw.multiple}`]:o.multiple}]}})({}),LA=ln("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${vw.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:o})=>o.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),yV=ln(LA,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.icon,i.variant&&o[`icon${Cr(i.variant)}`],i.open&&o.iconOpen]}})({}),_A=xe.forwardRef(function(o,i){const{className:s,disabled:c,error:p,IconComponent:d,inputRef:v,variant:b="standard",...S}=o,T={...o,disabled:c,variant:b,error:p},w=mV(T);return L.jsxs(xe.Fragment,{children:[L.jsx(vV,{ownerState:T,className:yr(w.select,s),disabled:c,ref:v||i,...S}),o.multiple?null:L.jsx(yV,{as:d,ownerState:T,className:w.icon})]})});process.env.NODE_ENV!=="production"&&(_A.propTypes={children:y.node,classes:y.object,className:y.string,disabled:y.bool,error:y.bool,IconComponent:y.elementType.isRequired,inputRef:Bu,multiple:y.bool,name:y.string,onChange:y.func,value:y.any,variant:y.oneOf(["standard","outlined","filled"])});var j$;const gV=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%"}),bV=ln("legend",{name:"MuiNotchedOutlined",shouldForwardProp:ts})(Yo(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:o})=>!o.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:o})=>o.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:o})=>o.withLabel&&o.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function IA(e){const{children:o,classes:i,className:s,label:c,notched:p,...d}=e,v=c!=null&&c!=="",b={...e,notched:p,withLabel:v};return L.jsx(gV,{"aria-hidden":!0,className:s,ownerState:b,...d,children:L.jsx(bV,{ownerState:b,children:v?L.jsx("span",{children:c}):j$||(j$=L.jsx("span",{className:"notranslate","aria-hidden":!0,children:""}))})})}process.env.NODE_ENV!=="production"&&(IA.propTypes={children:y.node,classes:y.object,className:y.string,label:y.node,notched:y.bool.isRequired,style:y.object});const xV=e=>{const{classes:o}=e,s=io({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},lF,o);return{...o,...s}},SV=ln(gb,{shouldForwardProp:e=>ts(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:vb})(Yo(({theme:e})=>{const o=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)`:o}},[`&.${Ql.focused} .${Ql.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(pv()).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"}}]}})),CV=ln(IA,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(Yo(({theme:e})=>{const o=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)`:o}})),wV=ln(bb,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:yb})(Yo(({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:o})=>o.multiline,style:{padding:0}},{props:({ownerState:o})=>o.startAdornment,style:{paddingLeft:0}},{props:({ownerState:o})=>o.endAdornment,style:{paddingRight:0}}]}))),Eb=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiOutlinedInput"}),{components:c={},fullWidth:p=!1,inputComponent:d="input",label:v,multiline:b=!1,notched:S,slots:T={},slotProps:w={},type:R="text",...k}=s,M=xV(s),P=Tp(),U=Ep({props:s,muiFormControl:P,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),G={...s,color:U.color||"primary",disabled:U.disabled,error:U.error,focused:U.focused,formControl:P,fullWidth:p,hiddenLabel:U.hiddenLabel,multiline:b,size:U.size,type:R},Y=T.root??c.Root??SV,A=T.input??c.Input??wV,[_,N]=ha("notchedOutline",{elementType:CV,className:M.notchedOutline,shouldForwardComponentProp:!0,ownerState:G,externalForwardedProps:{slots:T,slotProps:w},additionalProps:{label:v!=null&&v!==""&&U.required?L.jsxs(xe.Fragment,{children:[v," ","*"]}):v}});return L.jsx(xb,{slots:{root:Y,input:A},slotProps:w,renderSuffix:z=>L.jsx(_,{...N,notched:typeof S<"u"?S:!!(z.startAdornment||z.filled||z.focused)}),fullWidth:p,inputComponent:d,multiline:b,ref:i,type:R,...k,classes:{...M,notchedOutline:null}})});process.env.NODE_ENV!=="production"&&(Eb.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:Bu,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});Eb.muiName="Input";function FA(e){return Xr("MuiSelect",e)}const zm=ao("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var U$;const EV=ln(MA,{name:"MuiSelect",slot:"Select",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[{[`&.${zm.select}`]:o.select},{[`&.${zm.select}`]:o[i.variant]},{[`&.${zm.error}`]:o.error},{[`&.${zm.multiple}`]:o.multiple}]}})({[`&.${zm.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),TV=ln(LA,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.icon,i.variant&&o[`icon${Cr(i.variant)}`],i.open&&o.iconOpen]}})({}),RV=ln("input",{shouldForwardProp:e=>tA(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function B$(e,o){return typeof o=="object"&&o!==null?e===o:String(e)===String(o)}function OV(e){return e==null||typeof e=="string"&&!e.trim()}const $V=e=>{const{classes:o,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 io(v,FA,o)},VA=xe.forwardRef(function(o,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:k=!1,IconComponent:M,inputRef:P,labelId:U,MenuProps:G={},multiple:Y,name:A,onBlur:_,onChange:N,onClose:z,onFocus:X,onOpen:fe,open:Ce,readOnly:V,renderValue:ve,required:we,SelectDisplayProps:ue={},tabIndex:Se,type:Ee,value:ge,variant:De="standard",...ke}=o,[ce,oe]=v$({controlled:ge,default:T,name:"Select"}),[Te,B]=v$({controlled:Ce,default:S,name:"Select"}),W=xe.useRef(null),Oe=xe.useRef(null),[He,Je]=xe.useState(null),{current:We}=xe.useRef(Ce!=null),[Z,re]=xe.useState(),K=_i(i,P),be=xe.useCallback(Ye=>{Oe.current=Ye,Ye&&Je(Ye)},[]),ee=He==null?void 0:He.parentNode;xe.useImperativeHandle(K,()=>({focus:()=>{Oe.current.focus()},node:W.current,value:ce}),[ce]),xe.useEffect(()=>{S&&Te&&He&&!We&&(re(d?null:ee.clientWidth),Oe.current.focus())},[He,d]),xe.useEffect(()=>{p&&Oe.current.focus()},[p]),xe.useEffect(()=>{if(!U)return;const Ye=dl(Oe.current).getElementById(U);if(Ye){const j=()=>{getSelection().isCollapsed&&Oe.current.focus()};return Ye.addEventListener("click",j),()=>{Ye.removeEventListener("click",j)}}},[U]);const Ne=(Ye,j)=>{Ye?fe&&fe(j):z&&z(j),We||(re(d?null:ee.clientWidth),B(Ye))},ye=Ye=>{Ye.button===0&&(Ye.preventDefault(),Oe.current.focus(),Ne(!0,Ye))},Fe=Ye=>{Ne(!1,Ye)},at=xe.Children.toArray(v),It=Ye=>{const j=at.find(J=>J.props.value===Ye.target.value);j!==void 0&&(oe(j.props.value),N&&N(Ye,j))},jt=Ye=>j=>{let J;if(j.currentTarget.hasAttribute("tabindex")){if(Y){J=Array.isArray(ce)?ce.slice():[];const ae=ce.indexOf(Ye.props.value);ae===-1?J.push(Ye.props.value):J.splice(ae,1)}else J=Ye.props.value;if(Ye.props.onClick&&Ye.props.onClick(j),ce!==J&&(oe(J),N)){const ae=j.nativeEvent||j,$=new ae.constructor(ae.type,ae);Object.defineProperty($,"target",{writable:!0,value:{value:J,name:A}}),N($,Ye)}Y||Ne(!1,j)}},vt=Ye=>{V||[" ","ArrowUp","ArrowDown","Enter"].includes(Ye.key)&&(Ye.preventDefault(),Ne(!0,Ye))},gt=He!==null&&Te,Ct=Ye=>{!gt&&_&&(Object.defineProperty(Ye,"target",{writable:!0,value:{value:ce,name:A}}),_(Ye))};delete ke["aria-invalid"];let lt,sn;const mn=[];let dn=!1,un=!1;(H0({value:ce})||R)&&(ve?lt=ve(ce):dn=!0);const Tn=at.map(Ye=>{if(!xe.isValidElement(Ye))return null;process.env.NODE_ENV!=="production"&&pf.isFragment(Ye)&&console.error(["MUI: The Select component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
2861
|
-
`));let j;if(
|
|
2862
|
-
`))}},[un,at,Y,A,ce]),dn&&(Y?mn.length===0?lt=null:lt=mn.reduce((Ye,j,J)=>(Ye.push(j),J<mn.length-1&&Ye.push(", "),Ye),[]):lt=sn);let rr=Z;!d&&We&&He&&(rr=ee.clientWidth);let or;typeof Se<"u"?or=Se:or=w?null:0;const it=ue.id||(A?`mui-component-select-${A}`:void 0),rt={...o,variant:De,value:ce,open:gt,error:k},Be=$V(rt),cn={...G.PaperProps,...(On=G.slotProps)==null?void 0:On.paper},Rn={...G.MenuListProps,...(Ln=G.slotProps)==null?void 0:Ln.list},Dn=q3();return L.jsxs(xe.Fragment,{children:[L.jsx(EV,{as:"div",ref:be,tabIndex:or,role:"combobox","aria-controls":gt?Dn:void 0,"aria-disabled":w?"true":void 0,"aria-expanded":gt?"true":"false","aria-haspopup":"listbox","aria-label":c,"aria-labelledby":[U,it].filter(Boolean).join(" ")||void 0,"aria-describedby":s,"aria-required":we?"true":void 0,"aria-invalid":k?"true":void 0,onKeyDown:vt,onMouseDown:w||V?null:ye,onBlur:Ct,onFocus:X,...ue,ownerState:rt,className:yr(ue.className,Be.select,b),id:it,children:OV(lt)?U$||(U$=L.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):lt}),L.jsx(RV,{"aria-invalid":k,value:Array.isArray(ce)?ce.join(","):ce,name:A,ref:W,"aria-hidden":!0,onChange:It,tabIndex:-1,disabled:w,className:Be.nativeInput,autoFocus:p,required:we,...ke,ownerState:rt}),L.jsx(TV,{as:M,className:Be.icon,ownerState:rt}),L.jsx(DA,{id:`menu-${A||""}`,anchorEl:ee,open:gt,onClose:Fe,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...G,slotProps:{...G.slotProps,list:{"aria-labelledby":U,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"&&(VA.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:Bu,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 AV=e=>{const{classes:o}=e,s=io({root:["root"]},FA,o);return{...o,...s}},yw={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>ts(e)&&e!=="variant"},kV=ln(wb,yw)(""),PV=ln(Eb,yw)(""),NV=ln(Cb,yw)(""),gw=xe.forwardRef(function(o,i){const s=Ao({name:"MuiSelect",props:o}),{autoWidth:c=!1,children:p,classes:d={},className:v,defaultOpen:b=!1,displayEmpty:S=!1,IconComponent:T=uF,id:w,input:R,inputProps:k,label:M,labelId:P,MenuProps:U,multiple:G=!1,native:Y=!1,onClose:A,onOpen:_,open:N,renderValue:z,SelectDisplayProps:X,variant:fe="outlined",...Ce}=s,V=Y?_A:VA,ve=Tp(),we=Ep({props:s,muiFormControl:ve,states:["variant","error"]}),ue=we.variant||fe,Se={...s,variant:ue,classes:d},Ee=AV(Se),{root:ge,...De}=Ee,ke=R||{standard:L.jsx(kV,{ownerState:Se}),outlined:L.jsx(PV,{label:M,ownerState:Se}),filled:L.jsx(NV,{ownerState:Se})}[ue],ce=_i(i,hv(ke));return L.jsx(xe.Fragment,{children:xe.cloneElement(ke,{inputComponent:V,inputProps:{children:p,error:we.error,IconComponent:T,variant:ue,type:void 0,multiple:G,...Y?{id:w}:{autoWidth:c,defaultOpen:b,displayEmpty:S,labelId:P,MenuProps:U,onClose:A,onOpen:_,open:N,renderValue:z,SelectDisplayProps:{id:w,...X}},...k,classes:k?ma(De,k.classes):De,...R?R.props.inputProps:{}},...(G&&Y||S)&&ue==="outlined"?{notched:!0}:{},ref:ce,className:yr(ke.props.className,v,Ee.root),...!R&&{variant:ue},...Ce})})});process.env.NODE_ENV!=="production"&&(gw.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"])});gw.muiName="Select";function DV(e){return Xr("MuiTextField",e)}ao("MuiTextField",["root"]);const MV={standard:wb,filled:Cb,outlined:Eb},LV=e=>{const{classes:o}=e;return io({root:["root"]},DV,o)},_V=ln(wA,{name:"MuiTextField",slot:"Root"})({}),jA=xe.forwardRef(function(o,i){const s=Ao({props:o,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:k=!1,helperText:M,id:P,InputLabelProps:U,inputProps:G,InputProps:Y,inputRef:A,label:_,maxRows:N,minRows:z,multiline:X=!1,name:fe,onBlur:Ce,onChange:V,onFocus:ve,placeholder:we,required:ue=!1,rows:Se,select:Ee=!1,SelectProps:ge,slots:De={},slotProps:ke={},type:ce,value:oe,variant:Te="outlined",...B}=s,W={...s,autoFocus:p,color:b,disabled:T,error:w,fullWidth:k,multiline:X,required:ue,select:Ee,variant:Te},Oe=LV(W);process.env.NODE_ENV!=="production"&&Ee&&!d&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const He=q3(P),Je=M&&He?`${He}-helper-text`:void 0,We=_&&He?`${He}-label`:void 0,Z=MV[Te],re={slots:De,slotProps:{input:Y,inputLabel:U,htmlInput:G,formHelperText:R,select:ge,...ke}},K={},be=re.slotProps.inputLabel;Te==="outlined"&&(be&&typeof be.shrink<"u"&&(K.notched=be.shrink),K.label=_),Ee&&((!ge||!ge.native)&&(K.id=void 0),K["aria-describedby"]=void 0);const[ee,Ne]=ha("root",{elementType:_V,shouldForwardComponentProp:!0,externalForwardedProps:{...re,...B},ownerState:W,className:yr(Oe.root,v),ref:i,additionalProps:{disabled:T,error:w,fullWidth:k,required:ue,color:b,variant:Te}}),[ye,Fe]=ha("input",{elementType:Z,externalForwardedProps:re,additionalProps:K,ownerState:W}),[at,It]=ha("inputLabel",{elementType:RA,externalForwardedProps:re,ownerState:W}),[jt,vt]=ha("htmlInput",{elementType:"input",externalForwardedProps:re,ownerState:W}),[gt,Ct]=ha("formHelperText",{elementType:EA,externalForwardedProps:re,ownerState:W}),[lt,sn]=ha("select",{elementType:gw,externalForwardedProps:re,ownerState:W}),mn=L.jsx(ye,{"aria-describedby":Je,autoComplete:c,autoFocus:p,defaultValue:S,fullWidth:k,multiline:X,name:fe,rows:Se,maxRows:N,minRows:z,type:ce,value:oe,id:He,inputRef:A,onBlur:Ce,onChange:V,onFocus:ve,placeholder:we,inputProps:vt,slots:{input:De.htmlInput?jt:void 0},...Fe});return L.jsxs(ee,{...Ne,children:[_!=null&&_!==""&&L.jsx(at,{htmlFor:He,id:We,...It,children:_}),Ee?L.jsx(lt,{"aria-describedby":Je,id:He,labelId:We,value:oe,input:mn,...sn,children:d}):mn,M&&L.jsx(gt,{id:Je,...Ct,children:M})]})});process.env.NODE_ENV!=="production"&&(jA.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:Bu,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"])});function IV(e){const{onError:o,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,k])=>w.headers[R]=k),typeof v=="function"&&v(w),typeof S=="function"?S(w):w)),T.interceptors.response.use(w=>(typeof b=="function"&&b(w),w),w=>{var k,M,P,U;const R={config:{}};if(typeof o=="function"&&o((w==null?void 0:w.response)||R),((k=w==null?void 0:w.response)==null?void 0:k.status)===400)typeof c=="function"&&c((w==null?void 0:w.response)||R);else if(((M=w==null?void 0:w.response)==null?void 0:M.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(((U=w==null?void 0:w.response)==null?void 0:U.status)===500)typeof p=="function"&&p((w==null?void 0:w.response)||R);else throw w}),T}function FV(e,o){const{apiUrl:i}=o;return new e({basePath:i},i,IV(o))}const ut="http://localhost".replace(/\/+$/,"");class VV{constructor(o,i=ut,s=st){this.basePath=i,this.axios=s,o&&(this.configuration=o,this.basePath=o.basePath||this.basePath)}}class jV extends Error{constructor(o,i){super(i),this.field=o,this.name="RequiredError"}}const ct="https://example.com",ft=function(e,o,i){if(i==null)throw new jV(o,`Required parameter ${o} was null or undefined when calling ${e}.`)};function BC(e,o,i=""){o!=null&&(typeof o=="object"?Array.isArray(o)?o.forEach(s=>BC(e,s,i)):Object.keys(o).forEach(s=>BC(e,o[s],`${i}${i!==""?".":""}${s}`)):e.has(i)?e.append(i,o):e.set(i,o))}const dt=function(e,...o){const i=new URLSearchParams(e.search);BC(i,o),e.search=i.toString()},vn=function(e,o,i){const s=typeof e!="string";return(s&&i&&i.isJsonMime?i.isJsonMime(o.headers["Content-Type"]):s)?JSON.stringify(e!==void 0?e:{}):e||""},pt=function(e){return e.pathname+e.search+e.hash},ht=function(e,o,i,s){return(c=o,p=i)=>{const d={...e.options,url:((s==null?void 0:s.basePath)||p)+e.url};return c.request(d)}},UV=function(e){return{abTestControllerDelete:async(o,i={})=>{ft("abTestControllerDelete","id",o);const s="/api/ab-test/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},abTestControllerGet:async(o,i={})=>{ft("abTestControllerGet","id",o);const s="/api/ab-test/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},abTestControllerGetBySlug:async(o,i={})=>{ft("abTestControllerGetBySlug","slug",o);const s="/api/ab-test/slug/{slug}".replace("{slug}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},abTestControllerIndex:async(o={})=>{const i="/api/ab-test",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},abTestControllerPatch:async(o,i,s={})=>{ft("abTestControllerPatch","id",o),ft("abTestControllerPatch","abTest",i);const c="/api/ab-test/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("abTestControllerPost","abTest",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},abTestSearchControllerPost:async(o,i,s,c={})=>{ft("abTestSearchControllerPost","abTest",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},componentControllerDelete:async(o,i={})=>{ft("componentControllerDelete","id",o);const s="/api/component/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},componentControllerGet:async(o,i={})=>{ft("componentControllerGet","id",o);const s="/api/component/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},componentControllerIndex:async(o={})=>{const i="/api/component",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},componentControllerPatch:async(o,i,s={})=>{ft("componentControllerPatch","id",o),ft("componentControllerPatch","component",i);const c="/api/component/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("componentControllerPost","component",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},componentSearchControllerPost:async(o,i,s,c={})=>{ft("componentSearchControllerPost","component",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},conditionControllerDelete:async(o,i={})=>{ft("conditionControllerDelete","id",o);const s="/api/condition/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},conditionControllerGet:async(o,i={})=>{ft("conditionControllerGet","id",o);const s="/api/condition/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},conditionControllerIndex:async(o={})=>{const i="/api/condition",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},conditionControllerPatch:async(o,i,s={})=>{ft("conditionControllerPatch","id",o),ft("conditionControllerPatch","condition",i);const c="/api/condition/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("conditionControllerPost","condition",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},conditionSearchControllerPost:async(o,i,s,c={})=>{ft("conditionSearchControllerPost","condition",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},flowControllerCopy:async(o,i={})=>{ft("flowControllerCopy","flowCopyDto",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},flowControllerDelete:async(o,i={})=>{ft("flowControllerDelete","id",o);const s="/api/flow/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},flowControllerGet:async(o,i={})=>{ft("flowControllerGet","id",o);const s="/api/flow/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},flowControllerGetBySlug:async(o,i,s={})=>{ft("flowControllerGetBySlug","slug",o);const c="/api/flow/slug/{slug}".replace("{slug}",encodeURIComponent(String(o))),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),dt(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},flowControllerGetFull:async(o,i={})=>{ft("flowControllerGetFull","id",o);const s="/api/flow/{id}/full".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},flowControllerIndex:async(o={})=>{const i="/api/flow",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},flowControllerPatch:async(o,i,s={})=>{ft("flowControllerPatch","id",o),ft("flowControllerPatch","flow",i);const c="/api/flow/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("flowControllerPost","flow",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},flowFormControllerCopyReplaceForm:async(o,i,s,c={})=>{ft("flowFormControllerCopyReplaceForm","flowId",o),ft("flowFormControllerCopyReplaceForm","formId",i),ft("flowFormControllerCopyReplaceForm","flowFormCopyDto",s);const p="/api/flow-form/{flowId}/{formId}/copy-replace-form".replace("{flowId}",encodeURIComponent(String(o))).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",dt(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(o,i,s={})=>{ft("flowFormControllerDelete","flowId",o),ft("flowFormControllerDelete","formId",i);const c="/api/flow-form/{flowId}/{formId}".replace("{flowId}",encodeURIComponent(String(o))).replace("{formId}",encodeURIComponent(String(i))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"DELETE",...d,...s},b={};dt(p,{});let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},flowFormControllerGet:async(o,i,s={})=>{ft("flowFormControllerGet","flowId",o),ft("flowFormControllerGet","formId",i);const c="/api/flow-form/{flowId}/{formId}".replace("{flowId}",encodeURIComponent(String(o))).replace("{formId}",encodeURIComponent(String(i))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"GET",...d,...s},b={};dt(p,{});let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},flowFormControllerIndex:async(o={})=>{const i="/api/flow-form",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},flowFormControllerPatch:async(o,i,s,c={})=>{ft("flowFormControllerPatch","flowId",o),ft("flowFormControllerPatch","formId",i),ft("flowFormControllerPatch","flowForm",s);const p="/api/flow-form/{flowId}/{formId}".replace("{flowId}",encodeURIComponent(String(o))).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",dt(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(o,i={})=>{ft("flowFormControllerPost","flowForm",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},flowFormSearchControllerPost:async(o,i,s,c={})=>{ft("flowFormSearchControllerPost","flowForm",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},flowSearchControllerPost:async(o,i,s,c={})=>{ft("flowSearchControllerPost","flow",o);const p="/api/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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},formComponentControllerDelete:async(o,i={})=>{ft("formComponentControllerDelete","id",o);const s="/api/form-component/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formComponentControllerGetById:async(o,i={})=>{ft("formComponentControllerGetById","id",o);const s="/api/form-component/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formComponentControllerIndex:async(o={})=>{const i="/api/form-component",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},formComponentControllerPatch:async(o,i,s={})=>{ft("formComponentControllerPatch","id",o),ft("formComponentControllerPatch","formComponent",i);const c="/api/form-component/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("formComponentControllerPost","formComponent",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},formComponentSearchControllerPost:async(o,i,s,c={})=>{ft("formComponentSearchControllerPost","formComponent",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},formControllerCopy:async(o,i={})=>{ft("formControllerCopy","formCopyDto",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},formControllerDelete:async(o,i={})=>{ft("formControllerDelete","id",o);const s="/api/form/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formControllerGet:async(o,i={})=>{ft("formControllerGet","id",o);const s="/api/form/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formControllerIndex:async(o={})=>{const i="/api/form",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},formControllerPatch:async(o,i,s={})=>{ft("formControllerPatch","id",o),ft("formControllerPatch","form",i);const c="/api/form/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("formControllerPost","form",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},formSearchControllerPost:async(o,i,s,c={})=>{ft("formSearchControllerPost","form",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},healthControllerGet:async(o={})=>{const i="/api/health",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},oidcConfigControllerGetClient:async(o,i={})=>{ft("oidcConfigControllerGetClient","redirectUri",o);const s="/api/oidc-config/client/{redirectUri}".replace("{redirectUri}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},oidcConfigControllerGetEntra:async(o={})=>{const i="/api/oidc-config/entra",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},oidcCookieControllerPost:async(o,i,s={})=>{ft("oidcCookieControllerPost","origin",o),ft("oidcCookieControllerPost","tokensDto",i);const c="/api/oidc-cookie/{origin}".replace("{origin}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"POST",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("otpControllerSendOtp","body",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},otpControllerVerifyOtp:async(o,i={})=>{ft("otpControllerVerifyOtp","body",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},patientControllerDelete:async(o,i={})=>{ft("patientControllerDelete","id",o);const s="/api/patient/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},patientControllerGet:async(o,i={})=>{ft("patientControllerGet","id",o);const s="/api/patient/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},patientControllerIndex:async(o={})=>{const i="/api/patient",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},patientControllerPatch:async(o,i,s={})=>{ft("patientControllerPatch","id",o),ft("patientControllerPatch","patient",i);const c="/api/patient/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("patientControllerPost","patient",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},patientSearchControllerPost:async(o,i,s,c={})=>{ft("patientSearchControllerPost","patient",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},pipelineControllerCopy:async(o,i={})=>{ft("pipelineControllerCopy","pipelineCopyDto",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},pipelineControllerDelete:async(o,i={})=>{ft("pipelineControllerDelete","id",o);const s="/api/pipeline/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineControllerGet:async(o,i={})=>{ft("pipelineControllerGet","id",o);const s="/api/pipeline/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineControllerGetBySlug:async(o,i,s={})=>{ft("pipelineControllerGetBySlug","slug",o);const c="/api/pipeline/slug/{slug}".replace("{slug}",encodeURIComponent(String(o))),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),dt(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},pipelineControllerIndex:async(o={})=>{const i="/api/pipeline",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},pipelineControllerPatch:async(o,i,s={})=>{ft("pipelineControllerPatch","id",o),ft("pipelineControllerPatch","pipeline",i);const c="/api/pipeline/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("pipelineControllerPost","pipeline",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},pipelineFlowControllerDelete:async(o,i={})=>{ft("pipelineFlowControllerDelete","id",o);const s="/api/pipeline-flow/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineFlowControllerGetById:async(o,i={})=>{ft("pipelineFlowControllerGetById","id",o);const s="/api/pipeline-flow/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineFlowControllerIndex:async(o={})=>{const i="/api/pipeline-flow",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},pipelineFlowControllerPatch:async(o,i,s={})=>{ft("pipelineFlowControllerPatch","id",o),ft("pipelineFlowControllerPatch","pipelineFlow",i);const c="/api/pipeline-flow/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("pipelineFlowControllerPost","pipelineFlow",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},pipelineFlowSearchControllerPost:async(o,i,s,c={})=>{ft("pipelineFlowSearchControllerPost","pipelineFlow",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},pipelineSearchControllerPost:async(o,i,s,c={})=>{ft("pipelineSearchControllerPost","pipeline",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},previewFlowControllerGetBySlug:async(o,i,s={})=>{ft("previewFlowControllerGetBySlug","slug",o);const c="/api/preview-flow/slug/{slug}".replace("{slug}",encodeURIComponent(String(o))),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),dt(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},previewPipelineControllerGetBySlug:async(o,i,s={})=>{ft("previewPipelineControllerGetBySlug","slug",o);const c="/api/preview-pipeline/slug/{slug}".replace("{slug}",encodeURIComponent(String(o))),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),dt(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},propertyControllerDelete:async(o,i={})=>{ft("propertyControllerDelete","id",o);const s="/api/property/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},propertyControllerGet:async(o,i={})=>{ft("propertyControllerGet","id",o);const s="/api/property/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},propertyControllerIndex:async(o={})=>{const i="/api/property",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},propertyControllerPatch:async(o,i,s={})=>{ft("propertyControllerPatch","id",o),ft("propertyControllerPatch","property",i);const c="/api/property/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("propertyControllerPost","property",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},propertySearchControllerPost:async(o,i,s,c={})=>{ft("propertySearchControllerPost","property",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},tokenValidationControllerPost:async(o,i={})=>{ft("tokenValidationControllerPost","valueDto",o);const s="/api/token-validation",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},uploadControllerListImages:async(o={})=>{const i="/api/upload/images",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},uploadControllerListVideos:async(o={})=>{const i="/api/upload/videos",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},uploadControllerUploadImage:async(o,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);o!==void 0&&S.append("file",o),v["Content-Type"]="multipart/form-data",dt(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(o,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);o!==void 0&&S.append("file",o),v["Content-Type"]="multipart/form-data",dt(c,b);let T=p&&p.headers?p.headers:{};return d.headers={...v,...T,...i.headers},d.data=S,{url:pt(c),options:d}}}},mt=function(e){const o=UV(e);return{async abTestControllerDelete(i,s){const c=await o.abTestControllerDelete(i,s);return ht(c,st,ut,e)},async abTestControllerGet(i,s){const c=await o.abTestControllerGet(i,s);return ht(c,st,ut,e)},async abTestControllerGetBySlug(i,s){const c=await o.abTestControllerGetBySlug(i,s);return ht(c,st,ut,e)},async abTestControllerIndex(i){const s=await o.abTestControllerIndex(i);return ht(s,st,ut,e)},async abTestControllerPatch(i,s,c){const p=await o.abTestControllerPatch(i,s,c);return ht(p,st,ut,e)},async abTestControllerPost(i,s){const c=await o.abTestControllerPost(i,s);return ht(c,st,ut,e)},async abTestSearchControllerPost(i,s,c,p){const d=await o.abTestSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async componentControllerDelete(i,s){const c=await o.componentControllerDelete(i,s);return ht(c,st,ut,e)},async componentControllerGet(i,s){const c=await o.componentControllerGet(i,s);return ht(c,st,ut,e)},async componentControllerIndex(i){const s=await o.componentControllerIndex(i);return ht(s,st,ut,e)},async componentControllerPatch(i,s,c){const p=await o.componentControllerPatch(i,s,c);return ht(p,st,ut,e)},async componentControllerPost(i,s){const c=await o.componentControllerPost(i,s);return ht(c,st,ut,e)},async componentSearchControllerPost(i,s,c,p){const d=await o.componentSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async conditionControllerDelete(i,s){const c=await o.conditionControllerDelete(i,s);return ht(c,st,ut,e)},async conditionControllerGet(i,s){const c=await o.conditionControllerGet(i,s);return ht(c,st,ut,e)},async conditionControllerIndex(i){const s=await o.conditionControllerIndex(i);return ht(s,st,ut,e)},async conditionControllerPatch(i,s,c){const p=await o.conditionControllerPatch(i,s,c);return ht(p,st,ut,e)},async conditionControllerPost(i,s){const c=await o.conditionControllerPost(i,s);return ht(c,st,ut,e)},async conditionSearchControllerPost(i,s,c,p){const d=await o.conditionSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async flowControllerCopy(i,s){const c=await o.flowControllerCopy(i,s);return ht(c,st,ut,e)},async flowControllerDelete(i,s){const c=await o.flowControllerDelete(i,s);return ht(c,st,ut,e)},async flowControllerGet(i,s){const c=await o.flowControllerGet(i,s);return ht(c,st,ut,e)},async flowControllerGetBySlug(i,s,c){const p=await o.flowControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async flowControllerGetFull(i,s){const c=await o.flowControllerGetFull(i,s);return ht(c,st,ut,e)},async flowControllerIndex(i){const s=await o.flowControllerIndex(i);return ht(s,st,ut,e)},async flowControllerPatch(i,s,c){const p=await o.flowControllerPatch(i,s,c);return ht(p,st,ut,e)},async flowControllerPost(i,s){const c=await o.flowControllerPost(i,s);return ht(c,st,ut,e)},async flowFormControllerCopyReplaceForm(i,s,c,p){const d=await o.flowFormControllerCopyReplaceForm(i,s,c,p);return ht(d,st,ut,e)},async flowFormControllerDelete(i,s,c){const p=await o.flowFormControllerDelete(i,s,c);return ht(p,st,ut,e)},async flowFormControllerGet(i,s,c){const p=await o.flowFormControllerGet(i,s,c);return ht(p,st,ut,e)},async flowFormControllerIndex(i){const s=await o.flowFormControllerIndex(i);return ht(s,st,ut,e)},async flowFormControllerPatch(i,s,c,p){const d=await o.flowFormControllerPatch(i,s,c,p);return ht(d,st,ut,e)},async flowFormControllerPost(i,s){const c=await o.flowFormControllerPost(i,s);return ht(c,st,ut,e)},async flowFormSearchControllerPost(i,s,c,p){const d=await o.flowFormSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async flowSearchControllerPost(i,s,c,p){const d=await o.flowSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async formComponentControllerDelete(i,s){const c=await o.formComponentControllerDelete(i,s);return ht(c,st,ut,e)},async formComponentControllerGetById(i,s){const c=await o.formComponentControllerGetById(i,s);return ht(c,st,ut,e)},async formComponentControllerIndex(i){const s=await o.formComponentControllerIndex(i);return ht(s,st,ut,e)},async formComponentControllerPatch(i,s,c){const p=await o.formComponentControllerPatch(i,s,c);return ht(p,st,ut,e)},async formComponentControllerPost(i,s){const c=await o.formComponentControllerPost(i,s);return ht(c,st,ut,e)},async formComponentSearchControllerPost(i,s,c,p){const d=await o.formComponentSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async formControllerCopy(i,s){const c=await o.formControllerCopy(i,s);return ht(c,st,ut,e)},async formControllerDelete(i,s){const c=await o.formControllerDelete(i,s);return ht(c,st,ut,e)},async formControllerGet(i,s){const c=await o.formControllerGet(i,s);return ht(c,st,ut,e)},async formControllerIndex(i){const s=await o.formControllerIndex(i);return ht(s,st,ut,e)},async formControllerPatch(i,s,c){const p=await o.formControllerPatch(i,s,c);return ht(p,st,ut,e)},async formControllerPost(i,s){const c=await o.formControllerPost(i,s);return ht(c,st,ut,e)},async formSearchControllerPost(i,s,c,p){const d=await o.formSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async healthControllerGet(i){const s=await o.healthControllerGet(i);return ht(s,st,ut,e)},async oidcConfigControllerGetClient(i,s){const c=await o.oidcConfigControllerGetClient(i,s);return ht(c,st,ut,e)},async oidcConfigControllerGetEntra(i){const s=await o.oidcConfigControllerGetEntra(i);return ht(s,st,ut,e)},async oidcCookieControllerPost(i,s,c){const p=await o.oidcCookieControllerPost(i,s,c);return ht(p,st,ut,e)},async otpControllerSendOtp(i,s){const c=await o.otpControllerSendOtp(i,s);return ht(c,st,ut,e)},async otpControllerVerifyOtp(i,s){const c=await o.otpControllerVerifyOtp(i,s);return ht(c,st,ut,e)},async patientControllerDelete(i,s){const c=await o.patientControllerDelete(i,s);return ht(c,st,ut,e)},async patientControllerGet(i,s){const c=await o.patientControllerGet(i,s);return ht(c,st,ut,e)},async patientControllerIndex(i){const s=await o.patientControllerIndex(i);return ht(s,st,ut,e)},async patientControllerPatch(i,s,c){const p=await o.patientControllerPatch(i,s,c);return ht(p,st,ut,e)},async patientControllerPost(i,s){const c=await o.patientControllerPost(i,s);return ht(c,st,ut,e)},async patientSearchControllerPost(i,s,c,p){const d=await o.patientSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async pipelineControllerCopy(i,s){const c=await o.pipelineControllerCopy(i,s);return ht(c,st,ut,e)},async pipelineControllerDelete(i,s){const c=await o.pipelineControllerDelete(i,s);return ht(c,st,ut,e)},async pipelineControllerGet(i,s){const c=await o.pipelineControllerGet(i,s);return ht(c,st,ut,e)},async pipelineControllerGetBySlug(i,s,c){const p=await o.pipelineControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async pipelineControllerIndex(i){const s=await o.pipelineControllerIndex(i);return ht(s,st,ut,e)},async pipelineControllerPatch(i,s,c){const p=await o.pipelineControllerPatch(i,s,c);return ht(p,st,ut,e)},async pipelineControllerPost(i,s){const c=await o.pipelineControllerPost(i,s);return ht(c,st,ut,e)},async pipelineFlowControllerDelete(i,s){const c=await o.pipelineFlowControllerDelete(i,s);return ht(c,st,ut,e)},async pipelineFlowControllerGetById(i,s){const c=await o.pipelineFlowControllerGetById(i,s);return ht(c,st,ut,e)},async pipelineFlowControllerIndex(i){const s=await o.pipelineFlowControllerIndex(i);return ht(s,st,ut,e)},async pipelineFlowControllerPatch(i,s,c){const p=await o.pipelineFlowControllerPatch(i,s,c);return ht(p,st,ut,e)},async pipelineFlowControllerPost(i,s){const c=await o.pipelineFlowControllerPost(i,s);return ht(c,st,ut,e)},async pipelineFlowSearchControllerPost(i,s,c,p){const d=await o.pipelineFlowSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async pipelineSearchControllerPost(i,s,c,p){const d=await o.pipelineSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async previewFlowControllerGetBySlug(i,s,c){const p=await o.previewFlowControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async previewPipelineControllerGetBySlug(i,s,c){const p=await o.previewPipelineControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async propertyControllerDelete(i,s){const c=await o.propertyControllerDelete(i,s);return ht(c,st,ut,e)},async propertyControllerGet(i,s){const c=await o.propertyControllerGet(i,s);return ht(c,st,ut,e)},async propertyControllerIndex(i){const s=await o.propertyControllerIndex(i);return ht(s,st,ut,e)},async propertyControllerPatch(i,s,c){const p=await o.propertyControllerPatch(i,s,c);return ht(p,st,ut,e)},async propertyControllerPost(i,s){const c=await o.propertyControllerPost(i,s);return ht(c,st,ut,e)},async propertySearchControllerPost(i,s,c,p){const d=await o.propertySearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async tokenValidationControllerPost(i,s){const c=await o.tokenValidationControllerPost(i,s);return ht(c,st,ut,e)},async uploadControllerListImages(i){const s=await o.uploadControllerListImages(i);return ht(s,st,ut,e)},async uploadControllerListVideos(i){const s=await o.uploadControllerListVideos(i);return ht(s,st,ut,e)},async uploadControllerUploadImage(i,s){const c=await o.uploadControllerUploadImage(i,s);return ht(c,st,ut,e)},async uploadControllerUploadVideo(i,s){const c=await o.uploadControllerUploadVideo(i,s);return ht(c,st,ut,e)}}};class BV extends VV{abTestControllerDelete(o,i){return mt(this.configuration).abTestControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}abTestControllerGet(o,i){return mt(this.configuration).abTestControllerGet(o,i).then(s=>s(this.axios,this.basePath))}abTestControllerGetBySlug(o,i){return mt(this.configuration).abTestControllerGetBySlug(o,i).then(s=>s(this.axios,this.basePath))}abTestControllerIndex(o){return mt(this.configuration).abTestControllerIndex(o).then(i=>i(this.axios,this.basePath))}abTestControllerPatch(o,i,s){return mt(this.configuration).abTestControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}abTestControllerPost(o,i){return mt(this.configuration).abTestControllerPost(o,i).then(s=>s(this.axios,this.basePath))}abTestSearchControllerPost(o,i,s,c){return mt(this.configuration).abTestSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}componentControllerDelete(o,i){return mt(this.configuration).componentControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}componentControllerGet(o,i){return mt(this.configuration).componentControllerGet(o,i).then(s=>s(this.axios,this.basePath))}componentControllerIndex(o){return mt(this.configuration).componentControllerIndex(o).then(i=>i(this.axios,this.basePath))}componentControllerPatch(o,i,s){return mt(this.configuration).componentControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}componentControllerPost(o,i){return mt(this.configuration).componentControllerPost(o,i).then(s=>s(this.axios,this.basePath))}componentSearchControllerPost(o,i,s,c){return mt(this.configuration).componentSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}conditionControllerDelete(o,i){return mt(this.configuration).conditionControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}conditionControllerGet(o,i){return mt(this.configuration).conditionControllerGet(o,i).then(s=>s(this.axios,this.basePath))}conditionControllerIndex(o){return mt(this.configuration).conditionControllerIndex(o).then(i=>i(this.axios,this.basePath))}conditionControllerPatch(o,i,s){return mt(this.configuration).conditionControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}conditionControllerPost(o,i){return mt(this.configuration).conditionControllerPost(o,i).then(s=>s(this.axios,this.basePath))}conditionSearchControllerPost(o,i,s,c){return mt(this.configuration).conditionSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}flowControllerCopy(o,i){return mt(this.configuration).flowControllerCopy(o,i).then(s=>s(this.axios,this.basePath))}flowControllerDelete(o,i){return mt(this.configuration).flowControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}flowControllerGet(o,i){return mt(this.configuration).flowControllerGet(o,i).then(s=>s(this.axios,this.basePath))}flowControllerGetBySlug(o,i,s){return mt(this.configuration).flowControllerGetBySlug(o,i,s).then(c=>c(this.axios,this.basePath))}flowControllerGetFull(o,i){return mt(this.configuration).flowControllerGetFull(o,i).then(s=>s(this.axios,this.basePath))}flowControllerIndex(o){return mt(this.configuration).flowControllerIndex(o).then(i=>i(this.axios,this.basePath))}flowControllerPatch(o,i,s){return mt(this.configuration).flowControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}flowControllerPost(o,i){return mt(this.configuration).flowControllerPost(o,i).then(s=>s(this.axios,this.basePath))}flowFormControllerCopyReplaceForm(o,i,s,c){return mt(this.configuration).flowFormControllerCopyReplaceForm(o,i,s,c).then(p=>p(this.axios,this.basePath))}flowFormControllerDelete(o,i,s){return mt(this.configuration).flowFormControllerDelete(o,i,s).then(c=>c(this.axios,this.basePath))}flowFormControllerGet(o,i,s){return mt(this.configuration).flowFormControllerGet(o,i,s).then(c=>c(this.axios,this.basePath))}flowFormControllerIndex(o){return mt(this.configuration).flowFormControllerIndex(o).then(i=>i(this.axios,this.basePath))}flowFormControllerPatch(o,i,s,c){return mt(this.configuration).flowFormControllerPatch(o,i,s,c).then(p=>p(this.axios,this.basePath))}flowFormControllerPost(o,i){return mt(this.configuration).flowFormControllerPost(o,i).then(s=>s(this.axios,this.basePath))}flowFormSearchControllerPost(o,i,s,c){return mt(this.configuration).flowFormSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}flowSearchControllerPost(o,i,s,c){return mt(this.configuration).flowSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}formComponentControllerDelete(o,i){return mt(this.configuration).formComponentControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}formComponentControllerGetById(o,i){return mt(this.configuration).formComponentControllerGetById(o,i).then(s=>s(this.axios,this.basePath))}formComponentControllerIndex(o){return mt(this.configuration).formComponentControllerIndex(o).then(i=>i(this.axios,this.basePath))}formComponentControllerPatch(o,i,s){return mt(this.configuration).formComponentControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}formComponentControllerPost(o,i){return mt(this.configuration).formComponentControllerPost(o,i).then(s=>s(this.axios,this.basePath))}formComponentSearchControllerPost(o,i,s,c){return mt(this.configuration).formComponentSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}formControllerCopy(o,i){return mt(this.configuration).formControllerCopy(o,i).then(s=>s(this.axios,this.basePath))}formControllerDelete(o,i){return mt(this.configuration).formControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}formControllerGet(o,i){return mt(this.configuration).formControllerGet(o,i).then(s=>s(this.axios,this.basePath))}formControllerIndex(o){return mt(this.configuration).formControllerIndex(o).then(i=>i(this.axios,this.basePath))}formControllerPatch(o,i,s){return mt(this.configuration).formControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}formControllerPost(o,i){return mt(this.configuration).formControllerPost(o,i).then(s=>s(this.axios,this.basePath))}formSearchControllerPost(o,i,s,c){return mt(this.configuration).formSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}healthControllerGet(o){return mt(this.configuration).healthControllerGet(o).then(i=>i(this.axios,this.basePath))}oidcConfigControllerGetClient(o,i){return mt(this.configuration).oidcConfigControllerGetClient(o,i).then(s=>s(this.axios,this.basePath))}oidcConfigControllerGetEntra(o){return mt(this.configuration).oidcConfigControllerGetEntra(o).then(i=>i(this.axios,this.basePath))}oidcCookieControllerPost(o,i,s){return mt(this.configuration).oidcCookieControllerPost(o,i,s).then(c=>c(this.axios,this.basePath))}otpControllerSendOtp(o,i){return mt(this.configuration).otpControllerSendOtp(o,i).then(s=>s(this.axios,this.basePath))}otpControllerVerifyOtp(o,i){return mt(this.configuration).otpControllerVerifyOtp(o,i).then(s=>s(this.axios,this.basePath))}patientControllerDelete(o,i){return mt(this.configuration).patientControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}patientControllerGet(o,i){return mt(this.configuration).patientControllerGet(o,i).then(s=>s(this.axios,this.basePath))}patientControllerIndex(o){return mt(this.configuration).patientControllerIndex(o).then(i=>i(this.axios,this.basePath))}patientControllerPatch(o,i,s){return mt(this.configuration).patientControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}patientControllerPost(o,i){return mt(this.configuration).patientControllerPost(o,i).then(s=>s(this.axios,this.basePath))}patientSearchControllerPost(o,i,s,c){return mt(this.configuration).patientSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}pipelineControllerCopy(o,i){return mt(this.configuration).pipelineControllerCopy(o,i).then(s=>s(this.axios,this.basePath))}pipelineControllerDelete(o,i){return mt(this.configuration).pipelineControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}pipelineControllerGet(o,i){return mt(this.configuration).pipelineControllerGet(o,i).then(s=>s(this.axios,this.basePath))}pipelineControllerGetBySlug(o,i,s){return mt(this.configuration).pipelineControllerGetBySlug(o,i,s).then(c=>c(this.axios,this.basePath))}pipelineControllerIndex(o){return mt(this.configuration).pipelineControllerIndex(o).then(i=>i(this.axios,this.basePath))}pipelineControllerPatch(o,i,s){return mt(this.configuration).pipelineControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}pipelineControllerPost(o,i){return mt(this.configuration).pipelineControllerPost(o,i).then(s=>s(this.axios,this.basePath))}pipelineFlowControllerDelete(o,i){return mt(this.configuration).pipelineFlowControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}pipelineFlowControllerGetById(o,i){return mt(this.configuration).pipelineFlowControllerGetById(o,i).then(s=>s(this.axios,this.basePath))}pipelineFlowControllerIndex(o){return mt(this.configuration).pipelineFlowControllerIndex(o).then(i=>i(this.axios,this.basePath))}pipelineFlowControllerPatch(o,i,s){return mt(this.configuration).pipelineFlowControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}pipelineFlowControllerPost(o,i){return mt(this.configuration).pipelineFlowControllerPost(o,i).then(s=>s(this.axios,this.basePath))}pipelineFlowSearchControllerPost(o,i,s,c){return mt(this.configuration).pipelineFlowSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}pipelineSearchControllerPost(o,i,s,c){return mt(this.configuration).pipelineSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}previewFlowControllerGetBySlug(o,i,s){return mt(this.configuration).previewFlowControllerGetBySlug(o,i,s).then(c=>c(this.axios,this.basePath))}previewPipelineControllerGetBySlug(o,i,s){return mt(this.configuration).previewPipelineControllerGetBySlug(o,i,s).then(c=>c(this.axios,this.basePath))}propertyControllerDelete(o,i){return mt(this.configuration).propertyControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}propertyControllerGet(o,i){return mt(this.configuration).propertyControllerGet(o,i).then(s=>s(this.axios,this.basePath))}propertyControllerIndex(o){return mt(this.configuration).propertyControllerIndex(o).then(i=>i(this.axios,this.basePath))}propertyControllerPatch(o,i,s){return mt(this.configuration).propertyControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}propertyControllerPost(o,i){return mt(this.configuration).propertyControllerPost(o,i).then(s=>s(this.axios,this.basePath))}propertySearchControllerPost(o,i,s,c){return mt(this.configuration).propertySearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}tokenValidationControllerPost(o,i){return mt(this.configuration).tokenValidationControllerPost(o,i).then(s=>s(this.axios,this.basePath))}uploadControllerListImages(o){return mt(this.configuration).uploadControllerListImages(o).then(i=>i(this.axios,this.basePath))}uploadControllerListVideos(o){return mt(this.configuration).uploadControllerListVideos(o).then(i=>i(this.axios,this.basePath))}uploadControllerUploadImage(o,i){return mt(this.configuration).uploadControllerUploadImage(o,i).then(s=>s(this.axios,this.basePath))}uploadControllerUploadVideo(o,i){return mt(this.configuration).uploadControllerUploadVideo(o,i).then(s=>s(this.axios,this.basePath))}}function zV(e,o=""){return{api:o||(!location.port||location.port==="80"?"":e),ui:location.origin}}const bw=e=>{const o=zV("http://localhost:3129",e);return FV(BV,{apiUrl:o.api})},HV=ln(Sb)(({theme:e})=>({display:"flex",flexDirection:"column",gap:e.spacing(2),width:"100%"})),GV=ln(Sb)(({theme:e})=>({display:"flex",gap:e.spacing(1),justifyContent:"center",marginBottom:e.spacing(1)})),WV=ln(mw)(({theme:e})=>({fontSize:"0.75rem",textAlign:"center",marginBottom:e.spacing(.25),minHeight:"0.75rem",display:"flex",alignItems:"center",justifyContent:"center",padding:0,lineHeight:1})),YV=ln(jA,{shouldForwardProp:e=>e!=="verified"})(({theme:e,verified:o})=>({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"}},...o&&{"& .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`}}}})),qV=ln(Sb)(({theme:e})=>({display:"flex",gap:e.spacing(2),justifyContent:"center",flexWrap:"wrap"})),QV=({formComponent:e,formidavimHost:o})=>{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}=qr(),R=s?b(s):void 0,k=v&&v.length===p?v:typeof R=="string"&&R.length===p?R:"",[M,P]=Xe.useState(k?k.split(""):new Array(p).fill("")),[U,G]=Xe.useState(!!(k&&k.length===p)),[Y,A]=Xe.useState(!1),[_,N]=Xe.useState(null),[z,X]=Xe.useState(null),[fe,Ce]=Xe.useState(!1),[V,ve]=Xe.useState(0),[we,ue]=Xe.useState(0),[Se,Ee]=Xe.useState(0),[ge,De]=Xe.useState(!1),ke=Xe.useRef([]),ce=b("_phone"),oe=b("email"),Te=bw(o),B=Z=>{const re=Z.replace(/\D/g,"");return re.length===10?`+1${re}`:Z},W=Xe.useCallback(async(Z,re)=>{if(!(re==="sms"&&V>0)&&!(re==="call"&&we>0)&&!(re==="email"&&Se>0))try{const K=re==="email"?Z:B(Z),be=await Te.otpControllerSendOtp({recipient:K,channel:re}).catch(()=>null);be&&(be.status===200||be.status===201)?(Ce(!0),re==="sms"?ve(30):re==="call"?ue(30):re==="email"&&Ee(30),N(null)):N("Failed to send OTP. Please try again.")}catch{N("Failed to send OTP. Please try again.")}},[V,we,Se]),Oe=Xe.useCallback(async(Z,re,K=!1)=>{try{const be=K?Z:B(Z),ee=await Te.otpControllerVerifyOtp({recipient:be,otp:re}).catch(()=>null);if(!ee)return!1;const Ne=ee.data;return(Ne==null?void 0:Ne.status)==="approved"||(Ne==null?void 0:Ne.verified)===!0}catch{return!1}},[]);Xe.useCallback(async()=>{const Z=M.join(""),re=oe||ce,K=!!oe;if(!(Z.length!==p||!re||ge)){De(!0),A(!0),N(null),X(null);try{await Oe(re,Z,K)&&s?(G(!0),S(s,Z),T(s,null),w(!1),X("Verification successful!"),ve(0),ue(0),Ee(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."),De(!1),d&&w(!0))}catch(be){console.error("OTP verification error:",be),N("Verification failed. Please try again."),G(!1),s&&T(s,"Verification failed"),De(!1)}finally{A(!1)}}},[M,p,ce,oe,Oe,s,S,T,ge]);const He=Xe.useCallback((Z,re)=>{var be;if(U||re.length>1)return;const K=[...M];if(K[Z]=re,P(K),G(!1),De(!1),N(null),X(null),re&&Z<p-1&&((be=ke.current[Z+1])==null||be.focus()),K.join("").length===p){const ee=K.join(""),Ne=oe||ce,ye=!!oe;ee.length===p&&Ne&&!ge&&(De(!0),A(!0),N(null),X(null),Oe(Ne,ee,ye).then(Fe=>{Fe&&s?(G(!0),S(s,ee),T(s,null),w(!1),X("Verification successful!"),ve(0),ue(0),Ee(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."),De(!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"),De(!1),d&&w(!0)}).finally(()=>{A(!1)}))}},[M,p,ce,s,S,T,ge,Oe,U]),Je=(Z,re)=>{var K;re.key==="Backspace"&&!M[Z]&&Z>0&&((K=ke.current[Z-1])==null||K.focus())},We=Z=>{var be;if(U)return;Z.preventDefault();const K=Z.clipboardData.getData("text/plain").replace(/\D/g,"").slice(0,p);if(K.length===p){const ee=K.split("");P(ee),G(!1),De(!1),N(null),X(null);const Ne=ee.join(""),ye=oe||ce,Fe=!!oe;Ne.length===p&&ye&&!ge&&(De(!0),A(!0),N(null),X(null),Oe(ye,Ne,Fe).then(at=>{at&&s?(G(!0),S(s,Ne),T(s,null),w(!1),X("Verification successful!"),ve(0),ue(0),Ee(0)):(N("Invalid verification code. Please try again."),G(!1),s&&T(s,"Invalid verification code"),De(!1),d&&w(!0))}).catch(at=>{console.error("OTP verification error:",at),N("Verification failed. Please try again."),G(!1),s&&T(s,"Verification failed"),De(!1),d&&w(!0)}).finally(()=>{A(!1)})),(be=ke.current[p-1])==null||be.focus()}};return Xe.useEffect(()=>{if(V>0){const Z=setTimeout(()=>ve(re=>re-1),1e3);return()=>clearTimeout(Z)}},[V]),Xe.useEffect(()=>{if(we>0){const Z=setTimeout(()=>ue(re=>re-1),1e3);return()=>clearTimeout(Z)}},[we]),Xe.useEffect(()=>{if(Se>0){const Z=setTimeout(()=>Ee(re=>re-1),1e3);return()=>clearTimeout(Z)}},[Se]),Xe.useEffect(()=>{const Z=!!(v&&v.length===p||typeof R=="string"&&R.length===p),re=oe||ce,K=!!oe,be=K?"email":"sms";re&&!fe&&!U&&!Z&&(async()=>{if(!(K&&Se>0)&&!(!K&&V>0))try{const Ne=K?re:B(re),ye=await Te.otpControllerSendOtp({recipient:Ne,channel:be}).catch(()=>null);ye&&(ye.status===200||ye.status===201)?(Ce(!0),K?Ee(30):ve(30),N(null)):N("Failed to send OTP. Please try again.")}catch{N("Failed to send OTP. Please try again.")}})()},[ce,oe,fe,U,V,Se,v,p,R]),Xe.useEffect(()=>{w(d?!U:!1)},[U,d,w]),Xe.useEffect(()=>{const Z=v&&v.length===p?v:typeof R=="string"&&R.length===p?R:"";Z&&Z.length===p&&(P(Z.split("")),G(!0))},[v,p,R]),Xe.useEffect(()=>{ke.current[0]&&!U&&ke.current[0].focus()},[U]),M.join("").length,L.jsxs(HV,{children:[L.jsx(mw,{variant:"h6",gutterBottom:!0,children:c}),L.jsx(GV,{children:M.map((Z,re)=>L.jsx(YV,{inputRef:K=>ke.current[re]=K,value:Z,onChange:K=>He(re,K.target.value),onKeyDown:K=>Je(re,K),onPaste:We,inputProps:{maxLength:1,pattern:"[0-9]*",inputMode:"numeric"},variant:"outlined",disabled:Y||U,verified:U},re))}),L.jsxs(WV,{variant:"body2",color:_?"error":z?"success":"textSecondary",children:[_||z||" "," "]}),L.jsxs(qV,{children:[L.jsx("button",{type:"button",onClick:()=>W(ce,"sms"),disabled:!ce||V>0||U,style:{background:"none",border:"none",color:V>0||U?"#999":"#000",textDecoration:"underline",cursor:V>0||U?"not-allowed":"pointer",fontSize:"0.875rem",padding:"0",fontFamily:"inherit"},onMouseEnter:Z=>{V===0&&!U&&(Z.currentTarget.style.textDecoration="none")},onMouseLeave:Z=>{V===0&&!U&&(Z.currentTarget.style.textDecoration="underline")},children:V>0?`Resend SMS in ${V}s`:"Resend SMS code"}),L.jsx("button",{type:"button",onClick:()=>W(ce,"call"),disabled:!ce||we>0||U,style:{background:"none",border:"none",color:we>0||U?"#999":"#000",textDecoration:"underline",cursor:we>0||U?"not-allowed":"pointer",fontSize:"0.875rem",padding:"0",fontFamily:"inherit"},onMouseEnter:Z=>{we===0&&!U&&(Z.currentTarget.style.textDecoration="none")},onMouseLeave:Z=>{we===0&&!U&&(Z.currentTarget.style.textDecoration="underline")},children:we>0?`Wait ${we}s before requesting another code`:"Receive code by voice call instead"}),oe&&L.jsx("button",{type:"button",onClick:()=>W(oe,"email"),disabled:!oe||Se>0||U,style:{background:"none",border:"none",color:Se>0||U?"#999":"#000",textDecoration:"underline",cursor:Se>0||U?"not-allowed":"pointer",fontSize:"0.875rem",padding:"0",fontFamily:"inherit"},onMouseEnter:Z=>{Se===0&&!U&&(Z.currentTarget.style.textDecoration="none")},onMouseLeave:Z=>{Se===0&&!U&&(Z.currentTarget.style.textDecoration="underline")},children:Se>0?`Resend email in ${Se}s`:"Send code by email instead"})]})]})},XV=me.div`
|
|
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([av,y.func]),disableScrollLock:y.bool,elevation:fA,marginThreshold:y.number,onClose:y.func,open:y.bool.isRequired,PaperProps:y.shape({component:lA}),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 lV(e){return Xr("MuiMenu",e)}ao("MuiMenu",["root","paper","list"]);const sV={vertical:"top",horizontal:"right"},uV={vertical:"top",horizontal:"left"},cV=e=>{const{classes:o}=e;return io({root:["root"],paper:["paper"],list:["list"]},lV,o)},fV=ln(NA,{shouldForwardProp:e=>ts(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),dV=ln(PA,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),pV=ln(kA,{name:"MuiMenu",slot:"List"})({outline:0}),DA=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiMenu"}),{autoFocus:c=!0,children:p,className:d,disableAutoFocusItem:v=!1,MenuListProps:b={},onClose:S,open:T,PaperProps:w={},PopoverClasses:R,transitionDuration:k="auto",TransitionProps:{onEntering:M,...P}={},variant:U="selectedMenu",slots:G={},slotProps:W={},...A}=s,_=kI(),N={...s,autoFocus:c,disableAutoFocusItem:v,MenuListProps:b,onEntering:M,PaperProps:w,transitionDuration:k,TransitionProps:P,variant:U},z=cV(N),X=c&&!v&&T,fe=xe.useRef(null),Ce=(se,oe)=>{fe.current&&fe.current.adjustStyleForScrollbar(se,{direction:_?"rtl":"ltr"}),M&&M(se,oe)},V=se=>{se.key==="Tab"&&(se.preventDefault(),S&&S(se,"tabKeyDown"))};let ve=-1;xe.Children.map(p,(se,oe)=>{xe.isValidElement(se)&&(process.env.NODE_ENV!=="production"&&pf.isFragment(se)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
2860
|
+
`)),se.props.disabled||(U==="selectedMenu"&&se.props.selected||ve===-1)&&(ve=oe))});const we={slots:G,slotProps:{list:b,transition:P,paper:w,...W}},ce=J4({elementType:G.root,externalSlotProps:W.root,ownerState:N,className:[z.root,d]}),[Se,Ee]=ha("paper",{className:z.paper,elementType:dV,externalForwardedProps:we,shouldForwardComponentProp:!0,ownerState:N}),[ge,De]=ha("list",{className:yr(z.list,b.className),elementType:pV,shouldForwardComponentProp:!0,externalForwardedProps:we,getSlotProps:se=>({...se,onKeyDown:oe=>{var Te;V(oe),(Te=se.onKeyDown)==null||Te.call(se,oe)}}),ownerState:N}),ke=typeof we.slotProps.transition=="function"?we.slotProps.transition(N):we.slotProps.transition;return L.jsx(fV,{onClose:S,anchorOrigin:{vertical:"bottom",horizontal:_?"right":"left"},transformOrigin:_?sV:uV,slots:{root:G.root,paper:Se,backdrop:G.backdrop,...G.transition&&{transition:G.transition}},slotProps:{root:ce,paper:Ee,backdrop:typeof W.backdrop=="function"?W.backdrop(N):W.backdrop,transition:{...ke,onEntering:(...se)=>{var oe;Ce(...se),(oe=ke==null?void 0:ke.onEntering)==null||oe.call(ke,...se)}}},open:T,ref:i,transitionDuration:k,ownerState:N,...A,classes:R,children:L.jsx(ge,{actions:fe,autoFocus:c&&(ve===-1||v),autoFocusItem:X,variant:U,...De,children:p})})});process.env.NODE_ENV!=="production"&&(DA.propTypes={anchorEl:y.oneOfType([av,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 hV(e){return Xr("MuiNativeSelect",e)}const vw=ao("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),mV=e=>{const{classes:o,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 io(v,hV,o)},MA=ln("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${vw.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:o})=>o.variant!=="filled"&&o.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}}}]})),vV=ln(MA,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:ts,overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.select,o[i.variant],i.error&&o.error,{[`&.${vw.multiple}`]:o.multiple}]}})({}),LA=ln("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${vw.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:o})=>o.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),yV=ln(LA,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.icon,i.variant&&o[`icon${Cr(i.variant)}`],i.open&&o.iconOpen]}})({}),_A=xe.forwardRef(function(o,i){const{className:s,disabled:c,error:p,IconComponent:d,inputRef:v,variant:b="standard",...S}=o,T={...o,disabled:c,variant:b,error:p},w=mV(T);return L.jsxs(xe.Fragment,{children:[L.jsx(vV,{ownerState:T,className:yr(w.select,s),disabled:c,ref:v||i,...S}),o.multiple?null:L.jsx(yV,{as:d,ownerState:T,className:w.icon})]})});process.env.NODE_ENV!=="production"&&(_A.propTypes={children:y.node,classes:y.object,className:y.string,disabled:y.bool,error:y.bool,IconComponent:y.elementType.isRequired,inputRef:Bu,multiple:y.bool,name:y.string,onChange:y.func,value:y.any,variant:y.oneOf(["standard","outlined","filled"])});var j$;const gV=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%"}),bV=ln("legend",{name:"MuiNotchedOutlined",shouldForwardProp:ts})(Yo(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:o})=>!o.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:o})=>o.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:o})=>o.withLabel&&o.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function IA(e){const{children:o,classes:i,className:s,label:c,notched:p,...d}=e,v=c!=null&&c!=="",b={...e,notched:p,withLabel:v};return L.jsx(gV,{"aria-hidden":!0,className:s,ownerState:b,...d,children:L.jsx(bV,{ownerState:b,children:v?L.jsx("span",{children:c}):j$||(j$=L.jsx("span",{className:"notranslate","aria-hidden":!0,children:""}))})})}process.env.NODE_ENV!=="production"&&(IA.propTypes={children:y.node,classes:y.object,className:y.string,label:y.node,notched:y.bool.isRequired,style:y.object});const xV=e=>{const{classes:o}=e,s=io({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},lF,o);return{...o,...s}},SV=ln(gb,{shouldForwardProp:e=>ts(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:vb})(Yo(({theme:e})=>{const o=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)`:o}},[`&.${Ql.focused} .${Ql.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(pv()).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"}}]}})),CV=ln(IA,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(Yo(({theme:e})=>{const o=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)`:o}})),wV=ln(bb,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:yb})(Yo(({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:o})=>o.multiline,style:{padding:0}},{props:({ownerState:o})=>o.startAdornment,style:{paddingLeft:0}},{props:({ownerState:o})=>o.endAdornment,style:{paddingRight:0}}]}))),Eb=xe.forwardRef(function(o,i){const s=Ao({props:o,name:"MuiOutlinedInput"}),{components:c={},fullWidth:p=!1,inputComponent:d="input",label:v,multiline:b=!1,notched:S,slots:T={},slotProps:w={},type:R="text",...k}=s,M=xV(s),P=Tp(),U=Ep({props:s,muiFormControl:P,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),G={...s,color:U.color||"primary",disabled:U.disabled,error:U.error,focused:U.focused,formControl:P,fullWidth:p,hiddenLabel:U.hiddenLabel,multiline:b,size:U.size,type:R},W=T.root??c.Root??SV,A=T.input??c.Input??wV,[_,N]=ha("notchedOutline",{elementType:CV,className:M.notchedOutline,shouldForwardComponentProp:!0,ownerState:G,externalForwardedProps:{slots:T,slotProps:w},additionalProps:{label:v!=null&&v!==""&&U.required?L.jsxs(xe.Fragment,{children:[v," ","*"]}):v}});return L.jsx(xb,{slots:{root:W,input:A},slotProps:w,renderSuffix:z=>L.jsx(_,{...N,notched:typeof S<"u"?S:!!(z.startAdornment||z.filled||z.focused)}),fullWidth:p,inputComponent:d,multiline:b,ref:i,type:R,...k,classes:{...M,notchedOutline:null}})});process.env.NODE_ENV!=="production"&&(Eb.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:Bu,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});Eb.muiName="Input";function FA(e){return Xr("MuiSelect",e)}const zm=ao("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var U$;const EV=ln(MA,{name:"MuiSelect",slot:"Select",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[{[`&.${zm.select}`]:o.select},{[`&.${zm.select}`]:o[i.variant]},{[`&.${zm.error}`]:o.error},{[`&.${zm.multiple}`]:o.multiple}]}})({[`&.${zm.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),TV=ln(LA,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,o)=>{const{ownerState:i}=e;return[o.icon,i.variant&&o[`icon${Cr(i.variant)}`],i.open&&o.iconOpen]}})({}),RV=ln("input",{shouldForwardProp:e=>tA(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function B$(e,o){return typeof o=="object"&&o!==null?e===o:String(e)===String(o)}function OV(e){return e==null||typeof e=="string"&&!e.trim()}const $V=e=>{const{classes:o,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 io(v,FA,o)},VA=xe.forwardRef(function(o,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:k=!1,IconComponent:M,inputRef:P,labelId:U,MenuProps:G={},multiple:W,name:A,onBlur:_,onChange:N,onClose:z,onFocus:X,onOpen:fe,open:Ce,readOnly:V,renderValue:ve,required:we,SelectDisplayProps:ce={},tabIndex:Se,type:Ee,value:ge,variant:De="standard",...ke}=o,[se,oe]=v$({controlled:ge,default:T,name:"Select"}),[Te,B]=v$({controlled:Ce,default:S,name:"Select"}),Y=xe.useRef(null),Oe=xe.useRef(null),[He,Je]=xe.useState(null),{current:We}=xe.useRef(Ce!=null),[Z,re]=xe.useState(),K=_i(i,P),be=xe.useCallback(Ye=>{Oe.current=Ye,Ye&&Je(Ye)},[]),ee=He==null?void 0:He.parentNode;xe.useImperativeHandle(K,()=>({focus:()=>{Oe.current.focus()},node:Y.current,value:se}),[se]),xe.useEffect(()=>{S&&Te&&He&&!We&&(re(d?null:ee.clientWidth),Oe.current.focus())},[He,d]),xe.useEffect(()=>{p&&Oe.current.focus()},[p]),xe.useEffect(()=>{if(!U)return;const Ye=dl(Oe.current).getElementById(U);if(Ye){const j=()=>{getSelection().isCollapsed&&Oe.current.focus()};return Ye.addEventListener("click",j),()=>{Ye.removeEventListener("click",j)}}},[U]);const Ne=(Ye,j)=>{Ye?fe&&fe(j):z&&z(j),We||(re(d?null:ee.clientWidth),B(Ye))},ye=Ye=>{Ye.button===0&&(Ye.preventDefault(),Oe.current.focus(),Ne(!0,Ye))},Fe=Ye=>{Ne(!1,Ye)},at=xe.Children.toArray(v),It=Ye=>{const j=at.find(J=>J.props.value===Ye.target.value);j!==void 0&&(oe(j.props.value),N&&N(Ye,j))},jt=Ye=>j=>{let J;if(j.currentTarget.hasAttribute("tabindex")){if(W){J=Array.isArray(se)?se.slice():[];const ae=se.indexOf(Ye.props.value);ae===-1?J.push(Ye.props.value):J.splice(ae,1)}else J=Ye.props.value;if(Ye.props.onClick&&Ye.props.onClick(j),se!==J&&(oe(J),N)){const ae=j.nativeEvent||j,$=new ae.constructor(ae.type,ae);Object.defineProperty($,"target",{writable:!0,value:{value:J,name:A}}),N($,Ye)}W||Ne(!1,j)}},vt=Ye=>{V||[" ","ArrowUp","ArrowDown","Enter"].includes(Ye.key)&&(Ye.preventDefault(),Ne(!0,Ye))},gt=He!==null&&Te,Ct=Ye=>{!gt&&_&&(Object.defineProperty(Ye,"target",{writable:!0,value:{value:se,name:A}}),_(Ye))};delete ke["aria-invalid"];let lt,sn;const mn=[];let dn=!1,un=!1;(H0({value:se})||R)&&(ve?lt=ve(se):dn=!0);const Tn=at.map(Ye=>{if(!xe.isValidElement(Ye))return null;process.env.NODE_ENV!=="production"&&pf.isFragment(Ye)&&console.error(["MUI: The Select component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
2861
|
+
`));let j;if(W){if(!Array.isArray(se))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));j=se.some(J=>B$(J,Ye.props.value)),j&&dn&&mn.push(Ye.props.children)}else j=B$(se,Ye.props.value),j&&dn&&(sn=Ye.props.children);return j&&(un=!0),xe.cloneElement(Ye,{"aria-selected":j?"true":"false",onClick:jt(Ye),onKeyUp:J=>{J.key===" "&&J.preventDefault(),Ye.props.onKeyUp&&Ye.props.onKeyUp(J)},role:"option",selected:j,value:void 0,"data-value":Ye.props.value})});process.env.NODE_ENV!=="production"&&xe.useEffect(()=>{if(!un&&!W&&se!==""){const Ye=at.map(j=>j.props.value);console.warn([`MUI: You have provided an out-of-range value \`${se}\` for the select ${A?`(name="${A}") `:""}component.`,"Consider providing a value that matches one of the available options or ''.",`The available values are ${Ye.filter(j=>j!=null).map(j=>`\`${j}\``).join(", ")||'""'}.`].join(`
|
|
2862
|
+
`))}},[un,at,W,A,se]),dn&&(W?mn.length===0?lt=null:lt=mn.reduce((Ye,j,J)=>(Ye.push(j),J<mn.length-1&&Ye.push(", "),Ye),[]):lt=sn);let rr=Z;!d&&We&&He&&(rr=ee.clientWidth);let or;typeof Se<"u"?or=Se:or=w?null:0;const it=ce.id||(A?`mui-component-select-${A}`:void 0),rt={...o,variant:De,value:se,open:gt,error:k},Be=$V(rt),cn={...G.PaperProps,...(On=G.slotProps)==null?void 0:On.paper},Rn={...G.MenuListProps,...(Ln=G.slotProps)==null?void 0:Ln.list},Dn=q3();return L.jsxs(xe.Fragment,{children:[L.jsx(EV,{as:"div",ref:be,tabIndex:or,role:"combobox","aria-controls":gt?Dn:void 0,"aria-disabled":w?"true":void 0,"aria-expanded":gt?"true":"false","aria-haspopup":"listbox","aria-label":c,"aria-labelledby":[U,it].filter(Boolean).join(" ")||void 0,"aria-describedby":s,"aria-required":we?"true":void 0,"aria-invalid":k?"true":void 0,onKeyDown:vt,onMouseDown:w||V?null:ye,onBlur:Ct,onFocus:X,...ce,ownerState:rt,className:yr(ce.className,Be.select,b),id:it,children:OV(lt)?U$||(U$=L.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):lt}),L.jsx(RV,{"aria-invalid":k,value:Array.isArray(se)?se.join(","):se,name:A,ref:Y,"aria-hidden":!0,onChange:It,tabIndex:-1,disabled:w,className:Be.nativeInput,autoFocus:p,required:we,...ke,ownerState:rt}),L.jsx(TV,{as:M,className:Be.icon,ownerState:rt}),L.jsx(DA,{id:`menu-${A||""}`,anchorEl:ee,open:gt,onClose:Fe,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...G,slotProps:{...G.slotProps,list:{"aria-labelledby":U,role:"listbox","aria-multiselectable":W?"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"&&(VA.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:Bu,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 AV=e=>{const{classes:o}=e,s=io({root:["root"]},FA,o);return{...o,...s}},yw={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>ts(e)&&e!=="variant"},kV=ln(wb,yw)(""),PV=ln(Eb,yw)(""),NV=ln(Cb,yw)(""),gw=xe.forwardRef(function(o,i){const s=Ao({name:"MuiSelect",props:o}),{autoWidth:c=!1,children:p,classes:d={},className:v,defaultOpen:b=!1,displayEmpty:S=!1,IconComponent:T=uF,id:w,input:R,inputProps:k,label:M,labelId:P,MenuProps:U,multiple:G=!1,native:W=!1,onClose:A,onOpen:_,open:N,renderValue:z,SelectDisplayProps:X,variant:fe="outlined",...Ce}=s,V=W?_A:VA,ve=Tp(),we=Ep({props:s,muiFormControl:ve,states:["variant","error"]}),ce=we.variant||fe,Se={...s,variant:ce,classes:d},Ee=AV(Se),{root:ge,...De}=Ee,ke=R||{standard:L.jsx(kV,{ownerState:Se}),outlined:L.jsx(PV,{label:M,ownerState:Se}),filled:L.jsx(NV,{ownerState:Se})}[ce],se=_i(i,hv(ke));return L.jsx(xe.Fragment,{children:xe.cloneElement(ke,{inputComponent:V,inputProps:{children:p,error:we.error,IconComponent:T,variant:ce,type:void 0,multiple:G,...W?{id:w}:{autoWidth:c,defaultOpen:b,displayEmpty:S,labelId:P,MenuProps:U,onClose:A,onOpen:_,open:N,renderValue:z,SelectDisplayProps:{id:w,...X}},...k,classes:k?ma(De,k.classes):De,...R?R.props.inputProps:{}},...(G&&W||S)&&ce==="outlined"?{notched:!0}:{},ref:se,className:yr(ke.props.className,v,Ee.root),...!R&&{variant:ce},...Ce})})});process.env.NODE_ENV!=="production"&&(gw.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"])});gw.muiName="Select";function DV(e){return Xr("MuiTextField",e)}ao("MuiTextField",["root"]);const MV={standard:wb,filled:Cb,outlined:Eb},LV=e=>{const{classes:o}=e;return io({root:["root"]},DV,o)},_V=ln(wA,{name:"MuiTextField",slot:"Root"})({}),jA=xe.forwardRef(function(o,i){const s=Ao({props:o,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:k=!1,helperText:M,id:P,InputLabelProps:U,inputProps:G,InputProps:W,inputRef:A,label:_,maxRows:N,minRows:z,multiline:X=!1,name:fe,onBlur:Ce,onChange:V,onFocus:ve,placeholder:we,required:ce=!1,rows:Se,select:Ee=!1,SelectProps:ge,slots:De={},slotProps:ke={},type:se,value:oe,variant:Te="outlined",...B}=s,Y={...s,autoFocus:p,color:b,disabled:T,error:w,fullWidth:k,multiline:X,required:ce,select:Ee,variant:Te},Oe=LV(Y);process.env.NODE_ENV!=="production"&&Ee&&!d&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const He=q3(P),Je=M&&He?`${He}-helper-text`:void 0,We=_&&He?`${He}-label`:void 0,Z=MV[Te],re={slots:De,slotProps:{input:W,inputLabel:U,htmlInput:G,formHelperText:R,select:ge,...ke}},K={},be=re.slotProps.inputLabel;Te==="outlined"&&(be&&typeof be.shrink<"u"&&(K.notched=be.shrink),K.label=_),Ee&&((!ge||!ge.native)&&(K.id=void 0),K["aria-describedby"]=void 0);const[ee,Ne]=ha("root",{elementType:_V,shouldForwardComponentProp:!0,externalForwardedProps:{...re,...B},ownerState:Y,className:yr(Oe.root,v),ref:i,additionalProps:{disabled:T,error:w,fullWidth:k,required:ce,color:b,variant:Te}}),[ye,Fe]=ha("input",{elementType:Z,externalForwardedProps:re,additionalProps:K,ownerState:Y}),[at,It]=ha("inputLabel",{elementType:RA,externalForwardedProps:re,ownerState:Y}),[jt,vt]=ha("htmlInput",{elementType:"input",externalForwardedProps:re,ownerState:Y}),[gt,Ct]=ha("formHelperText",{elementType:EA,externalForwardedProps:re,ownerState:Y}),[lt,sn]=ha("select",{elementType:gw,externalForwardedProps:re,ownerState:Y}),mn=L.jsx(ye,{"aria-describedby":Je,autoComplete:c,autoFocus:p,defaultValue:S,fullWidth:k,multiline:X,name:fe,rows:Se,maxRows:N,minRows:z,type:se,value:oe,id:He,inputRef:A,onBlur:Ce,onChange:V,onFocus:ve,placeholder:we,inputProps:vt,slots:{input:De.htmlInput?jt:void 0},...Fe});return L.jsxs(ee,{...Ne,children:[_!=null&&_!==""&&L.jsx(at,{htmlFor:He,id:We,...It,children:_}),Ee?L.jsx(lt,{"aria-describedby":Je,id:He,labelId:We,value:oe,input:mn,...sn,children:d}):mn,M&&L.jsx(gt,{id:Je,...Ct,children:M})]})});process.env.NODE_ENV!=="production"&&(jA.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:Bu,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"])});function IV(e){const{onError:o,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,k])=>w.headers[R]=k),typeof v=="function"&&v(w),typeof S=="function"?S(w):w)),T.interceptors.response.use(w=>(typeof b=="function"&&b(w),w),w=>{var k,M,P,U;const R={config:{}};if(typeof o=="function"&&o((w==null?void 0:w.response)||R),((k=w==null?void 0:w.response)==null?void 0:k.status)===400)typeof c=="function"&&c((w==null?void 0:w.response)||R);else if(((M=w==null?void 0:w.response)==null?void 0:M.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(((U=w==null?void 0:w.response)==null?void 0:U.status)===500)typeof p=="function"&&p((w==null?void 0:w.response)||R);else throw w}),T}function FV(e,o){const{apiUrl:i}=o;return new e({basePath:i},i,IV(o))}const ut="http://localhost".replace(/\/+$/,"");class VV{constructor(o,i=ut,s=st){this.basePath=i,this.axios=s,o&&(this.configuration=o,this.basePath=o.basePath||this.basePath)}}class jV extends Error{constructor(o,i){super(i),this.field=o,this.name="RequiredError"}}const ct="https://example.com",ft=function(e,o,i){if(i==null)throw new jV(o,`Required parameter ${o} was null or undefined when calling ${e}.`)};function BC(e,o,i=""){o!=null&&(typeof o=="object"?Array.isArray(o)?o.forEach(s=>BC(e,s,i)):Object.keys(o).forEach(s=>BC(e,o[s],`${i}${i!==""?".":""}${s}`)):e.has(i)?e.append(i,o):e.set(i,o))}const dt=function(e,...o){const i=new URLSearchParams(e.search);BC(i,o),e.search=i.toString()},vn=function(e,o,i){const s=typeof e!="string";return(s&&i&&i.isJsonMime?i.isJsonMime(o.headers["Content-Type"]):s)?JSON.stringify(e!==void 0?e:{}):e||""},pt=function(e){return e.pathname+e.search+e.hash},ht=function(e,o,i,s){return(c=o,p=i)=>{const d={...e.options,url:((s==null?void 0:s.basePath)||p)+e.url};return c.request(d)}},UV=function(e){return{abTestControllerDelete:async(o,i={})=>{ft("abTestControllerDelete","id",o);const s="/api/ab-test/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},abTestControllerGet:async(o,i={})=>{ft("abTestControllerGet","id",o);const s="/api/ab-test/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},abTestControllerGetBySlug:async(o,i={})=>{ft("abTestControllerGetBySlug","slug",o);const s="/api/ab-test/slug/{slug}".replace("{slug}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},abTestControllerIndex:async(o={})=>{const i="/api/ab-test",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},abTestControllerPatch:async(o,i,s={})=>{ft("abTestControllerPatch","id",o),ft("abTestControllerPatch","abTest",i);const c="/api/ab-test/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("abTestControllerPost","abTest",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},abTestSearchControllerPost:async(o,i,s,c={})=>{ft("abTestSearchControllerPost","abTest",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},componentControllerDelete:async(o,i={})=>{ft("componentControllerDelete","id",o);const s="/api/component/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},componentControllerGet:async(o,i={})=>{ft("componentControllerGet","id",o);const s="/api/component/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},componentControllerIndex:async(o={})=>{const i="/api/component",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},componentControllerPatch:async(o,i,s={})=>{ft("componentControllerPatch","id",o),ft("componentControllerPatch","component",i);const c="/api/component/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("componentControllerPost","component",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},componentSearchControllerPost:async(o,i,s,c={})=>{ft("componentSearchControllerPost","component",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},conditionControllerDelete:async(o,i={})=>{ft("conditionControllerDelete","id",o);const s="/api/condition/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},conditionControllerGet:async(o,i={})=>{ft("conditionControllerGet","id",o);const s="/api/condition/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},conditionControllerIndex:async(o={})=>{const i="/api/condition",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},conditionControllerPatch:async(o,i,s={})=>{ft("conditionControllerPatch","id",o),ft("conditionControllerPatch","condition",i);const c="/api/condition/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("conditionControllerPost","condition",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},conditionSearchControllerPost:async(o,i,s,c={})=>{ft("conditionSearchControllerPost","condition",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},flowControllerCopy:async(o,i={})=>{ft("flowControllerCopy","flowCopyDto",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},flowControllerDelete:async(o,i={})=>{ft("flowControllerDelete","id",o);const s="/api/flow/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},flowControllerGet:async(o,i={})=>{ft("flowControllerGet","id",o);const s="/api/flow/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},flowControllerGetBySlug:async(o,i,s={})=>{ft("flowControllerGetBySlug","slug",o);const c="/api/flow/slug/{slug}".replace("{slug}",encodeURIComponent(String(o))),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),dt(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},flowControllerGetFull:async(o,i={})=>{ft("flowControllerGetFull","id",o);const s="/api/flow/{id}/full".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},flowControllerIndex:async(o={})=>{const i="/api/flow",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},flowControllerPatch:async(o,i,s={})=>{ft("flowControllerPatch","id",o),ft("flowControllerPatch","flow",i);const c="/api/flow/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("flowControllerPost","flow",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},flowFormControllerCopyReplaceForm:async(o,i,s,c={})=>{ft("flowFormControllerCopyReplaceForm","flowId",o),ft("flowFormControllerCopyReplaceForm","formId",i),ft("flowFormControllerCopyReplaceForm","flowFormCopyDto",s);const p="/api/flow-form/{flowId}/{formId}/copy-replace-form".replace("{flowId}",encodeURIComponent(String(o))).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",dt(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(o,i,s={})=>{ft("flowFormControllerDelete","flowId",o),ft("flowFormControllerDelete","formId",i);const c="/api/flow-form/{flowId}/{formId}".replace("{flowId}",encodeURIComponent(String(o))).replace("{formId}",encodeURIComponent(String(i))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"DELETE",...d,...s},b={};dt(p,{});let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},flowFormControllerGet:async(o,i,s={})=>{ft("flowFormControllerGet","flowId",o),ft("flowFormControllerGet","formId",i);const c="/api/flow-form/{flowId}/{formId}".replace("{flowId}",encodeURIComponent(String(o))).replace("{formId}",encodeURIComponent(String(i))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"GET",...d,...s},b={};dt(p,{});let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},flowFormControllerIndex:async(o={})=>{const i="/api/flow-form",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},flowFormControllerPatch:async(o,i,s,c={})=>{ft("flowFormControllerPatch","flowId",o),ft("flowFormControllerPatch","formId",i),ft("flowFormControllerPatch","flowForm",s);const p="/api/flow-form/{flowId}/{formId}".replace("{flowId}",encodeURIComponent(String(o))).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",dt(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(o,i={})=>{ft("flowFormControllerPost","flowForm",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},flowFormSearchControllerPost:async(o,i,s,c={})=>{ft("flowFormSearchControllerPost","flowForm",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},flowSearchControllerPost:async(o,i,s,c={})=>{ft("flowSearchControllerPost","flow",o);const p="/api/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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},formComponentControllerDelete:async(o,i={})=>{ft("formComponentControllerDelete","id",o);const s="/api/form-component/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formComponentControllerGetById:async(o,i={})=>{ft("formComponentControllerGetById","id",o);const s="/api/form-component/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formComponentControllerIndex:async(o={})=>{const i="/api/form-component",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},formComponentControllerPatch:async(o,i,s={})=>{ft("formComponentControllerPatch","id",o),ft("formComponentControllerPatch","formComponent",i);const c="/api/form-component/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("formComponentControllerPost","formComponent",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},formComponentSearchControllerPost:async(o,i,s,c={})=>{ft("formComponentSearchControllerPost","formComponent",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},formControllerCopy:async(o,i={})=>{ft("formControllerCopy","formCopyDto",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},formControllerDelete:async(o,i={})=>{ft("formControllerDelete","id",o);const s="/api/form/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formControllerGet:async(o,i={})=>{ft("formControllerGet","id",o);const s="/api/form/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},formControllerIndex:async(o={})=>{const i="/api/form",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},formControllerPatch:async(o,i,s={})=>{ft("formControllerPatch","id",o),ft("formControllerPatch","form",i);const c="/api/form/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("formControllerPost","form",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},formSearchControllerPost:async(o,i,s,c={})=>{ft("formSearchControllerPost","form",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},healthControllerGet:async(o={})=>{const i="/api/health",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},oidcConfigControllerGetClient:async(o,i={})=>{ft("oidcConfigControllerGetClient","redirectUri",o);const s="/api/oidc-config/client/{redirectUri}".replace("{redirectUri}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},oidcConfigControllerGetEntra:async(o={})=>{const i="/api/oidc-config/entra",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},oidcCookieControllerPost:async(o,i,s={})=>{ft("oidcCookieControllerPost","origin",o),ft("oidcCookieControllerPost","tokensDto",i);const c="/api/oidc-cookie/{origin}".replace("{origin}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"POST",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("otpControllerSendOtp","body",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},otpControllerVerifyOtp:async(o,i={})=>{ft("otpControllerVerifyOtp","body",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},patientControllerDelete:async(o,i={})=>{ft("patientControllerDelete","id",o);const s="/api/patient/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},patientControllerGet:async(o,i={})=>{ft("patientControllerGet","id",o);const s="/api/patient/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},patientControllerIndex:async(o={})=>{const i="/api/patient",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},patientControllerPatch:async(o,i,s={})=>{ft("patientControllerPatch","id",o),ft("patientControllerPatch","patient",i);const c="/api/patient/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("patientControllerPost","patient",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},patientSearchControllerPost:async(o,i,s,c={})=>{ft("patientSearchControllerPost","patient",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},pipelineControllerCopy:async(o,i={})=>{ft("pipelineControllerCopy","pipelineCopyDto",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},pipelineControllerDelete:async(o,i={})=>{ft("pipelineControllerDelete","id",o);const s="/api/pipeline/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineControllerGet:async(o,i={})=>{ft("pipelineControllerGet","id",o);const s="/api/pipeline/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineControllerGetBySlug:async(o,i,s={})=>{ft("pipelineControllerGetBySlug","slug",o);const c="/api/pipeline/slug/{slug}".replace("{slug}",encodeURIComponent(String(o))),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),dt(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},pipelineControllerIndex:async(o={})=>{const i="/api/pipeline",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},pipelineControllerPatch:async(o,i,s={})=>{ft("pipelineControllerPatch","id",o),ft("pipelineControllerPatch","pipeline",i);const c="/api/pipeline/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("pipelineControllerPost","pipeline",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},pipelineFlowControllerDelete:async(o,i={})=>{ft("pipelineFlowControllerDelete","id",o);const s="/api/pipeline-flow/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineFlowControllerGetById:async(o,i={})=>{ft("pipelineFlowControllerGetById","id",o);const s="/api/pipeline-flow/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},pipelineFlowControllerIndex:async(o={})=>{const i="/api/pipeline-flow",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},pipelineFlowControllerPatch:async(o,i,s={})=>{ft("pipelineFlowControllerPatch","id",o),ft("pipelineFlowControllerPatch","pipelineFlow",i);const c="/api/pipeline-flow/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("pipelineFlowControllerPost","pipelineFlow",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},pipelineFlowSearchControllerPost:async(o,i,s,c={})=>{ft("pipelineFlowSearchControllerPost","pipelineFlow",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},pipelineSearchControllerPost:async(o,i,s,c={})=>{ft("pipelineSearchControllerPost","pipeline",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},previewFlowControllerGetBySlug:async(o,i,s={})=>{ft("previewFlowControllerGetBySlug","slug",o);const c="/api/preview-flow/slug/{slug}".replace("{slug}",encodeURIComponent(String(o))),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),dt(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},previewPipelineControllerGetBySlug:async(o,i,s={})=>{ft("previewPipelineControllerGetBySlug","slug",o);const c="/api/preview-pipeline/slug/{slug}".replace("{slug}",encodeURIComponent(String(o))),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),dt(p,S);let T=d&&d.headers?d.headers:{};return v.headers={...b,...T,...s.headers},{url:pt(p),options:v}},propertyControllerDelete:async(o,i={})=>{ft("propertyControllerDelete","id",o);const s="/api/property/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"DELETE",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},propertyControllerGet:async(o,i={})=>{ft("propertyControllerGet","id",o);const s="/api/property/{id}".replace("{id}",encodeURIComponent(String(o))),c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"GET",...p,...i},v={};dt(c,{});let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},{url:pt(c),options:d}},propertyControllerIndex:async(o={})=>{const i="/api/property",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},propertyControllerPatch:async(o,i,s={})=>{ft("propertyControllerPatch","id",o),ft("propertyControllerPatch","property",i);const c="/api/property/{id}".replace("{id}",encodeURIComponent(String(o))),p=new URL(c,ct);let d;e&&(d=e.baseOptions);const v={method:"PATCH",...d,...s},b={},S={};b["Content-Type"]="application/json",dt(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(o,i={})=>{ft("propertyControllerPost","property",o);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",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},propertySearchControllerPost:async(o,i,s,c={})=>{ft("propertySearchControllerPost","property",o);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",dt(d,T);let w=v&&v.headers?v.headers:{};return b.headers={...S,...w,...c.headers},b.data=vn(o,b,e),{url:pt(d),options:b}},tokenValidationControllerPost:async(o,i={})=>{ft("tokenValidationControllerPost","valueDto",o);const s="/api/token-validation",c=new URL(s,ct);let p;e&&(p=e.baseOptions);const d={method:"POST",...p,...i},v={},b={};v["Content-Type"]="application/json",dt(c,b);let S=p&&p.headers?p.headers:{};return d.headers={...v,...S,...i.headers},d.data=vn(o,d,e),{url:pt(c),options:d}},uploadControllerListImages:async(o={})=>{const i="/api/upload/images",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},uploadControllerListVideos:async(o={})=>{const i="/api/upload/videos",s=new URL(i,ct);let c;e&&(c=e.baseOptions);const p={method:"GET",...c,...o},d={};dt(s,{});let b=c&&c.headers?c.headers:{};return p.headers={...d,...b,...o.headers},{url:pt(s),options:p}},uploadControllerUploadImage:async(o,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);o!==void 0&&S.append("file",o),v["Content-Type"]="multipart/form-data",dt(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(o,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);o!==void 0&&S.append("file",o),v["Content-Type"]="multipart/form-data",dt(c,b);let T=p&&p.headers?p.headers:{};return d.headers={...v,...T,...i.headers},d.data=S,{url:pt(c),options:d}}}},mt=function(e){const o=UV(e);return{async abTestControllerDelete(i,s){const c=await o.abTestControllerDelete(i,s);return ht(c,st,ut,e)},async abTestControllerGet(i,s){const c=await o.abTestControllerGet(i,s);return ht(c,st,ut,e)},async abTestControllerGetBySlug(i,s){const c=await o.abTestControllerGetBySlug(i,s);return ht(c,st,ut,e)},async abTestControllerIndex(i){const s=await o.abTestControllerIndex(i);return ht(s,st,ut,e)},async abTestControllerPatch(i,s,c){const p=await o.abTestControllerPatch(i,s,c);return ht(p,st,ut,e)},async abTestControllerPost(i,s){const c=await o.abTestControllerPost(i,s);return ht(c,st,ut,e)},async abTestSearchControllerPost(i,s,c,p){const d=await o.abTestSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async componentControllerDelete(i,s){const c=await o.componentControllerDelete(i,s);return ht(c,st,ut,e)},async componentControllerGet(i,s){const c=await o.componentControllerGet(i,s);return ht(c,st,ut,e)},async componentControllerIndex(i){const s=await o.componentControllerIndex(i);return ht(s,st,ut,e)},async componentControllerPatch(i,s,c){const p=await o.componentControllerPatch(i,s,c);return ht(p,st,ut,e)},async componentControllerPost(i,s){const c=await o.componentControllerPost(i,s);return ht(c,st,ut,e)},async componentSearchControllerPost(i,s,c,p){const d=await o.componentSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async conditionControllerDelete(i,s){const c=await o.conditionControllerDelete(i,s);return ht(c,st,ut,e)},async conditionControllerGet(i,s){const c=await o.conditionControllerGet(i,s);return ht(c,st,ut,e)},async conditionControllerIndex(i){const s=await o.conditionControllerIndex(i);return ht(s,st,ut,e)},async conditionControllerPatch(i,s,c){const p=await o.conditionControllerPatch(i,s,c);return ht(p,st,ut,e)},async conditionControllerPost(i,s){const c=await o.conditionControllerPost(i,s);return ht(c,st,ut,e)},async conditionSearchControllerPost(i,s,c,p){const d=await o.conditionSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async flowControllerCopy(i,s){const c=await o.flowControllerCopy(i,s);return ht(c,st,ut,e)},async flowControllerDelete(i,s){const c=await o.flowControllerDelete(i,s);return ht(c,st,ut,e)},async flowControllerGet(i,s){const c=await o.flowControllerGet(i,s);return ht(c,st,ut,e)},async flowControllerGetBySlug(i,s,c){const p=await o.flowControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async flowControllerGetFull(i,s){const c=await o.flowControllerGetFull(i,s);return ht(c,st,ut,e)},async flowControllerIndex(i){const s=await o.flowControllerIndex(i);return ht(s,st,ut,e)},async flowControllerPatch(i,s,c){const p=await o.flowControllerPatch(i,s,c);return ht(p,st,ut,e)},async flowControllerPost(i,s){const c=await o.flowControllerPost(i,s);return ht(c,st,ut,e)},async flowFormControllerCopyReplaceForm(i,s,c,p){const d=await o.flowFormControllerCopyReplaceForm(i,s,c,p);return ht(d,st,ut,e)},async flowFormControllerDelete(i,s,c){const p=await o.flowFormControllerDelete(i,s,c);return ht(p,st,ut,e)},async flowFormControllerGet(i,s,c){const p=await o.flowFormControllerGet(i,s,c);return ht(p,st,ut,e)},async flowFormControllerIndex(i){const s=await o.flowFormControllerIndex(i);return ht(s,st,ut,e)},async flowFormControllerPatch(i,s,c,p){const d=await o.flowFormControllerPatch(i,s,c,p);return ht(d,st,ut,e)},async flowFormControllerPost(i,s){const c=await o.flowFormControllerPost(i,s);return ht(c,st,ut,e)},async flowFormSearchControllerPost(i,s,c,p){const d=await o.flowFormSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async flowSearchControllerPost(i,s,c,p){const d=await o.flowSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async formComponentControllerDelete(i,s){const c=await o.formComponentControllerDelete(i,s);return ht(c,st,ut,e)},async formComponentControllerGetById(i,s){const c=await o.formComponentControllerGetById(i,s);return ht(c,st,ut,e)},async formComponentControllerIndex(i){const s=await o.formComponentControllerIndex(i);return ht(s,st,ut,e)},async formComponentControllerPatch(i,s,c){const p=await o.formComponentControllerPatch(i,s,c);return ht(p,st,ut,e)},async formComponentControllerPost(i,s){const c=await o.formComponentControllerPost(i,s);return ht(c,st,ut,e)},async formComponentSearchControllerPost(i,s,c,p){const d=await o.formComponentSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async formControllerCopy(i,s){const c=await o.formControllerCopy(i,s);return ht(c,st,ut,e)},async formControllerDelete(i,s){const c=await o.formControllerDelete(i,s);return ht(c,st,ut,e)},async formControllerGet(i,s){const c=await o.formControllerGet(i,s);return ht(c,st,ut,e)},async formControllerIndex(i){const s=await o.formControllerIndex(i);return ht(s,st,ut,e)},async formControllerPatch(i,s,c){const p=await o.formControllerPatch(i,s,c);return ht(p,st,ut,e)},async formControllerPost(i,s){const c=await o.formControllerPost(i,s);return ht(c,st,ut,e)},async formSearchControllerPost(i,s,c,p){const d=await o.formSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async healthControllerGet(i){const s=await o.healthControllerGet(i);return ht(s,st,ut,e)},async oidcConfigControllerGetClient(i,s){const c=await o.oidcConfigControllerGetClient(i,s);return ht(c,st,ut,e)},async oidcConfigControllerGetEntra(i){const s=await o.oidcConfigControllerGetEntra(i);return ht(s,st,ut,e)},async oidcCookieControllerPost(i,s,c){const p=await o.oidcCookieControllerPost(i,s,c);return ht(p,st,ut,e)},async otpControllerSendOtp(i,s){const c=await o.otpControllerSendOtp(i,s);return ht(c,st,ut,e)},async otpControllerVerifyOtp(i,s){const c=await o.otpControllerVerifyOtp(i,s);return ht(c,st,ut,e)},async patientControllerDelete(i,s){const c=await o.patientControllerDelete(i,s);return ht(c,st,ut,e)},async patientControllerGet(i,s){const c=await o.patientControllerGet(i,s);return ht(c,st,ut,e)},async patientControllerIndex(i){const s=await o.patientControllerIndex(i);return ht(s,st,ut,e)},async patientControllerPatch(i,s,c){const p=await o.patientControllerPatch(i,s,c);return ht(p,st,ut,e)},async patientControllerPost(i,s){const c=await o.patientControllerPost(i,s);return ht(c,st,ut,e)},async patientSearchControllerPost(i,s,c,p){const d=await o.patientSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async pipelineControllerCopy(i,s){const c=await o.pipelineControllerCopy(i,s);return ht(c,st,ut,e)},async pipelineControllerDelete(i,s){const c=await o.pipelineControllerDelete(i,s);return ht(c,st,ut,e)},async pipelineControllerGet(i,s){const c=await o.pipelineControllerGet(i,s);return ht(c,st,ut,e)},async pipelineControllerGetBySlug(i,s,c){const p=await o.pipelineControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async pipelineControllerIndex(i){const s=await o.pipelineControllerIndex(i);return ht(s,st,ut,e)},async pipelineControllerPatch(i,s,c){const p=await o.pipelineControllerPatch(i,s,c);return ht(p,st,ut,e)},async pipelineControllerPost(i,s){const c=await o.pipelineControllerPost(i,s);return ht(c,st,ut,e)},async pipelineFlowControllerDelete(i,s){const c=await o.pipelineFlowControllerDelete(i,s);return ht(c,st,ut,e)},async pipelineFlowControllerGetById(i,s){const c=await o.pipelineFlowControllerGetById(i,s);return ht(c,st,ut,e)},async pipelineFlowControllerIndex(i){const s=await o.pipelineFlowControllerIndex(i);return ht(s,st,ut,e)},async pipelineFlowControllerPatch(i,s,c){const p=await o.pipelineFlowControllerPatch(i,s,c);return ht(p,st,ut,e)},async pipelineFlowControllerPost(i,s){const c=await o.pipelineFlowControllerPost(i,s);return ht(c,st,ut,e)},async pipelineFlowSearchControllerPost(i,s,c,p){const d=await o.pipelineFlowSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async pipelineSearchControllerPost(i,s,c,p){const d=await o.pipelineSearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async previewFlowControllerGetBySlug(i,s,c){const p=await o.previewFlowControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async previewPipelineControllerGetBySlug(i,s,c){const p=await o.previewPipelineControllerGetBySlug(i,s,c);return ht(p,st,ut,e)},async propertyControllerDelete(i,s){const c=await o.propertyControllerDelete(i,s);return ht(c,st,ut,e)},async propertyControllerGet(i,s){const c=await o.propertyControllerGet(i,s);return ht(c,st,ut,e)},async propertyControllerIndex(i){const s=await o.propertyControllerIndex(i);return ht(s,st,ut,e)},async propertyControllerPatch(i,s,c){const p=await o.propertyControllerPatch(i,s,c);return ht(p,st,ut,e)},async propertyControllerPost(i,s){const c=await o.propertyControllerPost(i,s);return ht(c,st,ut,e)},async propertySearchControllerPost(i,s,c,p){const d=await o.propertySearchControllerPost(i,s,c,p);return ht(d,st,ut,e)},async tokenValidationControllerPost(i,s){const c=await o.tokenValidationControllerPost(i,s);return ht(c,st,ut,e)},async uploadControllerListImages(i){const s=await o.uploadControllerListImages(i);return ht(s,st,ut,e)},async uploadControllerListVideos(i){const s=await o.uploadControllerListVideos(i);return ht(s,st,ut,e)},async uploadControllerUploadImage(i,s){const c=await o.uploadControllerUploadImage(i,s);return ht(c,st,ut,e)},async uploadControllerUploadVideo(i,s){const c=await o.uploadControllerUploadVideo(i,s);return ht(c,st,ut,e)}}};class BV extends VV{abTestControllerDelete(o,i){return mt(this.configuration).abTestControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}abTestControllerGet(o,i){return mt(this.configuration).abTestControllerGet(o,i).then(s=>s(this.axios,this.basePath))}abTestControllerGetBySlug(o,i){return mt(this.configuration).abTestControllerGetBySlug(o,i).then(s=>s(this.axios,this.basePath))}abTestControllerIndex(o){return mt(this.configuration).abTestControllerIndex(o).then(i=>i(this.axios,this.basePath))}abTestControllerPatch(o,i,s){return mt(this.configuration).abTestControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}abTestControllerPost(o,i){return mt(this.configuration).abTestControllerPost(o,i).then(s=>s(this.axios,this.basePath))}abTestSearchControllerPost(o,i,s,c){return mt(this.configuration).abTestSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}componentControllerDelete(o,i){return mt(this.configuration).componentControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}componentControllerGet(o,i){return mt(this.configuration).componentControllerGet(o,i).then(s=>s(this.axios,this.basePath))}componentControllerIndex(o){return mt(this.configuration).componentControllerIndex(o).then(i=>i(this.axios,this.basePath))}componentControllerPatch(o,i,s){return mt(this.configuration).componentControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}componentControllerPost(o,i){return mt(this.configuration).componentControllerPost(o,i).then(s=>s(this.axios,this.basePath))}componentSearchControllerPost(o,i,s,c){return mt(this.configuration).componentSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}conditionControllerDelete(o,i){return mt(this.configuration).conditionControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}conditionControllerGet(o,i){return mt(this.configuration).conditionControllerGet(o,i).then(s=>s(this.axios,this.basePath))}conditionControllerIndex(o){return mt(this.configuration).conditionControllerIndex(o).then(i=>i(this.axios,this.basePath))}conditionControllerPatch(o,i,s){return mt(this.configuration).conditionControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}conditionControllerPost(o,i){return mt(this.configuration).conditionControllerPost(o,i).then(s=>s(this.axios,this.basePath))}conditionSearchControllerPost(o,i,s,c){return mt(this.configuration).conditionSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}flowControllerCopy(o,i){return mt(this.configuration).flowControllerCopy(o,i).then(s=>s(this.axios,this.basePath))}flowControllerDelete(o,i){return mt(this.configuration).flowControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}flowControllerGet(o,i){return mt(this.configuration).flowControllerGet(o,i).then(s=>s(this.axios,this.basePath))}flowControllerGetBySlug(o,i,s){return mt(this.configuration).flowControllerGetBySlug(o,i,s).then(c=>c(this.axios,this.basePath))}flowControllerGetFull(o,i){return mt(this.configuration).flowControllerGetFull(o,i).then(s=>s(this.axios,this.basePath))}flowControllerIndex(o){return mt(this.configuration).flowControllerIndex(o).then(i=>i(this.axios,this.basePath))}flowControllerPatch(o,i,s){return mt(this.configuration).flowControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}flowControllerPost(o,i){return mt(this.configuration).flowControllerPost(o,i).then(s=>s(this.axios,this.basePath))}flowFormControllerCopyReplaceForm(o,i,s,c){return mt(this.configuration).flowFormControllerCopyReplaceForm(o,i,s,c).then(p=>p(this.axios,this.basePath))}flowFormControllerDelete(o,i,s){return mt(this.configuration).flowFormControllerDelete(o,i,s).then(c=>c(this.axios,this.basePath))}flowFormControllerGet(o,i,s){return mt(this.configuration).flowFormControllerGet(o,i,s).then(c=>c(this.axios,this.basePath))}flowFormControllerIndex(o){return mt(this.configuration).flowFormControllerIndex(o).then(i=>i(this.axios,this.basePath))}flowFormControllerPatch(o,i,s,c){return mt(this.configuration).flowFormControllerPatch(o,i,s,c).then(p=>p(this.axios,this.basePath))}flowFormControllerPost(o,i){return mt(this.configuration).flowFormControllerPost(o,i).then(s=>s(this.axios,this.basePath))}flowFormSearchControllerPost(o,i,s,c){return mt(this.configuration).flowFormSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}flowSearchControllerPost(o,i,s,c){return mt(this.configuration).flowSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}formComponentControllerDelete(o,i){return mt(this.configuration).formComponentControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}formComponentControllerGetById(o,i){return mt(this.configuration).formComponentControllerGetById(o,i).then(s=>s(this.axios,this.basePath))}formComponentControllerIndex(o){return mt(this.configuration).formComponentControllerIndex(o).then(i=>i(this.axios,this.basePath))}formComponentControllerPatch(o,i,s){return mt(this.configuration).formComponentControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}formComponentControllerPost(o,i){return mt(this.configuration).formComponentControllerPost(o,i).then(s=>s(this.axios,this.basePath))}formComponentSearchControllerPost(o,i,s,c){return mt(this.configuration).formComponentSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}formControllerCopy(o,i){return mt(this.configuration).formControllerCopy(o,i).then(s=>s(this.axios,this.basePath))}formControllerDelete(o,i){return mt(this.configuration).formControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}formControllerGet(o,i){return mt(this.configuration).formControllerGet(o,i).then(s=>s(this.axios,this.basePath))}formControllerIndex(o){return mt(this.configuration).formControllerIndex(o).then(i=>i(this.axios,this.basePath))}formControllerPatch(o,i,s){return mt(this.configuration).formControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}formControllerPost(o,i){return mt(this.configuration).formControllerPost(o,i).then(s=>s(this.axios,this.basePath))}formSearchControllerPost(o,i,s,c){return mt(this.configuration).formSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}healthControllerGet(o){return mt(this.configuration).healthControllerGet(o).then(i=>i(this.axios,this.basePath))}oidcConfigControllerGetClient(o,i){return mt(this.configuration).oidcConfigControllerGetClient(o,i).then(s=>s(this.axios,this.basePath))}oidcConfigControllerGetEntra(o){return mt(this.configuration).oidcConfigControllerGetEntra(o).then(i=>i(this.axios,this.basePath))}oidcCookieControllerPost(o,i,s){return mt(this.configuration).oidcCookieControllerPost(o,i,s).then(c=>c(this.axios,this.basePath))}otpControllerSendOtp(o,i){return mt(this.configuration).otpControllerSendOtp(o,i).then(s=>s(this.axios,this.basePath))}otpControllerVerifyOtp(o,i){return mt(this.configuration).otpControllerVerifyOtp(o,i).then(s=>s(this.axios,this.basePath))}patientControllerDelete(o,i){return mt(this.configuration).patientControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}patientControllerGet(o,i){return mt(this.configuration).patientControllerGet(o,i).then(s=>s(this.axios,this.basePath))}patientControllerIndex(o){return mt(this.configuration).patientControllerIndex(o).then(i=>i(this.axios,this.basePath))}patientControllerPatch(o,i,s){return mt(this.configuration).patientControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}patientControllerPost(o,i){return mt(this.configuration).patientControllerPost(o,i).then(s=>s(this.axios,this.basePath))}patientSearchControllerPost(o,i,s,c){return mt(this.configuration).patientSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}pipelineControllerCopy(o,i){return mt(this.configuration).pipelineControllerCopy(o,i).then(s=>s(this.axios,this.basePath))}pipelineControllerDelete(o,i){return mt(this.configuration).pipelineControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}pipelineControllerGet(o,i){return mt(this.configuration).pipelineControllerGet(o,i).then(s=>s(this.axios,this.basePath))}pipelineControllerGetBySlug(o,i,s){return mt(this.configuration).pipelineControllerGetBySlug(o,i,s).then(c=>c(this.axios,this.basePath))}pipelineControllerIndex(o){return mt(this.configuration).pipelineControllerIndex(o).then(i=>i(this.axios,this.basePath))}pipelineControllerPatch(o,i,s){return mt(this.configuration).pipelineControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}pipelineControllerPost(o,i){return mt(this.configuration).pipelineControllerPost(o,i).then(s=>s(this.axios,this.basePath))}pipelineFlowControllerDelete(o,i){return mt(this.configuration).pipelineFlowControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}pipelineFlowControllerGetById(o,i){return mt(this.configuration).pipelineFlowControllerGetById(o,i).then(s=>s(this.axios,this.basePath))}pipelineFlowControllerIndex(o){return mt(this.configuration).pipelineFlowControllerIndex(o).then(i=>i(this.axios,this.basePath))}pipelineFlowControllerPatch(o,i,s){return mt(this.configuration).pipelineFlowControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}pipelineFlowControllerPost(o,i){return mt(this.configuration).pipelineFlowControllerPost(o,i).then(s=>s(this.axios,this.basePath))}pipelineFlowSearchControllerPost(o,i,s,c){return mt(this.configuration).pipelineFlowSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}pipelineSearchControllerPost(o,i,s,c){return mt(this.configuration).pipelineSearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}previewFlowControllerGetBySlug(o,i,s){return mt(this.configuration).previewFlowControllerGetBySlug(o,i,s).then(c=>c(this.axios,this.basePath))}previewPipelineControllerGetBySlug(o,i,s){return mt(this.configuration).previewPipelineControllerGetBySlug(o,i,s).then(c=>c(this.axios,this.basePath))}propertyControllerDelete(o,i){return mt(this.configuration).propertyControllerDelete(o,i).then(s=>s(this.axios,this.basePath))}propertyControllerGet(o,i){return mt(this.configuration).propertyControllerGet(o,i).then(s=>s(this.axios,this.basePath))}propertyControllerIndex(o){return mt(this.configuration).propertyControllerIndex(o).then(i=>i(this.axios,this.basePath))}propertyControllerPatch(o,i,s){return mt(this.configuration).propertyControllerPatch(o,i,s).then(c=>c(this.axios,this.basePath))}propertyControllerPost(o,i){return mt(this.configuration).propertyControllerPost(o,i).then(s=>s(this.axios,this.basePath))}propertySearchControllerPost(o,i,s,c){return mt(this.configuration).propertySearchControllerPost(o,i,s,c).then(p=>p(this.axios,this.basePath))}tokenValidationControllerPost(o,i){return mt(this.configuration).tokenValidationControllerPost(o,i).then(s=>s(this.axios,this.basePath))}uploadControllerListImages(o){return mt(this.configuration).uploadControllerListImages(o).then(i=>i(this.axios,this.basePath))}uploadControllerListVideos(o){return mt(this.configuration).uploadControllerListVideos(o).then(i=>i(this.axios,this.basePath))}uploadControllerUploadImage(o,i){return mt(this.configuration).uploadControllerUploadImage(o,i).then(s=>s(this.axios,this.basePath))}uploadControllerUploadVideo(o,i){return mt(this.configuration).uploadControllerUploadVideo(o,i).then(s=>s(this.axios,this.basePath))}}function zV(e,o=""){return{api:o||(!location.port||location.port==="80"?"":e),ui:location.origin}}const bw=e=>{const o=zV("http://localhost:3129",e);return FV(BV,{apiUrl:o.api})},HV=ln(Sb)(({theme:e})=>({display:"flex",flexDirection:"column",gap:e.spacing(2),width:"100%"})),GV=ln(Sb)(({theme:e})=>({display:"flex",gap:e.spacing(1),justifyContent:"center",marginBottom:e.spacing(1)})),WV=ln(mw)(({theme:e})=>({fontSize:"0.75rem",textAlign:"center",marginBottom:e.spacing(.25),minHeight:"0.75rem",display:"flex",alignItems:"center",justifyContent:"center",padding:0,lineHeight:1})),YV=ln(jA,{shouldForwardProp:e=>e!=="verified"})(({theme:e,verified:o})=>({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"}},...o&&{"& .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`}}}})),qV=ln(Sb)(({theme:e})=>({display:"flex",gap:e.spacing(2),justifyContent:"center",flexWrap:"wrap"})),QV=({formComponent:e,formidavimHost:o})=>{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}=qr(),R=s?b(s):void 0,k=v&&v.length===p?v:typeof R=="string"&&R.length===p?R:"",[M,P]=Xe.useState(k?k.split(""):new Array(p).fill("")),[U,G]=Xe.useState(!!(k&&k.length===p)),[W,A]=Xe.useState(!1),[_,N]=Xe.useState(null),[z,X]=Xe.useState(null),[fe,Ce]=Xe.useState(!1),[V,ve]=Xe.useState(0),[we,ce]=Xe.useState(0),[Se,Ee]=Xe.useState(0),[ge,De]=Xe.useState(!1),ke=Xe.useRef([]),se=b("_phone"),oe=b("email"),Te=bw(o),B=Z=>{const re=Z.replace(/\D/g,"");return re.length===10?`+1${re}`:Z},Y=Xe.useCallback(async(Z,re)=>{if(!(re==="sms"&&V>0)&&!(re==="call"&&we>0)&&!(re==="email"&&Se>0))try{const K=re==="email"?Z:B(Z),be=await Te.otpControllerSendOtp({recipient:K,channel:re}).catch(()=>null);be&&(be.status===200||be.status===201)?(Ce(!0),re==="sms"?ve(30):re==="call"?ce(30):re==="email"&&Ee(30),N(null)):N("Failed to send OTP. Please try again.")}catch{N("Failed to send OTP. Please try again.")}},[V,we,Se]),Oe=Xe.useCallback(async(Z,re,K=!1)=>{try{const be=K?Z:B(Z),ee=await Te.otpControllerVerifyOtp({recipient:be,otp:re}).catch(()=>null);if(!ee)return!1;const Ne=ee.data;return(Ne==null?void 0:Ne.status)==="approved"||(Ne==null?void 0:Ne.verified)===!0}catch{return!1}},[]);Xe.useCallback(async()=>{const Z=M.join(""),re=se||oe,K=!!(oe&&!se);if(!(Z.length!==p||!re||ge)){De(!0),A(!0),N(null),X(null);try{await Oe(re,Z,K)&&s?(G(!0),S(s,Z),T(s,null),w(!1),X("Verification successful!"),ve(0),ce(0),Ee(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."),De(!1),d&&w(!0))}catch(be){console.error("OTP verification error:",be),N("Verification failed. Please try again."),G(!1),s&&T(s,"Verification failed"),De(!1)}finally{A(!1)}}},[M,p,se,oe,Oe,s,S,T,ge]);const He=Xe.useCallback((Z,re)=>{var be;if(U||re.length>1)return;const K=[...M];if(K[Z]=re,P(K),G(!1),De(!1),N(null),X(null),re&&Z<p-1&&((be=ke.current[Z+1])==null||be.focus()),K.join("").length===p){const ee=K.join(""),Ne=se||oe,ye=!!(oe&&!se);ee.length===p&&Ne&&!ge&&(De(!0),A(!0),N(null),X(null),Oe(Ne,ee,ye).then(Fe=>{Fe&&s?(G(!0),S(s,ee),T(s,null),w(!1),X("Verification successful!"),ve(0),ce(0),Ee(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."),De(!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"),De(!1),d&&w(!0)}).finally(()=>{A(!1)}))}},[M,p,se,s,S,T,ge,Oe,U]),Je=(Z,re)=>{var K;re.key==="Backspace"&&!M[Z]&&Z>0&&((K=ke.current[Z-1])==null||K.focus())},We=Z=>{var be;if(U)return;Z.preventDefault();const K=Z.clipboardData.getData("text/plain").replace(/\D/g,"").slice(0,p);if(K.length===p){const ee=K.split("");P(ee),G(!1),De(!1),N(null),X(null);const Ne=ee.join(""),ye=se||oe,Fe=!!(oe&&!se);Ne.length===p&&ye&&!ge&&(De(!0),A(!0),N(null),X(null),Oe(ye,Ne,Fe).then(at=>{at&&s?(G(!0),S(s,Ne),T(s,null),w(!1),X("Verification successful!"),ve(0),ce(0),Ee(0)):(N("Invalid verification code. Please try again."),G(!1),s&&T(s,"Invalid verification code"),De(!1),d&&w(!0))}).catch(at=>{console.error("OTP verification error:",at),N("Verification failed. Please try again."),G(!1),s&&T(s,"Verification failed"),De(!1),d&&w(!0)}).finally(()=>{A(!1)})),(be=ke.current[p-1])==null||be.focus()}};return Xe.useEffect(()=>{if(V>0){const Z=setTimeout(()=>ve(re=>re-1),1e3);return()=>clearTimeout(Z)}},[V]),Xe.useEffect(()=>{if(we>0){const Z=setTimeout(()=>ce(re=>re-1),1e3);return()=>clearTimeout(Z)}},[we]),Xe.useEffect(()=>{if(Se>0){const Z=setTimeout(()=>Ee(re=>re-1),1e3);return()=>clearTimeout(Z)}},[Se]),Xe.useEffect(()=>{const Z=!!(v&&v.length===p||typeof R=="string"&&R.length===p),re=se||oe,K=!!(oe&&!se),be=K?"email":"sms";re&&!fe&&!U&&!Z&&(async()=>{if(!(K&&Se>0)&&!(!K&&V>0))try{const Ne=K?re:B(re),ye=await Te.otpControllerSendOtp({recipient:Ne,channel:be}).catch(()=>null);ye&&(ye.status===200||ye.status===201)?(Ce(!0),K?Ee(30):ve(30),N(null)):N("Failed to send OTP. Please try again.")}catch{N("Failed to send OTP. Please try again.")}})()},[se,oe,fe,U,V,Se,v,p,R]),Xe.useEffect(()=>{w(d?!U:!1)},[U,d,w]),Xe.useEffect(()=>{const Z=v&&v.length===p?v:typeof R=="string"&&R.length===p?R:"";Z&&Z.length===p&&(P(Z.split("")),G(!0))},[v,p,R]),Xe.useEffect(()=>{ke.current[0]&&!U&&ke.current[0].focus()},[U]),M.join("").length,L.jsxs(HV,{children:[L.jsx(mw,{variant:"h6",gutterBottom:!0,children:c}),L.jsx(GV,{children:M.map((Z,re)=>L.jsx(YV,{inputRef:K=>ke.current[re]=K,value:Z,onChange:K=>He(re,K.target.value),onKeyDown:K=>Je(re,K),onPaste:We,inputProps:{maxLength:1,pattern:"[0-9]*",inputMode:"numeric"},variant:"outlined",disabled:W||U,verified:U},re))}),L.jsxs(WV,{variant:"body2",color:_?"error":z?"success":"textSecondary",children:[_||z||" "," "]}),L.jsxs(qV,{children:[L.jsx("button",{type:"button",onClick:()=>Y(se,"sms"),disabled:!se||V>0||U,style:{background:"none",border:"none",color:V>0||U?"#999":"#000",textDecoration:"underline",cursor:V>0||U?"not-allowed":"pointer",fontSize:"0.875rem",padding:"0",fontFamily:"inherit"},onMouseEnter:Z=>{V===0&&!U&&(Z.currentTarget.style.textDecoration="none")},onMouseLeave:Z=>{V===0&&!U&&(Z.currentTarget.style.textDecoration="underline")},children:V>0?`Resend SMS in ${V}s`:"Resend SMS code"}),L.jsx("button",{type:"button",onClick:()=>Y(se,"call"),disabled:!se||we>0||U,style:{background:"none",border:"none",color:we>0||U?"#999":"#000",textDecoration:"underline",cursor:we>0||U?"not-allowed":"pointer",fontSize:"0.875rem",padding:"0",fontFamily:"inherit"},onMouseEnter:Z=>{we===0&&!U&&(Z.currentTarget.style.textDecoration="none")},onMouseLeave:Z=>{we===0&&!U&&(Z.currentTarget.style.textDecoration="underline")},children:we>0?`Wait ${we}s before requesting another code`:"Receive code by voice call instead"}),oe&&L.jsx("button",{type:"button",onClick:()=>Y(oe,"email"),disabled:!oe||Se>0||U,style:{background:"none",border:"none",color:Se>0||U?"#999":"#000",textDecoration:"underline",cursor:Se>0||U?"not-allowed":"pointer",fontSize:"0.875rem",padding:"0",fontFamily:"inherit"},onMouseEnter:Z=>{Se===0&&!U&&(Z.currentTarget.style.textDecoration="none")},onMouseLeave:Z=>{Se===0&&!U&&(Z.currentTarget.style.textDecoration="underline")},children:Se>0?`Resend email in ${Se}s`:"Send code by email instead"})]})]})},XV=me.div`
|
|
2863
2863
|
display: flex;
|
|
2864
2864
|
flex-direction: column;
|
|
2865
2865
|
gap: 1.5rem;
|
|
@@ -2959,7 +2959,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
2959
2959
|
border-bottom: 1px solid ${e=>e.theme.colors.neutral20} !important;
|
|
2960
2960
|
margin: 0 !important;
|
|
2961
2961
|
}
|
|
2962
|
-
`,nj=({formComponent:e})=>{const o=e.props,{required:i,propertyId:s,label:c="Address",inlineCopy:p}=o||{},{getFlowValue:d,setFlowAndPatientValue:v,getFlowValue:b,getFlowError:S}=qr(),T=b(s)||{},[w,R]=Xe.useState({address1:T.address1||"",address2:T.address2||"",city:T.city||"",state:T.state||"",postcode:T.postcode||"",coordinates:T.coordinates}),[k,M]=Xe.useState([]),[P,U]=Xe.useState(!1),[G,
|
|
2962
|
+
`,nj=({formComponent:e})=>{const o=e.props,{required:i,propertyId:s,label:c="Address",inlineCopy:p}=o||{},{getFlowValue:d,setFlowAndPatientValue:v,getFlowValue:b,getFlowError:S}=qr(),T=b(s)||{},[w,R]=Xe.useState({address1:T.address1||"",address2:T.address2||"",city:T.city||"",state:T.state||"",postcode:T.postcode||"",coordinates:T.coordinates}),[k,M]=Xe.useState([]),[P,U]=Xe.useState(!1),[G,W]=Xe.useState(!1),[A,_]=Xe.useState(!1),N=Xe.useRef(),z="pk.eyJ1IjoiYW50aG9ueS1pdmltIiwiYSI6ImNsdXY4M245OTAwcmoya3BiY3RwOHU2aGoifQ.WKeVR5UV446JNt1PxJgccg",X=(ce,Se)=>{const Ee={...w,[ce]:Se};R(Ee),v(s,Ee),ce==="address1"&&Se.length>3&&fe(Se)},fe=async ce=>{N.current&&clearTimeout(N.current),N.current=setTimeout(async()=>{if(!(ce.length<3)){console.log("Searching for address:",ce),W(!0);try{const Se=await fetch(`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(ce)}.json?access_token=${z}&country=US&types=address&limit=5`);if(Se.ok){const Ee=await Se.json();console.log("Mapbox response:",Ee),M(Ee.features||[]),U(!0)}else console.error("Mapbox API error:",Se.status,Se.statusText)}catch(Se){console.error("Error fetching address suggestions:",Se)}finally{W(!1)}}},300)},Ce=ce=>{console.log("Selected feature:",ce);const Se=ce.place_name.split(", ");let Ee="",ge="",De="",ke="";if(Se.length>=1&&(Ee=Se[0]),Se.length>=2&&(ge=Se[1]),Se.length>=3){const oe=Se[2].split(" ");De=oe[0],ke=oe[1]||""}const se={address1:Ee||ce.text||"",address2:w.address2||"",city:ge||"",state:De||"",postcode:ke||"",coordinates:{lat:ce.geometry.coordinates[1],lng:ce.geometry.coordinates[0]}};console.log("Parsed address:",se),R(se),v(s,se),U(!1),M([])};Xe.useEffect(()=>{const ce=Se=>{Se.target.closest(".address-autofill-container")||U(!1)};return document.addEventListener("click",ce),()=>document.removeEventListener("click",ce)},[]),Xe.useEffect(()=>{console.log("Suggestions state changed:",{showSuggestions:P,suggestionsCount:k.length,isAddress1Focused:A,isLoading:G})},[P,k.length,A,G]);const V=d(s),ve=S(s),we=!!ve&&ve!=="Required";return L.jsxs(ai,{$visible:!0,$type:"address",$hasError:we,children:[L.jsx(fl,{$color:we?"danger":void 0,children:c}),L.jsxs(XV,{children:[L.jsx(ai,{$visible:!0,children:L.jsxs(KV,{className:"address-autofill-container",children:[L.jsx("input",{type:"text",value:w.address1,onChange:ce=>X("address1",ce.target.value),onFocus:()=>{console.log("Address1 input focused"),_(!0)},onBlur:()=>{console.log("Address1 input blurred"),setTimeout(()=>{console.log("Hiding suggestions after blur timeout"),_(!1)},200)},id:`${s}-address1`,name:`${s}-address1`}),L.jsx(Mi,{htmlFor:`${s}-address1`,children:"Address Line 1"}),L.jsx(ZV,{$show:A&&(P||G),children:G?L.jsx(ej,{children:"Loading suggestions..."}):k.length===0?L.jsx(tj,{children:"No suggestions found."}):k.map((ce,Se)=>L.jsx(JV,{onClick:Ee=>{Ee.stopPropagation(),Ce(ce)},children:ce.place_name},Se))})]})}),L.jsxs(ai,{$visible:!0,children:[L.jsx("input",{type:"text",value:w.address2,onChange:ce=>X("address2",ce.target.value),id:`${s}-address2`,name:`${s}-address2`}),L.jsx(Mi,{htmlFor:`${s}-address2`,children:"Address Line 2"})]}),L.jsxs(ai,{$visible:!0,children:[L.jsx("input",{type:"text",value:w.city,onChange:ce=>X("city",ce.target.value),id:`${s}-city`,name:`${s}-city`}),L.jsx(Mi,{htmlFor:`${s}-city`,children:"City"})]}),L.jsxs(ai,{$visible:!0,children:[L.jsx("input",{type:"text",value:w.state,onChange:ce=>X("state",ce.target.value),id:`${s}-state`,name:`${s}-state`}),L.jsx(Mi,{htmlFor:`${s}-state`,children:"State / Region"})]}),L.jsxs(ai,{$visible:!0,children:[L.jsx("input",{type:"text",value:w.postcode,onChange:ce=>X("postcode",ce.target.value),id:`${s}-postcode`,name:`${s}-postcode`,maxLength:10}),L.jsx(Mi,{htmlFor:`${s}-postcode`,children:"ZIP / Postcode"})]})]}),p&&L.jsx(fl,{children:p}),o!=null&&o.required&&!V&&!we?L.jsx(Wo,{$bottom:"-30px",$visible:!0,children:"Required"}):we?L.jsxs(va,{$bottom:"-30px",$visible:!0,children:[L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:L.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"})}),ve]}):null]})},rj=({formComponent:e})=>{const o=e.props;return o!=null&&o.text?L.jsx(B6,{$margin:"0px",$color:o.color,$align:o["text-align"],dangerouslySetInnerHTML:{__html:o.text}}):null},oj=({formComponent:e})=>{const o=e.props;return o!=null&&o.src?L.jsx(X$,{src:o.src}):L.jsx(xp,{errors:["Image form component is missing valid image src"]})},aj=({formComponent:e})=>L.jsx(ij,{children:L.jsx(lj,{children:L.jsx(sj,{children:L.jsxs("svg",{width:"352",height:"243",viewBox:"0 0 352 243",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[L.jsxs("g",{"clip-path":"url(#clip0_356_13948)",children:[L.jsxs("g",{"clip-path":"url(#clip1_356_13948)",children:[L.jsx("path",{d:"M351 195C151.369 195 32.4675 102 0 22V230H351V195Z",fill:"url(#paint0_linear_356_13948)"}),L.jsx("path",{d:"M0 22C32.4675 102 151.369 195 351 195",stroke:"#86AF61","stroke-width":"2","stroke-linecap":"round"})]}),L.jsx("circle",{cx:"294.5",cy:"191.5",r:"22.5",fill:"#6F9351","fill-opacity":"0.16"}),L.jsx("circle",{cx:"294.5",cy:"191.5",r:"6.5",fill:"white",stroke:"#6F9351","stroke-width":"4"}),L.jsx("path",{d:"M0 22C32.56 75.1792 151.8 137 352 137",stroke:"#D9D8D8","stroke-width":"2","stroke-linecap":"round"})]}),L.jsxs("defs",{children:[L.jsxs("linearGradient",{id:"paint0_linear_356_13948",x1:"58.654",y1:"230",x2:"58.654",y2:"22",gradientUnits:"userSpaceOnUse",children:[L.jsx("stop",{"stop-color":"#86AF61","stop-opacity":"0"}),L.jsx("stop",{offset:"1","stop-color":"#86AF61"})]}),L.jsx("clipPath",{id:"clip0_356_13948",children:L.jsx("rect",{width:"352",height:"242",fill:"white",transform:"translate(0 0.5)"})}),L.jsx("clipPath",{id:"clip1_356_13948",children:L.jsx("rect",{width:"351",height:"220",fill:"white",transform:"translate(0 22)"})})]})]})})})}),ij=me.div`
|
|
2963
2963
|
&& {
|
|
2964
2964
|
display: flex;
|
|
2965
2965
|
flex-direction: column;
|
|
@@ -3127,7 +3127,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
3127
3127
|
color: #1f2937;
|
|
3128
3128
|
margin: 0;
|
|
3129
3129
|
margin-left:14px;
|
|
3130
|
-
`,Pj=({formComponent:e})=>{var s;const o=e.props;if(!(o!=null&&o.src))return L.jsx(xp,{errors:["Video form component is missing valid video src"]});const i=(s=o.src.split(".").pop())==null?void 0:s.toLowerCase();return i!=="webm"&&i!=="mp4"?L.jsx(xp,{errors:["Video form component has unsupported video type. Supported types are: webm, mp4"]}):L.jsx(aM,{$visible:(o==null?void 0:o.visible)!==void 0?o.visible.toString():"false",$margin:o==null?void 0:o.margin,$maxHeight:o==null?void 0:o.maxHeight,$borderRadius:o==null?void 0:o.borderRadius,children:L.jsx(iM,{src:o==null?void 0:o.src,muted:o==null?void 0:o.muted,loop:o==null?void 0:o.loop,controls:o==null?void 0:o.controls,autoPlay:o==null?void 0:o.autoPlay,playsInline:!0,children:L.jsx("source",{src:o==null?void 0:o.src,type:`video/${i}`})},"VideoBlock"+e.id)})},Nj=({formComponent:e})=>{const o=e.props,{getFlowValue:i,setFlowAndPatientValue:s,getFlowError:c}=qr(),[p,d]=Xe.useState(!1),[v,b]=Xe.useState(!1),[S,T]=Xe.useState(!1),w=Xe.useRef(null),R=i(o.propertyId),k=c(o.propertyId),M=!!k&&k!=="Required";Xe.useEffect(()=>{T(!!R)},[R]),Xe.useEffect(()=>{const _=w.current;if(!_)return;const N=()=>{const{scrollHeight:X,clientHeight:fe}=_,Ce=X>fe;b(Ce),Ce||d(!0)};N();const z=new ResizeObserver(N);return z.observe(_),()=>z.disconnect()},[o.consentText]);const P=()=>{const _=w.current;if(!_||p||!v)return;const{scrollTop:N,scrollHeight:z,clientHeight:X}=_;N+X>=z-.625&&!p&&d(!0)},U=_=>{const{checked:N}=_.target;T(N),N?s(o.propertyId,new Date().toISOString().split("T")[0]):s(o.propertyId,null)},G=!p,
|
|
3130
|
+
`,Pj=({formComponent:e})=>{var s;const o=e.props;if(!(o!=null&&o.src))return L.jsx(xp,{errors:["Video form component is missing valid video src"]});const i=(s=o.src.split(".").pop())==null?void 0:s.toLowerCase();return i!=="webm"&&i!=="mp4"?L.jsx(xp,{errors:["Video form component has unsupported video type. Supported types are: webm, mp4"]}):L.jsx(aM,{$visible:(o==null?void 0:o.visible)!==void 0?o.visible.toString():"false",$margin:o==null?void 0:o.margin,$maxHeight:o==null?void 0:o.maxHeight,$borderRadius:o==null?void 0:o.borderRadius,children:L.jsx(iM,{src:o==null?void 0:o.src,muted:o==null?void 0:o.muted,loop:o==null?void 0:o.loop,controls:o==null?void 0:o.controls,autoPlay:o==null?void 0:o.autoPlay,playsInline:!0,children:L.jsx("source",{src:o==null?void 0:o.src,type:`video/${i}`})},"VideoBlock"+e.id)})},Nj=({formComponent:e})=>{const o=e.props,{getFlowValue:i,setFlowAndPatientValue:s,getFlowError:c}=qr(),[p,d]=Xe.useState(!1),[v,b]=Xe.useState(!1),[S,T]=Xe.useState(!1),w=Xe.useRef(null),R=i(o.propertyId),k=c(o.propertyId),M=!!k&&k!=="Required";Xe.useEffect(()=>{T(!!R)},[R]),Xe.useEffect(()=>{const _=w.current;if(!_)return;const N=()=>{const{scrollHeight:X,clientHeight:fe}=_,Ce=X>fe;b(Ce),Ce||d(!0)};N();const z=new ResizeObserver(N);return z.observe(_),()=>z.disconnect()},[o.consentText]);const P=()=>{const _=w.current;if(!_||p||!v)return;const{scrollTop:N,scrollHeight:z,clientHeight:X}=_;N+X>=z-.625&&!p&&d(!0)},U=_=>{const{checked:N}=_.target;T(N),N?s(o.propertyId,new Date().toISOString().split("T")[0]):s(o.propertyId,null)},G=!p,W=o.required&&!S&&p&&!M,A=G&&v;return L.jsxs(Dj,{children:[L.jsxs(Mj,{children:["Effective Date: ",o.effectiveDate]}),L.jsx(Lj,{ref:w,$height:o.height||"20rem",onScroll:P,children:L.jsx("div",{dangerouslySetInnerHTML:{__html:o.consentText}})}),L.jsxs(_j,{children:[L.jsxs("label",{"data-disabled":G,children:[L.jsx("input",{type:"checkbox",checked:S,onChange:U,disabled:G}),L.jsxs("div",{className:"checkbox-label",children:[L.jsx(Ij,{$checked:S,$disabled:G}),L.jsx("span",{children:o.checkboxLabel||"I Acknowledge Receipt of the Notice of HIPAA Privacy Practices"})]})]}),W&&L.jsx(z$,{children:"This field is required"}),M&&L.jsx(z$,{children:k}),A&&L.jsx("div",{style:{fontSize:"0.875rem",color:"#666",marginTop:"0.25rem"},children:"Please scroll to the bottom to enable the acknowledgment checkbox."})]})]})},Dj=me.div`
|
|
3131
3131
|
margin: 1rem 0;
|
|
3132
3132
|
`,Mj=me.div`
|
|
3133
3133
|
font-size: 0.9rem;
|
|
@@ -3287,10 +3287,10 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
3287
3287
|
color: ${e=>e.theme.colors.danger};
|
|
3288
3288
|
font-size: 0.875rem;
|
|
3289
3289
|
margin-top: 0.25rem;
|
|
3290
|
-
`,Fj={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","hipaa-consent":"string"},Vj={header:rj,image:oj,"weight-loss-chart":aj,"horizontal-rule":uj,"text-tip":cj,"small-text":fj,paragraph:dj,"refill-request":pj,"addon-request":Cj,"hipaa-consent":Nj,video:Pj,"checkbox-single":I5,"checkbox-multi":F5,radio:CO,"radio-group":CO,number:D5,dropdown:Y5,datepicker:W5,scale:V5,"text-input":q5,textarea:_5,"titration-select":Q5,"dosing-custom-units":X5,email:Z5,password:J5,phone:eL,otp:QV,address:nj},qr=()=>{const e=hp.useDispatch(),o=hp.useSelector(A=>S5(A)),i=hp.useSelector(A=>C5(A)),s=hp.useSelector(A=>w5(A)),c=hp.useSelector(A=>O5(A)),p=Xe.useCallback((A,_)=>{e(g5({field:A,value:_}))},[e]),d=Xe.useCallback(A=>o[A],[o]),v=Xe.useCallback(()=>o,[o]),b=Xe.useCallback(A=>{e(xO(A)),e(xO(A))},[e]),S=Xe.useCallback((A,_)=>{e(b5({field:A,error:_}))},[e]),T=Xe.useCallback(A=>i[A],[i]),w=Xe.useCallback(A=>{e(x5(A))},[e]),R=Xe.useCallback(()=>s,[s]),k=Xe.useCallback((A,_)=>{e(R5({[A]:_}))},[e]),M=Xe.useCallback(A=>{const _={id:A.customerId??1,profile:A.data};e(T5(_))},[e]),P=Xe.useCallback(A=>c==null?void 0:c[A],[c]),U=Xe.useCallback(()=>c,[c]),G=Xe.useCallback((A,_)=>{p(A,_),k(A,_)},[p,k]),Y=Xe.useCallback(A=>{const _={};return A.flowForms&&A.flowForms.forEach(N=>{var z;(z=N.form)!=null&&z.formComponents&&N.form.formComponents.forEach(X=>{const fe=X.componentId||"";if(Fj[fe]){const V=X.props,ve=V==null?void 0:V.propertyId;ve&&(_[ve]=null)}})}),_},[]);return{setFlowValue:p,setFlowValues:b,getFlowValue:d,getAllFlowData:v,setFlowError:S,getFlowError:T,setDisableSubmitValue:w,getDisableSubmitValue:R,setPatientValue:k,setPatientValues:M,getPatientValue:P,getFullPatient:U,setFlowAndPatientValue:G,generateFormDataFromFlow:Y}};function $0(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 gC={exports:{}},H$;function jj(){return H$||(H$=1,function(e,o){(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 $0=="function"&&$0;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 k=c[S]={exports:{}};s[S][0].call(k.exports,function(M){var P=s[S][1][M];return d(P||M)},k,k.exports,i,s,c,p)}return c[S].exports}for(var v=typeof $0=="function"&&$0,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(Z,re){var K=function(ee,Ne,ye){var Fe="";if(ee<=19)Fe=(Ne?" and ":"")+(ye?S[ee]:b[ee]);else if(ee<100){const It=Math.floor(ee/10),jt=ee%10;Fe=(Ne?" and ":"")+T[It-2],jt>0?Fe+="-"+K(jt,!1,ye):ye&&(Fe=Fe.substring(0,Fe.length-1)+"ieth")}else if(ee<1e3){const It=Math.floor(ee/100),jt=ee%100;Fe=(Ne?", ":"")+b[It]+" Hundred",jt>0?Fe+=K(jt,!0,ye):ye&&(Fe+="th")}else{var at=Math.floor(Math.log10(ee)/3);at>w.length&&(at=w.length);const It=Math.pow(10,at*3),jt=Math.floor(ee/It),vt=ee-jt*It;Fe=(Ne?", ":"")+K(jt,!1,!1)+" "+w[at-1],vt>0?Fe+=K(vt,!0,ye):ye&&(Fe+="th")}return Fe},be=K(Z,!1,re);return be}const k={};b.forEach(function(Z,re){k[Z.toLowerCase()]=re}),S.forEach(function(Z,re){k[Z.toLowerCase()]=re}),T.forEach(function(Z,re){const K=Z.toLowerCase();k[K]=(re+2)*10,k[K.substring(0,Z.length-1)+"ieth"]=k[K]}),k.hundredth=100,w.forEach(function(Z,re){const K=Z.toLowerCase(),be=Math.pow(10,(re+1)*3);k[K]=be,k[K+"th"]=be});function M(Z){const K=Z.split(/,\s|\sand\s|[\s\\-]/).map(Ne=>k[Ne]);let be=[0];return K.forEach(Ne=>{if(Ne<100){let ye=be.pop();ye>=1e3&&(be.push(ye),ye=0),be.push(ye+Ne)}else be.push(be.pop()*Ne)}),be.reduce((Ne,ye)=>Ne+ye,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"]],U={M:1e3,D:500,C:100,L:50,X:10,V:5,I:1};function G(Z){for(var re=0;re<P.length;re++){const K=P[re];if(Z>=K[0])return K[1]+G(Z-K[0])}return""}function Y(Z){for(var re=0,K=1,be=Z.length-1;be>=0;be--){const ee=Z[be],Ne=U[ee];Ne<K?re-=Ne:(K=Ne,re+=Ne)}return re}function A(Z,re){for(var K=[],be=re.charCodeAt(0);Z>0;)K.unshift(String.fromCharCode((Z-1)%26+be)),Z=Math.floor((Z-1)/26);return K.join("")}function _(Z,re){for(var K=re.charCodeAt(0),be=0,ee=0;ee<Z.length;ee++)be+=(Z.charCodeAt(Z.length-ee-1)-K+1)*Math.pow(26,ee);return be}function N(Z,re){if(typeof Z>"u")return;Z=Math.floor(Z);const K=V(re);return fe(Z,K)}const z={DECIMAL:"decimal",LETTERS:"letters",ROMAN:"roman",WORDS:"words",SEQUENCE:"sequence"},X={UPPER:"upper",LOWER:"lower",TITLE:"title"};function fe(Z,re){let K;const be=Z<0;switch(Z=Math.abs(Z),re.primary){case z.LETTERS:K=A(Z,re.case===X.UPPER?"A":"a");break;case z.ROMAN:K=G(Z),re.case===X.UPPER&&(K=K.toUpperCase());break;case z.WORDS:K=R(Z,re.ordinal),re.case===X.UPPER?K=K.toUpperCase():re.case===X.LOWER&&(K=K.toLowerCase());break;case z.DECIMAL:K=""+Z;var ee=re.mandatoryDigits-K.length;if(ee>0){var Ne=new Array(ee+1).join("0");K=Ne+K}if(re.zeroCode!==48&&(K=v(K).map(It=>String.fromCodePoint(It.codePointAt(0)+re.zeroCode-48)).join("")),re.regular){const It=Math.floor((K.length-1)/re.groupingSeparators.position);for(let jt=It;jt>0;jt--){const vt=K.length-jt*re.groupingSeparators.position;K=K.substr(0,vt)+re.groupingSeparators.character+K.substr(vt)}}else re.groupingSeparators.reverse().forEach(It=>{const jt=K.length-It.position;K=K.substr(0,jt)+It.character+K.substr(jt)});if(re.ordinal){var ye={1:"st",2:"nd",3:"rd"},Fe=K[K.length-1],at=ye[Fe];(!at||K.length>1&&K[K.length-2]==="1")&&(at="th"),K=K+at}break;case z.SEQUENCE:throw{code:"D3130",value:re.token}}return be&&(K="-"+K),K}const Ce=[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 V(Z){const re={type:"integer",primary:z.DECIMAL,case:X.LOWER,ordinal:!1};let K,be;const ee=Z.lastIndexOf(";");switch(ee===-1?K=Z:(K=Z.substring(0,ee),be=Z.substring(ee+1),be[0]==="o"&&(re.ordinal=!0)),K){case"A":re.case=X.UPPER;case"a":re.primary=z.LETTERS;break;case"I":re.case=X.UPPER;case"i":re.primary=z.ROMAN;break;case"W":re.case=X.UPPER,re.primary=z.WORDS;break;case"Ww":re.case=X.TITLE,re.primary=z.WORDS;break;case"w":re.primary=z.WORDS;break;default:{let Ne=null,ye=0,Fe=0,at=[],It=0;if(v(K).map(vt=>vt.codePointAt(0)).reverse().forEach(vt=>{let gt=!1;for(let Ct=0;Ct<Ce.length;Ct++){const lt=Ce[Ct];if(vt>=lt&&vt<=lt+9){if(gt=!0,ye++,It++,Ne===null)Ne=lt;else if(lt!==Ne)throw{code:"D3131"};break}}gt||(vt===35?(It++,Fe++):at.push({position:It,character:String.fromCodePoint(vt)}))}),ye>0){re.primary=z.DECIMAL,re.zeroCode=Ne,re.mandatoryDigits=ye,re.optionalDigits=Fe;const gt=function(Ct){if(Ct.length===0)return 0;const lt=Ct[0].character;for(let un=1;un<Ct.length;un++)if(Ct[un].character!==lt)return 0;const sn=Ct.map(un=>un.position),mn=function(un,Tn){return Tn===0?un:mn(Tn,un%Tn)},dn=sn.reduce(mn);for(let un=1;un<=sn.length;un++)if(sn.indexOf(un*dn)===-1)return 0;return dn}(at);gt>0?(re.regular=!0,re.groupingSeparators={position:gt,character:at[0].character}):(re.regular=!1,re.groupingSeparators=at)}else re.primary=z.SEQUENCE,re.token=K}}return re}const ve={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 we(Z){var re=[];const K={type:"datetime",parts:re},be=function(gt,Ct){if(Ct>gt){let lt=Z.substring(gt,Ct);lt=lt.split("]]").join("]"),re.push({type:"literal",value:lt})}};for(var ee=0,Ne=0;Ne<Z.length;){if(Z.charAt(Ne)==="["){if(Z.charAt(Ne+1)==="["){be(ee,Ne),re.push({type:"literal",value:"["}),Ne+=2,ee=Ne;continue}if(be(ee,Ne),ee=Ne,Ne=Z.indexOf("]",ee),Ne===-1)throw{code:"D3135"};let gt=Z.substring(ee+1,Ne);gt=gt.split(/\s+/).join("");var ye={type:"marker",component:gt.charAt(0)},Fe=gt.lastIndexOf(","),at;if(Fe!==-1){const Ct=gt.substring(Fe+1),lt=Ct.indexOf("-");let sn,mn;const dn=function(Tn){if(!(typeof Tn>"u"||Tn==="*"))return parseInt(Tn)};lt===-1?sn=Ct:(sn=Ct.substring(0,lt),mn=Ct.substring(lt+1));const un={min:dn(sn),max:dn(mn)};ye.width=un,at=gt.substring(1,Fe)}else at=gt.substring(1);if(at.length===1)ye.presentation1=at;else if(at.length>1){var It=at.charAt(at.length-1);"atco".indexOf(It)!==-1?(ye.presentation2=It,It==="o"&&(ye.ordinal=!0),ye.presentation1=at.substring(0,at.length-1)):ye.presentation1=at}else ye.presentation1=ve[ye.component];if(typeof ye.presentation1>"u")throw{code:"D3132",value:ye.component};if(ye.presentation1[0]==="n")ye.names=X.LOWER;else if(ye.presentation1[0]==="N")ye.presentation1[1]==="n"?ye.names=X.TITLE:ye.names=X.UPPER;else if("YMDdFWwXxHhmsf".indexOf(ye.component)!==-1){var jt=ye.presentation1;if(ye.presentation2&&(jt+=";"+ye.presentation2),ye.integerFormat=V(jt),ye.width&&ye.width.min!==void 0&&ye.integerFormat.mandatoryDigits<ye.width.min&&(ye.integerFormat.mandatoryDigits=ye.width.min),ye.component==="Y")if(ye.n=-1,ye.width&&ye.width.max!==void 0)ye.n=ye.width.max,ye.integerFormat.mandatoryDigits=ye.n;else{var vt=ye.integerFormat.mandatoryDigits+ye.integerFormat.optionalDigits;vt>=2&&(ye.n=vt)}const Ct=re[re.length-1];Ct&&Ct.integerFormat&&(Ct.integerFormat.parseWidth=Ct.integerFormat.mandatoryDigits)}(ye.component==="Z"||ye.component==="z")&&(ye.integerFormat=V(ye.presentation1)),re.push(ye),ee=Ne+1}Ne++}return be(ee,Ne),K}const ue=["","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Se=["January","February","March","April","May","June","July","August","September","October","November","December"],Ee=1e3*60*60*24,ge=function(Z){const re=Date.UTC(Z.year,Z.month);var K=new Date(re).getUTCDay();return K===0&&(K=7),K>4?re+(8-K)*Ee:re-(K-1)*Ee},De=function(Z,re){return{year:Z,month:re,nextMonth:function(){return re===11?De(Z+1,0):De(Z,re+1)},previousMonth:function(){return re===0?De(Z-1,11):De(Z,re-1)},nextYear:function(){return De(Z+1,re)},previousYear:function(){return De(Z-1,re)}}},ke=function(Z,re){return(re-Z)/(Ee*7)+1},ce=(Z,re)=>{let K;switch(re){case"Y":K=Z.getUTCFullYear();break;case"M":K=Z.getUTCMonth()+1;break;case"D":K=Z.getUTCDate();break;case"d":{const be=Date.UTC(Z.getUTCFullYear(),Z.getUTCMonth(),Z.getUTCDate()),ee=Date.UTC(Z.getUTCFullYear(),0);K=(be-ee)/Ee+1;break}case"F":K=Z.getUTCDay(),K===0&&(K=7);break;case"W":{const be=De(Z.getUTCFullYear(),0),ee=ge(be),Ne=Date.UTC(be.year,Z.getUTCMonth(),Z.getUTCDate());let ye=ke(ee,Ne);if(ye>52){const Fe=ge(be.nextYear());Ne>=Fe&&(ye=1)}else if(ye<1){const Fe=ge(be.previousYear());ye=ke(Fe,Ne)}K=Math.floor(ye);break}case"w":{const be=De(Z.getUTCFullYear(),Z.getUTCMonth()),ee=ge(be),Ne=Date.UTC(be.year,be.month,Z.getUTCDate());let ye=ke(ee,Ne);if(ye>4){const Fe=ge(be.nextMonth());Ne>=Fe&&(ye=1)}else if(ye<1){const Fe=ge(be.previousMonth());ye=ke(Fe,Ne)}K=Math.floor(ye);break}case"X":{const be=De(Z.getUTCFullYear(),0),ee=ge(be),Ne=ge(be.nextYear()),ye=Z.getTime();ye<ee?K=be.year-1:ye>=Ne?K=be.year+1:K=be.year;break}case"x":{const be=De(Z.getUTCFullYear(),Z.getUTCMonth()),ee=ge(be),Ne=be.nextMonth(),ye=ge(Ne),Fe=Z.getTime();Fe<ee?K=be.previousMonth().month+1:Fe>=ye?K=Ne.month+1:K=be.month+1;break}case"H":K=Z.getUTCHours();break;case"h":K=Z.getUTCHours(),K=K%12,K===0&&(K=12);break;case"P":K=Z.getUTCHours()>=12?"pm":"am";break;case"m":K=Z.getUTCMinutes();break;case"s":K=Z.getUTCSeconds();break;case"f":K=Z.getUTCMilliseconds();break;case"Z":case"z":break;case"C":K="ISO";break;case"E":K="ISO";break}return K};let oe=null;function Te(Z,re,K){var be=0,ee=0;if(typeof K<"u"){const jt=parseInt(K);be=Math.floor(jt/100),ee=jt%100}var Ne=function(jt,vt){var gt=ce(jt,vt.component);if("YMDdFWwXxHhms".indexOf(vt.component)!==-1)if(vt.component==="Y"&&vt.n!==-1&&(gt=gt%Math.pow(10,vt.n)),vt.names){if(vt.component==="M"||vt.component==="x")gt=Se[gt-1];else if(vt.component==="F")gt=ue[gt];else throw{code:"D3133",value:vt.component};vt.names===X.UPPER?gt=gt.toUpperCase():vt.names===X.LOWER&&(gt=gt.toLowerCase()),vt.width&>.length>vt.width.max&&(gt=gt.substring(0,vt.width.max))}else gt=fe(gt,vt.integerFormat);else if(vt.component==="f")gt=fe(gt,vt.integerFormat);else if(vt.component==="Z"||vt.component==="z"){const Ct=be*100+ee;if(vt.integerFormat.regular)gt=fe(Ct,vt.integerFormat);else{const lt=vt.integerFormat.mandatoryDigits;if(lt===1||lt===2)gt=fe(be,vt.integerFormat),ee!==0&&(gt+=":"+N(ee,"00"));else if(lt===3||lt===4)gt=fe(Ct,vt.integerFormat);else throw{code:"D3134",value:lt}}Ct>=0&&(gt="+"+gt),vt.component==="z"&&(gt="GMT"+gt),Ct===0&&vt.presentation2==="t"&&(gt="Z")}else vt.component==="P"&&vt.names===X.UPPER&&(gt=gt.toUpperCase());return gt};let ye;typeof re>"u"?(oe===null&&(oe=we("[Y0001]-[M01]-[D01]T[H01]:[m01]:[s01].[f001][Z01:01t]")),ye=oe):ye=we(re);const Fe=(60*be+ee)*60*1e3,at=new Date(Z+Fe);let It="";return ye.parts.forEach(function(jt){jt.type==="literal"?It+=jt.value:It+=Ne(at,jt)}),It}function B(Z){var re={};if(Z.type==="datetime")re.type="datetime",re.parts=Z.parts.map(function(K){var be={};if(K.type==="literal")be.regex=K.value.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");else if(K.component==="Z"||K.component==="z"){let Ne;Array.isArray(K.integerFormat.groupingSeparators)||(Ne=K.integerFormat.groupingSeparators),be.regex="",K.component==="z"&&(be.regex="GMT"),be.regex+="[-+][0-9]+",Ne&&(be.regex+=Ne.character+"[0-9]+"),be.parse=function(ye){K.component==="z"&&(ye=ye.substring(3));let Fe=0,at=0;return Ne?(Fe=Number.parseInt(ye.substring(0,ye.indexOf(Ne.character))),at=Number.parseInt(ye.substring(ye.indexOf(Ne.character)+1))):ye.length-1<=2?Fe=Number.parseInt(ye):(Fe=Number.parseInt(ye.substring(0,3)),at=Number.parseInt(ye.substring(3))),Fe*60+at}}else if(K.integerFormat)be=B(K.integerFormat);else{be.regex="[a-zA-Z]+";var ee={};if(K.component==="M"||K.component==="x")Se.forEach(function(Ne,ye){K.width&&K.width.max?ee[Ne.substring(0,K.width.max)]=ye+1:ee[Ne]=ye+1});else if(K.component==="F")ue.forEach(function(Ne,ye){ye>0&&(K.width&&K.width.max?ee[Ne.substring(0,K.width.max)]=ye:ee[Ne]=ye)});else if(K.component==="P")ee={am:0,AM:0,pm:1,PM:1};else throw{code:"D3133",value:K.component};be.parse=function(Ne){return ee[Ne]}}return be.component=K.component,be});else{re.type="integer";const K=Z.case===X.UPPER;switch(Z.primary){case z.LETTERS:re.regex=K?"[A-Z]+":"[a-z]+",re.parse=function(be){return _(be,K?"A":"a")};break;case z.ROMAN:re.regex=K?"[MDCLXVI]+":"[mdclxvi]+",re.parse=function(be){return Y(K?be:be.toUpperCase())};break;case z.WORDS:re.regex="(?:"+Object.keys(k).concat("and","[\\-, ]").join("|")+")+",re.parse=function(be){return M(be.toLowerCase())};break;case z.DECIMAL:re.regex="[0-9]",Z.parseWidth?re.regex+=`{${Z.parseWidth}}`:re.regex+="+",Z.ordinal&&(re.regex+="(?:th|st|nd|rd)"),re.parse=function(be){let ee=be;return Z.ordinal&&(ee=be.substring(0,be.length-2)),Z.regular?ee=ee.split(",").join(""):Z.groupingSeparators.forEach(Ne=>{ee=ee.split(Ne.character).join("")}),Z.zeroCode!==48&&(ee=ee.split("").map(Ne=>String.fromCodePoint(Ne.codePointAt(0)-Z.zeroCode+48)).join("")),parseInt(ee)};break;case z.SEQUENCE:throw{code:"D3130",value:Z.token}}}return re}function W(Z,re){if(typeof Z>"u")return;const K=V(re);return B(K).parse(Z)}function Oe(Z,re){const K=we(re),be=B(K),ee="^"+be.parts.map(at=>"("+at.regex+")").join("")+"$";var ye=new RegExp(ee,"i").exec(Z);if(ye!==null){const lt={};for(let Ye=1;Ye<ye.length;Ye++){const j=be.parts[Ye-1];j.parse&&(lt[j.component]=j.parse(ye[Ye]))}if(Object.getOwnPropertyNames(lt).length===0)return;let sn=0;const mn=Ye=>{sn<<=1,sn+=Ye?1:0},dn=Ye=>!(~Ye&sn)&&!!(Ye&sn);"YXMxWwdD".split("").forEach(Ye=>mn(lt[Ye]));const Tn=!dn(161)&&dn(130),rr=dn(84),or=!rr&&dn(72);sn=0,"PHhmsf".split("").forEach(Ye=>mn(lt[Ye]));const rt=!dn(23)&&dn(47),Rn=(Tn?"YD":rr?"XxwF":or?"XWF":"YMD")+(rt?"Phmsf":"Hmsf"),Dn=this.environment.timestamp;let On=!1,Ln=!1;if(Rn.split("").forEach(Ye=>{if(typeof lt[Ye]>"u")On?(lt[Ye]="MDd".indexOf(Ye)!==-1?1:0,Ln=!0):lt[Ye]=ce(Dn,Ye);else if(On=!0,Ln)throw{code:"D3136"}}),lt.M>0?lt.M-=1:lt.M=0,Tn){const Ye=Date.UTC(lt.Y,0),j=(lt.d-1)*1e3*60*60*24,J=new Date(Ye+j);lt.M=J.getUTCMonth(),lt.D=J.getUTCDate()}if(rr)throw{code:"D3136"};if(or)throw{code:"D3136"};rt&&(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 He=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 Je(Z,re){if(!(typeof Z>"u"))if(typeof re>"u"){if(!He.test(Z))throw{stack:new Error().stack,code:"D3110",value:Z};return Date.parse(Z)}else return Oe.call(this,Z,re)}function We(Z,re,K){if(!(typeof Z>"u"))return Te.call(this,Z,re,K)}return{formatInteger:N,parseInteger:W,fromMillis:We,toMillis:Je}}();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,k=d.isFunction,M=d.isLambda,P=d.isPromise,U=d.getFunctionArity,G=d.isDeepEqual,Y=d.stringToArray;function A($){if(!(typeof $>"u")){var F=0;return $.forEach(function(q){F+=q}),F}}function _($){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 X($){if(!(typeof $>"u"||$.length===0)){var F=0;return $.forEach(function(q){F+=q}),F/$.length}}function fe($,F=!1){if(!(typeof $>"u")){var q;if(typeof $=="string")q=$;else if(k($))q="";else{if(typeof $=="number"&&!isFinite($))throw{code:"D3001",value:$,stack:new Error().stack};var se=F?2:0;Array.isArray($)&&$.outerWrapper&&($=$[0]),q=JSON.stringify($,function(ie,_e){return typeof _e<"u"&&_e!==null&&_e.toPrecision&&b(_e)?Number(_e.toPrecision(15)):_e&&k(_e)?"":_e},se)}return q}}function Ce($,F,q){if(!(typeof $>"u")){var se=Y($),ie=se.length;if(ie+F<0&&(F=0),typeof q<"u"){if(q<=0)return"";var _e=F>=0?F+q:ie+F+q;return se.slice(F,_e).join("")}return se.slice(F).join("")}}function V($,F){if(!(typeof $>"u")){var q=$.indexOf(F);return q>-1?$.substr(0,q):$}}function ve($,F){if(!(typeof $>"u")){var q=$.indexOf(F);return q>-1?$.substr(q+F.length):$}}function we($){if(!(typeof $>"u"))return $.toLowerCase()}function ue($){if(!(typeof $>"u"))return $.toUpperCase()}function Se($){if(!(typeof $>"u"))return Y($).length}function Ee($){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 ge($,F,q){if(!(typeof $>"u")){(typeof q>"u"||q.length===0)&&(q=" ");var se;F=Math.trunc(F);var ie=Math.abs(F)-Se($);if(ie>0){var _e=new Array(ie+1).join(q);q.length>1&&(_e=Ce(_e,0,ie)),F>0?se=$+_e:se=_e+$}else se=$;return se}}async function De($,F){var q=$.apply(this,[F]);if(P(q)&&(q=await q),q&&!(typeof q.start=="number"||q.end==="number"||Array.isArray(q.groups)||k(q.next)))throw{code:"T1010",stack:new Error().stack};return q}async function ke($,F){if(!(typeof $>"u")){var q;if(typeof F=="string")q=$.indexOf(F)!==-1;else{var se=await De(F,$);q=typeof se<"u"}return q}}async function ce($,F,q){if(!(typeof $>"u")){if(q<0)throw{stack:new Error().stack,value:q,code:"D3040",index:3};var se=w();if(typeof q>"u"||q>0){var ie=0,_e=await De(F,$);if(typeof _e<"u")for(;typeof _e<"u"&&(typeof q>"u"||ie<q);)se.push({match:_e.match,index:_e.start,groups:_e.groups}),_e=await De(_e.next),ie++}return se}}async function oe($,F,q,se){if(!(typeof $>"u")){var ie=this;if(F==="")throw{code:"D3010",stack:new Error().stack,value:F,index:2};if(se<0)throw{code:"D3011",stack:new Error().stack,value:se,index:4};var _e;typeof q=="string"?_e=function(pn){for(var Xn="",an=0,ne=q.indexOf("$",an);ne!==-1&&an<q.length;){Xn+=q.substring(an,ne),an=ne+1;var Ge=q.charAt(an);if(Ge==="$")Xn+="$",an++;else if(Ge==="0")Xn+=pn.match,an++;else{var ot;if(pn.groups.length===0?ot=1:ot=Math.floor(Math.log(pn.groups.length)*Math.LOG10E)+1,ne=parseInt(q.substring(an,an+ot),10),ot>1&&ne>pn.groups.length&&(ne=parseInt(q.substring(an,an+ot-1),10)),isNaN(ne))Xn+="$";else{if(pn.groups.length>0){var Lt=pn.groups[ne-1];typeof Lt<"u"&&(Xn+=Lt)}an+=ne.toString().length}}ne=q.indexOf("$",an)}return Xn+=q.substring(an),Xn}:_e=q;var nt="",Tt=0;if(typeof se>"u"||se>0){var $t=0;if(typeof F=="string"){for(var fn=$.indexOf(F,Tt);fn!==-1&&(typeof se>"u"||$t<se);)nt+=$.substring(Tt,fn),nt+=q,Tt=fn+F.length,$t++,fn=$.indexOf(F,Tt);nt+=$.substring(Tt)}else{var zt=await De(F,$);if(typeof zt<"u"){for(;typeof zt<"u"&&(typeof se>"u"||$t<se);){nt+=$.substring(Tt,zt.start);var bn=_e.apply(ie,[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 De(zt.next)}nt+=$.substring(Tt)}else nt=$}}else nt=$;return nt}}function Te($){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 Oe($){if(!(typeof $>"u")){var F;try{F=encodeURI($)}catch{throw{code:"D3140",stack:new Error().stack,value:$,functionName:"encodeUrl"}}return F}}function He($){if(!(typeof $>"u")){var F;try{F=decodeURIComponent($)}catch{throw{code:"D3140",stack:new Error().stack,value:$,functionName:"decodeUrlComponent"}}return F}}function Je($){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 se=[];if(typeof q>"u"||q>0)if(typeof F=="string")se=$.split(F,q);else{var ie=0,_e=await De(F,$);if(typeof _e<"u"){for(var nt=0;typeof _e<"u"&&(typeof q>"u"||ie<q);)se.push($.substring(nt,_e.start)),nt=_e.end,_e=await De(_e.next),ie++;(typeof q>"u"||ie<q)&&se.push($.substring(nt))}else se.push($)}return se}}function Z($,F){if(!(typeof $>"u"))return typeof F>"u"&&(F=""),$.join(F)}function re($,F,q){if(!(typeof $>"u")){var se={"decimal-separator":".","grouping-separator":",","exponent-separator":"e",infinity:"Infinity","minus-sign":"-",NaN:"NaN",percent:"%","per-mille":"‰","zero-digit":"0",digit:"#","pattern-separator":";"},ie=se;typeof q<"u"&&Object.keys(q).forEach(function(Ht){ie[Ht]=q[Ht]});for(var _e=[],nt=ie["zero-digit"].charCodeAt(0),Tt=nt;Tt<nt+10;Tt++)_e.push(String.fromCharCode(Tt));var $t=_e.concat([ie["decimal-separator"],ie["exponent-separator"],ie["grouping-separator"],ie.digit,ie["pattern-separator"]]),fn=F.split(ie["pattern-separator"]);if(fn.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!==ie["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!==ie["exponent-separator"])return Ht.substring(Tr+1)}(),yn=Ht.substring(Bn.length,Ht.length-gr.length),lo,Er,Eo,Ii,so=Ht.indexOf(ie["exponent-separator"],Bn.length);so===-1||so>Ht.length-gr.length?(lo=yn,Er=void 0):(lo=yn.substring(0,so),Er=yn.substring(so+1));var Zr=lo.indexOf(ie["decimal-separator"]);return Zr===-1?(Eo=lo,Ii=gr):(Eo=lo.substring(0,Zr),Ii=lo.substring(Zr+1)),{prefix:Bn,suffix:gr,activePart:yn,mantissaPart:lo,exponentPart:Er,integerPart:Eo,fractionalPart:Ii,subpicture:Ht}},bn=function(Ht){var Bn,gr,yn=Ht.subpicture,lo=yn.indexOf(ie["decimal-separator"]);lo!==yn.lastIndexOf(ie["decimal-separator"])&&(Bn="D3081"),yn.indexOf(ie.percent)!==yn.lastIndexOf(ie.percent)&&(Bn="D3082"),yn.indexOf(ie["per-mille"])!==yn.lastIndexOf(ie["per-mille"])&&(Bn="D3083"),yn.indexOf(ie.percent)!==-1&&yn.indexOf(ie["per-mille"])!==-1&&(Bn="D3084");var Er=!1;for(gr=0;gr<Ht.mantissaPart.length;gr++){var Eo=Ht.mantissaPart.charAt(gr);if(_e.indexOf(Eo)!==-1||Eo===ie.digit){Er=!0;break}}Er||(Bn="D3085");var Ii=Ht.activePart.split("").map(function(Mn){return $t.indexOf(Mn)===-1?"p":"a"}).join("");Ii.indexOf("p")!==-1&&(Bn="D3086"),lo!==-1?(yn.charAt(lo-1)===ie["grouping-separator"]||yn.charAt(lo+1)===ie["grouping-separator"])&&(Bn="D3087"):Ht.integerPart.charAt(Ht.integerPart.length-1)===ie["grouping-separator"]&&(Bn="D3088"),yn.indexOf(ie["grouping-separator"]+ie["grouping-separator"])!==-1&&(Bn="D3089");var so=Ht.integerPart.indexOf(ie.digit);so!==-1&&Ht.integerPart.substring(0,so).split("").filter(function(Mn){return _e.indexOf(Mn)>-1}).length>0&&(Bn="D3090"),so=Ht.fractionalPart.lastIndexOf(ie.digit),so!==-1&&Ht.fractionalPart.substring(so).split("").filter(function(Mn){return _e.indexOf(Mn)>-1}).length>0&&(Bn="D3091");var Zr=typeof Ht.exponentPart=="string";if(Zr&&Ht.exponentPart.length>0&&(yn.indexOf(ie.percent)!==-1||yn.indexOf(ie["per-mille"])!==-1)&&(Bn="D3092"),Zr&&(Ht.exponentPart.length===0||Ht.exponentPart.split("").filter(function(Mn){return _e.indexOf(Mn)===-1}).length>0)&&(Bn="D3093"),Bn)throw{code:Bn,stack:new Error().stack}},pn=function(Ht){var Bn=function(zr,pl){for(var Fi=[],qo=zr.indexOf(ie["grouping-separator"]);qo!==-1;){var hl=(pl?zr.substring(0,qo):zr.substring(qo)).split("").filter(function(Qo){return _e.indexOf(Qo)!==-1||Qo===ie.digit}).length;Fi.push(hl),qo=Ht.integerPart.indexOf(ie["grouping-separator"],qo+1)}return Fi},gr=Bn(Ht.integerPart),yn=function(zr){if(zr.length===0)return 0;for(var pl=function(hl,Qo){return Qo===0?hl:pl(Qo,hl%Qo)},Fi=zr.reduce(pl),qo=1;qo<=zr.length;qo++)if(zr.indexOf(qo*Fi)===-1)return 0;return Fi},lo=yn(gr),Er=Bn(Ht.fractionalPart,!0),Eo=Ht.integerPart.split("").filter(function(zr){return _e.indexOf(zr)!==-1}).length,Ii=Eo,so=Ht.fractionalPart.split(""),Zr=so.filter(function(zr){return _e.indexOf(zr)!==-1}).length,Mn=so.filter(function(zr){return _e.indexOf(zr)!==-1||zr===ie.digit}).length,Tr=typeof Ht.exponentPart=="string";Eo===0&&Mn===0&&(Tr?(Zr=1,Mn=1):Eo=1),Tr&&Eo===0&&Ht.integerPart.indexOf(ie.digit)!==-1&&(Eo=1),Eo===0&&Zr===0&&(Zr=1);var di=0;return Tr&&(di=Ht.exponentPart.split("").filter(function(zr){return _e.indexOf(zr)!==-1}).length),{integerPartGroupingPositions:gr,regularGrouping:lo,minimumIntegerPartSize:Eo,scalingFactor:Ii,prefix:Ht.prefix,fractionalPartGroupingPositions:Er,minimumFactionalPartSize:Zr,maximumFactionalPartSize:Mn,minimumExponentSize:di,suffix:Ht.suffix,picture:Ht.subpicture}},Xn=fn.map(zt);Xn.forEach(bn);var an=Xn.map(pn),ne=ie["minus-sign"],Ge=ie["zero-digit"],ot=ie["decimal-separator"],Lt=ie["grouping-separator"];an.length===1&&(an.push(JSON.parse(JSON.stringify(an[0]))),an[1].prefix=ne+an[1].prefix);var At;$>=0?At=an[0]:At=an[1];var Wt;At.picture.indexOf(ie.percent)!==-1?Wt=$*100:At.picture.indexOf(ie["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 Ge!=="0"&&(gr=gr.split("").map(function(yn){return yn>="0"&&yn<="9"?_e[yn.charCodeAt(0)-48]:yn}).join("")),gr},Yt=Kr(ar,At.maximumFactionalPartSize),Jn=Yt.indexOf(".");for(Jn===-1?Yt=Yt+ot:Yt=Yt.replace(".",ot);Yt.charAt(0)===Ge;)Yt=Yt.substring(1);for(;Yt.charAt(Yt.length-1)===Ge;)Yt=Yt.substring(0,Yt.length-1);Jn=Yt.indexOf(ot);var Xt=At.minimumIntegerPartSize-Jn,nn=At.minimumFactionalPartSize-(Yt.length-Jn-1);if(Yt=(Xt>0?new Array(Xt+1).join(Ge):"")+Yt,Yt=Yt+(nn>0?new Array(nn+1).join(Ge):""),Jn=Yt.indexOf(ot),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),Lt,Yt.slice(Jn-ci*At.regularGrouping)].join("");else At.integerPartGroupingPositions.forEach(function(Ht){Yt=[Yt.slice(0,Jn-Ht),Lt,Yt.slice(Jn-Ht)].join(""),Jn++});if(Jn=Yt.indexOf(ot),At.fractionalPartGroupingPositions.forEach(function(Ht){Yt=[Yt.slice(0,Ht+Jn+1),Lt,Yt.slice(Ht+Jn+1)].join("")}),Jn=Yt.indexOf(ot),(At.picture.indexOf(ot)===-1||Jn===Yt.length-1)&&(Yt=Yt.substring(0,Yt.length-1)),typeof en<"u"){var fi=Kr(en,0);Xt=At.minimumExponentSize-fi.length,Xt>0&&(fi=new Array(Xt+1).join(Ge)+fi),Yt=Yt+ie["exponent-separator"]+(en<0?ne:"")+fi}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 be($){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 ee($){var F;if(!(typeof $>"u"))return F=Math.abs($),F}function Ne($){var F;if(!(typeof $>"u"))return F=Math.floor($),F}function ye($){var F;if(!(typeof $>"u"))return F=Math.ceil($),F}function Fe($,F){var q;if(!(typeof $>"u")){if(F){var se=$.toString().split("e");$=+(se[0]+"e"+(se[1]?+se[1]+F:F))}q=Math.round($);var ie=q-$;return Math.abs(ie)===.5&&Math.abs(q%2)===1&&(q=q-1),F&&(se=q.toString().split("e"),q=+(se[0]+"e"+(se[1]?+se[1]-F:-F))),Object.is(q,-0)&&(q=0),q}}function at($){var F;if(!(typeof $>"u")){if($<0)throw{stack:new Error().stack,code:"D3060",index:1,value:$};return F=Math.sqrt($),F}}function It($,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 jt(){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(se){return vt(se)});F=q.length>0}}else typeof $=="string"?$.length>0&&(F=!0):b($)?$!==0&&(F=!0):$!==null&&typeof $=="object"&&!k($)?Object.keys($).length>0&&(F=!0):typeof $=="boolean"&&$===!0&&(F=!0);return F}}function gt($){if(!(typeof $>"u"))return!vt($)}function Ct($,F,q,se){var ie=[F],_e=U($);return _e>=2&&ie.push(q),_e>=3&&ie.push(se),ie}async function lt($,F){if(!(typeof $>"u")){for(var q=w(),se=0;se<$.length;se++){var ie=Ct(F,$[se],se,$),_e=await F.apply(this,ie);typeof _e<"u"&&q.push(_e)}return q}}async function sn($,F){if(!(typeof $>"u")){for(var q=w(),se=0;se<$.length;se++){var ie=$[se],_e=Ct(F,ie,se,$),nt=await F.apply(this,_e);vt(nt)&&q.push(ie)}return q}}async function mn($,F){if(!(typeof $>"u")){for(var q=!1,se,ie=0;ie<$.length;ie++){var _e=$[ie],nt=!0;if(typeof F<"u"){var Tt=Ct(F,_e,ie,$),$t=await F.apply(this,Tt);nt=vt($t)}if(nt)if(!q)se=_e,q=!0;else throw{stack:new Error().stack,code:"D3138",index:ie}}if(!q)throw{stack:new Error().stack,code:"D3139"};return se}}function dn(){for(var $=[],F=Array.prototype.slice.call(arguments),q=Math.min.apply(Math,F.map(function(_e){return Array.isArray(_e)?_e.length:0})),se=0;se<q;se++){var ie=F.map(_e=>_e[se]);$.push(ie)}return $}async function un($,F,q){if(!(typeof $>"u")){var se,ie=U(F);if(ie<2)throw{stack:new Error().stack,code:"D3050",index:1};var _e;for(typeof q>"u"&&$.length>0?(se=$[0],_e=1):(se=q,_e=0);_e<$.length;){var nt=[se,$[_e]];ie>=3&&nt.push(_e),ie>=4&&nt.push($),se=await F.apply(this,nt),_e++}return se}}function Tn($){var F=w();if(Array.isArray($)){var q={};$.forEach(function(se){var ie=Tn(se);ie.forEach(function(_e){q[_e]=!0})}),F=Tn(q)}else $!==null&&typeof $=="object"&&!k($)&&Object.keys($).forEach(se=>F.push(se));return F}function rr($,F){var q;if(Array.isArray($)){q=w();for(var se=0;se<$.length;se++){var ie=rr($[se],F);typeof ie<"u"&&(Array.isArray(ie)?ie.forEach(_e=>q.push(_e)):q.push(ie))}}else $!==null&&typeof $=="object"&&!k($)&&(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 rt($){var F=w();if(Array.isArray($))$.forEach(function(ie){F=or(F,rt(ie))});else if($!==null&&typeof $=="object"&&!M($))for(var q in $){var se={};se[q]=$[q],F.push(se)}else F=$;return F}function Be($){if(!(typeof $>"u")){var F={};return $.forEach(function(q){for(var se in q)F[se]=q[se]}),F}}function cn($){if(!(typeof $>"u")){if($.length<=1)return $;for(var F=$.length,q=new Array(F),se=0;se<F;se++)q[F-se-1]=$[se];return q}}async function Rn($,F){var q=w();for(var se in $){var ie=Ct(F,$[se],se,$),_e=await F.apply(this,ie);typeof _e<"u"&&q.push(_e)}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":k($)?"function":"object"}async function Ye($,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 se=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))},fn=[];return await $t(fn,nt,Tt),fn},ie=async function(nt){if(!Array.isArray(nt)||nt.length<=1)return nt;var Tt=Math.floor(nt.length/2),$t=nt.slice(0,Tt),fn=nt.slice(Tt);return $t=await ie($t),fn=await ie(fn),await se($t,fn)},_e=await ie($);return _e}}function j($){if(!(typeof $>"u")){if($.length<=1)return $;for(var F=new Array($.length),q=0;q<$.length;q++){var se=Math.floor(Math.random()*(q+1));q!==se&&(F[q]=F[se]),F[se]=$[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 se=$[q],ie=!1,_e=0;_e<F.length;_e++)if(G(se,F[_e])){ie=!0;break}ie||F.push(se)}return F}}async function ae($,F){var q={};for(var se in $){var ie=$[se],_e=Ct(F,ie,se,$),nt=await F.apply(this,_e);vt(nt)&&(q[se]=ie)}return Object.keys(q).length===0&&(q=void 0),q}return{sum:A,count:_,max:N,min:z,average:X,string:fe,substring:Ce,substringBefore:V,substringAfter:ve,lowercase:we,uppercase:ue,length:Se,trim:Ee,pad:ge,match:ce,contains:ke,replace:oe,split:We,join:Z,formatNumber:re,formatBase:K,number:be,floor:Ne,ceil:ye,round:Fe,abs:ee,sqrt:at,power:It,random:jt,boolean:vt,not:gt,map:lt,zip:dn,filter:sn,single:mn,foldLeft:un,sift:ae,keys:Tn,lookup:rr,append:or,exists:it,spread:rt,merge:Be,reverse:cn,each:Rn,error:Dn,assert:On,type:Ln,sort:Ye,shuffle:j,distinct:J,base64encode:Te,base64decode:B,encodeUrlComponent:W,encodeUrl:Oe,decodeUrlComponent:He,decodeUrl:Je}})();s.exports=v}).call(this)}).call(this,typeof rO<"u"?rO: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,k=v.isArrayOfNumbers,M=v.createSequence,P=v.isSequence,U=v.isFunction,G=v.isLambda,Y=v.isIterable,A=v.isPromise,_=v.getFunctionArity,N=v.isDeepEqual,z=Dn(null);async function X(j,J,ae){var $,F=ae.lookup(Symbol.for("jsonata.__evaluate_entry"));switch(F&&await F(j,J,ae),j.type){case"path":$=await fe(j,J,ae);break;case"binary":$=await Se(j,J,ae);break;case"unary":$=await Ee(j,J,ae);break;case"name":$=ge(j,J);break;case"string":case"number":case"value":$=De(j);break;case"wildcard":$=ke(j,J);break;case"descendant":$=oe(j,J);break;case"parent":$=ae.lookup(j.slot.label);break;case"condition":$=await Ne(j,J,ae);break;case"block":$=await ye(j,J,ae);break;case"bind":$=await ee(j,J,ae);break;case"regex":$=Fe(j);break;case"function":$=await Ct(j,J,ae);break;case"variable":$=at(j,J,ae);break;case"lambda":$=mn(j,J,ae);break;case"partial":$=await dn(j,J,ae);break;case"apply":$=await gt(j,J,ae);break;case"transform":$=jt(j,J,ae);break}if(Object.prototype.hasOwnProperty.call(j,"predicate"))for(var q=0;q<j.predicate.length;q++)$=await ue(j.predicate[q].expr,$,ae);j.type!=="path"&&Object.prototype.hasOwnProperty.call(j,"group")&&($=await re(j.group,$,ae));var se=ae.lookup(Symbol.for("jsonata.__evaluate_exit"));return se&&await se(j,J,ae,$),$&&P($)&&!$.tupleStream&&(j.keepArray&&($.keepSingleton=!0),$.length===0?$=void 0:$.length===1&&($=$.keepSingleton?$:$[0])),$}async function fe(j,J,ae){var $;Array.isArray(J)&&j.steps[0].type!=="variable"?$=J:$=M(J);for(var F,q=!1,se=void 0,ie=0;ie<j.steps.length;ie++){var _e=j.steps[ie];if(_e.tuple&&(q=!0),ie===0&&_e.consarray?F=await X(_e,$,ae):q?se=await we(_e,$,se,ae):F=await V(_e,$,ae,ie===j.steps.length-1),!q&&(typeof F>"u"||F.length===0))break;typeof _e.focus>"u"&&($=F)}if(q)if(j.tuple)F=se;else for(F=M(),ie=0;ie<se.length;ie++)F.push(se[ie]["@"]);return j.keepSingletonArray&&(Array.isArray(F)&&F.cons&&!F.sequence&&(F=M(F)),F.keepSingleton=!0),j.hasOwnProperty("group")&&(F=await re(j.group,q?se:F,ae)),F}function Ce(j,J){var ae=Dn(j);for(const $ in J)ae.bind($,J[$]);return ae}async function V(j,J,ae,$){var F;if(j.type==="sort")return F=await It(j,J,ae),j.stages&&(F=await ve(j.stages,F,ae)),F;F=M();for(var q=0;q<J.length;q++){var se=await X(j,J[q],ae);if(j.stages)for(var ie=0;ie<j.stages.length;ie++)se=await ue(j.stages[ie].expr,se,ae);typeof se<"u"&&F.push(se)}var _e=M();return $&&F.length===1&&Array.isArray(F[0])&&!P(F[0])?_e=F[0]:F.forEach(function(nt){!Array.isArray(nt)||nt.cons?_e.push(nt):nt.forEach(Tt=>_e.push(Tt))}),_e}async function ve(j,J,ae){for(var $=J,F=0;F<j.length;F++){var q=j[F];switch(q.type){case"filter":$=await ue(q.expr,$,ae);break;case"index":for(var se=0;se<$.length;se++){var ie=$[se];ie[q.value]=se}break}}return $}async function we(j,J,ae,$){var F;if(j.type==="sort"){if(ae)F=await It(j,ae,$);else{var q=await It(j,J,$);F=M(),F.tupleStream=!0;for(var se=0;se<q.length;se++){var ie={"@":q[se]};ie[j.index]=se,F.push(ie)}}return j.stages&&(F=await ve(j.stages,F,$)),F}F=M(),F.tupleStream=!0;var _e=$;ae===void 0&&(ae=J.map(fn=>({"@":fn})));for(var nt=0;nt<ae.length;nt++){_e=Ce($,ae[nt]);var Tt=await X(j,ae[nt]["@"],_e);if(typeof Tt<"u"){Array.isArray(Tt)||(Tt=[Tt]);for(var $t=0;$t<Tt.length;$t++)ie={},Object.assign(ie,ae[nt]),Tt.tupleStream?Object.assign(ie,Tt[$t]):(j.focus?(ie[j.focus]=Tt[$t],ie["@"]=ae[nt]["@"]):ie["@"]=Tt[$t],j.index&&(ie[j.index]=$t),j.ancestor&&(ie[j.ancestor.label]=ae[nt]["@"])),F.push(ie)}}return j.stages&&(F=await ve(j.stages,F,$)),F}async function ue(j,J,ae){var $=M();if(J&&J.tupleStream&&($.tupleStream=!0),Array.isArray(J)||(J=M(J)),j.type==="number"){var F=Math.floor(j.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],se=q,ie=ae;J.tupleStream&&(se=q["@"],ie=Ce(ae,q));var _e=await X(j,se,ie);w(_e)&&(_e=[_e]),k(_e)?_e.forEach(function(Tt){var $t=Math.floor(Tt);$t<0&&($t=J.length+$t),$t===F&&$.push(q)}):d.boolean(_e)&&$.push(q)}return $}async function Se(j,J,ae){var $,F=await X(j.lhs,J,ae),q=j.value,se=async()=>await X(j.rhs,J,ae);if(q==="and"||q==="or")try{return await Je(F,se,q)}catch(_e){throw _e.position=j.position,_e.token=q,_e}var ie=await se();try{switch(q){case"+":case"-":case"*":case"/":case"%":$=B(F,ie,q);break;case"=":case"!=":$=W(F,ie,q);break;case"<":case"<=":case">":case">=":$=Oe(F,ie,q);break;case"&":$=Z(F,ie);break;case"..":$=be(F,ie);break;case"in":$=He(F,ie);break}}catch(_e){throw _e.position=j.position,_e.token=q,_e}return $}async function Ee(j,J,ae){var $;switch(j.value){case"-":if($=await X(j.expression,J,ae),typeof $>"u")$=void 0;else if(w($))$=-$;else throw{code:"D1002",stack:new Error().stack,position:j.position,token:j.value,value:$};break;case"[":$=[];let se=await Promise.all(j.expressions.map(async(ie,_e)=>(ae.isParallelCall=_e>0,[ie,await X(ie,J,ae)])));for(let ie of se){var[F,q]=ie;typeof q<"u"&&(F.value==="["?$.push(q):$=d.append($,q))}j.consarray&&Object.defineProperty($,"cons",{enumerable:!1,configurable:!1,value:!0});break;case"{":$=await re(j,J,ae);break}return $}function ge(j,J,ae){return d.lookup(J,j.value)}function De(j){return j.value}function ke(j,J){var ae=M();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=ce(F),ae=d.append(ae,F)):ae.push(F)}),ae}function ce(j,J){return typeof J>"u"&&(J=[]),Array.isArray(j)?j.forEach(function(ae){ce(ae,J)}):J.push(j),J}function oe(j,J){var ae,$=M();return typeof J<"u"&&(Te(J,$),$.length===1?ae=$[0]:ae=$),ae}function Te(j,J){Array.isArray(j)||J.push(j),Array.isArray(j)?j.forEach(function(ae){Te(ae,J)}):j!==null&&typeof j=="object"&&Object.keys(j).forEach(function(ae){Te(j[ae],J)})}function B(j,J,ae){var $;if(typeof j<"u"&&!w(j))throw{code:"T2001",stack:new Error().stack,value:j};if(typeof J<"u"&&!w(J))throw{code:"T2002",stack:new Error().stack,value:J};if(typeof j>"u"||typeof J>"u")return $;switch(ae){case"+":$=j+J;break;case"-":$=j-J;break;case"*":$=j*J;break;case"/":$=j/J;break;case"%":$=j%J;break}return $}function W(j,J,ae){var $,F=typeof j,q=typeof J;if(F==="undefined"||q==="undefined")return!1;switch(ae){case"=":$=N(j,J);break;case"!=":$=!N(j,J);break}return $}function Oe(j,J,ae){var $,F=typeof j,q=typeof J,se=F==="undefined"||F==="string"||F==="number",ie=q==="undefined"||q==="string"||q==="number";if(!se||!ie)throw{code:"T2010",stack:new Error().stack,value:F==="string"||F==="number"?J:j};if(!(F==="undefined"||q==="undefined")){if(F!==q)throw{code:"T2009",stack:new Error().stack,value:j,value2:J};switch(ae){case"<":$=j<J;break;case"<=":$=j<=J;break;case">":$=j>J;break;case">=":$=j>=J;break}return $}}function He(j,J){var ae=!1;if(typeof j>"u"||typeof J>"u")return!1;Array.isArray(J)||(J=[J]);for(var $=0;$<J.length;$++)if(J[$]===j){ae=!0;break}return ae}async function Je(j,J,ae){var $,F=We(j);switch(ae){case"and":$=F&&We(await J());break;case"or":$=F||We(await J());break}return $}function We(j){var J=d.boolean(j);return typeof J>"u"?!1:J}function Z(j,J){var ae,$="",F="";return typeof j<"u"&&($=d.string(j)),typeof J<"u"&&(F=d.string(J)),ae=$.concat(F),ae}async function re(j,J,ae){var $={},F={},q=!!(J&&J.tupleStream);Array.isArray(J)||(J=M(J)),J.length===0&&J.push(void 0);for(var se=0;se<J.length;se++)for(var ie=J[se],_e=q?Ce(ae,ie):ae,nt=0;nt<j.lhs.length;nt++){var Tt=j.lhs[nt],$t=await X(Tt[0],q?ie["@"]:ie,_e);if(typeof $t!="string"&&$t!==void 0)throw{code:"T1003",stack:new Error().stack,position:j.position,value:$t};if($t!==void 0){var fn={data:ie,exprIndex:nt};if(F.hasOwnProperty($t)){if(F[$t].exprIndex!==nt)throw{code:"D1009",stack:new Error().stack,position:j.position,value:$t};F[$t].data=d.append(F[$t].data,ie)}else F[$t]=fn}}let zt=await Promise.all(Object.keys(F).map(async(pn,Xn)=>{let an=F[pn];var ne=an.data,Ge=ae;if(q){var ot=K(an.data);ne=ot["@"],delete ot["@"],Ge=Ce(ae,ot)}return ae.isParallelCall=Xn>0,[pn,await X(j.lhs[an.exprIndex][1],ne,Ge)]}));for(let pn of zt){var[$t,bn]=await pn;typeof bn<"u"&&($[$t]=bn)}return $}function K(j){if(!Array.isArray(j))return j;var J={};Object.assign(J,j[0]);for(var ae=1;ae<j.length;ae++)for(const $ in j[ae])J[$]=d.append(J[$],j[ae][$]);return J}function be(j,J){var ae;if(typeof j<"u"&&!Number.isInteger(j))throw{code:"T2003",stack:new Error().stack,value:j};if(typeof J<"u"&&!Number.isInteger(J))throw{code:"T2004",stack:new Error().stack,value:J};if(typeof j>"u"||typeof J>"u"||j>J)return ae;var $=J-j+1;if($>1e7)throw{code:"D2014",stack:new Error().stack,value:$};ae=new Array($);for(var F=j,q=0;F<=J;F++,q++)ae[q]=F;return ae.sequence=!0,ae}async function ee(j,J,ae){var $=await X(j.rhs,J,ae);return ae.bind(j.lhs.value,$),$}async function Ne(j,J,ae){var $,F=await X(j.condition,J,ae);return d.boolean(F)?$=await X(j.then,J,ae):typeof j.else<"u"&&($=await X(j.else,J,ae)),$}async function ye(j,J,ae){for(var $,F=Dn(ae),q=0;q<j.expressions.length;q++)$=await X(j.expressions[q],J,F);return $}function Fe(j){var J=new Ye.RegexEngine(j.value),ae=function($,F){var q;J.lastIndex=F||0;var se=J.exec($);if(se!==null){if(q={match:se[0],start:se.index,end:se.index+se[0].length,groups:[]},se.length>1)for(var ie=1;ie<se.length;ie++)q.groups.push(se[ie]);q.next=function(){if(!(J.lastIndex>=$.length)){var _e=ae($,J.lastIndex);if(_e&&_e.match==="")throw{code:"D1004",stack:new Error().stack,position:j.position,value:j.value.source};return _e}}}return q};return ae}function at(j,J,ae){var $;return j.value===""?$=J&&J.outerWrapper?J[0]:J:$=ae.lookup(j.value),$}async function It(j,J,ae){var $,F=J,q=!!J.tupleStream,se=async function(_e,nt){for(var Tt=0,$t=0;Tt===0&&$t<j.terms.length;$t++){var fn=j.terms[$t],zt=_e,bn=ae;q&&(zt=_e["@"],bn=Ce(ae,_e));var pn=await X(fn.expression,zt,bn);zt=nt,bn=ae,q&&(zt=nt["@"],bn=Ce(ae,nt));var Xn=await X(fn.expression,zt,bn),an=typeof pn,ne=typeof Xn;if(an==="undefined"){Tt=ne==="undefined"?0:1;continue}if(ne==="undefined"){Tt=-1;continue}if(!(an==="string"||an==="number")||!(ne==="string"||ne==="number"))throw{code:"T2008",stack:new Error().stack,position:j.position,value:an==="string"||an==="number"?Xn:pn};if(an!==ne)throw{code:"T2007",stack:new Error().stack,position:j.position,value:pn,value2:Xn};pn!==Xn&&(pn<Xn?Tt=-1:Tt=1,fn.descending===!0&&(Tt=-Tt))}return Tt===1},ie={environment:ae,input:J};return $=await d.sort.apply(ie,[F,se]),$}function jt(j,J,ae){var $=async function(F){if(!(typeof F>"u")){var q=ae.lookup("clone");if(!U(q))throw{code:"T2013",stack:new Error().stack,position:j.position};var se=await lt(q,[F],null,ae),ie=await X(j.pattern,se,ae);if(typeof ie<"u"){Array.isArray(ie)||(ie=[ie]);for(var _e=0;_e<ie.length;_e++){var nt=ie[_e];if(nt&&(nt.isPrototypeOf(se)||nt instanceof Object.constructor))throw{code:"D1010",stack:new Error().stack,position:j.position};var Tt=await X(j.update,nt,ae),$t=typeof Tt;if($t!=="undefined"){if($t!=="object"||Tt===null||Array.isArray(Tt))throw{code:"T2011",stack:new Error().stack,position:j.update.position,value:Tt};for(var fn in Tt)nt[fn]=Tt[fn]}if(typeof j.delete<"u"){var zt=await X(j.delete,nt,ae);if(typeof zt<"u"){var bn=zt;if(Array.isArray(zt)||(zt=[zt]),!R(zt))throw{code:"T2012",stack:new Error().stack,position:j.delete.position,value:bn};for(var pn=0;pn<zt.length;pn++)typeof nt=="object"&&nt!==null&&delete nt[zt[pn]]}}}}return se}};return Be($,"<(oa):o>")}var vt=b("function($f, $g) { function($x){ $g($f($x)) } }");async function gt(j,J,ae){var $,F=await X(j.lhs,J,ae);if(j.rhs.type==="function")$=await Ct(j.rhs,J,ae,{context:F});else{var q=await X(j.rhs,J,ae);if(!U(q))throw{code:"T2006",stack:new Error().stack,position:j.position,value:q};if(U(F)){var se=await X(vt,null,ae);$=await lt(se,[F,q],null,ae)}else $=await lt(q,[F],null,ae)}return $}async function Ct(j,J,ae,$){var F,q=await X(j.procedure,J,ae);if(typeof q>"u"&&j.procedure.type==="path"&&ae.lookup(j.procedure.steps[0].value))throw{code:"T1005",stack:new Error().stack,position:j.position,token:j.procedure.steps[0].value};var se=[];typeof $<"u"&&se.push($.context);for(var ie=0;ie<j.arguments.length;ie++){const nt=await X(j.arguments[ie],J,ae);if(U(nt)){const Tt=async function(...$t){return await lt(nt,$t,null,ae)};Tt.arity=_(nt),se.push(Tt)}else se.push(nt)}var _e=j.procedure.type==="path"?j.procedure.steps[0].value:j.procedure.value;try{typeof q=="object"&&(q.token=_e,q.position=j.position),F=await lt(q,se,J,ae)}catch(nt){throw nt.position||(nt.position=j.position),nt.token||(nt.token=_e),nt}return F}async function lt(j,J,ae,$){var F;for(F=await sn(j,J,ae,$);G(F)&&F.thunk===!0;){var q=await X(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 se=[],ie=0;ie<F.body.arguments.length;ie++)se.push(await X(F.body.arguments[ie],F.input,F.environment));F=await sn(q,se,ae,$)}return F}async function sn(j,J,ae,$){var F;try{var q=J;if(j&&(q=un(j.signature,J,ae)),G(j))F=await Tn(j,q);else if(j&&j._jsonata_function===!0){var se={environment:$,input:ae};F=j.implementation.apply(se,q),Y(F)&&(F=F.next().value),A(F)&&(F=await F)}else if(typeof j=="function")F=j.apply(ae,q),A(F)&&(F=await F);else throw{code:"T1006",stack:new Error().stack}}catch(ie){throw j&&(typeof ie.token>"u"&&typeof j.token<"u"&&(ie.token=j.token),ie.position=j.position||ie.position),ie}return F}function mn(j,J,ae){var $={_jsonata_lambda:!0,input:J,environment:ae,arguments:j.arguments,signature:j.signature,body:j.body};return j.thunk===!0&&($.thunk=!0),$.apply=async function(F,q){return await lt($,q,J,F?F.environment:ae)},$}async function dn(j,J,ae){for(var $,F=[],q=0;q<j.arguments.length;q++){var se=j.arguments[q];se.type==="operator"&&se.value==="?"?F.push(se):F.push(await X(se,J,ae))}var ie=await X(j.procedure,J,ae);if(typeof ie>"u"&&j.procedure.type==="path"&&ae.lookup(j.procedure.steps[0].value))throw{code:"T1007",stack:new Error().stack,position:j.position,token:j.procedure.steps[0].value};if(G(ie))$=rr(ie,F);else if(ie&&ie._jsonata_function===!0)$=or(ie.implementation,F);else if(typeof ie=="function")$=or(ie,F);else throw{code:"T1008",stack:new Error().stack,position:j.position,token:j.procedure.type==="path"?j.procedure.steps[0].value:j.procedure.value};return $}function un(j,J,ae){if(typeof j>"u")return J;var $=j.validate(J,ae);return $}async function Tn(j,J){var ae,$=Dn(j.environment);return j.arguments.forEach(function(F,q){$.bind(F.value,J[q])}),typeof j.body=="function"?ae=await it(j.body,$):ae=await X(j.body,j.input,$),ae}function rr(j,J){var ae=Dn(j.environment),$=[];j.arguments.forEach(function(q,se){var ie=J[se];ie&&ie.type==="operator"&&ie.value==="?"?$.push(q):ae.bind(q.value,ie)});var F={_jsonata_lambda:!0,input:j.input,environment:ae,arguments:$,body:j.body};return F}function or(j,J){var ae=rt(j);ae=ae.map(function(se){return"$"+se.trim()});var $="function("+ae.join(", ")+"){ _ }",F=b($);F.body=j;var q=rr(F,J);return q}async function it(j,J){var ae=rt(j),$=ae.map(function(se){return J.lookup(se.trim())}),F={environment:J},q=j.apply(F,$);return A(q)&&(q=await q),q}function rt(j){var J=j.toString(),ae=/\(([^)]*)\)/.exec(J)[1],$=ae.split(",");return $}function Be(j,J){var ae={_jsonata_function:!0,implementation:j};return typeof J<"u"&&(ae.signature=S(J)),ae}async function cn(j,J){if(!(typeof j>"u")){var ae=this.input;typeof J<"u"&&(ae=J,Array.isArray(ae)&&!P(ae)&&(ae=M(ae),ae.outerWrapper=!0));try{var $=b(j,!1)}catch(q){throw Ln(q),{stack:new Error().stack,code:"D3120",value:q.message,error:q}}try{var F=await X($,ae,this.environment)}catch(q){throw Ln(q),{stack:new Error().stack,code:"D3121",value:q.message,error:q}}return F}}function Rn(j){if(!(typeof j>"u"))return JSON.parse(d.string(j))}function Dn(j){var J={};const ae={bind:function(F,q){J[F]=q},lookup:function(F){var q;return J.hasOwnProperty(F)?q=J[F]:j&&(q=j.lookup(F)),q},timestamp:j?j.timestamp:null,async:j?j.async:!1,isParallelCall:j?j.isParallelCall:!1,global:j?j.global:{ancestry:[null]}};if(j){var $=j.lookup(Symbol.for("jsonata.__createFrame_push"));$&&$(j,ae)}return ae}z.bind("sum",Be(d.sum,"<a<n>:n>")),z.bind("count",Be(d.count,"<a:n>")),z.bind("max",Be(d.max,"<a<n>:n>")),z.bind("min",Be(d.min,"<a<n>:n>")),z.bind("average",Be(d.average,"<a<n>:n>")),z.bind("string",Be(d.string,"<x-b?:s>")),z.bind("substring",Be(d.substring,"<s-nn?:s>")),z.bind("substringBefore",Be(d.substringBefore,"<s-s:s>")),z.bind("substringAfter",Be(d.substringAfter,"<s-s:s>")),z.bind("lowercase",Be(d.lowercase,"<s-:s>")),z.bind("uppercase",Be(d.uppercase,"<s-:s>")),z.bind("length",Be(d.length,"<s-:n>")),z.bind("trim",Be(d.trim,"<s-:s>")),z.bind("pad",Be(d.pad,"<s-ns?:s>")),z.bind("match",Be(d.match,"<s-f<s:o>n?:a<o>>")),z.bind("contains",Be(d.contains,"<s-(sf):b>")),z.bind("replace",Be(d.replace,"<s-(sf)(sf)n?:s>")),z.bind("split",Be(d.split,"<s-(sf)n?:a<s>>")),z.bind("join",Be(d.join,"<a<s>s?:s>")),z.bind("formatNumber",Be(d.formatNumber,"<n-so?:s>")),z.bind("formatBase",Be(d.formatBase,"<n-n?:s>")),z.bind("formatInteger",Be(p.formatInteger,"<n-s:s>")),z.bind("parseInteger",Be(p.parseInteger,"<s-s:n>")),z.bind("number",Be(d.number,"<(nsb)-:n>")),z.bind("floor",Be(d.floor,"<n-:n>")),z.bind("ceil",Be(d.ceil,"<n-:n>")),z.bind("round",Be(d.round,"<n-n?:n>")),z.bind("abs",Be(d.abs,"<n-:n>")),z.bind("sqrt",Be(d.sqrt,"<n-:n>")),z.bind("power",Be(d.power,"<n-n:n>")),z.bind("random",Be(d.random,"<:n>")),z.bind("boolean",Be(d.boolean,"<x-:b>")),z.bind("not",Be(d.not,"<x-:b>")),z.bind("map",Be(d.map,"<af>")),z.bind("zip",Be(d.zip,"<a+>")),z.bind("filter",Be(d.filter,"<af>")),z.bind("single",Be(d.single,"<af?>")),z.bind("reduce",Be(d.foldLeft,"<afj?:j>")),z.bind("sift",Be(d.sift,"<o-f?:o>")),z.bind("keys",Be(d.keys,"<x-:a<s>>")),z.bind("lookup",Be(d.lookup,"<x-s:x>")),z.bind("append",Be(d.append,"<xx:a>")),z.bind("exists",Be(d.exists,"<x:b>")),z.bind("spread",Be(d.spread,"<x-:a<o>>")),z.bind("merge",Be(d.merge,"<a<o>:o>")),z.bind("reverse",Be(d.reverse,"<a:a>")),z.bind("each",Be(d.each,"<o-f:a>")),z.bind("error",Be(d.error,"<s?:x>")),z.bind("assert",Be(d.assert,"<bs?:x>")),z.bind("type",Be(d.type,"<x:s>")),z.bind("sort",Be(d.sort,"<af?:a>")),z.bind("shuffle",Be(d.shuffle,"<a:a>")),z.bind("distinct",Be(d.distinct,"<x:x>")),z.bind("base64encode",Be(d.base64encode,"<s-:s>")),z.bind("base64decode",Be(d.base64decode,"<s-:s>")),z.bind("encodeUrlComponent",Be(d.encodeUrlComponent,"<s-:s>")),z.bind("encodeUrl",Be(d.encodeUrl,"<s-:s>")),z.bind("decodeUrlComponent",Be(d.decodeUrlComponent,"<s-:s>")),z.bind("decodeUrl",Be(d.decodeUrl,"<s-:s>")),z.bind("eval",Be(cn,"<sx?:x>")),z.bind("toMillis",Be(p.toMillis,"<s-s?:n>")),z.bind("fromMillis",Be(p.fromMillis,"<n-s?s?:s>")),z.bind("clone",Be(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(j){var J=On[j.code];if(typeof J<"u"){var ae=J.replace(/\{\{\{([^}]+)}}}/g,function(){return j[arguments[1]]});ae=ae.replace(/\{\{([^}]+)}}/g,function(){return JSON.stringify(j[arguments[1]])}),j.message=ae}}function Ye(j,J){var ae,$;try{ae=b(j,J&&J.recover),$=ae.errors,delete ae.errors}catch(se){throw Ln(se),se}var F=Dn(z),q=new Date;return F.bind("now",Be(function(se,ie){return p.fromMillis(q.getTime(),se,ie)},"<s?s?:s>")),F.bind("millis",Be(function(){return q.getTime()},"<:n>")),J&&J.RegexEngine?Ye.RegexEngine=J.RegexEngine:Ye.RegexEngine=RegExp,{evaluate:async function(se,ie,_e){if(typeof $<"u"){var nt={code:"S0500",position:0};throw Ln(nt),nt}if(typeof ie<"u"){var Tt;Tt=Dn(F);for(var $t in ie)Tt.bind($t,ie[$t])}else Tt=F;Tt.bind("$",se),q=new Date,Tt.timestamp=q,Array.isArray(se)&&!P(se)&&(se=M(se),se.outerWrapper=!0);var fn;try{return fn=await X(ae,se,Tt),typeof _e=="function"&&_e(null,fn),fn}catch(zt){throw Ln(zt),zt}},assign:function(se,ie){F.bind(se,ie)},registerFunction:function(se,ie,_e){var nt=Be(ie,_e);F.bind(se,nt)},ast:function(){return ae},errors:function(){return $}}}return Ye.parser=b,Ye}();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:`
|
|
3291
|
-
`,r:"\r",t:" "},S=function(w){var R=0,k=w.length,M=function(G,
|
|
3292
|
-
\r\v`.indexOf(
|
|
3293
|
-
\r\v`.indexOf(Se)>-1||Object.prototype.hasOwnProperty.call(v,Se)){if(w.charAt(R)==="$")return ve=w.substring(R+1,ue),R=ue,M("variable",ve);switch(ve=w.substring(R,ue),R=ue,ve){case"or":case"in":case"and":return M("operator",ve);case"true":return M("value",!0);case"false":return M("value",!1);case"null":return M("value",null);default:return R===k&&ve===""?null:M("name",ve)}}else ue++};return U},T=function(w,R){var k,M,P={},U=[],G=function(){var B=[];k.id!=="(end)"&&B.push({type:k.type,value:k.value,position:k.position});for(var W=M();W!==null;)B.push(W),W=M();return B},Y={nud:function(){var B={code:"S0211",token:this.value,position:this.position};if(R)return B.remaining=G(),B.type="error",U.push(B),B;throw B.stack=new Error().stack,B}},A=function(B,W){var Oe=P[B];return W=W||0,Oe?W>=Oe.lbp&&(Oe.lbp=W):(Oe=Object.create(Y),Oe.id=Oe.value=B,Oe.lbp=W,P[B]=Oe),Oe},_=function(B){if(R){B.remaining=G(),U.push(B);var W=P["(error)"];return k=Object.create(W),k.error=B,k.type="(error)",k}else throw B.stack=new Error().stack,B},N=function(B,W){if(B&&k.id!==B){var Oe;k.id==="(end)"?Oe="S0203":Oe="S0202";var He={code:Oe,position:k.position,token:k.value,value:B};return _(He)}var Je=M(W);if(Je===null)return k=P["(end)"],k.position=w.length,k;var We=Je.value,Z=Je.type,re;switch(Z){case"name":case"variable":re=P["(name)"];break;case"operator":if(re=P[We],!re)return _({code:"S0204",stack:new Error().stack,position:Je.position,token:We});break;case"string":case"number":case"value":re=P["(literal)"];break;case"regex":Z="regex",re=P["(regex)"];break;default:return _({code:"S0205",stack:new Error().stack,position:Je.position,token:We})}return k=Object.create(re),k.value=We,k.type=Z,k.position=Je.position,k},z=function(B){var W,Oe=k;for(N(null,!0),W=Oe.nud();B<k.lbp;)Oe=k,N(),W=Oe.led(W);return W},X=function(B){var W=A(B,0);W.nud=function(){return this}},fe=function(B,W,Oe){var He=W||v[B],Je=A(B,He);return Je.led=Oe||function(We){return this.lhs=We,this.rhs=z(He),this.type="binary",this},Je},Ce=function(B,W,Oe){var He=A(B,W);return He.led=Oe,He},V=function(B,W){var Oe=A(B);return Oe.nud=W||function(){return this.expression=z(70),this.type="unary",this},Oe};X("(end)"),X("(name)"),X("(literal)"),X("(regex)"),A(":"),A(";"),A(","),A(")"),A("]"),A("}"),A(".."),fe("."),fe("+"),fe("-"),fe("*"),fe("/"),fe("%"),fe("="),fe("<"),fe(">"),fe("!="),fe("<="),fe(">="),fe("&"),fe("and"),fe("or"),fe("in"),X("and"),X("or"),X("in"),V("-"),fe("~>"),fe("??",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}),Ce("(error)",10,function(B){return this.lhs=B,this.error=k.error,this.remaining=G(),this.type="error",this}),V("*",function(){return this.type="wildcard",this}),V("**",function(){return this.type="descendant",this}),V("%",function(){return this.type="parent",this}),fe("(",v["("],function(B){if(this.procedure=B,this.type="function",this.arguments=[],k.id!==")")for(;k.type==="operator"&&k.id==="?"?(this.type="partial",this.arguments.push(k),N("?")):this.arguments.push(z(0)),k.id===",";)N(",");if(N(")",!0),B.type==="name"&&(B.value==="function"||B.value==="λ")){if(this.arguments.forEach(function(We,Z){if(We.type!=="variable")return _({code:"S0208",stack:new Error().stack,position:We.position,token:We.value,value:Z+1})}),this.type="lambda",k.id==="<"){for(var W=k.position,Oe=1,He="<";Oe>0&&k.id!=="{"&&k.id!=="(end)";){var Je=N();Je.id===">"?Oe--:Je.id==="<"&&Oe++,He+=Je.value}N(">");try{this.signature=p(He)}catch(We){return We.position=W+We.offset,_(We)}}N("{"),this.body=z(0),N("}")}return this}),V("(",function(){for(var B=[];k.id!==")"&&(B.push(z(0)),k.id===";");)N(";");return N(")",!0),this.type="block",this.expressions=B,this}),V("[",function(){var B=[];if(k.id!=="]")for(;;){var W=z(0);if(k.id===".."){var Oe={type:"binary",value:"..",position:k.position,lhs:W};N(".."),Oe.rhs=z(0),W=Oe}if(B.push(W),k.id!==",")break;N(",")}return N("]",!0),this.expressions=B,this.type="unary",this}),fe("[",v["["],function(B){if(k.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}),fe("^",v["^"],function(B){N("(");for(var W=[];;){var Oe={descending:!1};if(k.id==="<"?N("<"):k.id===">"&&(Oe.descending=!0,N(">")),Oe.expression=z(0),W.push(Oe),k.id!==",")break;N(",")}return N(")"),this.lhs=B,this.rhs=W,this.type="binary",this});var ve=function(B){var W=[];if(k.id!=="}")for(;;){var Oe=z(0);N(":");var He=z(0);if(W.push([Oe,He]),k.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};V("{",ve),fe("{",v["{"],ve),Ce(":=",v[":="],function(B){return B.type!=="variable"?_({code:"S0212",stack:new Error().stack,position:B.position,token:B.value}):(this.lhs=B,this.rhs=z(v[":="]-1),this.type="binary",this)}),fe("@",v["@"],function(B){return this.lhs=B,this.rhs=z(v["@"]),this.rhs.type!=="variable"?_({code:"S0214",stack:new Error().stack,position:this.rhs.position,token:"@"}):(this.type="binary",this)}),fe("#",v["#"],function(B){return this.lhs=B,this.rhs=z(v["#"]),this.rhs.type!=="variable"?_({code:"S0214",stack:new Error().stack,position:this.rhs.position,token:"#"}):(this.type="binary",this)}),fe("?",v["?"],function(B){return this.type="condition",this.condition=B,this.then=z(0),k.id===":"&&(N(":"),this.else=z(0)),this}),fe("?:",v["?:"],function(B){return this.type="condition",this.condition=B,this.then=B,this.else=z(0),this}),V("|",function(){return this.type="transform",this.pattern=z(0),N("|"),this.update=z(0),k.id===","&&(N(","),this.delete=z(0)),N("|"),this});var we=function(B){var W;if(B.type==="function"&&!B.predicate){var Oe={type:"lambda",thunk:!0,arguments:[],position:B.position};Oe.body=B,W=Oe}else if(B.type==="condition")B.then=we(B.then),typeof B.else<"u"&&(B.else=we(B.else)),W=B;else if(B.type==="block"){var He=B.expressions.length;He>0&&(B.expressions[He-1]=we(B.expressions[He-1])),W=B}else W=B;return W},ue=0,Se=0,Ee=[],ge=function(B,W){switch(B.type){case"name":case"wildcard":W.level--,W.level===0&&(typeof B.ancestor>"u"||(Ee[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=ge(B.expressions[B.expressions.length-1],W));break;case"path":B.tuple=!0;var Oe=B.steps.length-1;for(W=ge(B.steps[Oe--],W);W.level>0&&Oe>=0;)W=ge(B.steps[Oe--],W);break;default:throw{code:"S0217",token:B.type,position:B.position}}return W},De=function(B,W){if(typeof W.seekingParent<"u"||W.type==="parent"){var Oe=typeof W.seekingParent<"u"?W.seekingParent:[];W.type==="parent"&&Oe.push(W.slot),typeof B.seekingParent>"u"?B.seekingParent=Oe:Array.prototype.push.apply(B.seekingParent,Oe)}},ke=function(B){var W=B.steps.length-1,Oe=B.steps[W],He=typeof Oe.seekingParent<"u"?Oe.seekingParent:[];Oe.type==="parent"&&He.push(Oe.slot);for(var Je=0;Je<He.length;Je++){var We=He[Je];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 Z=B.steps[W--];W>=0&&Z.focus&&B.steps[W].focus;)Z=B.steps[W--];We=ge(Z,We)}}},ce=function(B){var W;switch(B.type){case"binary":switch(B.value){case".":var Oe=ce(B.lhs);Oe.type==="path"?W=Oe:W={type:"path",steps:[Oe]},Oe.type==="parent"&&(W.seekingParent=[Oe.slot]);var He=ce(B.rhs);He.type==="function"&&He.procedure.type==="path"&&He.procedure.steps.length===1&&He.procedure.steps[0].type==="name"&&W.steps[W.steps.length-1].type==="function"&&(W.steps[W.steps.length-1].nextFunction=He.procedure.steps[0].value),He.type==="path"?Array.prototype.push.apply(W.steps,He.steps):(typeof He.predicate<"u"&&(He.stages=He.predicate,delete He.predicate),W.steps.push(He)),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 Je=W.steps[0];Je.type==="unary"&&Je.value==="["&&(Je.consarray=!0);var We=W.steps[W.steps.length-1];We.type==="unary"&&We.value==="["&&(We.consarray=!0),ke(W);break;case"[":W=ce(B.lhs);var Z=W,re="predicate";if(W.type==="path"&&(Z=W.steps[W.steps.length-1],re="stages"),typeof Z.group<"u")throw{code:"S0209",stack:new Error().stack,position:B.position};typeof Z[re]>"u"&&(Z[re]=[]);var K=ce(B.rhs);typeof K.seekingParent<"u"&&(K.seekingParent.forEach(Fe=>{Fe.level===1?ge(Z,Fe):Fe.level--}),De(Z,K)),Z[re].push({type:"filter",expr:K,position:B.position});break;case"{":if(W=ce(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[ce(Fe[0]),ce(Fe[1])]}),position:B.position};break;case"^":W=ce(B.lhs),W.type!=="path"&&(W={type:"path",steps:[W]});var be={type:"sort",position:B.position};be.terms=B.rhs.map(function(Fe){var at=ce(Fe.expression);return De(be,at),{descending:Fe.descending,expression:at}}),W.steps.push(be),ke(W);break;case":=":W={type:"bind",value:B.value,position:B.position},W.lhs=ce(B.lhs),W.rhs=ce(B.rhs),De(W,W.rhs);break;case"@":if(W=ce(B.lhs),Z=W,W.type==="path"&&(Z=W.steps[W.steps.length-1]),typeof Z.stages<"u"||typeof Z.predicate<"u")throw{code:"S0215",stack:new Error().stack,position:B.position};if(Z.type==="sort")throw{code:"S0216",stack:new Error().stack,position:B.position};B.keepArray&&(Z.keepArray=!0),Z.focus=B.rhs.value,Z.tuple=!0;break;case"#":W=ce(B.lhs),Z=W,W.type==="path"?Z=W.steps[W.steps.length-1]:(W={type:"path",steps:[W]},typeof Z.predicate<"u"&&(Z.stages=Z.predicate,delete Z.predicate)),typeof Z.stages>"u"?Z.index=B.rhs.value:Z.stages.push({type:"index",value:B.rhs.value,position:B.position}),Z.tuple=!0;break;case"~>":W={type:"apply",value:B.value,position:B.position},W.lhs=ce(B.lhs),W.rhs=ce(B.rhs),W.keepArray=W.lhs.keepArray||W.rhs.keepArray;break;default:W={type:B.type,value:B.value,position:B.position},W.lhs=ce(B.lhs),W.rhs=ce(B.rhs),De(W,W.lhs),De(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 at=ce(Fe);return De(W,at),at}):B.value==="{"?W.lhs=B.lhs.map(function(Fe){var at=ce(Fe[0]);De(W,at);var It=ce(Fe[1]);return De(W,It),[at,It]}):(W.expression=ce(B.expression),B.value==="-"&&W.expression.type==="number"?(W=W.expression,W.value=-W.value):De(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 at=ce(Fe);return De(W,at),at}),W.procedure=ce(B.procedure);break;case"lambda":W={type:B.type,arguments:B.arguments,signature:B.signature,position:B.position};var ee=ce(B.body);W.body=we(ee);break;case"condition":W={type:B.type,position:B.position},W.condition=ce(B.condition),De(W,W.condition),W.then=ce(B.then),De(W,W.then),typeof B.else<"u"&&(W.else=ce(B.else),De(W,W.else));break;case"transform":W={type:B.type,position:B.position},W.pattern=ce(B.pattern),W.update=ce(B.update),typeof B.delete<"u"&&(W.delete=ce(B.delete));break;case"block":W={type:B.type,position:B.position},W.expressions=B.expressions.map(function(Fe){var at=ce(Fe);return De(W,at),(at.consarray||at.type==="path"&&at.steps[0].consarray)&&(W.consarray=!0),at});break;case"name":W={type:"path",steps:[B]},B.keepArray&&(W.keepSingletonArray=!0);break;case"parent":W={type:"parent",slot:{label:"!"+ue++,level:1,index:Se++}},Ee.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=ce(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=ce(B.lhs));break;default:var Ne="S0206";B.id==="(end)"&&(Ne="S0207");var ye={code:Ne,position:B.position,token:B.value};if(R)return U.push(ye),{type:"error",error:ye};throw ye.stack=new Error().stack,ye}return B.keepArray&&(W.keepArray=!0),W};M=S(w),N();var oe=z(0);if(k.id!=="(end)"){var Te={code:"S0201",position:k.position,token:k.value};_(Te)}if(oe=ce(oe),oe.type==="parent"||typeof oe.seekingParent<"u")throw{code:"S0217",token:oe.type,position:oe.position};return U.length>0&&(oe.errors=U),oe};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={},k=R;T<S.length;){var M=S.charAt(T);if(M===":")break;var P=function(){w.push(R),k=R,R={}},U=function(fe,Ce,V,ve){for(var we=1,ue=Ce;ue<fe.length;)if(ue++,M=fe.charAt(ue),M===ve){if(we--,we===0)break}else M===V&&we++;return ue};switch(M){case"s":case"n":case"b":case"l":case"o":R.regex="["+M+"m]",R.type=M,P();break;case"a":R.regex="[asnblfom]",R.type=M,R.array=!0,P();break;case"f":R.regex="f",R.type=M,P();break;case"j":R.regex="[asnblom]",R.type=M,P();break;case"x":R.regex="[asnblfom]",R.type=M,P();break;case"-":k.context=!0,k.contextRegex=new RegExp(k.regex),k.regex+="?";break;case"?":case"+":k.regex+=M;break;case"(":var G=U(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(k.type==="a"||k.type==="f"){var A=U(S,T,"<",">");k.subtype=S.substring(T+1,A),T=A}else throw{code:"S0401",stack:new Error().stack,value:k.type,offset:T};break}T++}var _="^"+w.map(function(fe){return"("+fe.regex+")"}).join("")+"$",N=new RegExp(_),z=function(fe){var Ce;if(p.isFunction(fe))Ce="f";else{var V=typeof fe;switch(V){case"string":Ce="s";break;case"number":Ce="n";break;case"boolean":Ce="b";break;case"object":fe===null?Ce="l":Array.isArray(fe)?Ce="a":Ce="o";break;case"undefined":default:Ce="m"}}return Ce},X=function(fe,Ce){for(var V="^",ve=0,we=0;we<w.length;we++){V+=w[we].regex;var ue=Ce.match(V);if(ue===null)throw{code:"T0410",stack:new Error().stack,value:fe[ve],index:ve+1};ve=ue[0].length}throw{code:"T0410",stack:new Error().stack,value:fe[ve],index:ve+1}};return{definition:S,validate:function(fe,Ce){var V="";fe.forEach(function(Se){V+=z(Se)});var ve=N.exec(V);if(ve){var we=[],ue=0;return w.forEach(function(Se,Ee){var ge=fe[ue],De=ve[Ee+1];if(De==="")if(Se.context&&Se.contextRegex){var ke=z(Ce);if(Se.contextRegex.test(ke))we.push(Ce);else throw{code:"T0411",stack:new Error().stack,value:Ce,index:ue+1}}else we.push(ge),ue++;else De.split("").forEach(function(ce){if(Se.type==="a"){if(ce==="m")ge=void 0;else{ge=fe[ue];var oe=!0;if(typeof Se.subtype<"u"){if(ce!=="a"&&De!==Se.subtype)oe=!1;else if(ce==="a"&&ge.length>0){var Te=z(ge[0]);if(Te!==Se.subtype.charAt(0))oe=!1;else{var B=ge.filter(function(W){return z(W)!==Te});oe=B.length===0}}}if(!oe)throw{code:"T0412",stack:new Error().stack,value:ge,index:ue+1,type:v[Se.subtype]};ce!=="a"&&(ge=[ge])}we.push(ge),ue++}else we.push(ge),ue++})}),we}X(fe,V)}}}return b})();s.exports=d},{"./utils":6}],6:[function(i,s,c){const p=(()=>{function d(A){var _=!1;if(typeof A=="number"&&(_=!isNaN(A),_&&!isFinite(A)))throw{code:"D1001",value:A,stack:new Error().stack};return _}function v(A){var _=!1;return Array.isArray(A)&&(_=A.filter(function(N){return typeof N!="string"}).length===0),_}function b(A){var _=!1;return Array.isArray(A)&&(_=A.filter(function(N){return!d(N)}).length===0),_}function S(){var A=[];return A.sequence=!0,arguments.length===1&&A.push(arguments[0]),A}function T(A){return A.sequence===!0&&Array.isArray(A)}function w(A){return A&&(A._jsonata_function===!0||A._jsonata_lambda===!0)||typeof A=="function"}function R(A){var _=typeof A.arity=="number"?A.arity:typeof A.implementation=="function"?A.implementation.length:typeof A.length=="number"?A.length:A.arguments.length;return _}function k(A){return A&&A._jsonata_lambda===!0}var M=(typeof Symbol=="function"?Symbol:{}).iterator||"@@iterator";function P(A){return typeof A=="object"&&A!==null&&M in A&&"next"in A&&typeof A.next=="function"}function U(A,_){if(A===_)return!0;if(typeof A=="object"&&typeof _=="object"&&A!==null&&_!==null){if(Array.isArray(A)&&Array.isArray(_)){if(A.length!==_.length)return!1;for(var N=0;N<A.length;N++)if(!U(A[N],_[N]))return!1;return!0}var z=Object.getOwnPropertyNames(A),X=Object.getOwnPropertyNames(_);if(z.length!==X.length)return!1;for(z=z.sort(),X=X.sort(),N=0;N<z.length;N++)if(z[N]!==X[N])return!1;for(N=0;N<z.length;N++){var fe=z[N];if(!U(A[fe],_[fe]))return!1}return!0}return!1}function G(A){return typeof A=="object"&&A!==null&&"then"in A&&typeof A.then=="function"}function Y(A){var _=[];for(let N of A)_.push(N);return _}return{isNumeric:d,isArrayOfStrings:v,isArrayOfNumbers:b,createSequence:S,isSequence:T,isFunction:w,isLambda:k,isIterable:P,getFunctionArity:R,isDeepEqual:U,stringToArray:Y,isPromise:G}})();s.exports=p},{}]},{},[3])(3)})}(gC)),gC.exports}var Uj=jj();const BA=GC(Uj),Bj=async(e,o,i)=>{const{operand:s,operator:c,value:p}=e;if(c==="jsonata")try{const S=p.toString(),T=i();return await BA(S).evaluate(T)}catch(S){return console.log("JSONata evaluation error:",S),!1}const d=o(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 k=parseFloat(v),M=parseFloat(b);return!isNaN(k)&&!isNaN(M)&&k<M;case"<=":const P=parseFloat(v),U=parseFloat(b);return!isNaN(P)&&!isNaN(U)&&P<=U;case"contains":case"includes":return v.includes(b);case"not_contains":case"not_includes":return!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(A=>String(A).toLowerCase().trim()===v):String(p).split(",").map(A=>A.toLowerCase().trim()).includes(v);case"not_in":return Array.isArray(p)?!p.some(A=>String(A).toLowerCase().trim()===v):!String(p).split(",").map(A=>A.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}},zA=async(e,o,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 Bj(p,o,i)){c=!1;break}if(c)return!0}return!1},zj=()=>{const{getPatientValue:e,getFullPatient:o}=qr();return{evaluateCondition:Xe.useMemo(()=>async s=>await zA(s,e,o),[e,o])}},Hj=e=>{var i;const o=(i=e.props)==null?void 0:i.required;return typeof o=="boolean"?o:typeof o=="string"?y3(o):!1},G$=(e,o,i)=>{var c,p;const s=e.filter(d=>d.shouldRender);for(const d of s){if(Hj(d)&&!Gj(d,o))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},Gj=(e,o)=>{var c;const i=(c=e.props)==null?void 0:c.propertyId;if(!i)return!0;const s=o(i);return!(s==null||typeof s=="string"&&s.trim()===""||Array.isArray(s)&&s.length===0)},HA=({flow:e,isPreview:o,$bgColor:i,onSubmit:s,onNextStep:c,onPrevStep:p,shouldRedirect:d=!0,formidavimHost:v})=>{const[b,S]=Xe.useState(0),[T,w]=Xe.useState([]),[R,k]=Xe.useState(!0),{evaluateCondition:M}=zj(),{getFlowValue:P,getAllFlowData:U,setDisableSubmitValue:G,getDisableSubmitValue:Y,getFlowError:A}=qr(),_=qr().getAllFlowData(),N=async Se=>{if(!Se)return[];const Ee=[];for(const ge of Se){const De=!ge.condition||await M(ge.condition),ke=De;Ee.push({...ge,isVisible:De,shouldRender:ke,hasCondition:!!ge.condition})}return Ee};Xe.useEffect(()=>{const Se=async()=>{var ge;if(!e.flowForms){w([]),k(!1);return}const Ee=[];for(const De of e.flowForms)if(!De.condition||await M(De.condition)){const ce=(ge=De.form)!=null&&ge.formComponents?await N(De.form.formComponents):[];Ee.push({...De,evaluatedFormComponents:ce})}w(Ee),k(!1)};k(!0),Se()},[e.flowForms,M]),Xe.useEffect(()=>{if(!R&&T.length>0&&b<T.length){const Se=T[b],Ee=(Se==null?void 0:Se.evaluatedFormComponents)||[],ge=G$(Ee,P,A);G(!ge)}},[T,b,R,_,P,G]);const z=T.length,X=T[b],fe=Y();if(R)return L.jsx("div",{children:"Loading..."});if(!X)return null;const Ce=T[0]===X,V=b===z-1,ve=(X==null?void 0:X.evaluatedFormComponents)||[],we=()=>{if(G$(ve,P,A)){if(X.submit){s(U(),e,d);return}c&&c(e,X),b<z-1&&(S(Ee=>Ee+1),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0))}},ue=()=>{b>0&&(p&&p(e,X),S(Se=>Se-1)),window.scrollTo({top:0,behavior:"smooth"})};return L.jsxs(nM,{children:[L.jsxs(uM,{$tracker:!0,id:"FormHeaderMobile",children:[L.jsx(sO,{src:"https://media-s3-cdn.ivimhealth.com/assets/images/logos/ivim-black.svg"}),L.jsx(sM,{id:"FlowStepTrackerContainerMobile"}),!Ce&&L.jsx(rM,{onClick:ue})]}),L.jsx(K$,{currentStep:b+1,totalSteps:z,showOnDesktop:!0,showOnMobile:!1}),L.jsx(gp,{$xSmall:!0,$bgColor:"white",$bRad:"10px 10px 0px 0px",children:L.jsxs(lM,{id:"FormHeaderDesktop",children:[!Ce&&L.jsx(Q$,{onClick:ue}),L.jsx(sO,{src:"https://media-s3-cdn.ivimhealth.com/assets/images/logos/ivim-black.svg"})]})}),L.jsx(qA,{$bgColor:X.bgColor,children:L.jsx(GA,{flowForm:X,isPreview:o,evaluatedFormComponents:ve,formidavimHost:v})}),L.jsx(gp,{$xSmall:!0,$bgColor:"white",$bRad:"0px 0px 10px 10px",children:L.jsx(oM,{$borderOff:!!X.bgColor,children:L.jsx(lO,{type:"submit",onClick:we,$isLastStep:V,$radius:"41px",$margin:"0 0 15px 0",$btnStyle:"black",$disable:fe,children:X.navButtonText?X.navButtonText:"Next"})})}),L.jsx(cM,{id:"BtnFlowBtnWrapperMobile",children:L.jsx(lO,{type:"submit",onClick:we,$isLastStep:V,$radius:"41px",$margin:"0 0 15px 0",$btnStyle:"black",$disable:fe,$allowDisableClick:!0,children:X.navButtonText?X.navButtonText:"Next"})})]})},Wj=async(e,o)=>{if(!e||typeof e!="string"||!o)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 BA(d).evaluate(o),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},zC=async(e,o)=>{if(!e||!o)return e;if(typeof e=="string")return await Wj(e,o);if(Array.isArray(e))return Promise.all(e.map(i=>zC(i,o)));if(typeof e=="object"){const i={};for(const[s,c]of Object.entries(e))i[s]=await zC(c,o);return i}return e},Yj=async(e,o)=>{var i;if(!e||!o)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 zC(p.props,o))}return s}catch(s){return console.error("Error processing flow config templates:",s),e}},xw=({data:e,config:o,isPreview:i,onSubmit:s,onNextStep:c,onPrevStep:p,shouldRedirect:d,formidavimHost:v})=>{const{setFlowValues:b,generateFormDataFromFlow:S,setPatientValues:T,getFullPatient:w}=qr(),[R,k]=Xe.useState(null),[M,P]=Xe.useState(!0),[U,G]=Xe.useState(!1),Y=async(_,N=!1)=>{try{const z=await Yj(o,_);if(k(z),N){const X=S(z);b(X)}}catch(z){if(console.error("Error processing config:",z),k(o),N){const X=S(o);b(X)}}};Xe.useEffect(()=>{(async()=>{P(!0),e&&T(e),await Y(e,!0),G(!0),P(!1)})()},[e,o]);const A=w();return Xe.useEffect(()=>{U&&A&&Y(A)},[A,o,U]),M||!R?L.jsx("div",{children:"Processing form..."}):L.jsx(HA,{flow:R,isPreview:i,onSubmit:s,onNextStep:c,onPrevStep:p,shouldRedirect:d,formidavimHost:v})},qj={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"},Qj={playfair:'"Playfair Display", serif',poppins:"Poppins, sans-serif",karmina:"Karmina, serif"},Xj={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)"},Kj={colors:qj,fonts:Qj,mediaQuery:Xj},Zj=a5({reducer:{[F0.name]:F0.reducer,[I0.name]:I0.reducer}}),Jj=me.div`
|
|
3290
|
+
`,Fj={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","hipaa-consent":"string"},Vj={header:rj,image:oj,"weight-loss-chart":aj,"horizontal-rule":uj,"text-tip":cj,"small-text":fj,paragraph:dj,"refill-request":pj,"addon-request":Cj,"hipaa-consent":Nj,video:Pj,"checkbox-single":I5,"checkbox-multi":F5,radio:CO,"radio-group":CO,number:D5,dropdown:Y5,datepicker:W5,scale:V5,"text-input":q5,textarea:_5,"titration-select":Q5,"dosing-custom-units":X5,email:Z5,password:J5,phone:eL,otp:QV,address:nj},qr=()=>{const e=hp.useDispatch(),o=hp.useSelector(A=>S5(A)),i=hp.useSelector(A=>C5(A)),s=hp.useSelector(A=>w5(A)),c=hp.useSelector(A=>O5(A)),p=Xe.useCallback((A,_)=>{e(g5({field:A,value:_}))},[e]),d=Xe.useCallback(A=>o[A],[o]),v=Xe.useCallback(()=>o,[o]),b=Xe.useCallback(A=>{e(xO(A)),e(xO(A))},[e]),S=Xe.useCallback((A,_)=>{e(b5({field:A,error:_}))},[e]),T=Xe.useCallback(A=>i[A],[i]),w=Xe.useCallback(A=>{e(x5(A))},[e]),R=Xe.useCallback(()=>s,[s]),k=Xe.useCallback((A,_)=>{e(R5({[A]:_}))},[e]),M=Xe.useCallback(A=>{const _={id:A.customerId??null,profile:A.data};e(T5(_))},[e]),P=Xe.useCallback(A=>c==null?void 0:c[A],[c]),U=Xe.useCallback(()=>c,[c]),G=Xe.useCallback((A,_)=>{p(A,_),k(A,_)},[p,k]),W=Xe.useCallback(A=>{const _={};return A.flowForms&&A.flowForms.forEach(N=>{var z;(z=N.form)!=null&&z.formComponents&&N.form.formComponents.forEach(X=>{const fe=X.componentId||"";if(Fj[fe]){const V=X.props,ve=V==null?void 0:V.propertyId;ve&&(_[ve]=null)}})}),_},[]);return{setFlowValue:p,setFlowValues:b,getFlowValue:d,getAllFlowData:v,setFlowError:S,getFlowError:T,setDisableSubmitValue:w,getDisableSubmitValue:R,setPatientValue:k,setPatientValues:M,getPatientValue:P,getFullPatient:U,setFlowAndPatientValue:G,generateFormDataFromFlow:W}};function $0(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 gC={exports:{}},H$;function jj(){return H$||(H$=1,function(e,o){(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 $0=="function"&&$0;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 k=c[S]={exports:{}};s[S][0].call(k.exports,function(M){var P=s[S][1][M];return d(P||M)},k,k.exports,i,s,c,p)}return c[S].exports}for(var v=typeof $0=="function"&&$0,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(Z,re){var K=function(ee,Ne,ye){var Fe="";if(ee<=19)Fe=(Ne?" and ":"")+(ye?S[ee]:b[ee]);else if(ee<100){const It=Math.floor(ee/10),jt=ee%10;Fe=(Ne?" and ":"")+T[It-2],jt>0?Fe+="-"+K(jt,!1,ye):ye&&(Fe=Fe.substring(0,Fe.length-1)+"ieth")}else if(ee<1e3){const It=Math.floor(ee/100),jt=ee%100;Fe=(Ne?", ":"")+b[It]+" Hundred",jt>0?Fe+=K(jt,!0,ye):ye&&(Fe+="th")}else{var at=Math.floor(Math.log10(ee)/3);at>w.length&&(at=w.length);const It=Math.pow(10,at*3),jt=Math.floor(ee/It),vt=ee-jt*It;Fe=(Ne?", ":"")+K(jt,!1,!1)+" "+w[at-1],vt>0?Fe+=K(vt,!0,ye):ye&&(Fe+="th")}return Fe},be=K(Z,!1,re);return be}const k={};b.forEach(function(Z,re){k[Z.toLowerCase()]=re}),S.forEach(function(Z,re){k[Z.toLowerCase()]=re}),T.forEach(function(Z,re){const K=Z.toLowerCase();k[K]=(re+2)*10,k[K.substring(0,Z.length-1)+"ieth"]=k[K]}),k.hundredth=100,w.forEach(function(Z,re){const K=Z.toLowerCase(),be=Math.pow(10,(re+1)*3);k[K]=be,k[K+"th"]=be});function M(Z){const K=Z.split(/,\s|\sand\s|[\s\\-]/).map(Ne=>k[Ne]);let be=[0];return K.forEach(Ne=>{if(Ne<100){let ye=be.pop();ye>=1e3&&(be.push(ye),ye=0),be.push(ye+Ne)}else be.push(be.pop()*Ne)}),be.reduce((Ne,ye)=>Ne+ye,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"]],U={M:1e3,D:500,C:100,L:50,X:10,V:5,I:1};function G(Z){for(var re=0;re<P.length;re++){const K=P[re];if(Z>=K[0])return K[1]+G(Z-K[0])}return""}function W(Z){for(var re=0,K=1,be=Z.length-1;be>=0;be--){const ee=Z[be],Ne=U[ee];Ne<K?re-=Ne:(K=Ne,re+=Ne)}return re}function A(Z,re){for(var K=[],be=re.charCodeAt(0);Z>0;)K.unshift(String.fromCharCode((Z-1)%26+be)),Z=Math.floor((Z-1)/26);return K.join("")}function _(Z,re){for(var K=re.charCodeAt(0),be=0,ee=0;ee<Z.length;ee++)be+=(Z.charCodeAt(Z.length-ee-1)-K+1)*Math.pow(26,ee);return be}function N(Z,re){if(typeof Z>"u")return;Z=Math.floor(Z);const K=V(re);return fe(Z,K)}const z={DECIMAL:"decimal",LETTERS:"letters",ROMAN:"roman",WORDS:"words",SEQUENCE:"sequence"},X={UPPER:"upper",LOWER:"lower",TITLE:"title"};function fe(Z,re){let K;const be=Z<0;switch(Z=Math.abs(Z),re.primary){case z.LETTERS:K=A(Z,re.case===X.UPPER?"A":"a");break;case z.ROMAN:K=G(Z),re.case===X.UPPER&&(K=K.toUpperCase());break;case z.WORDS:K=R(Z,re.ordinal),re.case===X.UPPER?K=K.toUpperCase():re.case===X.LOWER&&(K=K.toLowerCase());break;case z.DECIMAL:K=""+Z;var ee=re.mandatoryDigits-K.length;if(ee>0){var Ne=new Array(ee+1).join("0");K=Ne+K}if(re.zeroCode!==48&&(K=v(K).map(It=>String.fromCodePoint(It.codePointAt(0)+re.zeroCode-48)).join("")),re.regular){const It=Math.floor((K.length-1)/re.groupingSeparators.position);for(let jt=It;jt>0;jt--){const vt=K.length-jt*re.groupingSeparators.position;K=K.substr(0,vt)+re.groupingSeparators.character+K.substr(vt)}}else re.groupingSeparators.reverse().forEach(It=>{const jt=K.length-It.position;K=K.substr(0,jt)+It.character+K.substr(jt)});if(re.ordinal){var ye={1:"st",2:"nd",3:"rd"},Fe=K[K.length-1],at=ye[Fe];(!at||K.length>1&&K[K.length-2]==="1")&&(at="th"),K=K+at}break;case z.SEQUENCE:throw{code:"D3130",value:re.token}}return be&&(K="-"+K),K}const Ce=[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 V(Z){const re={type:"integer",primary:z.DECIMAL,case:X.LOWER,ordinal:!1};let K,be;const ee=Z.lastIndexOf(";");switch(ee===-1?K=Z:(K=Z.substring(0,ee),be=Z.substring(ee+1),be[0]==="o"&&(re.ordinal=!0)),K){case"A":re.case=X.UPPER;case"a":re.primary=z.LETTERS;break;case"I":re.case=X.UPPER;case"i":re.primary=z.ROMAN;break;case"W":re.case=X.UPPER,re.primary=z.WORDS;break;case"Ww":re.case=X.TITLE,re.primary=z.WORDS;break;case"w":re.primary=z.WORDS;break;default:{let Ne=null,ye=0,Fe=0,at=[],It=0;if(v(K).map(vt=>vt.codePointAt(0)).reverse().forEach(vt=>{let gt=!1;for(let Ct=0;Ct<Ce.length;Ct++){const lt=Ce[Ct];if(vt>=lt&&vt<=lt+9){if(gt=!0,ye++,It++,Ne===null)Ne=lt;else if(lt!==Ne)throw{code:"D3131"};break}}gt||(vt===35?(It++,Fe++):at.push({position:It,character:String.fromCodePoint(vt)}))}),ye>0){re.primary=z.DECIMAL,re.zeroCode=Ne,re.mandatoryDigits=ye,re.optionalDigits=Fe;const gt=function(Ct){if(Ct.length===0)return 0;const lt=Ct[0].character;for(let un=1;un<Ct.length;un++)if(Ct[un].character!==lt)return 0;const sn=Ct.map(un=>un.position),mn=function(un,Tn){return Tn===0?un:mn(Tn,un%Tn)},dn=sn.reduce(mn);for(let un=1;un<=sn.length;un++)if(sn.indexOf(un*dn)===-1)return 0;return dn}(at);gt>0?(re.regular=!0,re.groupingSeparators={position:gt,character:at[0].character}):(re.regular=!1,re.groupingSeparators=at)}else re.primary=z.SEQUENCE,re.token=K}}return re}const ve={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 we(Z){var re=[];const K={type:"datetime",parts:re},be=function(gt,Ct){if(Ct>gt){let lt=Z.substring(gt,Ct);lt=lt.split("]]").join("]"),re.push({type:"literal",value:lt})}};for(var ee=0,Ne=0;Ne<Z.length;){if(Z.charAt(Ne)==="["){if(Z.charAt(Ne+1)==="["){be(ee,Ne),re.push({type:"literal",value:"["}),Ne+=2,ee=Ne;continue}if(be(ee,Ne),ee=Ne,Ne=Z.indexOf("]",ee),Ne===-1)throw{code:"D3135"};let gt=Z.substring(ee+1,Ne);gt=gt.split(/\s+/).join("");var ye={type:"marker",component:gt.charAt(0)},Fe=gt.lastIndexOf(","),at;if(Fe!==-1){const Ct=gt.substring(Fe+1),lt=Ct.indexOf("-");let sn,mn;const dn=function(Tn){if(!(typeof Tn>"u"||Tn==="*"))return parseInt(Tn)};lt===-1?sn=Ct:(sn=Ct.substring(0,lt),mn=Ct.substring(lt+1));const un={min:dn(sn),max:dn(mn)};ye.width=un,at=gt.substring(1,Fe)}else at=gt.substring(1);if(at.length===1)ye.presentation1=at;else if(at.length>1){var It=at.charAt(at.length-1);"atco".indexOf(It)!==-1?(ye.presentation2=It,It==="o"&&(ye.ordinal=!0),ye.presentation1=at.substring(0,at.length-1)):ye.presentation1=at}else ye.presentation1=ve[ye.component];if(typeof ye.presentation1>"u")throw{code:"D3132",value:ye.component};if(ye.presentation1[0]==="n")ye.names=X.LOWER;else if(ye.presentation1[0]==="N")ye.presentation1[1]==="n"?ye.names=X.TITLE:ye.names=X.UPPER;else if("YMDdFWwXxHhmsf".indexOf(ye.component)!==-1){var jt=ye.presentation1;if(ye.presentation2&&(jt+=";"+ye.presentation2),ye.integerFormat=V(jt),ye.width&&ye.width.min!==void 0&&ye.integerFormat.mandatoryDigits<ye.width.min&&(ye.integerFormat.mandatoryDigits=ye.width.min),ye.component==="Y")if(ye.n=-1,ye.width&&ye.width.max!==void 0)ye.n=ye.width.max,ye.integerFormat.mandatoryDigits=ye.n;else{var vt=ye.integerFormat.mandatoryDigits+ye.integerFormat.optionalDigits;vt>=2&&(ye.n=vt)}const Ct=re[re.length-1];Ct&&Ct.integerFormat&&(Ct.integerFormat.parseWidth=Ct.integerFormat.mandatoryDigits)}(ye.component==="Z"||ye.component==="z")&&(ye.integerFormat=V(ye.presentation1)),re.push(ye),ee=Ne+1}Ne++}return be(ee,Ne),K}const ce=["","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Se=["January","February","March","April","May","June","July","August","September","October","November","December"],Ee=1e3*60*60*24,ge=function(Z){const re=Date.UTC(Z.year,Z.month);var K=new Date(re).getUTCDay();return K===0&&(K=7),K>4?re+(8-K)*Ee:re-(K-1)*Ee},De=function(Z,re){return{year:Z,month:re,nextMonth:function(){return re===11?De(Z+1,0):De(Z,re+1)},previousMonth:function(){return re===0?De(Z-1,11):De(Z,re-1)},nextYear:function(){return De(Z+1,re)},previousYear:function(){return De(Z-1,re)}}},ke=function(Z,re){return(re-Z)/(Ee*7)+1},se=(Z,re)=>{let K;switch(re){case"Y":K=Z.getUTCFullYear();break;case"M":K=Z.getUTCMonth()+1;break;case"D":K=Z.getUTCDate();break;case"d":{const be=Date.UTC(Z.getUTCFullYear(),Z.getUTCMonth(),Z.getUTCDate()),ee=Date.UTC(Z.getUTCFullYear(),0);K=(be-ee)/Ee+1;break}case"F":K=Z.getUTCDay(),K===0&&(K=7);break;case"W":{const be=De(Z.getUTCFullYear(),0),ee=ge(be),Ne=Date.UTC(be.year,Z.getUTCMonth(),Z.getUTCDate());let ye=ke(ee,Ne);if(ye>52){const Fe=ge(be.nextYear());Ne>=Fe&&(ye=1)}else if(ye<1){const Fe=ge(be.previousYear());ye=ke(Fe,Ne)}K=Math.floor(ye);break}case"w":{const be=De(Z.getUTCFullYear(),Z.getUTCMonth()),ee=ge(be),Ne=Date.UTC(be.year,be.month,Z.getUTCDate());let ye=ke(ee,Ne);if(ye>4){const Fe=ge(be.nextMonth());Ne>=Fe&&(ye=1)}else if(ye<1){const Fe=ge(be.previousMonth());ye=ke(Fe,Ne)}K=Math.floor(ye);break}case"X":{const be=De(Z.getUTCFullYear(),0),ee=ge(be),Ne=ge(be.nextYear()),ye=Z.getTime();ye<ee?K=be.year-1:ye>=Ne?K=be.year+1:K=be.year;break}case"x":{const be=De(Z.getUTCFullYear(),Z.getUTCMonth()),ee=ge(be),Ne=be.nextMonth(),ye=ge(Ne),Fe=Z.getTime();Fe<ee?K=be.previousMonth().month+1:Fe>=ye?K=Ne.month+1:K=be.month+1;break}case"H":K=Z.getUTCHours();break;case"h":K=Z.getUTCHours(),K=K%12,K===0&&(K=12);break;case"P":K=Z.getUTCHours()>=12?"pm":"am";break;case"m":K=Z.getUTCMinutes();break;case"s":K=Z.getUTCSeconds();break;case"f":K=Z.getUTCMilliseconds();break;case"Z":case"z":break;case"C":K="ISO";break;case"E":K="ISO";break}return K};let oe=null;function Te(Z,re,K){var be=0,ee=0;if(typeof K<"u"){const jt=parseInt(K);be=Math.floor(jt/100),ee=jt%100}var Ne=function(jt,vt){var gt=se(jt,vt.component);if("YMDdFWwXxHhms".indexOf(vt.component)!==-1)if(vt.component==="Y"&&vt.n!==-1&&(gt=gt%Math.pow(10,vt.n)),vt.names){if(vt.component==="M"||vt.component==="x")gt=Se[gt-1];else if(vt.component==="F")gt=ce[gt];else throw{code:"D3133",value:vt.component};vt.names===X.UPPER?gt=gt.toUpperCase():vt.names===X.LOWER&&(gt=gt.toLowerCase()),vt.width&>.length>vt.width.max&&(gt=gt.substring(0,vt.width.max))}else gt=fe(gt,vt.integerFormat);else if(vt.component==="f")gt=fe(gt,vt.integerFormat);else if(vt.component==="Z"||vt.component==="z"){const Ct=be*100+ee;if(vt.integerFormat.regular)gt=fe(Ct,vt.integerFormat);else{const lt=vt.integerFormat.mandatoryDigits;if(lt===1||lt===2)gt=fe(be,vt.integerFormat),ee!==0&&(gt+=":"+N(ee,"00"));else if(lt===3||lt===4)gt=fe(Ct,vt.integerFormat);else throw{code:"D3134",value:lt}}Ct>=0&&(gt="+"+gt),vt.component==="z"&&(gt="GMT"+gt),Ct===0&&vt.presentation2==="t"&&(gt="Z")}else vt.component==="P"&&vt.names===X.UPPER&&(gt=gt.toUpperCase());return gt};let ye;typeof re>"u"?(oe===null&&(oe=we("[Y0001]-[M01]-[D01]T[H01]:[m01]:[s01].[f001][Z01:01t]")),ye=oe):ye=we(re);const Fe=(60*be+ee)*60*1e3,at=new Date(Z+Fe);let It="";return ye.parts.forEach(function(jt){jt.type==="literal"?It+=jt.value:It+=Ne(at,jt)}),It}function B(Z){var re={};if(Z.type==="datetime")re.type="datetime",re.parts=Z.parts.map(function(K){var be={};if(K.type==="literal")be.regex=K.value.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");else if(K.component==="Z"||K.component==="z"){let Ne;Array.isArray(K.integerFormat.groupingSeparators)||(Ne=K.integerFormat.groupingSeparators),be.regex="",K.component==="z"&&(be.regex="GMT"),be.regex+="[-+][0-9]+",Ne&&(be.regex+=Ne.character+"[0-9]+"),be.parse=function(ye){K.component==="z"&&(ye=ye.substring(3));let Fe=0,at=0;return Ne?(Fe=Number.parseInt(ye.substring(0,ye.indexOf(Ne.character))),at=Number.parseInt(ye.substring(ye.indexOf(Ne.character)+1))):ye.length-1<=2?Fe=Number.parseInt(ye):(Fe=Number.parseInt(ye.substring(0,3)),at=Number.parseInt(ye.substring(3))),Fe*60+at}}else if(K.integerFormat)be=B(K.integerFormat);else{be.regex="[a-zA-Z]+";var ee={};if(K.component==="M"||K.component==="x")Se.forEach(function(Ne,ye){K.width&&K.width.max?ee[Ne.substring(0,K.width.max)]=ye+1:ee[Ne]=ye+1});else if(K.component==="F")ce.forEach(function(Ne,ye){ye>0&&(K.width&&K.width.max?ee[Ne.substring(0,K.width.max)]=ye:ee[Ne]=ye)});else if(K.component==="P")ee={am:0,AM:0,pm:1,PM:1};else throw{code:"D3133",value:K.component};be.parse=function(Ne){return ee[Ne]}}return be.component=K.component,be});else{re.type="integer";const K=Z.case===X.UPPER;switch(Z.primary){case z.LETTERS:re.regex=K?"[A-Z]+":"[a-z]+",re.parse=function(be){return _(be,K?"A":"a")};break;case z.ROMAN:re.regex=K?"[MDCLXVI]+":"[mdclxvi]+",re.parse=function(be){return W(K?be:be.toUpperCase())};break;case z.WORDS:re.regex="(?:"+Object.keys(k).concat("and","[\\-, ]").join("|")+")+",re.parse=function(be){return M(be.toLowerCase())};break;case z.DECIMAL:re.regex="[0-9]",Z.parseWidth?re.regex+=`{${Z.parseWidth}}`:re.regex+="+",Z.ordinal&&(re.regex+="(?:th|st|nd|rd)"),re.parse=function(be){let ee=be;return Z.ordinal&&(ee=be.substring(0,be.length-2)),Z.regular?ee=ee.split(",").join(""):Z.groupingSeparators.forEach(Ne=>{ee=ee.split(Ne.character).join("")}),Z.zeroCode!==48&&(ee=ee.split("").map(Ne=>String.fromCodePoint(Ne.codePointAt(0)-Z.zeroCode+48)).join("")),parseInt(ee)};break;case z.SEQUENCE:throw{code:"D3130",value:Z.token}}}return re}function Y(Z,re){if(typeof Z>"u")return;const K=V(re);return B(K).parse(Z)}function Oe(Z,re){const K=we(re),be=B(K),ee="^"+be.parts.map(at=>"("+at.regex+")").join("")+"$";var ye=new RegExp(ee,"i").exec(Z);if(ye!==null){const lt={};for(let Ye=1;Ye<ye.length;Ye++){const j=be.parts[Ye-1];j.parse&&(lt[j.component]=j.parse(ye[Ye]))}if(Object.getOwnPropertyNames(lt).length===0)return;let sn=0;const mn=Ye=>{sn<<=1,sn+=Ye?1:0},dn=Ye=>!(~Ye&sn)&&!!(Ye&sn);"YXMxWwdD".split("").forEach(Ye=>mn(lt[Ye]));const Tn=!dn(161)&&dn(130),rr=dn(84),or=!rr&&dn(72);sn=0,"PHhmsf".split("").forEach(Ye=>mn(lt[Ye]));const rt=!dn(23)&&dn(47),Rn=(Tn?"YD":rr?"XxwF":or?"XWF":"YMD")+(rt?"Phmsf":"Hmsf"),Dn=this.environment.timestamp;let On=!1,Ln=!1;if(Rn.split("").forEach(Ye=>{if(typeof lt[Ye]>"u")On?(lt[Ye]="MDd".indexOf(Ye)!==-1?1:0,Ln=!0):lt[Ye]=se(Dn,Ye);else if(On=!0,Ln)throw{code:"D3136"}}),lt.M>0?lt.M-=1:lt.M=0,Tn){const Ye=Date.UTC(lt.Y,0),j=(lt.d-1)*1e3*60*60*24,J=new Date(Ye+j);lt.M=J.getUTCMonth(),lt.D=J.getUTCDate()}if(rr)throw{code:"D3136"};if(or)throw{code:"D3136"};rt&&(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 He=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 Je(Z,re){if(!(typeof Z>"u"))if(typeof re>"u"){if(!He.test(Z))throw{stack:new Error().stack,code:"D3110",value:Z};return Date.parse(Z)}else return Oe.call(this,Z,re)}function We(Z,re,K){if(!(typeof Z>"u"))return Te.call(this,Z,re,K)}return{formatInteger:N,parseInteger:Y,fromMillis:We,toMillis:Je}}();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,k=d.isFunction,M=d.isLambda,P=d.isPromise,U=d.getFunctionArity,G=d.isDeepEqual,W=d.stringToArray;function A($){if(!(typeof $>"u")){var F=0;return $.forEach(function(q){F+=q}),F}}function _($){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 X($){if(!(typeof $>"u"||$.length===0)){var F=0;return $.forEach(function(q){F+=q}),F/$.length}}function fe($,F=!1){if(!(typeof $>"u")){var q;if(typeof $=="string")q=$;else if(k($))q="";else{if(typeof $=="number"&&!isFinite($))throw{code:"D3001",value:$,stack:new Error().stack};var ue=F?2:0;Array.isArray($)&&$.outerWrapper&&($=$[0]),q=JSON.stringify($,function(ie,_e){return typeof _e<"u"&&_e!==null&&_e.toPrecision&&b(_e)?Number(_e.toPrecision(15)):_e&&k(_e)?"":_e},ue)}return q}}function Ce($,F,q){if(!(typeof $>"u")){var ue=W($),ie=ue.length;if(ie+F<0&&(F=0),typeof q<"u"){if(q<=0)return"";var _e=F>=0?F+q:ie+F+q;return ue.slice(F,_e).join("")}return ue.slice(F).join("")}}function V($,F){if(!(typeof $>"u")){var q=$.indexOf(F);return q>-1?$.substr(0,q):$}}function ve($,F){if(!(typeof $>"u")){var q=$.indexOf(F);return q>-1?$.substr(q+F.length):$}}function we($){if(!(typeof $>"u"))return $.toLowerCase()}function ce($){if(!(typeof $>"u"))return $.toUpperCase()}function Se($){if(!(typeof $>"u"))return W($).length}function Ee($){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 ge($,F,q){if(!(typeof $>"u")){(typeof q>"u"||q.length===0)&&(q=" ");var ue;F=Math.trunc(F);var ie=Math.abs(F)-Se($);if(ie>0){var _e=new Array(ie+1).join(q);q.length>1&&(_e=Ce(_e,0,ie)),F>0?ue=$+_e:ue=_e+$}else ue=$;return ue}}async function De($,F){var q=$.apply(this,[F]);if(P(q)&&(q=await q),q&&!(typeof q.start=="number"||q.end==="number"||Array.isArray(q.groups)||k(q.next)))throw{code:"T1010",stack:new Error().stack};return q}async function ke($,F){if(!(typeof $>"u")){var q;if(typeof F=="string")q=$.indexOf(F)!==-1;else{var ue=await De(F,$);q=typeof ue<"u"}return q}}async function se($,F,q){if(!(typeof $>"u")){if(q<0)throw{stack:new Error().stack,value:q,code:"D3040",index:3};var ue=w();if(typeof q>"u"||q>0){var ie=0,_e=await De(F,$);if(typeof _e<"u")for(;typeof _e<"u"&&(typeof q>"u"||ie<q);)ue.push({match:_e.match,index:_e.start,groups:_e.groups}),_e=await De(_e.next),ie++}return ue}}async function oe($,F,q,ue){if(!(typeof $>"u")){var ie=this;if(F==="")throw{code:"D3010",stack:new Error().stack,value:F,index:2};if(ue<0)throw{code:"D3011",stack:new Error().stack,value:ue,index:4};var _e;typeof q=="string"?_e=function(pn){for(var Xn="",an=0,ne=q.indexOf("$",an);ne!==-1&&an<q.length;){Xn+=q.substring(an,ne),an=ne+1;var Ge=q.charAt(an);if(Ge==="$")Xn+="$",an++;else if(Ge==="0")Xn+=pn.match,an++;else{var ot;if(pn.groups.length===0?ot=1:ot=Math.floor(Math.log(pn.groups.length)*Math.LOG10E)+1,ne=parseInt(q.substring(an,an+ot),10),ot>1&&ne>pn.groups.length&&(ne=parseInt(q.substring(an,an+ot-1),10)),isNaN(ne))Xn+="$";else{if(pn.groups.length>0){var Lt=pn.groups[ne-1];typeof Lt<"u"&&(Xn+=Lt)}an+=ne.toString().length}}ne=q.indexOf("$",an)}return Xn+=q.substring(an),Xn}:_e=q;var nt="",Tt=0;if(typeof ue>"u"||ue>0){var $t=0;if(typeof F=="string"){for(var fn=$.indexOf(F,Tt);fn!==-1&&(typeof ue>"u"||$t<ue);)nt+=$.substring(Tt,fn),nt+=q,Tt=fn+F.length,$t++,fn=$.indexOf(F,Tt);nt+=$.substring(Tt)}else{var zt=await De(F,$);if(typeof zt<"u"){for(;typeof zt<"u"&&(typeof ue>"u"||$t<ue);){nt+=$.substring(Tt,zt.start);var bn=_e.apply(ie,[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 De(zt.next)}nt+=$.substring(Tt)}else nt=$}}else nt=$;return nt}}function Te($){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 Y($){if(!(typeof $>"u")){var F;try{F=encodeURIComponent($)}catch{throw{code:"D3140",stack:new Error().stack,value:$,functionName:"encodeUrlComponent"}}return F}}function Oe($){if(!(typeof $>"u")){var F;try{F=encodeURI($)}catch{throw{code:"D3140",stack:new Error().stack,value:$,functionName:"encodeUrl"}}return F}}function He($){if(!(typeof $>"u")){var F;try{F=decodeURIComponent($)}catch{throw{code:"D3140",stack:new Error().stack,value:$,functionName:"decodeUrlComponent"}}return F}}function Je($){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 ue=[];if(typeof q>"u"||q>0)if(typeof F=="string")ue=$.split(F,q);else{var ie=0,_e=await De(F,$);if(typeof _e<"u"){for(var nt=0;typeof _e<"u"&&(typeof q>"u"||ie<q);)ue.push($.substring(nt,_e.start)),nt=_e.end,_e=await De(_e.next),ie++;(typeof q>"u"||ie<q)&&ue.push($.substring(nt))}else ue.push($)}return ue}}function Z($,F){if(!(typeof $>"u"))return typeof F>"u"&&(F=""),$.join(F)}function re($,F,q){if(!(typeof $>"u")){var ue={"decimal-separator":".","grouping-separator":",","exponent-separator":"e",infinity:"Infinity","minus-sign":"-",NaN:"NaN",percent:"%","per-mille":"‰","zero-digit":"0",digit:"#","pattern-separator":";"},ie=ue;typeof q<"u"&&Object.keys(q).forEach(function(Ht){ie[Ht]=q[Ht]});for(var _e=[],nt=ie["zero-digit"].charCodeAt(0),Tt=nt;Tt<nt+10;Tt++)_e.push(String.fromCharCode(Tt));var $t=_e.concat([ie["decimal-separator"],ie["exponent-separator"],ie["grouping-separator"],ie.digit,ie["pattern-separator"]]),fn=F.split(ie["pattern-separator"]);if(fn.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!==ie["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!==ie["exponent-separator"])return Ht.substring(Tr+1)}(),yn=Ht.substring(Bn.length,Ht.length-gr.length),lo,Er,Eo,Ii,so=Ht.indexOf(ie["exponent-separator"],Bn.length);so===-1||so>Ht.length-gr.length?(lo=yn,Er=void 0):(lo=yn.substring(0,so),Er=yn.substring(so+1));var Zr=lo.indexOf(ie["decimal-separator"]);return Zr===-1?(Eo=lo,Ii=gr):(Eo=lo.substring(0,Zr),Ii=lo.substring(Zr+1)),{prefix:Bn,suffix:gr,activePart:yn,mantissaPart:lo,exponentPart:Er,integerPart:Eo,fractionalPart:Ii,subpicture:Ht}},bn=function(Ht){var Bn,gr,yn=Ht.subpicture,lo=yn.indexOf(ie["decimal-separator"]);lo!==yn.lastIndexOf(ie["decimal-separator"])&&(Bn="D3081"),yn.indexOf(ie.percent)!==yn.lastIndexOf(ie.percent)&&(Bn="D3082"),yn.indexOf(ie["per-mille"])!==yn.lastIndexOf(ie["per-mille"])&&(Bn="D3083"),yn.indexOf(ie.percent)!==-1&&yn.indexOf(ie["per-mille"])!==-1&&(Bn="D3084");var Er=!1;for(gr=0;gr<Ht.mantissaPart.length;gr++){var Eo=Ht.mantissaPart.charAt(gr);if(_e.indexOf(Eo)!==-1||Eo===ie.digit){Er=!0;break}}Er||(Bn="D3085");var Ii=Ht.activePart.split("").map(function(Mn){return $t.indexOf(Mn)===-1?"p":"a"}).join("");Ii.indexOf("p")!==-1&&(Bn="D3086"),lo!==-1?(yn.charAt(lo-1)===ie["grouping-separator"]||yn.charAt(lo+1)===ie["grouping-separator"])&&(Bn="D3087"):Ht.integerPart.charAt(Ht.integerPart.length-1)===ie["grouping-separator"]&&(Bn="D3088"),yn.indexOf(ie["grouping-separator"]+ie["grouping-separator"])!==-1&&(Bn="D3089");var so=Ht.integerPart.indexOf(ie.digit);so!==-1&&Ht.integerPart.substring(0,so).split("").filter(function(Mn){return _e.indexOf(Mn)>-1}).length>0&&(Bn="D3090"),so=Ht.fractionalPart.lastIndexOf(ie.digit),so!==-1&&Ht.fractionalPart.substring(so).split("").filter(function(Mn){return _e.indexOf(Mn)>-1}).length>0&&(Bn="D3091");var Zr=typeof Ht.exponentPart=="string";if(Zr&&Ht.exponentPart.length>0&&(yn.indexOf(ie.percent)!==-1||yn.indexOf(ie["per-mille"])!==-1)&&(Bn="D3092"),Zr&&(Ht.exponentPart.length===0||Ht.exponentPart.split("").filter(function(Mn){return _e.indexOf(Mn)===-1}).length>0)&&(Bn="D3093"),Bn)throw{code:Bn,stack:new Error().stack}},pn=function(Ht){var Bn=function(zr,pl){for(var Fi=[],qo=zr.indexOf(ie["grouping-separator"]);qo!==-1;){var hl=(pl?zr.substring(0,qo):zr.substring(qo)).split("").filter(function(Qo){return _e.indexOf(Qo)!==-1||Qo===ie.digit}).length;Fi.push(hl),qo=Ht.integerPart.indexOf(ie["grouping-separator"],qo+1)}return Fi},gr=Bn(Ht.integerPart),yn=function(zr){if(zr.length===0)return 0;for(var pl=function(hl,Qo){return Qo===0?hl:pl(Qo,hl%Qo)},Fi=zr.reduce(pl),qo=1;qo<=zr.length;qo++)if(zr.indexOf(qo*Fi)===-1)return 0;return Fi},lo=yn(gr),Er=Bn(Ht.fractionalPart,!0),Eo=Ht.integerPart.split("").filter(function(zr){return _e.indexOf(zr)!==-1}).length,Ii=Eo,so=Ht.fractionalPart.split(""),Zr=so.filter(function(zr){return _e.indexOf(zr)!==-1}).length,Mn=so.filter(function(zr){return _e.indexOf(zr)!==-1||zr===ie.digit}).length,Tr=typeof Ht.exponentPart=="string";Eo===0&&Mn===0&&(Tr?(Zr=1,Mn=1):Eo=1),Tr&&Eo===0&&Ht.integerPart.indexOf(ie.digit)!==-1&&(Eo=1),Eo===0&&Zr===0&&(Zr=1);var di=0;return Tr&&(di=Ht.exponentPart.split("").filter(function(zr){return _e.indexOf(zr)!==-1}).length),{integerPartGroupingPositions:gr,regularGrouping:lo,minimumIntegerPartSize:Eo,scalingFactor:Ii,prefix:Ht.prefix,fractionalPartGroupingPositions:Er,minimumFactionalPartSize:Zr,maximumFactionalPartSize:Mn,minimumExponentSize:di,suffix:Ht.suffix,picture:Ht.subpicture}},Xn=fn.map(zt);Xn.forEach(bn);var an=Xn.map(pn),ne=ie["minus-sign"],Ge=ie["zero-digit"],ot=ie["decimal-separator"],Lt=ie["grouping-separator"];an.length===1&&(an.push(JSON.parse(JSON.stringify(an[0]))),an[1].prefix=ne+an[1].prefix);var At;$>=0?At=an[0]:At=an[1];var Wt;At.picture.indexOf(ie.percent)!==-1?Wt=$*100:At.picture.indexOf(ie["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 Ge!=="0"&&(gr=gr.split("").map(function(yn){return yn>="0"&&yn<="9"?_e[yn.charCodeAt(0)-48]:yn}).join("")),gr},Yt=Kr(ar,At.maximumFactionalPartSize),Jn=Yt.indexOf(".");for(Jn===-1?Yt=Yt+ot:Yt=Yt.replace(".",ot);Yt.charAt(0)===Ge;)Yt=Yt.substring(1);for(;Yt.charAt(Yt.length-1)===Ge;)Yt=Yt.substring(0,Yt.length-1);Jn=Yt.indexOf(ot);var Xt=At.minimumIntegerPartSize-Jn,nn=At.minimumFactionalPartSize-(Yt.length-Jn-1);if(Yt=(Xt>0?new Array(Xt+1).join(Ge):"")+Yt,Yt=Yt+(nn>0?new Array(nn+1).join(Ge):""),Jn=Yt.indexOf(ot),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),Lt,Yt.slice(Jn-ci*At.regularGrouping)].join("");else At.integerPartGroupingPositions.forEach(function(Ht){Yt=[Yt.slice(0,Jn-Ht),Lt,Yt.slice(Jn-Ht)].join(""),Jn++});if(Jn=Yt.indexOf(ot),At.fractionalPartGroupingPositions.forEach(function(Ht){Yt=[Yt.slice(0,Ht+Jn+1),Lt,Yt.slice(Ht+Jn+1)].join("")}),Jn=Yt.indexOf(ot),(At.picture.indexOf(ot)===-1||Jn===Yt.length-1)&&(Yt=Yt.substring(0,Yt.length-1)),typeof en<"u"){var fi=Kr(en,0);Xt=At.minimumExponentSize-fi.length,Xt>0&&(fi=new Array(Xt+1).join(Ge)+fi),Yt=Yt+ie["exponent-separator"]+(en<0?ne:"")+fi}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 be($){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 ee($){var F;if(!(typeof $>"u"))return F=Math.abs($),F}function Ne($){var F;if(!(typeof $>"u"))return F=Math.floor($),F}function ye($){var F;if(!(typeof $>"u"))return F=Math.ceil($),F}function Fe($,F){var q;if(!(typeof $>"u")){if(F){var ue=$.toString().split("e");$=+(ue[0]+"e"+(ue[1]?+ue[1]+F:F))}q=Math.round($);var ie=q-$;return Math.abs(ie)===.5&&Math.abs(q%2)===1&&(q=q-1),F&&(ue=q.toString().split("e"),q=+(ue[0]+"e"+(ue[1]?+ue[1]-F:-F))),Object.is(q,-0)&&(q=0),q}}function at($){var F;if(!(typeof $>"u")){if($<0)throw{stack:new Error().stack,code:"D3060",index:1,value:$};return F=Math.sqrt($),F}}function It($,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 jt(){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(ue){return vt(ue)});F=q.length>0}}else typeof $=="string"?$.length>0&&(F=!0):b($)?$!==0&&(F=!0):$!==null&&typeof $=="object"&&!k($)?Object.keys($).length>0&&(F=!0):typeof $=="boolean"&&$===!0&&(F=!0);return F}}function gt($){if(!(typeof $>"u"))return!vt($)}function Ct($,F,q,ue){var ie=[F],_e=U($);return _e>=2&&ie.push(q),_e>=3&&ie.push(ue),ie}async function lt($,F){if(!(typeof $>"u")){for(var q=w(),ue=0;ue<$.length;ue++){var ie=Ct(F,$[ue],ue,$),_e=await F.apply(this,ie);typeof _e<"u"&&q.push(_e)}return q}}async function sn($,F){if(!(typeof $>"u")){for(var q=w(),ue=0;ue<$.length;ue++){var ie=$[ue],_e=Ct(F,ie,ue,$),nt=await F.apply(this,_e);vt(nt)&&q.push(ie)}return q}}async function mn($,F){if(!(typeof $>"u")){for(var q=!1,ue,ie=0;ie<$.length;ie++){var _e=$[ie],nt=!0;if(typeof F<"u"){var Tt=Ct(F,_e,ie,$),$t=await F.apply(this,Tt);nt=vt($t)}if(nt)if(!q)ue=_e,q=!0;else throw{stack:new Error().stack,code:"D3138",index:ie}}if(!q)throw{stack:new Error().stack,code:"D3139"};return ue}}function dn(){for(var $=[],F=Array.prototype.slice.call(arguments),q=Math.min.apply(Math,F.map(function(_e){return Array.isArray(_e)?_e.length:0})),ue=0;ue<q;ue++){var ie=F.map(_e=>_e[ue]);$.push(ie)}return $}async function un($,F,q){if(!(typeof $>"u")){var ue,ie=U(F);if(ie<2)throw{stack:new Error().stack,code:"D3050",index:1};var _e;for(typeof q>"u"&&$.length>0?(ue=$[0],_e=1):(ue=q,_e=0);_e<$.length;){var nt=[ue,$[_e]];ie>=3&&nt.push(_e),ie>=4&&nt.push($),ue=await F.apply(this,nt),_e++}return ue}}function Tn($){var F=w();if(Array.isArray($)){var q={};$.forEach(function(ue){var ie=Tn(ue);ie.forEach(function(_e){q[_e]=!0})}),F=Tn(q)}else $!==null&&typeof $=="object"&&!k($)&&Object.keys($).forEach(ue=>F.push(ue));return F}function rr($,F){var q;if(Array.isArray($)){q=w();for(var ue=0;ue<$.length;ue++){var ie=rr($[ue],F);typeof ie<"u"&&(Array.isArray(ie)?ie.forEach(_e=>q.push(_e)):q.push(ie))}}else $!==null&&typeof $=="object"&&!k($)&&(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 rt($){var F=w();if(Array.isArray($))$.forEach(function(ie){F=or(F,rt(ie))});else if($!==null&&typeof $=="object"&&!M($))for(var q in $){var ue={};ue[q]=$[q],F.push(ue)}else F=$;return F}function Be($){if(!(typeof $>"u")){var F={};return $.forEach(function(q){for(var ue in q)F[ue]=q[ue]}),F}}function cn($){if(!(typeof $>"u")){if($.length<=1)return $;for(var F=$.length,q=new Array(F),ue=0;ue<F;ue++)q[F-ue-1]=$[ue];return q}}async function Rn($,F){var q=w();for(var ue in $){var ie=Ct(F,$[ue],ue,$),_e=await F.apply(this,ie);typeof _e<"u"&&q.push(_e)}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":k($)?"function":"object"}async function Ye($,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 ue=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))},fn=[];return await $t(fn,nt,Tt),fn},ie=async function(nt){if(!Array.isArray(nt)||nt.length<=1)return nt;var Tt=Math.floor(nt.length/2),$t=nt.slice(0,Tt),fn=nt.slice(Tt);return $t=await ie($t),fn=await ie(fn),await ue($t,fn)},_e=await ie($);return _e}}function j($){if(!(typeof $>"u")){if($.length<=1)return $;for(var F=new Array($.length),q=0;q<$.length;q++){var ue=Math.floor(Math.random()*(q+1));q!==ue&&(F[q]=F[ue]),F[ue]=$[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 ue=$[q],ie=!1,_e=0;_e<F.length;_e++)if(G(ue,F[_e])){ie=!0;break}ie||F.push(ue)}return F}}async function ae($,F){var q={};for(var ue in $){var ie=$[ue],_e=Ct(F,ie,ue,$),nt=await F.apply(this,_e);vt(nt)&&(q[ue]=ie)}return Object.keys(q).length===0&&(q=void 0),q}return{sum:A,count:_,max:N,min:z,average:X,string:fe,substring:Ce,substringBefore:V,substringAfter:ve,lowercase:we,uppercase:ce,length:Se,trim:Ee,pad:ge,match:se,contains:ke,replace:oe,split:We,join:Z,formatNumber:re,formatBase:K,number:be,floor:Ne,ceil:ye,round:Fe,abs:ee,sqrt:at,power:It,random:jt,boolean:vt,not:gt,map:lt,zip:dn,filter:sn,single:mn,foldLeft:un,sift:ae,keys:Tn,lookup:rr,append:or,exists:it,spread:rt,merge:Be,reverse:cn,each:Rn,error:Dn,assert:On,type:Ln,sort:Ye,shuffle:j,distinct:J,base64encode:Te,base64decode:B,encodeUrlComponent:Y,encodeUrl:Oe,decodeUrlComponent:He,decodeUrl:Je}})();s.exports=v}).call(this)}).call(this,typeof rO<"u"?rO: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,k=v.isArrayOfNumbers,M=v.createSequence,P=v.isSequence,U=v.isFunction,G=v.isLambda,W=v.isIterable,A=v.isPromise,_=v.getFunctionArity,N=v.isDeepEqual,z=Dn(null);async function X(j,J,ae){var $,F=ae.lookup(Symbol.for("jsonata.__evaluate_entry"));switch(F&&await F(j,J,ae),j.type){case"path":$=await fe(j,J,ae);break;case"binary":$=await Se(j,J,ae);break;case"unary":$=await Ee(j,J,ae);break;case"name":$=ge(j,J);break;case"string":case"number":case"value":$=De(j);break;case"wildcard":$=ke(j,J);break;case"descendant":$=oe(j,J);break;case"parent":$=ae.lookup(j.slot.label);break;case"condition":$=await Ne(j,J,ae);break;case"block":$=await ye(j,J,ae);break;case"bind":$=await ee(j,J,ae);break;case"regex":$=Fe(j);break;case"function":$=await Ct(j,J,ae);break;case"variable":$=at(j,J,ae);break;case"lambda":$=mn(j,J,ae);break;case"partial":$=await dn(j,J,ae);break;case"apply":$=await gt(j,J,ae);break;case"transform":$=jt(j,J,ae);break}if(Object.prototype.hasOwnProperty.call(j,"predicate"))for(var q=0;q<j.predicate.length;q++)$=await ce(j.predicate[q].expr,$,ae);j.type!=="path"&&Object.prototype.hasOwnProperty.call(j,"group")&&($=await re(j.group,$,ae));var ue=ae.lookup(Symbol.for("jsonata.__evaluate_exit"));return ue&&await ue(j,J,ae,$),$&&P($)&&!$.tupleStream&&(j.keepArray&&($.keepSingleton=!0),$.length===0?$=void 0:$.length===1&&($=$.keepSingleton?$:$[0])),$}async function fe(j,J,ae){var $;Array.isArray(J)&&j.steps[0].type!=="variable"?$=J:$=M(J);for(var F,q=!1,ue=void 0,ie=0;ie<j.steps.length;ie++){var _e=j.steps[ie];if(_e.tuple&&(q=!0),ie===0&&_e.consarray?F=await X(_e,$,ae):q?ue=await we(_e,$,ue,ae):F=await V(_e,$,ae,ie===j.steps.length-1),!q&&(typeof F>"u"||F.length===0))break;typeof _e.focus>"u"&&($=F)}if(q)if(j.tuple)F=ue;else for(F=M(),ie=0;ie<ue.length;ie++)F.push(ue[ie]["@"]);return j.keepSingletonArray&&(Array.isArray(F)&&F.cons&&!F.sequence&&(F=M(F)),F.keepSingleton=!0),j.hasOwnProperty("group")&&(F=await re(j.group,q?ue:F,ae)),F}function Ce(j,J){var ae=Dn(j);for(const $ in J)ae.bind($,J[$]);return ae}async function V(j,J,ae,$){var F;if(j.type==="sort")return F=await It(j,J,ae),j.stages&&(F=await ve(j.stages,F,ae)),F;F=M();for(var q=0;q<J.length;q++){var ue=await X(j,J[q],ae);if(j.stages)for(var ie=0;ie<j.stages.length;ie++)ue=await ce(j.stages[ie].expr,ue,ae);typeof ue<"u"&&F.push(ue)}var _e=M();return $&&F.length===1&&Array.isArray(F[0])&&!P(F[0])?_e=F[0]:F.forEach(function(nt){!Array.isArray(nt)||nt.cons?_e.push(nt):nt.forEach(Tt=>_e.push(Tt))}),_e}async function ve(j,J,ae){for(var $=J,F=0;F<j.length;F++){var q=j[F];switch(q.type){case"filter":$=await ce(q.expr,$,ae);break;case"index":for(var ue=0;ue<$.length;ue++){var ie=$[ue];ie[q.value]=ue}break}}return $}async function we(j,J,ae,$){var F;if(j.type==="sort"){if(ae)F=await It(j,ae,$);else{var q=await It(j,J,$);F=M(),F.tupleStream=!0;for(var ue=0;ue<q.length;ue++){var ie={"@":q[ue]};ie[j.index]=ue,F.push(ie)}}return j.stages&&(F=await ve(j.stages,F,$)),F}F=M(),F.tupleStream=!0;var _e=$;ae===void 0&&(ae=J.map(fn=>({"@":fn})));for(var nt=0;nt<ae.length;nt++){_e=Ce($,ae[nt]);var Tt=await X(j,ae[nt]["@"],_e);if(typeof Tt<"u"){Array.isArray(Tt)||(Tt=[Tt]);for(var $t=0;$t<Tt.length;$t++)ie={},Object.assign(ie,ae[nt]),Tt.tupleStream?Object.assign(ie,Tt[$t]):(j.focus?(ie[j.focus]=Tt[$t],ie["@"]=ae[nt]["@"]):ie["@"]=Tt[$t],j.index&&(ie[j.index]=$t),j.ancestor&&(ie[j.ancestor.label]=ae[nt]["@"])),F.push(ie)}}return j.stages&&(F=await ve(j.stages,F,$)),F}async function ce(j,J,ae){var $=M();if(J&&J.tupleStream&&($.tupleStream=!0),Array.isArray(J)||(J=M(J)),j.type==="number"){var F=Math.floor(j.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],ue=q,ie=ae;J.tupleStream&&(ue=q["@"],ie=Ce(ae,q));var _e=await X(j,ue,ie);w(_e)&&(_e=[_e]),k(_e)?_e.forEach(function(Tt){var $t=Math.floor(Tt);$t<0&&($t=J.length+$t),$t===F&&$.push(q)}):d.boolean(_e)&&$.push(q)}return $}async function Se(j,J,ae){var $,F=await X(j.lhs,J,ae),q=j.value,ue=async()=>await X(j.rhs,J,ae);if(q==="and"||q==="or")try{return await Je(F,ue,q)}catch(_e){throw _e.position=j.position,_e.token=q,_e}var ie=await ue();try{switch(q){case"+":case"-":case"*":case"/":case"%":$=B(F,ie,q);break;case"=":case"!=":$=Y(F,ie,q);break;case"<":case"<=":case">":case">=":$=Oe(F,ie,q);break;case"&":$=Z(F,ie);break;case"..":$=be(F,ie);break;case"in":$=He(F,ie);break}}catch(_e){throw _e.position=j.position,_e.token=q,_e}return $}async function Ee(j,J,ae){var $;switch(j.value){case"-":if($=await X(j.expression,J,ae),typeof $>"u")$=void 0;else if(w($))$=-$;else throw{code:"D1002",stack:new Error().stack,position:j.position,token:j.value,value:$};break;case"[":$=[];let ue=await Promise.all(j.expressions.map(async(ie,_e)=>(ae.isParallelCall=_e>0,[ie,await X(ie,J,ae)])));for(let ie of ue){var[F,q]=ie;typeof q<"u"&&(F.value==="["?$.push(q):$=d.append($,q))}j.consarray&&Object.defineProperty($,"cons",{enumerable:!1,configurable:!1,value:!0});break;case"{":$=await re(j,J,ae);break}return $}function ge(j,J,ae){return d.lookup(J,j.value)}function De(j){return j.value}function ke(j,J){var ae=M();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=se(F),ae=d.append(ae,F)):ae.push(F)}),ae}function se(j,J){return typeof J>"u"&&(J=[]),Array.isArray(j)?j.forEach(function(ae){se(ae,J)}):J.push(j),J}function oe(j,J){var ae,$=M();return typeof J<"u"&&(Te(J,$),$.length===1?ae=$[0]:ae=$),ae}function Te(j,J){Array.isArray(j)||J.push(j),Array.isArray(j)?j.forEach(function(ae){Te(ae,J)}):j!==null&&typeof j=="object"&&Object.keys(j).forEach(function(ae){Te(j[ae],J)})}function B(j,J,ae){var $;if(typeof j<"u"&&!w(j))throw{code:"T2001",stack:new Error().stack,value:j};if(typeof J<"u"&&!w(J))throw{code:"T2002",stack:new Error().stack,value:J};if(typeof j>"u"||typeof J>"u")return $;switch(ae){case"+":$=j+J;break;case"-":$=j-J;break;case"*":$=j*J;break;case"/":$=j/J;break;case"%":$=j%J;break}return $}function Y(j,J,ae){var $,F=typeof j,q=typeof J;if(F==="undefined"||q==="undefined")return!1;switch(ae){case"=":$=N(j,J);break;case"!=":$=!N(j,J);break}return $}function Oe(j,J,ae){var $,F=typeof j,q=typeof J,ue=F==="undefined"||F==="string"||F==="number",ie=q==="undefined"||q==="string"||q==="number";if(!ue||!ie)throw{code:"T2010",stack:new Error().stack,value:F==="string"||F==="number"?J:j};if(!(F==="undefined"||q==="undefined")){if(F!==q)throw{code:"T2009",stack:new Error().stack,value:j,value2:J};switch(ae){case"<":$=j<J;break;case"<=":$=j<=J;break;case">":$=j>J;break;case">=":$=j>=J;break}return $}}function He(j,J){var ae=!1;if(typeof j>"u"||typeof J>"u")return!1;Array.isArray(J)||(J=[J]);for(var $=0;$<J.length;$++)if(J[$]===j){ae=!0;break}return ae}async function Je(j,J,ae){var $,F=We(j);switch(ae){case"and":$=F&&We(await J());break;case"or":$=F||We(await J());break}return $}function We(j){var J=d.boolean(j);return typeof J>"u"?!1:J}function Z(j,J){var ae,$="",F="";return typeof j<"u"&&($=d.string(j)),typeof J<"u"&&(F=d.string(J)),ae=$.concat(F),ae}async function re(j,J,ae){var $={},F={},q=!!(J&&J.tupleStream);Array.isArray(J)||(J=M(J)),J.length===0&&J.push(void 0);for(var ue=0;ue<J.length;ue++)for(var ie=J[ue],_e=q?Ce(ae,ie):ae,nt=0;nt<j.lhs.length;nt++){var Tt=j.lhs[nt],$t=await X(Tt[0],q?ie["@"]:ie,_e);if(typeof $t!="string"&&$t!==void 0)throw{code:"T1003",stack:new Error().stack,position:j.position,value:$t};if($t!==void 0){var fn={data:ie,exprIndex:nt};if(F.hasOwnProperty($t)){if(F[$t].exprIndex!==nt)throw{code:"D1009",stack:new Error().stack,position:j.position,value:$t};F[$t].data=d.append(F[$t].data,ie)}else F[$t]=fn}}let zt=await Promise.all(Object.keys(F).map(async(pn,Xn)=>{let an=F[pn];var ne=an.data,Ge=ae;if(q){var ot=K(an.data);ne=ot["@"],delete ot["@"],Ge=Ce(ae,ot)}return ae.isParallelCall=Xn>0,[pn,await X(j.lhs[an.exprIndex][1],ne,Ge)]}));for(let pn of zt){var[$t,bn]=await pn;typeof bn<"u"&&($[$t]=bn)}return $}function K(j){if(!Array.isArray(j))return j;var J={};Object.assign(J,j[0]);for(var ae=1;ae<j.length;ae++)for(const $ in j[ae])J[$]=d.append(J[$],j[ae][$]);return J}function be(j,J){var ae;if(typeof j<"u"&&!Number.isInteger(j))throw{code:"T2003",stack:new Error().stack,value:j};if(typeof J<"u"&&!Number.isInteger(J))throw{code:"T2004",stack:new Error().stack,value:J};if(typeof j>"u"||typeof J>"u"||j>J)return ae;var $=J-j+1;if($>1e7)throw{code:"D2014",stack:new Error().stack,value:$};ae=new Array($);for(var F=j,q=0;F<=J;F++,q++)ae[q]=F;return ae.sequence=!0,ae}async function ee(j,J,ae){var $=await X(j.rhs,J,ae);return ae.bind(j.lhs.value,$),$}async function Ne(j,J,ae){var $,F=await X(j.condition,J,ae);return d.boolean(F)?$=await X(j.then,J,ae):typeof j.else<"u"&&($=await X(j.else,J,ae)),$}async function ye(j,J,ae){for(var $,F=Dn(ae),q=0;q<j.expressions.length;q++)$=await X(j.expressions[q],J,F);return $}function Fe(j){var J=new Ye.RegexEngine(j.value),ae=function($,F){var q;J.lastIndex=F||0;var ue=J.exec($);if(ue!==null){if(q={match:ue[0],start:ue.index,end:ue.index+ue[0].length,groups:[]},ue.length>1)for(var ie=1;ie<ue.length;ie++)q.groups.push(ue[ie]);q.next=function(){if(!(J.lastIndex>=$.length)){var _e=ae($,J.lastIndex);if(_e&&_e.match==="")throw{code:"D1004",stack:new Error().stack,position:j.position,value:j.value.source};return _e}}}return q};return ae}function at(j,J,ae){var $;return j.value===""?$=J&&J.outerWrapper?J[0]:J:$=ae.lookup(j.value),$}async function It(j,J,ae){var $,F=J,q=!!J.tupleStream,ue=async function(_e,nt){for(var Tt=0,$t=0;Tt===0&&$t<j.terms.length;$t++){var fn=j.terms[$t],zt=_e,bn=ae;q&&(zt=_e["@"],bn=Ce(ae,_e));var pn=await X(fn.expression,zt,bn);zt=nt,bn=ae,q&&(zt=nt["@"],bn=Ce(ae,nt));var Xn=await X(fn.expression,zt,bn),an=typeof pn,ne=typeof Xn;if(an==="undefined"){Tt=ne==="undefined"?0:1;continue}if(ne==="undefined"){Tt=-1;continue}if(!(an==="string"||an==="number")||!(ne==="string"||ne==="number"))throw{code:"T2008",stack:new Error().stack,position:j.position,value:an==="string"||an==="number"?Xn:pn};if(an!==ne)throw{code:"T2007",stack:new Error().stack,position:j.position,value:pn,value2:Xn};pn!==Xn&&(pn<Xn?Tt=-1:Tt=1,fn.descending===!0&&(Tt=-Tt))}return Tt===1},ie={environment:ae,input:J};return $=await d.sort.apply(ie,[F,ue]),$}function jt(j,J,ae){var $=async function(F){if(!(typeof F>"u")){var q=ae.lookup("clone");if(!U(q))throw{code:"T2013",stack:new Error().stack,position:j.position};var ue=await lt(q,[F],null,ae),ie=await X(j.pattern,ue,ae);if(typeof ie<"u"){Array.isArray(ie)||(ie=[ie]);for(var _e=0;_e<ie.length;_e++){var nt=ie[_e];if(nt&&(nt.isPrototypeOf(ue)||nt instanceof Object.constructor))throw{code:"D1010",stack:new Error().stack,position:j.position};var Tt=await X(j.update,nt,ae),$t=typeof Tt;if($t!=="undefined"){if($t!=="object"||Tt===null||Array.isArray(Tt))throw{code:"T2011",stack:new Error().stack,position:j.update.position,value:Tt};for(var fn in Tt)nt[fn]=Tt[fn]}if(typeof j.delete<"u"){var zt=await X(j.delete,nt,ae);if(typeof zt<"u"){var bn=zt;if(Array.isArray(zt)||(zt=[zt]),!R(zt))throw{code:"T2012",stack:new Error().stack,position:j.delete.position,value:bn};for(var pn=0;pn<zt.length;pn++)typeof nt=="object"&&nt!==null&&delete nt[zt[pn]]}}}}return ue}};return Be($,"<(oa):o>")}var vt=b("function($f, $g) { function($x){ $g($f($x)) } }");async function gt(j,J,ae){var $,F=await X(j.lhs,J,ae);if(j.rhs.type==="function")$=await Ct(j.rhs,J,ae,{context:F});else{var q=await X(j.rhs,J,ae);if(!U(q))throw{code:"T2006",stack:new Error().stack,position:j.position,value:q};if(U(F)){var ue=await X(vt,null,ae);$=await lt(ue,[F,q],null,ae)}else $=await lt(q,[F],null,ae)}return $}async function Ct(j,J,ae,$){var F,q=await X(j.procedure,J,ae);if(typeof q>"u"&&j.procedure.type==="path"&&ae.lookup(j.procedure.steps[0].value))throw{code:"T1005",stack:new Error().stack,position:j.position,token:j.procedure.steps[0].value};var ue=[];typeof $<"u"&&ue.push($.context);for(var ie=0;ie<j.arguments.length;ie++){const nt=await X(j.arguments[ie],J,ae);if(U(nt)){const Tt=async function(...$t){return await lt(nt,$t,null,ae)};Tt.arity=_(nt),ue.push(Tt)}else ue.push(nt)}var _e=j.procedure.type==="path"?j.procedure.steps[0].value:j.procedure.value;try{typeof q=="object"&&(q.token=_e,q.position=j.position),F=await lt(q,ue,J,ae)}catch(nt){throw nt.position||(nt.position=j.position),nt.token||(nt.token=_e),nt}return F}async function lt(j,J,ae,$){var F;for(F=await sn(j,J,ae,$);G(F)&&F.thunk===!0;){var q=await X(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 ue=[],ie=0;ie<F.body.arguments.length;ie++)ue.push(await X(F.body.arguments[ie],F.input,F.environment));F=await sn(q,ue,ae,$)}return F}async function sn(j,J,ae,$){var F;try{var q=J;if(j&&(q=un(j.signature,J,ae)),G(j))F=await Tn(j,q);else if(j&&j._jsonata_function===!0){var ue={environment:$,input:ae};F=j.implementation.apply(ue,q),W(F)&&(F=F.next().value),A(F)&&(F=await F)}else if(typeof j=="function")F=j.apply(ae,q),A(F)&&(F=await F);else throw{code:"T1006",stack:new Error().stack}}catch(ie){throw j&&(typeof ie.token>"u"&&typeof j.token<"u"&&(ie.token=j.token),ie.position=j.position||ie.position),ie}return F}function mn(j,J,ae){var $={_jsonata_lambda:!0,input:J,environment:ae,arguments:j.arguments,signature:j.signature,body:j.body};return j.thunk===!0&&($.thunk=!0),$.apply=async function(F,q){return await lt($,q,J,F?F.environment:ae)},$}async function dn(j,J,ae){for(var $,F=[],q=0;q<j.arguments.length;q++){var ue=j.arguments[q];ue.type==="operator"&&ue.value==="?"?F.push(ue):F.push(await X(ue,J,ae))}var ie=await X(j.procedure,J,ae);if(typeof ie>"u"&&j.procedure.type==="path"&&ae.lookup(j.procedure.steps[0].value))throw{code:"T1007",stack:new Error().stack,position:j.position,token:j.procedure.steps[0].value};if(G(ie))$=rr(ie,F);else if(ie&&ie._jsonata_function===!0)$=or(ie.implementation,F);else if(typeof ie=="function")$=or(ie,F);else throw{code:"T1008",stack:new Error().stack,position:j.position,token:j.procedure.type==="path"?j.procedure.steps[0].value:j.procedure.value};return $}function un(j,J,ae){if(typeof j>"u")return J;var $=j.validate(J,ae);return $}async function Tn(j,J){var ae,$=Dn(j.environment);return j.arguments.forEach(function(F,q){$.bind(F.value,J[q])}),typeof j.body=="function"?ae=await it(j.body,$):ae=await X(j.body,j.input,$),ae}function rr(j,J){var ae=Dn(j.environment),$=[];j.arguments.forEach(function(q,ue){var ie=J[ue];ie&&ie.type==="operator"&&ie.value==="?"?$.push(q):ae.bind(q.value,ie)});var F={_jsonata_lambda:!0,input:j.input,environment:ae,arguments:$,body:j.body};return F}function or(j,J){var ae=rt(j);ae=ae.map(function(ue){return"$"+ue.trim()});var $="function("+ae.join(", ")+"){ _ }",F=b($);F.body=j;var q=rr(F,J);return q}async function it(j,J){var ae=rt(j),$=ae.map(function(ue){return J.lookup(ue.trim())}),F={environment:J},q=j.apply(F,$);return A(q)&&(q=await q),q}function rt(j){var J=j.toString(),ae=/\(([^)]*)\)/.exec(J)[1],$=ae.split(",");return $}function Be(j,J){var ae={_jsonata_function:!0,implementation:j};return typeof J<"u"&&(ae.signature=S(J)),ae}async function cn(j,J){if(!(typeof j>"u")){var ae=this.input;typeof J<"u"&&(ae=J,Array.isArray(ae)&&!P(ae)&&(ae=M(ae),ae.outerWrapper=!0));try{var $=b(j,!1)}catch(q){throw Ln(q),{stack:new Error().stack,code:"D3120",value:q.message,error:q}}try{var F=await X($,ae,this.environment)}catch(q){throw Ln(q),{stack:new Error().stack,code:"D3121",value:q.message,error:q}}return F}}function Rn(j){if(!(typeof j>"u"))return JSON.parse(d.string(j))}function Dn(j){var J={};const ae={bind:function(F,q){J[F]=q},lookup:function(F){var q;return J.hasOwnProperty(F)?q=J[F]:j&&(q=j.lookup(F)),q},timestamp:j?j.timestamp:null,async:j?j.async:!1,isParallelCall:j?j.isParallelCall:!1,global:j?j.global:{ancestry:[null]}};if(j){var $=j.lookup(Symbol.for("jsonata.__createFrame_push"));$&&$(j,ae)}return ae}z.bind("sum",Be(d.sum,"<a<n>:n>")),z.bind("count",Be(d.count,"<a:n>")),z.bind("max",Be(d.max,"<a<n>:n>")),z.bind("min",Be(d.min,"<a<n>:n>")),z.bind("average",Be(d.average,"<a<n>:n>")),z.bind("string",Be(d.string,"<x-b?:s>")),z.bind("substring",Be(d.substring,"<s-nn?:s>")),z.bind("substringBefore",Be(d.substringBefore,"<s-s:s>")),z.bind("substringAfter",Be(d.substringAfter,"<s-s:s>")),z.bind("lowercase",Be(d.lowercase,"<s-:s>")),z.bind("uppercase",Be(d.uppercase,"<s-:s>")),z.bind("length",Be(d.length,"<s-:n>")),z.bind("trim",Be(d.trim,"<s-:s>")),z.bind("pad",Be(d.pad,"<s-ns?:s>")),z.bind("match",Be(d.match,"<s-f<s:o>n?:a<o>>")),z.bind("contains",Be(d.contains,"<s-(sf):b>")),z.bind("replace",Be(d.replace,"<s-(sf)(sf)n?:s>")),z.bind("split",Be(d.split,"<s-(sf)n?:a<s>>")),z.bind("join",Be(d.join,"<a<s>s?:s>")),z.bind("formatNumber",Be(d.formatNumber,"<n-so?:s>")),z.bind("formatBase",Be(d.formatBase,"<n-n?:s>")),z.bind("formatInteger",Be(p.formatInteger,"<n-s:s>")),z.bind("parseInteger",Be(p.parseInteger,"<s-s:n>")),z.bind("number",Be(d.number,"<(nsb)-:n>")),z.bind("floor",Be(d.floor,"<n-:n>")),z.bind("ceil",Be(d.ceil,"<n-:n>")),z.bind("round",Be(d.round,"<n-n?:n>")),z.bind("abs",Be(d.abs,"<n-:n>")),z.bind("sqrt",Be(d.sqrt,"<n-:n>")),z.bind("power",Be(d.power,"<n-n:n>")),z.bind("random",Be(d.random,"<:n>")),z.bind("boolean",Be(d.boolean,"<x-:b>")),z.bind("not",Be(d.not,"<x-:b>")),z.bind("map",Be(d.map,"<af>")),z.bind("zip",Be(d.zip,"<a+>")),z.bind("filter",Be(d.filter,"<af>")),z.bind("single",Be(d.single,"<af?>")),z.bind("reduce",Be(d.foldLeft,"<afj?:j>")),z.bind("sift",Be(d.sift,"<o-f?:o>")),z.bind("keys",Be(d.keys,"<x-:a<s>>")),z.bind("lookup",Be(d.lookup,"<x-s:x>")),z.bind("append",Be(d.append,"<xx:a>")),z.bind("exists",Be(d.exists,"<x:b>")),z.bind("spread",Be(d.spread,"<x-:a<o>>")),z.bind("merge",Be(d.merge,"<a<o>:o>")),z.bind("reverse",Be(d.reverse,"<a:a>")),z.bind("each",Be(d.each,"<o-f:a>")),z.bind("error",Be(d.error,"<s?:x>")),z.bind("assert",Be(d.assert,"<bs?:x>")),z.bind("type",Be(d.type,"<x:s>")),z.bind("sort",Be(d.sort,"<af?:a>")),z.bind("shuffle",Be(d.shuffle,"<a:a>")),z.bind("distinct",Be(d.distinct,"<x:x>")),z.bind("base64encode",Be(d.base64encode,"<s-:s>")),z.bind("base64decode",Be(d.base64decode,"<s-:s>")),z.bind("encodeUrlComponent",Be(d.encodeUrlComponent,"<s-:s>")),z.bind("encodeUrl",Be(d.encodeUrl,"<s-:s>")),z.bind("decodeUrlComponent",Be(d.decodeUrlComponent,"<s-:s>")),z.bind("decodeUrl",Be(d.decodeUrl,"<s-:s>")),z.bind("eval",Be(cn,"<sx?:x>")),z.bind("toMillis",Be(p.toMillis,"<s-s?:n>")),z.bind("fromMillis",Be(p.fromMillis,"<n-s?s?:s>")),z.bind("clone",Be(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(j){var J=On[j.code];if(typeof J<"u"){var ae=J.replace(/\{\{\{([^}]+)}}}/g,function(){return j[arguments[1]]});ae=ae.replace(/\{\{([^}]+)}}/g,function(){return JSON.stringify(j[arguments[1]])}),j.message=ae}}function Ye(j,J){var ae,$;try{ae=b(j,J&&J.recover),$=ae.errors,delete ae.errors}catch(ue){throw Ln(ue),ue}var F=Dn(z),q=new Date;return F.bind("now",Be(function(ue,ie){return p.fromMillis(q.getTime(),ue,ie)},"<s?s?:s>")),F.bind("millis",Be(function(){return q.getTime()},"<:n>")),J&&J.RegexEngine?Ye.RegexEngine=J.RegexEngine:Ye.RegexEngine=RegExp,{evaluate:async function(ue,ie,_e){if(typeof $<"u"){var nt={code:"S0500",position:0};throw Ln(nt),nt}if(typeof ie<"u"){var Tt;Tt=Dn(F);for(var $t in ie)Tt.bind($t,ie[$t])}else Tt=F;Tt.bind("$",ue),q=new Date,Tt.timestamp=q,Array.isArray(ue)&&!P(ue)&&(ue=M(ue),ue.outerWrapper=!0);var fn;try{return fn=await X(ae,ue,Tt),typeof _e=="function"&&_e(null,fn),fn}catch(zt){throw Ln(zt),zt}},assign:function(ue,ie){F.bind(ue,ie)},registerFunction:function(ue,ie,_e){var nt=Be(ie,_e);F.bind(ue,nt)},ast:function(){return ae},errors:function(){return $}}}return Ye.parser=b,Ye}();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:`
|
|
3291
|
+
`,r:"\r",t:" "},S=function(w){var R=0,k=w.length,M=function(G,W){var A={type:G,value:W,position:R};return A},P=function(){for(var G=R,W=0,A,_,N=function(X){if(w.charAt(X)==="/"&&W===0){for(var fe=0;w.charAt(X-(fe+1))==="\\";)fe++;if(fe%2===0)return!0}return!1};R<k;){var z=w.charAt(R);if(N(R)){if(A=w.substring(G,R),A==="")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 _=w.substring(G,R)+"g",new RegExp(A,_)}(z==="("||z==="["||z==="{")&&w.charAt(R-1)!=="\\"&&W++,(z===")"||z==="]"||z==="}")&&w.charAt(R-1)!=="\\"&&W--,R++}throw{code:"S0302",stack:new Error().stack,position:R}},U=function(G){if(R>=k)return null;for(var W=w.charAt(R);R<k&&`
|
|
3292
|
+
\r\v`.indexOf(W)>-1;)R++,W=w.charAt(R);if(W==="/"&&w.charAt(R+1)==="*"){var A=R;for(R+=2,W=w.charAt(R);!(W==="*"&&w.charAt(R+1)==="/");)if(W=w.charAt(++R),R>=k)throw{code:"S0106",stack:new Error().stack,position:A};return R+=2,W=w.charAt(R),U(G)}if(G!==!0&&W==="/")return R++,M("regex",P());if(W==="."&&w.charAt(R+1)===".")return R+=2,M("operator","..");if(W===":"&&w.charAt(R+1)==="=")return R+=2,M("operator",":=");if(W==="!"&&w.charAt(R+1)==="=")return R+=2,M("operator","!=");if(W===">"&&w.charAt(R+1)==="=")return R+=2,M("operator",">=");if(W==="<"&&w.charAt(R+1)==="=")return R+=2,M("operator","<=");if(W==="*"&&w.charAt(R+1)==="*")return R+=2,M("operator","**");if(W==="~"&&w.charAt(R+1)===">")return R+=2,M("operator","~>");if(W==="?"&&w.charAt(R+1)===":")return R+=2,M("operator","?:");if(W==="?"&&w.charAt(R+1)==="?")return R+=2,M("operator","??");if(Object.prototype.hasOwnProperty.call(v,W))return R++,M("operator",W);if(W==='"'||W==="'"){var _=W;R++;for(var N="";R<k;){if(W=w.charAt(R),W==="\\")if(R++,W=w.charAt(R),Object.prototype.hasOwnProperty.call(b,W))N+=b[W];else if(W==="u"){var z=w.substr(R+1,4);if(/^[0-9a-fA-F]+$/.test(z)){var X=parseInt(z,16);N+=String.fromCharCode(X),R+=4}else throw{code:"S0104",stack:new Error().stack,position:R}}else throw{code:"S0103",stack:new Error().stack,position:R,token:W};else{if(W===_)return R++,M("string",N);N+=W}R++}throw{code:"S0101",stack:new Error().stack,position:R}}var fe=/^-?(0|([1-9][0-9]*))(\.[0-9]+)?([Ee][-+]?[0-9]+)?/,Ce=fe.exec(w.substring(R));if(Ce!==null){var V=parseFloat(Ce[0]);if(!isNaN(V)&&isFinite(V))return R+=Ce[0].length,M("number",V);throw{code:"S0102",stack:new Error().stack,position:R,token:Ce[0]}}var ve;if(W==="`"){R++;var we=w.indexOf("`",R);if(we!==-1)return ve=w.substring(R,we),R=we+1,M("name",ve);throw R=k,{code:"S0105",stack:new Error().stack,position:R}}for(var ce=R,Se;;)if(Se=w.charAt(ce),ce===k||`
|
|
3293
|
+
\r\v`.indexOf(Se)>-1||Object.prototype.hasOwnProperty.call(v,Se)){if(w.charAt(R)==="$")return ve=w.substring(R+1,ce),R=ce,M("variable",ve);switch(ve=w.substring(R,ce),R=ce,ve){case"or":case"in":case"and":return M("operator",ve);case"true":return M("value",!0);case"false":return M("value",!1);case"null":return M("value",null);default:return R===k&&ve===""?null:M("name",ve)}}else ce++};return U},T=function(w,R){var k,M,P={},U=[],G=function(){var B=[];k.id!=="(end)"&&B.push({type:k.type,value:k.value,position:k.position});for(var Y=M();Y!==null;)B.push(Y),Y=M();return B},W={nud:function(){var B={code:"S0211",token:this.value,position:this.position};if(R)return B.remaining=G(),B.type="error",U.push(B),B;throw B.stack=new Error().stack,B}},A=function(B,Y){var Oe=P[B];return Y=Y||0,Oe?Y>=Oe.lbp&&(Oe.lbp=Y):(Oe=Object.create(W),Oe.id=Oe.value=B,Oe.lbp=Y,P[B]=Oe),Oe},_=function(B){if(R){B.remaining=G(),U.push(B);var Y=P["(error)"];return k=Object.create(Y),k.error=B,k.type="(error)",k}else throw B.stack=new Error().stack,B},N=function(B,Y){if(B&&k.id!==B){var Oe;k.id==="(end)"?Oe="S0203":Oe="S0202";var He={code:Oe,position:k.position,token:k.value,value:B};return _(He)}var Je=M(Y);if(Je===null)return k=P["(end)"],k.position=w.length,k;var We=Je.value,Z=Je.type,re;switch(Z){case"name":case"variable":re=P["(name)"];break;case"operator":if(re=P[We],!re)return _({code:"S0204",stack:new Error().stack,position:Je.position,token:We});break;case"string":case"number":case"value":re=P["(literal)"];break;case"regex":Z="regex",re=P["(regex)"];break;default:return _({code:"S0205",stack:new Error().stack,position:Je.position,token:We})}return k=Object.create(re),k.value=We,k.type=Z,k.position=Je.position,k},z=function(B){var Y,Oe=k;for(N(null,!0),Y=Oe.nud();B<k.lbp;)Oe=k,N(),Y=Oe.led(Y);return Y},X=function(B){var Y=A(B,0);Y.nud=function(){return this}},fe=function(B,Y,Oe){var He=Y||v[B],Je=A(B,He);return Je.led=Oe||function(We){return this.lhs=We,this.rhs=z(He),this.type="binary",this},Je},Ce=function(B,Y,Oe){var He=A(B,Y);return He.led=Oe,He},V=function(B,Y){var Oe=A(B);return Oe.nud=Y||function(){return this.expression=z(70),this.type="unary",this},Oe};X("(end)"),X("(name)"),X("(literal)"),X("(regex)"),A(":"),A(";"),A(","),A(")"),A("]"),A("}"),A(".."),fe("."),fe("+"),fe("-"),fe("*"),fe("/"),fe("%"),fe("="),fe("<"),fe(">"),fe("!="),fe("<="),fe(">="),fe("&"),fe("and"),fe("or"),fe("in"),X("and"),X("or"),X("in"),V("-"),fe("~>"),fe("??",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}),Ce("(error)",10,function(B){return this.lhs=B,this.error=k.error,this.remaining=G(),this.type="error",this}),V("*",function(){return this.type="wildcard",this}),V("**",function(){return this.type="descendant",this}),V("%",function(){return this.type="parent",this}),fe("(",v["("],function(B){if(this.procedure=B,this.type="function",this.arguments=[],k.id!==")")for(;k.type==="operator"&&k.id==="?"?(this.type="partial",this.arguments.push(k),N("?")):this.arguments.push(z(0)),k.id===",";)N(",");if(N(")",!0),B.type==="name"&&(B.value==="function"||B.value==="λ")){if(this.arguments.forEach(function(We,Z){if(We.type!=="variable")return _({code:"S0208",stack:new Error().stack,position:We.position,token:We.value,value:Z+1})}),this.type="lambda",k.id==="<"){for(var Y=k.position,Oe=1,He="<";Oe>0&&k.id!=="{"&&k.id!=="(end)";){var Je=N();Je.id===">"?Oe--:Je.id==="<"&&Oe++,He+=Je.value}N(">");try{this.signature=p(He)}catch(We){return We.position=Y+We.offset,_(We)}}N("{"),this.body=z(0),N("}")}return this}),V("(",function(){for(var B=[];k.id!==")"&&(B.push(z(0)),k.id===";");)N(";");return N(")",!0),this.type="block",this.expressions=B,this}),V("[",function(){var B=[];if(k.id!=="]")for(;;){var Y=z(0);if(k.id===".."){var Oe={type:"binary",value:"..",position:k.position,lhs:Y};N(".."),Oe.rhs=z(0),Y=Oe}if(B.push(Y),k.id!==",")break;N(",")}return N("]",!0),this.expressions=B,this.type="unary",this}),fe("[",v["["],function(B){if(k.id==="]"){for(var Y=B;Y&&Y.type==="binary"&&Y.value==="[";)Y=Y.lhs;return Y.keepArray=!0,N("]"),B}else return this.lhs=B,this.rhs=z(v["]"]),this.type="binary",N("]",!0),this}),fe("^",v["^"],function(B){N("(");for(var Y=[];;){var Oe={descending:!1};if(k.id==="<"?N("<"):k.id===">"&&(Oe.descending=!0,N(">")),Oe.expression=z(0),Y.push(Oe),k.id!==",")break;N(",")}return N(")"),this.lhs=B,this.rhs=Y,this.type="binary",this});var ve=function(B){var Y=[];if(k.id!=="}")for(;;){var Oe=z(0);N(":");var He=z(0);if(Y.push([Oe,He]),k.id!==",")break;N(",")}return N("}",!0),typeof B>"u"?(this.lhs=Y,this.type="unary"):(this.lhs=B,this.rhs=Y,this.type="binary"),this};V("{",ve),fe("{",v["{"],ve),Ce(":=",v[":="],function(B){return B.type!=="variable"?_({code:"S0212",stack:new Error().stack,position:B.position,token:B.value}):(this.lhs=B,this.rhs=z(v[":="]-1),this.type="binary",this)}),fe("@",v["@"],function(B){return this.lhs=B,this.rhs=z(v["@"]),this.rhs.type!=="variable"?_({code:"S0214",stack:new Error().stack,position:this.rhs.position,token:"@"}):(this.type="binary",this)}),fe("#",v["#"],function(B){return this.lhs=B,this.rhs=z(v["#"]),this.rhs.type!=="variable"?_({code:"S0214",stack:new Error().stack,position:this.rhs.position,token:"#"}):(this.type="binary",this)}),fe("?",v["?"],function(B){return this.type="condition",this.condition=B,this.then=z(0),k.id===":"&&(N(":"),this.else=z(0)),this}),fe("?:",v["?:"],function(B){return this.type="condition",this.condition=B,this.then=B,this.else=z(0),this}),V("|",function(){return this.type="transform",this.pattern=z(0),N("|"),this.update=z(0),k.id===","&&(N(","),this.delete=z(0)),N("|"),this});var we=function(B){var Y;if(B.type==="function"&&!B.predicate){var Oe={type:"lambda",thunk:!0,arguments:[],position:B.position};Oe.body=B,Y=Oe}else if(B.type==="condition")B.then=we(B.then),typeof B.else<"u"&&(B.else=we(B.else)),Y=B;else if(B.type==="block"){var He=B.expressions.length;He>0&&(B.expressions[He-1]=we(B.expressions[He-1])),Y=B}else Y=B;return Y},ce=0,Se=0,Ee=[],ge=function(B,Y){switch(B.type){case"name":case"wildcard":Y.level--,Y.level===0&&(typeof B.ancestor>"u"||(Ee[Y.index].slot.label=B.ancestor.label),B.ancestor=Y,B.tuple=!0);break;case"parent":Y.level++;break;case"block":B.expressions.length>0&&(B.tuple=!0,Y=ge(B.expressions[B.expressions.length-1],Y));break;case"path":B.tuple=!0;var Oe=B.steps.length-1;for(Y=ge(B.steps[Oe--],Y);Y.level>0&&Oe>=0;)Y=ge(B.steps[Oe--],Y);break;default:throw{code:"S0217",token:B.type,position:B.position}}return Y},De=function(B,Y){if(typeof Y.seekingParent<"u"||Y.type==="parent"){var Oe=typeof Y.seekingParent<"u"?Y.seekingParent:[];Y.type==="parent"&&Oe.push(Y.slot),typeof B.seekingParent>"u"?B.seekingParent=Oe:Array.prototype.push.apply(B.seekingParent,Oe)}},ke=function(B){var Y=B.steps.length-1,Oe=B.steps[Y],He=typeof Oe.seekingParent<"u"?Oe.seekingParent:[];Oe.type==="parent"&&He.push(Oe.slot);for(var Je=0;Je<He.length;Je++){var We=He[Je];for(Y=B.steps.length-2;We.level>0;){if(Y<0){typeof B.seekingParent>"u"?B.seekingParent=[We]:B.seekingParent.push(We);break}for(var Z=B.steps[Y--];Y>=0&&Z.focus&&B.steps[Y].focus;)Z=B.steps[Y--];We=ge(Z,We)}}},se=function(B){var Y;switch(B.type){case"binary":switch(B.value){case".":var Oe=se(B.lhs);Oe.type==="path"?Y=Oe:Y={type:"path",steps:[Oe]},Oe.type==="parent"&&(Y.seekingParent=[Oe.slot]);var He=se(B.rhs);He.type==="function"&&He.procedure.type==="path"&&He.procedure.steps.length===1&&He.procedure.steps[0].type==="name"&&Y.steps[Y.steps.length-1].type==="function"&&(Y.steps[Y.steps.length-1].nextFunction=He.procedure.steps[0].value),He.type==="path"?Array.prototype.push.apply(Y.steps,He.steps):(typeof He.predicate<"u"&&(He.stages=He.predicate,delete He.predicate),Y.steps.push(He)),Y.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"}),Y.steps.filter(function(Fe){return Fe.keepArray===!0}).length>0&&(Y.keepSingletonArray=!0);var Je=Y.steps[0];Je.type==="unary"&&Je.value==="["&&(Je.consarray=!0);var We=Y.steps[Y.steps.length-1];We.type==="unary"&&We.value==="["&&(We.consarray=!0),ke(Y);break;case"[":Y=se(B.lhs);var Z=Y,re="predicate";if(Y.type==="path"&&(Z=Y.steps[Y.steps.length-1],re="stages"),typeof Z.group<"u")throw{code:"S0209",stack:new Error().stack,position:B.position};typeof Z[re]>"u"&&(Z[re]=[]);var K=se(B.rhs);typeof K.seekingParent<"u"&&(K.seekingParent.forEach(Fe=>{Fe.level===1?ge(Z,Fe):Fe.level--}),De(Z,K)),Z[re].push({type:"filter",expr:K,position:B.position});break;case"{":if(Y=se(B.lhs),typeof Y.group<"u")throw{code:"S0210",stack:new Error().stack,position:B.position};Y.group={lhs:B.rhs.map(function(Fe){return[se(Fe[0]),se(Fe[1])]}),position:B.position};break;case"^":Y=se(B.lhs),Y.type!=="path"&&(Y={type:"path",steps:[Y]});var be={type:"sort",position:B.position};be.terms=B.rhs.map(function(Fe){var at=se(Fe.expression);return De(be,at),{descending:Fe.descending,expression:at}}),Y.steps.push(be),ke(Y);break;case":=":Y={type:"bind",value:B.value,position:B.position},Y.lhs=se(B.lhs),Y.rhs=se(B.rhs),De(Y,Y.rhs);break;case"@":if(Y=se(B.lhs),Z=Y,Y.type==="path"&&(Z=Y.steps[Y.steps.length-1]),typeof Z.stages<"u"||typeof Z.predicate<"u")throw{code:"S0215",stack:new Error().stack,position:B.position};if(Z.type==="sort")throw{code:"S0216",stack:new Error().stack,position:B.position};B.keepArray&&(Z.keepArray=!0),Z.focus=B.rhs.value,Z.tuple=!0;break;case"#":Y=se(B.lhs),Z=Y,Y.type==="path"?Z=Y.steps[Y.steps.length-1]:(Y={type:"path",steps:[Y]},typeof Z.predicate<"u"&&(Z.stages=Z.predicate,delete Z.predicate)),typeof Z.stages>"u"?Z.index=B.rhs.value:Z.stages.push({type:"index",value:B.rhs.value,position:B.position}),Z.tuple=!0;break;case"~>":Y={type:"apply",value:B.value,position:B.position},Y.lhs=se(B.lhs),Y.rhs=se(B.rhs),Y.keepArray=Y.lhs.keepArray||Y.rhs.keepArray;break;default:Y={type:B.type,value:B.value,position:B.position},Y.lhs=se(B.lhs),Y.rhs=se(B.rhs),De(Y,Y.lhs),De(Y,Y.rhs)}break;case"unary":Y={type:B.type,value:B.value,position:B.position},B.value==="["?Y.expressions=B.expressions.map(function(Fe){var at=se(Fe);return De(Y,at),at}):B.value==="{"?Y.lhs=B.lhs.map(function(Fe){var at=se(Fe[0]);De(Y,at);var It=se(Fe[1]);return De(Y,It),[at,It]}):(Y.expression=se(B.expression),B.value==="-"&&Y.expression.type==="number"?(Y=Y.expression,Y.value=-Y.value):De(Y,Y.expression));break;case"function":case"partial":Y={type:B.type,name:B.name,value:B.value,position:B.position},Y.arguments=B.arguments.map(function(Fe){var at=se(Fe);return De(Y,at),at}),Y.procedure=se(B.procedure);break;case"lambda":Y={type:B.type,arguments:B.arguments,signature:B.signature,position:B.position};var ee=se(B.body);Y.body=we(ee);break;case"condition":Y={type:B.type,position:B.position},Y.condition=se(B.condition),De(Y,Y.condition),Y.then=se(B.then),De(Y,Y.then),typeof B.else<"u"&&(Y.else=se(B.else),De(Y,Y.else));break;case"transform":Y={type:B.type,position:B.position},Y.pattern=se(B.pattern),Y.update=se(B.update),typeof B.delete<"u"&&(Y.delete=se(B.delete));break;case"block":Y={type:B.type,position:B.position},Y.expressions=B.expressions.map(function(Fe){var at=se(Fe);return De(Y,at),(at.consarray||at.type==="path"&&at.steps[0].consarray)&&(Y.consarray=!0),at});break;case"name":Y={type:"path",steps:[B]},B.keepArray&&(Y.keepSingletonArray=!0);break;case"parent":Y={type:"parent",slot:{label:"!"+ce++,level:1,index:Se++}},Ee.push(Y);break;case"string":case"number":case"value":case"wildcard":case"descendant":case"variable":case"regex":Y=B;break;case"operator":if(B.value==="and"||B.value==="or"||B.value==="in")B.type="name",Y=se(B);else if(B.value==="?")Y=B;else throw{code:"S0201",stack:new Error().stack,position:B.position,token:B.value};break;case"error":Y=B,B.lhs&&(Y=se(B.lhs));break;default:var Ne="S0206";B.id==="(end)"&&(Ne="S0207");var ye={code:Ne,position:B.position,token:B.value};if(R)return U.push(ye),{type:"error",error:ye};throw ye.stack=new Error().stack,ye}return B.keepArray&&(Y.keepArray=!0),Y};M=S(w),N();var oe=z(0);if(k.id!=="(end)"){var Te={code:"S0201",position:k.position,token:k.value};_(Te)}if(oe=se(oe),oe.type==="parent"||typeof oe.seekingParent<"u")throw{code:"S0217",token:oe.type,position:oe.position};return U.length>0&&(oe.errors=U),oe};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={},k=R;T<S.length;){var M=S.charAt(T);if(M===":")break;var P=function(){w.push(R),k=R,R={}},U=function(fe,Ce,V,ve){for(var we=1,ce=Ce;ce<fe.length;)if(ce++,M=fe.charAt(ce),M===ve){if(we--,we===0)break}else M===V&&we++;return ce};switch(M){case"s":case"n":case"b":case"l":case"o":R.regex="["+M+"m]",R.type=M,P();break;case"a":R.regex="[asnblfom]",R.type=M,R.array=!0,P();break;case"f":R.regex="f",R.type=M,P();break;case"j":R.regex="[asnblom]",R.type=M,P();break;case"x":R.regex="[asnblfom]",R.type=M,P();break;case"-":k.context=!0,k.contextRegex=new RegExp(k.regex),k.regex+="?";break;case"?":case"+":k.regex+=M;break;case"(":var G=U(S,T,"(",")"),W=S.substring(T+1,G);if(W.indexOf("<")===-1)R.regex="["+W+"m]";else throw{code:"S0402",stack:new Error().stack,value:W,offset:T};R.type="("+W+")",T=G,P();break;case"<":if(k.type==="a"||k.type==="f"){var A=U(S,T,"<",">");k.subtype=S.substring(T+1,A),T=A}else throw{code:"S0401",stack:new Error().stack,value:k.type,offset:T};break}T++}var _="^"+w.map(function(fe){return"("+fe.regex+")"}).join("")+"$",N=new RegExp(_),z=function(fe){var Ce;if(p.isFunction(fe))Ce="f";else{var V=typeof fe;switch(V){case"string":Ce="s";break;case"number":Ce="n";break;case"boolean":Ce="b";break;case"object":fe===null?Ce="l":Array.isArray(fe)?Ce="a":Ce="o";break;case"undefined":default:Ce="m"}}return Ce},X=function(fe,Ce){for(var V="^",ve=0,we=0;we<w.length;we++){V+=w[we].regex;var ce=Ce.match(V);if(ce===null)throw{code:"T0410",stack:new Error().stack,value:fe[ve],index:ve+1};ve=ce[0].length}throw{code:"T0410",stack:new Error().stack,value:fe[ve],index:ve+1}};return{definition:S,validate:function(fe,Ce){var V="";fe.forEach(function(Se){V+=z(Se)});var ve=N.exec(V);if(ve){var we=[],ce=0;return w.forEach(function(Se,Ee){var ge=fe[ce],De=ve[Ee+1];if(De==="")if(Se.context&&Se.contextRegex){var ke=z(Ce);if(Se.contextRegex.test(ke))we.push(Ce);else throw{code:"T0411",stack:new Error().stack,value:Ce,index:ce+1}}else we.push(ge),ce++;else De.split("").forEach(function(se){if(Se.type==="a"){if(se==="m")ge=void 0;else{ge=fe[ce];var oe=!0;if(typeof Se.subtype<"u"){if(se!=="a"&&De!==Se.subtype)oe=!1;else if(se==="a"&&ge.length>0){var Te=z(ge[0]);if(Te!==Se.subtype.charAt(0))oe=!1;else{var B=ge.filter(function(Y){return z(Y)!==Te});oe=B.length===0}}}if(!oe)throw{code:"T0412",stack:new Error().stack,value:ge,index:ce+1,type:v[Se.subtype]};se!=="a"&&(ge=[ge])}we.push(ge),ce++}else we.push(ge),ce++})}),we}X(fe,V)}}}return b})();s.exports=d},{"./utils":6}],6:[function(i,s,c){const p=(()=>{function d(A){var _=!1;if(typeof A=="number"&&(_=!isNaN(A),_&&!isFinite(A)))throw{code:"D1001",value:A,stack:new Error().stack};return _}function v(A){var _=!1;return Array.isArray(A)&&(_=A.filter(function(N){return typeof N!="string"}).length===0),_}function b(A){var _=!1;return Array.isArray(A)&&(_=A.filter(function(N){return!d(N)}).length===0),_}function S(){var A=[];return A.sequence=!0,arguments.length===1&&A.push(arguments[0]),A}function T(A){return A.sequence===!0&&Array.isArray(A)}function w(A){return A&&(A._jsonata_function===!0||A._jsonata_lambda===!0)||typeof A=="function"}function R(A){var _=typeof A.arity=="number"?A.arity:typeof A.implementation=="function"?A.implementation.length:typeof A.length=="number"?A.length:A.arguments.length;return _}function k(A){return A&&A._jsonata_lambda===!0}var M=(typeof Symbol=="function"?Symbol:{}).iterator||"@@iterator";function P(A){return typeof A=="object"&&A!==null&&M in A&&"next"in A&&typeof A.next=="function"}function U(A,_){if(A===_)return!0;if(typeof A=="object"&&typeof _=="object"&&A!==null&&_!==null){if(Array.isArray(A)&&Array.isArray(_)){if(A.length!==_.length)return!1;for(var N=0;N<A.length;N++)if(!U(A[N],_[N]))return!1;return!0}var z=Object.getOwnPropertyNames(A),X=Object.getOwnPropertyNames(_);if(z.length!==X.length)return!1;for(z=z.sort(),X=X.sort(),N=0;N<z.length;N++)if(z[N]!==X[N])return!1;for(N=0;N<z.length;N++){var fe=z[N];if(!U(A[fe],_[fe]))return!1}return!0}return!1}function G(A){return typeof A=="object"&&A!==null&&"then"in A&&typeof A.then=="function"}function W(A){var _=[];for(let N of A)_.push(N);return _}return{isNumeric:d,isArrayOfStrings:v,isArrayOfNumbers:b,createSequence:S,isSequence:T,isFunction:w,isLambda:k,isIterable:P,getFunctionArity:R,isDeepEqual:U,stringToArray:W,isPromise:G}})();s.exports=p},{}]},{},[3])(3)})}(gC)),gC.exports}var Uj=jj();const BA=GC(Uj),Bj=async(e,o,i)=>{const{operand:s,operator:c,value:p}=e;if(c==="jsonata")try{const S=p.toString(),T=i();return await BA(S).evaluate(T)}catch(S){return console.log("JSONata evaluation error:",S),!1}const d=o(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 k=parseFloat(v),M=parseFloat(b);return!isNaN(k)&&!isNaN(M)&&k<M;case"<=":const P=parseFloat(v),U=parseFloat(b);return!isNaN(P)&&!isNaN(U)&&P<=U;case"contains":case"includes":return Array.isArray(d)?d.some(A=>String(A).toLowerCase().trim().includes(b)):v.includes(b);case"not_contains":case"not_includes":return Array.isArray(d)?!d.some(A=>String(A).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(A=>String(A).toLowerCase().trim()===v):String(p).split(",").map(A=>A.toLowerCase().trim()).includes(v);case"not_in":return Array.isArray(p)?!p.some(A=>String(A).toLowerCase().trim()===v):!String(p).split(",").map(A=>A.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}},zA=async(e,o,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 Bj(p,o,i)){c=!1;break}if(c)return!0}return!1},zj=()=>{const{getPatientValue:e,getFullPatient:o}=qr();return{evaluateCondition:Xe.useMemo(()=>async s=>await zA(s,e,o),[e,o])}},Hj=e=>{var i;const o=(i=e.props)==null?void 0:i.required;return typeof o=="boolean"?o:typeof o=="string"?y3(o):!1},G$=(e,o,i)=>{var c,p;const s=e.filter(d=>d.shouldRender);for(const d of s){if(Hj(d)&&!Gj(d,o))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},Gj=(e,o)=>{var c;const i=(c=e.props)==null?void 0:c.propertyId;if(!i)return!0;const s=o(i);return!(s==null||typeof s=="string"&&s.trim()===""||Array.isArray(s)&&s.length===0)},HA=({flow:e,isPreview:o,$bgColor:i,onSubmit:s,onNextStep:c,onPrevStep:p,shouldRedirect:d=!0,formidavimHost:v})=>{const[b,S]=Xe.useState(0),[T,w]=Xe.useState([]),[R,k]=Xe.useState(!0),{evaluateCondition:M}=zj(),{getFlowValue:P,getAllFlowData:U,setDisableSubmitValue:G,getDisableSubmitValue:W,getFlowError:A}=qr(),_=qr().getAllFlowData(),N=async Se=>{if(!Se)return[];const Ee=[];for(const ge of Se){const De=!ge.condition||await M(ge.condition),ke=De;Ee.push({...ge,isVisible:De,shouldRender:ke,hasCondition:!!ge.condition})}return Ee};Xe.useEffect(()=>{const Se=async()=>{var ge;if(!e.flowForms){w([]),k(!1);return}const Ee=[];for(const De of e.flowForms)if(!De.condition||await M(De.condition)){const se=(ge=De.form)!=null&&ge.formComponents?await N(De.form.formComponents):[];Ee.push({...De,evaluatedFormComponents:se})}w(Ee),k(!1)};k(!0),Se()},[e.flowForms,M]),Xe.useEffect(()=>{if(!R&&T.length>0&&b<T.length){const Se=T[b],Ee=(Se==null?void 0:Se.evaluatedFormComponents)||[],ge=G$(Ee,P,A);G(!ge)}},[T,b,R,_,P,G]);const z=T.length,X=T[b],fe=W();if(R)return L.jsx("div",{children:"Loading..."});if(!X)return null;const Ce=T[0]===X,V=b===z-1,ve=(X==null?void 0:X.evaluatedFormComponents)||[],we=()=>{if(G$(ve,P,A)){if(X.submit){s(U(),e,d);return}c&&c(e,X),b<z-1&&(S(Ee=>Ee+1),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0))}},ce=()=>{b>0&&(p&&p(e,X),S(Se=>Se-1)),window.scrollTo({top:0,behavior:"smooth"})};return L.jsxs(nM,{children:[L.jsxs(uM,{$tracker:!0,id:"FormHeaderMobile",children:[L.jsx(sO,{src:"https://media-s3-cdn.ivimhealth.com/assets/images/logos/ivim-black.svg"}),L.jsx(sM,{id:"FlowStepTrackerContainerMobile"}),!Ce&&L.jsx(rM,{onClick:ce})]}),L.jsx(K$,{currentStep:b+1,totalSteps:z,showOnDesktop:!0,showOnMobile:!1}),L.jsx(gp,{$xSmall:!0,$bgColor:"white",$bRad:"10px 10px 0px 0px",children:L.jsxs(lM,{id:"FormHeaderDesktop",children:[!Ce&&L.jsx(Q$,{onClick:ce}),L.jsx(sO,{src:"https://media-s3-cdn.ivimhealth.com/assets/images/logos/ivim-black.svg"})]})}),L.jsx(qA,{$bgColor:X.bgColor,children:L.jsx(GA,{flowForm:X,isPreview:o,evaluatedFormComponents:ve,formidavimHost:v})}),L.jsx(gp,{$xSmall:!0,$bgColor:"white",$bRad:"0px 0px 10px 10px",children:L.jsx(oM,{$borderOff:!!X.bgColor,children:L.jsx(lO,{type:"submit",onClick:we,$isLastStep:V,$radius:"41px",$margin:"0 0 15px 0",$btnStyle:"black",$disable:fe,children:X.navButtonText?X.navButtonText:"Next"})})}),L.jsx(cM,{id:"BtnFlowBtnWrapperMobile",children:L.jsx(lO,{type:"submit",onClick:we,$isLastStep:V,$radius:"41px",$margin:"0 0 15px 0",$btnStyle:"black",$disable:fe,$allowDisableClick:!0,children:X.navButtonText?X.navButtonText:"Next"})})]})},Wj=async(e,o)=>{if(!e||typeof e!="string"||!o)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 BA(d).evaluate(o),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},zC=async(e,o)=>{if(!e||!o)return e;if(typeof e=="string")return await Wj(e,o);if(Array.isArray(e))return Promise.all(e.map(i=>zC(i,o)));if(typeof e=="object"){const i={};for(const[s,c]of Object.entries(e))i[s]=await zC(c,o);return i}return e},Yj=async(e,o)=>{var i;if(!e||!o)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 zC(p.props,o))}return s}catch(s){return console.error("Error processing flow config templates:",s),e}},xw=({data:e,config:o,isPreview:i,onSubmit:s,onNextStep:c,onPrevStep:p,shouldRedirect:d,formidavimHost:v})=>{const{setFlowValues:b,generateFormDataFromFlow:S,setPatientValues:T,getFullPatient:w}=qr(),[R,k]=Xe.useState(null),[M,P]=Xe.useState(!0),[U,G]=Xe.useState(!1),W=async(_,N=!1)=>{try{const z=await Yj(o,_);if(k(z),N){const X=S(z);b(X)}}catch(z){if(console.error("Error processing config:",z),k(o),N){const X=S(o);b(X)}}};Xe.useEffect(()=>{(async()=>{P(!0),e&&T(e),await W(e,!0),G(!0),P(!1)})()},[e,o]);const A=w();return Xe.useEffect(()=>{U&&A&&W(A)},[A,o,U]),M||!R?L.jsx("div",{children:"Processing form..."}):L.jsx(HA,{flow:R,isPreview:i,onSubmit:s,onNextStep:c,onPrevStep:p,shouldRedirect:d,formidavimHost:v})},qj={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"},Qj={playfair:'"Playfair Display", serif',poppins:"Poppins, sans-serif",karmina:"Karmina, serif"},Xj={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)"},Kj={colors:qj,fonts:Qj,mediaQuery:Xj},Zj=a5({reducer:{[F0.name]:F0.reducer,[I0.name]:I0.reducer}}),Jj=me.div`
|
|
3294
3294
|
&&{
|
|
3295
3295
|
width: 100%;
|
|
3296
3296
|
min-height: calc(100vh - 100px);
|
|
@@ -3315,4 +3315,4 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
3315
3315
|
position: relative;
|
|
3316
3316
|
`,Sw=({$isPreview:e,children:o})=>L.jsx(hp.Provider,{store:Zj,children:L.jsx(me.ThemeProvider,{theme:Kj,children:L.jsx(Jj,{$isPreview:e,children:L.jsx(eU,{children:o})})})}),GA=({flowForm:e,isPreview:o,evaluatedFormComponents:i,formidavimHost:s})=>!e||!e.form?null:L.jsx(YA,{form:e.form,isPreview:o,evaluatedFormComponents:i,formidavimHost:s}),Cw=class Cw{static register(o,i){this.registry[o]=i}static getComponent(o){return this.registry[o]||null}static hasComponent(o){return o in this.registry}static getRegisteredComponents(){return Object.keys(this.registry)}};Cw.registry={...Vj};let Y0=Cw;const WA=({formComponent:e,isPreview:o,boundary:i,isVisible:s=!0,formidavimHost:c})=>{var d;const p=v=>{const b=v.componentId;if(!b)return L.jsx(xp,{errors:["Missing componentId"]});const S=Y0.getComponent(b);return S?L.jsx(S,{formComponent:v,formidavimHost:c}):L.jsx(xp,{errors:[`Unknown component type: ${b}`]})};return L.jsx(q0,{children:L.jsx(iv,{$span:"12",children:L.jsx(Z6,{$margin:(d=e.props)==null?void 0:d.margin,$boundary:i,children:p(e)})})})},YA=({form:e,isPreview:o,evaluatedFormComponents:i,formidavimHost:s})=>{const c=o?i:i.filter(d=>d.shouldRender),p=c.length;return L.jsx(L.Fragment,{children:c.map((d,v)=>{const b=v===0?"first":p===v+1?"last":null,S=d.isVisible;return L.jsx(WA,{formComponent:d,isPreview:o,boundary:b,isVisible:S,formidavimHost:s},d.id)})})},tU=me.form`
|
|
3317
3317
|
padding: 20px 0px 20px;
|
|
3318
|
-
`,qA=({children:e,$bgColor:o})=>L.jsx(gp,{$overflow:"visible",$position:"static",$xSmall:!0,id:"MainFlowContainer",$bgColor:o||"white",$bRad:"0px",$marginBottom:"80px",$marginBottomMd:"0px",children:L.jsx(tU,{onSubmit:i=>i.preventDefault(),children:e})}),QA=({dataFetcher:e=()=>{},children:o,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:k})=>{const M=bw(p),[P,U]=Xe.useState({config:null,data:null}),[G,
|
|
3318
|
+
`,qA=({children:e,$bgColor:o})=>L.jsx(gp,{$overflow:"visible",$position:"static",$xSmall:!0,id:"MainFlowContainer",$bgColor:o||"white",$bRad:"0px",$marginBottom:"80px",$marginBottomMd:"0px",children:L.jsx(tU,{onSubmit:i=>i.preventDefault(),children:e})}),QA=({dataFetcher:e=()=>{},children:o,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:k})=>{const M=bw(p),[P,U]=Xe.useState({config:null,data:null}),[G,W]=Xe.useState(!0);return Xe.useEffect(()=>{(i?i():M.flowControllerGetBySlug(v,d).then(({data:_})=>_)).then(async _=>{const N=e?await e("flow"):null;U({config:_,data:N}),T&&T(_),W(!1)}).catch(_=>{console.warn("configFetcher failed",_),w&&w(_),W(!1)})},[v,d]),G?null:P.config?L.jsx(Sw,{children:L.jsx(xw,{data:P.data,isPreview:s,config:P.config,onSubmit:c,onNextStep:b,onPrevStep:S,shouldRedirect:R,formidavimHost:p})}):(k&&k(),L.jsx(L.Fragment,{children:o}))},nU=({dataFetcher:e=()=>Promise.resolve(null),children:o,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:k,onConfigFetchError:M,onFormidavimFallback:P})=>{const U=bw(d),[G,W]=Xe.useState({config:null,data:null}),[A,_]=Xe.useState(0),[N,z]=Xe.useState([]),[X,fe]=Xe.useState(!0),[Ce,V]=Xe.useState(!1);Xe.useEffect(()=>{(s?s():U.pipelineControllerGetBySlug(b,v).then(({data:ge})=>ge)).then(async ge=>{const De=e?await e("pipeline"):null;if(W({config:ge,data:De}),console.log(De),ge!=null&&ge.pipelineFlows&&(await ve(ge.pipelineFlows,De)).length===0){k&&k();return}R&&R(ge.pipelineFlows),fe(!1)}).catch(ge=>{console.warn("configFetcher failed",ge),M&&M(ge),fe(!1)})},[b,v]);const ve=async(Ee,ge)=>{var Te;const De=[],ke=B=>{var Y;return(Y=ge==null?void 0:ge.data)==null?void 0:Y[B]},se=()=>ge,oe=(B,Y)=>{var He;const Oe=(He=ge==null?void 0:ge.data)==null?void 0:He.flowSubmissions;return!(!Oe||!Oe[B])};for(const B of Ee)oe(B.flowSlug,(Te=B.flow)==null?void 0:Te.version)||B.condition&&!await zA(B.condition,ke,se)||De.push(B);return z(De),De};if(X)return null;if(!G.config)return L.jsx(QA,{dataFetcher:e,configFetcher:i,flowName:b,formidavimHost:d,onSubmit:p,isPreview:!1,onNextStep:S,onPrevStep:T,onFlowInit:w,onFormidavimFallback:P,children:o});const we=()=>{var Ee;return((Ee=N==null?void 0:N[A])==null?void 0:Ee.flow)||{}},ce=()=>A<((N==null?void 0:N.length)||0)-1,Se=async Ee=>{var ge;if(!Ce){V(!0);try{const De=!ce();await p(Ee,we(),De);const ke=e?await e("pipeline"):null;W(se=>({...se,data:ke})),(ge=G.config)!=null&&ge.pipelineFlows&&(await ve(G.config.pipelineFlows,ke)).length>0&&_(0)}finally{V(!1)}}};return L.jsx(Sw,{children:L.jsx(xw,{data:G.data,isPreview:c,config:we(),onSubmit:Se,onNextStep:S,onPrevStep:T,shouldRedirect:!1,formidavimHost:d})})};exports.ComponentFactory=Y0;exports.DataRenderer=QA;exports.FlowFormRenderer=GA;exports.FlowProgressTracker=K$;exports.FlowRenderer=HA;exports.FormComponentRenderer=WA;exports.FormRenderer=YA;exports.FormWrapper=qA;exports.PipelineProcessor=nU;exports.Renderer=xw;exports.RendererWrapper=Sw;
|