Some checks failed
Go / build (push) Has been cancelled
- Cleaned up the `app/web/dist/` directory by deleting an unreferenced and outdated build artifact. - Maintained a lean and organized repository structure.
161 lines
355 KiB
JavaScript
161 lines
355 KiB
JavaScript
var r_=Object.create;var{getPrototypeOf:n_,defineProperty:Fq,getOwnPropertyNames:t_}=Object;var e_=Object.prototype.hasOwnProperty;var j8=(e,Z1,C1)=>{C1=e!=null?r_(n_(e)):{};let q1=Z1||!e||!e.__esModule?Fq(C1,"default",{value:e,enumerable:!0}):C1;for(let $ of t_(e))if(!e_.call(q1,$))Fq(q1,$,{get:()=>e[$],enumerable:!0});return q1};var m7=(e,Z1)=>()=>(Z1||e((Z1={exports:{}}).exports,Z1),Z1.exports);var EZ=m7((ZP,QG)=>{(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e="18.3.1",Z1=Symbol.for("react.element"),C1=Symbol.for("react.portal"),q1=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),F4=Symbol.for("react.profiler"),R0=Symbol.for("react.provider"),Z0=Symbol.for("react.context"),K1=Symbol.for("react.forward_ref"),X0=Symbol.for("react.suspense"),F0=Symbol.for("react.suspense_list"),l=Symbol.for("react.memo"),N0=Symbol.for("react.lazy"),d1=Symbol.for("react.offscreen"),w4=Symbol.iterator,p4="@@iterator";function _1(U){if(U===null||typeof U!=="object")return null;var H=w4&&U[w4]||U[p4];if(typeof H==="function")return H;return null}var Q0={current:null},B1={transition:null},q0={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},X1={current:null},V0={},z4=null;function W4(U){z4=U}V0.setExtraStackFrame=function(U){z4=U},V0.getCurrentStack=null,V0.getStackAddendum=function(){var U="";if(z4)U+=z4;var H=V0.getCurrentStack;if(H)U+=H()||"";return U};var K4=!1,i0=!1,I1=!1,$1=!1,b0=!1,D0={ReactCurrentDispatcher:Q0,ReactCurrentBatchConfig:B1,ReactCurrentOwner:X1};D0.ReactDebugCurrentFrame=V0,D0.ReactCurrentActQueue=q0;function A1(U){{for(var H=arguments.length,P=new Array(H>1?H-1:0),j=1;j<H;j++)P[j-1]=arguments[j];f0("warn",U,P)}}function $0(U){{for(var H=arguments.length,P=new Array(H>1?H-1:0),j=1;j<H;j++)P[j-1]=arguments[j];f0("error",U,P)}}function f0(U,H,P){{var j=D0.ReactDebugCurrentFrame,T=j.getStackAddendum();if(T!=="")H+="%s",P=P.concat([T]);var W0=P.map(function(s){return String(s)});W0.unshift("Warning: "+H),Function.prototype.apply.call(console[U],console,W0)}}var Q8={};function G8(U,H){{var P=U.constructor,j=P&&(P.displayName||P.name)||"ReactClass",T=j+"."+H;if(Q8[T])return;$0("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",H,j),Q8[T]=!0}}var O8={isMounted:function(U){return!1},enqueueForceUpdate:function(U,H,P){G8(U,"forceUpdate")},enqueueReplaceState:function(U,H,P,j){G8(U,"replaceState")},enqueueSetState:function(U,H,P,j){G8(U,"setState")}},o0=Object.assign,I4={};Object.freeze(I4);function h1(U,H,P){this.props=U,this.context=H,this.refs=I4,this.updater=P||O8}h1.prototype.isReactComponent={},h1.prototype.setState=function(U,H){if(typeof U!=="object"&&typeof U!=="function"&&U!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,U,H,"setState")},h1.prototype.forceUpdate=function(U){this.updater.enqueueForceUpdate(this,U,"forceUpdate")};{var E4={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},R8=function(U,H){Object.defineProperty(h1.prototype,U,{get:function(){A1("%s(...) is deprecated in plain JavaScript React classes. %s",H[0],H[1]);return}})};for(var J8 in E4)if(E4.hasOwnProperty(J8))R8(J8,E4[J8])}function N4(){}N4.prototype=h1.prototype;function T1(U,H,P){this.props=U,this.context=H,this.refs=I4,this.updater=P||O8}var G1=T1.prototype=new N4;G1.constructor=T1,o0(G1,h1.prototype),G1.isPureReactComponent=!0;function t1(){var U={current:null};return Object.seal(U),U}var o4=Array.isArray;function P1(U){return o4(U)}function V4(U){{var H=typeof Symbol==="function"&&Symbol.toStringTag,P=H&&U[Symbol.toStringTag]||U.constructor.name||"Object";return P}}function j4(U){try{return S1(U),!1}catch(H){return!0}}function S1(U){return""+U}function M1(U){if(j4(U))return $0("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",V4(U)),S1(U)}function S4(U,H,P){var j=U.displayName;if(j)return j;var T=H.displayName||H.name||"";return T!==""?P+"("+T+")":P}function b4(U){return U.displayName||"Context"}function x1(U){if(U==null)return null;if(typeof U.tag==="number")$0("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");if(typeof U==="function")return U.displayName||U.name||null;if(typeof U==="string")return U;switch(U){case q1:return"Fragment";case C1:return"Portal";case F4:return"Profiler";case $:return"StrictMode";case X0:return"Suspense";case F0:return"SuspenseList"}if(typeof U==="object")switch(U.$$typeof){case Z0:var H=U;return b4(H)+".Consumer";case R0:var P=U;return b4(P._context)+".Provider";case K1:return S4(U,U.render,"ForwardRef");case l:var j=U.displayName||null;if(j!==null)return j;return x1(U.type)||"Memo";case N0:{var T=U,W0=T._payload,s=T._init;try{return x1(s(W0))}catch(M0){return null}}}return null}var U4=Object.prototype.hasOwnProperty,S8={key:!0,ref:!0,__self:!0,__source:!0},D4,f4,b1;b1={};function u4(U){if(U4.call(U,"ref")){var H=Object.getOwnPropertyDescriptor(U,"ref").get;if(H&&H.isReactWarning)return!1}return U.ref!==void 0}function y1(U){if(U4.call(U,"key")){var H=Object.getOwnPropertyDescriptor(U,"key").get;if(H&&H.isReactWarning)return!1}return U.key!==void 0}function g1(U,H){var P=function(){if(!D4)D4=!0,$0("%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)",H)};P.isReactWarning=!0,Object.defineProperty(U,"key",{get:P,configurable:!0})}function e1(U,H){var P=function(){if(!f4)f4=!0,$0("%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)",H)};P.isReactWarning=!0,Object.defineProperty(U,"ref",{get:P,configurable:!0})}function A8(U){if(typeof U.ref==="string"&&X1.current&&U.__self&&X1.current.stateNode!==U.__self){var H=x1(X1.current.type);if(!b1[H])$0('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',H,U.ref),b1[H]=!0}}var Y8=function(U,H,P,j,T,W0,s){var M0={$$typeof:Z1,type:U,key:H,ref:P,props:s,_owner:W0};if(M0._store={},Object.defineProperty(M0._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(M0,"_self",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.defineProperty(M0,"_source",{configurable:!1,enumerable:!1,writable:!1,value:T}),Object.freeze)Object.freeze(M0.props),Object.freeze(M0);return M0};function m1(U,H,P){var j,T={},W0=null,s=null,M0=null,h0=null;if(H!=null){if(u4(H))s=H.ref,A8(H);if(y1(H))M1(H.key),W0=""+H.key;M0=H.__self===void 0?null:H.__self,h0=H.__source===void 0?null:H.__source;for(j in H)if(U4.call(H,j)&&!S8.hasOwnProperty(j))T[j]=H[j]}var s0=arguments.length-2;if(s0===1)T.children=P;else if(s0>1){var Y1=Array(s0);for(var z1=0;z1<s0;z1++)Y1[z1]=arguments[z1+2];if(Object.freeze)Object.freeze(Y1);T.children=Y1}if(U&&U.defaultProps){var O1=U.defaultProps;for(j in O1)if(T[j]===void 0)T[j]=O1[j]}if(W0||s){var N1=typeof U==="function"?U.displayName||U.name||"Unknown":U;if(W0)g1(T,N1);if(s)e1(T,N1)}return Y8(U,W0,s,M0,h0,X1.current,T)}function u(U,H){var P=Y8(U.type,H,U.ref,U._self,U._source,U._owner,U.props);return P}function n(U,H,P){if(U===null||U===void 0)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+U+".");var j,T=o0({},U.props),W0=U.key,s=U.ref,M0=U._self,h0=U._source,s0=U._owner;if(H!=null){if(u4(H))s=H.ref,s0=X1.current;if(y1(H))M1(H.key),W0=""+H.key;var Y1;if(U.type&&U.type.defaultProps)Y1=U.type.defaultProps;for(j in H)if(U4.call(H,j)&&!S8.hasOwnProperty(j))if(H[j]===void 0&&Y1!==void 0)T[j]=Y1[j];else T[j]=H[j]}var z1=arguments.length-2;if(z1===1)T.children=P;else if(z1>1){var O1=Array(z1);for(var N1=0;N1<z1;N1++)O1[N1]=arguments[N1+2];T.children=O1}return Y8(U.type,W0,s,M0,h0,s0,T)}function U0(U){return typeof U==="object"&&U!==null&&U.$$typeof===Z1}var u0=".",e0=":";function D1(U){var H=/[=:]/g,P={"=":"=0",":":"=2"},j=U.replace(H,function(T){return P[T]});return"$"+j}var J1=!1,E1=/\/+/g;function k0(U){return U.replace(E1,"$&/")}function c(U,H){if(typeof U==="object"&&U!==null&&U.key!=null)return M1(U.key),D1(""+U.key);return H.toString(36)}function c1(U,H,P,j,T){var W0=typeof U;if(W0==="undefined"||W0==="boolean")U=null;var s=!1;if(U===null)s=!0;else switch(W0){case"string":case"number":s=!0;break;case"object":switch(U.$$typeof){case Z1:case C1:s=!0}}if(s){var M0=U,h0=T(M0),s0=j===""?u0+c(M0,0):j;if(P1(h0)){var Y1="";if(s0!=null)Y1=k0(s0)+"/";c1(h0,H,Y1,"",function(WG){return WG})}else if(h0!=null){if(U0(h0)){if(h0.key&&(!M0||M0.key!==h0.key))M1(h0.key);h0=u(h0,P+(h0.key&&(!M0||M0.key!==h0.key)?k0(""+h0.key)+"/":"")+s0)}H.push(h0)}return 1}var z1,O1,N1=0,m0=j===""?u0:j+e0;if(P1(U))for(var $9=0;$9<U.length;$9++)z1=U[$9],O1=m0+c(z1,$9),N1+=c1(z1,H,P,O1,T);else{var a9=_1(U);if(typeof a9==="function"){var J6=U;if(a9===J6.entries){if(!J1)A1("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");J1=!0}var zG=a9.call(J6),K5,Y6=0;while(!(K5=zG.next()).done)z1=K5.value,O1=m0+c(z1,Y6++),N1+=c1(z1,H,P,O1,T)}else if(W0==="object"){var z6=String(U);throw new Error("Objects are not valid as a React child (found: "+(z6==="[object Object]"?"object with keys {"+Object.keys(U).join(", ")+"}":z6)+"). If you meant to render a collection of children, use an array instead.")}}return N1}function B0(U,H,P){if(U==null)return U;var j=[],T=0;return c1(U,j,"","",function(W0){return H.call(P,W0,T++)}),j}function s4(U){var H=0;return B0(U,function(){H++}),H}function l8(U,H,P){B0(U,function(){H.apply(this,arguments)},P)}function b8(U){return B0(U,function(H){return H})||[]}function _(U){if(!U0(U))throw new Error("React.Children.only expected to receive a single React element child.");return U}function h(U){var H={$$typeof:Z0,_currentValue:U,_currentValue2:U,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};H.Provider={$$typeof:R0,_context:H};var P=!1,j=!1,T=!1;{var W0={$$typeof:Z0,_context:H};Object.defineProperties(W0,{Provider:{get:function(){if(!j)j=!0,$0("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?");return H.Provider},set:function(s){H.Provider=s}},_currentValue:{get:function(){return H._currentValue},set:function(s){H._currentValue=s}},_currentValue2:{get:function(){return H._currentValue2},set:function(s){H._currentValue2=s}},_threadCount:{get:function(){return H._threadCount},set:function(s){H._threadCount=s}},Consumer:{get:function(){if(!P)P=!0,$0("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?");return H.Consumer}},displayName:{get:function(){return H.displayName},set:function(s){if(!T)A1("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",s),T=!0}}}),H.Consumer=W0}return H._currentRenderer=null,H._currentRenderer2=null,H}var x=-1,v=0,G0=1,a=2;function J0(U){if(U._status===x){var H=U._result,P=H();if(P.then(function(W0){if(U._status===v||U._status===x){var s=U;s._status=G0,s._result=W0}},function(W0){if(U._status===v||U._status===x){var s=U;s._status=a,s._result=W0}}),U._status===x){var j=U;j._status=v,j._result=P}}if(U._status===G0){var T=U._result;if(T===void 0)$0(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
|
|
Your code should look like:
|
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
|
|
Did you accidentally put curly braces around the import?`,T);if(!("default"in T))$0(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
|
|
Your code should look like:
|
|
const MyComponent = lazy(() => import('./MyComponent'))`,T);return T.default}else throw U._result}function Q1(U){var H={_status:x,_result:U},P={$$typeof:N0,_payload:H,_init:J0};{var j,T;Object.defineProperties(P,{defaultProps:{configurable:!0,get:function(){return j},set:function(W0){$0("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),j=W0,Object.defineProperty(P,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return T},set:function(W0){$0("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),T=W0,Object.defineProperty(P,"propTypes",{enumerable:!0})}}})}return P}function M(U){{if(U!=null&&U.$$typeof===l)$0("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).");else if(typeof U!=="function")$0("forwardRef requires a render function but was given %s.",U===null?"null":typeof U);else if(U.length!==0&&U.length!==2)$0("forwardRef render functions accept exactly two parameters: props and ref. %s",U.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined.");if(U!=null){if(U.defaultProps!=null||U.propTypes!=null)$0("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?")}}var H={$$typeof:K1,render:U};{var P;Object.defineProperty(H,"displayName",{enumerable:!1,configurable:!0,get:function(){return P},set:function(j){if(P=j,!U.name&&!U.displayName)U.displayName=j}})}return H}var N=Symbol.for("react.module.reference");function k(U){if(typeof U==="string"||typeof U==="function")return!0;if(U===q1||U===F4||b0||U===$||U===X0||U===F0||$1||U===d1||K4||i0||I1)return!0;if(typeof U==="object"&&U!==null){if(U.$$typeof===N0||U.$$typeof===l||U.$$typeof===R0||U.$$typeof===Z0||U.$$typeof===K1||U.$$typeof===N||U.getModuleId!==void 0)return!0}return!1}function p(U,H){if(!k(U))$0("memo: The first argument must be a component. Instead received: %s",U===null?"null":typeof U);var P={$$typeof:l,type:U,compare:H===void 0?null:H};{var j;Object.defineProperty(P,"displayName",{enumerable:!1,configurable:!0,get:function(){return j},set:function(T){if(j=T,!U.name&&!U.displayName)U.displayName=T}})}return P}function E(){var U=Q0.current;if(U===null)$0(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
2. You might be breaking the Rules of Hooks
|
|
3. You might have more than one copy of React in the same app
|
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return U}function w0(U){var H=E();if(U._context!==void 0){var P=U._context;if(P.Consumer===U)$0("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?");else if(P.Provider===U)$0("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return H.useContext(U)}function I0(U){var H=E();return H.useState(U)}function L0(U,H,P){var j=E();return j.useReducer(U,H,P)}function y0(U){var H=E();return H.useRef(U)}function H1(U,H){var P=E();return P.useEffect(U,H)}function L1(U,H){var P=E();return P.useInsertionEffect(U,H)}function q4(U,H){var P=E();return P.useLayoutEffect(U,H)}function p8(U,H){var P=E();return P.useCallback(U,H)}function D8(U,H){var P=E();return P.useMemo(U,H)}function Z4(U,H,P){var j=E();return j.useImperativeHandle(U,H,P)}function C5(U,H){{var P=E();return P.useDebugValue(U,H)}}function l7(){var U=E();return U.useTransition()}function k8(U){var H=E();return H.useDeferredValue(U)}function C0(){var U=E();return U.useId()}function K9(U,H,P){var j=E();return j.useSyncExternalStore(U,H,P)}var h5=0,p7,o7,s7,a7,r7,n7,t7;function vZ(){}vZ.__reactDisabledLog=!0;function GG(){{if(h5===0){p7=console.log,o7=console.info,s7=console.warn,a7=console.error,r7=console.group,n7=console.groupCollapsed,t7=console.groupEnd;var U={configurable:!0,enumerable:!0,value:vZ,writable:!0};Object.defineProperties(console,{info:U,log:U,warn:U,error:U,group:U,groupCollapsed:U,groupEnd:U})}h5++}}function e7(){{if(h5--,h5===0){var U={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:o0({},U,{value:p7}),info:o0({},U,{value:o7}),warn:o0({},U,{value:s7}),error:o0({},U,{value:a7}),group:o0({},U,{value:r7}),groupCollapsed:o0({},U,{value:n7}),groupEnd:o0({},U,{value:t7})})}if(h5<0)$0("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var U9=D0.ReactCurrentDispatcher,L8;function T5(U,H,P){{if(L8===void 0)try{throw Error()}catch(T){var j=T.stack.trim().match(/\n( *(at )?)/);L8=j&&j[1]||""}return`
|
|
`+L8+U}}var x5=!1,i9;{var Z6=typeof WeakMap==="function"?WeakMap:Map;i9=new Z6}function dZ(U,H){if(!U||x5)return"";{var P=i9.get(U);if(P!==void 0)return P}var j;x5=!0;var T=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var W0;W0=U9.current,U9.current=null,GG();try{if(H){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(m0){j=m0}Reflect.construct(U,[],s)}else{try{s.call()}catch(m0){j=m0}U.call(s.prototype)}}else{try{throw Error()}catch(m0){j=m0}U()}}catch(m0){if(m0&&j&&typeof m0.stack==="string"){var M0=m0.stack.split(`
|
|
`),h0=j.stack.split(`
|
|
`),s0=M0.length-1,Y1=h0.length-1;while(s0>=1&&Y1>=0&&M0[s0]!==h0[Y1])Y1--;for(;s0>=1&&Y1>=0;s0--,Y1--)if(M0[s0]!==h0[Y1]){if(s0!==1||Y1!==1)do if(s0--,Y1--,Y1<0||M0[s0]!==h0[Y1]){var z1=`
|
|
`+M0[s0].replace(" at new "," at ");if(U.displayName&&z1.includes("<anonymous>"))z1=z1.replace("<anonymous>",U.displayName);if(typeof U==="function")i9.set(U,z1);return z1}while(s0>=1&&Y1>=0);break}}}finally{x5=!1,U9.current=W0,e7(),Error.prepareStackTrace=T}var O1=U?U.displayName||U.name:"",N1=O1?T5(O1):"";if(typeof U==="function")i9.set(U,N1);return N1}function X6(U,H,P){return dZ(U,!1)}function JG(U){var H=U.prototype;return!!(H&&H.isReactComponent)}function g5(U,H,P){if(U==null)return"";if(typeof U==="function")return dZ(U,JG(U));if(typeof U==="string")return T5(U);switch(U){case X0:return T5("Suspense");case F0:return T5("SuspenseList")}if(typeof U==="object")switch(U.$$typeof){case K1:return X6(U.render);case l:return g5(U.type,H,P);case N0:{var j=U,T=j._payload,W0=j._init;try{return g5(W0(T),H,P)}catch(s){}}}return""}var yZ={},Q6=D0.ReactDebugCurrentFrame;function l9(U){if(U){var H=U._owner,P=g5(U.type,U._source,H?H.type:null);Q6.setExtraStackFrame(P)}else Q6.setExtraStackFrame(null)}function mZ(U,H,P,j,T){{var W0=Function.call.bind(U4);for(var s in U)if(W0(U,s)){var M0=void 0;try{if(typeof U[s]!=="function"){var h0=Error((j||"React class")+": "+P+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof U[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h0.name="Invariant Violation",h0}M0=U[s](H,s,j,P,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s0){M0=s0}if(M0&&!(M0 instanceof Error))l9(T),$0("%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).",j||"React class",P,s,typeof M0),l9(null);if(M0 instanceof Error&&!(M0.message in yZ))yZ[M0.message]=!0,l9(T),$0("Failed %s type: %s",P,M0.message),l9(null)}}}function E0(U){if(U){var H=U._owner,P=g5(U.type,U._source,H?H.type:null);W4(P)}else W4(null)}var cZ=!1;function G6(){if(X1.current){var U=x1(X1.current.type);if(U)return`
|
|
|
|
Check the render method of \``+U+"`."}return""}function _0(U){if(U!==void 0){var H=U.fileName.replace(/^.*[\\\/]/,""),P=U.lineNumber;return`
|
|
|
|
Check your code at `+H+":"+P+"."}return""}function iZ(U){if(U!==null&&U!==void 0)return _0(U.__source);return""}var k4={};function q9(U){var H=G6();if(!H){var P=typeof U==="string"?U:U.displayName||U.name;if(P)H=`
|
|
|
|
Check the top-level render call using <`+P+">."}return H}function E5(U,H){if(!U._store||U._store.validated||U.key!=null)return;U._store.validated=!0;var P=q9(H);if(k4[P])return;k4[P]=!0;var j="";if(U&&U._owner&&U._owner!==X1.current)j=" It was passed a child from "+x1(U._owner.type)+".";E0(U),$0('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',P,j),E0(null)}function lZ(U,H){if(typeof U!=="object")return;if(P1(U))for(var P=0;P<U.length;P++){var j=U[P];if(U0(j))E5(j,H)}else if(U0(U)){if(U._store)U._store.validated=!0}else if(U){var T=_1(U);if(typeof T==="function"){if(T!==U.entries){var W0=T.call(U),s;while(!(s=W0.next()).done)if(U0(s.value))E5(s.value,H)}}}}function X4(U){{var H=U.type;if(H===null||H===void 0||typeof H==="string")return;var P;if(typeof H==="function")P=H.propTypes;else if(typeof H==="object"&&(H.$$typeof===K1||H.$$typeof===l))P=H.propTypes;else return;if(P){var j=x1(H);mZ(P,U.props,"prop",j,U)}else if(H.PropTypes!==void 0&&!cZ){cZ=!0;var T=x1(H);$0("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",T||"Unknown")}if(typeof H.getDefaultProps==="function"&&!H.getDefaultProps.isReactClassApproved)$0("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function F1(U){{var H=Object.keys(U.props);for(var P=0;P<H.length;P++){var j=H[P];if(j!=="children"&&j!=="key"){E0(U),$0("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",j),E0(null);break}}if(U.ref!==null)E0(U),$0("Invalid attribute `ref` supplied to `React.Fragment`."),E0(null)}}function pZ(U,H,P){var j=k(U);if(!j){var T="";if(U===void 0||typeof U==="object"&&U!==null&&Object.keys(U).length===0)T+=" 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 W0=iZ(H);if(W0)T+=W0;else T+=G6();var s;if(U===null)s="null";else if(P1(U))s="array";else if(U!==void 0&&U.$$typeof===Z1)s="<"+(x1(U.type)||"Unknown")+" />",T=" Did you accidentally export a JSX literal instead of a component?";else s=typeof U;$0("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,T)}var M0=m1.apply(this,arguments);if(M0==null)return M0;if(j)for(var h0=2;h0<arguments.length;h0++)lZ(arguments[h0],U);if(U===q1)F1(M0);else X4(M0);return M0}var z8=!1;function a4(U){var H=pZ.bind(null,U);H.type=U;{if(!z8)z8=!0,A1("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.");Object.defineProperty(H,"type",{enumerable:!1,get:function(){return A1("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:U}),U}})}return H}function o8(U,H,P){var j=n.apply(this,arguments);for(var T=2;T<arguments.length;T++)lZ(arguments[T],j.type);return X4(j),j}function YG(U,H){var P=B1.transition;B1.transition={};var j=B1.transition;B1.transition._updatedFibers=new Set;try{U()}finally{if(B1.transition=P,P===null&&j._updatedFibers){var T=j._updatedFibers.size;if(T>10)A1("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.");j._updatedFibers.clear()}}}var p9=!1,B9=null;function oZ(U){if(B9===null)try{var H=("require"+Math.random()).slice(0,7),P=QG&&QG[H];B9=P.call(QG,"timers").setImmediate}catch(j){B9=function(T){if(p9===!1){if(p9=!0,typeof MessageChannel==="undefined")$0("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.")}var W0=new MessageChannel;W0.port1.onmessage=T,W0.port2.postMessage(void 0)}}return B9(U)}var f5=0,sZ=!1;function aZ(U){{var H=f5;if(f5++,q0.current===null)q0.current=[];var P=q0.isBatchingLegacy,j;try{if(q0.isBatchingLegacy=!0,j=U(),!P&&q0.didScheduleLegacyUpdate){var T=q0.current;if(T!==null)q0.didScheduleLegacyUpdate=!1,s9(T)}}catch(O1){throw W5(H),O1}finally{q0.isBatchingLegacy=P}if(j!==null&&typeof j==="object"&&typeof j.then==="function"){var W0=j,s=!1,M0={then:function(O1,N1){s=!0,W0.then(function(m0){if(W5(H),f5===0)o9(m0,O1,N1);else O1(m0)},function(m0){W5(H),N1(m0)})}};if(!sZ&&typeof Promise!=="undefined")Promise.resolve().then(function(){}).then(function(){if(!s)sZ=!0,$0("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);")});return M0}else{var h0=j;if(W5(H),f5===0){var s0=q0.current;if(s0!==null)s9(s0),q0.current=null;var Y1={then:function(O1,N1){if(q0.current===null)q0.current=[],o9(h0,O1,N1);else O1(h0)}};return Y1}else{var z1={then:function(O1,N1){O1(h0)}};return z1}}}}function W5(U){{if(U!==f5-1)$0("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");f5=U}}function o9(U,H,P){{var j=q0.current;if(j!==null)try{s9(j),oZ(function(){if(j.length===0)q0.current=null,H(U);else o9(U,H,P)})}catch(T){P(T)}else H(U)}}var u5=!1;function s9(U){if(!u5){u5=!0;var H=0;try{for(;H<U.length;H++){var P=U[H];do P=P(!0);while(P!==null)}U.length=0}catch(j){throw U=U.slice(H+1),j}finally{u5=!1}}}var rZ=pZ,nZ=o8,tZ=a4,eZ={map:B0,forEach:l8,count:s4,toArray:b8,only:_};if(ZP.Children=eZ,ZP.Component=h1,ZP.Fragment=q1,ZP.Profiler=F4,ZP.PureComponent=T1,ZP.StrictMode=$,ZP.Suspense=X0,ZP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D0,ZP.act=aZ,ZP.cloneElement=nZ,ZP.createContext=h,ZP.createElement=rZ,ZP.createFactory=tZ,ZP.createRef=t1,ZP.forwardRef=M,ZP.isValidElement=U0,ZP.lazy=Q1,ZP.memo=p,ZP.startTransition=YG,ZP.unstable_act=aZ,ZP.useCallback=p8,ZP.useContext=w0,ZP.useDebugValue=C5,ZP.useDeferredValue=k8,ZP.useEffect=H1,ZP.useId=C0,ZP.useImperativeHandle=Z4,ZP.useInsertionEffect=L1,ZP.useLayoutEffect=q4,ZP.useMemo=D8,ZP.useReducer=L0,ZP.useRef=y0,ZP.useState=I0,ZP.useSyncExternalStore=K9,ZP.useTransition=l7,ZP.version=e,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var wq=m7((XP)=>{(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=!1,Z1=!1,C1=5;function q1(u,n){var U0=u.length;u.push(n),R0(u,n,U0)}function $(u){return u.length===0?null:u[0]}function F4(u){if(u.length===0)return null;var n=u[0],U0=u.pop();if(U0!==n)u[0]=U0,Z0(u,U0,0);return n}function R0(u,n,U0){var u0=U0;while(u0>0){var e0=u0-1>>>1,D1=u[e0];if(K1(D1,n)>0)u[e0]=n,u[u0]=D1,u0=e0;else return}}function Z0(u,n,U0){var u0=U0,e0=u.length,D1=e0>>>1;while(u0<D1){var J1=(u0+1)*2-1,E1=u[J1],k0=J1+1,c=u[k0];if(K1(E1,n)<0)if(k0<e0&&K1(c,E1)<0)u[u0]=c,u[k0]=n,u0=k0;else u[u0]=E1,u[J1]=n,u0=J1;else if(k0<e0&&K1(c,n)<0)u[u0]=c,u[k0]=n,u0=k0;else return}}function K1(u,n){var U0=u.sortIndex-n.sortIndex;return U0!==0?U0:u.id-n.id}var X0=1,F0=2,l=3,N0=4,d1=5;function w4(u,n){}var p4=typeof performance==="object"&&typeof performance.now==="function";if(p4){var _1=performance;XP.unstable_now=function(){return _1.now()}}else{var Q0=Date,B1=Q0.now();XP.unstable_now=function(){return Q0.now()-B1}}var q0=1073741823,X1=-1,V0=250,z4=5000,W4=1e4,K4=q0,i0=[],I1=[],$1=1,b0=null,D0=l,A1=!1,$0=!1,f0=!1,Q8=typeof setTimeout==="function"?setTimeout:null,G8=typeof clearTimeout==="function"?clearTimeout:null,O8=typeof setImmediate!=="undefined"?setImmediate:null,o0=typeof navigator!=="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function I4(u){var n=$(I1);while(n!==null){if(n.callback===null)F4(I1);else if(n.startTime<=u)F4(I1),n.sortIndex=n.expirationTime,q1(i0,n);else return;n=$(I1)}}function h1(u){if(f0=!1,I4(u),!$0)if($(i0)!==null)$0=!0,g1(E4);else{var n=$(I1);if(n!==null)e1(h1,n.startTime-u)}}function E4(u,n){if($0=!1,f0)f0=!1,A8();A1=!0;var U0=D0;try{if(Z1)try{return R8(u,n)}catch(e0){if(b0!==null){var u0=XP.unstable_now();w4(b0,u0),b0.isQueued=!1}throw e0}else return R8(u,n)}finally{b0=null,D0=U0,A1=!1}}function R8(u,n){var U0=n;I4(U0),b0=$(i0);while(b0!==null&&!e){if(b0.expirationTime>U0&&(!u||U4()))break;var u0=b0.callback;if(typeof u0==="function"){b0.callback=null,D0=b0.priorityLevel;var e0=b0.expirationTime<=U0,D1=u0(e0);if(U0=XP.unstable_now(),typeof D1==="function")b0.callback=D1;else if(b0===$(i0))F4(i0);I4(U0)}else F4(i0);b0=$(i0)}if(b0!==null)return!0;else{var J1=$(I1);if(J1!==null)e1(h1,J1.startTime-U0);return!1}}function J8(u,n){switch(u){case X0:case F0:case l:case N0:case d1:break;default:u=l}var U0=D0;D0=u;try{return n()}finally{D0=U0}}function N4(u){var n;switch(D0){case X0:case F0:case l:n=l;break;default:n=D0;break}var U0=D0;D0=n;try{return u()}finally{D0=U0}}function T1(u){var n=D0;return function(){var U0=D0;D0=n;try{return u.apply(this,arguments)}finally{D0=U0}}}function G1(u,n,U0){var u0=XP.unstable_now(),e0;if(typeof U0==="object"&&U0!==null){var D1=U0.delay;if(typeof D1==="number"&&D1>0)e0=u0+D1;else e0=u0}else e0=u0;var J1;switch(u){case X0:J1=X1;break;case F0:J1=V0;break;case d1:J1=K4;break;case N0:J1=W4;break;case l:default:J1=z4;break}var E1=e0+J1,k0={id:$1++,callback:n,priorityLevel:u,startTime:e0,expirationTime:E1,sortIndex:-1};if(e0>u0){if(k0.sortIndex=e0,q1(I1,k0),$(i0)===null&&k0===$(I1)){if(f0)A8();else f0=!0;e1(h1,e0-u0)}}else if(k0.sortIndex=E1,q1(i0,k0),!$0&&!A1)$0=!0,g1(E4);return k0}function t1(){}function o4(){if(!$0&&!A1)$0=!0,g1(E4)}function P1(){return $(i0)}function V4(u){u.callback=null}function j4(){return D0}var S1=!1,M1=null,S4=-1,b4=C1,x1=-1;function U4(){var u=XP.unstable_now()-x1;if(u<b4)return!1;return!0}function S8(){}function D4(u){if(u<0||u>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}if(u>0)b4=Math.floor(1000/u);else b4=C1}var f4=function(){if(M1!==null){var u=XP.unstable_now();x1=u;var n=!0,U0=!0;try{U0=M1(n,u)}finally{if(U0)b1();else S1=!1,M1=null}}else S1=!1},b1;if(typeof O8==="function")b1=function(){O8(f4)};else if(typeof MessageChannel!=="undefined"){var u4=new MessageChannel,y1=u4.port2;u4.port1.onmessage=f4,b1=function(){y1.postMessage(null)}}else b1=function(){Q8(f4,0)};function g1(u){if(M1=u,!S1)S1=!0,b1()}function e1(u,n){S4=Q8(function(){u(XP.unstable_now())},n)}function A8(){G8(S4),S4=-1}var Y8=S8,m1=null;if(XP.unstable_IdlePriority=d1,XP.unstable_ImmediatePriority=X0,XP.unstable_LowPriority=N0,XP.unstable_NormalPriority=l,XP.unstable_Profiling=m1,XP.unstable_UserBlockingPriority=F0,XP.unstable_cancelCallback=V4,XP.unstable_continueExecution=o4,XP.unstable_forceFrameRate=D4,XP.unstable_getCurrentPriorityLevel=j4,XP.unstable_getFirstCallbackNode=P1,XP.unstable_next=N4,XP.unstable_pauseExecution=t1,XP.unstable_requestPaint=Y8,XP.unstable_runWithPriority=J8,XP.unstable_scheduleCallback=G1,XP.unstable_shouldYield=U4,XP.unstable_wrapCallback=T1,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var Iq=m7((QP)=>{var fZ=j8(EZ(),1),t0=j8(wq(),1);(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=fZ.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Z1=!1;function C1(Z){Z1=Z}function q1(Z){if(!Z1){for(var X=arguments.length,Q=new Array(X>1?X-1:0),G=1;G<X;G++)Q[G-1]=arguments[G];F4("warn",Z,Q)}}function $(Z){if(!Z1){for(var X=arguments.length,Q=new Array(X>1?X-1:0),G=1;G<X;G++)Q[G-1]=arguments[G];F4("error",Z,Q)}}function F4(Z,X,Q){{var G=e.ReactDebugCurrentFrame,J=G.getStackAddendum();if(J!=="")X+="%s",Q=Q.concat([J]);var Y=Q.map(function(z){return String(z)});Y.unshift("Warning: "+X),Function.prototype.apply.call(console[Z],console,Y)}}var R0=0,Z0=1,K1=2,X0=3,F0=4,l=5,N0=6,d1=7,w4=8,p4=9,_1=10,Q0=11,B1=12,q0=13,X1=14,V0=15,z4=16,W4=17,K4=18,i0=19,I1=21,$1=22,b0=23,D0=24,A1=25,$0=!0,f0=!1,Q8=!1,G8=!1,O8=!1,o0=!0,I4=!1,h1=!0,E4=!0,R8=!0,J8=!0,N4=new Set,T1={},G1={};function t1(Z,X){o4(Z,X),o4(Z+"Capture",X)}function o4(Z,X){if(T1[Z])$("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",Z);T1[Z]=X;{var Q=Z.toLowerCase();if(G1[Q]=Z,Z==="onDoubleClick")G1.ondblclick=Z}for(var G=0;G<X.length;G++)N4.add(X[G])}var P1=typeof window!=="undefined"&&typeof window.document!=="undefined"&&typeof window.document.createElement!=="undefined",V4=Object.prototype.hasOwnProperty;function j4(Z){{var X=typeof Symbol==="function"&&Symbol.toStringTag,Q=X&&Z[Symbol.toStringTag]||Z.constructor.name||"Object";return Q}}function S1(Z){try{return M1(Z),!1}catch(X){return!0}}function M1(Z){return""+Z}function S4(Z,X){if(S1(Z))return $("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",X,j4(Z)),M1(Z)}function b4(Z){if(S1(Z))return $("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",j4(Z)),M1(Z)}function x1(Z,X){if(S1(Z))return $("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",X,j4(Z)),M1(Z)}function U4(Z,X){if(S1(Z))return $("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",X,j4(Z)),M1(Z)}function S8(Z){if(S1(Z))return $("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",j4(Z)),M1(Z)}function D4(Z){if(S1(Z))return $("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.",j4(Z)),M1(Z)}var f4=0,b1=1,u4=2,y1=3,g1=4,e1=5,A8=6,Y8=":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",m1=Y8+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",u=new RegExp("^["+Y8+"]["+m1+"]*$"),n={},U0={};function u0(Z){if(V4.call(U0,Z))return!0;if(V4.call(n,Z))return!1;if(u.test(Z))return U0[Z]=!0,!0;return n[Z]=!0,$("Invalid attribute name: `%s`",Z),!1}function e0(Z,X,Q){if(X!==null)return X.type===f4;if(Q)return!1;if(Z.length>2&&(Z[0]==="o"||Z[0]==="O")&&(Z[1]==="n"||Z[1]==="N"))return!0;return!1}function D1(Z,X,Q,G){if(Q!==null&&Q.type===f4)return!1;switch(typeof X){case"function":case"symbol":return!0;case"boolean":{if(G)return!1;if(Q!==null)return!Q.acceptsBooleans;else{var J=Z.toLowerCase().slice(0,5);return J!=="data-"&&J!=="aria-"}}default:return!1}}function J1(Z,X,Q,G){if(X===null||typeof X==="undefined")return!0;if(D1(Z,X,Q,G))return!0;if(G)return!1;if(Q!==null)switch(Q.type){case y1:return!X;case g1:return X===!1;case e1:return isNaN(X);case A8:return isNaN(X)||X<1}return!1}function E1(Z){return c.hasOwnProperty(Z)?c[Z]:null}function k0(Z,X,Q,G,J,Y,z){this.acceptsBooleans=X===u4||X===y1||X===g1,this.attributeName=G,this.attributeNamespace=J,this.mustUseProperty=Q,this.propertyName=Z,this.type=X,this.sanitizeURL=Y,this.removeEmptyString=z}var c={},c1=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];c1.forEach(function(Z){c[Z]=new k0(Z,f4,!1,Z,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(Z){var X=Z[0],Q=Z[1];c[X]=new k0(X,b1,!1,Q,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(Z){c[Z]=new k0(Z,u4,!1,Z.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(Z){c[Z]=new k0(Z,u4,!1,Z,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(Z){c[Z]=new k0(Z,y1,!1,Z.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(Z){c[Z]=new k0(Z,y1,!0,Z,null,!1,!1)}),["capture","download"].forEach(function(Z){c[Z]=new k0(Z,g1,!1,Z,null,!1,!1)}),["cols","rows","size","span"].forEach(function(Z){c[Z]=new k0(Z,A8,!1,Z,null,!1,!1)}),["rowSpan","start"].forEach(function(Z){c[Z]=new k0(Z,e1,!1,Z.toLowerCase(),null,!1,!1)});var B0=/[\-\:]([a-z])/g,s4=function(Z){return Z[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(Z){var X=Z.replace(B0,s4);c[X]=new k0(X,b1,!1,Z,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(Z){var X=Z.replace(B0,s4);c[X]=new k0(X,b1,!1,Z,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(Z){var X=Z.replace(B0,s4);c[X]=new k0(X,b1,!1,Z,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(Z){c[Z]=new k0(Z,b1,!1,Z.toLowerCase(),null,!1,!1)});var l8="xlinkHref";c[l8]=new k0("xlinkHref",b1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(Z){c[Z]=new k0(Z,b1,!1,Z.toLowerCase(),null,!0,!0)});var b8=/^[\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,_=!1;function h(Z){if(!_&&b8.test(Z))_=!0,$("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(Z))}function x(Z,X,Q,G){if(G.mustUseProperty){var J=G.propertyName;return Z[J]}else{if(S4(Q,X),G.sanitizeURL)h(""+Q);var Y=G.attributeName,z=null;if(G.type===g1){if(Z.hasAttribute(Y)){var W=Z.getAttribute(Y);if(W==="")return!0;if(J1(X,Q,G,!1))return W;if(W===""+Q)return Q;return W}}else if(Z.hasAttribute(Y)){if(J1(X,Q,G,!1))return Z.getAttribute(Y);if(G.type===y1)return Q;z=Z.getAttribute(Y)}if(J1(X,Q,G,!1))return z===null?Q:z;else if(z===""+Q)return Q;else return z}}function v(Z,X,Q,G){{if(!u0(X))return;if(!Z.hasAttribute(X))return Q===void 0?void 0:null;var J=Z.getAttribute(X);if(S4(Q,X),J===""+Q)return Q;return J}}function G0(Z,X,Q,G){var J=E1(X);if(e0(X,J,G))return;if(J1(X,Q,J,G))Q=null;if(G||J===null){if(u0(X)){var Y=X;if(Q===null)Z.removeAttribute(Y);else S4(Q,X),Z.setAttribute(Y,""+Q)}return}var z=J.mustUseProperty;if(z){var W=J.propertyName;if(Q===null){var K=J.type;Z[W]=K===y1?!1:""}else Z[W]=Q;return}var{attributeName:q,attributeNamespace:B}=J;if(Q===null)Z.removeAttribute(q);else{var R=J.type,O;if(R===y1||R===g1&&Q===!0)O="";else if(S4(Q,q),O=""+Q,J.sanitizeURL)h(O.toString());if(B)Z.setAttributeNS(B,q,O);else Z.setAttribute(q,O)}}var a=Symbol.for("react.element"),J0=Symbol.for("react.portal"),Q1=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),p=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),w0=Symbol.for("react.suspense"),I0=Symbol.for("react.suspense_list"),L0=Symbol.for("react.memo"),y0=Symbol.for("react.lazy"),H1=Symbol.for("react.scope"),L1=Symbol.for("react.debug_trace_mode"),q4=Symbol.for("react.offscreen"),p8=Symbol.for("react.legacy_hidden"),D8=Symbol.for("react.cache"),Z4=Symbol.for("react.tracing_marker"),C5=Symbol.iterator,l7="@@iterator";function k8(Z){if(Z===null||typeof Z!=="object")return null;var X=C5&&Z[C5]||Z[l7];if(typeof X==="function")return X;return null}var C0=Object.assign,K9=0,h5,p7,o7,s7,a7,r7,n7;function t7(){}t7.__reactDisabledLog=!0;function vZ(){{if(K9===0){h5=console.log,p7=console.info,o7=console.warn,s7=console.error,a7=console.group,r7=console.groupCollapsed,n7=console.groupEnd;var Z={configurable:!0,enumerable:!0,value:t7,writable:!0};Object.defineProperties(console,{info:Z,log:Z,warn:Z,error:Z,group:Z,groupCollapsed:Z,groupEnd:Z})}K9++}}function GG(){{if(K9--,K9===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:C0({},Z,{value:h5}),info:C0({},Z,{value:p7}),warn:C0({},Z,{value:o7}),error:C0({},Z,{value:s7}),group:C0({},Z,{value:a7}),groupCollapsed:C0({},Z,{value:r7}),groupEnd:C0({},Z,{value:n7})})}if(K9<0)$("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var e7=e.ReactCurrentDispatcher,U9;function L8(Z,X,Q){{if(U9===void 0)try{throw Error()}catch(J){var G=J.stack.trim().match(/\n( *(at )?)/);U9=G&&G[1]||""}return`
|
|
`+U9+Z}}var T5=!1,x5;{var i9=typeof WeakMap==="function"?WeakMap:Map;x5=new i9}function Z6(Z,X){if(!Z||T5)return"";{var Q=x5.get(Z);if(Q!==void 0)return Q}var G;T5=!0;var J=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Y;Y=e7.current,e7.current=null,vZ();try{if(X){var z=function(){throw Error()};if(Object.defineProperty(z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(z,[])}catch(w){G=w}Reflect.construct(Z,[],z)}else{try{z.call()}catch(w){G=w}Z.call(z.prototype)}}else{try{throw Error()}catch(w){G=w}Z()}}catch(w){if(w&&G&&typeof w.stack==="string"){var W=w.stack.split(`
|
|
`),K=G.stack.split(`
|
|
`),q=W.length-1,B=K.length-1;while(q>=1&&B>=0&&W[q]!==K[B])B--;for(;q>=1&&B>=0;q--,B--)if(W[q]!==K[B]){if(q!==1||B!==1)do if(q--,B--,B<0||W[q]!==K[B]){var R=`
|
|
`+W[q].replace(" at new "," at ");if(Z.displayName&&R.includes("<anonymous>"))R=R.replace("<anonymous>",Z.displayName);if(typeof Z==="function")x5.set(Z,R);return R}while(q>=1&&B>=0);break}}}finally{T5=!1,e7.current=Y,GG(),Error.prepareStackTrace=J}var O=Z?Z.displayName||Z.name:"",F=O?L8(O):"";if(typeof Z==="function")x5.set(Z,F);return F}function dZ(Z,X,Q){return Z6(Z,!0)}function X6(Z,X,Q){return Z6(Z,!1)}function JG(Z){var X=Z.prototype;return!!(X&&X.isReactComponent)}function g5(Z,X,Q){if(Z==null)return"";if(typeof Z==="function")return Z6(Z,JG(Z));if(typeof Z==="string")return L8(Z);switch(Z){case w0:return L8("Suspense");case I0:return L8("SuspenseList")}if(typeof Z==="object")switch(Z.$$typeof){case E:return X6(Z.render);case L0:return g5(Z.type,X,Q);case y0:{var G=Z,J=G._payload,Y=G._init;try{return g5(Y(J),X,Q)}catch(z){}}}return""}function yZ(Z){var X=Z._debugOwner?Z._debugOwner.type:null,Q=Z._debugSource;switch(Z.tag){case l:return L8(Z.type);case z4:return L8("Lazy");case q0:return L8("Suspense");case i0:return L8("SuspenseList");case R0:case K1:case V0:return X6(Z.type);case Q0:return X6(Z.type.render);case Z0:return dZ(Z.type);default:return""}}function Q6(Z){try{var X="",Q=Z;do X+=yZ(Q),Q=Q.return;while(Q);return X}catch(G){return`
|
|
Error generating stack: `+G.message+`
|
|
`+G.stack}}function l9(Z,X,Q){var G=Z.displayName;if(G)return G;var J=X.displayName||X.name||"";return J!==""?Q+"("+J+")":Q}function mZ(Z){return Z.displayName||"Context"}function E0(Z){if(Z==null)return null;if(typeof Z.tag==="number")$("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");if(typeof Z==="function")return Z.displayName||Z.name||null;if(typeof Z==="string")return Z;switch(Z){case Q1:return"Fragment";case J0:return"Portal";case N:return"Profiler";case M:return"StrictMode";case w0:return"Suspense";case I0:return"SuspenseList"}if(typeof Z==="object")switch(Z.$$typeof){case p:var X=Z;return mZ(X)+".Consumer";case k:var Q=Z;return mZ(Q._context)+".Provider";case E:return l9(Z,Z.render,"ForwardRef");case L0:var G=Z.displayName||null;if(G!==null)return G;return E0(Z.type)||"Memo";case y0:{var J=Z,Y=J._payload,z=J._init;try{return E0(z(Y))}catch(W){return null}}}return null}function cZ(Z,X,Q){var G=X.displayName||X.name||"";return Z.displayName||(G!==""?Q+"("+G+")":Q)}function G6(Z){return Z.displayName||"Context"}function _0(Z){var{tag:X,type:Q}=Z;switch(X){case D0:return"Cache";case p4:var G=Q;return G6(G)+".Consumer";case _1:var J=Q;return G6(J._context)+".Provider";case K4:return"DehydratedFragment";case Q0:return cZ(Q,Q.render,"ForwardRef");case d1:return"Fragment";case l:return Q;case F0:return"Portal";case X0:return"Root";case N0:return"Text";case z4:return E0(Q);case w4:if(Q===M)return"StrictMode";return"Mode";case $1:return"Offscreen";case B1:return"Profiler";case I1:return"Scope";case q0:return"Suspense";case i0:return"SuspenseList";case A1:return"TracingMarker";case Z0:case R0:case W4:case K1:case X1:case V0:if(typeof Q==="function")return Q.displayName||Q.name||null;if(typeof Q==="string")return Q;break}return null}var iZ=e.ReactDebugCurrentFrame,k4=null,q9=!1;function E5(){{if(k4===null)return null;var Z=k4._debugOwner;if(Z!==null&&typeof Z!=="undefined")return _0(Z)}return null}function lZ(){{if(k4===null)return"";return Q6(k4)}}function X4(){iZ.getCurrentStack=null,k4=null,q9=!1}function F1(Z){iZ.getCurrentStack=Z===null?null:lZ,k4=Z,q9=!1}function pZ(){return k4}function z8(Z){q9=Z}function a4(Z){return""+Z}function o8(Z){switch(typeof Z){case"boolean":case"number":case"string":case"undefined":return Z;case"object":return D4(Z),Z;default:return""}}var YG={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function p9(Z,X){{if(!(YG[X.type]||X.onChange||X.onInput||X.readOnly||X.disabled||X.value==null))$("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`.");if(!(X.onChange||X.readOnly||X.disabled||X.checked==null))$("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 B9(Z){var{type:X,nodeName:Q}=Z;return Q&&Q.toLowerCase()==="input"&&(X==="checkbox"||X==="radio")}function oZ(Z){return Z._valueTracker}function f5(Z){Z._valueTracker=null}function sZ(Z){var X="";if(!Z)return X;if(B9(Z))X=Z.checked?"true":"false";else X=Z.value;return X}function aZ(Z){var X=B9(Z)?"checked":"value",Q=Object.getOwnPropertyDescriptor(Z.constructor.prototype,X);D4(Z[X]);var G=""+Z[X];if(Z.hasOwnProperty(X)||typeof Q==="undefined"||typeof Q.get!=="function"||typeof Q.set!=="function")return;var{get:J,set:Y}=Q;Object.defineProperty(Z,X,{configurable:!0,get:function(){return J.call(this)},set:function(W){D4(W),G=""+W,Y.call(this,W)}}),Object.defineProperty(Z,X,{enumerable:Q.enumerable});var z={getValue:function(){return G},setValue:function(W){D4(W),G=""+W},stopTracking:function(){f5(Z),delete Z[X]}};return z}function W5(Z){if(oZ(Z))return;Z._valueTracker=aZ(Z)}function o9(Z){if(!Z)return!1;var X=oZ(Z);if(!X)return!0;var Q=X.getValue(),G=sZ(Z);if(G!==Q)return X.setValue(G),!0;return!1}function u5(Z){if(Z=Z||(typeof document!=="undefined"?document:void 0),typeof Z==="undefined")return null;try{return Z.activeElement||Z.body}catch(X){return Z.body}}var s9=!1,rZ=!1,nZ=!1,tZ=!1;function eZ(Z){var X=Z.type==="checkbox"||Z.type==="radio";return X?Z.checked!=null:Z.value!=null}function U(Z,X){var Q=Z,G=X.checked,J=C0({},X,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:G!=null?G:Q._wrapperState.initialChecked});return J}function H(Z,X){{if(p9("input",X),X.checked!==void 0&&X.defaultChecked!==void 0&&!rZ)$("%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",E5()||"A component",X.type),rZ=!0;if(X.value!==void 0&&X.defaultValue!==void 0&&!s9)$("%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",E5()||"A component",X.type),s9=!0}var Q=Z,G=X.defaultValue==null?"":X.defaultValue;Q._wrapperState={initialChecked:X.checked!=null?X.checked:X.defaultChecked,initialValue:o8(X.value!=null?X.value:G),controlled:eZ(X)}}function P(Z,X){var Q=Z,G=X.checked;if(G!=null)G0(Q,"checked",G,!1)}function j(Z,X){var Q=Z;{var G=eZ(X);if(!Q._wrapperState.controlled&&G&&!tZ)$("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"),tZ=!0;if(Q._wrapperState.controlled&&!G&&!nZ)$("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"),nZ=!0}P(Z,X);var J=o8(X.value),Y=X.type;if(J!=null){if(Y==="number"){if(J===0&&Q.value===""||Q.value!=J)Q.value=a4(J)}else if(Q.value!==a4(J))Q.value=a4(J)}else if(Y==="submit"||Y==="reset"){Q.removeAttribute("value");return}if(X.hasOwnProperty("value"))M0(Q,X.type,J);else if(X.hasOwnProperty("defaultValue"))M0(Q,X.type,o8(X.defaultValue));if(X.checked==null&&X.defaultChecked!=null)Q.defaultChecked=!!X.defaultChecked}function T(Z,X,Q){var G=Z;if(X.hasOwnProperty("value")||X.hasOwnProperty("defaultValue")){var J=X.type,Y=J==="submit"||J==="reset";if(Y&&(X.value===void 0||X.value===null))return;var z=a4(G._wrapperState.initialValue);if(!Q){if(z!==G.value)G.value=z}G.defaultValue=z}var W=G.name;if(W!=="")G.name="";if(G.defaultChecked=!G.defaultChecked,G.defaultChecked=!!G._wrapperState.initialChecked,W!=="")G.name=W}function W0(Z,X){var Q=Z;j(Q,X),s(Q,X)}function s(Z,X){var Q=X.name;if(X.type==="radio"&&Q!=null){var G=Z;while(G.parentNode)G=G.parentNode;S4(Q,"name");var J=G.querySelectorAll("input[name="+JSON.stringify(""+Q)+'][type="radio"]');for(var Y=0;Y<J.length;Y++){var z=J[Y];if(z===Z||z.form!==Z.form)continue;var W=dX(z);if(!W)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");o9(z),j(z,W)}}}function M0(Z,X,Q){if(X!=="number"||u5(Z.ownerDocument)!==Z){if(Q==null)Z.defaultValue=a4(Z._wrapperState.initialValue);else if(Z.defaultValue!==a4(Q))Z.defaultValue=a4(Q)}}var h0=!1,s0=!1,Y1=!1;function z1(Z,X){{if(X.value==null){if(typeof X.children==="object"&&X.children!==null)fZ.Children.forEach(X.children,function(Q){if(Q==null)return;if(typeof Q==="string"||typeof Q==="number")return;if(!s0)s0=!0,$("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")});else if(X.dangerouslySetInnerHTML!=null){if(!Y1)Y1=!0,$("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")}}if(X.selected!=null&&!h0)$("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),h0=!0}}function O1(Z,X){if(X.value!=null)Z.setAttribute("value",a4(o8(X.value)))}var N1=Array.isArray;function m0(Z){return N1(Z)}var $9=!1;function a9(){var Z=E5();if(Z)return`
|
|
|
|
Check the render method of \``+Z+"`.";return""}var J6=["value","defaultValue"];function zG(Z){{p9("select",Z);for(var X=0;X<J6.length;X++){var Q=J6[X];if(Z[Q]==null)continue;var G=m0(Z[Q]);if(Z.multiple&&!G)$("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Q,a9());else if(!Z.multiple&&G)$("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Q,a9())}}}function K5(Z,X,Q,G){var J=Z.options;if(X){var Y=Q,z={};for(var W=0;W<Y.length;W++)z["$"+Y[W]]=!0;for(var K=0;K<J.length;K++){var q=z.hasOwnProperty("$"+J[K].value);if(J[K].selected!==q)J[K].selected=q;if(q&&G)J[K].defaultSelected=!0}}else{var B=a4(o8(Q)),R=null;for(var O=0;O<J.length;O++){if(J[O].value===B){if(J[O].selected=!0,G)J[O].defaultSelected=!0;return}if(R===null&&!J[O].disabled)R=J[O]}if(R!==null)R.selected=!0}}function Y6(Z,X){return C0({},X,{value:void 0})}function z6(Z,X){var Q=Z;if(zG(X),Q._wrapperState={wasMultiple:!!X.multiple},X.value!==void 0&&X.defaultValue!==void 0&&!$9)$("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"),$9=!0}function WG(Z,X){var Q=Z;Q.multiple=!!X.multiple;var G=X.value;if(G!=null)K5(Q,!!X.multiple,G,!1);else if(X.defaultValue!=null)K5(Q,!!X.multiple,X.defaultValue,!0)}function kq(Z,X){var Q=Z,G=Q._wrapperState.wasMultiple;Q._wrapperState.wasMultiple=!!X.multiple;var J=X.value;if(J!=null)K5(Q,!!X.multiple,J,!1);else if(G!==!!X.multiple)if(X.defaultValue!=null)K5(Q,!!X.multiple,X.defaultValue,!0);else K5(Q,!!X.multiple,X.multiple?[]:"",!1)}function Cq(Z,X){var Q=Z,G=X.value;if(G!=null)K5(Q,!!X.multiple,G,!1)}var $z=!1;function KG(Z,X){var Q=Z;if(X.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var G=C0({},X,{value:void 0,defaultValue:void 0,children:a4(Q._wrapperState.initialValue)});return G}function Mz(Z,X){var Q=Z;if(p9("textarea",X),X.value!==void 0&&X.defaultValue!==void 0&&!$z)$("%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",E5()||"A component"),$z=!0;var G=X.value;if(G==null){var{children:J,defaultValue:Y}=X;if(J!=null){$("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(Y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(m0(J)){if(J.length>1)throw new Error("<textarea> can only have at most one child.");J=J[0]}Y=J}}if(Y==null)Y="";G=Y}Q._wrapperState={initialValue:o8(G)}}function Hz(Z,X){var Q=Z,G=o8(X.value),J=o8(X.defaultValue);if(G!=null){var Y=a4(G);if(Y!==Q.value)Q.value=Y;if(X.defaultValue==null&&Q.defaultValue!==Y)Q.defaultValue=Y}if(J!=null)Q.defaultValue=a4(J)}function Oz(Z,X){var Q=Z,G=Q.textContent;if(G===Q._wrapperState.initialValue){if(G!==""&&G!==null)Q.value=G}}function hq(Z,X){Hz(Z,X)}var U5="http://www.w3.org/1999/xhtml",Tq="http://www.w3.org/1998/Math/MathML",UG="http://www.w3.org/2000/svg";function qG(Z){switch(Z){case"svg":return UG;case"math":return Tq;default:return U5}}function BG(Z,X){if(Z==null||Z===U5)return qG(X);if(Z===UG&&X==="foreignObject")return U5;return Z}var xq=function(Z){if(typeof MSApp!=="undefined"&&MSApp.execUnsafeLocalFunction)return function(X,Q,G,J){MSApp.execUnsafeLocalFunction(function(){return Z(X,Q,G,J)})};else return Z},ZX,Rz=xq(function(Z,X){if(Z.namespaceURI===UG){if(!("innerHTML"in Z)){ZX=ZX||document.createElement("div"),ZX.innerHTML="<svg>"+X.valueOf().toString()+"</svg>";var Q=ZX.firstChild;while(Z.firstChild)Z.removeChild(Z.firstChild);while(Q.firstChild)Z.appendChild(Q.firstChild);return}}Z.innerHTML=X}),r4=1,q5=3,f1=8,B5=9,$G=11,XX=function(Z,X){if(X){var Q=Z.firstChild;if(Q&&Q===Z.lastChild&&Q.nodeType===q5){Q.nodeValue=X;return}}Z.textContent=X},gq={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"]},W6={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 Eq(Z,X){return Z+X.charAt(0).toUpperCase()+X.substring(1)}var fq=["Webkit","ms","Moz","O"];Object.keys(W6).forEach(function(Z){fq.forEach(function(X){W6[Eq(X,Z)]=W6[Z]})});function MG(Z,X,Q){var G=X==null||typeof X==="boolean"||X==="";if(G)return"";if(!Q&&typeof X==="number"&&X!==0&&!(W6.hasOwnProperty(Z)&&W6[Z]))return X+"px";return U4(X,Z),(""+X).trim()}var uq=/([A-Z])/g,vq=/^ms-/;function dq(Z){return Z.replace(uq,"-$1").toLowerCase().replace(vq,"-ms-")}var Az=function(){};{var yq=/^(?:webkit|moz|o)[A-Z]/,mq=/^-ms-/,cq=/-(.)/g,Lz=/;\s*$/,r9={},HG={},_z=!1,Pz=!1,iq=function(Z){return Z.replace(cq,function(X,Q){return Q.toUpperCase()})},lq=function(Z){if(r9.hasOwnProperty(Z)&&r9[Z])return;r9[Z]=!0,$("Unsupported style property %s. Did you mean %s?",Z,iq(Z.replace(mq,"ms-")))},pq=function(Z){if(r9.hasOwnProperty(Z)&&r9[Z])return;r9[Z]=!0,$("Unsupported vendor-prefixed style property %s. Did you mean %s?",Z,Z.charAt(0).toUpperCase()+Z.slice(1))},oq=function(Z,X){if(HG.hasOwnProperty(X)&&HG[X])return;HG[X]=!0,$(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,Z,X.replace(Lz,""))},sq=function(Z,X){if(_z)return;_z=!0,$("`NaN` is an invalid value for the `%s` css style property.",Z)},aq=function(Z,X){if(Pz)return;Pz=!0,$("`Infinity` is an invalid value for the `%s` css style property.",Z)};Az=function(Z,X){if(Z.indexOf("-")>-1)lq(Z);else if(yq.test(Z))pq(Z);else if(Lz.test(X))oq(Z,X);if(typeof X==="number"){if(isNaN(X))sq(Z,X);else if(!isFinite(X))aq(Z,X)}}}var rq=Az;function nq(Z){{var X="",Q="";for(var G in Z){if(!Z.hasOwnProperty(G))continue;var J=Z[G];if(J!=null){var Y=G.indexOf("--")===0;X+=Q+(Y?G:dq(G))+":",X+=MG(G,J,Y),Q=";"}}return X||null}}function Fz(Z,X){var Q=Z.style;for(var G in X){if(!X.hasOwnProperty(G))continue;var J=G.indexOf("--")===0;if(!J)rq(G,X[G]);var Y=MG(G,X[G],J);if(G==="float")G="cssFloat";if(J)Q.setProperty(G,Y);else Q[G]=Y}}function tq(Z){return Z==null||typeof Z==="boolean"||Z===""}function wz(Z){var X={};for(var Q in Z){var G=gq[Q]||[Q];for(var J=0;J<G.length;J++)X[G[J]]=Q}return X}function eq(Z,X){{if(!X)return;var Q=wz(Z),G=wz(X),J={};for(var Y in Q){var z=Q[Y],W=G[Y];if(W&&z!==W){var K=z+","+W;if(J[K])continue;J[K]=!0,$("%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.",tq(Z[z])?"Removing":"Updating",z,W)}}}}var ZB={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},XB=C0({menuitem:!0},ZB),QB="__html";function OG(Z,X){if(!X)return;if(XB[Z]){if(X.children!=null||X.dangerouslySetInnerHTML!=null)throw new Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.")}if(X.dangerouslySetInnerHTML!=null){if(X.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof X.dangerouslySetInnerHTML!=="object"||!(QB in X.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(!X.suppressContentEditableWarning&&X.contentEditable&&X.children!=null)$("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.");if(X.style!=null&&typeof X.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 M9(Z,X){if(Z.indexOf("-")===-1)return typeof X.is==="string";switch(Z){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 QX={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"},Iz={"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},n9={},GB=new RegExp("^(aria)-["+m1+"]*$"),JB=new RegExp("^(aria)[A-Z]["+m1+"]*$");function YB(Z,X){{if(V4.call(n9,X)&&n9[X])return!0;if(JB.test(X)){var Q="aria-"+X.slice(4).toLowerCase(),G=Iz.hasOwnProperty(Q)?Q:null;if(G==null)return $("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",X),n9[X]=!0,!0;if(X!==G)return $("Invalid ARIA attribute `%s`. Did you mean `%s`?",X,G),n9[X]=!0,!0}if(GB.test(X)){var J=X.toLowerCase(),Y=Iz.hasOwnProperty(J)?J:null;if(Y==null)return n9[X]=!0,!1;if(X!==Y)return $("Unknown ARIA attribute `%s`. Did you mean `%s`?",X,Y),n9[X]=!0,!0}}return!0}function zB(Z,X){{var Q=[];for(var G in X){var J=YB(Z,G);if(!J)Q.push(G)}var Y=Q.map(function(z){return"`"+z+"`"}).join(", ");if(Q.length===1)$("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",Y,Z);else if(Q.length>1)$("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",Y,Z)}}function WB(Z,X){if(M9(Z,X))return;zB(Z,X)}var Nz=!1;function KB(Z,X){{if(Z!=="input"&&Z!=="textarea"&&Z!=="select")return;if(X!=null&&X.value===null&&!Nz)if(Nz=!0,Z==="select"&&X.multiple)$("`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.",Z);else $("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",Z)}}var Vz=function(){};{var v4={},jz=/^on./,UB=/^on[^A-Z]/,qB=new RegExp("^(aria)-["+m1+"]*$"),BB=new RegExp("^(aria)[A-Z]["+m1+"]*$");Vz=function(Z,X,Q,G){if(V4.call(v4,X)&&v4[X])return!0;var J=X.toLowerCase();if(J==="onfocusin"||J==="onfocusout")return $("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."),v4[X]=!0,!0;if(G!=null){var{registrationNameDependencies:Y,possibleRegistrationNames:z}=G;if(Y.hasOwnProperty(X))return!0;var W=z.hasOwnProperty(J)?z[J]:null;if(W!=null)return $("Invalid event handler property `%s`. Did you mean `%s`?",X,W),v4[X]=!0,!0;if(jz.test(X))return $("Unknown event handler property `%s`. It will be ignored.",X),v4[X]=!0,!0}else if(jz.test(X)){if(UB.test(X))$("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",X);return v4[X]=!0,!0}if(qB.test(X)||BB.test(X))return!0;if(J==="innerhtml")return $("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),v4[X]=!0,!0;if(J==="aria")return $("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),v4[X]=!0,!0;if(J==="is"&&Q!==null&&Q!==void 0&&typeof Q!=="string")return $("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof Q),v4[X]=!0,!0;if(typeof Q==="number"&&isNaN(Q))return $("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",X),v4[X]=!0,!0;var K=E1(X),q=K!==null&&K.type===f4;if(QX.hasOwnProperty(J)){var B=QX[J];if(B!==X)return $("Invalid DOM property `%s`. Did you mean `%s`?",X,B),v4[X]=!0,!0}else if(!q&&X!==J)return $("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.",X,J),v4[X]=!0,!0;if(typeof Q==="boolean"&&D1(X,Q,K,!1)){if(Q)$('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()}.',Q,X,X,Q,X);else $('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.',Q,X,X,Q,X,X,X);return v4[X]=!0,!0}if(q)return!0;if(D1(X,Q,K,!1))return v4[X]=!0,!1;if((Q==="false"||Q==="true")&&K!==null&&K.type===y1)return $("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",Q,X,Q==="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".',X,Q),v4[X]=!0,!0;return!0}}var $B=function(Z,X,Q){{var G=[];for(var J in X){var Y=Vz(Z,J,X[J],Q);if(!Y)G.push(J)}var z=G.map(function(W){return"`"+W+"`"}).join(", ");if(G.length===1)$("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 ",z,Z);else if(G.length>1)$("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 ",z,Z)}};function MB(Z,X,Q){if(M9(Z,X))return;$B(Z,X,Q)}var Sz=1,RG=2,K6=4,HB=Sz|RG|K6,U6=null;function OB(Z){if(U6!==null)$("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue.");U6=Z}function RB(){if(U6===null)$("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue.");U6=null}function AB(Z){return Z===U6}function AG(Z){var X=Z.target||Z.srcElement||window;if(X.correspondingUseElement)X=X.correspondingUseElement;return X.nodeType===q5?X.parentNode:X}var LG=null,t9=null,e9=null;function bz(Z){var X=p5(Z);if(!X)return;if(typeof LG!=="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 Q=X.stateNode;if(Q){var G=dX(Q);LG(X.stateNode,X.type,G)}}function LB(Z){LG=Z}function Dz(Z){if(t9)if(e9)e9.push(Z);else e9=[Z];else t9=Z}function _B(){return t9!==null||e9!==null}function kz(){if(!t9)return;var Z=t9,X=e9;if(t9=null,e9=null,bz(Z),X)for(var Q=0;Q<X.length;Q++)bz(X[Q])}var Cz=function(Z,X){return Z(X)},hz=function(){},_G=!1;function PB(){var Z=_B();if(Z)hz(),kz()}function Tz(Z,X,Q){if(_G)return Z(X,Q);_G=!0;try{return Cz(Z,X,Q)}finally{_G=!1,PB()}}function FB(Z,X,Q){Cz=Z,hz=Q}function wB(Z){return Z==="button"||Z==="input"||Z==="select"||Z==="textarea"}function IB(Z,X,Q){switch(Z){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(Q.disabled&&wB(X));default:return!1}}function q6(Z,X){var Q=Z.stateNode;if(Q===null)return null;var G=dX(Q);if(G===null)return null;var J=G[X];if(IB(X,Z.type,G))return null;if(J&&typeof J!=="function")throw new Error("Expected `"+X+"` listener to be a function, instead got a value of `"+typeof J+"` type.");return J}var PG=!1;if(P1)try{var B6={};Object.defineProperty(B6,"passive",{get:function(){PG=!0}}),window.addEventListener("test",B6,B6),window.removeEventListener("test",B6,B6)}catch(Z){PG=!1}function xz(Z,X,Q,G,J,Y,z,W,K){var q=Array.prototype.slice.call(arguments,3);try{X.apply(Q,q)}catch(B){this.onError(B)}}var gz=xz;if(typeof window!=="undefined"&&typeof window.dispatchEvent==="function"&&typeof document!=="undefined"&&typeof document.createEvent==="function"){var FG=document.createElement("react");gz=function Z(X,Q,G,J,Y,z,W,K,q){if(typeof document==="undefined"||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 B=document.createEvent("Event"),R=!1,O=!0,F=window.event,w=Object.getOwnPropertyDescriptor(window,"event");function V(){if(FG.removeEventListener(S,t,!1),typeof window.event!=="undefined"&&window.hasOwnProperty("event"))window.event=F}var f=Array.prototype.slice.call(arguments,3);function t(){R=!0,V(),Q.apply(G,f),O=!1}var r,j0=!1,S0=!1;function A(L){if(r=L.error,j0=!0,r===null&&L.colno===0&&L.lineno===0)S0=!0;if(L.defaultPrevented){if(r!=null&&typeof r==="object")try{r._suppressLogging=!0}catch(C){}}}var S="react-"+(X?X:"invokeguardedcallback");if(window.addEventListener("error",A),FG.addEventListener(S,t,!1),B.initEvent(S,!1,!1),FG.dispatchEvent(B),w)Object.defineProperty(window,"event",w);if(R&&O){if(!j0)r=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.`);else if(S0)r=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.");this.onError(r)}if(window.removeEventListener("error",A),!R)return V(),xz.apply(this,arguments)}}var NB=gz,Z7=!1,GX=null,JX=!1,wG=null,VB={onError:function(Z){Z7=!0,GX=Z}};function IG(Z,X,Q,G,J,Y,z,W,K){Z7=!1,GX=null,NB.apply(VB,arguments)}function jB(Z,X,Q,G,J,Y,z,W,K){if(IG.apply(this,arguments),Z7){var q=NG();if(!JX)JX=!0,wG=q}}function SB(){if(JX){var Z=wG;throw JX=!1,wG=null,Z}}function bB(){return Z7}function NG(){if(Z7){var Z=GX;return Z7=!1,GX=null,Z}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 X7(Z){return Z._reactInternals}function DB(Z){return Z._reactInternals!==void 0}function kB(Z,X){Z._reactInternals=X}var z0=0,Q7=1,u1=2,g0=4,H9=16,$6=32,VG=64,c0=128,$5=256,v5=512,O9=1024,C8=2048,M5=4096,R9=8192,YX=16384,CB=C8|g0|VG|v5|O9|YX,hB=32767,M6=32768,d4=65536,jG=131072,Ez=1048576,SG=2097152,A9=4194304,bG=8388608,H5=16777216,zX=33554432,DG=g0|O9|0,kG=u1|g0|H9|$6|v5|M5|R9,H6=g0|VG|v5|R9,G7=C8|H9,O5=A9|bG|SG,TB=e.ReactCurrentOwner;function L9(Z){var X=Z,Q=Z;if(!Z.alternate){var G=X;do{if(X=G,(X.flags&(u1|M5))!==z0)Q=X.return;G=X.return}while(G)}else while(X.return)X=X.return;if(X.tag===X0)return Q;return null}function fz(Z){if(Z.tag===q0){var X=Z.memoizedState;if(X===null){var Q=Z.alternate;if(Q!==null)X=Q.memoizedState}if(X!==null)return X.dehydrated}return null}function uz(Z){return Z.tag===X0?Z.stateNode.containerInfo:null}function xB(Z){return L9(Z)===Z}function gB(Z){{var X=TB.current;if(X!==null&&X.tag===Z0){var Q=X,G=Q.stateNode;if(!G._warnedAboutRefsInRender)$("%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.",_0(Q)||"A component");G._warnedAboutRefsInRender=!0}}var J=X7(Z);if(!J)return!1;return L9(J)===J}function vz(Z){if(L9(Z)!==Z)throw new Error("Unable to find node on an unmounted component.")}function dz(Z){var X=Z.alternate;if(!X){var Q=L9(Z);if(Q===null)throw new Error("Unable to find node on an unmounted component.");if(Q!==Z)return null;return Z}var G=Z,J=X;while(!0){var Y=G.return;if(Y===null)break;var z=Y.alternate;if(z===null){var W=Y.return;if(W!==null){G=J=W;continue}break}if(Y.child===z.child){var K=Y.child;while(K){if(K===G)return vz(Y),Z;if(K===J)return vz(Y),X;K=K.sibling}throw new Error("Unable to find node on an unmounted component.")}if(G.return!==J.return)G=Y,J=z;else{var q=!1,B=Y.child;while(B){if(B===G){q=!0,G=Y,J=z;break}if(B===J){q=!0,J=Y,G=z;break}B=B.sibling}if(!q){B=z.child;while(B){if(B===G){q=!0,G=z,J=Y;break}if(B===J){q=!0,J=z,G=Y;break}B=B.sibling}if(!q)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(G.alternate!==J)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(G.tag!==X0)throw new Error("Unable to find node on an unmounted component.");if(G.stateNode.current===G)return Z;return X}function yz(Z){var X=dz(Z);return X!==null?mz(X):null}function mz(Z){if(Z.tag===l||Z.tag===N0)return Z;var X=Z.child;while(X!==null){var Q=mz(X);if(Q!==null)return Q;X=X.sibling}return null}function EB(Z){var X=dz(Z);return X!==null?cz(X):null}function cz(Z){if(Z.tag===l||Z.tag===N0)return Z;var X=Z.child;while(X!==null){if(X.tag!==F0){var Q=cz(X);if(Q!==null)return Q}X=X.sibling}return null}var iz=t0.unstable_scheduleCallback,fB=t0.unstable_cancelCallback,uB=t0.unstable_shouldYield,vB=t0.unstable_requestPaint,Q4=t0.unstable_now,dB=t0.unstable_getCurrentPriorityLevel,WX=t0.unstable_ImmediatePriority,CG=t0.unstable_UserBlockingPriority,_9=t0.unstable_NormalPriority,yB=t0.unstable_LowPriority,hG=t0.unstable_IdlePriority,mB=t0.unstable_yieldValue,cB=t0.unstable_setDisableYieldValue,P9=null,B4=null,y=null,s8=!1,h8=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined";function iB(Z){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__==="undefined")return!1;var X=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(X.isDisabled)return!0;if(!X.supportsFiber)return $("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{if(E4)Z=C0({},Z,{getLaneLabelMap:rB,injectProfilingHooks:aB});P9=X.inject(Z),B4=X}catch(Q){$("React instrumentation encountered an error: %s.",Q)}if(X.checkDCE)return!0;else return!1}function lB(Z,X){if(B4&&typeof B4.onScheduleFiberRoot==="function")try{B4.onScheduleFiberRoot(P9,Z,X)}catch(Q){if(!s8)s8=!0,$("React instrumentation encountered an error: %s",Q)}}function pB(Z,X){if(B4&&typeof B4.onCommitFiberRoot==="function")try{var Q=(Z.current.flags&c0)===c0;if(R8){var G;switch(X){case U8:G=WX;break;case A5:G=CG;break;case L5:G=_9;break;case OX:G=hG;break;default:G=_9;break}B4.onCommitFiberRoot(P9,Z,G,Q)}else B4.onCommitFiberRoot(P9,Z,void 0,Q)}catch(J){if(!s8)s8=!0,$("React instrumentation encountered an error: %s",J)}}function oB(Z){if(B4&&typeof B4.onPostCommitFiberRoot==="function")try{B4.onPostCommitFiberRoot(P9,Z)}catch(X){if(!s8)s8=!0,$("React instrumentation encountered an error: %s",X)}}function sB(Z){if(B4&&typeof B4.onCommitFiberUnmount==="function")try{B4.onCommitFiberUnmount(P9,Z)}catch(X){if(!s8)s8=!0,$("React instrumentation encountered an error: %s",X)}}function G4(Z){{if(typeof mB==="function")cB(Z),C1(Z);if(B4&&typeof B4.setStrictMode==="function")try{B4.setStrictMode(P9,Z)}catch(X){if(!s8)s8=!0,$("React instrumentation encountered an error: %s",X)}}}function aB(Z){y=Z}function rB(){{var Z=new Map,X=1;for(var Q=0;Q<xG;Q++){var G=R$(X);Z.set(X,G),X*=2}return Z}}function nB(Z){if(y!==null&&typeof y.markCommitStarted==="function")y.markCommitStarted(Z)}function lz(){if(y!==null&&typeof y.markCommitStopped==="function")y.markCommitStopped()}function O6(Z){if(y!==null&&typeof y.markComponentRenderStarted==="function")y.markComponentRenderStarted(Z)}function J7(){if(y!==null&&typeof y.markComponentRenderStopped==="function")y.markComponentRenderStopped()}function tB(Z){if(y!==null&&typeof y.markComponentPassiveEffectMountStarted==="function")y.markComponentPassiveEffectMountStarted(Z)}function eB(){if(y!==null&&typeof y.markComponentPassiveEffectMountStopped==="function")y.markComponentPassiveEffectMountStopped()}function Z$(Z){if(y!==null&&typeof y.markComponentPassiveEffectUnmountStarted==="function")y.markComponentPassiveEffectUnmountStarted(Z)}function X$(){if(y!==null&&typeof y.markComponentPassiveEffectUnmountStopped==="function")y.markComponentPassiveEffectUnmountStopped()}function Q$(Z){if(y!==null&&typeof y.markComponentLayoutEffectMountStarted==="function")y.markComponentLayoutEffectMountStarted(Z)}function G$(){if(y!==null&&typeof y.markComponentLayoutEffectMountStopped==="function")y.markComponentLayoutEffectMountStopped()}function pz(Z){if(y!==null&&typeof y.markComponentLayoutEffectUnmountStarted==="function")y.markComponentLayoutEffectUnmountStarted(Z)}function oz(){if(y!==null&&typeof y.markComponentLayoutEffectUnmountStopped==="function")y.markComponentLayoutEffectUnmountStopped()}function J$(Z,X,Q){if(y!==null&&typeof y.markComponentErrored==="function")y.markComponentErrored(Z,X,Q)}function Y$(Z,X,Q){if(y!==null&&typeof y.markComponentSuspended==="function")y.markComponentSuspended(Z,X,Q)}function z$(Z){if(y!==null&&typeof y.markLayoutEffectsStarted==="function")y.markLayoutEffectsStarted(Z)}function W$(){if(y!==null&&typeof y.markLayoutEffectsStopped==="function")y.markLayoutEffectsStopped()}function K$(Z){if(y!==null&&typeof y.markPassiveEffectsStarted==="function")y.markPassiveEffectsStarted(Z)}function U$(){if(y!==null&&typeof y.markPassiveEffectsStopped==="function")y.markPassiveEffectsStopped()}function sz(Z){if(y!==null&&typeof y.markRenderStarted==="function")y.markRenderStarted(Z)}function q$(){if(y!==null&&typeof y.markRenderYielded==="function")y.markRenderYielded()}function az(){if(y!==null&&typeof y.markRenderStopped==="function")y.markRenderStopped()}function B$(Z){if(y!==null&&typeof y.markRenderScheduled==="function")y.markRenderScheduled(Z)}function $$(Z,X){if(y!==null&&typeof y.markForceUpdateScheduled==="function")y.markForceUpdateScheduled(Z,X)}function TG(Z,X){if(y!==null&&typeof y.markStateUpdateScheduled==="function")y.markStateUpdateScheduled(Z,X)}var Y0=0,T0=1,a0=2,V1=8,a8=16,rz=Math.clz32?Math.clz32:O$,M$=Math.log,H$=Math.LN2;function O$(Z){var X=Z>>>0;if(X===0)return 32;return 31-(M$(X)/H$|0)|0}var xG=31,D=0,J4=0,H0=1,Y7=2,R5=4,F9=8,r8=16,R6=32,z7=4194240,A6=64,gG=128,EG=256,fG=512,uG=1024,vG=2048,dG=4096,yG=8192,mG=16384,cG=32768,iG=65536,lG=131072,pG=262144,oG=524288,sG=1048576,aG=2097152,KX=130023424,W7=4194304,rG=8388608,nG=16777216,tG=33554432,eG=67108864,nz=W7,L6=134217728,tz=268435455,_6=268435456,w9=536870912,W8=1073741824;function R$(Z){{if(Z&H0)return"Sync";if(Z&Y7)return"InputContinuousHydration";if(Z&R5)return"InputContinuous";if(Z&F9)return"DefaultHydration";if(Z&r8)return"Default";if(Z&R6)return"TransitionHydration";if(Z&z7)return"Transition";if(Z&KX)return"Retry";if(Z&L6)return"SelectiveHydration";if(Z&_6)return"IdleHydration";if(Z&w9)return"Idle";if(Z&W8)return"Offscreen"}}var U1=-1,UX=A6,qX=W7;function P6(Z){switch(I9(Z)){case H0:return H0;case Y7:return Y7;case R5:return R5;case F9:return F9;case r8:return r8;case R6:return R6;case A6:case gG:case EG:case fG:case uG:case vG:case dG:case yG:case mG:case cG:case iG:case lG:case pG:case oG:case sG:case aG:return Z&z7;case W7:case rG:case nG:case tG:case eG:return Z&KX;case L6:return L6;case _6:return _6;case w9:return w9;case W8:return W8;default:return $("Should have found matching lanes. This is a bug in React."),Z}}function BX(Z,X){var Q=Z.pendingLanes;if(Q===D)return D;var G=D,J=Z.suspendedLanes,Y=Z.pingedLanes,z=Q&tz;if(z!==D){var W=z&~J;if(W!==D)G=P6(W);else{var K=z&Y;if(K!==D)G=P6(K)}}else{var q=Q&~J;if(q!==D)G=P6(q);else if(Y!==D)G=P6(Y)}if(G===D)return D;if(X!==D&&X!==G&&(X&J)===D){var B=I9(G),R=I9(X);if(B>=R||B===r8&&(R&z7)!==D)return X}if((G&R5)!==D)G|=Q&r8;var O=Z.entangledLanes;if(O!==D){var F=Z.entanglements,w=G&O;while(w>0){var V=N9(w),f=1<<V;G|=F[V],w&=~f}}return G}function A$(Z,X){var Q=Z.eventTimes,G=U1;while(X>0){var J=N9(X),Y=1<<J,z=Q[J];if(z>G)G=z;X&=~Y}return G}function L$(Z,X){switch(Z){case H0:case Y7:case R5:return X+250;case F9:case r8:case R6:case A6:case gG:case EG:case fG:case uG:case vG:case dG:case yG:case mG:case cG:case iG:case lG:case pG:case oG:case sG:case aG:return X+5000;case W7:case rG:case nG:case tG:case eG:return U1;case L6:case _6:case w9:case W8:return U1;default:return $("Should have found matching lanes. This is a bug in React."),U1}}function _$(Z,X){var{pendingLanes:Q,suspendedLanes:G,pingedLanes:J,expirationTimes:Y}=Z,z=Q;while(z>0){var W=N9(z),K=1<<W,q=Y[W];if(q===U1){if((K&G)===D||(K&J)!==D)Y[W]=L$(K,X)}else if(q<=X)Z.expiredLanes|=K;z&=~K}}function P$(Z){return P6(Z.pendingLanes)}function ZJ(Z){var X=Z.pendingLanes&~W8;if(X!==D)return X;if(X&W8)return W8;return D}function F$(Z){return(Z&H0)!==D}function XJ(Z){return(Z&tz)!==D}function ez(Z){return(Z&KX)===Z}function w$(Z){var X=H0|R5|r8;return(Z&X)===D}function I$(Z){return(Z&z7)===Z}function $X(Z,X){var Q=Y7|R5|F9|r8;return(X&Q)!==D}function N$(Z,X){return(X&Z.expiredLanes)!==D}function ZW(Z){return(Z&z7)!==D}function XW(){var Z=UX;if(UX<<=1,(UX&z7)===D)UX=A6;return Z}function V$(){var Z=qX;if(qX<<=1,(qX&KX)===D)qX=W7;return Z}function I9(Z){return Z&-Z}function F6(Z){return I9(Z)}function N9(Z){return 31-rz(Z)}function QJ(Z){return N9(Z)}function K8(Z,X){return(Z&X)!==D}function K7(Z,X){return(Z&X)===X}function P0(Z,X){return Z|X}function MX(Z,X){return Z&~X}function QW(Z,X){return Z&X}function HX(Z){return Z}function j$(Z,X){return Z!==J4&&Z<X?Z:X}function GJ(Z){var X=[];for(var Q=0;Q<xG;Q++)X.push(Z);return X}function w6(Z,X,Q){if(Z.pendingLanes|=X,X!==w9)Z.suspendedLanes=D,Z.pingedLanes=D;var G=Z.eventTimes,J=QJ(X);G[J]=Q}function S$(Z,X){Z.suspendedLanes|=X,Z.pingedLanes&=~X;var Q=Z.expirationTimes,G=X;while(G>0){var J=N9(G),Y=1<<J;Q[J]=U1,G&=~Y}}function GW(Z,X,Q){Z.pingedLanes|=Z.suspendedLanes&X}function b$(Z,X){var Q=Z.pendingLanes&~X;Z.pendingLanes=X,Z.suspendedLanes=D,Z.pingedLanes=D,Z.expiredLanes&=X,Z.mutableReadLanes&=X,Z.entangledLanes&=X;var{entanglements:G,eventTimes:J,expirationTimes:Y}=Z,z=Q;while(z>0){var W=N9(z),K=1<<W;G[W]=D,J[W]=U1,Y[W]=U1,z&=~K}}function JJ(Z,X){var Q=Z.entangledLanes|=X,G=Z.entanglements,J=Q;while(J){var Y=N9(J),z=1<<Y;if(z&X|G[Y]&X)G[Y]|=X;J&=~z}}function D$(Z,X){var Q=I9(X),G;switch(Q){case R5:G=Y7;break;case r8:G=F9;break;case A6:case gG:case EG:case fG:case uG:case vG:case dG:case yG:case mG:case cG:case iG:case lG:case pG:case oG:case sG:case aG:case W7:case rG:case nG:case tG:case eG:G=R6;break;case w9:G=_6;break;default:G=J4;break}if((G&(Z.suspendedLanes|X))!==J4)return J4;return G}function JW(Z,X,Q){if(!h8)return;var G=Z.pendingUpdatersLaneMap;while(Q>0){var J=QJ(Q),Y=1<<J,z=G[J];z.add(X),Q&=~Y}}function YW(Z,X){if(!h8)return;var{pendingUpdatersLaneMap:Q,memoizedUpdaters:G}=Z;while(X>0){var J=QJ(X),Y=1<<J,z=Q[J];if(z.size>0)z.forEach(function(W){var K=W.alternate;if(K===null||!G.has(K))G.add(W)}),z.clear();X&=~Y}}function zW(Z,X){return null}var U8=H0,A5=R5,L5=r8,OX=w9,I6=J4;function T8(){return I6}function Y4(Z){I6=Z}function k$(Z,X){var Q=I6;try{return I6=Z,X()}finally{I6=Q}}function C$(Z,X){return Z!==0&&Z<X?Z:X}function h$(Z,X){return Z===0||Z>X?Z:X}function YJ(Z,X){return Z!==0&&Z<X}function WW(Z){var X=I9(Z);if(!YJ(U8,X))return U8;if(!YJ(A5,X))return A5;if(XJ(X))return L5;return OX}function RX(Z){var X=Z.current.memoizedState;return X.isDehydrated}var KW;function T$(Z){KW=Z}function x$(Z){KW(Z)}var zJ;function g$(Z){zJ=Z}var UW;function E$(Z){UW=Z}var qW;function f$(Z){qW=Z}var BW;function u$(Z){BW=Z}var WJ=!1,AX=[],d5=null,y5=null,m5=null,N6=new Map,V6=new Map,c5=[],v$=["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 d$(Z){return v$.indexOf(Z)>-1}function y$(Z,X,Q,G,J){return{blockedOn:Z,domEventName:X,eventSystemFlags:Q,nativeEvent:J,targetContainers:[G]}}function $W(Z,X){switch(Z){case"focusin":case"focusout":d5=null;break;case"dragenter":case"dragleave":y5=null;break;case"mouseover":case"mouseout":m5=null;break;case"pointerover":case"pointerout":{var Q=X.pointerId;N6.delete(Q);break}case"gotpointercapture":case"lostpointercapture":{var G=X.pointerId;V6.delete(G);break}}}function j6(Z,X,Q,G,J,Y){if(Z===null||Z.nativeEvent!==Y){var z=y$(X,Q,G,J,Y);if(X!==null){var W=p5(X);if(W!==null)zJ(W)}return z}Z.eventSystemFlags|=G;var K=Z.targetContainers;if(J!==null&&K.indexOf(J)===-1)K.push(J);return Z}function m$(Z,X,Q,G,J){switch(X){case"focusin":{var Y=J;return d5=j6(d5,Z,X,Q,G,Y),!0}case"dragenter":{var z=J;return y5=j6(y5,Z,X,Q,G,z),!0}case"mouseover":{var W=J;return m5=j6(m5,Z,X,Q,G,W),!0}case"pointerover":{var K=J,q=K.pointerId;return N6.set(q,j6(N6.get(q)||null,Z,X,Q,G,K)),!0}case"gotpointercapture":{var B=J,R=B.pointerId;return V6.set(R,j6(V6.get(R)||null,Z,X,Q,G,B)),!0}}return!1}function MW(Z){var X=S9(Z.target);if(X!==null){var Q=L9(X);if(Q!==null){var G=Q.tag;if(G===q0){var J=fz(Q);if(J!==null){Z.blockedOn=J,BW(Z.priority,function(){UW(Q)});return}}else if(G===X0){var Y=Q.stateNode;if(RX(Y)){Z.blockedOn=uz(Q);return}}}}Z.blockedOn=null}function c$(Z){var X=qW(),Q={blockedOn:null,target:Z,priority:X},G=0;for(;G<c5.length;G++)if(!YJ(X,c5[G].priority))break;if(c5.splice(G,0,Q),G===0)MW(Q)}function LX(Z){if(Z.blockedOn!==null)return!1;var X=Z.targetContainers;while(X.length>0){var Q=X[0],G=qJ(Z.domEventName,Z.eventSystemFlags,Q,Z.nativeEvent);if(G===null){var J=Z.nativeEvent,Y=new J.constructor(J.type,J);OB(Y),J.target.dispatchEvent(Y),RB()}else{var z=p5(G);if(z!==null)zJ(z);return Z.blockedOn=G,!1}X.shift()}return!0}function HW(Z,X,Q){if(LX(Z))Q.delete(X)}function i$(){if(WJ=!1,d5!==null&&LX(d5))d5=null;if(y5!==null&&LX(y5))y5=null;if(m5!==null&&LX(m5))m5=null;N6.forEach(HW),V6.forEach(HW)}function S6(Z,X){if(Z.blockedOn===X){if(Z.blockedOn=null,!WJ)WJ=!0,t0.unstable_scheduleCallback(t0.unstable_NormalPriority,i$)}}function b6(Z){if(AX.length>0){S6(AX[0],Z);for(var X=1;X<AX.length;X++){var Q=AX[X];if(Q.blockedOn===Z)Q.blockedOn=null}}if(d5!==null)S6(d5,Z);if(y5!==null)S6(y5,Z);if(m5!==null)S6(m5,Z);var G=function(W){return S6(W,Z)};N6.forEach(G),V6.forEach(G);for(var J=0;J<c5.length;J++){var Y=c5[J];if(Y.blockedOn===Z)Y.blockedOn=null}while(c5.length>0){var z=c5[0];if(z.blockedOn!==null)break;else if(MW(z),z.blockedOn===null)c5.shift()}}var U7=e.ReactCurrentBatchConfig,KJ=!0;function OW(Z){KJ=!!Z}function l$(){return KJ}function p$(Z,X,Q){var G=RW(X),J;switch(G){case U8:J=o$;break;case A5:J=s$;break;case L5:default:J=UJ;break}return J.bind(null,X,Q,Z)}function o$(Z,X,Q,G){var J=T8(),Y=U7.transition;U7.transition=null;try{Y4(U8),UJ(Z,X,Q,G)}finally{Y4(J),U7.transition=Y}}function s$(Z,X,Q,G){var J=T8(),Y=U7.transition;U7.transition=null;try{Y4(A5),UJ(Z,X,Q,G)}finally{Y4(J),U7.transition=Y}}function UJ(Z,X,Q,G){if(!KJ)return;a$(Z,X,Q,G)}function a$(Z,X,Q,G){var J=qJ(Z,X,Q,G);if(J===null){NJ(Z,X,G,_X,Q),$W(Z,G);return}if(m$(J,Z,X,Q,G)){G.stopPropagation();return}if($W(Z,G),X&K6&&d$(Z)){while(J!==null){var Y=p5(J);if(Y!==null)x$(Y);var z=qJ(Z,X,Q,G);if(z===null)NJ(Z,X,G,_X,Q);if(z===J)break;J=z}if(J!==null)G.stopPropagation();return}NJ(Z,X,G,null,Q)}var _X=null;function qJ(Z,X,Q,G){_X=null;var J=AG(G),Y=S9(J);if(Y!==null){var z=L9(Y);if(z===null)Y=null;else{var W=z.tag;if(W===q0){var K=fz(z);if(K!==null)return K;Y=null}else if(W===X0){var q=z.stateNode;if(RX(q))return uz(z);Y=null}else if(z!==Y)Y=null}}return _X=Y,null}function RW(Z){switch(Z){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 U8;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 A5;case"message":{var X=dB();switch(X){case WX:return U8;case CG:return A5;case _9:case yB:return L5;case hG:return OX;default:return L5}}default:return L5}}function r$(Z,X,Q){return Z.addEventListener(X,Q,!1),Q}function n$(Z,X,Q){return Z.addEventListener(X,Q,!0),Q}function t$(Z,X,Q,G){return Z.addEventListener(X,Q,{capture:!0,passive:G}),Q}function e$(Z,X,Q,G){return Z.addEventListener(X,Q,{passive:G}),Q}var D6=null,BJ=null,k6=null;function ZM(Z){return D6=Z,BJ=LW(),!0}function XM(){D6=null,BJ=null,k6=null}function AW(){if(k6)return k6;var Z,X=BJ,Q=X.length,G,J=LW(),Y=J.length;for(Z=0;Z<Q;Z++)if(X[Z]!==J[Z])break;var z=Q-Z;for(G=1;G<=z;G++)if(X[Q-G]!==J[Y-G])break;var W=G>1?1-G:void 0;return k6=J.slice(Z,W),k6}function LW(){if("value"in D6)return D6.value;return D6.textContent}function PX(Z){var X,Q=Z.keyCode;if("charCode"in Z){if(X=Z.charCode,X===0&&Q===13)X=13}else X=Q;if(X===10)X=13;if(X>=32||X===13)return X;return 0}function FX(){return!0}function _W(){return!1}function q8(Z){function X(Q,G,J,Y,z){this._reactName=Q,this._targetInst=J,this.type=G,this.nativeEvent=Y,this.target=z,this.currentTarget=null;for(var W in Z){if(!Z.hasOwnProperty(W))continue;var K=Z[W];if(K)this[W]=K(Y);else this[W]=Y[W]}var q=Y.defaultPrevented!=null?Y.defaultPrevented:Y.returnValue===!1;if(q)this.isDefaultPrevented=FX;else this.isDefaultPrevented=_W;return this.isPropagationStopped=_W,this}return C0(X.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Q=this.nativeEvent;if(!Q)return;if(Q.preventDefault)Q.preventDefault();else if(typeof Q.returnValue!=="unknown")Q.returnValue=!1;this.isDefaultPrevented=FX},stopPropagation:function(){var Q=this.nativeEvent;if(!Q)return;if(Q.stopPropagation)Q.stopPropagation();else if(typeof Q.cancelBubble!=="unknown")Q.cancelBubble=!0;this.isPropagationStopped=FX},persist:function(){},isPersistent:FX}),X}var q7={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(Z){return Z.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$J=q8(q7),C6=C0({},q7,{view:0,detail:0}),QM=q8(C6),MJ,HJ,h6;function GM(Z){if(Z!==h6){if(h6&&Z.type==="mousemove")MJ=Z.screenX-h6.screenX,HJ=Z.screenY-h6.screenY;else MJ=0,HJ=0;h6=Z}}var wX=C0({},C6,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:RJ,button:0,buttons:0,relatedTarget:function(Z){if(Z.relatedTarget===void 0)return Z.fromElement===Z.srcElement?Z.toElement:Z.fromElement;return Z.relatedTarget},movementX:function(Z){if("movementX"in Z)return Z.movementX;return GM(Z),MJ},movementY:function(Z){if("movementY"in Z)return Z.movementY;return HJ}}),PW=q8(wX),JM=C0({},wX,{dataTransfer:0}),YM=q8(JM),zM=C0({},C6,{relatedTarget:0}),OJ=q8(zM),WM=C0({},q7,{animationName:0,elapsedTime:0,pseudoElement:0}),KM=q8(WM),UM=C0({},q7,{clipboardData:function(Z){return"clipboardData"in Z?Z.clipboardData:window.clipboardData}}),qM=q8(UM),BM=C0({},q7,{data:0}),FW=q8(BM),$M=FW,MM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},HM={"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 OM(Z){if(Z.key){var X=MM[Z.key]||Z.key;if(X!=="Unidentified")return X}if(Z.type==="keypress"){var Q=PX(Z);return Q===13?"Enter":String.fromCharCode(Q)}if(Z.type==="keydown"||Z.type==="keyup")return HM[Z.keyCode]||"Unidentified";return""}var RM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function AM(Z){var X=this,Q=X.nativeEvent;if(Q.getModifierState)return Q.getModifierState(Z);var G=RM[Z];return G?!!Q[G]:!1}function RJ(Z){return AM}var LM=C0({},C6,{key:OM,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:RJ,charCode:function(Z){if(Z.type==="keypress")return PX(Z);return 0},keyCode:function(Z){if(Z.type==="keydown"||Z.type==="keyup")return Z.keyCode;return 0},which:function(Z){if(Z.type==="keypress")return PX(Z);if(Z.type==="keydown"||Z.type==="keyup")return Z.keyCode;return 0}}),_M=q8(LM),PM=C0({},wX,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),wW=q8(PM),FM=C0({},C6,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:RJ}),wM=q8(FM),IM=C0({},q7,{propertyName:0,elapsedTime:0,pseudoElement:0}),NM=q8(IM),VM=C0({},wX,{deltaX:function(Z){return"deltaX"in Z?Z.deltaX:("wheelDeltaX"in Z)?-Z.wheelDeltaX:0},deltaY:function(Z){return"deltaY"in Z?Z.deltaY:("wheelDeltaY"in Z)?-Z.wheelDeltaY:("wheelDelta"in Z)?-Z.wheelDelta:0},deltaZ:0,deltaMode:0}),jM=q8(VM),SM=[9,13,27,32],IW=229,AJ=P1&&"CompositionEvent"in window,T6=null;if(P1&&"documentMode"in document)T6=document.documentMode;var bM=P1&&"TextEvent"in window&&!T6,NW=P1&&(!AJ||T6&&T6>8&&T6<=11),VW=32,jW=String.fromCharCode(VW);function DM(){t1("onBeforeInput",["compositionend","keypress","textInput","paste"]),t1("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),t1("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),t1("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var SW=!1;function kM(Z){return(Z.ctrlKey||Z.altKey||Z.metaKey)&&!(Z.ctrlKey&&Z.altKey)}function CM(Z){switch(Z){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function hM(Z,X){return Z==="keydown"&&X.keyCode===IW}function bW(Z,X){switch(Z){case"keyup":return SM.indexOf(X.keyCode)!==-1;case"keydown":return X.keyCode!==IW;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function DW(Z){var X=Z.detail;if(typeof X==="object"&&"data"in X)return X.data;return null}function kW(Z){return Z.locale==="ko"}var B7=!1;function TM(Z,X,Q,G,J){var Y,z;if(AJ)Y=CM(X);else if(!B7){if(hM(X,G))Y="onCompositionStart"}else if(bW(X,G))Y="onCompositionEnd";if(!Y)return null;if(NW&&!kW(G)){if(!B7&&Y==="onCompositionStart")B7=ZM(J);else if(Y==="onCompositionEnd"){if(B7)z=AW()}}var W=SX(Q,Y);if(W.length>0){var K=new FW(Y,X,null,G,J);if(Z.push({event:K,listeners:W}),z)K.data=z;else{var q=DW(G);if(q!==null)K.data=q}}}function xM(Z,X){switch(Z){case"compositionend":return DW(X);case"keypress":var Q=X.which;if(Q!==VW)return null;return SW=!0,jW;case"textInput":var G=X.data;if(G===jW&&SW)return null;return G;default:return null}}function gM(Z,X){if(B7){if(Z==="compositionend"||!AJ&&bW(Z,X)){var Q=AW();return XM(),B7=!1,Q}return null}switch(Z){case"paste":return null;case"keypress":if(!kM(X)){if(X.char&&X.char.length>1)return X.char;else if(X.which)return String.fromCharCode(X.which)}return null;case"compositionend":return NW&&!kW(X)?null:X.data;default:return null}}function EM(Z,X,Q,G,J){var Y;if(bM)Y=xM(X,G);else Y=gM(X,G);if(!Y)return null;var z=SX(Q,"onBeforeInput");if(z.length>0){var W=new $M("onBeforeInput","beforeinput",null,G,J);Z.push({event:W,listeners:z}),W.data=Y}}function fM(Z,X,Q,G,J,Y,z){TM(Z,X,Q,G,J),EM(Z,X,Q,G,J)}var uM={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 CW(Z){var X=Z&&Z.nodeName&&Z.nodeName.toLowerCase();if(X==="input")return!!uM[Z.type];if(X==="textarea")return!0;return!1}function vM(Z){if(!P1)return!1;var X="on"+Z,Q=X in document;if(!Q){var G=document.createElement("div");G.setAttribute(X,"return;"),Q=typeof G[X]==="function"}return Q}function dM(){t1("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function hW(Z,X,Q,G){Dz(G);var J=SX(X,"onChange");if(J.length>0){var Y=new $J("onChange","change",null,Q,G);Z.push({event:Y,listeners:J})}}var x6=null,g6=null;function yM(Z){var X=Z.nodeName&&Z.nodeName.toLowerCase();return X==="select"||X==="input"&&Z.type==="file"}function mM(Z){var X=[];hW(X,g6,Z,AG(Z)),Tz(cM,X)}function cM(Z){rW(Z,0)}function IX(Z){var X=A7(Z);if(o9(X))return Z}function iM(Z,X){if(Z==="change")return X}var TW=!1;if(P1)TW=vM("input")&&(!document.documentMode||document.documentMode>9);function lM(Z,X){x6=Z,g6=X,x6.attachEvent("onpropertychange",gW)}function xW(){if(!x6)return;x6.detachEvent("onpropertychange",gW),x6=null,g6=null}function gW(Z){if(Z.propertyName!=="value")return;if(IX(g6))mM(Z)}function pM(Z,X,Q){if(Z==="focusin")xW(),lM(X,Q);else if(Z==="focusout")xW()}function oM(Z,X){if(Z==="selectionchange"||Z==="keyup"||Z==="keydown")return IX(g6)}function sM(Z){var X=Z.nodeName;return X&&X.toLowerCase()==="input"&&(Z.type==="checkbox"||Z.type==="radio")}function aM(Z,X){if(Z==="click")return IX(X)}function rM(Z,X){if(Z==="input"||Z==="change")return IX(X)}function nM(Z){var X=Z._wrapperState;if(!X||!X.controlled||Z.type!=="number")return;M0(Z,"number",Z.value)}function tM(Z,X,Q,G,J,Y,z){var W=Q?A7(Q):window,K,q;if(yM(W))K=iM;else if(CW(W))if(TW)K=rM;else K=oM,q=pM;else if(sM(W))K=aM;if(K){var B=K(X,Q);if(B){hW(Z,B,G,J);return}}if(q)q(X,W,Q);if(X==="focusout")nM(W)}function eM(){o4("onMouseEnter",["mouseout","mouseover"]),o4("onMouseLeave",["mouseout","mouseover"]),o4("onPointerEnter",["pointerout","pointerover"]),o4("onPointerLeave",["pointerout","pointerover"])}function ZH(Z,X,Q,G,J,Y,z){var W=X==="mouseover"||X==="pointerover",K=X==="mouseout"||X==="pointerout";if(W&&!AB(G)){var q=G.relatedTarget||G.fromElement;if(q){if(S9(q)||r6(q))return}}if(!K&&!W)return;var B;if(J.window===J)B=J;else{var R=J.ownerDocument;if(R)B=R.defaultView||R.parentWindow;else B=window}var O,F;if(K){var w=G.relatedTarget||G.toElement;if(O=Q,F=w?S9(w):null,F!==null){var V=L9(F);if(F!==V||F.tag!==l&&F.tag!==N0)F=null}}else O=null,F=Q;if(O===F)return;var f=PW,t="onMouseLeave",r="onMouseEnter",j0="mouse";if(X==="pointerout"||X==="pointerover")f=wW,t="onPointerLeave",r="onPointerEnter",j0="pointer";var S0=O==null?B:A7(O),A=F==null?B:A7(F),S=new f(t,j0+"leave",O,G,J);S.target=S0,S.relatedTarget=A;var L=null,C=S9(J);if(C===Q){var i=new f(r,j0+"enter",F,G,J);i.target=A,i.relatedTarget=S0,L=i}NH(Z,S,L,O,F)}function XH(Z,X){return Z===X&&(Z!==0||1/Z===1/X)||Z!==Z&&X!==X}var B8=typeof Object.is==="function"?Object.is:XH;function E6(Z,X){if(B8(Z,X))return!0;if(typeof Z!=="object"||Z===null||typeof X!=="object"||X===null)return!1;var Q=Object.keys(Z),G=Object.keys(X);if(Q.length!==G.length)return!1;for(var J=0;J<Q.length;J++){var Y=Q[J];if(!V4.call(X,Y)||!B8(Z[Y],X[Y]))return!1}return!0}function EW(Z){while(Z&&Z.firstChild)Z=Z.firstChild;return Z}function QH(Z){while(Z){if(Z.nextSibling)return Z.nextSibling;Z=Z.parentNode}}function fW(Z,X){var Q=EW(Z),G=0,J=0;while(Q){if(Q.nodeType===q5){if(J=G+Q.textContent.length,G<=X&&J>=X)return{node:Q,offset:X-G};G=J}Q=EW(QH(Q))}}function GH(Z){var X=Z.ownerDocument,Q=X&&X.defaultView||window,G=Q.getSelection&&Q.getSelection();if(!G||G.rangeCount===0)return null;var{anchorNode:J,anchorOffset:Y,focusNode:z,focusOffset:W}=G;try{J.nodeType,z.nodeType}catch(K){return null}return JH(Z,J,Y,z,W)}function JH(Z,X,Q,G,J){var Y=0,z=-1,W=-1,K=0,q=0,B=Z,R=null;Z:while(!0){var O=null;while(!0){if(B===X&&(Q===0||B.nodeType===q5))z=Y+Q;if(B===G&&(J===0||B.nodeType===q5))W=Y+J;if(B.nodeType===q5)Y+=B.nodeValue.length;if((O=B.firstChild)===null)break;R=B,B=O}while(!0){if(B===Z)break Z;if(R===X&&++K===Q)z=Y;if(R===G&&++q===J)W=Y;if((O=B.nextSibling)!==null)break;B=R,R=B.parentNode}B=O}if(z===-1||W===-1)return null;return{start:z,end:W}}function YH(Z,X){var Q=Z.ownerDocument||document,G=Q&&Q.defaultView||window;if(!G.getSelection)return;var J=G.getSelection(),Y=Z.textContent.length,z=Math.min(X.start,Y),W=X.end===void 0?z:Math.min(X.end,Y);if(!J.extend&&z>W){var K=W;W=z,z=K}var q=fW(Z,z),B=fW(Z,W);if(q&&B){if(J.rangeCount===1&&J.anchorNode===q.node&&J.anchorOffset===q.offset&&J.focusNode===B.node&&J.focusOffset===B.offset)return;var R=Q.createRange();if(R.setStart(q.node,q.offset),J.removeAllRanges(),z>W)J.addRange(R),J.extend(B.node,B.offset);else R.setEnd(B.node,B.offset),J.addRange(R)}}function uW(Z){return Z&&Z.nodeType===q5}function vW(Z,X){if(!Z||!X)return!1;else if(Z===X)return!0;else if(uW(Z))return!1;else if(uW(X))return vW(Z,X.parentNode);else if("contains"in Z)return Z.contains(X);else if(Z.compareDocumentPosition)return!!(Z.compareDocumentPosition(X)&16);else return!1}function zH(Z){return Z&&Z.ownerDocument&&vW(Z.ownerDocument.documentElement,Z)}function WH(Z){try{return typeof Z.contentWindow.location.href==="string"}catch(X){return!1}}function dW(){var Z=window,X=u5();while(X instanceof Z.HTMLIFrameElement){if(WH(X))Z=X.contentWindow;else return X;X=u5(Z.document)}return X}function LJ(Z){var X=Z&&Z.nodeName&&Z.nodeName.toLowerCase();return X&&(X==="input"&&(Z.type==="text"||Z.type==="search"||Z.type==="tel"||Z.type==="url"||Z.type==="password")||X==="textarea"||Z.contentEditable==="true")}function KH(){var Z=dW();return{focusedElem:Z,selectionRange:LJ(Z)?qH(Z):null}}function UH(Z){var X=dW(),Q=Z.focusedElem,G=Z.selectionRange;if(X!==Q&&zH(Q)){if(G!==null&&LJ(Q))BH(Q,G);var J=[],Y=Q;while(Y=Y.parentNode)if(Y.nodeType===r4)J.push({element:Y,left:Y.scrollLeft,top:Y.scrollTop});if(typeof Q.focus==="function")Q.focus();for(var z=0;z<J.length;z++){var W=J[z];W.element.scrollLeft=W.left,W.element.scrollTop=W.top}}}function qH(Z){var X;if("selectionStart"in Z)X={start:Z.selectionStart,end:Z.selectionEnd};else X=GH(Z);return X||{start:0,end:0}}function BH(Z,X){var{start:Q,end:G}=X;if(G===void 0)G=Q;if("selectionStart"in Z)Z.selectionStart=Q,Z.selectionEnd=Math.min(G,Z.value.length);else YH(Z,X)}var $H=P1&&"documentMode"in document&&document.documentMode<=11;function MH(){t1("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var $7=null,_J=null,f6=null,PJ=!1;function HH(Z){if("selectionStart"in Z&&LJ(Z))return{start:Z.selectionStart,end:Z.selectionEnd};else{var X=Z.ownerDocument&&Z.ownerDocument.defaultView||window,Q=X.getSelection();return{anchorNode:Q.anchorNode,anchorOffset:Q.anchorOffset,focusNode:Q.focusNode,focusOffset:Q.focusOffset}}}function OH(Z){return Z.window===Z?Z.document:Z.nodeType===B5?Z:Z.ownerDocument}function yW(Z,X,Q){var G=OH(Q);if(PJ||$7==null||$7!==u5(G))return;var J=HH($7);if(!f6||!E6(f6,J)){f6=J;var Y=SX(_J,"onSelect");if(Y.length>0){var z=new $J("onSelect","select",null,X,Q);Z.push({event:z,listeners:Y}),z.target=$7}}}function RH(Z,X,Q,G,J,Y,z){var W=Q?A7(Q):window;switch(X){case"focusin":if(CW(W)||W.contentEditable==="true")$7=W,_J=Q,f6=null;break;case"focusout":$7=null,_J=null,f6=null;break;case"mousedown":PJ=!0;break;case"contextmenu":case"mouseup":case"dragend":PJ=!1,yW(Z,G,J);break;case"selectionchange":if($H)break;case"keydown":case"keyup":yW(Z,G,J)}}function NX(Z,X){var Q={};return Q[Z.toLowerCase()]=X.toLowerCase(),Q["Webkit"+Z]="webkit"+X,Q["Moz"+Z]="moz"+X,Q}var M7={animationend:NX("Animation","AnimationEnd"),animationiteration:NX("Animation","AnimationIteration"),animationstart:NX("Animation","AnimationStart"),transitionend:NX("Transition","TransitionEnd")},FJ={},mW={};if(P1){if(mW=document.createElement("div").style,!("AnimationEvent"in window))delete M7.animationend.animation,delete M7.animationiteration.animation,delete M7.animationstart.animation;if(!("TransitionEvent"in window))delete M7.transitionend.transition}function VX(Z){if(FJ[Z])return FJ[Z];else if(!M7[Z])return Z;var X=M7[Z];for(var Q in X)if(X.hasOwnProperty(Q)&&Q in mW)return FJ[Z]=X[Q];return Z}var cW=VX("animationend"),iW=VX("animationiteration"),lW=VX("animationstart"),pW=VX("transitionend"),oW=new Map,sW=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function i5(Z,X){oW.set(Z,X),t1(X,[Z])}function AH(){for(var Z=0;Z<sW.length;Z++){var X=sW[Z],Q=X.toLowerCase(),G=X[0].toUpperCase()+X.slice(1);i5(Q,"on"+G)}i5(cW,"onAnimationEnd"),i5(iW,"onAnimationIteration"),i5(lW,"onAnimationStart"),i5("dblclick","onDoubleClick"),i5("focusin","onFocus"),i5("focusout","onBlur"),i5(pW,"onTransitionEnd")}function LH(Z,X,Q,G,J,Y,z){var W=oW.get(X);if(W===void 0)return;var K=$J,q=X;switch(X){case"keypress":if(PX(G)===0)return;case"keydown":case"keyup":K=_M;break;case"focusin":q="focus",K=OJ;break;case"focusout":q="blur",K=OJ;break;case"beforeblur":case"afterblur":K=OJ;break;case"click":if(G.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":K=PW;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":K=YM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":K=wM;break;case cW:case iW:case lW:K=KM;break;case pW:K=NM;break;case"scroll":K=QM;break;case"wheel":K=jM;break;case"copy":case"cut":case"paste":K=qM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":K=wW;break}var B=(Y&K6)!==0;{var R=!B&&X==="scroll",O=wH(Q,W,G.type,B,R);if(O.length>0){var F=new K(W,q,null,G,J);Z.push({event:F,listeners:O})}}}AH(),eM(),dM(),MH(),DM();function _H(Z,X,Q,G,J,Y,z){LH(Z,X,Q,G,J,Y);var W=(Y&HB)===0;if(W)ZH(Z,X,Q,G,J),tM(Z,X,Q,G,J),RH(Z,X,Q,G,J),fM(Z,X,Q,G,J)}var u6=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],wJ=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(u6));function aW(Z,X,Q){var G=Z.type||"unknown-event";Z.currentTarget=Q,jB(G,X,void 0,Z),Z.currentTarget=null}function PH(Z,X,Q){var G;if(Q)for(var J=X.length-1;J>=0;J--){var Y=X[J],z=Y.instance,W=Y.currentTarget,K=Y.listener;if(z!==G&&Z.isPropagationStopped())return;aW(Z,K,W),G=z}else for(var q=0;q<X.length;q++){var B=X[q],R=B.instance,O=B.currentTarget,F=B.listener;if(R!==G&&Z.isPropagationStopped())return;aW(Z,F,O),G=R}}function rW(Z,X){var Q=(X&K6)!==0;for(var G=0;G<Z.length;G++){var J=Z[G],Y=J.event,z=J.listeners;PH(Y,z,Q)}SB()}function FH(Z,X,Q,G,J){var Y=AG(Q),z=[];_H(z,Z,G,Q,Y,X),rW(z,X)}function R1(Z,X){if(!wJ.has(Z))$('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',Z);var Q=!1,G=nO(X),J=VH(Z,Q);if(!G.has(J))nW(X,Z,RG,Q),G.add(J)}function IJ(Z,X,Q){if(wJ.has(Z)&&!X)$('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',Z);var G=0;if(X)G|=K6;nW(Q,Z,G,X)}var jX="_reactListening"+Math.random().toString(36).slice(2);function v6(Z){if(!Z[jX]){Z[jX]=!0,N4.forEach(function(Q){if(Q!=="selectionchange"){if(!wJ.has(Q))IJ(Q,!1,Z);IJ(Q,!0,Z)}});var X=Z.nodeType===B5?Z:Z.ownerDocument;if(X!==null){if(!X[jX])X[jX]=!0,IJ("selectionchange",!1,X)}}}function nW(Z,X,Q,G,J){var Y=p$(Z,X,Q),z=void 0;if(PG){if(X==="touchstart"||X==="touchmove"||X==="wheel")z=!0}Z=Z;var W;if(G)if(z!==void 0)W=t$(Z,X,Y,z);else W=n$(Z,X,Y);else if(z!==void 0)W=e$(Z,X,Y,z);else W=r$(Z,X,Y)}function tW(Z,X){return Z===X||Z.nodeType===f1&&Z.parentNode===X}function NJ(Z,X,Q,G,J){var Y=G;if((X&Sz)===0&&(X&RG)===0){var z=J;if(G!==null){var W=G;Z:while(!0){if(W===null)return;var K=W.tag;if(K===X0||K===F0){var q=W.stateNode.containerInfo;if(tW(q,z))break;if(K===F0){var B=W.return;while(B!==null){var R=B.tag;if(R===X0||R===F0){var O=B.stateNode.containerInfo;if(tW(O,z))return}B=B.return}}while(q!==null){var F=S9(q);if(F===null)return;var w=F.tag;if(w===l||w===N0){W=Y=F;continue Z}q=q.parentNode}}W=W.return}}}Tz(function(){return FH(Z,X,Q,Y)})}function d6(Z,X,Q){return{instance:Z,listener:X,currentTarget:Q}}function wH(Z,X,Q,G,J,Y){var z=X!==null?X+"Capture":null,W=G?z:X,K=[],q=Z,B=null;while(q!==null){var R=q,O=R.stateNode,F=R.tag;if(F===l&&O!==null){if(B=O,W!==null){var w=q6(q,W);if(w!=null)K.push(d6(q,w,B))}}if(J)break;q=q.return}return K}function SX(Z,X){var Q=X+"Capture",G=[],J=Z;while(J!==null){var Y=J,z=Y.stateNode,W=Y.tag;if(W===l&&z!==null){var K=z,q=q6(J,Q);if(q!=null)G.unshift(d6(J,q,K));var B=q6(J,X);if(B!=null)G.push(d6(J,B,K))}J=J.return}return G}function H7(Z){if(Z===null)return null;do Z=Z.return;while(Z&&Z.tag!==l);if(Z)return Z;return null}function IH(Z,X){var Q=Z,G=X,J=0;for(var Y=Q;Y;Y=H7(Y))J++;var z=0;for(var W=G;W;W=H7(W))z++;while(J-z>0)Q=H7(Q),J--;while(z-J>0)G=H7(G),z--;var K=J;while(K--){if(Q===G||G!==null&&Q===G.alternate)return Q;Q=H7(Q),G=H7(G)}return null}function eW(Z,X,Q,G,J){var Y=X._reactName,z=[],W=Q;while(W!==null){if(W===G)break;var K=W,q=K.alternate,B=K.stateNode,R=K.tag;if(q!==null&&q===G)break;if(R===l&&B!==null){var O=B;if(J){var F=q6(W,Y);if(F!=null)z.unshift(d6(W,F,O))}else if(!J){var w=q6(W,Y);if(w!=null)z.push(d6(W,w,O))}}W=W.return}if(z.length!==0)Z.push({event:X,listeners:z})}function NH(Z,X,Q,G,J){var Y=G&&J?IH(G,J):null;if(G!==null)eW(Z,X,G,Y,!1);if(J!==null&&Q!==null)eW(Z,Q,J,Y,!0)}function VH(Z,X){return Z+"__"+(X?"capture":"bubble")}var n4=!1,y6="dangerouslySetInnerHTML",bX="suppressContentEditableWarning",l5="suppressHydrationWarning",ZK="autoFocus",V9="children",j9="style",DX="__html",VJ,kX,m6,XK,CX,QK,GK;VJ={dialog:!0,webview:!0},kX=function(Z,X){WB(Z,X),KB(Z,X),MB(Z,X,{registrationNameDependencies:T1,possibleRegistrationNames:G1})},QK=P1&&!document.documentMode,m6=function(Z,X,Q){if(n4)return;var G=hX(Q),J=hX(X);if(J===G)return;n4=!0,$("Prop `%s` did not match. Server: %s Client: %s",Z,JSON.stringify(J),JSON.stringify(G))},XK=function(Z){if(n4)return;n4=!0;var X=[];Z.forEach(function(Q){X.push(Q)}),$("Extra attributes from the server: %s",X)},CX=function(Z,X){if(X===!1)$("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",Z,Z,Z);else $("Expected `%s` listener to be a function, instead got a value of `%s` type.",Z,typeof X)},GK=function(Z,X){var Q=Z.namespaceURI===U5?Z.ownerDocument.createElement(Z.tagName):Z.ownerDocument.createElementNS(Z.namespaceURI,Z.tagName);return Q.innerHTML=X,Q.innerHTML};var jH=/\r\n?/g,SH=/\u0000|\uFFFD/g;function hX(Z){S8(Z);var X=typeof Z==="string"?Z:""+Z;return X.replace(jH,`
|
|
`).replace(SH,"")}function TX(Z,X,Q,G){var J=hX(X),Y=hX(Z);if(Y===J)return;if(G){if(!n4)n4=!0,$('Text content did not match. Server: "%s" Client: "%s"',Y,J)}if(Q&&$0)throw new Error("Text content does not match server-rendered HTML.")}function JK(Z){return Z.nodeType===B5?Z:Z.ownerDocument}function bH(){}function xX(Z){Z.onclick=bH}function DH(Z,X,Q,G,J){for(var Y in G){if(!G.hasOwnProperty(Y))continue;var z=G[Y];if(Y===j9){if(z)Object.freeze(z);Fz(X,z)}else if(Y===y6){var W=z?z[DX]:void 0;if(W!=null)Rz(X,W)}else if(Y===V9){if(typeof z==="string"){var K=Z!=="textarea"||z!=="";if(K)XX(X,z)}else if(typeof z==="number")XX(X,""+z)}else if(Y===bX||Y===l5);else if(Y===ZK);else if(T1.hasOwnProperty(Y)){if(z!=null){if(typeof z!=="function")CX(Y,z);if(Y==="onScroll")R1("scroll",X)}}else if(z!=null)G0(X,Y,z,J)}}function kH(Z,X,Q,G){for(var J=0;J<X.length;J+=2){var Y=X[J],z=X[J+1];if(Y===j9)Fz(Z,z);else if(Y===y6)Rz(Z,z);else if(Y===V9)XX(Z,z);else G0(Z,Y,z,G)}}function CH(Z,X,Q,G){var J,Y=JK(Q),z,W=G;if(W===U5)W=qG(Z);if(W===U5){if(J=M9(Z,X),!J&&Z!==Z.toLowerCase())$("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",Z);if(Z==="script"){var K=Y.createElement("div");K.innerHTML="<script></script>";var q=K.firstChild;z=K.removeChild(q)}else if(typeof X.is==="string")z=Y.createElement(Z,{is:X.is});else if(z=Y.createElement(Z),Z==="select"){var B=z;if(X.multiple)B.multiple=!0;else if(X.size)B.size=X.size}}else z=Y.createElementNS(W,Z);if(W===U5){if(!J&&Object.prototype.toString.call(z)==="[object HTMLUnknownElement]"&&!V4.call(VJ,Z))VJ[Z]=!0,$("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",Z)}return z}function hH(Z,X){return JK(X).createTextNode(Z)}function TH(Z,X,Q,G){var J=M9(X,Q);kX(X,Q);var Y;switch(X){case"dialog":R1("cancel",Z),R1("close",Z),Y=Q;break;case"iframe":case"object":case"embed":R1("load",Z),Y=Q;break;case"video":case"audio":for(var z=0;z<u6.length;z++)R1(u6[z],Z);Y=Q;break;case"source":R1("error",Z),Y=Q;break;case"img":case"image":case"link":R1("error",Z),R1("load",Z),Y=Q;break;case"details":R1("toggle",Z),Y=Q;break;case"input":H(Z,Q),Y=U(Z,Q),R1("invalid",Z);break;case"option":z1(Z,Q),Y=Q;break;case"select":z6(Z,Q),Y=Y6(Z,Q),R1("invalid",Z);break;case"textarea":Mz(Z,Q),Y=KG(Z,Q),R1("invalid",Z);break;default:Y=Q}switch(OG(X,Y),DH(X,Z,G,Y,J),X){case"input":W5(Z),T(Z,Q,!1);break;case"textarea":W5(Z),Oz(Z);break;case"option":O1(Z,Q);break;case"select":WG(Z,Q);break;default:if(typeof Y.onClick==="function")xX(Z);break}}function xH(Z,X,Q,G,J){kX(X,G);var Y=null,z,W;switch(X){case"input":z=U(Z,Q),W=U(Z,G),Y=[];break;case"select":z=Y6(Z,Q),W=Y6(Z,G),Y=[];break;case"textarea":z=KG(Z,Q),W=KG(Z,G),Y=[];break;default:if(z=Q,W=G,typeof z.onClick!=="function"&&typeof W.onClick==="function")xX(Z);break}OG(X,W);var K,q,B=null;for(K in z){if(W.hasOwnProperty(K)||!z.hasOwnProperty(K)||z[K]==null)continue;if(K===j9){var R=z[K];for(q in R)if(R.hasOwnProperty(q)){if(!B)B={};B[q]=""}}else if(K===y6||K===V9);else if(K===bX||K===l5);else if(K===ZK);else if(T1.hasOwnProperty(K)){if(!Y)Y=[]}else(Y=Y||[]).push(K,null)}for(K in W){var O=W[K],F=z!=null?z[K]:void 0;if(!W.hasOwnProperty(K)||O===F||O==null&&F==null)continue;if(K===j9){if(O)Object.freeze(O);if(F){for(q in F)if(F.hasOwnProperty(q)&&(!O||!O.hasOwnProperty(q))){if(!B)B={};B[q]=""}for(q in O)if(O.hasOwnProperty(q)&&F[q]!==O[q]){if(!B)B={};B[q]=O[q]}}else{if(!B){if(!Y)Y=[];Y.push(K,B)}B=O}}else if(K===y6){var w=O?O[DX]:void 0,V=F?F[DX]:void 0;if(w!=null){if(V!==w)(Y=Y||[]).push(K,w)}}else if(K===V9){if(typeof O==="string"||typeof O==="number")(Y=Y||[]).push(K,""+O)}else if(K===bX||K===l5);else if(T1.hasOwnProperty(K)){if(O!=null){if(typeof O!=="function")CX(K,O);if(K==="onScroll")R1("scroll",Z)}if(!Y&&F!==O)Y=[]}else(Y=Y||[]).push(K,O)}if(B)eq(B,W[j9]),(Y=Y||[]).push(j9,B);return Y}function gH(Z,X,Q,G,J){if(Q==="input"&&J.type==="radio"&&J.name!=null)P(Z,J);var Y=M9(Q,G),z=M9(Q,J);switch(kH(Z,X,Y,z),Q){case"input":j(Z,J);break;case"textarea":Hz(Z,J);break;case"select":kq(Z,J);break}}function EH(Z){{var X=Z.toLowerCase();if(!QX.hasOwnProperty(X))return null;return QX[X]||null}}function fH(Z,X,Q,G,J,Y,z){var W,K;switch(W=M9(X,Q),kX(X,Q),X){case"dialog":R1("cancel",Z),R1("close",Z);break;case"iframe":case"object":case"embed":R1("load",Z);break;case"video":case"audio":for(var q=0;q<u6.length;q++)R1(u6[q],Z);break;case"source":R1("error",Z);break;case"img":case"image":case"link":R1("error",Z),R1("load",Z);break;case"details":R1("toggle",Z);break;case"input":H(Z,Q),R1("invalid",Z);break;case"option":z1(Z,Q);break;case"select":z6(Z,Q),R1("invalid",Z);break;case"textarea":Mz(Z,Q),R1("invalid",Z);break}OG(X,Q);{K=new Set;var B=Z.attributes;for(var R=0;R<B.length;R++){var O=B[R].name.toLowerCase();switch(O){case"value":break;case"checked":break;case"selected":break;default:K.add(B[R].name)}}}var F=null;for(var w in Q){if(!Q.hasOwnProperty(w))continue;var V=Q[w];if(w===V9){if(typeof V==="string"){if(Z.textContent!==V){if(Q[l5]!==!0)TX(Z.textContent,V,Y,z);F=[V9,V]}}else if(typeof V==="number"){if(Z.textContent!==""+V){if(Q[l5]!==!0)TX(Z.textContent,V,Y,z);F=[V9,""+V]}}}else if(T1.hasOwnProperty(w)){if(V!=null){if(typeof V!=="function")CX(w,V);if(w==="onScroll")R1("scroll",Z)}}else if(z&&!0&&typeof W==="boolean"){var f=void 0,t=W&&I4?null:E1(w);if(Q[l5]===!0);else if(w===bX||w===l5||w==="value"||w==="checked"||w==="selected");else if(w===y6){var r=Z.innerHTML,j0=V?V[DX]:void 0;if(j0!=null){var S0=GK(Z,j0);if(S0!==r)m6(w,r,S0)}}else if(w===j9){if(K.delete(w),QK){var A=nq(V);if(f=Z.getAttribute("style"),A!==f)m6(w,f,A)}}else if(W&&!I4){if(K.delete(w.toLowerCase()),f=v(Z,w,V),V!==f)m6(w,f,V)}else if(!e0(w,t,W)&&!J1(w,V,t,W)){var S=!1;if(t!==null)K.delete(t.attributeName),f=x(Z,w,V,t);else{var L=G;if(L===U5)L=qG(X);if(L===U5)K.delete(w.toLowerCase());else{var C=EH(w);if(C!==null&&C!==w)S=!0,K.delete(C);K.delete(w)}f=v(Z,w,V)}var i=I4;if(!i&&V!==f&&!S)m6(w,f,V)}}}if(z){if(K.size>0&&Q[l5]!==!0)XK(K)}switch(X){case"input":W5(Z),T(Z,Q,!0);break;case"textarea":W5(Z),Oz(Z);break;case"select":case"option":break;default:if(typeof Q.onClick==="function")xX(Z);break}return F}function uH(Z,X,Q){var G=Z.nodeValue!==X;return G}function jJ(Z,X){{if(n4)return;n4=!0,$("Did not expect server HTML to contain a <%s> in <%s>.",X.nodeName.toLowerCase(),Z.nodeName.toLowerCase())}}function SJ(Z,X){{if(n4)return;n4=!0,$('Did not expect server HTML to contain the text node "%s" in <%s>.',X.nodeValue,Z.nodeName.toLowerCase())}}function bJ(Z,X,Q){{if(n4)return;n4=!0,$("Expected server HTML to contain a matching <%s> in <%s>.",X,Z.nodeName.toLowerCase())}}function DJ(Z,X){{if(X==="")return;if(n4)return;n4=!0,$('Expected server HTML to contain a matching text node for "%s" in <%s>.',X,Z.nodeName.toLowerCase())}}function vH(Z,X,Q){switch(X){case"input":W0(Z,Q);return;case"textarea":hq(Z,Q);return;case"select":Cq(Z,Q);return}}var c6=function(){},i6=function(){};{var dH=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],YK=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],yH=YK.concat(["button"]),mH=["dd","dt","li","option","optgroup","p","rp","rt"],zK={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};i6=function(Z,X){var Q=C0({},Z||zK),G={tag:X};if(YK.indexOf(X)!==-1)Q.aTagInScope=null,Q.buttonTagInScope=null,Q.nobrTagInScope=null;if(yH.indexOf(X)!==-1)Q.pTagInButtonScope=null;if(dH.indexOf(X)!==-1&&X!=="address"&&X!=="div"&&X!=="p")Q.listItemTagAutoclosing=null,Q.dlItemTagAutoclosing=null;if(Q.current=G,X==="form")Q.formTag=G;if(X==="a")Q.aTagInScope=G;if(X==="button")Q.buttonTagInScope=G;if(X==="nobr")Q.nobrTagInScope=G;if(X==="p")Q.pTagInButtonScope=G;if(X==="li")Q.listItemTagAutoclosing=G;if(X==="dd"||X==="dt")Q.dlItemTagAutoclosing=G;return Q};var cH=function(Z,X){switch(X){case"select":return Z==="option"||Z==="optgroup"||Z==="#text";case"optgroup":return Z==="option"||Z==="#text";case"option":return Z==="#text";case"tr":return Z==="th"||Z==="td"||Z==="style"||Z==="script"||Z==="template";case"tbody":case"thead":case"tfoot":return Z==="tr"||Z==="style"||Z==="script"||Z==="template";case"colgroup":return Z==="col"||Z==="template";case"table":return Z==="caption"||Z==="colgroup"||Z==="tbody"||Z==="tfoot"||Z==="thead"||Z==="style"||Z==="script"||Z==="template";case"head":return Z==="base"||Z==="basefont"||Z==="bgsound"||Z==="link"||Z==="meta"||Z==="title"||Z==="noscript"||Z==="noframes"||Z==="style"||Z==="script"||Z==="template";case"html":return Z==="head"||Z==="body"||Z==="frameset";case"frameset":return Z==="frame";case"#document":return Z==="html"}switch(Z){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return X!=="h1"&&X!=="h2"&&X!=="h3"&&X!=="h4"&&X!=="h5"&&X!=="h6";case"rp":case"rt":return mH.indexOf(X)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return X==null}return!0},iH=function(Z,X){switch(Z){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return X.pTagInButtonScope;case"form":return X.formTag||X.pTagInButtonScope;case"li":return X.listItemTagAutoclosing;case"dd":case"dt":return X.dlItemTagAutoclosing;case"button":return X.buttonTagInScope;case"a":return X.aTagInScope;case"nobr":return X.nobrTagInScope}return null},WK={};c6=function(Z,X,Q){Q=Q||zK;var G=Q.current,J=G&&G.tag;if(X!=null){if(Z!=null)$("validateDOMNesting: when childText is passed, childTag should be null");Z="#text"}var Y=cH(Z,J)?null:G,z=Y?null:iH(Z,Q),W=Y||z;if(!W)return;var K=W.tag,q=!!Y+"|"+Z+"|"+K;if(WK[q])return;WK[q]=!0;var B=Z,R="";if(Z==="#text")if(/\S/.test(X))B="Text nodes";else B="Whitespace text nodes",R=" Make sure you don't have any extra whitespace between tags on each line of your source code.";else B="<"+Z+">";if(Y){var O="";if(K==="table"&&Z==="tr")O+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser.";$("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",B,K,R,O)}else $("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",B,K)}}var gX="suppressHydrationWarning",EX="$",fX="/$",l6="$?",p6="$!",lH="style",kJ=null,CJ=null;function pH(Z){var X,Q,G=Z.nodeType;switch(G){case B5:case $G:{X=G===B5?"#document":"#fragment";var J=Z.documentElement;Q=J?J.namespaceURI:BG(null,"");break}default:{var Y=G===f1?Z.parentNode:Z,z=Y.namespaceURI||null;X=Y.tagName,Q=BG(z,X);break}}{var W=X.toLowerCase(),K=i6(null,W);return{namespace:Q,ancestorInfo:K}}}function oH(Z,X,Q){{var G=Z,J=BG(G.namespace,X),Y=i6(G.ancestorInfo,X);return{namespace:J,ancestorInfo:Y}}}function hJ(Z){return Z}function sH(Z){kJ=l$(),CJ=KH();var X=null;return OW(!1),X}function aH(Z){UH(CJ),OW(kJ),kJ=null,CJ=null}function rH(Z,X,Q,G,J){var Y;{var z=G;if(c6(Z,null,z.ancestorInfo),typeof X.children==="string"||typeof X.children==="number"){var W=""+X.children,K=i6(z.ancestorInfo,Z);c6(null,W,K)}Y=z.namespace}var q=CH(Z,X,Q,Y);return a6(J,q),dJ(q,X),q}function nH(Z,X){Z.appendChild(X)}function tH(Z,X,Q,G,J){switch(TH(Z,X,Q,G),X){case"button":case"input":case"select":case"textarea":return!!Q.autoFocus;case"img":return!0;default:return!1}}function eH(Z,X,Q,G,J,Y){{var z=Y;if(typeof G.children!==typeof Q.children&&(typeof G.children==="string"||typeof G.children==="number")){var W=""+G.children,K=i6(z.ancestorInfo,X);c6(null,W,K)}}return xH(Z,X,Q,G)}function TJ(Z,X){return Z==="textarea"||Z==="noscript"||typeof X.children==="string"||typeof X.children==="number"||typeof X.dangerouslySetInnerHTML==="object"&&X.dangerouslySetInnerHTML!==null&&X.dangerouslySetInnerHTML.__html!=null}function ZO(Z,X,Q,G){{var J=Q;c6(null,Z,J.ancestorInfo)}var Y=hH(Z,X);return a6(G,Y),Y}function XO(){var Z=window.event;if(Z===void 0)return L5;return RW(Z.type)}var xJ=typeof setTimeout==="function"?setTimeout:void 0,QO=typeof clearTimeout==="function"?clearTimeout:void 0,gJ=-1,KK=typeof Promise==="function"?Promise:void 0,GO=typeof queueMicrotask==="function"?queueMicrotask:typeof KK!=="undefined"?function(Z){return KK.resolve(null).then(Z).catch(JO)}:xJ;function JO(Z){setTimeout(function(){throw Z})}function YO(Z,X,Q,G){switch(X){case"button":case"input":case"select":case"textarea":if(Q.autoFocus)Z.focus();return;case"img":{if(Q.src)Z.src=Q.src;return}}}function zO(Z,X,Q,G,J,Y){gH(Z,X,Q,G,J),dJ(Z,J)}function UK(Z){XX(Z,"")}function WO(Z,X,Q){Z.nodeValue=Q}function KO(Z,X){Z.appendChild(X)}function UO(Z,X){var Q;if(Z.nodeType===f1)Q=Z.parentNode,Q.insertBefore(X,Z);else Q=Z,Q.appendChild(X);var G=Z._reactRootContainer;if((G===null||G===void 0)&&Q.onclick===null)xX(Q)}function qO(Z,X,Q){Z.insertBefore(X,Q)}function BO(Z,X,Q){if(Z.nodeType===f1)Z.parentNode.insertBefore(X,Q);else Z.insertBefore(X,Q)}function $O(Z,X){Z.removeChild(X)}function MO(Z,X){if(Z.nodeType===f1)Z.parentNode.removeChild(X);else Z.removeChild(X)}function EJ(Z,X){var Q=X,G=0;do{var J=Q.nextSibling;if(Z.removeChild(Q),J&&J.nodeType===f1){var Y=J.data;if(Y===fX)if(G===0){Z.removeChild(J),b6(X);return}else G--;else if(Y===EX||Y===l6||Y===p6)G++}Q=J}while(Q);b6(X)}function HO(Z,X){if(Z.nodeType===f1)EJ(Z.parentNode,X);else if(Z.nodeType===r4)EJ(Z,X);b6(Z)}function OO(Z){Z=Z;var X=Z.style;if(typeof X.setProperty==="function")X.setProperty("display","none","important");else X.display="none"}function RO(Z){Z.nodeValue=""}function AO(Z,X){Z=Z;var Q=X[lH],G=Q!==void 0&&Q!==null&&Q.hasOwnProperty("display")?Q.display:null;Z.style.display=MG("display",G)}function LO(Z,X){Z.nodeValue=X}function _O(Z){if(Z.nodeType===r4)Z.textContent="";else if(Z.nodeType===B5){if(Z.documentElement)Z.removeChild(Z.documentElement)}}function PO(Z,X,Q){if(Z.nodeType!==r4||X.toLowerCase()!==Z.nodeName.toLowerCase())return null;return Z}function FO(Z,X){if(X===""||Z.nodeType!==q5)return null;return Z}function wO(Z){if(Z.nodeType!==f1)return null;return Z}function qK(Z){return Z.data===l6}function fJ(Z){return Z.data===p6}function IO(Z){var X=Z.nextSibling&&Z.nextSibling.dataset,Q,G,J;if(X)Q=X.dgst,G=X.msg,J=X.stck;return{message:G,digest:Q,stack:J}}function NO(Z,X){Z._reactRetry=X}function uX(Z){for(;Z!=null;Z=Z.nextSibling){var X=Z.nodeType;if(X===r4||X===q5)break;if(X===f1){var Q=Z.data;if(Q===EX||Q===p6||Q===l6)break;if(Q===fX)return null}}return Z}function o6(Z){return uX(Z.nextSibling)}function VO(Z){return uX(Z.firstChild)}function jO(Z){return uX(Z.firstChild)}function SO(Z){return uX(Z.nextSibling)}function bO(Z,X,Q,G,J,Y,z){a6(Y,Z),dJ(Z,Q);var W;{var K=J;W=K.namespace}var q=(Y.mode&T0)!==Y0;return fH(Z,X,Q,W,G,q,z)}function DO(Z,X,Q,G){a6(Q,Z);var J=(Q.mode&T0)!==Y0;return uH(Z,X)}function kO(Z,X){a6(X,Z)}function CO(Z){var X=Z.nextSibling,Q=0;while(X){if(X.nodeType===f1){var G=X.data;if(G===fX)if(Q===0)return o6(X);else Q--;else if(G===EX||G===p6||G===l6)Q++}X=X.nextSibling}return null}function BK(Z){var X=Z.previousSibling,Q=0;while(X){if(X.nodeType===f1){var G=X.data;if(G===EX||G===p6||G===l6)if(Q===0)return X;else Q--;else if(G===fX)Q++}X=X.previousSibling}return null}function hO(Z){b6(Z)}function TO(Z){b6(Z)}function xO(Z){return Z!=="head"&&Z!=="body"}function gO(Z,X,Q,G){var J=!0;TX(X.nodeValue,Q,G,J)}function EO(Z,X,Q,G,J,Y){if(X[gX]!==!0){var z=!0;TX(G.nodeValue,J,Y,z)}}function fO(Z,X){if(X.nodeType===r4)jJ(Z,X);else if(X.nodeType===f1);else SJ(Z,X)}function uO(Z,X){{var Q=Z.parentNode;if(Q!==null)if(X.nodeType===r4)jJ(Q,X);else if(X.nodeType===f1);else SJ(Q,X)}}function vO(Z,X,Q,G,J){if(J||X[gX]!==!0)if(G.nodeType===r4)jJ(Q,G);else if(G.nodeType===f1);else SJ(Q,G)}function dO(Z,X,Q){bJ(Z,X)}function yO(Z,X){DJ(Z,X)}function mO(Z,X,Q){{var G=Z.parentNode;if(G!==null)bJ(G,X)}}function cO(Z,X){{var Q=Z.parentNode;if(Q!==null)DJ(Q,X)}}function iO(Z,X,Q,G,J,Y){if(Y||X[gX]!==!0)bJ(Q,G)}function lO(Z,X,Q,G,J){if(J||X[gX]!==!0)DJ(Q,G)}function pO(Z){$("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",Z.nodeName.toLowerCase())}function oO(Z){v6(Z)}var O7=Math.random().toString(36).slice(2),R7="__reactFiber$"+O7,uJ="__reactProps$"+O7,s6="__reactContainer$"+O7,vJ="__reactEvents$"+O7,sO="__reactListeners$"+O7,aO="__reactHandles$"+O7;function rO(Z){delete Z[R7],delete Z[uJ],delete Z[vJ],delete Z[sO],delete Z[aO]}function a6(Z,X){X[R7]=Z}function vX(Z,X){X[s6]=Z}function $K(Z){Z[s6]=null}function r6(Z){return!!Z[s6]}function S9(Z){var X=Z[R7];if(X)return X;var Q=Z.parentNode;while(Q){if(X=Q[s6]||Q[R7],X){var G=X.alternate;if(X.child!==null||G!==null&&G.child!==null){var J=BK(Z);while(J!==null){var Y=J[R7];if(Y)return Y;J=BK(J)}}return X}Z=Q,Q=Z.parentNode}return null}function p5(Z){var X=Z[R7]||Z[s6];if(X)if(X.tag===l||X.tag===N0||X.tag===q0||X.tag===X0)return X;else return null;return null}function A7(Z){if(Z.tag===l||Z.tag===N0)return Z.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function dX(Z){return Z[uJ]||null}function dJ(Z,X){Z[uJ]=X}function nO(Z){var X=Z[vJ];if(X===void 0)X=Z[vJ]=new Set;return X}var MK={},HK=e.ReactDebugCurrentFrame;function yX(Z){if(Z){var X=Z._owner,Q=g5(Z.type,Z._source,X?X.type:null);HK.setExtraStackFrame(Q)}else HK.setExtraStackFrame(null)}function x8(Z,X,Q,G,J){{var Y=Function.call.bind(V4);for(var z in Z)if(Y(Z,z)){var W=void 0;try{if(typeof Z[z]!=="function"){var K=Error((G||"React class")+": "+Q+" type `"+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof Z[z]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw K.name="Invariant Violation",K}W=Z[z](X,z,G,Q,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){W=q}if(W&&!(W instanceof Error))yX(J),$("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",G||"React class",Q,z,typeof W),yX(null);if(W instanceof Error&&!(W.message in MK))MK[W.message]=!0,yX(J),$("Failed %s type: %s",Q,W.message),yX(null)}}}var yJ=[],mX;mX=[];var _5=-1;function o5(Z){return{current:Z}}function C4(Z,X){if(_5<0){$("Unexpected pop.");return}if(X!==mX[_5])$("Unexpected Fiber popped.");Z.current=yJ[_5],yJ[_5]=null,mX[_5]=null,_5--}function h4(Z,X,Q){_5++,yJ[_5]=Z.current,mX[_5]=Q,Z.current=X}var OK={},$8={};Object.freeze($8);var P5=o5($8),n8=o5(!1),mJ=$8;function L7(Z,X,Q){{if(Q&&t8(X))return mJ;return P5.current}}function RK(Z,X,Q){{var G=Z.stateNode;G.__reactInternalMemoizedUnmaskedChildContext=X,G.__reactInternalMemoizedMaskedChildContext=Q}}function _7(Z,X){{var Q=Z.type,G=Q.contextTypes;if(!G)return $8;var J=Z.stateNode;if(J&&J.__reactInternalMemoizedUnmaskedChildContext===X)return J.__reactInternalMemoizedMaskedChildContext;var Y={};for(var z in G)Y[z]=X[z];{var W=_0(Z)||"Unknown";x8(G,Y,"context",W)}if(J)RK(Z,X,Y);return Y}}function cX(){return n8.current}function t8(Z){{var X=Z.childContextTypes;return X!==null&&X!==void 0}}function iX(Z){C4(n8,Z),C4(P5,Z)}function cJ(Z){C4(n8,Z),C4(P5,Z)}function AK(Z,X,Q){{if(P5.current!==$8)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");h4(P5,X,Z),h4(n8,Q,Z)}}function LK(Z,X,Q){{var G=Z.stateNode,J=X.childContextTypes;if(typeof G.getChildContext!=="function"){{var Y=_0(Z)||"Unknown";if(!OK[Y])OK[Y]=!0,$("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",Y,Y)}return Q}var z=G.getChildContext();for(var W in z)if(!(W in J))throw new Error((_0(Z)||"Unknown")+'.getChildContext(): key "'+W+'" is not defined in childContextTypes.');{var K=_0(Z)||"Unknown";x8(J,z,"child context",K)}return C0({},Q,z)}}function lX(Z){{var X=Z.stateNode,Q=X&&X.__reactInternalMemoizedMergedChildContext||$8;return mJ=P5.current,h4(P5,Q,Z),h4(n8,n8.current,Z),!0}}function _K(Z,X,Q){{var G=Z.stateNode;if(!G)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(Q){var J=LK(Z,X,mJ);G.__reactInternalMemoizedMergedChildContext=J,C4(n8,Z),C4(P5,Z),h4(P5,J,Z),h4(n8,Q,Z)}else C4(n8,Z),h4(n8,Q,Z)}}function tO(Z){{if(!xB(Z)||Z.tag!==Z0)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var X=Z;do{switch(X.tag){case X0:return X.stateNode.context;case Z0:{var Q=X.type;if(t8(Q))return X.stateNode.__reactInternalMemoizedMergedChildContext;break}}X=X.return}while(X!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var s5=0,pX=1,F5=null,iJ=!1,lJ=!1;function PK(Z){if(F5===null)F5=[Z];else F5.push(Z)}function eO(Z){iJ=!0,PK(Z)}function FK(){if(iJ)a5()}function a5(){if(!lJ&&F5!==null){lJ=!0;var Z=0,X=T8();try{var Q=!0,G=F5;Y4(U8);for(;Z<G.length;Z++){var J=G[Z];do J=J(Q);while(J!==null)}F5=null,iJ=!1}catch(Y){if(F5!==null)F5=F5.slice(Z+1);throw iz(WX,a5),Y}finally{Y4(X),lJ=!1}}return null}var P7=[],F7=0,oX=null,sX=0,_8=[],P8=0,b9=null,w5=1,I5="";function ZR(Z){return k9(),(Z.flags&Ez)!==z0}function XR(Z){return k9(),sX}function QR(){var Z=I5,X=w5,Q=X&~GR(X);return Q.toString(32)+Z}function D9(Z,X){k9(),P7[F7++]=sX,P7[F7++]=oX,oX=Z,sX=X}function wK(Z,X,Q){k9(),_8[P8++]=w5,_8[P8++]=I5,_8[P8++]=b9,b9=Z;var G=w5,J=I5,Y=aX(G)-1,z=G&~(1<<Y),W=Q+1,K=aX(X)+Y;if(K>30){var q=Y-Y%5,B=(1<<q)-1,R=(z&B).toString(32),O=z>>q,F=Y-q,w=aX(X)+F,V=W<<F,f=V|O,t=R+J;w5=1<<w|f,I5=t}else{var r=W<<Y,j0=r|z,S0=J;w5=1<<K|j0,I5=S0}}function pJ(Z){k9();var X=Z.return;if(X!==null){var Q=1,G=0;D9(Z,Q),wK(Z,Q,G)}}function aX(Z){return 32-rz(Z)}function GR(Z){return 1<<aX(Z)-1}function oJ(Z){while(Z===oX)oX=P7[--F7],P7[F7]=null,sX=P7[--F7],P7[F7]=null;while(Z===b9)b9=_8[--P8],_8[P8]=null,I5=_8[--P8],_8[P8]=null,w5=_8[--P8],_8[P8]=null}function JR(){if(k9(),b9!==null)return{id:w5,overflow:I5};else return null}function YR(Z,X){k9(),_8[P8++]=w5,_8[P8++]=I5,_8[P8++]=b9,w5=X.id,I5=X.overflow,b9=Z}function k9(){if(!M4())$("Expected to be hydrating. This is a bug in React. Please file an issue.")}var $4=null,F8=null,g8=!1,C9=!1,r5=null;function zR(){if(g8)$("We should not be hydrating here. This is a bug in React. Please file a bug.")}function IK(){C9=!0}function WR(){return C9}function KR(Z){var X=Z.stateNode.containerInfo;return F8=jO(X),$4=Z,g8=!0,r5=null,C9=!1,!0}function UR(Z,X,Q){if(F8=SO(X),$4=Z,g8=!0,r5=null,C9=!1,Q!==null)YR(Z,Q);return!0}function NK(Z,X){switch(Z.tag){case X0:{fO(Z.stateNode.containerInfo,X);break}case l:{var Q=(Z.mode&T0)!==Y0;vO(Z.type,Z.memoizedProps,Z.stateNode,X,Q);break}case q0:{var G=Z.memoizedState;if(G.dehydrated!==null)uO(G.dehydrated,X);break}}}function VK(Z,X){NK(Z,X);var Q=A_();Q.stateNode=X,Q.return=Z;var G=Z.deletions;if(G===null)Z.deletions=[Q],Z.flags|=H9;else G.push(Q)}function sJ(Z,X){{if(C9)return;switch(Z.tag){case X0:{var Q=Z.stateNode.containerInfo;switch(X.tag){case l:var{type:G,pendingProps:J}=X;dO(Q,G);break;case N0:var Y=X.pendingProps;yO(Q,Y);break}break}case l:{var{type:z,memoizedProps:W,stateNode:K}=Z;switch(X.tag){case l:{var{type:q,pendingProps:B}=X,R=(Z.mode&T0)!==Y0;iO(z,W,K,q,B,R);break}case N0:{var O=X.pendingProps,F=(Z.mode&T0)!==Y0;lO(z,W,K,O,F);break}}break}case q0:{var w=Z.memoizedState,V=w.dehydrated;if(V!==null)switch(X.tag){case l:var{type:f,pendingProps:t}=X;mO(V,f);break;case N0:var r=X.pendingProps;cO(V,r);break}break}default:return}}}function jK(Z,X){X.flags=X.flags&~M5|u1,sJ(Z,X)}function SK(Z,X){switch(Z.tag){case l:{var{type:Q,pendingProps:G}=Z,J=PO(X,Q);if(J!==null)return Z.stateNode=J,$4=Z,F8=VO(J),!0;return!1}case N0:{var Y=Z.pendingProps,z=FO(X,Y);if(z!==null)return Z.stateNode=z,$4=Z,F8=null,!0;return!1}case q0:{var W=wO(X);if(W!==null){var K={dehydrated:W,treeContext:JR(),retryLane:W8};Z.memoizedState=K;var q=L_(W);return q.return=Z,Z.child=q,$4=Z,F8=null,!0}return!1}default:return!1}}function aJ(Z){return(Z.mode&T0)!==Y0&&(Z.flags&c0)===z0}function rJ(Z){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function nJ(Z){if(!g8)return;var X=F8;if(!X){if(aJ(Z))sJ($4,Z),rJ();jK($4,Z),g8=!1,$4=Z;return}var Q=X;if(!SK(Z,X)){if(aJ(Z))sJ($4,Z),rJ();X=o6(Q);var G=$4;if(!X||!SK(Z,X)){jK($4,Z),g8=!1,$4=Z;return}VK(G,Q)}}function qR(Z,X,Q){var G=Z.stateNode,J=!C9,Y=bO(G,Z.type,Z.memoizedProps,X,Q,Z,J);if(Z.updateQueue=Y,Y!==null)return!0;return!1}function BR(Z){var{stateNode:X,memoizedProps:Q}=Z,G=DO(X,Q,Z);if(G){var J=$4;if(J!==null)switch(J.tag){case X0:{var Y=J.stateNode.containerInfo,z=(J.mode&T0)!==Y0;gO(Y,X,Q,z);break}case l:{var{type:W,memoizedProps:K,stateNode:q}=J,B=(J.mode&T0)!==Y0;EO(W,K,q,X,Q,B);break}}}return G}function $R(Z){var X=Z.memoizedState,Q=X!==null?X.dehydrated:null;if(!Q)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");kO(Q,Z)}function MR(Z){var X=Z.memoizedState,Q=X!==null?X.dehydrated:null;if(!Q)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return CO(Q)}function bK(Z){var X=Z.return;while(X!==null&&X.tag!==l&&X.tag!==X0&&X.tag!==q0)X=X.return;$4=X}function rX(Z){if(Z!==$4)return!1;if(!g8)return bK(Z),g8=!0,!1;if(Z.tag!==X0&&(Z.tag!==l||xO(Z.type)&&!TJ(Z.type,Z.memoizedProps))){var X=F8;if(X)if(aJ(Z))DK(Z),rJ();else while(X)VK(Z,X),X=o6(X)}if(bK(Z),Z.tag===q0)F8=MR(Z);else F8=$4?o6(Z.stateNode):null;return!0}function HR(){return g8&&F8!==null}function DK(Z){var X=F8;while(X)NK(Z,X),X=o6(X)}function w7(){$4=null,F8=null,g8=!1,C9=!1}function kK(){if(r5!==null)NU(r5),r5=null}function M4(){return g8}function tJ(Z){if(r5===null)r5=[Z];else r5.push(Z)}var OR=e.ReactCurrentBatchConfig,RR=null;function AR(){return OR.transition}var E8={recordUnsafeLifecycleWarnings:function(Z,X){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(Z,X){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var LR=function(Z){var X=null,Q=Z;while(Q!==null){if(Q.mode&V1)X=Q;Q=Q.return}return X},h9=function(Z){var X=[];return Z.forEach(function(Q){X.push(Q)}),X.sort().join(", ")},n6=[],t6=[],e6=[],ZZ=[],XZ=[],QZ=[],T9=new Set;E8.recordUnsafeLifecycleWarnings=function(Z,X){if(T9.has(Z.type))return;if(typeof X.componentWillMount==="function"&&X.componentWillMount.__suppressDeprecationWarning!==!0)n6.push(Z);if(Z.mode&V1&&typeof X.UNSAFE_componentWillMount==="function")t6.push(Z);if(typeof X.componentWillReceiveProps==="function"&&X.componentWillReceiveProps.__suppressDeprecationWarning!==!0)e6.push(Z);if(Z.mode&V1&&typeof X.UNSAFE_componentWillReceiveProps==="function")ZZ.push(Z);if(typeof X.componentWillUpdate==="function"&&X.componentWillUpdate.__suppressDeprecationWarning!==!0)XZ.push(Z);if(Z.mode&V1&&typeof X.UNSAFE_componentWillUpdate==="function")QZ.push(Z)},E8.flushPendingUnsafeLifecycleWarnings=function(){var Z=new Set;if(n6.length>0)n6.forEach(function(O){Z.add(_0(O)||"Component"),T9.add(O.type)}),n6=[];var X=new Set;if(t6.length>0)t6.forEach(function(O){X.add(_0(O)||"Component"),T9.add(O.type)}),t6=[];var Q=new Set;if(e6.length>0)e6.forEach(function(O){Q.add(_0(O)||"Component"),T9.add(O.type)}),e6=[];var G=new Set;if(ZZ.length>0)ZZ.forEach(function(O){G.add(_0(O)||"Component"),T9.add(O.type)}),ZZ=[];var J=new Set;if(XZ.length>0)XZ.forEach(function(O){J.add(_0(O)||"Component"),T9.add(O.type)}),XZ=[];var Y=new Set;if(QZ.length>0)QZ.forEach(function(O){Y.add(_0(O)||"Component"),T9.add(O.type)}),QZ=[];if(X.size>0){var z=h9(X);$(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
|
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
|
|
Please update the following components: %s`,z)}if(G.size>0){var W=h9(G);$(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
|
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
|
|
Please update the following components: %s`,W)}if(Y.size>0){var K=h9(Y);$(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
|
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
|
|
Please update the following components: %s`,K)}if(Z.size>0){var q=h9(Z);q1(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
|
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
|
|
Please update the following components: %s`,q)}if(Q.size>0){var B=h9(Q);q1(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
|
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
|
|
Please update the following components: %s`,B)}if(J.size>0){var R=h9(J);q1(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
|
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
|
|
Please update the following components: %s`,R)}};var nX=new Map,CK=new Set;E8.recordLegacyContextWarning=function(Z,X){var Q=LR(Z);if(Q===null){$("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(CK.has(Z.type))return;var G=nX.get(Q);if(Z.type.contextTypes!=null||Z.type.childContextTypes!=null||X!==null&&typeof X.getChildContext==="function"){if(G===void 0)G=[],nX.set(Q,G);G.push(Z)}},E8.flushLegacyContextWarning=function(){nX.forEach(function(Z,X){if(Z.length===0)return;var Q=Z[0],G=new Set;Z.forEach(function(Y){G.add(_0(Y)||"Component"),CK.add(Y.type)});var J=h9(G);try{F1(Q),$(`Legacy context API has been detected within a strict-mode tree.
|
|
|
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
|
|
Please update the following components: %s
|
|
|
|
Learn more about this warning here: https://reactjs.org/link/legacy-context`,J)}finally{X4()}})},E8.discardPendingWarnings=function(){n6=[],t6=[],e6=[],ZZ=[],XZ=[],QZ=[],nX=new Map}}var eJ,ZY,XY,QY,GY,hK=function(Z,X){};eJ=!1,ZY=!1,XY={},QY={},GY={},hK=function(Z,X){if(Z===null||typeof Z!=="object")return;if(!Z._store||Z._store.validated||Z.key!=null)return;if(typeof Z._store!=="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");Z._store.validated=!0;var Q=_0(X)||"Component";if(QY[Q])return;QY[Q]=!0,$('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.')};function _R(Z){return Z.prototype&&Z.prototype.isReactComponent}function GZ(Z,X,Q){var G=Q.ref;if(G!==null&&typeof G!=="function"&&typeof G!=="object"){if((Z.mode&V1||h1)&&!(Q._owner&&Q._self&&Q._owner.stateNode!==Q._self)&&!(Q._owner&&Q._owner.tag!==Z0)&&!(typeof Q.type==="function"&&!_R(Q.type))&&Q._owner){var J=_0(Z)||"Component";if(!XY[J])$('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',J,G),XY[J]=!0}if(Q._owner){var Y=Q._owner,z;if(Y){var W=Y;if(W.tag!==Z0)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");z=W.stateNode}if(!z)throw new Error("Missing owner for string ref "+G+". This error is likely caused by a bug in React. Please file an issue.");var K=z;x1(G,"ref");var q=""+G;if(X!==null&&X.ref!==null&&typeof X.ref==="function"&&X.ref._stringRef===q)return X.ref;var B=function(R){var O=K.refs;if(R===null)delete O[q];else O[q]=R};return B._stringRef=q,B}else{if(typeof G!=="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!Q._owner)throw new Error("Element ref was specified as a string ("+G+`) but no owner was set. This could happen for one of the following reasons:
|
|
1. You may be adding a ref to a function component
|
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
3. You have multiple copies of React loaded
|
|
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return G}function tX(Z,X){var Q=Object.prototype.toString.call(X);throw new Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}function eX(Z){{var X=_0(Z)||"Component";if(GY[X])return;GY[X]=!0,$("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 TK(Z){var{_payload:X,_init:Q}=Z;return Q(X)}function xK(Z){function X(A,S){if(!Z)return;var L=A.deletions;if(L===null)A.deletions=[S],A.flags|=H9;else L.push(S)}function Q(A,S){if(!Z)return null;var L=S;while(L!==null)X(A,L),L=L.sibling;return null}function G(A,S){var L=new Map,C=S;while(C!==null){if(C.key!==null)L.set(C.key,C);else L.set(C.index,C);C=C.sibling}return L}function J(A,S){var L=m9(A,S);return L.index=0,L.sibling=null,L}function Y(A,S,L){if(A.index=L,!Z)return A.flags|=Ez,S;var C=A.alternate;if(C!==null){var i=C.index;if(i<S)return A.flags|=u1,S;else return i}else return A.flags|=u1,S}function z(A){if(Z&&A.alternate===null)A.flags|=u1;return A}function W(A,S,L,C){if(S===null||S.tag!==N0){var i=Zz(L,A.mode,C);return i.return=A,i}else{var d=J(S,L);return d.return=A,d}}function K(A,S,L,C){var i=L.type;if(i===Q1)return B(A,S,L.props.children,C,L.key);if(S!==null){if(S.elementType===i||dU(S,L)||typeof i==="object"&&i!==null&&i.$$typeof===y0&&TK(i)===S.type){var d=J(S,L.props);return d.ref=GZ(A,S,L),d.return=A,d._debugSource=L._source,d._debugOwner=L._owner,d}}var K0=e3(L,A.mode,C);return K0.ref=GZ(A,S,L),K0.return=A,K0}function q(A,S,L,C){if(S===null||S.tag!==F0||S.stateNode.containerInfo!==L.containerInfo||S.stateNode.implementation!==L.implementation){var i=Xz(L,A.mode,C);return i.return=A,i}else{var d=J(S,L.children||[]);return d.return=A,d}}function B(A,S,L,C,i){if(S===null||S.tag!==d1){var d=W9(L,A.mode,C,i);return d.return=A,d}else{var K0=J(S,L);return K0.return=A,K0}}function R(A,S,L){if(typeof S==="string"&&S!==""||typeof S==="number"){var C=Zz(""+S,A.mode,L);return C.return=A,C}if(typeof S==="object"&&S!==null){switch(S.$$typeof){case a:{var i=e3(S,A.mode,L);return i.ref=GZ(A,null,S),i.return=A,i}case J0:{var d=Xz(S,A.mode,L);return d.return=A,d}case y0:{var{_payload:K0,_init:A0}=S;return R(A,A0(K0),L)}}if(m0(S)||k8(S)){var n0=W9(S,A.mode,L,null);return n0.return=A,n0}tX(A,S)}if(typeof S==="function")eX(A);return null}function O(A,S,L,C){var i=S!==null?S.key:null;if(typeof L==="string"&&L!==""||typeof L==="number"){if(i!==null)return null;return W(A,S,""+L,C)}if(typeof L==="object"&&L!==null){switch(L.$$typeof){case a:if(L.key===i)return K(A,S,L,C);else return null;case J0:if(L.key===i)return q(A,S,L,C);else return null;case y0:{var{_payload:d,_init:K0}=L;return O(A,S,K0(d),C)}}if(m0(L)||k8(L)){if(i!==null)return null;return B(A,S,L,C,null)}tX(A,L)}if(typeof L==="function")eX(A);return null}function F(A,S,L,C,i){if(typeof C==="string"&&C!==""||typeof C==="number"){var d=A.get(L)||null;return W(S,d,""+C,i)}if(typeof C==="object"&&C!==null){switch(C.$$typeof){case a:{var K0=A.get(C.key===null?L:C.key)||null;return K(S,K0,C,i)}case J0:{var A0=A.get(C.key===null?L:C.key)||null;return q(S,A0,C,i)}case y0:var{_payload:n0,_init:v0}=C;return F(A,S,L,v0(n0),i)}if(m0(C)||k8(C)){var k1=A.get(L)||null;return B(S,k1,C,i,null)}tX(S,C)}if(typeof C==="function")eX(S);return null}function w(A,S,L){{if(typeof A!=="object"||A===null)return S;switch(A.$$typeof){case a:case J0:hK(A,L);var C=A.key;if(typeof C!=="string")break;if(S===null){S=new Set,S.add(C);break}if(!S.has(C)){S.add(C);break}$("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.",C);break;case y0:var{_payload:i,_init:d}=A;w(d(i),S,L);break}}return S}function V(A,S,L,C){{var i=null;for(var d=0;d<L.length;d++){var K0=L[d];i=w(K0,i,A)}}var A0=null,n0=null,v0=S,k1=0,d0=0,j1=null;for(;v0!==null&&d0<L.length;d0++){if(v0.index>d0)j1=v0,v0=null;else j1=v0.sibling;var x4=O(A,v0,L[d0],C);if(x4===null){if(v0===null)v0=j1;break}if(Z){if(v0&&x4.alternate===null)X(A,v0)}if(k1=Y(x4,k1,d0),n0===null)A0=x4;else n0.sibling=x4;n0=x4,v0=j1}if(d0===L.length){if(Q(A,v0),M4()){var P4=d0;D9(A,P4)}return A0}if(v0===null){for(;d0<L.length;d0++){var H8=R(A,L[d0],C);if(H8===null)continue;if(k1=Y(H8,k1,d0),n0===null)A0=H8;else n0.sibling=H8;n0=H8}if(M4()){var i4=d0;D9(A,i4)}return A0}var l4=G(A,v0);for(;d0<L.length;d0++){var g4=F(l4,A,d0,L[d0],C);if(g4!==null){if(Z){if(g4.alternate!==null)l4.delete(g4.key===null?d0:g4.key)}if(k1=Y(g4,k1,d0),n0===null)A0=g4;else n0.sibling=g4;n0=g4}}if(Z)l4.forEach(function(y7){return X(A,y7)});if(M4()){var k5=d0;D9(A,k5)}return A0}function f(A,S,L,C){var i=k8(L);if(typeof i!=="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{if(typeof Symbol==="function"&&L[Symbol.toStringTag]==="Generator"){if(!ZY)$("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.");ZY=!0}if(L.entries===i){if(!eJ)$("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");eJ=!0}var d=i.call(L);if(d){var K0=null,A0=d.next();for(;!A0.done;A0=d.next()){var n0=A0.value;K0=w(n0,K0,A)}}}var v0=i.call(L);if(v0==null)throw new Error("An iterable object provided no iterator.");var k1=null,d0=null,j1=S,x4=0,P4=0,H8=null,i4=v0.next();for(;j1!==null&&!i4.done;P4++,i4=v0.next()){if(j1.index>P4)H8=j1,j1=null;else H8=j1.sibling;var l4=O(A,j1,i4.value,C);if(l4===null){if(j1===null)j1=H8;break}if(Z){if(j1&&l4.alternate===null)X(A,j1)}if(x4=Y(l4,x4,P4),d0===null)k1=l4;else d0.sibling=l4;d0=l4,j1=H8}if(i4.done){if(Q(A,j1),M4()){var g4=P4;D9(A,g4)}return k1}if(j1===null){for(;!i4.done;P4++,i4=v0.next()){var k5=R(A,i4.value,C);if(k5===null)continue;if(x4=Y(k5,x4,P4),d0===null)k1=k5;else d0.sibling=k5;d0=k5}if(M4()){var y7=P4;D9(A,y7)}return k1}var gZ=G(A,j1);for(;!i4.done;P4++,i4=v0.next()){var z5=F(gZ,A,P4,i4.value,C);if(z5!==null){if(Z){if(z5.alternate!==null)gZ.delete(z5.key===null?P4:z5.key)}if(x4=Y(z5,x4,P4),d0===null)k1=z5;else d0.sibling=z5;d0=z5}}if(Z)gZ.forEach(function(a_){return X(A,a_)});if(M4()){var s_=P4;D9(A,s_)}return k1}function t(A,S,L,C){if(S!==null&&S.tag===N0){Q(A,S.sibling);var i=J(S,L);return i.return=A,i}Q(A,S);var d=Zz(L,A.mode,C);return d.return=A,d}function r(A,S,L,C){var i=L.key,d=S;while(d!==null){if(d.key===i){var K0=L.type;if(K0===Q1){if(d.tag===d1){Q(A,d.sibling);var A0=J(d,L.props.children);return A0.return=A,A0._debugSource=L._source,A0._debugOwner=L._owner,A0}}else if(d.elementType===K0||dU(d,L)||typeof K0==="object"&&K0!==null&&K0.$$typeof===y0&&TK(K0)===d.type){Q(A,d.sibling);var n0=J(d,L.props);return n0.ref=GZ(A,d,L),n0.return=A,n0._debugSource=L._source,n0._debugOwner=L._owner,n0}Q(A,d);break}else X(A,d);d=d.sibling}if(L.type===Q1){var v0=W9(L.props.children,A.mode,C,L.key);return v0.return=A,v0}else{var k1=e3(L,A.mode,C);return k1.ref=GZ(A,S,L),k1.return=A,k1}}function j0(A,S,L,C){var i=L.key,d=S;while(d!==null){if(d.key===i)if(d.tag===F0&&d.stateNode.containerInfo===L.containerInfo&&d.stateNode.implementation===L.implementation){Q(A,d.sibling);var K0=J(d,L.children||[]);return K0.return=A,K0}else{Q(A,d);break}else X(A,d);d=d.sibling}var A0=Xz(L,A.mode,C);return A0.return=A,A0}function S0(A,S,L,C){var i=typeof L==="object"&&L!==null&&L.type===Q1&&L.key===null;if(i)L=L.props.children;if(typeof L==="object"&&L!==null){switch(L.$$typeof){case a:return z(r(A,S,L,C));case J0:return z(j0(A,S,L,C));case y0:var{_payload:d,_init:K0}=L;return S0(A,S,K0(d),C)}if(m0(L))return V(A,S,L,C);if(k8(L))return f(A,S,L,C);tX(A,L)}if(typeof L==="string"&&L!==""||typeof L==="number")return z(t(A,S,""+L,C));if(typeof L==="function")eX(A);return Q(A,S)}return S0}var I7=xK(!0),gK=xK(!1);function PR(Z,X){if(Z!==null&&X.child!==Z.child)throw new Error("Resuming work not yet implemented.");if(X.child===null)return;var Q=X.child,G=m9(Q,Q.pendingProps);X.child=G,G.return=X;while(Q.sibling!==null)Q=Q.sibling,G=G.sibling=m9(Q,Q.pendingProps),G.return=X;G.sibling=null}function FR(Z,X){var Q=Z.child;while(Q!==null)$_(Q,X),Q=Q.sibling}var JY=o5(null),YY;YY={};var ZQ=null,N7=null,zY=null,XQ=!1;function QQ(){ZQ=null,N7=null,zY=null,XQ=!1}function EK(){XQ=!0}function fK(){XQ=!1}function uK(Z,X,Q){{h4(JY,X._currentValue,Z),X._currentValue=Q;{if(X._currentRenderer!==void 0&&X._currentRenderer!==null&&X._currentRenderer!==YY)$("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.");X._currentRenderer=YY}}}function WY(Z,X){var Q=JY.current;C4(JY,X),Z._currentValue=Q}function KY(Z,X,Q){var G=Z;while(G!==null){var J=G.alternate;if(!K7(G.childLanes,X)){if(G.childLanes=P0(G.childLanes,X),J!==null)J.childLanes=P0(J.childLanes,X)}else if(J!==null&&!K7(J.childLanes,X))J.childLanes=P0(J.childLanes,X);if(G===Q)break;G=G.return}if(G!==Q)$("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 wR(Z,X,Q){IR(Z,X,Q)}function IR(Z,X,Q){var G=Z.child;if(G!==null)G.return=Z;while(G!==null){var J=void 0,Y=G.dependencies;if(Y!==null){J=G.child;var z=Y.firstContext;while(z!==null){if(z.context===X){if(G.tag===Z0){var W=F6(Q),K=N5(U1,W);K.tag=JQ;var q=G.updateQueue;if(q===null);else{var B=q.shared,R=B.pending;if(R===null)K.next=K;else K.next=R.next,R.next=K;B.pending=K}}G.lanes=P0(G.lanes,Q);var O=G.alternate;if(O!==null)O.lanes=P0(O.lanes,Q);KY(G.return,Q,Z),Y.lanes=P0(Y.lanes,Q);break}z=z.next}}else if(G.tag===_1)J=G.type===Z.type?null:G.child;else if(G.tag===K4){var F=G.return;if(F===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");F.lanes=P0(F.lanes,Q);var w=F.alternate;if(w!==null)w.lanes=P0(w.lanes,Q);KY(F,Q,Z),J=G.sibling}else J=G.child;if(J!==null)J.return=G;else{J=G;while(J!==null){if(J===Z){J=null;break}var V=J.sibling;if(V!==null){V.return=J.return,J=V;break}J=J.return}}G=J}}function V7(Z,X){ZQ=Z,N7=null,zY=null;var Q=Z.dependencies;if(Q!==null){var G=Q.firstContext;if(G!==null){if(K8(Q.lanes,X))LZ();Q.firstContext=null}}}function v1(Z){if(XQ)$("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 X=Z._currentValue;if(zY===Z);else{var Q={context:Z,memoizedValue:X,next:null};if(N7===null){if(ZQ===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().");N7=Q,ZQ.dependencies={lanes:D,firstContext:Q}}else N7=N7.next=Q}return X}var x9=null;function UY(Z){if(x9===null)x9=[Z];else x9.push(Z)}function NR(){if(x9!==null){for(var Z=0;Z<x9.length;Z++){var X=x9[Z],Q=X.interleaved;if(Q!==null){X.interleaved=null;var G=Q.next,J=X.pending;if(J!==null){var Y=J.next;J.next=G,Q.next=Y}X.pending=Q}}x9=null}}function vK(Z,X,Q,G){var J=X.interleaved;if(J===null)Q.next=Q,UY(X);else Q.next=J.next,J.next=Q;return X.interleaved=Q,GQ(Z,G)}function VR(Z,X,Q,G){var J=X.interleaved;if(J===null)Q.next=Q,UY(X);else Q.next=J.next,J.next=Q;X.interleaved=Q}function jR(Z,X,Q,G){var J=X.interleaved;if(J===null)Q.next=Q,UY(X);else Q.next=J.next,J.next=Q;return X.interleaved=Q,GQ(Z,G)}function t4(Z,X){return GQ(Z,X)}var SR=GQ;function GQ(Z,X){Z.lanes=P0(Z.lanes,X);var Q=Z.alternate;if(Q!==null)Q.lanes=P0(Q.lanes,X);if(Q===null&&(Z.flags&(u1|M5))!==z0)EU(Z);var G=Z,J=Z.return;while(J!==null){if(J.childLanes=P0(J.childLanes,X),Q=J.alternate,Q!==null)Q.childLanes=P0(Q.childLanes,X);else if((J.flags&(u1|M5))!==z0)EU(Z);G=J,J=J.return}if(G.tag===X0){var Y=G.stateNode;return Y}else return null}var dK=0,yK=1,JQ=2,qY=3,YQ=!1,BY,zQ;BY=!1,zQ=null;function $Y(Z){var X={baseState:Z.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:D},effects:null};Z.updateQueue=X}function mK(Z,X){var Q=X.updateQueue,G=Z.updateQueue;if(Q===G){var J={baseState:G.baseState,firstBaseUpdate:G.firstBaseUpdate,lastBaseUpdate:G.lastBaseUpdate,shared:G.shared,effects:G.effects};X.updateQueue=J}}function N5(Z,X){var Q={eventTime:Z,lane:X,tag:dK,payload:null,callback:null,next:null};return Q}function n5(Z,X,Q){var G=Z.updateQueue;if(G===null)return null;var J=G.shared;if(zQ===J&&!BY)$("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."),BY=!0;if(DL()){var Y=J.pending;if(Y===null)X.next=X;else X.next=Y.next,Y.next=X;return J.pending=X,SR(Z,Q)}else return jR(Z,J,X,Q)}function WQ(Z,X,Q){var G=X.updateQueue;if(G===null)return;var J=G.shared;if(ZW(Q)){var Y=J.lanes;Y=QW(Y,Z.pendingLanes);var z=P0(Y,Q);J.lanes=z,JJ(Z,z)}}function MY(Z,X){var{updateQueue:Q,alternate:G}=Z;if(G!==null){var J=G.updateQueue;if(Q===J){var Y=null,z=null,W=Q.firstBaseUpdate;if(W!==null){var K=W;do{var q={eventTime:K.eventTime,lane:K.lane,tag:K.tag,payload:K.payload,callback:K.callback,next:null};if(z===null)Y=z=q;else z.next=q,z=q;K=K.next}while(K!==null);if(z===null)Y=z=X;else z.next=X,z=X}else Y=z=X;Q={baseState:J.baseState,firstBaseUpdate:Y,lastBaseUpdate:z,shared:J.shared,effects:J.effects},Z.updateQueue=Q;return}}var B=Q.lastBaseUpdate;if(B===null)Q.firstBaseUpdate=X;else B.next=X;Q.lastBaseUpdate=X}function bR(Z,X,Q,G,J,Y){switch(Q.tag){case yK:{var z=Q.payload;if(typeof z==="function"){EK();var W=z.call(Y,G,J);{if(Z.mode&V1){G4(!0);try{z.call(Y,G,J)}finally{G4(!1)}}fK()}return W}return z}case qY:Z.flags=Z.flags&~d4|c0;case dK:{var K=Q.payload,q;if(typeof K==="function"){EK(),q=K.call(Y,G,J);{if(Z.mode&V1){G4(!0);try{K.call(Y,G,J)}finally{G4(!1)}}fK()}}else q=K;if(q===null||q===void 0)return G;return C0({},G,q)}case JQ:return YQ=!0,G}return G}function KQ(Z,X,Q,G){var J=Z.updateQueue;YQ=!1,zQ=J.shared;var{firstBaseUpdate:Y,lastBaseUpdate:z}=J,W=J.shared.pending;if(W!==null){J.shared.pending=null;var K=W,q=K.next;if(K.next=null,z===null)Y=q;else z.next=q;z=K;var B=Z.alternate;if(B!==null){var R=B.updateQueue,O=R.lastBaseUpdate;if(O!==z){if(O===null)R.firstBaseUpdate=q;else O.next=q;R.lastBaseUpdate=K}}}if(Y!==null){var F=J.baseState,w=D,V=null,f=null,t=null,r=Y;do{var{lane:j0,eventTime:S0}=r;if(!K7(G,j0)){var A={eventTime:S0,lane:j0,tag:r.tag,payload:r.payload,callback:r.callback,next:null};if(t===null)f=t=A,V=F;else t=t.next=A;w=P0(w,j0)}else{if(t!==null){var S={eventTime:S0,lane:J4,tag:r.tag,payload:r.payload,callback:r.callback,next:null};t=t.next=S}F=bR(Z,J,r,F,X,Q);var L=r.callback;if(L!==null&&r.lane!==J4){Z.flags|=VG;var C=J.effects;if(C===null)J.effects=[r];else C.push(r)}}if(r=r.next,r===null)if(W=J.shared.pending,W===null)break;else{var i=W,d=i.next;i.next=null,r=d,J.lastBaseUpdate=i,J.shared.pending=null}}while(!0);if(t===null)V=F;J.baseState=V,J.firstBaseUpdate=f,J.lastBaseUpdate=t;var K0=J.shared.interleaved;if(K0!==null){var A0=K0;do w=P0(w,A0.lane),A0=A0.next;while(A0!==K0)}else if(Y===null)J.shared.lanes=D;kZ(w),Z.lanes=w,Z.memoizedState=F}zQ=null}function DR(Z,X){if(typeof Z!=="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+Z));Z.call(X)}function cK(){YQ=!1}function UQ(){return YQ}function iK(Z,X,Q){var G=X.effects;if(X.effects=null,G!==null)for(var J=0;J<G.length;J++){var Y=G[J],z=Y.callback;if(z!==null)Y.callback=null,DR(z,Q)}}var JZ={},t5=o5(JZ),YZ=o5(JZ),qQ=o5(JZ);function BQ(Z){if(Z===JZ)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return Z}function lK(){var Z=BQ(qQ.current);return Z}function HY(Z,X){h4(qQ,X,Z),h4(YZ,Z,Z),h4(t5,JZ,Z);var Q=pH(X);C4(t5,Z),h4(t5,Q,Z)}function j7(Z){C4(t5,Z),C4(YZ,Z),C4(qQ,Z)}function OY(){var Z=BQ(t5.current);return Z}function pK(Z){var X=BQ(qQ.current),Q=BQ(t5.current),G=oH(Q,Z.type);if(Q===G)return;h4(YZ,Z,Z),h4(t5,G,Z)}function RY(Z){if(YZ.current!==Z)return;C4(t5,Z),C4(YZ,Z)}var kR=0,oK=1,sK=1,zZ=2,f8=o5(kR);function AY(Z,X){return(Z&X)!==0}function S7(Z){return Z&oK}function LY(Z,X){return Z&oK|X}function CR(Z,X){return Z|X}function e5(Z,X){h4(f8,X,Z)}function b7(Z){C4(f8,Z)}function hR(Z,X){var Q=Z.memoizedState;if(Q!==null){if(Q.dehydrated!==null)return!0;return!1}var G=Z.memoizedProps;return!0}function $Q(Z){var X=Z;while(X!==null){if(X.tag===q0){var Q=X.memoizedState;if(Q!==null){var G=Q.dehydrated;if(G===null||qK(G)||fJ(G))return X}}else if(X.tag===i0&&X.memoizedProps.revealOrder!==void 0){var J=(X.flags&c0)!==z0;if(J)return X}else if(X.child!==null){X.child.return=X,X=X.child;continue}if(X===Z)return null;while(X.sibling===null){if(X.return===null||X.return===Z)return null;X=X.return}X.sibling.return=X.return,X=X.sibling}return null}var e4=0,i1=1,e8=2,l1=4,H4=8,_Y=[];function PY(){for(var Z=0;Z<_Y.length;Z++){var X=_Y[Z];X._workInProgressVersionPrimary=null}_Y.length=0}function TR(Z,X){var Q=X._getVersion,G=Q(X._source);if(Z.mutableSourceEagerHydrationData==null)Z.mutableSourceEagerHydrationData=[X,G];else Z.mutableSourceEagerHydrationData.push(X,G)}var{ReactCurrentDispatcher:m,ReactCurrentBatchConfig:WZ}=e,FY,D7;FY=new Set;var g9=D,r0=null,p1=null,o1=null,MQ=!1,KZ=!1,UZ=0,xR=0,gR=25,b=null,w8=null,Z9=-1,wY=!1;function l0(){{var Z=b;if(w8===null)w8=[Z];else w8.push(Z)}}function g(){{var Z=b;if(w8!==null){if(Z9++,w8[Z9]!==Z)ER(Z)}}}function k7(Z){if(Z!==void 0&&Z!==null&&!m0(Z))$("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",b,typeof Z)}function ER(Z){{var X=_0(r0);if(!FY.has(X)){if(FY.add(X),w8!==null){var Q="",G=30;for(var J=0;J<=Z9;J++){var Y=w8[J],z=J===Z9?Z:Y,W=J+1+". "+Y;while(W.length<G)W+=" ";W+=z+`
|
|
`,Q+=W}$(`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
|
|
|
|
Previous render Next render
|
|
------------------------------------------------------
|
|
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`,X,Q)}}}}function T4(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
2. You might be breaking the Rules of Hooks
|
|
3. You might have more than one copy of React in the same app
|
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function IY(Z,X){if(wY)return!1;if(X===null)return $("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",b),!1;if(Z.length!==X.length)$(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
|
|
Previous: %s
|
|
Incoming: %s`,b,"["+X.join(", ")+"]","["+Z.join(", ")+"]");for(var Q=0;Q<X.length&&Q<Z.length;Q++){if(B8(Z[Q],X[Q]))continue;return!1}return!0}function C7(Z,X,Q,G,J,Y){if(g9=Y,r0=X,w8=Z!==null?Z._debugHookTypes:null,Z9=-1,wY=Z!==null&&Z.type!==X.type,X.memoizedState=null,X.updateQueue=null,X.lanes=D,Z!==null&&Z.memoizedState!==null)m.current=R2;else if(w8!==null)m.current=O2;else m.current=H2;var z=Q(G,J);if(KZ){var W=0;do{if(KZ=!1,UZ=0,W>=gR)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");W+=1,wY=!1,p1=null,o1=null,X.updateQueue=null,Z9=-1,m.current=A2,z=Q(G,J)}while(KZ)}m.current=bQ,X._debugHookTypes=w8;var K=p1!==null&&p1.next!==null;if(g9=D,r0=null,p1=null,o1=null,b=null,w8=null,Z9=-1,Z!==null&&(Z.flags&O5)!==(X.flags&O5)&&(Z.mode&T0)!==Y0)$("Internal React error: Expected static flag was missing. Please notify the React team.");if(MQ=!1,K)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return z}function h7(){var Z=UZ!==0;return UZ=0,Z}function aK(Z,X,Q){if(X.updateQueue=Z.updateQueue,(X.mode&a8)!==Y0)X.flags&=~(zX|H5|C8|g0);else X.flags&=~(C8|g0);Z.lanes=MX(Z.lanes,Q)}function rK(){if(m.current=bQ,MQ){var Z=r0.memoizedState;while(Z!==null){var X=Z.queue;if(X!==null)X.pending=null;Z=Z.next}MQ=!1}g9=D,r0=null,p1=null,o1=null,w8=null,Z9=-1,b=null,U2=!1,KZ=!1,UZ=0}function Z5(){var Z={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};if(o1===null)r0.memoizedState=o1=Z;else o1=o1.next=Z;return o1}function I8(){var Z;if(p1===null){var X=r0.alternate;if(X!==null)Z=X.memoizedState;else Z=null}else Z=p1.next;var Q;if(o1===null)Q=r0.memoizedState;else Q=o1.next;if(Q!==null)o1=Q,Q=o1.next,p1=Z;else{if(Z===null)throw new Error("Rendered more hooks than during the previous render.");p1=Z;var G={memoizedState:p1.memoizedState,baseState:p1.baseState,baseQueue:p1.baseQueue,queue:p1.queue,next:null};if(o1===null)r0.memoizedState=o1=G;else o1=o1.next=G}return o1}function nK(){return{lastEffect:null,stores:null}}function NY(Z,X){return typeof X==="function"?X(Z):X}function VY(Z,X,Q){var G=Z5(),J;if(Q!==void 0)J=Q(X);else J=X;G.memoizedState=G.baseState=J;var Y={pending:null,interleaved:null,lanes:D,dispatch:null,lastRenderedReducer:Z,lastRenderedState:J};G.queue=Y;var z=Y.dispatch=vR.bind(null,r0,Y);return[G.memoizedState,z]}function jY(Z,X,Q){var G=I8(),J=G.queue;if(J===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");J.lastRenderedReducer=Z;var Y=p1,z=Y.baseQueue,W=J.pending;if(W!==null){if(z!==null){var K=z.next,q=W.next;z.next=q,W.next=K}if(Y.baseQueue!==z)$("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React.");Y.baseQueue=z=W,J.pending=null}if(z!==null){var B=z.next,R=Y.baseState,O=null,F=null,w=null,V=B;do{var f=V.lane;if(!K7(g9,f)){var t={lane:f,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null};if(w===null)F=w=t,O=R;else w=w.next=t;r0.lanes=P0(r0.lanes,f),kZ(f)}else{if(w!==null){var r={lane:J4,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null};w=w.next=r}if(V.hasEagerState)R=V.eagerState;else{var j0=V.action;R=Z(R,j0)}}V=V.next}while(V!==null&&V!==B);if(w===null)O=R;else w.next=F;if(!B8(R,G.memoizedState))LZ();G.memoizedState=R,G.baseState=O,G.baseQueue=w,J.lastRenderedState=R}var S0=J.interleaved;if(S0!==null){var A=S0;do{var S=A.lane;r0.lanes=P0(r0.lanes,S),kZ(S),A=A.next}while(A!==S0)}else if(z===null)J.lanes=D;var L=J.dispatch;return[G.memoizedState,L]}function SY(Z,X,Q){var G=I8(),J=G.queue;if(J===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");J.lastRenderedReducer=Z;var{dispatch:Y,pending:z}=J,W=G.memoizedState;if(z!==null){J.pending=null;var K=z.next,q=K;do{var B=q.action;W=Z(W,B),q=q.next}while(q!==K);if(!B8(W,G.memoizedState))LZ();if(G.memoizedState=W,G.baseQueue===null)G.baseState=W;J.lastRenderedState=W}return[W,Y]}function bY(Z,X,Q){return}function HQ(Z,X,Q){return}function DY(Z,X,Q){var G=r0,J=Z5(),Y,z=M4();if(z){if(Q===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");if(Y=Q(),!D7){if(Y!==Q())$("The result of getServerSnapshot should be cached to avoid an infinite loop"),D7=!0}}else{if(Y=X(),!D7){var W=X();if(!B8(Y,W))$("The result of getSnapshot should be cached to avoid an infinite loop"),D7=!0}var K=oQ();if(K===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");if(!$X(K,g9))tK(G,X,Y)}J.memoizedState=Y;var q={value:Y,getSnapshot:X};return J.queue=q,_Q(Z2.bind(null,G,q,Z),[Z]),G.flags|=C8,qZ(i1|H4,eK.bind(null,G,q,Y,X),void 0,null),Y}function OQ(Z,X,Q){var G=r0,J=I8(),Y=X();if(!D7){var z=X();if(!B8(Y,z))$("The result of getSnapshot should be cached to avoid an infinite loop"),D7=!0}var W=J.memoizedState,K=!B8(W,Y);if(K)J.memoizedState=Y,LZ();var q=J.queue;if($Z(Z2.bind(null,G,q,Z),[Z]),q.getSnapshot!==X||K||o1!==null&&o1.memoizedState.tag&i1){G.flags|=C8,qZ(i1|H4,eK.bind(null,G,q,Y,X),void 0,null);var B=oQ();if(B===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");if(!$X(B,g9))tK(G,X,Y)}return Y}function tK(Z,X,Q){Z.flags|=YX;var G={getSnapshot:X,value:Q},J=r0.updateQueue;if(J===null)J=nK(),r0.updateQueue=J,J.stores=[G];else{var Y=J.stores;if(Y===null)J.stores=[G];else Y.push(G)}}function eK(Z,X,Q,G){if(X.value=Q,X.getSnapshot=G,X2(X))Q2(Z)}function Z2(Z,X,Q){var G=function(){if(X2(X))Q2(Z)};return Q(G)}function X2(Z){var{getSnapshot:X,value:Q}=Z;try{var G=X();return!B8(Q,G)}catch(J){return!0}}function Q2(Z){var X=t4(Z,H0);if(X!==null)n1(X,Z,H0,U1)}function RQ(Z){var X=Z5();if(typeof Z==="function")Z=Z();X.memoizedState=X.baseState=Z;var Q={pending:null,interleaved:null,lanes:D,dispatch:null,lastRenderedReducer:NY,lastRenderedState:Z};X.queue=Q;var G=Q.dispatch=dR.bind(null,r0,Q);return[X.memoizedState,G]}function kY(Z){return jY(NY)}function CY(Z){return SY(NY)}function qZ(Z,X,Q,G){var J={tag:Z,create:X,destroy:Q,deps:G,next:null},Y=r0.updateQueue;if(Y===null)Y=nK(),r0.updateQueue=Y,Y.lastEffect=J.next=J;else{var z=Y.lastEffect;if(z===null)Y.lastEffect=J.next=J;else{var W=z.next;z.next=J,J.next=W,Y.lastEffect=J}}return J}function hY(Z){var X=Z5();{var Q={current:Z};return X.memoizedState=Q,Q}}function AQ(Z){var X=I8();return X.memoizedState}function BZ(Z,X,Q,G){var J=Z5(),Y=G===void 0?null:G;r0.flags|=Z,J.memoizedState=qZ(i1|X,Q,void 0,Y)}function LQ(Z,X,Q,G){var J=I8(),Y=G===void 0?null:G,z=void 0;if(p1!==null){var W=p1.memoizedState;if(z=W.destroy,Y!==null){var K=W.deps;if(IY(Y,K)){J.memoizedState=qZ(X,Q,z,Y);return}}}r0.flags|=Z,J.memoizedState=qZ(i1|X,Q,z,Y)}function _Q(Z,X){if((r0.mode&a8)!==Y0)return BZ(zX|C8|bG,H4,Z,X);else return BZ(C8|bG,H4,Z,X)}function $Z(Z,X){return LQ(C8,H4,Z,X)}function TY(Z,X){return BZ(g0,e8,Z,X)}function PQ(Z,X){return LQ(g0,e8,Z,X)}function xY(Z,X){var Q=g0;if(Q|=A9,(r0.mode&a8)!==Y0)Q|=H5;return BZ(Q,l1,Z,X)}function FQ(Z,X){return LQ(g0,l1,Z,X)}function G2(Z,X){if(typeof X==="function"){var Q=X,G=Z();return Q(G),function(){Q(null)}}else if(X!==null&&X!==void 0){var J=X;if(!J.hasOwnProperty("current"))$("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(J).join(", ")+"}");var Y=Z();return J.current=Y,function(){J.current=null}}}function gY(Z,X,Q){if(typeof X!=="function")$("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",X!==null?typeof X:"null");var G=Q!==null&&Q!==void 0?Q.concat([Z]):null,J=g0;if(J|=A9,(r0.mode&a8)!==Y0)J|=H5;return BZ(J,l1,G2.bind(null,X,Z),G)}function wQ(Z,X,Q){if(typeof X!=="function")$("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",X!==null?typeof X:"null");var G=Q!==null&&Q!==void 0?Q.concat([Z]):null;return LQ(g0,l1,G2.bind(null,X,Z),G)}function IQ(Z,X){}var NQ=IQ;function EY(Z,X){var Q=Z5(),G=X===void 0?null:X;return Q.memoizedState=[Z,G],Z}function VQ(Z,X){var Q=I8(),G=X===void 0?null:X,J=Q.memoizedState;if(J!==null){if(G!==null){var Y=J[1];if(IY(G,Y))return J[0]}}return Q.memoizedState=[Z,G],Z}function fY(Z,X){var Q=Z5(),G=X===void 0?null:X,J=Z();return Q.memoizedState=[J,G],J}function jQ(Z,X){var Q=I8(),G=X===void 0?null:X,J=Q.memoizedState;if(J!==null){if(G!==null){var Y=J[1];if(IY(G,Y))return J[0]}}var z=Z();return Q.memoizedState=[z,G],z}function uY(Z){var X=Z5();return X.memoizedState=Z,Z}function J2(Z){var X=I8(),Q=p1,G=Q.memoizedState;return z2(X,G,Z)}function Y2(Z){var X=I8();if(p1===null)return X.memoizedState=Z,Z;else{var Q=p1.memoizedState;return z2(X,Q,Z)}}function z2(Z,X,Q){var G=!w$(g9);if(G){if(!B8(Q,X)){var J=XW();r0.lanes=P0(r0.lanes,J),kZ(J),Z.baseState=!0}return X}else{if(Z.baseState)Z.baseState=!1,LZ();return Z.memoizedState=Q,Q}}function fR(Z,X,Q){var G=T8();Y4(C$(G,A5)),Z(!0);var J=WZ.transition;WZ.transition={};var Y=WZ.transition;WZ.transition._updatedFibers=new Set;try{Z(!1),X()}finally{if(Y4(G),WZ.transition=J,J===null&&Y._updatedFibers){var z=Y._updatedFibers.size;if(z>10)q1("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.");Y._updatedFibers.clear()}}}function vY(){var Z=RQ(!1),X=Z[0],Q=Z[1],G=fR.bind(null,Q),J=Z5();return J.memoizedState=G,[X,G]}function W2(){var Z=kY(),X=Z[0],Q=I8(),G=Q.memoizedState;return[X,G]}function K2(){var Z=CY(),X=Z[0],Q=I8(),G=Q.memoizedState;return[X,G]}var U2=!1;function uR(){return U2}function dY(){var Z=Z5(),X=oQ(),Q=X.identifierPrefix,G;if(M4()){var J=QR();G=":"+Q+"R"+J;var Y=UZ++;if(Y>0)G+="H"+Y.toString(32);G+=":"}else{var z=xR++;G=":"+Q+"r"+z.toString(32)+":"}return Z.memoizedState=G,G}function SQ(){var Z=I8(),X=Z.memoizedState;return X}function vR(Z,X,Q){if(typeof arguments[3]==="function")$("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var G=Y9(Z),J={lane:G,action:Q,hasEagerState:!1,eagerState:null,next:null};if(q2(Z))B2(X,J);else{var Y=vK(Z,X,J,G);if(Y!==null){var z=c4();n1(Y,Z,G,z),$2(Y,X,G)}}M2(Z,G)}function dR(Z,X,Q){if(typeof arguments[3]==="function")$("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var G=Y9(Z),J={lane:G,action:Q,hasEagerState:!1,eagerState:null,next:null};if(q2(Z))B2(X,J);else{var Y=Z.alternate;if(Z.lanes===D&&(Y===null||Y.lanes===D)){var z=X.lastRenderedReducer;if(z!==null){var W;W=m.current,m.current=u8;try{var K=X.lastRenderedState,q=z(K,Q);if(J.hasEagerState=!0,J.eagerState=q,B8(q,K)){VR(Z,X,J,G);return}}catch(O){}finally{m.current=W}}}var B=vK(Z,X,J,G);if(B!==null){var R=c4();n1(B,Z,G,R),$2(B,X,G)}}M2(Z,G)}function q2(Z){var X=Z.alternate;return Z===r0||X!==null&&X===r0}function B2(Z,X){KZ=MQ=!0;var Q=Z.pending;if(Q===null)X.next=X;else X.next=Q.next,Q.next=X;Z.pending=X}function $2(Z,X,Q){if(ZW(Q)){var G=X.lanes;G=QW(G,Z.pendingLanes);var J=P0(G,Q);X.lanes=J,JJ(Z,J)}}function M2(Z,X,Q){TG(Z,X)}var bQ={readContext:v1,useCallback:T4,useContext:T4,useEffect:T4,useImperativeHandle:T4,useInsertionEffect:T4,useLayoutEffect:T4,useMemo:T4,useReducer:T4,useRef:T4,useState:T4,useDebugValue:T4,useDeferredValue:T4,useTransition:T4,useMutableSource:T4,useSyncExternalStore:T4,useId:T4,unstable_isNewReconciler:f0},H2=null,O2=null,R2=null,A2=null,X5=null,u8=null,DQ=null;{var yY=function(){$("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().")},O0=function(){$("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};H2={readContext:function(Z){return v1(Z)},useCallback:function(Z,X){return b="useCallback",l0(),k7(X),EY(Z,X)},useContext:function(Z){return b="useContext",l0(),v1(Z)},useEffect:function(Z,X){return b="useEffect",l0(),k7(X),_Q(Z,X)},useImperativeHandle:function(Z,X,Q){return b="useImperativeHandle",l0(),k7(Q),gY(Z,X,Q)},useInsertionEffect:function(Z,X){return b="useInsertionEffect",l0(),k7(X),TY(Z,X)},useLayoutEffect:function(Z,X){return b="useLayoutEffect",l0(),k7(X),xY(Z,X)},useMemo:function(Z,X){b="useMemo",l0(),k7(X);var Q=m.current;m.current=X5;try{return fY(Z,X)}finally{m.current=Q}},useReducer:function(Z,X,Q){b="useReducer",l0();var G=m.current;m.current=X5;try{return VY(Z,X,Q)}finally{m.current=G}},useRef:function(Z){return b="useRef",l0(),hY(Z)},useState:function(Z){b="useState",l0();var X=m.current;m.current=X5;try{return RQ(Z)}finally{m.current=X}},useDebugValue:function(Z,X){return b="useDebugValue",l0(),IQ()},useDeferredValue:function(Z){return b="useDeferredValue",l0(),uY(Z)},useTransition:function(){return b="useTransition",l0(),vY()},useMutableSource:function(Z,X,Q){return b="useMutableSource",l0(),bY()},useSyncExternalStore:function(Z,X,Q){return b="useSyncExternalStore",l0(),DY(Z,X,Q)},useId:function(){return b="useId",l0(),dY()},unstable_isNewReconciler:f0},O2={readContext:function(Z){return v1(Z)},useCallback:function(Z,X){return b="useCallback",g(),EY(Z,X)},useContext:function(Z){return b="useContext",g(),v1(Z)},useEffect:function(Z,X){return b="useEffect",g(),_Q(Z,X)},useImperativeHandle:function(Z,X,Q){return b="useImperativeHandle",g(),gY(Z,X,Q)},useInsertionEffect:function(Z,X){return b="useInsertionEffect",g(),TY(Z,X)},useLayoutEffect:function(Z,X){return b="useLayoutEffect",g(),xY(Z,X)},useMemo:function(Z,X){b="useMemo",g();var Q=m.current;m.current=X5;try{return fY(Z,X)}finally{m.current=Q}},useReducer:function(Z,X,Q){b="useReducer",g();var G=m.current;m.current=X5;try{return VY(Z,X,Q)}finally{m.current=G}},useRef:function(Z){return b="useRef",g(),hY(Z)},useState:function(Z){b="useState",g();var X=m.current;m.current=X5;try{return RQ(Z)}finally{m.current=X}},useDebugValue:function(Z,X){return b="useDebugValue",g(),IQ()},useDeferredValue:function(Z){return b="useDeferredValue",g(),uY(Z)},useTransition:function(){return b="useTransition",g(),vY()},useMutableSource:function(Z,X,Q){return b="useMutableSource",g(),bY()},useSyncExternalStore:function(Z,X,Q){return b="useSyncExternalStore",g(),DY(Z,X,Q)},useId:function(){return b="useId",g(),dY()},unstable_isNewReconciler:f0},R2={readContext:function(Z){return v1(Z)},useCallback:function(Z,X){return b="useCallback",g(),VQ(Z,X)},useContext:function(Z){return b="useContext",g(),v1(Z)},useEffect:function(Z,X){return b="useEffect",g(),$Z(Z,X)},useImperativeHandle:function(Z,X,Q){return b="useImperativeHandle",g(),wQ(Z,X,Q)},useInsertionEffect:function(Z,X){return b="useInsertionEffect",g(),PQ(Z,X)},useLayoutEffect:function(Z,X){return b="useLayoutEffect",g(),FQ(Z,X)},useMemo:function(Z,X){b="useMemo",g();var Q=m.current;m.current=u8;try{return jQ(Z,X)}finally{m.current=Q}},useReducer:function(Z,X,Q){b="useReducer",g();var G=m.current;m.current=u8;try{return jY(Z,X,Q)}finally{m.current=G}},useRef:function(Z){return b="useRef",g(),AQ()},useState:function(Z){b="useState",g();var X=m.current;m.current=u8;try{return kY(Z)}finally{m.current=X}},useDebugValue:function(Z,X){return b="useDebugValue",g(),NQ()},useDeferredValue:function(Z){return b="useDeferredValue",g(),J2(Z)},useTransition:function(){return b="useTransition",g(),W2()},useMutableSource:function(Z,X,Q){return b="useMutableSource",g(),HQ()},useSyncExternalStore:function(Z,X,Q){return b="useSyncExternalStore",g(),OQ(Z,X)},useId:function(){return b="useId",g(),SQ()},unstable_isNewReconciler:f0},A2={readContext:function(Z){return v1(Z)},useCallback:function(Z,X){return b="useCallback",g(),VQ(Z,X)},useContext:function(Z){return b="useContext",g(),v1(Z)},useEffect:function(Z,X){return b="useEffect",g(),$Z(Z,X)},useImperativeHandle:function(Z,X,Q){return b="useImperativeHandle",g(),wQ(Z,X,Q)},useInsertionEffect:function(Z,X){return b="useInsertionEffect",g(),PQ(Z,X)},useLayoutEffect:function(Z,X){return b="useLayoutEffect",g(),FQ(Z,X)},useMemo:function(Z,X){b="useMemo",g();var Q=m.current;m.current=DQ;try{return jQ(Z,X)}finally{m.current=Q}},useReducer:function(Z,X,Q){b="useReducer",g();var G=m.current;m.current=DQ;try{return SY(Z,X,Q)}finally{m.current=G}},useRef:function(Z){return b="useRef",g(),AQ()},useState:function(Z){b="useState",g();var X=m.current;m.current=DQ;try{return CY(Z)}finally{m.current=X}},useDebugValue:function(Z,X){return b="useDebugValue",g(),NQ()},useDeferredValue:function(Z){return b="useDeferredValue",g(),Y2(Z)},useTransition:function(){return b="useTransition",g(),K2()},useMutableSource:function(Z,X,Q){return b="useMutableSource",g(),HQ()},useSyncExternalStore:function(Z,X,Q){return b="useSyncExternalStore",g(),OQ(Z,X)},useId:function(){return b="useId",g(),SQ()},unstable_isNewReconciler:f0},X5={readContext:function(Z){return yY(),v1(Z)},useCallback:function(Z,X){return b="useCallback",O0(),l0(),EY(Z,X)},useContext:function(Z){return b="useContext",O0(),l0(),v1(Z)},useEffect:function(Z,X){return b="useEffect",O0(),l0(),_Q(Z,X)},useImperativeHandle:function(Z,X,Q){return b="useImperativeHandle",O0(),l0(),gY(Z,X,Q)},useInsertionEffect:function(Z,X){return b="useInsertionEffect",O0(),l0(),TY(Z,X)},useLayoutEffect:function(Z,X){return b="useLayoutEffect",O0(),l0(),xY(Z,X)},useMemo:function(Z,X){b="useMemo",O0(),l0();var Q=m.current;m.current=X5;try{return fY(Z,X)}finally{m.current=Q}},useReducer:function(Z,X,Q){b="useReducer",O0(),l0();var G=m.current;m.current=X5;try{return VY(Z,X,Q)}finally{m.current=G}},useRef:function(Z){return b="useRef",O0(),l0(),hY(Z)},useState:function(Z){b="useState",O0(),l0();var X=m.current;m.current=X5;try{return RQ(Z)}finally{m.current=X}},useDebugValue:function(Z,X){return b="useDebugValue",O0(),l0(),IQ()},useDeferredValue:function(Z){return b="useDeferredValue",O0(),l0(),uY(Z)},useTransition:function(){return b="useTransition",O0(),l0(),vY()},useMutableSource:function(Z,X,Q){return b="useMutableSource",O0(),l0(),bY()},useSyncExternalStore:function(Z,X,Q){return b="useSyncExternalStore",O0(),l0(),DY(Z,X,Q)},useId:function(){return b="useId",O0(),l0(),dY()},unstable_isNewReconciler:f0},u8={readContext:function(Z){return yY(),v1(Z)},useCallback:function(Z,X){return b="useCallback",O0(),g(),VQ(Z,X)},useContext:function(Z){return b="useContext",O0(),g(),v1(Z)},useEffect:function(Z,X){return b="useEffect",O0(),g(),$Z(Z,X)},useImperativeHandle:function(Z,X,Q){return b="useImperativeHandle",O0(),g(),wQ(Z,X,Q)},useInsertionEffect:function(Z,X){return b="useInsertionEffect",O0(),g(),PQ(Z,X)},useLayoutEffect:function(Z,X){return b="useLayoutEffect",O0(),g(),FQ(Z,X)},useMemo:function(Z,X){b="useMemo",O0(),g();var Q=m.current;m.current=u8;try{return jQ(Z,X)}finally{m.current=Q}},useReducer:function(Z,X,Q){b="useReducer",O0(),g();var G=m.current;m.current=u8;try{return jY(Z,X,Q)}finally{m.current=G}},useRef:function(Z){return b="useRef",O0(),g(),AQ()},useState:function(Z){b="useState",O0(),g();var X=m.current;m.current=u8;try{return kY(Z)}finally{m.current=X}},useDebugValue:function(Z,X){return b="useDebugValue",O0(),g(),NQ()},useDeferredValue:function(Z){return b="useDeferredValue",O0(),g(),J2(Z)},useTransition:function(){return b="useTransition",O0(),g(),W2()},useMutableSource:function(Z,X,Q){return b="useMutableSource",O0(),g(),HQ()},useSyncExternalStore:function(Z,X,Q){return b="useSyncExternalStore",O0(),g(),OQ(Z,X)},useId:function(){return b="useId",O0(),g(),SQ()},unstable_isNewReconciler:f0},DQ={readContext:function(Z){return yY(),v1(Z)},useCallback:function(Z,X){return b="useCallback",O0(),g(),VQ(Z,X)},useContext:function(Z){return b="useContext",O0(),g(),v1(Z)},useEffect:function(Z,X){return b="useEffect",O0(),g(),$Z(Z,X)},useImperativeHandle:function(Z,X,Q){return b="useImperativeHandle",O0(),g(),wQ(Z,X,Q)},useInsertionEffect:function(Z,X){return b="useInsertionEffect",O0(),g(),PQ(Z,X)},useLayoutEffect:function(Z,X){return b="useLayoutEffect",O0(),g(),FQ(Z,X)},useMemo:function(Z,X){b="useMemo",O0(),g();var Q=m.current;m.current=u8;try{return jQ(Z,X)}finally{m.current=Q}},useReducer:function(Z,X,Q){b="useReducer",O0(),g();var G=m.current;m.current=u8;try{return SY(Z,X,Q)}finally{m.current=G}},useRef:function(Z){return b="useRef",O0(),g(),AQ()},useState:function(Z){b="useState",O0(),g();var X=m.current;m.current=u8;try{return CY(Z)}finally{m.current=X}},useDebugValue:function(Z,X){return b="useDebugValue",O0(),g(),NQ()},useDeferredValue:function(Z){return b="useDeferredValue",O0(),g(),Y2(Z)},useTransition:function(){return b="useTransition",O0(),g(),K2()},useMutableSource:function(Z,X,Q){return b="useMutableSource",O0(),g(),HQ()},useSyncExternalStore:function(Z,X,Q){return b="useSyncExternalStore",O0(),g(),OQ(Z,X)},useId:function(){return b="useId",O0(),g(),SQ()},unstable_isNewReconciler:f0}}var X9=t0.unstable_now,L2=0,kQ=-1,MZ=-1,CQ=-1,mY=!1,hQ=!1;function _2(){return mY}function yR(){hQ=!0}function mR(){mY=!1,hQ=!1}function cR(){mY=hQ,hQ=!1}function P2(){return L2}function F2(){L2=X9()}function cY(Z){if(MZ=X9(),Z.actualStartTime<0)Z.actualStartTime=X9()}function w2(Z){MZ=-1}function TQ(Z,X){if(MZ>=0){var Q=X9()-MZ;if(Z.actualDuration+=Q,X)Z.selfBaseDuration=Q;MZ=-1}}function Q5(Z){if(kQ>=0){var X=X9()-kQ;kQ=-1;var Q=Z.return;while(Q!==null){switch(Q.tag){case X0:var G=Q.stateNode;G.effectDuration+=X;return;case B1:var J=Q.stateNode;J.effectDuration+=X;return}Q=Q.return}}}function iY(Z){if(CQ>=0){var X=X9()-CQ;CQ=-1;var Q=Z.return;while(Q!==null){switch(Q.tag){case X0:var G=Q.stateNode;if(G!==null)G.passiveEffectDuration+=X;return;case B1:var J=Q.stateNode;if(J!==null)J.passiveEffectDuration+=X;return}Q=Q.return}}}function G5(){kQ=X9()}function lY(){CQ=X9()}function pY(Z){var X=Z.child;while(X)Z.actualDuration+=X.actualDuration,X=X.sibling}function v8(Z,X){if(Z&&Z.defaultProps){var Q=C0({},X),G=Z.defaultProps;for(var J in G)if(Q[J]===void 0)Q[J]=G[J];return Q}return X}var oY={},sY,aY,rY,nY,tY,I2,xQ,eY,Z3,X3,HZ;{sY=new Set,aY=new Set,rY=new Set,nY=new Set,eY=new Set,tY=new Set,Z3=new Set,X3=new Set,HZ=new Set;var N2=new Set;xQ=function(Z,X){if(Z===null||typeof Z==="function")return;var Q=X+"_"+Z;if(!N2.has(Q))N2.add(Q),$("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",X,Z)},I2=function(Z,X){if(X===void 0){var Q=E0(Z)||"Component";if(!tY.has(Q))tY.add(Q),$("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",Q)}},Object.defineProperty(oY,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(oY)}function Q3(Z,X,Q,G){var J=Z.memoizedState,Y=Q(G,J);{if(Z.mode&V1){G4(!0);try{Y=Q(G,J)}finally{G4(!1)}}I2(X,Y)}var z=Y===null||Y===void 0?J:C0({},J,Y);if(Z.memoizedState=z,Z.lanes===D){var W=Z.updateQueue;W.baseState=z}}var G3={isMounted:gB,enqueueSetState:function(Z,X,Q){var G=X7(Z),J=c4(),Y=Y9(G),z=N5(J,Y);if(z.payload=X,Q!==void 0&&Q!==null)xQ(Q,"setState"),z.callback=Q;var W=n5(G,z,Y);if(W!==null)n1(W,G,Y,J),WQ(W,G,Y);TG(G,Y)},enqueueReplaceState:function(Z,X,Q){var G=X7(Z),J=c4(),Y=Y9(G),z=N5(J,Y);if(z.tag=yK,z.payload=X,Q!==void 0&&Q!==null)xQ(Q,"replaceState"),z.callback=Q;var W=n5(G,z,Y);if(W!==null)n1(W,G,Y,J),WQ(W,G,Y);TG(G,Y)},enqueueForceUpdate:function(Z,X){var Q=X7(Z),G=c4(),J=Y9(Q),Y=N5(G,J);if(Y.tag=JQ,X!==void 0&&X!==null)xQ(X,"forceUpdate"),Y.callback=X;var z=n5(Q,Y,J);if(z!==null)n1(z,Q,J,G),WQ(z,Q,J);$$(Q,J)}};function V2(Z,X,Q,G,J,Y,z){var W=Z.stateNode;if(typeof W.shouldComponentUpdate==="function"){var K=W.shouldComponentUpdate(G,Y,z);{if(Z.mode&V1){G4(!0);try{K=W.shouldComponentUpdate(G,Y,z)}finally{G4(!1)}}if(K===void 0)$("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",E0(X)||"Component")}return K}if(X.prototype&&X.prototype.isPureReactComponent)return!E6(Q,G)||!E6(J,Y);return!0}function iR(Z,X,Q){var G=Z.stateNode;{var J=E0(X)||"Component",Y=G.render;if(!Y)if(X.prototype&&typeof X.prototype.render==="function")$("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",J);else $("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",J);if(G.getInitialState&&!G.getInitialState.isReactClassApproved&&!G.state)$("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",J);if(G.getDefaultProps&&!G.getDefaultProps.isReactClassApproved)$("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",J);if(G.propTypes)$("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",J);if(G.contextType)$("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",J);{if(X.childContextTypes&&!HZ.has(X)&&(Z.mode&V1)===Y0)HZ.add(X),$(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
|
|
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,J);if(X.contextTypes&&!HZ.has(X)&&(Z.mode&V1)===Y0)HZ.add(X),$(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
|
|
Learn more about this warning here: https://reactjs.org/link/legacy-context`,J);if(G.contextTypes)$("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",J);if(X.contextType&&X.contextTypes&&!Z3.has(X))Z3.add(X),$("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",J)}if(typeof G.componentShouldUpdate==="function")$("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",J);if(X.prototype&&X.prototype.isPureReactComponent&&typeof G.shouldComponentUpdate!=="undefined")$("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",E0(X)||"A pure component");if(typeof G.componentDidUnmount==="function")$("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",J);if(typeof G.componentDidReceiveProps==="function")$("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",J);if(typeof G.componentWillRecieveProps==="function")$("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",J);if(typeof G.UNSAFE_componentWillRecieveProps==="function")$("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",J);var z=G.props!==Q;if(G.props!==void 0&&z)$("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",J,J);if(G.defaultProps)$("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",J,J);if(typeof G.getSnapshotBeforeUpdate==="function"&&typeof G.componentDidUpdate!=="function"&&!rY.has(X))rY.add(X),$("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",E0(X));if(typeof G.getDerivedStateFromProps==="function")$("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",J);if(typeof G.getDerivedStateFromError==="function")$("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",J);if(typeof X.getSnapshotBeforeUpdate==="function")$("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",J);var W=G.state;if(W&&(typeof W!=="object"||m0(W)))$("%s.state: must be set to an object or null",J);if(typeof G.getChildContext==="function"&&typeof X.childContextTypes!=="object")$("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",J)}}function j2(Z,X){X.updater=G3,Z.stateNode=X,kB(X,Z),X._reactInternalInstance=oY}function S2(Z,X,Q){var G=!1,J=$8,Y=$8,z=X.contextType;if("contextType"in X){var W=z===null||z!==void 0&&z.$$typeof===p&&z._context===void 0;if(!W&&!X3.has(X)){X3.add(X);var K="";if(z===void 0)K=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.";else if(typeof z!=="object")K=" However, it is set to a "+typeof z+".";else if(z.$$typeof===k)K=" Did you accidentally pass the Context.Provider instead?";else if(z._context!==void 0)K=" Did you accidentally pass the Context.Consumer instead?";else K=" However, it is set to an object with keys {"+Object.keys(z).join(", ")+"}.";$("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",E0(X)||"Component",K)}}if(typeof z==="object"&&z!==null)Y=v1(z);else{J=L7(Z,X,!0);var q=X.contextTypes;G=q!==null&&q!==void 0,Y=G?_7(Z,J):$8}var B=new X(Q,Y);if(Z.mode&V1){G4(!0);try{B=new X(Q,Y)}finally{G4(!1)}}var R=Z.memoizedState=B.state!==null&&B.state!==void 0?B.state:null;j2(Z,B);{if(typeof X.getDerivedStateFromProps==="function"&&R===null){var O=E0(X)||"Component";if(!aY.has(O))aY.add(O),$("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",O,B.state===null?"null":"undefined",O)}if(typeof X.getDerivedStateFromProps==="function"||typeof B.getSnapshotBeforeUpdate==="function"){var F=null,w=null,V=null;if(typeof B.componentWillMount==="function"&&B.componentWillMount.__suppressDeprecationWarning!==!0)F="componentWillMount";else if(typeof B.UNSAFE_componentWillMount==="function")F="UNSAFE_componentWillMount";if(typeof B.componentWillReceiveProps==="function"&&B.componentWillReceiveProps.__suppressDeprecationWarning!==!0)w="componentWillReceiveProps";else if(typeof B.UNSAFE_componentWillReceiveProps==="function")w="UNSAFE_componentWillReceiveProps";if(typeof B.componentWillUpdate==="function"&&B.componentWillUpdate.__suppressDeprecationWarning!==!0)V="componentWillUpdate";else if(typeof B.UNSAFE_componentWillUpdate==="function")V="UNSAFE_componentWillUpdate";if(F!==null||w!==null||V!==null){var f=E0(X)||"Component",t=typeof X.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";if(!nY.has(f))nY.add(f),$(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
|
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
|
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
https://reactjs.org/link/unsafe-component-lifecycles`,f,t,F!==null?`
|
|
`+F:"",w!==null?`
|
|
`+w:"",V!==null?`
|
|
`+V:"")}}}if(G)RK(Z,J,Y);return B}function lR(Z,X){var Q=X.state;if(typeof X.componentWillMount==="function")X.componentWillMount();if(typeof X.UNSAFE_componentWillMount==="function")X.UNSAFE_componentWillMount();if(Q!==X.state)$("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",_0(Z)||"Component"),G3.enqueueReplaceState(X,X.state,null)}function b2(Z,X,Q,G){var J=X.state;if(typeof X.componentWillReceiveProps==="function")X.componentWillReceiveProps(Q,G);if(typeof X.UNSAFE_componentWillReceiveProps==="function")X.UNSAFE_componentWillReceiveProps(Q,G);if(X.state!==J){{var Y=_0(Z)||"Component";if(!sY.has(Y))sY.add(Y),$("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Y)}G3.enqueueReplaceState(X,X.state,null)}}function J3(Z,X,Q,G){iR(Z,X,Q);var J=Z.stateNode;J.props=Q,J.state=Z.memoizedState,J.refs={},$Y(Z);var Y=X.contextType;if(typeof Y==="object"&&Y!==null)J.context=v1(Y);else{var z=L7(Z,X,!0);J.context=_7(Z,z)}{if(J.state===Q){var W=E0(X)||"Component";if(!eY.has(W))eY.add(W),$("%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.",W)}if(Z.mode&V1)E8.recordLegacyContextWarning(Z,J);E8.recordUnsafeLifecycleWarnings(Z,J)}J.state=Z.memoizedState;var K=X.getDerivedStateFromProps;if(typeof K==="function")Q3(Z,X,K,Q),J.state=Z.memoizedState;if(typeof X.getDerivedStateFromProps!=="function"&&typeof J.getSnapshotBeforeUpdate!=="function"&&(typeof J.UNSAFE_componentWillMount==="function"||typeof J.componentWillMount==="function"))lR(Z,J),KQ(Z,Q,J,G),J.state=Z.memoizedState;if(typeof J.componentDidMount==="function"){var q=g0;if(q|=A9,(Z.mode&a8)!==Y0)q|=H5;Z.flags|=q}}function pR(Z,X,Q,G){var{stateNode:J,memoizedProps:Y}=Z;J.props=Y;var z=J.context,W=X.contextType,K=$8;if(typeof W==="object"&&W!==null)K=v1(W);else{var q=L7(Z,X,!0);K=_7(Z,q)}var B=X.getDerivedStateFromProps,R=typeof B==="function"||typeof J.getSnapshotBeforeUpdate==="function";if(!R&&(typeof J.UNSAFE_componentWillReceiveProps==="function"||typeof J.componentWillReceiveProps==="function")){if(Y!==Q||z!==K)b2(Z,J,Q,K)}cK();var O=Z.memoizedState,F=J.state=O;if(KQ(Z,Q,J,G),F=Z.memoizedState,Y===Q&&O===F&&!cX()&&!UQ()){if(typeof J.componentDidMount==="function"){var w=g0;if(w|=A9,(Z.mode&a8)!==Y0)w|=H5;Z.flags|=w}return!1}if(typeof B==="function")Q3(Z,X,B,Q),F=Z.memoizedState;var V=UQ()||V2(Z,X,Y,Q,O,F,K);if(V){if(!R&&(typeof J.UNSAFE_componentWillMount==="function"||typeof J.componentWillMount==="function")){if(typeof J.componentWillMount==="function")J.componentWillMount();if(typeof J.UNSAFE_componentWillMount==="function")J.UNSAFE_componentWillMount()}if(typeof J.componentDidMount==="function"){var f=g0;if(f|=A9,(Z.mode&a8)!==Y0)f|=H5;Z.flags|=f}}else{if(typeof J.componentDidMount==="function"){var t=g0;if(t|=A9,(Z.mode&a8)!==Y0)t|=H5;Z.flags|=t}Z.memoizedProps=Q,Z.memoizedState=F}return J.props=Q,J.state=F,J.context=K,V}function oR(Z,X,Q,G,J){var Y=X.stateNode;mK(Z,X);var z=X.memoizedProps,W=X.type===X.elementType?z:v8(X.type,z);Y.props=W;var K=X.pendingProps,q=Y.context,B=Q.contextType,R=$8;if(typeof B==="object"&&B!==null)R=v1(B);else{var O=L7(X,Q,!0);R=_7(X,O)}var F=Q.getDerivedStateFromProps,w=typeof F==="function"||typeof Y.getSnapshotBeforeUpdate==="function";if(!w&&(typeof Y.UNSAFE_componentWillReceiveProps==="function"||typeof Y.componentWillReceiveProps==="function")){if(z!==K||q!==R)b2(X,Y,G,R)}cK();var V=X.memoizedState,f=Y.state=V;if(KQ(X,G,Y,J),f=X.memoizedState,z===K&&V===f&&!cX()&&!UQ()&&!Q8){if(typeof Y.componentDidUpdate==="function"){if(z!==Z.memoizedProps||V!==Z.memoizedState)X.flags|=g0}if(typeof Y.getSnapshotBeforeUpdate==="function"){if(z!==Z.memoizedProps||V!==Z.memoizedState)X.flags|=O9}return!1}if(typeof F==="function")Q3(X,Q,F,G),f=X.memoizedState;var t=UQ()||V2(X,Q,W,G,V,f,R)||Q8;if(t){if(!w&&(typeof Y.UNSAFE_componentWillUpdate==="function"||typeof Y.componentWillUpdate==="function")){if(typeof Y.componentWillUpdate==="function")Y.componentWillUpdate(G,f,R);if(typeof Y.UNSAFE_componentWillUpdate==="function")Y.UNSAFE_componentWillUpdate(G,f,R)}if(typeof Y.componentDidUpdate==="function")X.flags|=g0;if(typeof Y.getSnapshotBeforeUpdate==="function")X.flags|=O9}else{if(typeof Y.componentDidUpdate==="function"){if(z!==Z.memoizedProps||V!==Z.memoizedState)X.flags|=g0}if(typeof Y.getSnapshotBeforeUpdate==="function"){if(z!==Z.memoizedProps||V!==Z.memoizedState)X.flags|=O9}X.memoizedProps=G,X.memoizedState=f}return Y.props=G,Y.state=f,Y.context=R,t}function E9(Z,X){return{value:Z,source:X,stack:Q6(X),digest:null}}function Y3(Z,X,Q){return{value:Z,source:null,stack:Q!=null?Q:null,digest:X!=null?X:null}}function sR(Z,X){return!0}function z3(Z,X){try{var Q=sR(Z,X);if(Q===!1)return;var{value:G,source:J,stack:Y}=X,z=Y!==null?Y:"";if(G!=null&&G._suppressLogging){if(Z.tag===Z0)return;console.error(G)}var W=J?_0(J):null,K=W?"The above error occurred in the <"+W+"> component:":"The above error occurred in one of your React components:",q;if(Z.tag===X0)q=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var B=_0(Z)||"Anonymous";q="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+B+".")}var R=K+`
|
|
`+z+`
|
|
|
|
`+(""+q);console.error(R)}catch(O){setTimeout(function(){throw O})}}var aR=typeof WeakMap==="function"?WeakMap:Map;function D2(Z,X,Q){var G=N5(U1,Q);G.tag=qY,G.payload={element:null};var J=X.value;return G.callback=function(){pL(J),z3(Z,X)},G}function W3(Z,X,Q){var G=N5(U1,Q);G.tag=qY;var J=Z.type.getDerivedStateFromError;if(typeof J==="function"){var Y=X.value;G.payload=function(){return J(Y)},G.callback=function(){yU(Z),z3(Z,X)}}var z=Z.stateNode;if(z!==null&&typeof z.componentDidCatch==="function")G.callback=function W(){if(yU(Z),z3(Z,X),typeof J!=="function")iL(this);var{value:K,stack:q}=X;if(this.componentDidCatch(K,{componentStack:q!==null?q:""}),typeof J!=="function"){if(!K8(Z.lanes,H0))$("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",_0(Z)||"Unknown")}};return G}function k2(Z,X,Q){var G=Z.pingCache,J;if(G===null)G=Z.pingCache=new aR,J=new Set,G.set(X,J);else if(J=G.get(X),J===void 0)J=new Set,G.set(X,J);if(!J.has(Q)){J.add(Q);var Y=oL.bind(null,Z,X,Q);if(h8)CZ(Z,Q);X.then(Y,Y)}}function rR(Z,X,Q,G){var J=Z.updateQueue;if(J===null){var Y=new Set;Y.add(Q),Z.updateQueue=Y}else J.add(Q)}function nR(Z,X){var Q=Z.tag;if((Z.mode&T0)===Y0&&(Q===R0||Q===Q0||Q===V0)){var G=Z.alternate;if(G)Z.updateQueue=G.updateQueue,Z.memoizedState=G.memoizedState,Z.lanes=G.lanes;else Z.updateQueue=null,Z.memoizedState=null}}function C2(Z){var X=Z;do{if(X.tag===q0&&hR(X))return X;X=X.return}while(X!==null);return null}function h2(Z,X,Q,G,J){if((Z.mode&T0)===Y0){if(Z===X)Z.flags|=d4;else{if(Z.flags|=c0,Q.flags|=jG,Q.flags&=~(CB|M6),Q.tag===Z0){var Y=Q.alternate;if(Y===null)Q.tag=W4;else{var z=N5(U1,H0);z.tag=JQ,n5(Q,z,H0)}}Q.lanes=P0(Q.lanes,H0)}return Z}return Z.flags|=d4,Z.lanes=J,Z}function tR(Z,X,Q,G,J){if(Q.flags|=M6,h8)CZ(Z,J);if(G!==null&&typeof G==="object"&&typeof G.then==="function"){var Y=G;if(nR(Q),M4()&&Q.mode&T0)IK();var z=C2(X);if(z!==null){if(z.flags&=~$5,h2(z,X,Q,Z,J),z.mode&T0)k2(Z,Y,J);rR(z,Z,Y);return}else{if(!F$(J)){k2(Z,Y,J),y3();return}var W=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.");G=W}}else if(M4()&&Q.mode&T0){IK();var K=C2(X);if(K!==null){if((K.flags&d4)===z0)K.flags|=$5;h2(K,X,Q,Z,J),tJ(E9(G,Q));return}}G=E9(G,Q),EL(G);var q=X;do{switch(q.tag){case X0:{var B=G;q.flags|=d4;var R=F6(J);q.lanes=P0(q.lanes,R);var O=D2(q,B,R);MY(q,O);return}case Z0:var F=G,w=q.type,V=q.stateNode;if((q.flags&c0)===z0&&(typeof w.getDerivedStateFromError==="function"||V!==null&&typeof V.componentDidCatch==="function"&&!hU(V))){q.flags|=d4;var f=F6(J);q.lanes=P0(q.lanes,f);var t=W3(q,F,f);MY(q,t);return}break}q=q.return}while(q!==null)}function eR(){return null}var OZ=e.ReactCurrentOwner,d8=!1,K3,RZ,U3,q3,B3,f9,$3,gQ,AZ;K3={},RZ={},U3={},q3={},B3={},f9=!1,$3={},gQ={},AZ={};function y4(Z,X,Q,G){if(Z===null)X.child=gK(X,null,Q,G);else X.child=I7(X,Z.child,Q,G)}function ZA(Z,X,Q,G){X.child=I7(X,Z.child,null,G),X.child=I7(X,null,Q,G)}function T2(Z,X,Q,G,J){if(X.type!==X.elementType){var Y=Q.propTypes;if(Y)x8(Y,G,"prop",E0(Q))}var z=Q.render,W=X.ref,K,q;V7(X,J),O6(X);{if(OZ.current=X,z8(!0),K=C7(Z,X,z,G,W,J),q=h7(),X.mode&V1){G4(!0);try{K=C7(Z,X,z,G,W,J),q=h7()}finally{G4(!1)}}z8(!1)}if(J7(),Z!==null&&!d8)return aK(Z,X,J),V5(Z,X,J);if(M4()&&q)pJ(X);return X.flags|=Q7,y4(Z,X,K,J),X.child}function x2(Z,X,Q,G,J){if(Z===null){var Y=Q.type;if(q_(Y)&&Q.compare===null&&Q.defaultProps===void 0){var z=Y;return z=d7(Y),X.tag=V0,X.type=z,O3(X,Y),g2(Z,X,z,G,J)}{var W=Y.propTypes;if(W)x8(W,G,"prop",E0(Y));if(Q.defaultProps!==void 0){var K=E0(Y)||"Unknown";if(!AZ[K])$("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",K),AZ[K]=!0}}var q=t3(Q.type,null,G,X,X.mode,J);return q.ref=X.ref,q.return=X,X.child=q,q}{var B=Q.type,R=B.propTypes;if(R)x8(R,G,"prop",E0(B))}var O=Z.child,F=F3(Z,J);if(!F){var w=O.memoizedProps,V=Q.compare;if(V=V!==null?V:E6,V(w,G)&&Z.ref===X.ref)return V5(Z,X,J)}X.flags|=Q7;var f=m9(O,G);return f.ref=X.ref,f.return=X,X.child=f,f}function g2(Z,X,Q,G,J){if(X.type!==X.elementType){var Y=X.elementType;if(Y.$$typeof===y0){var z=Y,W=z._payload,K=z._init;try{Y=K(W)}catch(R){Y=null}var q=Y&&Y.propTypes;if(q)x8(q,G,"prop",E0(Y))}}if(Z!==null){var B=Z.memoizedProps;if(E6(B,G)&&Z.ref===X.ref&&X.type===Z.type){if(d8=!1,X.pendingProps=G=B,!F3(Z,J))return X.lanes=Z.lanes,V5(Z,X,J);else if((Z.flags&jG)!==z0)d8=!0}}return M3(Z,X,Q,G,J)}function E2(Z,X,Q){var G=X.pendingProps,J=G.children,Y=Z!==null?Z.memoizedState:null;if(G.mode==="hidden"||G8)if((X.mode&T0)===Y0){var z={baseLanes:D,cachePool:null,transitions:null};X.memoizedState=z,sQ(X,Q)}else if(!K8(Q,W8)){var W=null,K;if(Y!==null){var q=Y.baseLanes;K=P0(q,Q)}else K=Q;X.lanes=X.childLanes=HX(W8);var B={baseLanes:K,cachePool:W,transitions:null};return X.memoizedState=B,X.updateQueue=null,sQ(X,K),null}else{var R={baseLanes:D,cachePool:null,transitions:null};X.memoizedState=R;var O=Y!==null?Y.baseLanes:Q;sQ(X,O)}else{var F;if(Y!==null)F=P0(Y.baseLanes,Q),X.memoizedState=null;else F=Q;sQ(X,F)}return y4(Z,X,J,Q),X.child}function XA(Z,X,Q){var G=X.pendingProps;return y4(Z,X,G,Q),X.child}function QA(Z,X,Q){var G=X.pendingProps.children;return y4(Z,X,G,Q),X.child}function GA(Z,X,Q){{X.flags|=g0;{var G=X.stateNode;G.effectDuration=0,G.passiveEffectDuration=0}}var J=X.pendingProps,Y=J.children;return y4(Z,X,Y,Q),X.child}function f2(Z,X){var Q=X.ref;if(Z===null&&Q!==null||Z!==null&&Z.ref!==Q)X.flags|=v5,X.flags|=SG}function M3(Z,X,Q,G,J){if(X.type!==X.elementType){var Y=Q.propTypes;if(Y)x8(Y,G,"prop",E0(Q))}var z;{var W=L7(X,Q,!0);z=_7(X,W)}var K,q;V7(X,J),O6(X);{if(OZ.current=X,z8(!0),K=C7(Z,X,Q,G,z,J),q=h7(),X.mode&V1){G4(!0);try{K=C7(Z,X,Q,G,z,J),q=h7()}finally{G4(!1)}}z8(!1)}if(J7(),Z!==null&&!d8)return aK(Z,X,J),V5(Z,X,J);if(M4()&&q)pJ(X);return X.flags|=Q7,y4(Z,X,K,J),X.child}function u2(Z,X,Q,G,J){{switch(V_(X)){case!1:{var{stateNode:Y,type:z}=X,W=new z(X.memoizedProps,Y.context),K=W.state;Y.updater.enqueueSetState(Y,K,null);break}case!0:{X.flags|=c0,X.flags|=d4;var q=new Error("Simulated error coming from DevTools"),B=F6(J);X.lanes=P0(X.lanes,B);var R=W3(X,E9(q,X),B);MY(X,R);break}}if(X.type!==X.elementType){var O=Q.propTypes;if(O)x8(O,G,"prop",E0(Q))}}var F;if(t8(Q))F=!0,lX(X);else F=!1;V7(X,J);var w=X.stateNode,V;if(w===null)fQ(Z,X),S2(X,Q,G),J3(X,Q,G,J),V=!0;else if(Z===null)V=pR(X,Q,G,J);else V=oR(Z,X,Q,G,J);var f=H3(Z,X,Q,V,F,J);{var t=X.stateNode;if(V&&t.props!==G){if(!f9)$("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",_0(X)||"a component");f9=!0}}return f}function H3(Z,X,Q,G,J,Y){f2(Z,X);var z=(X.flags&c0)!==z0;if(!G&&!z){if(J)_K(X,Q,!1);return V5(Z,X,Y)}var W=X.stateNode;OZ.current=X;var K;if(z&&typeof Q.getDerivedStateFromError!=="function")K=null,w2();else{O6(X);{if(z8(!0),K=W.render(),X.mode&V1){G4(!0);try{W.render()}finally{G4(!1)}}z8(!1)}J7()}if(X.flags|=Q7,Z!==null&&z)ZA(Z,X,K,Y);else y4(Z,X,K,Y);if(X.memoizedState=W.state,J)_K(X,Q,!0);return X.child}function v2(Z){var X=Z.stateNode;if(X.pendingContext)AK(Z,X.pendingContext,X.pendingContext!==X.context);else if(X.context)AK(Z,X.context,!1);HY(Z,X.containerInfo)}function JA(Z,X,Q){if(v2(X),Z===null)throw new Error("Should have a current fiber. This is a bug in React.");var{pendingProps:G,memoizedState:J}=X,Y=J.element;mK(Z,X),KQ(X,G,null,Q);var{memoizedState:z,stateNode:W}=X,K=z.element;if(J.isDehydrated){var q={element:K,isDehydrated:!1,cache:z.cache,pendingSuspenseBoundaries:z.pendingSuspenseBoundaries,transitions:z.transitions},B=X.updateQueue;if(B.baseState=q,X.memoizedState=q,X.flags&$5){var R=E9(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."),X);return d2(Z,X,K,Q,R)}else if(K!==Y){var O=E9(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),X);return d2(Z,X,K,Q,O)}else{KR(X);var F=gK(X,null,K,Q);X.child=F;var w=F;while(w)w.flags=w.flags&~u1|M5,w=w.sibling}}else{if(w7(),K===Y)return V5(Z,X,Q);y4(Z,X,K,Q)}return X.child}function d2(Z,X,Q,G,J){return w7(),tJ(J),X.flags|=$5,y4(Z,X,Q,G),X.child}function YA(Z,X,Q){if(pK(X),Z===null)nJ(X);var{type:G,pendingProps:J}=X,Y=Z!==null?Z.memoizedProps:null,z=J.children,W=TJ(G,J);if(W)z=null;else if(Y!==null&&TJ(G,Y))X.flags|=$6;return f2(Z,X),y4(Z,X,z,Q),X.child}function zA(Z,X){if(Z===null)nJ(X);return null}function WA(Z,X,Q,G){fQ(Z,X);var J=X.pendingProps,Y=Q,z=Y._payload,W=Y._init,K=W(z);X.type=K;var q=X.tag=B_(K),B=v8(K,J),R;switch(q){case R0:return O3(X,K),X.type=K=d7(K),R=M3(null,X,K,B,G),R;case Z0:return X.type=K=p3(K),R=u2(null,X,K,B,G),R;case Q0:return X.type=K=o3(K),R=T2(null,X,K,B,G),R;case X1:{if(X.type!==X.elementType){var O=K.propTypes;if(O)x8(O,B,"prop",E0(K))}return R=x2(null,X,K,v8(K.type,B),G),R}}var F="";if(K!==null&&typeof K==="object"&&K.$$typeof===y0)F=" Did you wrap a component in React.lazy() more than once?";throw new Error("Element type is invalid. Received a promise that resolves to: "+K+". "+("Lazy element type must resolve to a class or function."+F))}function KA(Z,X,Q,G,J){fQ(Z,X),X.tag=Z0;var Y;if(t8(Q))Y=!0,lX(X);else Y=!1;return V7(X,J),S2(X,Q,G),J3(X,Q,G,J),H3(null,X,Q,!0,Y,J)}function UA(Z,X,Q,G){fQ(Z,X);var J=X.pendingProps,Y;{var z=L7(X,Q,!1);Y=_7(X,z)}V7(X,G);var W,K;O6(X);{if(Q.prototype&&typeof Q.prototype.render==="function"){var q=E0(Q)||"Unknown";if(!K3[q])$("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.",q,q),K3[q]=!0}if(X.mode&V1)E8.recordLegacyContextWarning(X,null);z8(!0),OZ.current=X,W=C7(null,X,Q,J,Y,G),K=h7(),z8(!1)}if(J7(),X.flags|=Q7,typeof W==="object"&&W!==null&&typeof W.render==="function"&&W.$$typeof===void 0){var B=E0(Q)||"Unknown";if(!RZ[B])$("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.",B,B,B),RZ[B]=!0}if(typeof W==="object"&&W!==null&&typeof W.render==="function"&&W.$$typeof===void 0){{var R=E0(Q)||"Unknown";if(!RZ[R])$("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.",R,R,R),RZ[R]=!0}X.tag=Z0,X.memoizedState=null,X.updateQueue=null;var O=!1;if(t8(Q))O=!0,lX(X);else O=!1;return X.memoizedState=W.state!==null&&W.state!==void 0?W.state:null,$Y(X),j2(X,W),J3(X,Q,J,G),H3(null,X,Q,!0,O,G)}else{if(X.tag=R0,X.mode&V1){G4(!0);try{W=C7(null,X,Q,J,Y,G),K=h7()}finally{G4(!1)}}if(M4()&&K)pJ(X);return y4(null,X,W,G),O3(X,Q),X.child}}function O3(Z,X){{if(X){if(X.childContextTypes)$("%s(...): childContextTypes cannot be defined on a function component.",X.displayName||X.name||"Component")}if(Z.ref!==null){var Q="",G=E5();if(G)Q+=`
|
|
|
|
Check the render method of \``+G+"`.";var J=G||"",Y=Z._debugSource;if(Y)J=Y.fileName+":"+Y.lineNumber;if(!B3[J])B3[J]=!0,$("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",Q)}if(X.defaultProps!==void 0){var z=E0(X)||"Unknown";if(!AZ[z])$("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",z),AZ[z]=!0}if(typeof X.getDerivedStateFromProps==="function"){var W=E0(X)||"Unknown";if(!q3[W])$("%s: Function components do not support getDerivedStateFromProps.",W),q3[W]=!0}if(typeof X.contextType==="object"&&X.contextType!==null){var K=E0(X)||"Unknown";if(!U3[K])$("%s: Function components do not support contextType.",K),U3[K]=!0}}}var R3={dehydrated:null,treeContext:null,retryLane:J4};function A3(Z){return{baseLanes:Z,cachePool:eR(),transitions:null}}function qA(Z,X){var Q=null;return{baseLanes:P0(Z.baseLanes,X),cachePool:Q,transitions:Z.transitions}}function BA(Z,X,Q,G){if(X!==null){var J=X.memoizedState;if(J===null)return!1}return AY(Z,zZ)}function $A(Z,X){return MX(Z.childLanes,X)}function y2(Z,X,Q){var G=X.pendingProps;if(j_(X))X.flags|=c0;var J=f8.current,Y=!1,z=(X.flags&c0)!==z0;if(z||BA(J,Z))Y=!0,X.flags&=~c0;else if(Z===null||Z.memoizedState!==null)J=CR(J,sK);if(J=S7(J),e5(X,J),Z===null){nJ(X);var W=X.memoizedState;if(W!==null){var K=W.dehydrated;if(K!==null)return AA(X,K)}var{children:q,fallback:B}=G;if(Y){var R=MA(X,q,B,Q),O=X.child;return O.memoizedState=A3(Q),X.memoizedState=R3,R}else return L3(X,q)}else{var F=Z.memoizedState;if(F!==null){var w=F.dehydrated;if(w!==null)return LA(Z,X,z,G,w,F,Q)}if(Y){var{fallback:V,children:f}=G,t=OA(Z,X,f,V,Q),r=X.child,j0=Z.child.memoizedState;return r.memoizedState=j0===null?A3(Q):qA(j0,Q),r.childLanes=$A(Z,Q),X.memoizedState=R3,t}else{var S0=G.children,A=HA(Z,X,S0,Q);return X.memoizedState=null,A}}}function L3(Z,X,Q){var G=Z.mode,J={mode:"visible",children:X},Y=_3(J,G);return Y.return=Z,Z.child=Y,Y}function MA(Z,X,Q,G){var{mode:J,child:Y}=Z,z={mode:"hidden",children:X},W,K;if((J&T0)===Y0&&Y!==null){if(W=Y,W.childLanes=D,W.pendingProps=z,Z.mode&a0)W.actualDuration=0,W.actualStartTime=-1,W.selfBaseDuration=0,W.treeBaseDuration=0;K=W9(Q,J,G,null)}else W=_3(z,J),K=W9(Q,J,G,null);return W.return=Z,K.return=Z,W.sibling=K,Z.child=W,K}function _3(Z,X,Q){return cU(Z,X,D,null)}function m2(Z,X){return m9(Z,X)}function HA(Z,X,Q,G){var J=Z.child,Y=J.sibling,z=m2(J,{mode:"visible",children:Q});if((X.mode&T0)===Y0)z.lanes=G;if(z.return=X,z.sibling=null,Y!==null){var W=X.deletions;if(W===null)X.deletions=[Y],X.flags|=H9;else W.push(Y)}return X.child=z,z}function OA(Z,X,Q,G,J){var Y=X.mode,z=Z.child,W=z.sibling,K={mode:"hidden",children:Q},q;if((Y&T0)===Y0&&X.child!==z){var B=X.child;if(q=B,q.childLanes=D,q.pendingProps=K,X.mode&a0)q.actualDuration=0,q.actualStartTime=-1,q.selfBaseDuration=z.selfBaseDuration,q.treeBaseDuration=z.treeBaseDuration;X.deletions=null}else q=m2(z,K),q.subtreeFlags=z.subtreeFlags&O5;var R;if(W!==null)R=m9(W,G);else R=W9(G,Y,J,null),R.flags|=u1;return R.return=X,q.return=X,q.sibling=R,X.child=q,R}function EQ(Z,X,Q,G){if(G!==null)tJ(G);I7(X,Z.child,null,Q);var J=X.pendingProps,Y=J.children,z=L3(X,Y);return z.flags|=u1,X.memoizedState=null,z}function RA(Z,X,Q,G,J){var Y=X.mode,z={mode:"visible",children:Q},W=_3(z,Y),K=W9(G,Y,J,null);if(K.flags|=u1,W.return=X,K.return=X,W.sibling=K,X.child=W,(X.mode&T0)!==Y0)I7(X,Z.child,null,J);return K}function AA(Z,X,Q){if((Z.mode&T0)===Y0)$("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."),Z.lanes=HX(H0);else if(fJ(X))Z.lanes=HX(F9);else Z.lanes=HX(W8);return null}function LA(Z,X,Q,G,J,Y,z){if(!Q){if(zR(),(X.mode&T0)===Y0)return EQ(Z,X,z,null);if(fJ(J)){var W,K,q;{var B=IO(J);W=B.digest,K=B.message,q=B.stack}var R;if(K)R=new Error(K);else R=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var O=Y3(R,W,q);return EQ(Z,X,z,O)}var F=K8(z,Z.childLanes);if(d8||F){var w=oQ();if(w!==null){var V=D$(w,z);if(V!==J4&&V!==Y.retryLane){Y.retryLane=V;var f=U1;t4(Z,V),n1(w,Z,V,f)}}y3();var t=Y3(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 EQ(Z,X,z,t)}else if(qK(J)){X.flags|=c0,X.child=Z.child;var r=sL.bind(null,Z);return NO(J,r),null}else{UR(X,J,Y.treeContext);var j0=G.children,S0=L3(X,j0);return S0.flags|=M5,S0}}else if(X.flags&$5){X.flags&=~$5;var A=Y3(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return EQ(Z,X,z,A)}else if(X.memoizedState!==null)return X.child=Z.child,X.flags|=c0,null;else{var{children:S,fallback:L}=G,C=RA(Z,X,S,L,z),i=X.child;return i.memoizedState=A3(z),X.memoizedState=R3,C}}function c2(Z,X,Q){Z.lanes=P0(Z.lanes,X);var G=Z.alternate;if(G!==null)G.lanes=P0(G.lanes,X);KY(Z.return,X,Q)}function _A(Z,X,Q){var G=X;while(G!==null){if(G.tag===q0){var J=G.memoizedState;if(J!==null)c2(G,Q,Z)}else if(G.tag===i0)c2(G,Q,Z);else if(G.child!==null){G.child.return=G,G=G.child;continue}if(G===Z)return;while(G.sibling===null){if(G.return===null||G.return===Z)return;G=G.return}G.sibling.return=G.return,G=G.sibling}}function PA(Z){var X=Z,Q=null;while(X!==null){var G=X.alternate;if(G!==null&&$Q(G)===null)Q=X;X=X.sibling}return Q}function FA(Z){if(Z!==void 0&&Z!=="forwards"&&Z!=="backwards"&&Z!=="together"&&!$3[Z])if($3[Z]=!0,typeof Z==="string")switch(Z.toLowerCase()){case"together":case"forwards":case"backwards":{$('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',Z,Z.toLowerCase());break}case"forward":case"backward":{$('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',Z,Z.toLowerCase());break}default:$('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',Z);break}else $('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',Z)}function wA(Z,X){if(Z!==void 0&&!gQ[Z]){if(Z!=="collapsed"&&Z!=="hidden")gQ[Z]=!0,$('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',Z);else if(X!=="forwards"&&X!=="backwards")gQ[Z]=!0,$('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',Z)}}function i2(Z,X){{var Q=m0(Z),G=!Q&&typeof k8(Z)==="function";if(Q||G){var J=Q?"array":"iterable";return $("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>",J,X,J),!1}}return!0}function IA(Z,X){if((X==="forwards"||X==="backwards")&&Z!==void 0&&Z!==null&&Z!==!1)if(m0(Z)){for(var Q=0;Q<Z.length;Q++)if(!i2(Z[Q],Q))return}else{var G=k8(Z);if(typeof G==="function"){var J=G.call(Z);if(J){var Y=J.next(),z=0;for(;!Y.done;Y=J.next()){if(!i2(Y.value,z))return;z++}}}else $('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?',X)}}function P3(Z,X,Q,G,J){var Y=Z.memoizedState;if(Y===null)Z.memoizedState={isBackwards:X,rendering:null,renderingStartTime:0,last:G,tail:Q,tailMode:J};else Y.isBackwards=X,Y.rendering=null,Y.renderingStartTime=0,Y.last=G,Y.tail=Q,Y.tailMode=J}function l2(Z,X,Q){var G=X.pendingProps,J=G.revealOrder,Y=G.tail,z=G.children;FA(J),wA(Y,J),IA(z,J),y4(Z,X,z,Q);var W=f8.current,K=AY(W,zZ);if(K)W=LY(W,zZ),X.flags|=c0;else{var q=Z!==null&&(Z.flags&c0)!==z0;if(q)_A(X,X.child,Q);W=S7(W)}if(e5(X,W),(X.mode&T0)===Y0)X.memoizedState=null;else switch(J){case"forwards":{var B=PA(X.child),R;if(B===null)R=X.child,X.child=null;else R=B.sibling,B.sibling=null;P3(X,!1,R,B,Y);break}case"backwards":{var O=null,F=X.child;X.child=null;while(F!==null){var w=F.alternate;if(w!==null&&$Q(w)===null){X.child=F;break}var V=F.sibling;F.sibling=O,O=F,F=V}P3(X,!0,O,null,Y);break}case"together":{P3(X,!1,null,null,void 0);break}default:X.memoizedState=null}return X.child}function NA(Z,X,Q){HY(X,X.stateNode.containerInfo);var G=X.pendingProps;if(Z===null)X.child=I7(X,null,G,Q);else y4(Z,X,G,Q);return X.child}var p2=!1;function VA(Z,X,Q){var G=X.type,J=G._context,Y=X.pendingProps,z=X.memoizedProps,W=Y.value;{if(!("value"in Y)){if(!p2)p2=!0,$("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")}var K=X.type.propTypes;if(K)x8(K,Y,"prop","Context.Provider")}if(uK(X,J,W),z!==null){var q=z.value;if(B8(q,W)){if(z.children===Y.children&&!cX())return V5(Z,X,Q)}else wR(X,J,Q)}var B=Y.children;return y4(Z,X,B,Q),X.child}var o2=!1;function jA(Z,X,Q){var G=X.type;if(G._context===void 0){if(G!==G.Consumer){if(!o2)o2=!0,$("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")}}else G=G._context;var J=X.pendingProps,Y=J.children;if(typeof Y!=="function")$("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.");V7(X,Q);var z=v1(G);O6(X);var W;return OZ.current=X,z8(!0),W=Y(z),z8(!1),J7(),X.flags|=Q7,y4(Z,X,W,Q),X.child}function LZ(){d8=!0}function fQ(Z,X){if((X.mode&T0)===Y0){if(Z!==null)Z.alternate=null,X.alternate=null,X.flags|=u1}}function V5(Z,X,Q){if(Z!==null)X.dependencies=Z.dependencies;if(w2(),kZ(X.lanes),!K8(Q,X.childLanes))return null;return PR(Z,X),X.child}function SA(Z,X,Q){{var G=X.return;if(G===null)throw new Error("Cannot swap the root fiber.");if(Z.alternate=null,X.alternate=null,Q.index=X.index,Q.sibling=X.sibling,Q.return=X.return,Q.ref=X.ref,X===G.child)G.child=Q;else{var J=G.child;if(J===null)throw new Error("Expected parent to have a child.");while(J.sibling!==X)if(J=J.sibling,J===null)throw new Error("Expected to find the previous sibling.");J.sibling=Q}var Y=G.deletions;if(Y===null)G.deletions=[Z],G.flags|=H9;else Y.push(Z);return Q.flags|=u1,Q}}function F3(Z,X){var Q=Z.lanes;if(K8(Q,X))return!0;return!1}function bA(Z,X,Q){switch(X.tag){case X0:v2(X);var G=X.stateNode;w7();break;case l:pK(X);break;case Z0:{var J=X.type;if(t8(J))lX(X);break}case F0:HY(X,X.stateNode.containerInfo);break;case _1:{var Y=X.memoizedProps.value,z=X.type._context;uK(X,z,Y);break}case B1:{var W=K8(Q,X.childLanes);if(W)X.flags|=g0;{var K=X.stateNode;K.effectDuration=0,K.passiveEffectDuration=0}}break;case q0:{var q=X.memoizedState;if(q!==null){if(q.dehydrated!==null)return e5(X,S7(f8.current)),X.flags|=c0,null;var B=X.child,R=B.childLanes;if(K8(Q,R))return y2(Z,X,Q);else{e5(X,S7(f8.current));var O=V5(Z,X,Q);if(O!==null)return O.sibling;else return null}}else e5(X,S7(f8.current));break}case i0:{var F=(Z.flags&c0)!==z0,w=K8(Q,X.childLanes);if(F){if(w)return l2(Z,X,Q);X.flags|=c0}var V=X.memoizedState;if(V!==null)V.rendering=null,V.tail=null,V.lastEffect=null;if(e5(X,f8.current),w)break;else return null}case $1:case b0:return X.lanes=D,E2(Z,X,Q)}return V5(Z,X,Q)}function s2(Z,X,Q){if(X._debugNeedsRemount&&Z!==null)return SA(Z,X,t3(X.type,X.key,X.pendingProps,X._debugOwner||null,X.mode,X.lanes));if(Z!==null){var G=Z.memoizedProps,J=X.pendingProps;if(G!==J||cX()||X.type!==Z.type)d8=!0;else{var Y=F3(Z,Q);if(!Y&&(X.flags&c0)===z0)return d8=!1,bA(Z,X,Q);if((Z.flags&jG)!==z0)d8=!0;else d8=!1}}else if(d8=!1,M4()&&ZR(X)){var z=X.index,W=XR();wK(X,W,z)}switch(X.lanes=D,X.tag){case K1:return UA(Z,X,X.type,Q);case z4:{var K=X.elementType;return WA(Z,X,K,Q)}case R0:{var{type:q,pendingProps:B}=X,R=X.elementType===q?B:v8(q,B);return M3(Z,X,q,R,Q)}case Z0:{var{type:O,pendingProps:F}=X,w=X.elementType===O?F:v8(O,F);return u2(Z,X,O,w,Q)}case X0:return JA(Z,X,Q);case l:return YA(Z,X,Q);case N0:return zA(Z,X);case q0:return y2(Z,X,Q);case F0:return NA(Z,X,Q);case Q0:{var{type:V,pendingProps:f}=X,t=X.elementType===V?f:v8(V,f);return T2(Z,X,V,t,Q)}case d1:return XA(Z,X,Q);case w4:return QA(Z,X,Q);case B1:return GA(Z,X,Q);case _1:return VA(Z,X,Q);case p4:return jA(Z,X,Q);case X1:{var{type:r,pendingProps:j0}=X,S0=v8(r,j0);if(X.type!==X.elementType){var A=r.propTypes;if(A)x8(A,S0,"prop",E0(r))}return S0=v8(r.type,S0),x2(Z,X,r,S0,Q)}case V0:return g2(Z,X,X.type,X.pendingProps,Q);case W4:{var{type:S,pendingProps:L}=X,C=X.elementType===S?L:v8(S,L);return KA(Z,X,S,C,Q)}case i0:return l2(Z,X,Q);case I1:break;case $1:return E2(Z,X,Q)}throw new Error("Unknown unit of work tag ("+X.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function T7(Z){Z.flags|=g0}function a2(Z){Z.flags|=v5,Z.flags|=SG}var r2,w3,n2,t2;r2=function(Z,X,Q,G){var J=X.child;while(J!==null){if(J.tag===l||J.tag===N0)nH(Z,J.stateNode);else if(J.tag===F0);else if(J.child!==null){J.child.return=J,J=J.child;continue}if(J===X)return;while(J.sibling===null){if(J.return===null||J.return===X)return;J=J.return}J.sibling.return=J.return,J=J.sibling}},w3=function(Z,X){},n2=function(Z,X,Q,G,J){var Y=Z.memoizedProps;if(Y===G)return;var z=X.stateNode,W=OY(),K=eH(z,Q,Y,G,J,W);if(X.updateQueue=K,K)T7(X)},t2=function(Z,X,Q,G){if(Q!==G)T7(X)};function _Z(Z,X){if(M4())return;switch(Z.tailMode){case"hidden":{var Q=Z.tail,G=null;while(Q!==null){if(Q.alternate!==null)G=Q;Q=Q.sibling}if(G===null)Z.tail=null;else G.sibling=null;break}case"collapsed":{var J=Z.tail,Y=null;while(J!==null){if(J.alternate!==null)Y=J;J=J.sibling}if(Y===null)if(!X&&Z.tail!==null)Z.tail.sibling=null;else Z.tail=null;else Y.sibling=null;break}}}function O4(Z){var X=Z.alternate!==null&&Z.alternate.child===Z.child,Q=D,G=z0;if(!X){if((Z.mode&a0)!==Y0){var{actualDuration:J,selfBaseDuration:Y,child:z}=Z;while(z!==null)Q=P0(Q,P0(z.lanes,z.childLanes)),G|=z.subtreeFlags,G|=z.flags,J+=z.actualDuration,Y+=z.treeBaseDuration,z=z.sibling;Z.actualDuration=J,Z.treeBaseDuration=Y}else{var W=Z.child;while(W!==null)Q=P0(Q,P0(W.lanes,W.childLanes)),G|=W.subtreeFlags,G|=W.flags,W.return=Z,W=W.sibling}Z.subtreeFlags|=G}else{if((Z.mode&a0)!==Y0){var{selfBaseDuration:K,child:q}=Z;while(q!==null)Q=P0(Q,P0(q.lanes,q.childLanes)),G|=q.subtreeFlags&O5,G|=q.flags&O5,K+=q.treeBaseDuration,q=q.sibling;Z.treeBaseDuration=K}else{var B=Z.child;while(B!==null)Q=P0(Q,P0(B.lanes,B.childLanes)),G|=B.subtreeFlags&O5,G|=B.flags&O5,B.return=Z,B=B.sibling}Z.subtreeFlags|=G}return Z.childLanes=Q,X}function DA(Z,X,Q){if(HR()&&(X.mode&T0)!==Y0&&(X.flags&c0)===z0)return DK(X),w7(),X.flags|=$5|M6|d4,!1;var G=rX(X);if(Q!==null&&Q.dehydrated!==null)if(Z===null){if(!G)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($R(X),O4(X),(X.mode&a0)!==Y0){var J=Q!==null;if(J){var Y=X.child;if(Y!==null)X.treeBaseDuration-=Y.treeBaseDuration}}return!1}else{if(w7(),(X.flags&c0)===z0)X.memoizedState=null;if(X.flags|=g0,O4(X),(X.mode&a0)!==Y0){var z=Q!==null;if(z){var W=X.child;if(W!==null)X.treeBaseDuration-=W.treeBaseDuration}}return!1}else return kK(),!0}function e2(Z,X,Q){var G=X.pendingProps;switch(oJ(X),X.tag){case K1:case z4:case V0:case R0:case Q0:case d1:case w4:case B1:case p4:case X1:return O4(X),null;case Z0:{var J=X.type;if(t8(J))iX(X);return O4(X),null}case X0:{var Y=X.stateNode;if(j7(X),cJ(X),PY(),Y.pendingContext)Y.context=Y.pendingContext,Y.pendingContext=null;if(Z===null||Z.child===null){var z=rX(X);if(z)T7(X);else if(Z!==null){var W=Z.memoizedState;if(!W.isDehydrated||(X.flags&$5)!==z0)X.flags|=O9,kK()}}return w3(Z,X),O4(X),null}case l:{RY(X);var K=lK(),q=X.type;if(Z!==null&&X.stateNode!=null){if(n2(Z,X,q,G,K),Z.ref!==X.ref)a2(X)}else{if(!G){if(X.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 O4(X),null}var B=OY(),R=rX(X);if(R){if(qR(X,K,B))T7(X)}else{var O=rH(q,G,K,B,X);if(r2(O,X,!1,!1),X.stateNode=O,tH(O,q,G,K))T7(X)}if(X.ref!==null)a2(X)}return O4(X),null}case N0:{var F=G;if(Z&&X.stateNode!=null){var w=Z.memoizedProps;t2(Z,X,w,F)}else{if(typeof F!=="string"){if(X.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 V=lK(),f=OY(),t=rX(X);if(t){if(BR(X))T7(X)}else X.stateNode=ZO(F,V,f,X)}return O4(X),null}case q0:{b7(X);var r=X.memoizedState;if(Z===null||Z.memoizedState!==null&&Z.memoizedState.dehydrated!==null){var j0=DA(Z,X,r);if(!j0)if(X.flags&d4)return X;else return null}if((X.flags&c0)!==z0){if(X.lanes=Q,(X.mode&a0)!==Y0)pY(X);return X}var S0=r!==null,A=Z!==null&&Z.memoizedState!==null;if(S0!==A){if(S0){var S=X.child;if(S.flags|=R9,(X.mode&T0)!==Y0){var L=Z===null&&(X.memoizedProps.unstable_avoidThisFallback!==!0||!O8);if(L||AY(f8.current,sK))gL();else y3()}}}var C=X.updateQueue;if(C!==null)X.flags|=g0;if(O4(X),(X.mode&a0)!==Y0){if(S0){var i=X.child;if(i!==null)X.treeBaseDuration-=i.treeBaseDuration}}return null}case F0:if(j7(X),w3(Z,X),Z===null)oO(X.stateNode.containerInfo);return O4(X),null;case _1:var d=X.type._context;return WY(d,X),O4(X),null;case W4:{var K0=X.type;if(t8(K0))iX(X);return O4(X),null}case i0:{b7(X);var A0=X.memoizedState;if(A0===null)return O4(X),null;var n0=(X.flags&c0)!==z0,v0=A0.rendering;if(v0===null)if(!n0){var k1=fL()&&(Z===null||(Z.flags&c0)===z0);if(!k1){var d0=X.child;while(d0!==null){var j1=$Q(d0);if(j1!==null){n0=!0,X.flags|=c0,_Z(A0,!1);var x4=j1.updateQueue;if(x4!==null)X.updateQueue=x4,X.flags|=g0;return X.subtreeFlags=z0,FR(X,Q),e5(X,LY(f8.current,zZ)),X.child}d0=d0.sibling}}if(A0.tail!==null&&Q4()>FU())X.flags|=c0,n0=!0,_Z(A0,!1),X.lanes=nz}else _Z(A0,!1);else{if(!n0){var P4=$Q(v0);if(P4!==null){X.flags|=c0,n0=!0;var H8=P4.updateQueue;if(H8!==null)X.updateQueue=H8,X.flags|=g0;if(_Z(A0,!0),A0.tail===null&&A0.tailMode==="hidden"&&!v0.alternate&&!M4())return O4(X),null}else if(Q4()*2-A0.renderingStartTime>FU()&&Q!==W8)X.flags|=c0,n0=!0,_Z(A0,!1),X.lanes=nz}if(A0.isBackwards)v0.sibling=X.child,X.child=v0;else{var i4=A0.last;if(i4!==null)i4.sibling=v0;else X.child=v0;A0.last=v0}}if(A0.tail!==null){var l4=A0.tail;A0.rendering=l4,A0.tail=l4.sibling,A0.renderingStartTime=Q4(),l4.sibling=null;var g4=f8.current;if(n0)g4=LY(g4,zZ);else g4=S7(g4);return e5(X,g4),l4}return O4(X),null}case I1:break;case $1:case b0:{d3(X);var k5=X.memoizedState,y7=k5!==null;if(Z!==null){var gZ=Z.memoizedState,z5=gZ!==null;if(z5!==y7&&!G8)X.flags|=R9}if(!y7||(X.mode&T0)===Y0)O4(X);else if(K8(Y5,W8)){if(O4(X),X.subtreeFlags&(u1|g0))X.flags|=R9}return null}case D0:return null;case A1:return null}throw new Error("Unknown unit of work tag ("+X.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function kA(Z,X,Q){switch(oJ(X),X.tag){case Z0:{var G=X.type;if(t8(G))iX(X);var J=X.flags;if(J&d4){if(X.flags=J&~d4|c0,(X.mode&a0)!==Y0)pY(X);return X}return null}case X0:{var Y=X.stateNode;j7(X),cJ(X),PY();var z=X.flags;if((z&d4)!==z0&&(z&c0)===z0)return X.flags=z&~d4|c0,X;return null}case l:return RY(X),null;case q0:{b7(X);var W=X.memoizedState;if(W!==null&&W.dehydrated!==null){if(X.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");w7()}var K=X.flags;if(K&d4){if(X.flags=K&~d4|c0,(X.mode&a0)!==Y0)pY(X);return X}return null}case i0:return b7(X),null;case F0:return j7(X),null;case _1:var q=X.type._context;return WY(q,X),null;case $1:case b0:return d3(X),null;case D0:return null;default:return null}}function ZU(Z,X,Q){switch(oJ(X),X.tag){case Z0:{var G=X.type.childContextTypes;if(G!==null&&G!==void 0)iX(X);break}case X0:{var J=X.stateNode;j7(X),cJ(X),PY();break}case l:{RY(X);break}case F0:j7(X);break;case q0:b7(X);break;case i0:b7(X);break;case _1:var Y=X.type._context;WY(Y,X);break;case $1:case b0:d3(X);break}}var XU=null;XU=new Set;var uQ=!1,R4=!1,CA=typeof WeakSet==="function"?WeakSet:Set,o=null,x7=null,g7=null;function hA(Z){IG(null,function(){throw Z}),NG()}var TA=function(Z,X){if(X.props=Z.memoizedProps,X.state=Z.memoizedState,Z.mode&a0)try{G5(),X.componentWillUnmount()}finally{Q5(Z)}else X.componentWillUnmount()};function QU(Z,X){try{Q9(l1,Z)}catch(Q){W1(Z,X,Q)}}function I3(Z,X,Q){try{TA(Z,Q)}catch(G){W1(Z,X,G)}}function xA(Z,X,Q){try{Q.componentDidMount()}catch(G){W1(Z,X,G)}}function GU(Z,X){try{zU(Z)}catch(Q){W1(Z,X,Q)}}function E7(Z,X){var Q=Z.ref;if(Q!==null)if(typeof Q==="function"){var G;try{if(R8&&J8&&Z.mode&a0)try{G5(),G=Q(null)}finally{Q5(Z)}else G=Q(null)}catch(J){W1(Z,X,J)}if(typeof G==="function")$("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",_0(Z))}else Q.current=null}function vQ(Z,X,Q){try{Q()}catch(G){W1(Z,X,G)}}var JU=null,YU=!1;function gA(Z,X){JU=sH(Z.containerInfo),o=X,EA();var Q=YU;return YU=!1,JU=null,Q}function EA(){while(o!==null){var Z=o,X=Z.child;if((Z.subtreeFlags&DG)!==z0&&X!==null)X.return=Z,o=X;else fA()}}function fA(){while(o!==null){var Z=o;F1(Z);try{uA(Z)}catch(Q){W1(Z,Z.return,Q)}X4();var X=Z.sibling;if(X!==null){X.return=Z.return,o=X;return}o=Z.return}}function uA(Z){var{alternate:X,flags:Q}=Z;if((Q&O9)!==z0){switch(F1(Z),Z.tag){case R0:case Q0:case V0:break;case Z0:{if(X!==null){var{memoizedProps:G,memoizedState:J}=X,Y=Z.stateNode;if(Z.type===Z.elementType&&!f9){if(Y.props!==Z.memoizedProps)$("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.",_0(Z)||"instance");if(Y.state!==Z.memoizedState)$("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.",_0(Z)||"instance")}var z=Y.getSnapshotBeforeUpdate(Z.elementType===Z.type?G:v8(Z.type,G),J);{var W=XU;if(z===void 0&&!W.has(Z.type))W.add(Z.type),$("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",_0(Z))}Y.__reactInternalSnapshotBeforeUpdate=z}break}case X0:{{var K=Z.stateNode;_O(K.containerInfo)}break}case l:case N0:case F0:case W4: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.")}X4()}}function y8(Z,X,Q){var G=X.updateQueue,J=G!==null?G.lastEffect:null;if(J!==null){var Y=J.next,z=Y;do{if((z.tag&Z)===Z){var W=z.destroy;if(z.destroy=void 0,W!==void 0){if((Z&H4)!==e4)Z$(X);else if((Z&l1)!==e4)pz(X);if((Z&e8)!==e4)hZ(!0);if(vQ(X,Q,W),(Z&e8)!==e4)hZ(!1);if((Z&H4)!==e4)X$();else if((Z&l1)!==e4)oz()}}z=z.next}while(z!==Y)}}function Q9(Z,X){var Q=X.updateQueue,G=Q!==null?Q.lastEffect:null;if(G!==null){var J=G.next,Y=J;do{if((Y.tag&Z)===Z){if((Z&H4)!==e4)tB(X);else if((Z&l1)!==e4)Q$(X);var z=Y.create;if((Z&e8)!==e4)hZ(!0);if(Y.destroy=z(),(Z&e8)!==e4)hZ(!1);if((Z&H4)!==e4)eB();else if((Z&l1)!==e4)G$();{var W=Y.destroy;if(W!==void 0&&typeof W!=="function"){var K=void 0;if((Y.tag&l1)!==z0)K="useLayoutEffect";else if((Y.tag&e8)!==z0)K="useInsertionEffect";else K="useEffect";var q=void 0;if(W===null)q=" You returned null. If your effect does not require clean up, return undefined (or nothing).";else if(typeof W.then==="function")q=`
|
|
|
|
It looks like you wrote `+K+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
|
|
`+K+`(() => {
|
|
async function fetchData() {
|
|
// You can await here
|
|
const response = await MyAPI.getData(someId);
|
|
// ...
|
|
}
|
|
fetchData();
|
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
|
|
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`;else q=" You returned: "+W;$("%s must not return anything besides a function, which is used for clean-up.%s",K,q)}}}Y=Y.next}while(Y!==J)}}function vA(Z,X){if((X.flags&g0)!==z0)switch(X.tag){case B1:{var Q=X.stateNode.passiveEffectDuration,G=X.memoizedProps,J=G.id,Y=G.onPostCommit,z=P2(),W=X.alternate===null?"mount":"update";if(_2())W="nested-update";if(typeof Y==="function")Y(J,W,Q,z);var K=X.return;Z:while(K!==null){switch(K.tag){case X0:var q=K.stateNode;q.passiveEffectDuration+=Q;break Z;case B1:var B=K.stateNode;B.passiveEffectDuration+=Q;break Z}K=K.return}break}}}function dA(Z,X,Q,G){if((Q.flags&H6)!==z0)switch(Q.tag){case R0:case Q0:case V0:{if(!R4)if(Q.mode&a0)try{G5(),Q9(l1|i1,Q)}finally{Q5(Q)}else Q9(l1|i1,Q);break}case Z0:{var J=Q.stateNode;if(Q.flags&g0){if(!R4)if(X===null){if(Q.type===Q.elementType&&!f9){if(J.props!==Q.memoizedProps)$("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.",_0(Q)||"instance");if(J.state!==Q.memoizedState)$("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.",_0(Q)||"instance")}if(Q.mode&a0)try{G5(),J.componentDidMount()}finally{Q5(Q)}else J.componentDidMount()}else{var Y=Q.elementType===Q.type?X.memoizedProps:v8(Q.type,X.memoizedProps),z=X.memoizedState;if(Q.type===Q.elementType&&!f9){if(J.props!==Q.memoizedProps)$("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.",_0(Q)||"instance");if(J.state!==Q.memoizedState)$("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.",_0(Q)||"instance")}if(Q.mode&a0)try{G5(),J.componentDidUpdate(Y,z,J.__reactInternalSnapshotBeforeUpdate)}finally{Q5(Q)}else J.componentDidUpdate(Y,z,J.__reactInternalSnapshotBeforeUpdate)}}var W=Q.updateQueue;if(W!==null){if(Q.type===Q.elementType&&!f9){if(J.props!==Q.memoizedProps)$("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.",_0(Q)||"instance");if(J.state!==Q.memoizedState)$("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.",_0(Q)||"instance")}iK(Q,W,J)}break}case X0:{var K=Q.updateQueue;if(K!==null){var q=null;if(Q.child!==null)switch(Q.child.tag){case l:q=hJ(Q.child.stateNode);break;case Z0:q=Q.child.stateNode;break}iK(Q,K,q)}break}case l:{var B=Q.stateNode;if(X===null&&Q.flags&g0){var{type:R,memoizedProps:O}=Q;YO(B,R,O)}break}case N0:break;case F0:break;case B1:{{var F=Q.memoizedProps,w=F.onCommit,V=F.onRender,f=Q.stateNode.effectDuration,t=P2(),r=X===null?"mount":"update";if(_2())r="nested-update";if(typeof V==="function")V(Q.memoizedProps.id,r,Q.actualDuration,Q.treeBaseDuration,Q.actualStartTime,t);{if(typeof w==="function")w(Q.memoizedProps.id,r,f,t);mL(Q);var j0=Q.return;Z:while(j0!==null){switch(j0.tag){case X0:var S0=j0.stateNode;S0.effectDuration+=f;break Z;case B1:var A=j0.stateNode;A.effectDuration+=f;break Z}j0=j0.return}}}break}case q0:{sA(Z,Q);break}case i0:case W4:case I1:case $1:case b0:case A1: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.")}if(!R4){if(Q.flags&v5)zU(Q)}}function yA(Z){switch(Z.tag){case R0:case Q0:case V0:{if(Z.mode&a0)try{G5(),QU(Z,Z.return)}finally{Q5(Z)}else QU(Z,Z.return);break}case Z0:{var X=Z.stateNode;if(typeof X.componentDidMount==="function")xA(Z,Z.return,X);GU(Z,Z.return);break}case l:{GU(Z,Z.return);break}}}function mA(Z,X){var Q=null;{var G=Z;while(!0){if(G.tag===l){if(Q===null){Q=G;try{var J=G.stateNode;if(X)OO(J);else AO(G.stateNode,G.memoizedProps)}catch(z){W1(Z,Z.return,z)}}}else if(G.tag===N0){if(Q===null)try{var Y=G.stateNode;if(X)RO(Y);else LO(Y,G.memoizedProps)}catch(z){W1(Z,Z.return,z)}}else if((G.tag===$1||G.tag===b0)&&G.memoizedState!==null&&G!==Z);else if(G.child!==null){G.child.return=G,G=G.child;continue}if(G===Z)return;while(G.sibling===null){if(G.return===null||G.return===Z)return;if(Q===G)Q=null;G=G.return}if(Q===G)Q=null;G.sibling.return=G.return,G=G.sibling}}}function zU(Z){var X=Z.ref;if(X!==null){var Q=Z.stateNode,G;switch(Z.tag){case l:G=hJ(Q);break;default:G=Q}if(typeof X==="function"){var J;if(Z.mode&a0)try{G5(),J=X(G)}finally{Q5(Z)}else J=X(G);if(typeof J==="function")$("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",_0(Z))}else{if(!X.hasOwnProperty("current"))$("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",_0(Z));X.current=G}}}function cA(Z){var X=Z.alternate;if(X!==null)X.return=null;Z.return=null}function WU(Z){var X=Z.alternate;if(X!==null)Z.alternate=null,WU(X);{if(Z.child=null,Z.deletions=null,Z.sibling=null,Z.tag===l){var Q=Z.stateNode;if(Q!==null)rO(Q)}Z.stateNode=null,Z._debugOwner=null,Z.return=null,Z.dependencies=null,Z.memoizedProps=null,Z.memoizedState=null,Z.pendingProps=null,Z.stateNode=null,Z.updateQueue=null}}function iA(Z){var X=Z.return;while(X!==null){if(KU(X))return X;X=X.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 KU(Z){return Z.tag===l||Z.tag===X0||Z.tag===F0}function UU(Z){var X=Z;Z:while(!0){while(X.sibling===null){if(X.return===null||KU(X.return))return null;X=X.return}X.sibling.return=X.return,X=X.sibling;while(X.tag!==l&&X.tag!==N0&&X.tag!==K4){if(X.flags&u1)continue Z;if(X.child===null||X.tag===F0)continue Z;else X.child.return=X,X=X.child}if(!(X.flags&u1))return X.stateNode}}function lA(Z){var X=iA(Z);switch(X.tag){case l:{var Q=X.stateNode;if(X.flags&$6)UK(Q),X.flags&=~$6;var G=UU(Z);V3(Z,G,Q);break}case X0:case F0:{var J=X.stateNode.containerInfo,Y=UU(Z);N3(Z,Y,J);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function N3(Z,X,Q){var G=Z.tag,J=G===l||G===N0;if(J){var Y=Z.stateNode;if(X)BO(Q,Y,X);else UO(Q,Y)}else if(G===F0);else{var z=Z.child;if(z!==null){N3(z,X,Q);var W=z.sibling;while(W!==null)N3(W,X,Q),W=W.sibling}}}function V3(Z,X,Q){var G=Z.tag,J=G===l||G===N0;if(J){var Y=Z.stateNode;if(X)qO(Q,Y,X);else KO(Q,Y)}else if(G===F0);else{var z=Z.child;if(z!==null){V3(z,X,Q);var W=z.sibling;while(W!==null)V3(W,X,Q),W=W.sibling}}}var A4=null,m8=!1;function pA(Z,X,Q){{var G=X;Z:while(G!==null){switch(G.tag){case l:{A4=G.stateNode,m8=!1;break Z}case X0:{A4=G.stateNode.containerInfo,m8=!0;break Z}case F0:{A4=G.stateNode.containerInfo,m8=!0;break Z}}G=G.return}if(A4===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");qU(Z,X,Q),A4=null,m8=!1}cA(Q)}function G9(Z,X,Q){var G=Q.child;while(G!==null)qU(Z,X,G),G=G.sibling}function qU(Z,X,Q){switch(sB(Q),Q.tag){case l:if(!R4)E7(Q,X);case N0:{{var G=A4,J=m8;if(A4=null,G9(Z,X,Q),A4=G,m8=J,A4!==null)if(m8)MO(A4,Q.stateNode);else $O(A4,Q.stateNode)}return}case K4:{if(A4!==null)if(m8)HO(A4,Q.stateNode);else EJ(A4,Q.stateNode);return}case F0:{{var Y=A4,z=m8;A4=Q.stateNode.containerInfo,m8=!0,G9(Z,X,Q),A4=Y,m8=z}return}case R0:case Q0:case X1:case V0:{if(!R4){var W=Q.updateQueue;if(W!==null){var K=W.lastEffect;if(K!==null){var q=K.next,B=q;do{var R=B,O=R.destroy,F=R.tag;if(O!==void 0){if((F&e8)!==e4)vQ(Q,X,O);else if((F&l1)!==e4){if(pz(Q),Q.mode&a0)G5(),vQ(Q,X,O),Q5(Q);else vQ(Q,X,O);oz()}}B=B.next}while(B!==q)}}}G9(Z,X,Q);return}case Z0:{if(!R4){E7(Q,X);var w=Q.stateNode;if(typeof w.componentWillUnmount==="function")I3(Q,X,w)}G9(Z,X,Q);return}case I1:{G9(Z,X,Q);return}case $1:{if(Q.mode&T0){var V=R4;R4=V||Q.memoizedState!==null,G9(Z,X,Q),R4=V}else G9(Z,X,Q);break}default:{G9(Z,X,Q);return}}}function oA(Z){var X=Z.memoizedState}function sA(Z,X){var Q=X.memoizedState;if(Q===null){var G=X.alternate;if(G!==null){var J=G.memoizedState;if(J!==null){var Y=J.dehydrated;if(Y!==null)TO(Y)}}}}function BU(Z){var X=Z.updateQueue;if(X!==null){Z.updateQueue=null;var Q=Z.stateNode;if(Q===null)Q=Z.stateNode=new CA;X.forEach(function(G){var J=aL.bind(null,Z,G);if(!Q.has(G)){if(Q.add(G),h8)if(x7!==null&&g7!==null)CZ(g7,x7);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");G.then(J,J)}})}}function aA(Z,X,Q){x7=Q,g7=Z,F1(X),$U(X,Z),F1(X),x7=null,g7=null}function c8(Z,X,Q){var G=X.deletions;if(G!==null)for(var J=0;J<G.length;J++){var Y=G[J];try{pA(Z,X,Y)}catch(K){W1(Y,X,K)}}var z=pZ();if(X.subtreeFlags&kG){var W=X.child;while(W!==null)F1(W),$U(W,Z),W=W.sibling}F1(z)}function $U(Z,X,Q){var{alternate:G,flags:J}=Z;switch(Z.tag){case R0:case Q0:case X1:case V0:{if(c8(X,Z),J5(Z),J&g0){try{y8(e8|i1,Z,Z.return),Q9(e8|i1,Z)}catch(K0){W1(Z,Z.return,K0)}if(Z.mode&a0){try{G5(),y8(l1|i1,Z,Z.return)}catch(K0){W1(Z,Z.return,K0)}Q5(Z)}else try{y8(l1|i1,Z,Z.return)}catch(K0){W1(Z,Z.return,K0)}}return}case Z0:{if(c8(X,Z),J5(Z),J&v5){if(G!==null)E7(G,G.return)}return}case l:{if(c8(X,Z),J5(Z),J&v5){if(G!==null)E7(G,G.return)}{if(Z.flags&$6){var Y=Z.stateNode;try{UK(Y)}catch(K0){W1(Z,Z.return,K0)}}if(J&g0){var z=Z.stateNode;if(z!=null){var W=Z.memoizedProps,K=G!==null?G.memoizedProps:W,q=Z.type,B=Z.updateQueue;if(Z.updateQueue=null,B!==null)try{zO(z,B,q,K,W,Z)}catch(K0){W1(Z,Z.return,K0)}}}}return}case N0:{if(c8(X,Z),J5(Z),J&g0){if(Z.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{stateNode:R,memoizedProps:O}=Z,F=G!==null?G.memoizedProps:O;try{WO(R,F,O)}catch(K0){W1(Z,Z.return,K0)}}return}case X0:{if(c8(X,Z),J5(Z),J&g0){if(G!==null){var w=G.memoizedState;if(w.isDehydrated)try{hO(X.containerInfo)}catch(K0){W1(Z,Z.return,K0)}}}return}case F0:{c8(X,Z),J5(Z);return}case q0:{c8(X,Z),J5(Z);var V=Z.child;if(V.flags&R9){var{stateNode:f,memoizedState:t}=V,r=t!==null;if(f.isHidden=r,r){var j0=V.alternate!==null&&V.alternate.memoizedState!==null;if(!j0)xL()}}if(J&g0){try{oA(Z)}catch(K0){W1(Z,Z.return,K0)}BU(Z)}return}case $1:{var S0=G!==null&&G.memoizedState!==null;if(Z.mode&T0){var A=R4;R4=A||S0,c8(X,Z),R4=A}else c8(X,Z);if(J5(Z),J&R9){var{stateNode:S,memoizedState:L}=Z,C=L!==null,i=Z;if(S.isHidden=C,C){if(!S0){if((i.mode&T0)!==Y0){o=i;var d=i.child;while(d!==null)o=d,nA(d),d=d.sibling}}}mA(i,C)}return}case i0:{if(c8(X,Z),J5(Z),J&g0)BU(Z);return}case I1:return;default:{c8(X,Z),J5(Z);return}}}function J5(Z){var X=Z.flags;if(X&u1){try{lA(Z)}catch(Q){W1(Z,Z.return,Q)}Z.flags&=~u1}if(X&M5)Z.flags&=~M5}function rA(Z,X,Q){x7=Q,g7=X,o=Z,MU(Z,X,Q),x7=null,g7=null}function MU(Z,X,Q){var G=(Z.mode&T0)!==Y0;while(o!==null){var J=o,Y=J.child;if(J.tag===$1&&G){var z=J.memoizedState!==null,W=z||uQ;if(W){j3(Z,X,Q);continue}else{var K=J.alternate,q=K!==null&&K.memoizedState!==null,B=q||R4,R=uQ,O=R4;if(uQ=W,R4=B,R4&&!O)o=J,tA(J);var F=Y;while(F!==null)o=F,MU(F,X,Q),F=F.sibling;o=J,uQ=R,R4=O,j3(Z,X,Q);continue}}if((J.subtreeFlags&H6)!==z0&&Y!==null)Y.return=J,o=Y;else j3(Z,X,Q)}}function j3(Z,X,Q){while(o!==null){var G=o;if((G.flags&H6)!==z0){var J=G.alternate;F1(G);try{dA(X,J,G,Q)}catch(z){W1(G,G.return,z)}X4()}if(G===Z){o=null;return}var Y=G.sibling;if(Y!==null){Y.return=G.return,o=Y;return}o=G.return}}function nA(Z){while(o!==null){var X=o,Q=X.child;switch(X.tag){case R0:case Q0:case X1:case V0:{if(X.mode&a0)try{G5(),y8(l1,X,X.return)}finally{Q5(X)}else y8(l1,X,X.return);break}case Z0:{E7(X,X.return);var G=X.stateNode;if(typeof G.componentWillUnmount==="function")I3(X,X.return,G);break}case l:{E7(X,X.return);break}case $1:{var J=X.memoizedState!==null;if(J){HU(Z);continue}break}}if(Q!==null)Q.return=X,o=Q;else HU(Z)}}function HU(Z){while(o!==null){var X=o;if(X===Z){o=null;return}var Q=X.sibling;if(Q!==null){Q.return=X.return,o=Q;return}o=X.return}}function tA(Z){while(o!==null){var X=o,Q=X.child;if(X.tag===$1){var G=X.memoizedState!==null;if(G){OU(Z);continue}}if(Q!==null)Q.return=X,o=Q;else OU(Z)}}function OU(Z){while(o!==null){var X=o;F1(X);try{yA(X)}catch(G){W1(X,X.return,G)}if(X4(),X===Z){o=null;return}var Q=X.sibling;if(Q!==null){Q.return=X.return,o=Q;return}o=X.return}}function eA(Z,X,Q,G){o=X,ZL(X,Z,Q,G)}function ZL(Z,X,Q,G){while(o!==null){var J=o,Y=J.child;if((J.subtreeFlags&G7)!==z0&&Y!==null)Y.return=J,o=Y;else XL(Z,X,Q,G)}}function XL(Z,X,Q,G){while(o!==null){var J=o;if((J.flags&C8)!==z0){F1(J);try{QL(X,J,Q,G)}catch(z){W1(J,J.return,z)}X4()}if(J===Z){o=null;return}var Y=J.sibling;if(Y!==null){Y.return=J.return,o=Y;return}o=J.return}}function QL(Z,X,Q,G){switch(X.tag){case R0:case Q0:case V0:{if(X.mode&a0){lY();try{Q9(H4|i1,X)}finally{iY(X)}}else Q9(H4|i1,X);break}}}function GL(Z){o=Z,JL()}function JL(){while(o!==null){var Z=o,X=Z.child;if((o.flags&H9)!==z0){var Q=Z.deletions;if(Q!==null){for(var G=0;G<Q.length;G++){var J=Q[G];o=J,WL(J,Z)}{var Y=Z.alternate;if(Y!==null){var z=Y.child;if(z!==null){Y.child=null;do{var W=z.sibling;z.sibling=null,z=W}while(z!==null)}}}o=Z}}if((Z.subtreeFlags&G7)!==z0&&X!==null)X.return=Z,o=X;else YL()}}function YL(){while(o!==null){var Z=o;if((Z.flags&C8)!==z0)F1(Z),zL(Z),X4();var X=Z.sibling;if(X!==null){X.return=Z.return,o=X;return}o=Z.return}}function zL(Z){switch(Z.tag){case R0:case Q0:case V0:{if(Z.mode&a0)lY(),y8(H4|i1,Z,Z.return),iY(Z);else y8(H4|i1,Z,Z.return);break}}}function WL(Z,X){while(o!==null){var Q=o;F1(Q),UL(Q,X),X4();var G=Q.child;if(G!==null)G.return=Q,o=G;else KL(Z)}}function KL(Z){while(o!==null){var X=o,Q=X.sibling,G=X.return;if(WU(X),X===Z){o=null;return}if(Q!==null){Q.return=G,o=Q;return}o=G}}function UL(Z,X){switch(Z.tag){case R0:case Q0:case V0:{if(Z.mode&a0)lY(),y8(H4,Z,X),iY(Z);else y8(H4,Z,X);break}}}function qL(Z){switch(Z.tag){case R0:case Q0:case V0:{try{Q9(l1|i1,Z)}catch(Q){W1(Z,Z.return,Q)}break}case Z0:{var X=Z.stateNode;try{X.componentDidMount()}catch(Q){W1(Z,Z.return,Q)}break}}}function BL(Z){switch(Z.tag){case R0:case Q0:case V0:{try{Q9(H4|i1,Z)}catch(X){W1(Z,Z.return,X)}break}}}function $L(Z){switch(Z.tag){case R0:case Q0:case V0:{try{y8(l1|i1,Z,Z.return)}catch(Q){W1(Z,Z.return,Q)}break}case Z0:{var X=Z.stateNode;if(typeof X.componentWillUnmount==="function")I3(Z,Z.return,X);break}}}function ML(Z){switch(Z.tag){case R0:case Q0:case V0:try{y8(H4|i1,Z,Z.return)}catch(X){W1(Z,Z.return,X)}}}var HL=0,OL=1,RL=2,AL=3,LL=4;if(typeof Symbol==="function"&&Symbol.for){var PZ=Symbol.for;HL=PZ("selector.component"),OL=PZ("selector.has_pseudo_class"),RL=PZ("selector.role"),AL=PZ("selector.test_id"),LL=PZ("selector.text")}var _L=[];function PL(){_L.forEach(function(Z){return Z()})}var FL=e.ReactCurrentActQueue;function wL(Z){{var X=typeof IS_REACT_ACT_ENVIRONMENT!=="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0,Q=typeof jest!=="undefined";return Q&&X!==!1}}function RU(){{var Z=typeof IS_REACT_ACT_ENVIRONMENT!=="undefined"?IS_REACT_ACT_ENVIRONMENT:void 0;if(!Z&&FL.current!==null)$("The current testing environment is not configured to support act(...)");return Z}}var IL=Math.ceil,S3=e.ReactCurrentDispatcher,b3=e.ReactCurrentOwner,L4=e.ReactCurrentBatchConfig,i8=e.ReactCurrentActQueue,s1=0,AU=1,_4=2,N8=4,j5=0,FZ=1,u9=2,dQ=3,wZ=4,LU=5,D3=6,x0=s1,m4=null,w1=null,a1=D,Y5=D,k3=o5(D),r1=j5,IZ=null,C3=D,yQ=D,NZ=D,mQ=D,VZ=null,Z8=null,h3=0,_U=500,PU=1/0,NL=500,S5=null;function jZ(){PU=Q4()+NL}function FU(){return PU}var cQ=!1,T3=null,f7=null,v9=!1,J9=null,SZ=D,x3=[],g3=null,VL=50,bZ=0,E3=null,f3=!1,iQ=!1,jL=50,u7=0,lQ=null,DZ=U1,pQ=D,wU=!1;function oQ(){return m4}function c4(){if((x0&(_4|N8))!==s1)return Q4();if(DZ!==U1)return DZ;return DZ=Q4(),DZ}function Y9(Z){var X=Z.mode;if((X&T0)===Y0)return H0;else if((x0&_4)!==s1&&a1!==D)return F6(a1);var Q=AR()!==RR;if(Q){if(L4.transition!==null){var G=L4.transition;if(!G._updatedFibers)G._updatedFibers=new Set;G._updatedFibers.add(Z)}if(pQ===J4)pQ=XW();return pQ}var J=T8();if(J!==J4)return J;var Y=XO();return Y}function SL(Z){var X=Z.mode;if((X&T0)===Y0)return H0;return V$()}function n1(Z,X,Q,G){if(nL(),wU)$("useInsertionEffect must not schedule updates.");if(f3)iQ=!0;if(w6(Z,Q,G),(x0&_4)!==D&&Z===m4)Z_(X);else{if(h8)JW(Z,X,Q);if(X_(X),Z===m4){if((x0&_4)===s1)NZ=P0(NZ,Q);if(r1===wZ)z9(Z,a1)}if(X8(Z,G),Q===H0&&x0===s1&&(X.mode&T0)===Y0&&!i8.isBatchingLegacy)jZ(),FK()}}function bL(Z,X,Q){var G=Z.current;G.lanes=X,w6(Z,X,Q),X8(Z,Q)}function DL(Z){return(x0&_4)!==s1}function X8(Z,X){var Q=Z.callbackNode;_$(Z,X);var G=BX(Z,Z===m4?a1:D);if(G===D){if(Q!==null)uU(Q);Z.callbackNode=null,Z.callbackPriority=J4;return}var J=I9(G),Y=Z.callbackPriority;if(Y===J&&!(i8.current!==null&&Q!==i3)){if(Q==null&&Y!==H0)$("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}if(Q!=null)uU(Q);var z;if(J===H0){if(Z.tag===s5){if(i8.isBatchingLegacy!==null)i8.didScheduleLegacyUpdate=!0;eO(VU.bind(null,Z))}else PK(VU.bind(null,Z));if(i8.current!==null)i8.current.push(a5);else GO(function(){if((x0&(_4|N8))===s1)a5()});z=null}else{var W;switch(WW(G)){case U8:W=WX;break;case A5:W=CG;break;case L5:W=_9;break;case OX:W=hG;break;default:W=_9;break}z=l3(W,IU.bind(null,Z))}Z.callbackPriority=J,Z.callbackNode=z}function IU(Z,X){if(mR(),DZ=U1,pQ=D,(x0&(_4|N8))!==s1)throw new Error("Should not already be working.");var Q=Z.callbackNode,G=D5();if(G){if(Z.callbackNode!==Q)return null}var J=BX(Z,Z===m4?a1:D);if(J===D)return null;var Y=!$X(Z,J)&&!N$(Z,J)&&!X,z=Y?vL(Z,J):aQ(Z,J);if(z!==j5){if(z===u9){var W=ZJ(Z);if(W!==D)J=W,z=u3(Z,W)}if(z===FZ){var K=IZ;throw d9(Z,D),z9(Z,J),X8(Z,Q4()),K}if(z===D3)z9(Z,J);else{var q=!$X(Z,J),B=Z.current.alternate;if(q&&!CL(B)){if(z=aQ(Z,J),z===u9){var R=ZJ(Z);if(R!==D)J=R,z=u3(Z,R)}if(z===FZ){var O=IZ;throw d9(Z,D),z9(Z,J),X8(Z,Q4()),O}}Z.finishedWork=B,Z.finishedLanes=J,kL(Z,z,J)}}if(X8(Z,Q4()),Z.callbackNode===Q)return IU.bind(null,Z);return null}function u3(Z,X){var Q=VZ;if(RX(Z)){var G=d9(Z,X);G.flags|=$5,pO(Z.containerInfo)}var J=aQ(Z,X);if(J!==u9){var Y=Z8;if(Z8=Q,Y!==null)NU(Y)}return J}function NU(Z){if(Z8===null)Z8=Z;else Z8.push.apply(Z8,Z)}function kL(Z,X,Q){switch(X){case j5:case FZ:throw new Error("Root did not complete. This is a bug in React.");case u9:{y9(Z,Z8,S5);break}case dQ:{if(z9(Z,Q),ez(Q)&&!vU()){var G=h3+_U-Q4();if(G>10){var J=BX(Z,D);if(J!==D)break;var Y=Z.suspendedLanes;if(!K7(Y,Q)){var z=c4();GW(Z,Y);break}Z.timeoutHandle=xJ(y9.bind(null,Z,Z8,S5),G);break}}y9(Z,Z8,S5);break}case wZ:{if(z9(Z,Q),I$(Q))break;if(!vU()){var W=A$(Z,Q),K=W,q=Q4()-K,B=rL(q)-q;if(B>10){Z.timeoutHandle=xJ(y9.bind(null,Z,Z8,S5),B);break}}y9(Z,Z8,S5);break}case LU:{y9(Z,Z8,S5);break}default:throw new Error("Unknown root exit status.")}}function CL(Z){var X=Z;while(!0){if(X.flags&YX){var Q=X.updateQueue;if(Q!==null){var G=Q.stores;if(G!==null)for(var J=0;J<G.length;J++){var Y=G[J],z=Y.getSnapshot,W=Y.value;try{if(!B8(z(),W))return!1}catch(q){return!1}}}}var K=X.child;if(X.subtreeFlags&YX&&K!==null){K.return=X,X=K;continue}if(X===Z)return!0;while(X.sibling===null){if(X.return===null||X.return===Z)return!0;X=X.return}X.sibling.return=X.return,X=X.sibling}return!0}function z9(Z,X){X=MX(X,mQ),X=MX(X,NZ),S$(Z,X)}function VU(Z){if(cR(),(x0&(_4|N8))!==s1)throw new Error("Should not already be working.");D5();var X=BX(Z,D);if(!K8(X,H0))return X8(Z,Q4()),null;var Q=aQ(Z,X);if(Z.tag!==s5&&Q===u9){var G=ZJ(Z);if(G!==D)X=G,Q=u3(Z,G)}if(Q===FZ){var J=IZ;throw d9(Z,D),z9(Z,X),X8(Z,Q4()),J}if(Q===D3)throw new Error("Root did not complete. This is a bug in React.");var Y=Z.current.alternate;return Z.finishedWork=Y,Z.finishedLanes=X,y9(Z,Z8,S5),X8(Z,Q4()),null}function hL(Z,X){if(X!==D){if(JJ(Z,P0(X,H0)),X8(Z,Q4()),(x0&(_4|N8))===s1)jZ(),a5()}}function v3(Z,X){var Q=x0;x0|=AU;try{return Z(X)}finally{if(x0=Q,x0===s1&&!i8.isBatchingLegacy)jZ(),FK()}}function TL(Z,X,Q,G,J){var Y=T8(),z=L4.transition;try{return L4.transition=null,Y4(U8),Z(X,Q,G,J)}finally{if(Y4(Y),L4.transition=z,x0===s1)jZ()}}function b5(Z){if(J9!==null&&J9.tag===s5&&(x0&(_4|N8))===s1)D5();var X=x0;x0|=AU;var Q=L4.transition,G=T8();try{if(L4.transition=null,Y4(U8),Z)return Z();else return}finally{if(Y4(G),L4.transition=Q,x0=X,(x0&(_4|N8))===s1)a5()}}function jU(){return(x0&(_4|N8))!==s1}function sQ(Z,X){h4(k3,Y5,Z),Y5=P0(Y5,X),C3=P0(C3,X)}function d3(Z){Y5=k3.current,C4(k3,Z)}function d9(Z,X){Z.finishedWork=null,Z.finishedLanes=D;var Q=Z.timeoutHandle;if(Q!==gJ)Z.timeoutHandle=gJ,QO(Q);if(w1!==null){var G=w1.return;while(G!==null){var J=G.alternate;ZU(J,G),G=G.return}}m4=Z;var Y=m9(Z.current,null);return w1=Y,a1=Y5=C3=X,r1=j5,IZ=null,yQ=D,NZ=D,mQ=D,VZ=null,Z8=null,NR(),E8.discardPendingWarnings(),Y}function SU(Z,X){do{var Q=w1;try{if(QQ(),rK(),X4(),b3.current=null,Q===null||Q.return===null){r1=FZ,IZ=X,w1=null;return}if(R8&&Q.mode&a0)TQ(Q,!0);if(E4)if(J7(),X!==null&&typeof X==="object"&&typeof X.then==="function"){var G=X;Y$(Q,G,a1)}else J$(Q,X,a1);tR(Z,Q.return,Q,X,a1),CU(Q)}catch(J){if(X=J,w1===Q&&Q!==null)Q=Q.return,w1=Q;else Q=w1;continue}return}while(!0)}function bU(){var Z=S3.current;if(S3.current=bQ,Z===null)return bQ;else return Z}function DU(Z){S3.current=Z}function xL(){h3=Q4()}function kZ(Z){yQ=P0(Z,yQ)}function gL(){if(r1===j5)r1=dQ}function y3(){if(r1===j5||r1===dQ||r1===u9)r1=wZ;if(m4!==null&&(XJ(yQ)||XJ(NZ)))z9(m4,a1)}function EL(Z){if(r1!==wZ)r1=u9;if(VZ===null)VZ=[Z];else VZ.push(Z)}function fL(){return r1===j5}function aQ(Z,X){var Q=x0;x0|=_4;var G=bU();if(m4!==Z||a1!==X){if(h8){var J=Z.memoizedUpdaters;if(J.size>0)CZ(Z,a1),J.clear();YW(Z,X)}S5=zW(),d9(Z,X)}sz(X);do try{uL();break}catch(Y){SU(Z,Y)}while(!0);if(QQ(),x0=Q,DU(G),w1!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return az(),m4=null,a1=D,r1}function uL(){while(w1!==null)kU(w1)}function vL(Z,X){var Q=x0;x0|=_4;var G=bU();if(m4!==Z||a1!==X){if(h8){var J=Z.memoizedUpdaters;if(J.size>0)CZ(Z,a1),J.clear();YW(Z,X)}S5=zW(),jZ(),d9(Z,X)}sz(X);do try{dL();break}catch(Y){SU(Z,Y)}while(!0);if(QQ(),DU(G),x0=Q,w1!==null)return q$(),j5;else return az(),m4=null,a1=D,r1}function dL(){while(w1!==null&&!uB())kU(w1)}function kU(Z){var X=Z.alternate;F1(Z);var Q;if((Z.mode&a0)!==Y0)cY(Z),Q=m3(X,Z,Y5),TQ(Z,!0);else Q=m3(X,Z,Y5);if(X4(),Z.memoizedProps=Z.pendingProps,Q===null)CU(Z);else w1=Q;b3.current=null}function CU(Z){var X=Z;do{var{alternate:Q,return:G}=X;if((X.flags&M6)===z0){F1(X);var J=void 0;if((X.mode&a0)===Y0)J=e2(Q,X,Y5);else cY(X),J=e2(Q,X,Y5),TQ(X,!1);if(X4(),J!==null){w1=J;return}}else{var Y=kA(Q,X);if(Y!==null){Y.flags&=hB,w1=Y;return}if((X.mode&a0)!==Y0){TQ(X,!1);var{actualDuration:z,child:W}=X;while(W!==null)z+=W.actualDuration,W=W.sibling;X.actualDuration=z}if(G!==null)G.flags|=M6,G.subtreeFlags=z0,G.deletions=null;else{r1=D3,w1=null;return}}var K=X.sibling;if(K!==null){w1=K;return}X=G,w1=X}while(X!==null);if(r1===j5)r1=LU}function y9(Z,X,Q){var G=T8(),J=L4.transition;try{L4.transition=null,Y4(U8),yL(Z,X,Q,G)}finally{L4.transition=J,Y4(G)}return null}function yL(Z,X,Q,G){do D5();while(J9!==null);if(tL(),(x0&(_4|N8))!==s1)throw new Error("Should not already be working.");var{finishedWork:J,finishedLanes:Y}=Z;if(nB(Y),J===null)return lz(),null;else if(Y===D)$("root.finishedLanes should not be empty during a commit. This is a bug in React.");if(Z.finishedWork=null,Z.finishedLanes=D,J===Z.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.");Z.callbackNode=null,Z.callbackPriority=J4;var z=P0(J.lanes,J.childLanes);if(b$(Z,z),Z===m4)m4=null,w1=null,a1=D;if((J.subtreeFlags&G7)!==z0||(J.flags&G7)!==z0){if(!v9)v9=!0,g3=Q,l3(_9,function(){return D5(),null})}var W=(J.subtreeFlags&(DG|kG|H6|G7))!==z0,K=(J.flags&(DG|kG|H6|G7))!==z0;if(W||K){var q=L4.transition;L4.transition=null;var B=T8();Y4(U8);var R=x0;x0|=N8,b3.current=null;var O=gA(Z,J);F2(),aA(Z,J,Y),aH(Z.containerInfo),Z.current=J,z$(Y),rA(J,Z,Y),W$(),vB(),x0=R,Y4(B),L4.transition=q}else Z.current=J,F2();var F=v9;if(v9)v9=!1,J9=Z,SZ=Y;else u7=0,lQ=null;if(z=Z.pendingLanes,z===D)f7=null;if(!F)gU(Z.current,!1);if(pB(J.stateNode,G),h8)Z.memoizedUpdaters.clear();if(PL(),X8(Z,Q4()),X!==null){var w=Z.onRecoverableError;for(var V=0;V<X.length;V++){var f=X[V],t=f.stack,r=f.digest;w(f.value,{componentStack:t,digest:r})}}if(cQ){cQ=!1;var j0=T3;throw T3=null,j0}if(K8(SZ,H0)&&Z.tag!==s5)D5();if(z=Z.pendingLanes,K8(z,H0))if(yR(),Z===E3)bZ++;else bZ=0,E3=Z;else bZ=0;return a5(),lz(),null}function D5(){if(J9!==null){var Z=WW(SZ),X=h$(L5,Z),Q=L4.transition,G=T8();try{return L4.transition=null,Y4(X),cL()}finally{Y4(G),L4.transition=Q}}return!1}function mL(Z){if(x3.push(Z),!v9)v9=!0,l3(_9,function(){return D5(),null})}function cL(){if(J9===null)return!1;var Z=g3;g3=null;var X=J9,Q=SZ;if(J9=null,SZ=D,(x0&(_4|N8))!==s1)throw new Error("Cannot flush passive effects while already rendering.");f3=!0,iQ=!1,K$(Q);var G=x0;x0|=N8,GL(X.current),eA(X,X.current,Q,Z);{var J=x3;x3=[];for(var Y=0;Y<J.length;Y++){var z=J[Y];vA(X,z)}}U$(),gU(X.current,!0),x0=G,a5();{if(iQ)if(X===lQ)u7++;else u7=0,lQ=X;else u7=0;f3=!1,iQ=!1}oB(X);{var W=X.current.stateNode;W.effectDuration=0,W.passiveEffectDuration=0}return!0}function hU(Z){return f7!==null&&f7.has(Z)}function iL(Z){if(f7===null)f7=new Set([Z]);else f7.add(Z)}function lL(Z){if(!cQ)cQ=!0,T3=Z}var pL=lL;function TU(Z,X,Q){var G=E9(Q,X),J=D2(Z,G,H0),Y=n5(Z,J,H0),z=c4();if(Y!==null)w6(Y,H0,z),X8(Y,z)}function W1(Z,X,Q){if(hA(Q),hZ(!1),Z.tag===X0){TU(Z,Z,Q);return}var G=null;G=X;while(G!==null){if(G.tag===X0){TU(G,Z,Q);return}else if(G.tag===Z0){var{type:J,stateNode:Y}=G;if(typeof J.getDerivedStateFromError==="function"||typeof Y.componentDidCatch==="function"&&!hU(Y)){var z=E9(Q,Z),W=W3(G,z,H0),K=n5(G,W,H0),q=c4();if(K!==null)w6(K,H0,q),X8(K,q);return}}G=G.return}$(`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.
|
|
|
|
Error message:
|
|
|
|
%s`,Q)}function oL(Z,X,Q){var G=Z.pingCache;if(G!==null)G.delete(X);var J=c4();if(GW(Z,Q),Q_(Z),m4===Z&&K7(a1,Q))if(r1===wZ||r1===dQ&&ez(a1)&&Q4()-h3<_U)d9(Z,D);else mQ=P0(mQ,Q);X8(Z,J)}function xU(Z,X){if(X===J4)X=SL(Z);var Q=c4(),G=t4(Z,X);if(G!==null)w6(G,X,Q),X8(G,Q)}function sL(Z){var X=Z.memoizedState,Q=J4;if(X!==null)Q=X.retryLane;xU(Z,Q)}function aL(Z,X){var Q=J4,G;switch(Z.tag){case q0:G=Z.stateNode;var J=Z.memoizedState;if(J!==null)Q=J.retryLane;break;case i0:G=Z.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}if(G!==null)G.delete(X);xU(Z,Q)}function rL(Z){return Z<120?120:Z<480?480:Z<1080?1080:Z<1920?1920:Z<3000?3000:Z<4320?4320:IL(Z/1960)*1960}function nL(){if(bZ>VL)throw bZ=0,E3=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");if(u7>jL)u7=0,lQ=null,$("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")}function tL(){E8.flushLegacyContextWarning(),E8.flushPendingUnsafeLifecycleWarnings()}function gU(Z,X){{if(F1(Z),rQ(Z,H5,$L),X)rQ(Z,zX,ML);if(rQ(Z,H5,qL),X)rQ(Z,zX,BL);X4()}}function rQ(Z,X,Q){{var G=Z,J=null;while(G!==null){var Y=G.subtreeFlags&X;if(G!==J&&G.child!==null&&Y!==z0)G=G.child;else{if((G.flags&X)!==z0)Q(G);if(G.sibling!==null)G=G.sibling;else G=J=G.return}}}}var nQ=null;function EU(Z){{if((x0&_4)!==s1)return;if(!(Z.mode&T0))return;var X=Z.tag;if(X!==K1&&X!==X0&&X!==Z0&&X!==R0&&X!==Q0&&X!==X1&&X!==V0)return;var Q=_0(Z)||"ReactComponent";if(nQ!==null){if(nQ.has(Q))return;nQ.add(Q)}else nQ=new Set([Q]);var G=k4;try{F1(Z),$("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{if(G)F1(Z);else X4()}}}var m3;{var eL=null;m3=function(Z,X,Q){var G=iU(eL,X);try{return s2(Z,X,Q)}catch(Y){if(WR()||Y!==null&&typeof Y==="object"&&typeof Y.then==="function")throw Y;if(QQ(),rK(),ZU(Z,X),iU(X,G),X.mode&a0)cY(X);if(IG(null,s2,null,Z,X,Q),bB()){var J=NG();if(typeof J==="object"&&J!==null&&J._suppressLogging&&typeof Y==="object"&&Y!==null&&!Y._suppressLogging)Y._suppressLogging=!0}throw Y}}}var fU=!1,c3;c3=new Set;function Z_(Z){if(q9&&!uR())switch(Z.tag){case R0:case Q0:case V0:{var X=w1&&_0(w1)||"Unknown",Q=X;if(!c3.has(Q)){c3.add(Q);var G=_0(Z)||"Unknown";$("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",G,X,X)}break}case Z0:{if(!fU)$("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),fU=!0;break}}}function CZ(Z,X){if(h8){var Q=Z.memoizedUpdaters;Q.forEach(function(G){JW(Z,G,X)})}}var i3={};function l3(Z,X){{var Q=i8.current;if(Q!==null)return Q.push(X),i3;else return iz(Z,X)}}function uU(Z){if(Z===i3)return;return fB(Z)}function vU(){return i8.current!==null}function X_(Z){{if(Z.mode&T0){if(!RU())return}else{if(!wL())return;if(x0!==s1)return;if(Z.tag!==R0&&Z.tag!==Q0&&Z.tag!==V0)return}if(i8.current===null){var X=k4;try{F1(Z),$(`An update to %s inside a test was not wrapped in act(...).
|
|
|
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
|
|
act(() => {
|
|
/* fire events that update state */
|
|
});
|
|
/* assert on the output */
|
|
|
|
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`,_0(Z))}finally{if(X)F1(Z);else X4()}}}}function Q_(Z){if(Z.tag!==s5&&RU()&&i8.current===null)$(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
|
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
|
|
act(() => {
|
|
/* finish loading suspended data */
|
|
});
|
|
/* assert on the output */
|
|
|
|
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 hZ(Z){wU=Z}var V8=null,v7=null,G_=function(Z){V8=Z};function d7(Z){{if(V8===null)return Z;var X=V8(Z);if(X===void 0)return Z;return X.current}}function p3(Z){return d7(Z)}function o3(Z){{if(V8===null)return Z;var X=V8(Z);if(X===void 0){if(Z!==null&&Z!==void 0&&typeof Z.render==="function"){var Q=d7(Z.render);if(Z.render!==Q){var G={$$typeof:E,render:Q};if(Z.displayName!==void 0)G.displayName=Z.displayName;return G}}return Z}return X.current}}function dU(Z,X){{if(V8===null)return!1;var Q=Z.elementType,G=X.type,J=!1,Y=typeof G==="object"&&G!==null?G.$$typeof:null;switch(Z.tag){case Z0:{if(typeof G==="function")J=!0;break}case R0:{if(typeof G==="function")J=!0;else if(Y===y0)J=!0;break}case Q0:{if(Y===E)J=!0;else if(Y===y0)J=!0;break}case X1:case V0:{if(Y===L0)J=!0;else if(Y===y0)J=!0;break}default:return!1}if(J){var z=V8(Q);if(z!==void 0&&z===V8(G))return!0}return!1}}function yU(Z){{if(V8===null)return;if(typeof WeakSet!=="function")return;if(v7===null)v7=new WeakSet;v7.add(Z)}}var J_=function(Z,X){{if(V8===null)return;var{staleFamilies:Q,updatedFamilies:G}=X;D5(),b5(function(){s3(Z.current,G,Q)})}},Y_=function(Z,X){{if(Z.context!==$8)return;D5(),b5(function(){TZ(X,Z,null,null)})}};function s3(Z,X,Q){{var{alternate:G,child:J,sibling:Y,tag:z,type:W}=Z,K=null;switch(z){case R0:case V0:case Z0:K=W;break;case Q0:K=W.render;break}if(V8===null)throw new Error("Expected resolveFamily to be set during hot reload.");var q=!1,B=!1;if(K!==null){var R=V8(K);if(R!==void 0){if(Q.has(R))B=!0;else if(X.has(R))if(z===Z0)B=!0;else q=!0}}if(v7!==null){if(v7.has(Z)||G!==null&&v7.has(G))B=!0}if(B)Z._debugNeedsRemount=!0;if(B||q){var O=t4(Z,H0);if(O!==null)n1(O,Z,H0,U1)}if(J!==null&&!B)s3(J,X,Q);if(Y!==null)s3(Y,X,Q)}}var z_=function(Z,X){{var Q=new Set,G=new Set(X.map(function(J){return J.current}));return a3(Z.current,G,Q),Q}};function a3(Z,X,Q){{var{child:G,sibling:J,tag:Y,type:z}=Z,W=null;switch(Y){case R0:case V0:case Z0:W=z;break;case Q0:W=z.render;break}var K=!1;if(W!==null){if(X.has(W))K=!0}if(K)W_(Z,Q);else if(G!==null)a3(G,X,Q);if(J!==null)a3(J,X,Q)}}function W_(Z,X){{var Q=K_(Z,X);if(Q)return;var G=Z;while(!0){switch(G.tag){case l:X.add(G.stateNode);return;case F0:X.add(G.stateNode.containerInfo);return;case X0:X.add(G.stateNode.containerInfo);return}if(G.return===null)throw new Error("Expected to reach root first.");G=G.return}}}function K_(Z,X){{var Q=Z,G=!1;while(!0){if(Q.tag===l)G=!0,X.add(Q.stateNode);else if(Q.child!==null){Q.child.return=Q,Q=Q.child;continue}if(Q===Z)return G;while(Q.sibling===null){if(Q.return===null||Q.return===Z)return G;Q=Q.return}Q.sibling.return=Q.return,Q=Q.sibling}}return!1}var r3;{r3=!1;try{var mU=Object.preventExtensions({});}catch(Z){r3=!0}}function U_(Z,X,Q,G){if(this.tag=Z,this.key=Q,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=X,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=G,this.flags=z0,this.subtreeFlags=z0,this.deletions=null,this.lanes=D,this.childLanes=D,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,!r3&&typeof Object.preventExtensions==="function")Object.preventExtensions(this)}var M8=function(Z,X,Q,G){return new U_(Z,X,Q,G)};function n3(Z){var X=Z.prototype;return!!(X&&X.isReactComponent)}function q_(Z){return typeof Z==="function"&&!n3(Z)&&Z.defaultProps===void 0}function B_(Z){if(typeof Z==="function")return n3(Z)?Z0:R0;else if(Z!==void 0&&Z!==null){var X=Z.$$typeof;if(X===E)return Q0;if(X===L0)return X1}return K1}function m9(Z,X){var Q=Z.alternate;if(Q===null)Q=M8(Z.tag,X,Z.key,Z.mode),Q.elementType=Z.elementType,Q.type=Z.type,Q.stateNode=Z.stateNode,Q._debugSource=Z._debugSource,Q._debugOwner=Z._debugOwner,Q._debugHookTypes=Z._debugHookTypes,Q.alternate=Z,Z.alternate=Q;else Q.pendingProps=X,Q.type=Z.type,Q.flags=z0,Q.subtreeFlags=z0,Q.deletions=null,Q.actualDuration=0,Q.actualStartTime=-1;Q.flags=Z.flags&O5,Q.childLanes=Z.childLanes,Q.lanes=Z.lanes,Q.child=Z.child,Q.memoizedProps=Z.memoizedProps,Q.memoizedState=Z.memoizedState,Q.updateQueue=Z.updateQueue;var G=Z.dependencies;switch(Q.dependencies=G===null?null:{lanes:G.lanes,firstContext:G.firstContext},Q.sibling=Z.sibling,Q.index=Z.index,Q.ref=Z.ref,Q.selfBaseDuration=Z.selfBaseDuration,Q.treeBaseDuration=Z.treeBaseDuration,Q._debugNeedsRemount=Z._debugNeedsRemount,Q.tag){case K1:case R0:case V0:Q.type=d7(Z.type);break;case Z0:Q.type=p3(Z.type);break;case Q0:Q.type=o3(Z.type);break}return Q}function $_(Z,X){Z.flags&=O5|u1;var Q=Z.alternate;if(Q===null)Z.childLanes=D,Z.lanes=X,Z.child=null,Z.subtreeFlags=z0,Z.memoizedProps=null,Z.memoizedState=null,Z.updateQueue=null,Z.dependencies=null,Z.stateNode=null,Z.selfBaseDuration=0,Z.treeBaseDuration=0;else{Z.childLanes=Q.childLanes,Z.lanes=Q.lanes,Z.child=Q.child,Z.subtreeFlags=z0,Z.deletions=null,Z.memoizedProps=Q.memoizedProps,Z.memoizedState=Q.memoizedState,Z.updateQueue=Q.updateQueue,Z.type=Q.type;var G=Q.dependencies;Z.dependencies=G===null?null:{lanes:G.lanes,firstContext:G.firstContext},Z.selfBaseDuration=Q.selfBaseDuration,Z.treeBaseDuration=Q.treeBaseDuration}return Z}function M_(Z,X,Q){var G;if(Z===pX){if(G=T0,X===!0)G|=V1,G|=a8}else G=Y0;if(h8)G|=a0;return M8(X0,null,null,G)}function t3(Z,X,Q,G,J,Y){var z=K1,W=Z;if(typeof Z==="function")if(n3(Z))z=Z0,W=p3(W);else W=d7(W);else if(typeof Z==="string")z=l;else Z:switch(Z){case Q1:return W9(Q.children,J,Y,X);case M:if(z=w4,J|=V1,(J&T0)!==Y0)J|=a8;break;case N:return H_(Q,J,Y,X);case w0:return O_(Q,J,Y,X);case I0:return R_(Q,J,Y,X);case q4:return cU(Q,J,Y,X);case p8:case H1:case D8:case Z4:case L1:default:{if(typeof Z==="object"&&Z!==null)switch(Z.$$typeof){case k:z=_1;break Z;case p:z=p4;break Z;case E:z=Q0,W=o3(W);break Z;case L0:z=X1;break Z;case y0:z=z4,W=null;break Z}var K="";{if(Z===void 0||typeof Z==="object"&&Z!==null&&Object.keys(Z).length===0)K+=" 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 q=G?_0(G):null;if(q)K+=`
|
|
|
|
Check the render method of \``+q+"`."}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(Z==null?Z:typeof Z)+"."+K))}}var B=M8(z,Q,X,J);return B.elementType=Z,B.type=W,B.lanes=Y,B._debugOwner=G,B}function e3(Z,X,Q){var G=null;G=Z._owner;var{type:J,key:Y,props:z}=Z,W=t3(J,Y,z,G,X,Q);return W._debugSource=Z._source,W._debugOwner=Z._owner,W}function W9(Z,X,Q,G){var J=M8(d1,Z,G,X);return J.lanes=Q,J}function H_(Z,X,Q,G){if(typeof Z.id!=="string")$('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof Z.id);var J=M8(B1,Z,G,X|a0);return J.elementType=N,J.lanes=Q,J.stateNode={effectDuration:0,passiveEffectDuration:0},J}function O_(Z,X,Q,G){var J=M8(q0,Z,G,X);return J.elementType=w0,J.lanes=Q,J}function R_(Z,X,Q,G){var J=M8(i0,Z,G,X);return J.elementType=I0,J.lanes=Q,J}function cU(Z,X,Q,G){var J=M8($1,Z,G,X);J.elementType=q4,J.lanes=Q;var Y={isHidden:!1};return J.stateNode=Y,J}function Zz(Z,X,Q){var G=M8(N0,Z,null,X);return G.lanes=Q,G}function A_(){var Z=M8(l,null,null,Y0);return Z.elementType="DELETED",Z}function L_(Z){var X=M8(K4,null,null,Y0);return X.stateNode=Z,X}function Xz(Z,X,Q){var G=Z.children!==null?Z.children:[],J=M8(F0,G,Z.key,X);return J.lanes=Q,J.stateNode={containerInfo:Z.containerInfo,pendingChildren:null,implementation:Z.implementation},J}function iU(Z,X){if(Z===null)Z=M8(K1,null,null,Y0);return Z.tag=X.tag,Z.key=X.key,Z.elementType=X.elementType,Z.type=X.type,Z.stateNode=X.stateNode,Z.return=X.return,Z.child=X.child,Z.sibling=X.sibling,Z.index=X.index,Z.ref=X.ref,Z.pendingProps=X.pendingProps,Z.memoizedProps=X.memoizedProps,Z.updateQueue=X.updateQueue,Z.memoizedState=X.memoizedState,Z.dependencies=X.dependencies,Z.mode=X.mode,Z.flags=X.flags,Z.subtreeFlags=X.subtreeFlags,Z.deletions=X.deletions,Z.lanes=X.lanes,Z.childLanes=X.childLanes,Z.alternate=X.alternate,Z.actualDuration=X.actualDuration,Z.actualStartTime=X.actualStartTime,Z.selfBaseDuration=X.selfBaseDuration,Z.treeBaseDuration=X.treeBaseDuration,Z._debugSource=X._debugSource,Z._debugOwner=X._debugOwner,Z._debugNeedsRemount=X._debugNeedsRemount,Z._debugHookTypes=X._debugHookTypes,Z}function __(Z,X,Q,G,J){this.tag=X,this.containerInfo=Z,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=gJ,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=J4,this.eventTimes=GJ(D),this.expirationTimes=GJ(U1),this.pendingLanes=D,this.suspendedLanes=D,this.pingedLanes=D,this.expiredLanes=D,this.mutableReadLanes=D,this.finishedLanes=D,this.entangledLanes=D,this.entanglements=GJ(D),this.identifierPrefix=G,this.onRecoverableError=J,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;var Y=this.pendingUpdatersLaneMap=[];for(var z=0;z<xG;z++)Y.push(new Set)}switch(X){case pX:this._debugRootType=Q?"hydrateRoot()":"createRoot()";break;case s5:this._debugRootType=Q?"hydrate()":"render()";break}}function lU(Z,X,Q,G,J,Y,z,W,K,q){var B=new __(Z,X,Q,W,K),R=M_(X,Y);B.current=R,R.stateNode=B;{var O={element:G,isDehydrated:Q,cache:null,transitions:null,pendingSuspenseBoundaries:null};R.memoizedState=O}return $Y(R),B}var Qz="18.3.1";function P_(Z,X,Q){var G=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return b4(G),{$$typeof:J0,key:G==null?null:""+G,children:Z,containerInfo:X,implementation:Q}}var Gz,Jz;Gz=!1,Jz={};function pU(Z){if(!Z)return $8;var X=X7(Z),Q=tO(X);if(X.tag===Z0){var G=X.type;if(t8(G))return LK(X,G,Q)}return Q}function F_(Z,X){{var Q=X7(Z);if(Q===void 0)if(typeof Z.render==="function")throw new Error("Unable to find node on an unmounted component.");else{var G=Object.keys(Z).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+G)}var J=yz(Q);if(J===null)return null;if(J.mode&V1){var Y=_0(Q)||"Component";if(!Jz[Y]){Jz[Y]=!0;var z=k4;try{if(F1(J),Q.mode&V1)$("%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",X,X,Y);else $("%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",X,X,Y)}finally{if(z)F1(z);else X4()}}}return J.stateNode}}function oU(Z,X,Q,G,J,Y,z,W){var K=!1,q=null;return lU(Z,X,K,q,Q,G,J,Y,z)}function sU(Z,X,Q,G,J,Y,z,W,K,q){var B=!0,R=lU(Q,G,B,Z,J,Y,z,W,K);R.context=pU(null);var O=R.current,F=c4(),w=Y9(O),V=N5(F,w);return V.callback=X!==void 0&&X!==null?X:null,n5(O,V,w),bL(R,w,F),R}function TZ(Z,X,Q,G){lB(X,Z);var J=X.current,Y=c4(),z=Y9(J);B$(z);var W=pU(Q);if(X.context===null)X.context=W;else X.pendingContext=W;if(q9&&k4!==null&&!Gz)Gz=!0,$(`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.
|
|
|
|
Check the render method of %s.`,_0(k4)||"Unknown");var K=N5(Y,z);if(K.payload={element:Z},G=G===void 0?null:G,G!==null){if(typeof G!=="function")$("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",G);K.callback=G}var q=n5(J,K,z);if(q!==null)n1(q,J,z,Y),WQ(q,J,z);return z}function tQ(Z){var X=Z.current;if(!X.child)return null;switch(X.child.tag){case l:return hJ(X.child.stateNode);default:return X.child.stateNode}}function w_(Z){switch(Z.tag){case X0:{var X=Z.stateNode;if(RX(X)){var Q=P$(X);hL(X,Q)}break}case q0:{b5(function(){var J=t4(Z,H0);if(J!==null){var Y=c4();n1(J,Z,H0,Y)}});var G=H0;Yz(Z,G);break}}}function aU(Z,X){var Q=Z.memoizedState;if(Q!==null&&Q.dehydrated!==null)Q.retryLane=j$(Q.retryLane,X)}function Yz(Z,X){aU(Z,X);var Q=Z.alternate;if(Q)aU(Q,X)}function I_(Z){if(Z.tag!==q0)return;var X=L6,Q=t4(Z,X);if(Q!==null){var G=c4();n1(Q,Z,X,G)}Yz(Z,X)}function N_(Z){if(Z.tag!==q0)return;var X=Y9(Z),Q=t4(Z,X);if(Q!==null){var G=c4();n1(Q,Z,X,G)}Yz(Z,X)}function rU(Z){var X=EB(Z);if(X===null)return null;return X.stateNode}var nU=function(Z){return null};function V_(Z){return nU(Z)}var tU=function(Z){return!1};function j_(Z){return tU(Z)}var eU=null,Zq=null,Xq=null,Qq=null,Gq=null,Jq=null,Yq=null,zq=null,Wq=null;{var Kq=function(Z,X,Q){var G=X[Q],J=m0(Z)?Z.slice():C0({},Z);if(Q+1===X.length){if(m0(J))J.splice(G,1);else delete J[G];return J}return J[G]=Kq(Z[G],X,Q+1),J},Uq=function(Z,X){return Kq(Z,X,0)},qq=function(Z,X,Q,G){var J=X[G],Y=m0(Z)?Z.slice():C0({},Z);if(G+1===X.length){var z=Q[G];if(Y[z]=Y[J],m0(Y))Y.splice(J,1);else delete Y[J]}else Y[J]=qq(Z[J],X,Q,G+1);return Y},Bq=function(Z,X,Q){if(X.length!==Q.length){q1("copyWithRename() expects paths of the same length");return}else for(var G=0;G<Q.length-1;G++)if(X[G]!==Q[G]){q1("copyWithRename() expects paths to be the same except for the deepest key");return}return qq(Z,X,Q,0)},$q=function(Z,X,Q,G){if(Q>=X.length)return G;var J=X[Q],Y=m0(Z)?Z.slice():C0({},Z);return Y[J]=$q(Z[J],X,Q+1,G),Y},Mq=function(Z,X,Q){return $q(Z,X,0,Q)},zz=function(Z,X){var Q=Z.memoizedState;while(Q!==null&&X>0)Q=Q.next,X--;return Q};eU=function(Z,X,Q,G){var J=zz(Z,X);if(J!==null){var Y=Mq(J.memoizedState,Q,G);J.memoizedState=Y,J.baseState=Y,Z.memoizedProps=C0({},Z.memoizedProps);var z=t4(Z,H0);if(z!==null)n1(z,Z,H0,U1)}},Zq=function(Z,X,Q){var G=zz(Z,X);if(G!==null){var J=Uq(G.memoizedState,Q);G.memoizedState=J,G.baseState=J,Z.memoizedProps=C0({},Z.memoizedProps);var Y=t4(Z,H0);if(Y!==null)n1(Y,Z,H0,U1)}},Xq=function(Z,X,Q,G){var J=zz(Z,X);if(J!==null){var Y=Bq(J.memoizedState,Q,G);J.memoizedState=Y,J.baseState=Y,Z.memoizedProps=C0({},Z.memoizedProps);var z=t4(Z,H0);if(z!==null)n1(z,Z,H0,U1)}},Qq=function(Z,X,Q){if(Z.pendingProps=Mq(Z.memoizedProps,X,Q),Z.alternate)Z.alternate.pendingProps=Z.pendingProps;var G=t4(Z,H0);if(G!==null)n1(G,Z,H0,U1)},Gq=function(Z,X){if(Z.pendingProps=Uq(Z.memoizedProps,X),Z.alternate)Z.alternate.pendingProps=Z.pendingProps;var Q=t4(Z,H0);if(Q!==null)n1(Q,Z,H0,U1)},Jq=function(Z,X,Q){if(Z.pendingProps=Bq(Z.memoizedProps,X,Q),Z.alternate)Z.alternate.pendingProps=Z.pendingProps;var G=t4(Z,H0);if(G!==null)n1(G,Z,H0,U1)},Yq=function(Z){var X=t4(Z,H0);if(X!==null)n1(X,Z,H0,U1)},zq=function(Z){nU=Z},Wq=function(Z){tU=Z}}function S_(Z){var X=yz(Z);if(X===null)return null;return X.stateNode}function b_(Z){return null}function D_(){return k4}function k_(Z){var X=Z.findFiberByHostInstance,Q=e.ReactCurrentDispatcher;return iB({bundleType:Z.bundleType,version:Z.version,rendererPackageName:Z.rendererPackageName,rendererConfig:Z.rendererConfig,overrideHookState:eU,overrideHookStateDeletePath:Zq,overrideHookStateRenamePath:Xq,overrideProps:Qq,overridePropsDeletePath:Gq,overridePropsRenamePath:Jq,setErrorHandler:zq,setSuspenseHandler:Wq,scheduleUpdate:Yq,currentDispatcherRef:Q,findHostInstanceByFiber:S_,findFiberByHostInstance:X||b_,findHostInstancesForRefresh:z_,scheduleRefresh:J_,scheduleRoot:Y_,setRefreshHandler:G_,getCurrentFiber:D_,reconcilerVersion:Qz})}var Hq=typeof reportError==="function"?reportError:function(Z){console.error(Z)};function Wz(Z){this._internalRoot=Z}eQ.prototype.render=Wz.prototype.render=function(Z){var X=this._internalRoot;if(X===null)throw new Error("Cannot update an unmounted root.");{if(typeof arguments[1]==="function")$("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");else if(ZG(arguments[1]))$("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.");else if(typeof arguments[1]!=="undefined")$("You passed a second argument to root.render(...) but it only accepts one argument.");var Q=X.containerInfo;if(Q.nodeType!==f1){var G=rU(X.current);if(G){if(G.parentNode!==Q)$("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.")}}}TZ(Z,X,null,null)},eQ.prototype.unmount=Wz.prototype.unmount=function(){if(typeof arguments[0]==="function")$("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var Z=this._internalRoot;if(Z!==null){this._internalRoot=null;var X=Z.containerInfo;if(jU())$("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.");b5(function(){TZ(null,Z,null,null)}),$K(X)}};function C_(Z,X){if(!ZG(Z))throw new Error("createRoot(...): Target container is not a DOM element.");Oq(Z);var Q=!1,G=!1,J="",Y=Hq,z=null;if(X!==null&&X!==void 0){if(X.hydrate)q1("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.");else if(typeof X==="object"&&X!==null&&X.$$typeof===a)$(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
|
|
let root = createRoot(domContainer);
|
|
root.render(<App />);`);if(X.unstable_strictMode===!0)Q=!0;if(X.identifierPrefix!==void 0)J=X.identifierPrefix;if(X.onRecoverableError!==void 0)Y=X.onRecoverableError;if(X.transitionCallbacks!==void 0)z=X.transitionCallbacks}var W=oU(Z,pX,null,Q,G,J,Y);vX(W.current,Z);var K=Z.nodeType===f1?Z.parentNode:Z;return v6(K),new Wz(W)}function eQ(Z){this._internalRoot=Z}function h_(Z){if(Z)c$(Z)}eQ.prototype.unstable_scheduleHydration=h_;function T_(Z,X,Q){if(!ZG(Z))throw new Error("hydrateRoot(...): Target container is not a DOM element.");if(Oq(Z),X===void 0)$("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var G=Q!=null?Q:null,J=Q!=null&&Q.hydratedSources||null,Y=!1,z=!1,W="",K=Hq;if(Q!==null&&Q!==void 0){if(Q.unstable_strictMode===!0)Y=!0;if(Q.identifierPrefix!==void 0)W=Q.identifierPrefix;if(Q.onRecoverableError!==void 0)K=Q.onRecoverableError}var q=sU(X,null,Z,pX,G,Y,z,W,K);if(vX(q.current,Z),v6(Z),J)for(var B=0;B<J.length;B++){var R=J[B];TR(q,R)}return new eQ(q)}function ZG(Z){return!!(Z&&(Z.nodeType===r4||Z.nodeType===B5||Z.nodeType===$G||!o0))}function xZ(Z){return!!(Z&&(Z.nodeType===r4||Z.nodeType===B5||Z.nodeType===$G||Z.nodeType===f1&&Z.nodeValue===" react-mount-point-unstable "))}function Oq(Z){{if(Z.nodeType===r4&&Z.tagName&&Z.tagName.toUpperCase()==="BODY")$("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.");if(r6(Z))if(Z._reactRootContainer)$("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.");else $("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 x_=e.ReactCurrentOwner,Rq;Rq=function(Z){if(Z._reactRootContainer&&Z.nodeType!==f1){var X=rU(Z._reactRootContainer.current);if(X){if(X.parentNode!==Z)$("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 Q=!!Z._reactRootContainer,G=Kz(Z),J=!!(G&&p5(G));if(J&&!Q)$("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.");if(Z.nodeType===r4&&Z.tagName&&Z.tagName.toUpperCase()==="BODY")$("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 Kz(Z){if(!Z)return null;if(Z.nodeType===B5)return Z.documentElement;else return Z.firstChild}function Aq(){}function g_(Z,X,Q,G,J){if(J){if(typeof G==="function"){var Y=G;G=function(){var O=tQ(z);Y.call(O)}}var z=sU(X,G,Z,s5,null,!1,!1,"",Aq);Z._reactRootContainer=z,vX(z.current,Z);var W=Z.nodeType===f1?Z.parentNode:Z;return v6(W),b5(),z}else{var K;while(K=Z.lastChild)Z.removeChild(K);if(typeof G==="function"){var q=G;G=function(){var O=tQ(B);q.call(O)}}var B=oU(Z,s5,null,!1,!1,"",Aq);Z._reactRootContainer=B,vX(B.current,Z);var R=Z.nodeType===f1?Z.parentNode:Z;return v6(R),b5(function(){TZ(X,B,Q,G)}),B}}function E_(Z,X){if(Z!==null&&typeof Z!=="function")$("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",X,Z)}function XG(Z,X,Q,G,J){Rq(Q),E_(J===void 0?null:J,"render");var Y=Q._reactRootContainer,z;if(!Y)z=g_(Q,X,Z,J,G);else{if(z=Y,typeof J==="function"){var W=J;J=function(){var K=tQ(z);W.call(K)}}TZ(X,z,Z,J)}return tQ(z)}var Lq=!1;function f_(Z){{if(!Lq)Lq=!0,$("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 X=x_.current;if(X!==null&&X.stateNode!==null){var Q=X.stateNode._warnedAboutRefsInRender;if(!Q)$("%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.",E0(X.type)||"A component");X.stateNode._warnedAboutRefsInRender=!0}}if(Z==null)return null;if(Z.nodeType===r4)return Z;return F_(Z,"findDOMNode")}function u_(Z,X,Q){if($("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"),!xZ(X))throw new Error("Target container is not a DOM element.");{var G=r6(X)&&X._reactRootContainer===void 0;if(G)$("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 XG(null,Z,X,!0,Q)}function v_(Z,X,Q){if($("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"),!xZ(X))throw new Error("Target container is not a DOM element.");{var G=r6(X)&&X._reactRootContainer===void 0;if(G)$("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 XG(null,Z,X,!1,Q)}function d_(Z,X,Q,G){if($("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"),!xZ(Q))throw new Error("Target container is not a DOM element.");if(Z==null||!DB(Z))throw new Error("parentComponent must be a valid React Component");return XG(Z,X,Q,!1,G)}var _q=!1;function y_(Z){if(!_q)_q=!0,$("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");if(!xZ(Z))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var X=r6(Z)&&Z._reactRootContainer===void 0;if(X)$("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(Z._reactRootContainer){{var Q=Kz(Z),G=Q&&!p5(Q);if(G)$("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return b5(function(){XG(null,null,Z,!1,function(){Z._reactRootContainer=null,$K(Z)})}),!0}else{{var J=Kz(Z),Y=!!(J&&p5(J)),z=Z.nodeType===r4&&xZ(Z.parentNode)&&!!Z.parentNode._reactRootContainer;if(Y)$("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",z?"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}}if(T$(w_),g$(I_),E$(N_),f$(T8),u$(k$),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")$("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");LB(vH),FB(v3,TL,b5);function m_(Z,X){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ZG(X))throw new Error("Target container is not a DOM element.");return P_(Z,X,null,Q)}function c_(Z,X,Q,G){return d_(Z,X,Q,G)}var Uz={usingClientEntryPoint:!1,Events:[p5,A7,dX,Dz,kz,v3]};function i_(Z,X){if(!Uz.usingClientEntryPoint)$('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".');return C_(Z,X)}function l_(Z,X,Q){if(!Uz.usingClientEntryPoint)$('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".');return T_(Z,X,Q)}function p_(Z){if(jU())$("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.");return b5(Z)}var o_=k_({findFiberByHostInstance:S9,bundleType:1,version:Qz,rendererPackageName:"react-dom"});if(!o_&&P1&&window.top===window.self){if(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1){var Pq=window.location.protocol;if(/^(https?|file):$/.test(Pq))console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(Pq==="file:"?`
|
|
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}}if(QP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Uz,QP.createPortal=m_,QP.createRoot=i_,QP.findDOMNode=f_,QP.flushSync=p_,QP.hydrate=u_,QP.hydrateRoot=l_,QP.render=v_,QP.unmountComponentAtNode=y_,QP.unstable_batchedUpdates=v3,QP.unstable_renderSubtreeIntoContainer=c_,QP.version=Qz,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var Vq=m7((VF,Nq)=>{var GP=j8(Iq(),1);Nq.exports=GP});var jq=m7((JP)=>{var i7=j8(Vq(),1);c7=i7.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,JP.createRoot=function(e,Z1){c7.usingClientEntryPoint=!0;try{return i7.createRoot(e,Z1)}finally{c7.usingClientEntryPoint=!1}},JP.hydrateRoot=function(e,Z1,C1){c7.usingClientEntryPoint=!0;try{return i7.hydrateRoot(e,Z1,C1)}finally{c7.usingClientEntryPoint=!1}};var c7});var uZ=m7((YP)=>{var qz=j8(EZ(),1);(function(){var e=Symbol.for("react.element"),Z1=Symbol.for("react.portal"),C1=Symbol.for("react.fragment"),q1=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),F4=Symbol.for("react.provider"),R0=Symbol.for("react.context"),Z0=Symbol.for("react.forward_ref"),K1=Symbol.for("react.suspense"),X0=Symbol.for("react.suspense_list"),F0=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),N0=Symbol.for("react.offscreen"),d1=Symbol.iterator,w4="@@iterator";function p4(M){if(M===null||typeof M!=="object")return null;var N=d1&&M[d1]||M[w4];if(typeof N==="function")return N;return null}var _1=qz.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Q0(M){{for(var N=arguments.length,k=new Array(N>1?N-1:0),p=1;p<N;p++)k[p-1]=arguments[p];B1("error",M,k)}}function B1(M,N,k){{var p=_1.ReactDebugCurrentFrame,E=p.getStackAddendum();if(E!=="")N+="%s",k=k.concat([E]);var w0=k.map(function(I0){return String(I0)});w0.unshift("Warning: "+N),Function.prototype.apply.call(console[M],console,w0)}}var q0=!1,X1=!1,V0=!1,z4=!1,W4=!1,K4;K4=Symbol.for("react.module.reference");function i0(M){if(typeof M==="string"||typeof M==="function")return!0;if(M===C1||M===$||W4||M===q1||M===K1||M===X0||z4||M===N0||q0||X1||V0)return!0;if(typeof M==="object"&&M!==null){if(M.$$typeof===l||M.$$typeof===F0||M.$$typeof===F4||M.$$typeof===R0||M.$$typeof===Z0||M.$$typeof===K4||M.getModuleId!==void 0)return!0}return!1}function I1(M,N,k){var p=M.displayName;if(p)return p;var E=N.displayName||N.name||"";return E!==""?k+"("+E+")":k}function $1(M){return M.displayName||"Context"}function b0(M){if(M==null)return null;if(typeof M.tag==="number")Q0("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");if(typeof M==="function")return M.displayName||M.name||null;if(typeof M==="string")return M;switch(M){case C1:return"Fragment";case Z1:return"Portal";case $:return"Profiler";case q1:return"StrictMode";case K1:return"Suspense";case X0:return"SuspenseList"}if(typeof M==="object")switch(M.$$typeof){case R0:var N=M;return $1(N)+".Consumer";case F4:var k=M;return $1(k._context)+".Provider";case Z0:return I1(M,M.render,"ForwardRef");case F0:var p=M.displayName||null;if(p!==null)return p;return b0(M.type)||"Memo";case l:{var E=M,w0=E._payload,I0=E._init;try{return b0(I0(w0))}catch(L0){return null}}}return null}var D0=Object.assign,A1=0,$0,f0,Q8,G8,O8,o0,I4;function h1(){}h1.__reactDisabledLog=!0;function E4(){{if(A1===0){$0=console.log,f0=console.info,Q8=console.warn,G8=console.error,O8=console.group,o0=console.groupCollapsed,I4=console.groupEnd;var M={configurable:!0,enumerable:!0,value:h1,writable:!0};Object.defineProperties(console,{info:M,log:M,warn:M,error:M,group:M,groupCollapsed:M,groupEnd:M})}A1++}}function R8(){{if(A1--,A1===0){var M={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D0({},M,{value:$0}),info:D0({},M,{value:f0}),warn:D0({},M,{value:Q8}),error:D0({},M,{value:G8}),group:D0({},M,{value:O8}),groupCollapsed:D0({},M,{value:o0}),groupEnd:D0({},M,{value:I4})})}if(A1<0)Q0("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var J8=_1.ReactCurrentDispatcher,N4;function T1(M,N,k){{if(N4===void 0)try{throw Error()}catch(E){var p=E.stack.trim().match(/\n( *(at )?)/);N4=p&&p[1]||""}return`
|
|
`+N4+M}}var G1=!1,t1;{var o4=typeof WeakMap==="function"?WeakMap:Map;t1=new o4}function P1(M,N){if(!M||G1)return"";{var k=t1.get(M);if(k!==void 0)return k}var p;G1=!0;var E=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var w0;w0=J8.current,J8.current=null,E4();try{if(N){var I0=function(){throw Error()};if(Object.defineProperty(I0.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(I0,[])}catch(Z4){p=Z4}Reflect.construct(M,[],I0)}else{try{I0.call()}catch(Z4){p=Z4}M.call(I0.prototype)}}else{try{throw Error()}catch(Z4){p=Z4}M()}}catch(Z4){if(Z4&&p&&typeof Z4.stack==="string"){var L0=Z4.stack.split(`
|
|
`),y0=p.stack.split(`
|
|
`),H1=L0.length-1,L1=y0.length-1;while(H1>=1&&L1>=0&&L0[H1]!==y0[L1])L1--;for(;H1>=1&&L1>=0;H1--,L1--)if(L0[H1]!==y0[L1]){if(H1!==1||L1!==1)do if(H1--,L1--,L1<0||L0[H1]!==y0[L1]){var q4=`
|
|
`+L0[H1].replace(" at new "," at ");if(M.displayName&&q4.includes("<anonymous>"))q4=q4.replace("<anonymous>",M.displayName);if(typeof M==="function")t1.set(M,q4);return q4}while(H1>=1&&L1>=0);break}}}finally{G1=!1,J8.current=w0,R8(),Error.prepareStackTrace=E}var p8=M?M.displayName||M.name:"",D8=p8?T1(p8):"";if(typeof M==="function")t1.set(M,D8);return D8}function V4(M,N,k){return P1(M,!1)}function j4(M){var N=M.prototype;return!!(N&&N.isReactComponent)}function S1(M,N,k){if(M==null)return"";if(typeof M==="function")return P1(M,j4(M));if(typeof M==="string")return T1(M);switch(M){case K1:return T1("Suspense");case X0:return T1("SuspenseList")}if(typeof M==="object")switch(M.$$typeof){case Z0:return V4(M.render);case F0:return S1(M.type,N,k);case l:{var p=M,E=p._payload,w0=p._init;try{return S1(w0(E),N,k)}catch(I0){}}}return""}var M1=Object.prototype.hasOwnProperty,S4={},b4=_1.ReactDebugCurrentFrame;function x1(M){if(M){var N=M._owner,k=S1(M.type,M._source,N?N.type:null);b4.setExtraStackFrame(k)}else b4.setExtraStackFrame(null)}function U4(M,N,k,p,E){{var w0=Function.call.bind(M1);for(var I0 in M)if(w0(M,I0)){var L0=void 0;try{if(typeof M[I0]!=="function"){var y0=Error((p||"React class")+": "+k+" type `"+I0+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof M[I0]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y0.name="Invariant Violation",y0}L0=M[I0](N,I0,p,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(H1){L0=H1}if(L0&&!(L0 instanceof Error))x1(E),Q0("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",p||"React class",k,I0,typeof L0),x1(null);if(L0 instanceof Error&&!(L0.message in S4))S4[L0.message]=!0,x1(E),Q0("Failed %s type: %s",k,L0.message),x1(null)}}}var S8=Array.isArray;function D4(M){return S8(M)}function f4(M){{var N=typeof Symbol==="function"&&Symbol.toStringTag,k=N&&M[Symbol.toStringTag]||M.constructor.name||"Object";return k}}function b1(M){try{return u4(M),!1}catch(N){return!0}}function u4(M){return""+M}function y1(M){if(b1(M))return Q0("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",f4(M)),u4(M)}var g1=_1.ReactCurrentOwner,e1={key:!0,ref:!0,__self:!0,__source:!0},A8,Y8,m1;m1={};function u(M){if(M1.call(M,"ref")){var N=Object.getOwnPropertyDescriptor(M,"ref").get;if(N&&N.isReactWarning)return!1}return M.ref!==void 0}function n(M){if(M1.call(M,"key")){var N=Object.getOwnPropertyDescriptor(M,"key").get;if(N&&N.isReactWarning)return!1}return M.key!==void 0}function U0(M,N){if(typeof M.ref==="string"&&g1.current&&N&&g1.current.stateNode!==N){var k=b0(g1.current.type);if(!m1[k])Q0('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',b0(g1.current.type),M.ref),m1[k]=!0}}function u0(M,N){{var k=function(){if(!A8)A8=!0,Q0("%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)",N)};k.isReactWarning=!0,Object.defineProperty(M,"key",{get:k,configurable:!0})}}function e0(M,N){{var k=function(){if(!Y8)Y8=!0,Q0("%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)",N)};k.isReactWarning=!0,Object.defineProperty(M,"ref",{get:k,configurable:!0})}}var D1=function(M,N,k,p,E,w0,I0){var L0={$$typeof:e,type:M,key:N,ref:k,props:I0,_owner:w0};if(L0._store={},Object.defineProperty(L0._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(L0,"_self",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.defineProperty(L0,"_source",{configurable:!1,enumerable:!1,writable:!1,value:E}),Object.freeze)Object.freeze(L0.props),Object.freeze(L0);return L0};function J1(M,N,k,p,E){{var w0,I0={},L0=null,y0=null;if(k!==void 0)y1(k),L0=""+k;if(n(N))y1(N.key),L0=""+N.key;if(u(N))y0=N.ref,U0(N,E);for(w0 in N)if(M1.call(N,w0)&&!e1.hasOwnProperty(w0))I0[w0]=N[w0];if(M&&M.defaultProps){var H1=M.defaultProps;for(w0 in H1)if(I0[w0]===void 0)I0[w0]=H1[w0]}if(L0||y0){var L1=typeof M==="function"?M.displayName||M.name||"Unknown":M;if(L0)u0(I0,L1);if(y0)e0(I0,L1)}return D1(M,L0,y0,E,p,g1.current,I0)}}var{ReactCurrentOwner:E1,ReactDebugCurrentFrame:k0}=_1;function c(M){if(M){var N=M._owner,k=S1(M.type,M._source,N?N.type:null);k0.setExtraStackFrame(k)}else k0.setExtraStackFrame(null)}var c1=!1;function B0(M){return typeof M==="object"&&M!==null&&M.$$typeof===e}function s4(){{if(E1.current){var M=b0(E1.current.type);if(M)return`
|
|
|
|
Check the render method of \``+M+"`."}return""}}function l8(M){{if(M!==void 0){var N=M.fileName.replace(/^.*[\\\/]/,""),k=M.lineNumber;return`
|
|
|
|
Check your code at `+N+":"+k+"."}return""}}var b8={};function _(M){{var N=s4();if(!N){var k=typeof M==="string"?M:M.displayName||M.name;if(k)N=`
|
|
|
|
Check the top-level render call using <`+k+">."}return N}}function h(M,N){{if(!M._store||M._store.validated||M.key!=null)return;M._store.validated=!0;var k=_(N);if(b8[k])return;b8[k]=!0;var p="";if(M&&M._owner&&M._owner!==E1.current)p=" It was passed a child from "+b0(M._owner.type)+".";c(M),Q0('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',k,p),c(null)}}function x(M,N){{if(typeof M!=="object")return;if(D4(M))for(var k=0;k<M.length;k++){var p=M[k];if(B0(p))h(p,N)}else if(B0(M)){if(M._store)M._store.validated=!0}else if(M){var E=p4(M);if(typeof E==="function"){if(E!==M.entries){var w0=E.call(M),I0;while(!(I0=w0.next()).done)if(B0(I0.value))h(I0.value,N)}}}}}function v(M){{var N=M.type;if(N===null||N===void 0||typeof N==="string")return;var k;if(typeof N==="function")k=N.propTypes;else if(typeof N==="object"&&(N.$$typeof===Z0||N.$$typeof===F0))k=N.propTypes;else return;if(k){var p=b0(N);U4(k,M.props,"prop",p,M)}else if(N.PropTypes!==void 0&&!c1){c1=!0;var E=b0(N);Q0("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",E||"Unknown")}if(typeof N.getDefaultProps==="function"&&!N.getDefaultProps.isReactClassApproved)Q0("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function G0(M){{var N=Object.keys(M.props);for(var k=0;k<N.length;k++){var p=N[k];if(p!=="children"&&p!=="key"){c(M),Q0("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",p),c(null);break}}if(M.ref!==null)c(M),Q0("Invalid attribute `ref` supplied to `React.Fragment`."),c(null)}}var a={};function J0(M,N,k,p,E,w0){{var I0=i0(M);if(!I0){var L0="";if(M===void 0||typeof M==="object"&&M!==null&&Object.keys(M).length===0)L0+=" 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 y0=l8(E);if(y0)L0+=y0;else L0+=s4();var H1;if(M===null)H1="null";else if(D4(M))H1="array";else if(M!==void 0&&M.$$typeof===e)H1="<"+(b0(M.type)||"Unknown")+" />",L0=" Did you accidentally export a JSX literal instead of a component?";else H1=typeof M;Q0("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",H1,L0)}var L1=J1(M,N,k,E,w0);if(L1==null)return L1;if(I0){var q4=N.children;if(q4!==void 0)if(p)if(D4(q4)){for(var p8=0;p8<q4.length;p8++)x(q4[p8],M);if(Object.freeze)Object.freeze(q4)}else Q0("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 x(q4,M)}if(M1.call(N,"key")){var D8=b0(M),Z4=Object.keys(N).filter(function(k8){return k8!=="key"}),C5=Z4.length>0?"{key: someKey, "+Z4.join(": ..., ")+": ...}":"{key: someKey}";if(!a[D8+C5]){var l7=Z4.length>0?"{"+Z4.join(": ..., ")+": ...}":"{}";Q0(`A props object containing a "key" prop is being spread into JSX:
|
|
let props = %s;
|
|
<%s {...props} />
|
|
React keys must be passed directly to JSX without using spread:
|
|
let props = %s;
|
|
<%s key={someKey} {...props} />`,C5,D8,l7,D8),a[D8+C5]=!0}}if(M===C1)G0(L1);else v(L1);return L1}}var Q1=J0;YP.Fragment=C1,YP.jsxDEV=Q1})()});var bq=j8(EZ(),1),Dq=j8(jq(),1);var p0=j8(EZ(),1),I=j8(uZ(),1);function zP(){let[e,Z1]=p0.useState(null),[C1,q1]=p0.useState("Ready to authenticate"),[$,F4]=p0.useState("info"),[R0,Z0]=p0.useState(null),[K1,X0]=p0.useState(!1),[F0,l]=p0.useState(!0),[N0,d1]=p0.useState([]),[w4,p4]=p0.useState(!1),[_1,Q0]=p0.useState(0),[B1,q0]=p0.useState(!0),[X1,V0]=p0.useState(null),[z4,W4]=p0.useState([]),[K4,i0]=p0.useState(!1),[I1,$1]=p0.useState(0),[b0,D0]=p0.useState(!0),[A1,$0]=p0.useState(null),[f0,Q8]=p0.useState({});async function G8(_){if(!_||f0[_])return f0[_]||null;try{let h=await V4(_);if(h)return Q8((x)=>({...x,[_]:{name:h.name||`user:${_.slice(0,8)}`,display_name:h.display_name,picture:h.picture,about:h.about}})),h}catch(h){console.log("Error fetching profile for",_.slice(0,8),":",h)}return null}async function O8(_){let x=[...new Set(_.map((v)=>v.author).filter(Boolean))].map((v)=>G8(v));await Promise.allSettled(x)}let[o0,I4]=p0.useState({welcome:!0,exportMine:!1,exportAll:!1,exportSpecific:!1,importEvents:!1,eventsLog:!1,allEventsLog:!1}),h1=p0.useRef(null),E4=p0.useRef(null),[R8,J8]=p0.useState(16);p0.useEffect(()=>{function _(){if(h1.current){let h=h1.current.offsetHeight||0;J8(Math.max(0,Math.round(h/2)))}}return _(),window.addEventListener("resize",_),()=>window.removeEventListener("resize",_)},[]),p0.useEffect(()=>{let _=window.matchMedia("(prefers-color-scheme: dark)");X0(_.matches);let h=(x)=>{X0(x.matches)};return _.addEventListener("change",h),()=>{_.removeEventListener("change",h)}},[]),p0.useEffect(()=>{(async()=>{await T1(),l(!1)})()},[]),p0.useEffect(()=>{if(e?.pubkey)j4(e.pubkey)},[e?.pubkey]),p0.useEffect(()=>{if(e?.pubkey){if(S8(!0),e.permission==="admin")D4(!0)}},[e?.pubkey,e?.permission]);function N4(){try{return window.location.protocol.replace("http","ws")+"//"+window.location.host}catch(_){return"ws://localhost:3333"}}async function T1(){try{let h=await(await fetch("/api/auth/status")).json();if(h.authenticated&&h.pubkey)try{let v=await(await fetch(`/api/permissions/${h.pubkey}`)).json();if(v&&v.permission){let G0={pubkey:h.pubkey,permission:v.permission};Z1(G0),G1(`Already authenticated as: ${h.pubkey.slice(0,16)}...`,"success"),j4(h.pubkey)}}catch(x){}}catch(_){}}function G1(_,h="info"){q1(_),F4(h)}function t1(){switch($){case"success":return"mt-5 mb-5 p-3 rounded "+c("bg-green-100 text-green-800","bg-green-900 text-green-100");case"error":return"mt-5 mb-5 p-3 rounded "+c("bg-red-100 text-red-800","bg-red-900 text-red-100");case"info":default:return"mt-5 mb-5 p-3 rounded "+c("bg-cyan-100 text-cyan-800","bg-cyan-900 text-cyan-100")}}async function o4(){try{return(await(await fetch("/api/auth/challenge")).json()).challenge}catch(_){throw G1("Failed to get authentication challenge: "+_.message,"error"),_}}async function P1(){if(!window.nostr){G1("No Nostr extension found. Please install a NIP-07 compatible extension like nos2x or Alby.","error");return}try{G1("Connecting to extension...","info");let _=await window.nostr.getPublicKey(),h=await o4(),x={kind:22242,created_at:Math.floor(Date.now()/1000),tags:[["relay",N4()],["challenge",h]],content:""},v=await window.nostr.signEvent(x);await S1(v)}catch(_){G1("Extension login failed: "+_.message,"error")}}async function V4(_,h=4000){return new Promise((x)=>{let v=!1,G0=[],a;try{a=new WebSocket(N4())}catch(M){x(null);return}let J0="profile-"+Math.random().toString(36).slice(2),Q1=setTimeout(()=>{if(a&&a.readyState===1)try{a.close()}catch(M){}if(!v)v=!0,x(null)},h);a.onopen=()=>{try{let M=["REQ",J0,{kinds:[0],authors:[_]}];a.send(JSON.stringify(M))}catch(M){}},a.onmessage=(M)=>{try{let N=JSON.parse(M.data),k=N[0];if(k==="EVENT"&&N[1]===J0){let p=N[2];if(p&&p.kind===0&&p.content)G0.push(p)}else if(k==="EOSE"&&N[1]===J0){try{a.send(JSON.stringify(["CLOSE",J0]))}catch(p){}try{a.close()}catch(p){}if(clearTimeout(Q1),!v)if(v=!0,G0.length){let p=G0.reduce((E,w0)=>E.created_at>w0.created_at?E:w0);try{let E=JSON.parse(p.content);x(E||null)}catch(E){x(null)}}else x(null)}}catch(N){}},a.onerror=()=>{try{a.close()}catch(M){}if(clearTimeout(Q1),!v)v=!0,x(null)},a.onclose=()=>{if(clearTimeout(Q1),!v)if(v=!0,G0.length){let M=G0.reduce((N,k)=>N.created_at>k.created_at?N:k);try{let N=JSON.parse(M.content);x(N||null)}catch(N){x(null)}}else x(null)}})}async function j4(_){try{let h={name:`user:${_.slice(0,8)}`,about:"No profile data available"};Z0(h);let x=null;try{x=await V4(_)}catch(v){}if(x){let v=typeof x==="string"?JSON.parse(x):x;return Z0({name:v.name||h.name,display_name:v.display_name,picture:v.picture,banner:v.banner,about:v.about||h.about}),v}if(window.nostr&&window.nostr.getPublicKey)try{if(window.nostr.getUserMetadata){let v=await window.nostr.getUserMetadata();if(v)try{let G0=typeof v==="string"?JSON.parse(v):v;return Z0({name:G0.name||h.name,display_name:G0.display_name,picture:G0.picture,banner:G0.banner,about:G0.about||h.about}),G0}catch(G0){console.log("Error parsing user metadata:",G0)}}}catch(v){console.log("Could not get profile from extension:",v)}return h}catch(h){return console.error("Error handling profile data:",h),null}}async function S1(_){try{let x=await(await fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(_)})).json();if(x.success){Z1(x.pubkey),G1("Successfully authenticated as: "+x.pubkey.slice(0,16)+"...","success");let G0=await(await fetch(`/api/permissions/${x.pubkey}`)).json();if(G0&&G0.permission)Z1({pubkey:x.pubkey,permission:G0.permission}),await j4(x.pubkey)}else G1("Authentication failed: "+x.error,"error")}catch(h){G1("Authentication request failed: "+h.message,"error")}}async function M1(){try{await fetch("/api/auth/logout",{method:"POST"})}catch(_){}Z1(null),Z0(null),d1([]),Q0(0),q0(!0),V0(null),W4([]),$1(0),D0(!0),$0(null),G1("Logged out","info")}async function S4(_=!1,h=50,x=1e4){if(!e?.pubkey)return;if(w4)return;if(!_&&!B1)return;return console.log("DEBUG: fetchEventsFromRelay called, reset:",_,"offset:",_1),p4(!0),new Promise((v)=>{let G0=!1,a=[],J0;try{J0=new WebSocket(N4())}catch(N){console.error("Failed to create WebSocket:",N),p4(!1),v();return}let Q1="events-"+Math.random().toString(36).slice(2),M=setTimeout(()=>{if(J0&&J0.readyState===1)try{J0.close()}catch(N){}if(!G0)G0=!0,console.log("DEBUG: WebSocket timeout, received events:",a.length),b4(a,_),v()},x);J0.onopen=()=>{try{let N=["REQ",Q1,{authors:[e.pubkey]}];console.log("DEBUG: Sending WebSocket request:",N),J0.send(JSON.stringify(N))}catch(N){console.error("Failed to send WebSocket request:",N)}},J0.onmessage=(N)=>{try{let k=JSON.parse(N.data),p=k[0];if(console.log("DEBUG: WebSocket message:",p,k.length>2?"with event":""),p==="EVENT"&&k[1]===Q1){let E=k[2];if(E){let w0={id:E.id,kind:E.kind,created_at:E.created_at,content:E.content||"",raw_json:JSON.stringify(E)};a.push(w0)}}else if(p==="EOSE"&&k[1]===Q1){try{J0.send(JSON.stringify(["CLOSE",Q1]))}catch(E){}try{J0.close()}catch(E){}if(clearTimeout(M),!G0)G0=!0,console.log("DEBUG: EOSE received, processing events:",a.length),b4(a,_),v()}}catch(k){console.error("Error parsing WebSocket message:",k)}},J0.onerror=(N)=>{console.error("WebSocket error:",N);try{J0.close()}catch(k){}if(clearTimeout(M),!G0)G0=!0,b4(a,_),v()},J0.onclose=()=>{if(clearTimeout(M),!G0)G0=!0,console.log("DEBUG: WebSocket closed, processing events:",a.length),b4(a,_),v()}})}function b4(_,h){try{let x=_.sort((J0,Q1)=>Q1.created_at-J0.created_at),v=h?0:_1,G0=50,a=x.slice(v,v+50);if(console.log("DEBUG: Processing events - total:",x.length,"paginated:",a.length,"offset:",v),h)d1(a),Q0(a.length);else d1((J0)=>[...J0,...a]),Q0((J0)=>J0+a.length);q0(v+a.length<x.length),console.log("DEBUG: Events updated, displayed count:",a.length,"has more:",v+a.length<x.length)}catch(x){console.error("Error processing events response:",x)}finally{p4(!1)}}async function x1(_=!1,h=50,x=1e4){if(!e?.pubkey||e.permission!=="admin")return;if(K4)return;if(!_&&!b0)return;return console.log("DEBUG: fetchAllEventsFromRelay called, reset:",_,"offset:",I1),i0(!0),new Promise((v)=>{let G0=!1,a=[],J0;try{J0=new WebSocket(N4())}catch(N){console.error("Failed to create WebSocket:",N),i0(!1),v();return}let Q1="allevents-"+Math.random().toString(36).slice(2),M=setTimeout(()=>{if(J0&&J0.readyState===1)try{J0.close()}catch(N){}if(!G0)G0=!0,console.log("DEBUG: WebSocket timeout, received all events:",a.length),U4(a,_),v()},x);J0.onopen=()=>{try{let N=["REQ",Q1,{}];console.log("DEBUG: Sending WebSocket request for all events:",N),J0.send(JSON.stringify(N))}catch(N){console.error("Failed to send WebSocket request:",N)}},J0.onmessage=(N)=>{try{let k=JSON.parse(N.data),p=k[0];if(console.log("DEBUG: WebSocket message:",p,k.length>2?"with event":""),p==="EVENT"&&k[1]===Q1){let E=k[2];if(E){let w0={id:E.id,kind:E.kind,created_at:E.created_at,content:E.content||"",author:E.pubkey||"",raw_json:JSON.stringify(E)};a.push(w0)}}else if(p==="EOSE"&&k[1]===Q1){try{J0.send(JSON.stringify(["CLOSE",Q1]))}catch(E){}try{J0.close()}catch(E){}if(clearTimeout(M),!G0)G0=!0,console.log("DEBUG: EOSE received, processing all events:",a.length),U4(a,_),v()}}catch(k){console.error("Error parsing WebSocket message:",k)}},J0.onerror=(N)=>{console.error("WebSocket error:",N);try{J0.close()}catch(k){}if(clearTimeout(M),!G0)G0=!0,U4(a,_),v()},J0.onclose=()=>{if(clearTimeout(M),!G0)G0=!0,console.log("DEBUG: WebSocket closed, processing all events:",a.length),U4(a,_),v()}})}function U4(_,h){try{let x=_.sort((J0,Q1)=>Q1.created_at-J0.created_at),v=h?0:I1,G0=50,a=x.slice(v,v+50);if(console.log("DEBUG: Processing all events - total:",x.length,"paginated:",a.length,"offset:",v),h)W4(a),$1(a.length);else W4((J0)=>[...J0,...a]),$1((J0)=>J0+a.length);D0(v+a.length<x.length),O8(a),console.log("DEBUG: All events updated, displayed count:",a.length,"has more:",v+a.length<x.length)}catch(x){console.error("Error processing all events response:",x)}finally{i0(!1)}}async function S8(_=!1){await S4(_)}async function D4(_=!1){await x1(_)}function f4(_){V0((h)=>h===_?null:_)}function b1(_){$0((h)=>h===_?null:_)}function u4(_){try{navigator.clipboard.writeText(_)}catch(h){let x=document.createElement("textarea");x.value=_,document.body.appendChild(x),x.select(),document.execCommand("copy"),document.body.removeChild(x)}}function y1(_,h=100){if(!_||_.length<=h)return _;return _.substring(0,h)+"..."}function g1(_){return new Date(_*1000).toLocaleString()}function e1(_){I4((h)=>({...h,[_]:!h[_]}))}function A8(){try{E4?.current?.click()}catch(_){}}async function Y8(_){let h=_?.target?.files&&_.target.files[0];if(!h)return;try{G1("Uploading import file...","info");let x=new FormData;x.append("file",h);let v=await fetch("/api/import",{method:"POST",body:x});if(v.ok)G1("Import started. Processing will continue in the background.","success");else{let G0=await v.text();G1("Import failed: "+G0,"error")}}catch(x){G1("Import failed: "+(x?.message||String(x)),"error")}finally{if(_&&_.target)_.target.value=""}}let[m1,u]=p0.useState([{value:""}]);function n(_){if(!_)return!1;let h=String(_).trim();return/^[0-9a-fA-F]{64}$/.test(h)}function U0(_){return String(_||"").trim()}function u0(){u((_)=>[..._,{value:""}])}function e0(_){u((h)=>h.filter((x,v)=>v!==_))}function D1(_,h){let x=U0(h);u((v)=>v.map((G0,a)=>a===_?{value:x}:G0))}function J1(){return m1.map((_)=>U0(_.value)).filter((_)=>_.length>0&&n(_))}function E1(){if(!m1||m1.length===0)return!1;return m1.every((_)=>{let h=U0(_.value);return h.length===64&&n(h)})}function k0(){let _=J1();if(!_.length)return;let h=_.map((x)=>`pubkey=${encodeURIComponent(x)}`).join("&");try{window.location.href=`/api/export?${h}`}catch(x){}}function c(_,h){return K1?h:_}function c1(){return c("bg-gray-200","bg-gray-800")}function B0(){return c("text-gray-700","text-gray-300")}function s4(){return c("bg-gray-100","bg-gray-700")}function l8(){return c("text-gray-500","text-gray-300")}function b8(){return c("hover:text-gray-800","hover:text-gray-100")}if(F0)return null;return I.jsxDEV("div",{className:`min-h-screen ${c("bg-gray-100","bg-gray-900")}`,children:e?.permission?I.jsxDEV(I.Fragment,{children:[I.jsxDEV("div",{className:`sticky top-0 left-0 w-full ${c("bg-gray-100","bg-gray-900")} z-50 h-16 flex items-center overflow-hidden`,children:I.jsxDEV("div",{className:"flex items-center h-full w-full box-border",children:[I.jsxDEV("div",{className:"relative overflow-hidden flex flex-grow items-center justify-start h-full",children:[R0?.banner&&I.jsxDEV("div",{className:"absolute inset-0 opacity-70 bg-cover bg-center",style:{backgroundImage:`url(${R0.banner})`}},void 0,!1,void 0,this),I.jsxDEV("div",{className:"relative z-10 p-2 flex items-center h-full",children:[R0?.picture&&I.jsxDEV("img",{src:R0.picture,alt:"User Avatar",className:`w-16 h-16 rounded-full object-cover border-2 ${c("border-white","border-gray-600")} mr-2 shadow box-border`},void 0,!1,void 0,this),I.jsxDEV("div",{className:B0(),children:[I.jsxDEV("div",{className:"font-bold text-base block",children:[R0?.display_name||R0?.name||e.pubkey.slice(0,8),R0?.name&&R0?.display_name&&` (${R0.name})`]},void 0,!0,void 0,this),I.jsxDEV("div",{className:"font-bold text-lg text-left",children:e.permission==="admin"?"Admin Dashboard":"Subscriber Dashboard"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),I.jsxDEV("div",{className:"flex items-center justify-end shrink-0 h-full",children:I.jsxDEV("button",{className:`bg-transparent ${l8()} border-0 text-2xl cursor-pointer flex items-center justify-center h-full aspect-square shrink-0 hover:bg-transparent ${b8()}`,onClick:M1,children:"✕"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),I.jsxDEV("div",{className:"flex-grow overflow-y-auto p-4",children:[I.jsxDEV("input",{type:"file",ref:E4,onChange:Y8,accept:".json,.jsonl,text/plain,application/x-ndjson,application/json",style:{display:"none"}},void 0,!1,void 0,this),I.jsxDEV("div",{className:`m-2 p-2 w-full ${c1()} rounded-lg`,children:[I.jsxDEV("div",{className:`text-lg font-bold flex items-center justify-between cursor-pointer p-2 ${B0()} ${c("hover:bg-gray-300","hover:bg-gray-700")} rounded`,onClick:()=>e1("welcome"),children:[I.jsxDEV("span",{children:"Welcome"},void 0,!1,void 0,this),I.jsxDEV("span",{className:"text-xl",children:o0.welcome?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),o0.welcome&&I.jsxDEV("div",{className:"p-2",children:I.jsxDEV("p",{className:B0(),children:"here you can configure all the things"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),I.jsxDEV("div",{className:`m-2 p-2 ${c1()} rounded-lg w-full`,children:[I.jsxDEV("div",{className:`text-lg font-bold flex items-center justify-between cursor-pointer p-2 ${B0()} ${c("hover:bg-gray-300","hover:bg-gray-700")} rounded`,onClick:()=>e1("exportMine"),children:[I.jsxDEV("span",{children:"Export My Events"},void 0,!1,void 0,this),I.jsxDEV("span",{className:"text-xl",children:o0.exportMine?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),o0.exportMine&&I.jsxDEV("div",{className:"w-full flex items-center justify-end p-2 bg-gray-900 rounded-lg mt-2",children:[I.jsxDEV("div",{className:"pr-2 m-2 w-full",children:I.jsxDEV("p",{className:`text-sm w-full ${B0()}`,children:"Download your own events as line-delimited JSON (JSONL/NDJSON). Only events you authored will be included."},void 0,!1,void 0,this)},void 0,!1,void 0,this),I.jsxDEV("button",{className:`${s4()} ${l8()} border-0 text-2xl cursor-pointer flex items-center justify-center h-full aspect-square shrink-0 hover:bg-transparent ${b8()}`,onClick:()=>{window.location.href="/api/export/mine"},"aria-label":"Download my events as JSONL",title:"Download my events",children:"⤓"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),e.permission==="admin"&&I.jsxDEV(I.Fragment,{children:[I.jsxDEV("div",{className:`m-2 p-2 ${c1()} rounded-lg w-full`,children:[I.jsxDEV("div",{className:`text-lg font-bold flex items-center justify-between cursor-pointer p-2 ${B0()} ${c("hover:bg-gray-300","hover:bg-gray-700")} rounded`,onClick:()=>e1("exportAll"),children:[I.jsxDEV("span",{children:"Export All Events (admin)"},void 0,!1,void 0,this),I.jsxDEV("span",{className:"text-xl",children:o0.exportAll?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),o0.exportAll&&I.jsxDEV("div",{className:"flex items-center justify-between p-2 m-4 bg-gray-900 round mt-2",children:[I.jsxDEV("div",{className:"pr-2 w-full",children:I.jsxDEV("p",{className:`text-sm ${B0()}`,children:"Download all stored events as line-delimited JSON (JSONL/NDJSON). This may take a while on large databases."},void 0,!1,void 0,this)},void 0,!1,void 0,this),I.jsxDEV("button",{className:`${s4()} ${l8()} border-0 text-2xl cursor-pointer flex m-2 items-center justify-center h-full aspect-square shrink-0 hover:bg-transparent ${b8()}`,onClick:()=>{window.location.href="/api/export"},"aria-label":"Download all events as JSONL",title:"Download all events",children:"⤓"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),I.jsxDEV("div",{className:`m-2 p-2 ${c1()} rounded-lg w-full`,children:[I.jsxDEV("div",{className:`text-lg font-bold flex items-center justify-between cursor-pointer p-2 ${B0()} ${c("hover:bg-gray-300","hover:bg-gray-700")} rounded`,onClick:()=>e1("exportSpecific"),children:[I.jsxDEV("span",{children:"Export Specific Pubkeys (admin)"},void 0,!1,void 0,this),I.jsxDEV("span",{className:"text-xl",children:o0.exportSpecific?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),o0.exportSpecific&&I.jsxDEV("div",{className:"w-full flex items-start justify-between gap-4 m-2 p-2 bg-gray-900 rounded-lg mt-2",children:I.jsxDEV("div",{className:"flex-1 pr-2 w-full",children:[I.jsxDEV("p",{className:`text-sm ${B0()}`,children:"Enter one or more author pubkeys (64-character hex). Only valid entries will be exported."},void 0,!1,void 0,this),I.jsxDEV("div",{className:"flex flex-col items-end gap-2 self-end justify-end p-2",children:I.jsxDEV("button",{className:`${s4()} ${B0()} text-base p-4 rounded m-2 ${c("hover:bg-gray-200","hover:bg-gray-600")}`,onClick:u0,title:"Add another pubkey",type:"button",children:"+ Add"},void 0,!1,void 0,this)},void 0,!1,void 0,this),I.jsxDEV("div",{className:"flex flex-col items-end gap-2 min-w-[320px] justify-end p-2",children:I.jsxDEV("div",{className:"gap-2 justify-end",children:m1.map((_,h)=>{let x=(_?.value||"").trim(),v=x.length===0?!0:n(x);return I.jsxDEV("div",{className:"flex items-center gap-2 ",children:[I.jsxDEV("input",{type:"text",inputMode:"text",autoComplete:"off",spellCheck:"false",className:`flex-1 text-sm px-2 py-1 border rounded outline-none ${v?c("border-gray-300 bg-white text-gray-900 focus:ring-2 focus:ring-blue-200","border-gray-600 bg-gray-700 text-gray-100 focus:ring-2 focus:ring-blue-500"):c("border-red-500 bg-red-50 text-red-800","border-red-700 bg-red-900 text-red-200")}`,placeholder:"e.g., 64-hex pubkey",value:x,onChange:(G0)=>D1(h,G0.target.value)},void 0,!1,void 0,this),I.jsxDEV("button",{className:`${s4()} ${B0()} px-2 py-1 rounded ${c("hover:bg-gray-200","hover:bg-gray-600")}`,onClick:()=>e0(h),title:"Remove this pubkey",type:"button",children:"✕"},void 0,!1,void 0,this)]},h,!0,void 0,this)})},void 0,!1,void 0,this)},void 0,!1,void 0,this),I.jsxDEV("div",{className:"flex justify-end items-end gap-2 self-end",children:I.jsxDEV("button",{className:`${c("bg-blue-600","bg-blue-500")} text-white px-3 py-1 rounded disabled:opacity-50 disabled:cursor-not-allowed ${E1()?c("hover:bg-blue-700","hover:bg-blue-600"):""}`,onClick:k0,disabled:!E1(),title:E1()?"Download events for specified pubkeys":"Enter a valid 64-character hex pubkey in every field",type:"button",children:"Export"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),I.jsxDEV("div",{className:`m-2 p-2 ${c1()} rounded-lg w-full`,children:[I.jsxDEV("div",{className:`text-lg font-bold flex items-center justify-between cursor-pointer p-2 ${B0()} ${c("hover:bg-gray-300","hover:bg-gray-700")} rounded`,onClick:()=>e1("importEvents"),children:[I.jsxDEV("span",{children:"Import Events (admin)"},void 0,!1,void 0,this),I.jsxDEV("span",{className:"text-xl",children:o0.importEvents?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),o0.importEvents&&I.jsxDEV("div",{className:"flex items-center justify-between p-2 bg-gray-900 rounded-lg mt-2",children:[I.jsxDEV("div",{className:"pr-2 w-full",children:I.jsxDEV("p",{className:`text-sm ${B0()}`,children:"Upload events in line-delimited JSON (JSONL/NDJSON) to import into the database."},void 0,!1,void 0,this)},void 0,!1,void 0,this),I.jsxDEV("button",{className:`${s4()} ${l8()} border-0 text-2xl cursor-pointer flex items-center justify-center h-full aspect-square shrink-0 hover:bg-transparent ${b8()}`,onClick:A8,"aria-label":"Import events from JSONL",title:"Import events",children:"↥"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),I.jsxDEV("div",{className:`m-2 p-2 ${c1()} rounded-lg w-full`,children:[I.jsxDEV("div",{className:`text-lg font-bold flex items-center justify-between cursor-pointer p-2 ${B0()} ${c("hover:bg-gray-300","hover:bg-gray-700")} rounded`,onClick:()=>e1("eventsLog"),children:[I.jsxDEV("span",{children:"My Events Log"},void 0,!1,void 0,this),I.jsxDEV("span",{className:"text-xl",children:o0.eventsLog?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),o0.eventsLog&&I.jsxDEV("div",{className:"p-2 bg-gray-900 rounded-lg mt-2",children:[I.jsxDEV("div",{className:"mb-4",children:I.jsxDEV("p",{className:`text-sm ${B0()}`,children:"View all your events in reverse chronological order. Click on any event to view its raw JSON."},void 0,!1,void 0,this)},void 0,!1,void 0,this),I.jsxDEV("div",{className:"block",style:{position:"relative"},children:N0.length===0&&!w4?I.jsxDEV("div",{className:`text-center py-4 ${B0()}`,children:"No events found"},void 0,!1,void 0,this):I.jsxDEV("div",{className:"space-y-2",children:[N0.map((_)=>I.jsxDEV("div",{className:`border rounded p-3 ${c("border-gray-300 bg-white","border-gray-600 bg-gray-800")}`,children:[I.jsxDEV("div",{className:"cursor-pointer",onClick:()=>f4(_.id),children:[I.jsxDEV("div",{className:"flex items-center justify-between",children:[I.jsxDEV("div",{className:"flex items-center gap-3",children:[I.jsxDEV("span",{className:`font-mono text-sm px-2 py-1 rounded ${c("bg-blue-100 text-blue-800","bg-blue-900 text-blue-200")}`,children:["Kind ",_.kind]},void 0,!0,void 0,this),I.jsxDEV("span",{className:`text-sm ${B0()}`,children:g1(_.created_at)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),I.jsxDEV("span",{className:`text-lg ${B0()}`,children:X1===_.id?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_.content&&I.jsxDEV("div",{className:`mt-2 text-sm ${B0()}`,children:y1(_.content)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X1===_.id&&I.jsxDEV("div",{className:"mt-3 border-t pt-3",children:[I.jsxDEV("div",{className:"flex items-center justify-between mb-2",children:[I.jsxDEV("span",{className:`text-sm font-medium ${B0()}`,children:"Raw JSON:"},void 0,!1,void 0,this),I.jsxDEV("button",{className:`${c("bg-green-600 hover:bg-green-700","bg-green-500 hover:bg-green-600")} text-white text-xs px-2 py-1 rounded`,onClick:(h)=>{h.stopPropagation(),u4(_.raw_json)},title:"Copy minified JSON",children:"Copy"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),I.jsxDEV("pre",{className:`text-xs p-2 rounded overflow-auto max-h-40 break-all whitespace-pre-wrap ${c1()} ${B0()}`,children:JSON.stringify(JSON.parse(_.raw_json),null,2)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},_.id,!0,void 0,this)),w4&&I.jsxDEV("div",{className:`text-center py-4 ${B0()}`,children:I.jsxDEV("div",{className:"text-sm",children:"Loading more events..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),!w4&&B1&&I.jsxDEV("div",{className:"text-center py-4",children:I.jsxDEV("button",{className:`${c("bg-blue-600 hover:bg-blue-700","bg-blue-500 hover:bg-blue-600")} text-white px-4 py-2 rounded`,onClick:()=>S8(!1),children:"Load More"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),e.permission==="admin"&&I.jsxDEV("div",{className:`m-2 p-2 ${c1()} rounded-lg w-full`,children:[I.jsxDEV("div",{className:`text-lg font-bold flex items-center justify-between cursor-pointer p-2 ${B0()} ${c("hover:bg-gray-300","hover:bg-gray-700")} rounded`,onClick:()=>e1("allEventsLog"),children:[I.jsxDEV("span",{children:"All Events Log (admin)"},void 0,!1,void 0,this),I.jsxDEV("span",{className:"text-xl",children:o0.allEventsLog?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),o0.allEventsLog&&I.jsxDEV("div",{className:"p-2 bg-gray-900 rounded-lg mt-2",children:[I.jsxDEV("div",{className:"mb-4",children:I.jsxDEV("p",{className:`text-sm ${B0()}`,children:"View all events from all users in reverse chronological order. Click on any event to view its raw JSON."},void 0,!1,void 0,this)},void 0,!1,void 0,this),I.jsxDEV("div",{className:"block",style:{position:"relative"},children:z4.length===0&&!K4?I.jsxDEV("div",{className:`text-center py-4 ${B0()}`,children:"No events found"},void 0,!1,void 0,this):I.jsxDEV("div",{className:"space-y-2",children:[z4.map((_)=>I.jsxDEV("div",{className:`border rounded p-3 ${c("border-gray-300 bg-white","border-gray-600 bg-gray-800")}`,children:[I.jsxDEV("div",{className:"cursor-pointer",onClick:()=>b1(_.id),children:[I.jsxDEV("div",{className:"flex items-center justify-between",children:[I.jsxDEV("div",{className:"flex items-center gap-6",children:[I.jsxDEV("div",{className:"flex items-center gap-3 min-w-0",children:[_.author&&f0[_.author]&&I.jsxDEV(I.Fragment,{children:[f0[_.author].picture&&I.jsxDEV("img",{src:f0[_.author].picture,alt:f0[_.author].display_name||f0[_.author].name||"User avatar",className:`w-8 h-8 rounded-full object-cover border h-16 ${c("border-gray-300","border-gray-600")}`,onError:(h)=>{h.currentTarget.style.display="none"}},void 0,!1,void 0,this),I.jsxDEV("div",{className:"flex flex-col min-w-0",children:[I.jsxDEV("span",{className:`text-sm font-medium ${B0()}`,children:f0[_.author].display_name||f0[_.author].name||`${_.author.slice(0,8)}...`},void 0,!1,void 0,this),f0[_.author].display_name&&f0[_.author].name&&I.jsxDEV("span",{className:`text-xs ${B0()} opacity-70`,children:f0[_.author].name},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),_.author&&!f0[_.author]&&I.jsxDEV("span",{className:`text-sm font-medium ${B0()}`,children:`${_.author.slice(0,8)}...`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),I.jsxDEV("div",{className:"flex items-center gap-3",children:[I.jsxDEV("span",{className:`font-mono text-sm px-2 py-1 rounded ${c("bg-blue-100 text-blue-800","bg-blue-900 text-blue-200")}`,children:["Kind ",_.kind]},void 0,!0,void 0,this),I.jsxDEV("span",{className:`text-sm ${B0()}`,children:g1(_.created_at)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),I.jsxDEV("span",{className:`text-lg ${B0()}`,children:A1===_.id?"▼":"▶"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),_.content&&I.jsxDEV("div",{className:`mt-2 text-sm ${B0()}`,children:y1(_.content)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),A1===_.id&&I.jsxDEV("div",{className:"mt-3 border-t pt-3",children:[I.jsxDEV("div",{className:"flex items-center justify-between mb-2",children:[I.jsxDEV("span",{className:`text-sm font-medium ${B0()}`,children:"Raw JSON:"},void 0,!1,void 0,this),I.jsxDEV("button",{className:`${c("bg-green-600 hover:bg-green-700","bg-green-500 hover:bg-green-600")} text-white text-xs px-2 py-1 rounded`,onClick:(h)=>{h.stopPropagation(),u4(_.raw_json)},title:"Copy minified JSON",children:"Copy"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),I.jsxDEV("pre",{className:`text-xs p-2 rounded overflow-auto max-h-40 break-all whitespace-pre-wrap ${c1()} ${B0()}`,children:JSON.stringify(JSON.parse(_.raw_json),null,2)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},_.id,!0,void 0,this)),K4&&I.jsxDEV("div",{className:`text-center py-4 ${B0()}`,children:I.jsxDEV("div",{className:"text-sm",children:"Loading more events..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),!K4&&b0&&I.jsxDEV("div",{className:"text-center py-4",children:I.jsxDEV("button",{className:`${c("bg-blue-600 hover:bg-blue-700","bg-blue-500 hover:bg-blue-600")} text-white px-4 py-2 rounded`,onClick:()=>D4(!1),children:"Load More"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),I.jsxDEV("div",{className:`flex-grow ${c("bg-gray-100","bg-gray-900")}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):I.jsxDEV("div",{className:"w-full h-full flex items-center justify-center",children:I.jsxDEV("div",{className:c("bg-gray-100","bg-gray-900"),style:{width:"800px",maxWidth:"100%",boxSizing:"border-box",padding:`${R8}px`},children:[I.jsxDEV("div",{className:"flex items-center gap-3 mb-3",children:[I.jsxDEV("img",{src:"/orly.png",alt:"Orly logo",className:"object-contain",style:{width:"4rem",height:"4rem"},onError:(_)=>{_.currentTarget.onerror=null,_.currentTarget.src="/docs/orly.png"}},void 0,!1,void 0,this),I.jsxDEV("h1",{ref:h1,className:`text-2xl font-bold p-2 ${B0()}`,children:"ORLY\uD83E\uDD89 Dashboard Login"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),I.jsxDEV("p",{className:`mb-4 ${B0()}`,children:"Authenticate to this Nostr relay using your browser extension."},void 0,!1,void 0,this),I.jsxDEV("div",{className:t1(),children:C1},void 0,!1,void 0,this),I.jsxDEV("div",{className:"mb-5",children:I.jsxDEV("button",{className:`${c("bg-blue-600","bg-blue-500")} text-white px-5 py-3 rounded ${c("hover:bg-blue-700","hover:bg-blue-600")}`,onClick:P1,children:"Login with Browser Extension (NIP-07)"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)}var Sq=zP;var Bz=j8(uZ(),1),WP=Dq.createRoot(document.getElementById("root"));WP.render(Bz.jsxDEV(bq.default.StrictMode,{children:Bz.jsxDEV(Sq,{},void 0,!1,void 0,this)},void 0,!1,void 0,this));
|